/
TODO
51 lines (47 loc) · 2.23 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
- Other archivers: perhaps tar(.gz|.bz2), RPM, ARJ, etc. These are less
7
8
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,
9
an installer/updater.
10
- Stack allocate in stripAppleBundle() (platform/unix.c) instead of calloc().
11
- Reduce malloc() pressure all over the place. We fragment memory like mad.
12
13
- macclassic.c :
"/* (Hmm. Default behaviour is broken in the base library. :) ) */"
14
- Platforms to port to: Amiga (needs platform driver), DOS4GW (platform driver).
15
- profile string list interpolation.
16
17
- We have two different ways to find dir entries in zip.c.
- Do symlinks in zip archiver work when they point to dirs?
18
- Enable more warnings?
19
- Use __cdecl in physfs.h?
20
21
- Look for FIXMEs (many marked with "!!!" in comments).
- Probably other stuff. Requests and recommendations are welcome.
22
23
24
25
26
27
28
29
30
31
- Cygwin should use unix/posix and not win32 platform code.
- Add "mount points"
- Expose the archiver registration mechanism to the outside world.
- Set up a mechanism for file enumeration that employs a callback.
- Allow the application to provide allocation services.
- Find some way to relax or remove the security model for external tools.
- Non-blocking I/O
- mmap() in posix.c
- OSX shouldn't use ~/.app for userdir.
- fscanf and fprintf support in extras dir.
32
33
34
35
36
37
- Why do we call it openArchive and dirClose?
- Sanity check byte order at runtime.
- Every DIR_* function requires a malloc/free!
- Merge DirHandle and PhysDirInfo.
- Memory locking?
- Clean up file code to match DirHandle cleanups.
38
39
40
41
42
43
44
45
46
47
- Find a better name than dvoid and fvoid.
- Use something other than void * for platform file handlers.
- Can win32.c and pocketpc.c get merged?
- There's so much cut-and-paste between archivers...can this be reduced?
- General code audit.
- Just make PHYSFS_file * a void * typedef so we don't have to allocate?
- Multiple write dirs with mount points?
- Deprecate PHYSFS_setSaneConfig and move it to extras?
- PHYSFS_file should really be PHYSFS_File for consistency.
- (Re)move the profiling code in physfs.c.
48
- maybe other stuff.
49
50
// end of TODO ...