Ryan C. Gordon
2dd3d7c28a
unpacked: Don't list a position or length for directory entries.
2017-07-21 13:55:03 -04:00
Ryan C. Gordon
d3ac612b61
DirTrees and unpacked archives shouldn't demand a count of entries for init.
2017-07-21 13:54:42 -04:00
Ryan C. Gordon
62ad133862
Reworked the "unpacked" archivers to use DirTree.
...
This cleaned up a lot of code and improved things, and also allowed a lot of
the restrictions on unpacked archivers to be removed.
2017-07-16 04:39:14 -04:00
Ryan C. Gordon
32da097a55
Cleanup BAIL_* and GOTO_* macros to be less cluttered.
...
This also fixes really aggressive compiler warnings about the "if (!ERRPASS)"
construct producing unreachable code.
2017-07-06 11:51:41 -04:00
Ryan C. Gordon
36b542ee7f
Cleaned out "exists" nonsense in openRead() API.
2012-11-30 13:00:08 -05:00
Ryan C. Gordon
7824a093fb
Cleaned out the "exists" nonsense in the stat() API.
2012-11-30 12:43:56 -05:00
Ryan C. Gordon
16ee8355db
Centralize responsibility for filtering symlinks during enumeration.
2012-11-29 11:47:16 -05:00
Ryan C. Gordon
e40d80b00f
Allow application-supplied archivers.
...
This lets an application supply its own archivers, where they will work like
any built-in archiver. This allows abstract directory interfaces the same
way that PHYSFS_Io allows stream implementations.
This is a work in progress still. The API is still changing, and will remain
at version 0 until it is finalized (a theoretical future version 1 will be
for when the final public interface changes, not when we evolve the initial
API design).
2012-11-28 01:36:13 -05:00
Aleksi Nurmi
fd137cba42
SLB archiver
2012-11-12 23:40:29 +02:00
Ryan C. Gordon
a865b14bec
Added Zip64 support to the .zip archiver.
...
Now we can handle .zip files > 4 gigabytes, etc.
2012-06-01 05:44:50 -04:00
Ryan C. Gordon
6222a4a92d
Add binary compatibility to PHYSFS_Io.
2012-03-25 17:18:24 -04:00
Ryan C. Gordon
b3fbba7af0
Removed "dvoid" typedef.
2012-03-25 14:52:24 -04:00
Ryan C. Gordon
0de337eb75
Renamed PHYSFS_Archiver::dirClose() to PHYSFS_Archiver::closeArchive().
2012-03-24 10:36:11 -04:00
Ryan C. Gordon
0360899357
Moved QPAK support into archiver_unpacked.c
...
More dupe code removal, and more functional generic backend code!
2012-03-23 02:45:38 -04:00
Ryan C. Gordon
53fe6d360a
Renamed __PHYSFS_utf8strcasecmp() to __PHYSFS_utf8stricmp().
...
This matches style of other function names we use.
2012-03-22 03:02:50 -04:00
Ryan C. Gordon
59c6310e92
Removed a FIXME: use correct error code for writing to read-only archives.
2012-03-22 00:05:10 -04:00
Ryan C. Gordon
ba676b23e5
Reworked the error reporting API. Now we use error codes instead of strings.
...
This is based on work originally done by Christoph Nelles.
2012-03-20 15:38:12 -04:00
Ryan C. Gordon
9d11b991bc
Fixed up some bugs that clang's static analysis reported.
2011-10-18 15:55:29 -04:00
Ryan C. Gordon
f871802f51
Cleaned up some #includes.
2010-09-06 19:35:01 -04:00
Ryan C. Gordon
3f02ce767f
Moved most the cut-and-paste between simple archivers to one file.
2010-09-06 02:50:29 -04:00