Cleaned up the updated TODO.txt, removed things that are already done, etc.

This commit is contained in:
Ryan C. Gordon 2012-03-09 03:55:04 -05:00
parent 86dbf54fc7
commit eac0f11005
1 changed files with 20 additions and 30 deletions

View File

@ -6,19 +6,24 @@ Some might be dupes, some might be done already, some might be bad ideas.
From http://icculus.org/pipermail/physfs/2009-March/000698.html ... From http://icculus.org/pipermail/physfs/2009-March/000698.html ...
- Rearrange the source directory. - Add an API to find the "pref path" ... this is the directory where an
- Cleanup FIXMEs. app's configuration data is supposed to go...which is usually somewhere
- Add an API to find the \"pref path\" ... this is the directory where an app's configuration data is supposed to go...which is usually somewhere under the user directory, but not always. As it is platform-dependent, platform-version dependent and sometimes even user-dependent, this should be handled by the library and not the app. under the user directory, but not always. As it is platform-dependent,
- Abstract out the file i/o, and let applications supply implementations. This will allow apps to do things where they control the i/o at the byte level: archives in a memory buffer, archives in archives, encrypted archives, etc. platform-version dependent and sometimes even user-dependent, this should be
handled by the library and not the app.
- Archives formats provided by the implementation. - Archives formats provided by the implementation.
- Write support for various archives. I haven't decided how to do this yet, but I'd like to. - Write support for various archives. I haven't decided how to do this yet,
- New archive types: .tar(.bz2|.gz), maybe .rar, other requests. but I'd like to.
- Implement Unicode support for OS/2. - Replace the existing error strings with something more flexible...right now,
- Dump the makeos2.cmd script and use CMake on that platform (OpenWatcom?) you have to pick a translation at compile time, which isn't too useful. It
- Replace the existing error strings with something more flexible...right now, you have to pick a translation at compile time, which isn't too useful. It might be nice to have real error codes for apps instead of just error messages for humans, too. might be nice to have real error codes for apps instead of just error
- UTF-16 support. 2.0.0 only handles UCS-2, which is most of the work, but leaves out the \"surrogate\" codepoints. UTF-16 is a superset of UCS-2. Older Windows using Unicode used UCS-2, newer Windows platforms use UTF-16. messages for humans, too.
- UTF-16 support. 2.0.0 only handles UCS-2, which is most of the work, but
leaves out the "surrogate" codepoints. UTF-16 is a superset of UCS-2.
Older Windows using Unicode used UCS-2, newer Windows platforms use UTF-16.
- Add an API to expose a file's extended attributes to the application? - Add an API to expose a file's extended attributes to the application?
- Deprecate PHYSFS_setSaneConfig(). It really should have been in the extras directory. - Deprecate PHYSFS_setSaneConfig(). It really should have been in the extras
directory.
- Clean up the sources to match my ever-changing coding style. :) - Clean up the sources to match my ever-changing coding style. :)
- Remove realpath() for The Hurd, etc. - Remove realpath() for The Hurd, etc.
- Get current CD list from windows without blocking? Is it possible? - Get current CD list from windows without blocking? Is it possible?
@ -26,10 +31,8 @@ From http://icculus.org/pipermail/physfs/2009-March/000698.html ...
From http://icculus.org/pipermail/physfs/2010-January/000821.html ... From http://icculus.org/pipermail/physfs/2010-January/000821.html ...
- A function PHYSFS_getFileSize() for getting the file size avoiding the need to open a file before.
- Using error codes instead of error messages - Using error codes instead of error messages
- Plugin system for the archive handlers - Plugin system for the archive handlers
- Support for ISO images
From http://icculus.org/pipermail/physfs/2010-January/000826.html ... From http://icculus.org/pipermail/physfs/2010-January/000826.html ...
@ -63,40 +66,27 @@ From old TODO.txt...
- Sanity check byte order at runtime. - Sanity check byte order at runtime.
- Memory locking? - Memory locking?
- Find a better name than dvoid and fvoid. - Find a better name than dvoid and fvoid.
- There's so much cut-and-paste between archivers...can this be reduced?
- General code audit. - General code audit.
- Multiple write dirs with mount points? - Multiple write dirs with mount points?
- Deprecate PHYSFS_setSaneConfig and move it to extras?
- Why is physfsrwops.c cut-and-pasted into the ruby bindings?
- Replace code from SDL... - Replace code from SDL...
- Should file enumeration return an error or set error state? - Should file enumeration return an error or set error state?
- Need "getmountpoint" command in test_physfs.c ... - Need "getmountpoint" command in test_physfs.c ...
- Look for calloc() calls that aren't going through the allocation hooks.
- Write up a simple HOWTO on embedding physicsfs in another project. - Write up a simple HOWTO on embedding physicsfs in another project.
- Archivers need abstracted i/o to read from memory or files
(archives in archives?)
Other stuff I thought of... Other stuff I thought of...
- PHYSFS_readBytes() and PHYSFS_writeBytes() to ditch shitty stdio semantics.
- moar asserts! - moar asserts!
- constify! - constify!
- Ditch PocketPC? (what do Windows phones use now?)
- Does iPhone work? - Does iPhone work?
- __attribute__((deprecated))
- Remove cut-and-paste in physfs_byteorder.c ...
- Deprecate PHYSFS_getLastModTime().
- Deprecate PHYSFS_addToSearchPath() and PHYSFS_removeFromSearchPath().
- Add PHYSFS_unmount().
- Fix CMake vs Doxygen. - Fix CMake vs Doxygen.
- Doxygen replacement? (manpages suck.) - Doxygen replacement? (manpages suck.)
- Remove PHYSFS_Archiver::isArchive().
- Fix coding standards to match. - Fix coding standards to match.
- Unifiy all the simple archivers into archiver_unpacked.c or something.
- See if we can ditch some #include lines... - See if we can ditch some #include lines...
- push readAll() to somewhere common. - push readAll() to somewhere common.
- We lost Vista symlink support when removing isSymLink(). Pull it back from revision control. - We lost Vista symlink support when removing isSymLink(). Pull it back from
- PHYSFS_exists() fails if you mountIo with a NULL filename. We need to decide how this API should work. revision control.
- PHYSFS_exists() fails if you mountIo with a NULL filename. We need to decide
how this API should work.
- ZIP64 support? - ZIP64 support?
- LZMA support in zip archiver? - LZMA support in zip archiver?
- bzip2 support in zip archiver? - bzip2 support in zip archiver?