Commit Graph

557 Commits

Author SHA1 Message Date
Ryan C. Gordon 54e9fbfea5 Improved "make package". 2001-07-28 13:39:55 +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 e2edafa85d Initial add. 2001-07-28 13:07:10 +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 c83a82497c Cleaned up PHYSFS_openRead() a little. PHYSFS_addToSearchPath() now
returns successful for duplicates, but doesn't add them a second time.
2001-07-23 09:23:17 +00:00
Ryan C. Gordon 2b66e50d49 Added individual file i/o code. Untested. 2001-07-23 07:16:22 +00:00
Ryan C. Gordon ed2e2b3ce4 Added ERR_COMPRESSION 2001-07-23 07:15:48 +00:00
Ryan C. Gordon 2ea6feeb2b Explicit check for negative positions in PHYSFS_seek(). 2001-07-23 07:15:21 +00:00
Ryan C. Gordon 1bed4abbaa Initial add. 2001-07-23 04:48:04 +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 7a26a0d417 New error message. 2001-07-23 04:47:08 +00:00
Ryan C. Gordon bf2508c6d6 Non-existant archives/directories report a more correct error, and a call
to PHYSFS_exists("") now always succeeds.
2001-07-23 04:46:42 +00:00
Ryan C. Gordon 8b6fad3e7c ZIP file support. 2001-07-23 04:45:26 +00:00
Ryan C. Gordon 2dcf1741fe Added more API calls, always uses a history file, now. 2001-07-16 17:37:50 +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 b64284b142 Much more complete. Still more to go. 2001-07-16 14: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 16584701b5 More work; command parsing via readline. 2001-07-16 10:32:12 +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 9b71131d95 Added readline library to test program. 2001-07-16 10:31:03 +00:00
Ryan C. Gordon d6b8acccfa Initial add. Does VERY little right now. 2001-07-15 18:56:07 +00:00
Ryan C. Gordon 27efd660d9 Added test binary. 2001-07-15 18:55:19 +00:00
Ryan C. Gordon 91ce826b1e Fixed bug in PHYSFS_VERSION macro. 2001-07-15 18:55:03 +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 fe77666054 Fixed GRP_enumerateFiles() so that it will only list files in the root of
the readable file tree.
2001-07-15 09:28:37 +00:00
Ryan C. Gordon 65073031ff "I/O error" error string, and updated comment. 2001-07-15 09:27:41 +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 096d57e6a8 Rewrote the file closing routines to not be so gay. Cleaned up the opening
routines, too. One less malloc and free needed for an open/close pair, which
makes things frighteningly more manageable. --ryan.
2001-07-09 01:45:13 +00:00
Ryan C. Gordon ce29f03218 Logic fixes; seems to work rather well with KenBuild, now. 2001-07-09 01:43:28 +00:00
Ryan C. Gordon 2827a86e87 Bugfix for infinite loop/touching free()'d memory during PHYSFS_deinit(). 2001-07-09 00:51:46 +00:00
Ryan C. Gordon fabb803a65 Initial add. Implemented, buggy, but not crashing. 2001-07-09 00:49:41 +00:00
Ryan C. Gordon f97faa279e Initial debugging: dropped PhysicsFS routines into the Build engine,
replacing Ken's groupfile management. Not finished, but lots of initial
debugging is complete. More bugs, likely in OUR groupfile code, are waiting
to be fixed, but the KenBuild editor runs without crashing (er...but the
palette doesn't seem to be loading... :)  )

  --ryan.
2001-07-08 13:57:28 +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 f053b90111 Base implementation is now complete. Now to fill in archive/platform drivers. 2001-07-07 09:05:19 +00:00
Ryan C. Gordon be67b1e961 Changes for subdirs. 2001-07-07 08:28:51 +00:00
Ryan C. Gordon 9c4faeaa88 Moved from root source dir. 2001-07-07 08:24:47 +00:00
Ryan C. Gordon 517e710002 Moved to subdir 2001-07-07 08:23:40 +00:00
Ryan C. Gordon a197f30eef Tons of updates. Mostly implemented. Mostly compiling. 2001-07-07 03:52:43 +00:00
Ryan C. Gordon 7be11ab27d Updated to latest driver spec. 2001-07-07 03:47:13 +00:00
Ryan C. Gordon 217332022a fixed typo 2001-07-07 03:46:48 +00:00
Ryan C. Gordon 2843a1979f Redesign of enumerateFiles code. More efficient and clean, less memory
hungry. Some tiny snafus, though, for future maintanence (*shrug*).
2001-07-06 21:29:37 +00:00
Ryan C. Gordon c97f88fc33 Progress toward complete implementation continues... 2001-07-06 08:47:23 +00:00
Ryan C. Gordon b7db28940e Added stricmp stuff and included physfs_internal.h ... 2001-07-06 02:33:21 +00:00
Ryan C. Gordon 60e6014f3c Initial add. Ways to go. 2001-07-06 02:32:29 +00:00
Ryan C. Gordon bfee0cebb2 Typo fixes, clarifications, and corrections. 2001-07-06 01:27:44 +00:00
Ryan C. Gordon 8f3c87743f More work. Getting better. 2001-07-06 01:27:14 +00:00