Commit Graph

45 Commits

Author SHA1 Message Date
Ryan C. Gordon ada7128625 Patched to compile on Linux/gcc. 2002-04-05 18:20:51 +00:00
Ryan C. Gordon 4fc4185b58 Cleaned up byteorder-safe reading functions. Use internal Physfs stricmp. 2002-04-05 18:07:18 +00:00
Ryan C. Gordon 0cc9d27961 Fixed byte ordering bugs. 2002-04-05 18:05:50 +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 cccf065f68 Patched to compile on MacOS Classic, with CodeWarrior 6. 2002-04-01 18:48:24 +00:00
Ryan C. Gordon 9982d89b5b Removed now-unnecessary errno.h include. 2002-04-01 18:45:37 +00:00
Ryan C. Gordon 34bdd661c9 Missed an ferror(); fixed to use platform abstraction instead. 2002-04-01 18:43:59 +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 4573c8a5ea Converted to file i/o abstraction, removed race condition. 2002-03-25 08:13:06 +00:00
Ryan C. Gordon 6a0a1349a8 Fixed a crashbug when opening a file that doesn't exist. 2002-03-25 08:11:55 +00:00
Ryan C. Gordon f6b15061c8 Abstracted file deletion, so we don't rely on C library for it anymore. 2002-03-25 05:02:12 +00:00
Ryan C. Gordon 51b65e1d5a Now uses platform file i/o abstraction. 2002-03-25 04:06: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 57a176068c const correctness fixes. 2002-03-16 03:53:46 +00:00
Ryan C. Gordon ae140141fc The DirHandle->funcs pointer wasn't getting set?! 2001-10-09 15:34:10 +00:00
Ryan C. Gordon 94406b6c35 Put a FIXME in place. 2001-10-09 15:15:40 +00:00
Ryan C. Gordon 7ab013b8b7 Fixed some syntax issues. 2001-10-09 15:15:24 +00:00
Ryan C. Gordon 3ad4abe6ce Make sure that the writing functions get used when a write mode is
specified.
2001-09-26 03:09:35 +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 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 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 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 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 ce29f03218 Logic fixes; seems to work rather well with KenBuild, now. 2001-07-09 01:43:28 +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 9c4faeaa88 Moved from root source dir. 2001-07-07 08:24:47 +00:00