TODO 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. Stuff that needs to be done and wishlist:
  2. These are in no particular order. A 1.0 release is reliant on doing most of
  3. this stuff. Some might be dupes, some might be done already.
  4. - autoconf support?
  5. - update the Makefile so that Cygwin can generate a DLL. The entire codebase
  6. compiles under Cygwin otherwise.
  7. - Hmm...we can determine the actual CD-ROM drives under Win32, but how do you
  8. decide that there's no disc in the drive?
  9. - MacOS (Classic and X) support.
  10. - Platform-specific functions/macros to handle byte ordering.
  11. - A PHYSFS_readUint32(), _readSint32(), etc API.
  12. - Patch the zlib used on win32 to 1.1.4.
  13. - Switch the CHANGELOG to list newest changes first.
  14. - Write manpages, preferrably generated from some javadoc-style solution
  15. so we can make HTML versions etc from the same data.
  16. - Make internal code respect the new typedefs (PHYSFS_?int??).
  17. - Byte order API; just something simple like:
  18. __EXPORT__ PHYSFS_uint16 PHYSFS_swapBE16(PHYSFS_uint16 val);
  19. __EXPORT__ PHYSFS_uint16 PHYSFS_swapLE16(PHYSFS_uint16 val);
  20. (these can be macros. The hard part is determining the architecture at
  21. compile time, and whether a given platform offers accelerated
  22. conversion macros already. We can probably jack this from SDL, too.)
  23. - Make win32.c respect the more strict filesystem layout enforced by
  24. Win2000 and later.
  25. - Improve ZIP_seek() (archivers/zip.c)
  26. - entry_is_symlink() and version_does_symlinks() in zip.c have byte-order bugs.
  27. - Actually, the zipfile driver could use a lot of tweaking. Please look
  28. through it.
  29. - Abstract out the use of stdio. It's not as "std" as I would like, in my
  30. experience. Add code to the platform drivers to open, read, write, seek,
  31. tell, etc on an abstract data type that is opaque outside the individual
  32. platform drivers, so that dir.c has a unified codebase that talks to this
  33. internal abstraction layer. This opaque data type can be a FILE * on unix,
  34. and a HANDLE on win32, etc...
  35. - Other archivers: perhaps tar(.gz|.bz2), RPM, etc. These are less
  36. important, since streaming archives aren't of much value to games (which
  37. is why zipfiles are king: random access), but it could have uses for, say,
  38. an installer/updater. I thought it might be neat to have MBOX and Maildir
  39. support so that both "archives" look identical to an application; might be
  40. nice for an email program. That's blue sky, unless someone wants to tackle
  41. it.
  42. - Look for FIXMEs (many marked with "!!!" in comments).
  43. - Port to BeOS (might work already? Will work for sure with autoconf support)
  44. - Port to MacOS Classic (needs a platform driver, byte order fixes mentioned)
  45. - Port to MacOS X (specifically, make Project Builder files; unix.c should
  46. work with it as-is. Might compile as-is with the current Makefile, byte
  47. ordering fixes mentioned).
  48. - Probably other stuff. Requests and recommendations are welcome.
  49. // end of TODO ...