/
TODO.txt
56 lines (50 loc) · 2.44 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
- Everywhere: Move stricmp() out of platform layer and make it grok UTF-8.
14
15
Stuff:
16
- Other archivers: perhaps tar(.gz|.bz2), RPM, ARJ, etc. These are less
17
18
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,
19
an installer/updater.
20
- Stack allocate in stripAppleBundle() (platform/unix.c) instead of calloc().
21
- Reduce malloc() pressure all over the place. We fragment memory like mad.
22
23
- macclassic.c :
"/* (Hmm. Default behaviour is broken in the base library. :) ) */"
24
- profile string list interpolation.
25
26
- We have two different ways to find dir entries in zip.c.
- Do symlinks in zip archiver work when they point to dirs?
27
- Enable more warnings?
28
- Use __cdecl in physfs.h?
29
- Look for FIXMEs (many marked with "!!!" in comments).
30
31
32
33
34
35
- 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.
36
37
38
- Why do we call it openArchive and dirClose?
- Sanity check byte order at runtime.
- Memory locking?
39
- Find a better name than dvoid and fvoid.
40
- Can windows.c and pocketpc.c get merged?
41
42
43
44
- 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?
45
- Why is physfsrwops.c cut-and-pasted into the ruby bindings?
46
47
- Replace code from SDL...
- Should file enumeration return an error or set error state?
48
- Need "getmountpoint" command in test_physfs.c ...
49
- Look for calloc() calls that aren't going through the allocation hooks.
50
- maybe other stuff.
51
- Make mutexes recursive, so callbacks can call into the API.
52
- Archivers need abstracted i/o to read from memory or files (archives in archives?)
53
- Probably other stuff. Requests and recommendations are welcome.
54
55
// end of TODO.txt ...