Commit Graph

1139 Commits

Author SHA1 Message Date
Ryan C. Gordon 1c3d7dcc7c Some minor fixes and cleanups. 2006-04-11 15:01:15 +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 91d1ecc161 Updated. 2006-03-23 10:19:55 +00:00
Ryan C. Gordon 1444557273 Apparently the visibility attribute only exists in gcc3 and up. 2006-03-23 10:15:29 +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 a1208dae33 Updated. 2005-09-18 22:27:57 +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 0e54e2a4cf Subversion should ignore "docs" directory if it exists. 2005-09-09 14:08:44 +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 2362abe855 Some minor (albeit incomplete) MingW fixes. 2005-09-06 06:25:48 +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 c2b1932747 Whoops, prop typo. 2005-07-24 00:19:11 +00:00
Ryan C. Gordon fc4b5f2c69 Updated svn:ignore. 2005-07-24 00:17:05 +00:00
Ryan C. Gordon 36005323fe Updated MacOS 9 Codewarrior project. 2005-07-24 00:16:47 +00:00
Ryan C. Gordon 84b03eba46 Updated. 2005-07-23 23:39:49 +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 779e526014 Allow a mount point of NULL to mean "/". 2005-07-23 23:10:27 +00:00
Ryan C. Gordon 54969f6075 Version bump for test program. 2005-07-23 22:59:47 +00:00
Ryan C. Gordon 80a63bb1cd Added some files to the dist. 2005-07-23 22:56:45 +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 f114094fa8 Whoops, missed a zlib121 reference... 2005-07-13 15:21:21 +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
Ryan C. Gordon af6fa158f0 Updated. 2005-03-16 13:10:40 +00:00
Ryan C. Gordon 63b29f78c1 Updated. 2005-03-16 13:07:22 +00:00
Ryan C. Gordon d18fb707b0 Changed CWProjects from SITX to SIT format, so OS9 users can unpack it. 2005-03-16 12:15:22 +00:00
Ryan C. Gordon 34f60ab12d Updated. 2005-03-16 12:11:44 +00:00