Commit Graph

48 Commits

Author SHA1 Message Date
Ryan C. Gordon 912ca3266d Fix for correct cleanup on read error. 2002-07-31 04:18:58 +00:00
Ryan C. Gordon d701627335 Patched memory leaks (thanks, Valgrind!) 2002-07-29 06:18:58 +00:00
Ryan C. Gordon 42be0046aa Natural language #defines and build system support. 2002-07-28 21:03:27 +00:00
Ryan C. Gordon 0ab061308d Initialized some variables to stop compiler whining. 2002-07-27 22:06:25 +00:00
Ryan C. Gordon 1b29c3888c More enumerate fixes. 2002-07-26 17:03:26 +00:00
Ryan C. Gordon 3ae1f1fa80 Changed DirFunctions struct a little. 2002-07-26 06:19:09 +00:00
Ryan C. Gordon 8eeaf6c6d7 Rewrote ZIP_enumerateFiles() again. Hopefully it sucks less this time. 2002-07-25 04:41:43 +00:00
Ryan C. Gordon 7c80bcf537 Disabled shitty enumeration code. Will fix soon. 2002-07-23 22:55:47 +00:00
Ryan C. Gordon a4d07b8e10 More enumeration fixes. I still hate this code. 2002-07-23 22:09:35 +00:00
Ryan C. Gordon 55b7638892 Fixed a double-free. 2002-07-23 21:26:51 +00:00
Ryan C. Gordon e460c9ce9a Fixed ZIP_isArchive() to report correctly if it has to check for the
end of central directory record.
2002-07-23 18:05:50 +00:00
Ryan C. Gordon 4765a364fe Fixed enumerations that end with '/'. 2002-07-23 17:52:56 +00:00
Ryan C. Gordon e98615a7ca My rewrite continues. I'm mostly satisfied with this code now, minus debugging. 2002-07-23 07:49:13 +00:00
Ryan C. Gordon f558dcfe4a Seeking backwards in ZIP_seek() works now. 2002-07-17 16:05:39 +00:00
Ryan C. Gordon 2fab3d9da4 Fixed symlink detection. 2002-07-15 13:20:34 +00:00
Ryan C. Gordon 2ec465ffc4 Symlink fixes. Still broken, though. 2002-07-15 02:22:52 +00:00
Ryan C. Gordon 480a259452 ZIP archiver rewrite. 2002-07-13 10:17:13 +00:00
Ryan C. Gordon 959a15e27f FIXME cleanups. 2002-07-11 21:37:30 +00:00
Ryan C. Gordon 05b565422a Implemeted getLastModTime method. 2002-06-06 05:38:47 +00:00
Ryan C. Gordon 5386a5c6a2 Added PHYSFS_getLastModTime() API. (Thanks, John Hall!) 2002-05-25 09:41:14 +00:00
Ryan C. Gordon a2bec46a6b Initial autoconf support. 2002-05-10 09:25:25 +00:00
Ryan C. Gordon 748cbac1c0 Patches for correctness and cleaner win32 support. 2002-04-12 05:53:12 +00:00
Ryan C. Gordon a366cfe1a2 Approved zeph's comments, fixed a few of my screwups. 2002-04-03 07:40:27 +00:00
Gregory S. Read 0217b7cdd7 -Added type casting that Ryan needs to approve.
-MSVC complained about implicit 64-bit to 32-bit conversions.
2002-04-03 04:20:07 +00:00
Ryan C. Gordon 9982d89b5b Removed now-unnecessary errno.h include. 2002-04-01 18:45:37 +00:00
Ryan C. Gordon 5d2b8493f6 Patched to compile. 2002-03-30 01:57:53 +00:00
Ryan C. Gordon d8cf534bf2 Platform abstracted i/o, other bugfixes. 2002-03-29 08:20:06 +00:00
Ryan C. Gordon f2887cf047 Added typedefs and platform-specific i/o. 2002-03-24 19:47:33 +00:00
Ryan C. Gordon c7aad1afd6 Changed author credits to wrap email addresses in "<>" and not "()" chars. 2001-09-14 22:55:44 +00:00
Ryan C. Gordon ed2a43b2ea Patched to compile with an ancient version of CodeWarrior. 2001-09-02 04:55:25 +00:00
Ryan C. Gordon 7aa0c252a9 More win32 updates. 2001-08-23 16:02:51 +00:00
Ryan C. Gordon f0c09894c8 Updates, corrections and enhancements to get this ported to win32. 2001-08-23 15:23:21 +00:00
Ryan C. Gordon beb42ac451 Changed URL to physfs homepage. 2001-08-07 02:57:16 +00:00
Ryan C. Gordon 0fe5d822a8 Avoids unzLocateFile(), since we already did all the searching ourselves. 2001-07-28 13:08:14 +00:00
Ryan C. Gordon 9ddb5923e7 ZIP entries are now cached at openArchive time, which cleans up the race
conditions and make i/o significantly more efficient. The code's a little
 saner, too. Just a LITTLE, though.  :)  --ryan.
2001-07-28 12:14:09 +00:00
Ryan C. Gordon bb35ebed98 Enough fixes to get the Build engine working with ZIP files instead of
GRPs. Currently does case-insensitive searching, which will change.
2001-07-23 09:24:59 +00:00
Ryan C. Gordon 2b66e50d49 Added individual file i/o code. Untested. 2001-07-23 07:16:22 +00:00
Ryan C. Gordon 9d0f8f0546 Now with all directory functions implemented (and debugged?). No file
functions in place, yet.
2001-07-23 04:47:47 +00:00
Ryan C. Gordon c7fe9ab439 Architecture adjustment for enumerating files with regards to whether
symlinks are permitted.
2001-07-16 17:36:28 +00:00
Ryan C. Gordon 7d90c12f74 Lots of bugfixes, enhancements, and corrections due to the work on
test_physfs exposing problems.
2001-07-16 14:36:02 +00:00
Ryan C. Gordon b1d32ec742 Updated archiver info to format I think is best for text. 2001-07-16 10:31:28 +00:00
Ryan C. Gordon 0ddd2b1f6d Initial work on ZIPfile support. Not complete. Not very pleased with this
minizip library at this moment in time.  --ryan.
2001-07-15 09:29:30 +00:00
Ryan C. Gordon 78f47916c0 Added more fields to the ArchiveInfo struct: author and url. 2001-07-09 23:33:37 +00:00
Ryan C. Gordon eea743579a Added PHYSFS_fileLength(). Bleh. 2001-07-09 04:15:35 +00:00
Ryan C. Gordon 59185346dd More tweaks; GRP completely implemented. Everything builds clean. 2001-07-08 10:58:10 +00:00
Ryan C. Gordon ee508bb2e0 Archive implementation (Build Groupfiles), other tweaks. 2001-07-08 05:27:05 +00:00
Ryan C. Gordon 2622be385d Implementation compiles and links with no actual archive support. No test
case available at this moment.  :)
2001-07-08 03:25:12 +00:00
Ryan C. Gordon 9c4faeaa88 Moved from root source dir. 2001-07-07 08:24:47 +00:00