/
TODO.txt
55 lines (49 loc) · 2.37 KB
1
Stuff that needs to be done and wishlist:
2
3
4
These are in no particular order.
Some might be dupes, some might be done already.
5
6
7
8
9
10
11
UNICODE:
- Windows: Can use Unicode, but might only allow "codepages" ... Use
GetProcAddress() to find Unicode entry points on WinNT-based
systems, otherwise try to use a sane codepage.
- OS/2: Codepages. No full Unicode in the filesystem, but we can probably make
a conversion effort.
12
13
14
Stuff:
15
- Other archivers: perhaps tar(.gz|.bz2), RPM, ARJ, etc. These are less
16
17
important, since streaming archives aren't of much value to games (which
is why zipfiles are king: random access), but it could have uses for, say,
18
an installer/updater.
19
- Stack allocate in stripAppleBundle() (platform/unix.c) instead of calloc().
20
- Reduce malloc() pressure all over the place. We fragment memory like mad.
21
22
- macclassic.c :
"/* (Hmm. Default behaviour is broken in the base library. :) ) */"
23
- profile string list interpolation.
24
25
- We have two different ways to find dir entries in zip.c.
- Do symlinks in zip archiver work when they point to dirs?
26
- Enable more warnings?
27
- Use __cdecl in physfs.h?
28
- Look for FIXMEs (many marked with "!!!" in comments).
29
30
31
32
33
34
- Cygwin should use unix/posix and not win32 platform code.
- Expose the archiver registration mechanism to the outside world.
- Find some way to relax or remove the security model for external tools.
- mmap() in posix.c
- OSX shouldn't use ~/.app for userdir.
- fscanf and fprintf support in extras dir.
35
36
37
- Why do we call it openArchive and dirClose?
- Sanity check byte order at runtime.
- Memory locking?
38
- Find a better name than dvoid and fvoid.
39
- Can windows.c and pocketpc.c get merged?
40
41
42
43
- There's so much cut-and-paste between archivers...can this be reduced?
- General code audit.
- Multiple write dirs with mount points?
- Deprecate PHYSFS_setSaneConfig and move it to extras?
44
- Why is physfsrwops.c cut-and-pasted into the ruby bindings?
45
46
- Replace code from SDL...
- Should file enumeration return an error or set error state?
47
- Need "getmountpoint" command in test_physfs.c ...
48
- Look for calloc() calls that aren't going through the allocation hooks.
49
- maybe other stuff.
50
- Make mutexes recursive, so callbacks can call into the API.
51
- Archivers need abstracted i/o to read from memory or files (archives in archives?)
52
- Probably other stuff. Requests and recommendations are welcome.
53
54
// end of TODO.txt ...