Commit Graph

257 Commits

Author SHA1 Message Date
Ryan C. Gordon 53bbe35ddd Renamed LICENSE to LICENSE.txt 2007-03-11 10:10:28 +00:00
Ryan C. Gordon 902b7b9bae Install libraries with a VERSION and SOVERSION. 2007-03-11 09:13:55 +00:00
Ryan C. Gordon 94496e3302 Can now build shared or static (or both) libraries. 2007-03-11 08:37:01 +00:00
Ryan C. Gordon c0baa55549 Removed zlib_license_change.txt. 2007-03-11 08:11:36 +00:00
Ryan C. Gordon c6273ae317 Killed MIX archiver. 2007-03-10 06:41:26 +00:00
Ryan C. Gordon 6cdd5b5e57 Moved to CMake! 2007-03-10 06:32:52 +00:00
Ryan C. Gordon 9d42a71574 Killed some #ifdefs and whitespace. 2007-03-10 06:24:56 +00:00
Ryan C. Gordon d8f69c0e93 Changed PHYSFS_SUPPORTS_LZMA to PHYSFS_SUPPORTS_7Z. 2007-03-09 08:17:56 +00:00
Ryan C. Gordon d5327897cb Updated PocketPC code to handle UTF-8 strings. 2007-03-09 08:15:47 +00:00
Ryan C. Gordon a41e32d112 Ryanized the formatting in pocketpc.c 2007-03-08 22:37:51 +00:00
Ryan C. Gordon f6790ee34e Renamed win32.c to windows.c (since it would be used for Win64, too.) 2007-03-08 22:22:24 +00:00
Ryan C. Gordon ad6d05c95b Fixed a comment in physfs.h. 2007-03-08 21:31:35 +00:00
Ryan C. Gordon afd7163321 Apparently BeOS's BPath constructor doesn't actually _need_ leaf to be
manually split out.
2006-11-05 19:06:23 +00:00
Ryan C. Gordon 7fcc071ca8 Initial Unicode work. 2006-11-05 11:10:14 +00:00
Ryan C. Gordon a9d65e6d59 More 7zip work (thanks, Dennis!) 2006-11-05 10:06:02 +00:00
Ryan C. Gordon ab32c0313d Rewritten 7zip/lzma support (thanks, Dennis!) 2006-09-27 07:05:03 +00:00
Ryan C. Gordon 25909afde4 Fixed typo in Doxygen comment. 2006-09-23 10:49:10 +00:00
Ryan C. Gordon c527092aed 7zip support, written by Dennis Schridde, and heavily Ryanified by me. 2006-04-11 14:33:48 +00:00
Ryan C. Gordon 5d26eca4a4 Added -fvisibility=hidden support, for builds by gcc4 and later.
All the sordid reasons for this are laid out here:

   http://gcc.gnu.org/wiki/Visibility
2006-03-23 06:49:01 +00:00
Ryan C. Gordon e459e0714d Removed acconfig.h. 2006-01-01 13:03:22 +00:00
Ryan C. Gordon c81367d0ca Changed my email address. 2006-01-01 12:33:19 +00:00
Ryan C. Gordon 3e912c3c1b Added physfs.rc for Windows builds (thanks, Dennis!). 2006-01-01 12:28:53 +00:00
Ryan C. Gordon a66c36b42a Cleaned up overflow checks in platform memory allocators (thanks to Nicolas
Lebedenco for pointing out the original issue with long long literals).
2006-01-01 12:19:44 +00:00
Ryan C. Gordon 8544ea9431 Fixed documentation for PHYSFS_setWriteDir(). 2005-11-28 13:28:33 +00:00
Ryan C. Gordon 361c434180 Patched archivers/wad.c to compile again. 2005-10-12 22:03:56 +00:00
Ryan C. Gordon b7a3aeaccd Fixed version of locateInStringList() from Matze Braun. 2005-10-12 22:03:28 +00:00
Ryan C. Gordon c28540fe89 Made unix mutexes recursive. 2005-09-20 04:01:36 +00:00
Ryan C. Gordon 499631936f Don't leave internal structures temporarily modified before calling an
application callback, so that state is sane if they call into the API
 from inside the callback.
2005-09-18 22:27:05 +00:00
Ryan C. Gordon 6e7e45cdaf API BREAKAGE: Changed PHYSFS_enumerateFilesCallback() to pass the originally
requested directory back to the app.
2005-09-18 21:44:42 +00:00
Ryan C. Gordon 24ce834f44 Hopefully fixing ABI with 1.0... 2005-09-09 20:35:18 +00:00
Ryan C. Gordon 67746179d3 Some tweaks to PHYSFS_Allocator. 2005-09-09 14:07:43 +00:00
Ryan C. Gordon 0d43bf1eb1 Updated. 2005-09-06 06:28:35 +00:00
Ryan C. Gordon 64599213f1 Don't use size_t in physfs.h, since it relies on C runtime headers. 2005-09-06 06:24:42 +00:00
Ryan C. Gordon bbb0cab5ee Fixed bug in verifyPath() that was breaking PHYSFS_setSaneConfig() and other
corner cases.
2005-08-20 04:46:25 +00:00
Ryan C. Gordon 7b4181684e Patched to compile again on BeOS. 2005-07-25 01:38:07 +00:00
Ryan C. Gordon 823baad1e1 Assert define fix. 2005-07-24 01:01:35 +00:00
Ryan C. Gordon 36005323fe Updated MacOS 9 Codewarrior project. 2005-07-24 00:16:47 +00:00
Ryan C. Gordon 6e33ae594d Fixed warning in physfs.c. 2005-07-23 23:39:37 +00:00
Ryan C. Gordon 19d99f222f Updated. 2005-07-23 23:10:51 +00:00
Ryan C. Gordon d8a2b4be1e Removed debian directory. 2005-07-23 22:47:08 +00:00
Ryan C. Gordon 8365cbdd07 Remove .svn dirs from release tarball. 2005-07-23 22:22:47 +00:00
Ryan C. Gordon 31443d2c81 Upped version to 1.1.0 2005-07-23 22:19:01 +00:00
Ryan C. Gordon d8541f7ae4 Fixed "make dist". 2005-07-23 22:17:29 +00:00
Ryan C. Gordon 3f6c5e6348 Moved to actual zlib 1.2.3. 2005-07-23 22:02:00 +00:00
Ryan C. Gordon 49ebc305ac More minor OS/2 tweaks. 2005-07-23 22:01:03 +00:00
Ryan C. Gordon 8f3ab12d22 From: Jorg Walter
To: icculus@clutteredmind.org
Subject: Bug in zip archiver
Date: Sat, 23 Jul 2005 22:19:09 +0200

Hi!

PhysFS has a bug in the ZIP archive module, function zip_find_start_of_dir.
Upon encountering a substring match, rc is set to a wrong value. The fix is
simple: swap both assignments like this:

[patch below  --Ed.]

Some additional info for testing: Symptoms when you encounter this bug: A dir
is reported as empty although it has files in it; prerequisites or
encountering it: two dirs, one a substring of another, like "data/txt" and
"data/txt2", laid out in a way so that variable "middle" points to a file in
txt2 at some point during zip_find_start_of_dir

By the way, if you're interested in where PhysFS is used: I found this bug
while writing a patch for DOSBox (http://dosbox.sourceforge.net) to support
ZIP files. And I'd love to see that enhanced PHYSFS_mount syntax in an
official release soon *hint* ;);)
2005-07-23 21:46:07 +00:00
Ryan C. Gordon 507b099d5d Patched to compile on OS/2 again. 2005-07-21 18:10:17 +00:00
Ryan C. Gordon c794701885 Patched zlib security hole discussed here:
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2096
2005-07-13 15:10:00 +00:00
Ryan C. Gordon ec86fac0bb Updated zlib to 1.2.2. 2005-07-13 15:06:21 +00:00
Ryan C. Gordon 91319260b1 Added mingw support to the build process (thanks, Matze!). 2005-06-13 01:13:21 +00:00