Commit Graph

681 Commits

Author SHA1 Message Date
Ryan C. Gordon 27d1a25b24 Had a "msgbuf" where I should have had a "msgbuf[0]" (thanks, James!). 2008-03-11 05:14:35 +00:00
Ryan C. Gordon c14984f70e Fixed compiler warnings in win32 API calls (thanks, Dennis!). 2008-03-09 02:44:50 +00:00
Ryan C. Gordon 32fb2ab4a9 Various archiver swap and compare functions now check if they are
swapping/comparing an item against itself, for efficiency and to prevent
 overlapping memcpy() calls.
2008-02-20 12:24:10 +00:00
Ryan C. Gordon 0e720678af Minor Windows fix (thanks, fydo!). 2008-02-13 05:48:57 +00:00
Ryan C. Gordon 81d6df6972 Updated copyright date. 2008-01-23 05:14:15 +00:00
Ryan C. Gordon aee6bd359e Added zlib README and updated license notes. 2008-01-23 05:01:50 +00:00
Ryan C. Gordon 0abf1d7584 Corrected credit in Changelog. 2008-01-22 03:46:44 +00:00
Ryan C. Gordon 6ec1239122 Fixed HTTP header in physfshttpd.c. 2008-01-22 03:44:49 +00:00
Ryan C. Gordon 9c8f5312de Fixed wrong dir test in Windows code in both 1.0 and 1.1 (thanks, Dennis!). 2007-12-11 18:54:10 +00:00
Ryan C. Gordon be12a5bdc5 Mingw32 fix for 64-bit literals. 2007-10-01 15:47:40 +00:00
Ryan C. Gordon 782bb8a06f Whoops, it's malloc.h, not alloca.h ... 2007-07-12 10:37:56 +00:00
Ryan C. Gordon 8d1003ce7f Fixed missing alloc macro on mingw32, I think. 2007-07-12 08:58:09 +00:00
Ryan C. Gordon 87f7eb152a Fixed crash on zero-byte read/write (thanks, Ensiform!). 2007-07-11 22:11:29 +00:00
Ryan C. Gordon fc6d85b2f4 Backport from devbranch:
Fixed zip archiver: could do bogus seek if a small, non-zip file got put
 through isArchive().
2007-05-05 05:53:03 +00:00
Ryan C. Gordon 625e8e8f87 Merged r893:894 from trunk: Doxygen correction. 2007-04-03 00:58:32 +00:00
Ryan C. Gordon 785d617e74 Backport of r880:881 from trunk: try DIR archiver first. 2007-03-31 06:56:15 +00:00
Ryan C. Gordon bc14217e36 Whoops, this should probably be chopping the string instead of turning
the first newline it sees into a space character...
2007-03-26 06:34:55 +00:00
Ryan C. Gordon 994e62e5f2 Fixed typo in Doxygen comment. 2006-09-23 10:49:10 +00:00
Ryan C. Gordon cbf1dc67f3 Apparently the visibility attribute only exists in gcc3 and up. 2006-03-23 10:15:29 +00:00
Ryan C. Gordon 0d9f7c7b8a 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 c08f79715b Changed my email address. 2006-01-01 12:31:34 +00:00
Ryan C. Gordon cf12ff2b96 Added physfs.rc for Windows builds (thanks, Dennis!) 2006-01-01 12:29:18 +00:00
Ryan C. Gordon 57b48ae7f6 Fixed documentation for PHYSFS_setWriteDir(). 2005-11-28 13:28:12 +00:00
Ryan C. Gordon f71362cbb7 Fixed minor whitespace issue. 2005-11-28 13:25:18 +00:00
Ryan C. Gordon 7130cea2bf Minor MingW patches backported from dev branch. 2005-09-06 06:31:04 +00:00
Ryan C. Gordon 33ce47743f Assert define fix. 2005-07-24 01:02:11 +00:00
Ryan C. Gordon 7840ae68a6 Updated MacOS Classic CodeWarrior project. 2005-07-24 00:21:00 +00:00
Ryan C. Gordon 69d796fc7b Set svn:ignore. 2005-07-24 00:20:25 +00:00
Ryan C. Gordon a2ca51373c Fixed compiler warning in physfs.c. 2005-07-23 23:39:12 +00:00
Ryan C. Gordon caf1c499be Version bump for test program. 2005-07-23 23:00:08 +00:00
Ryan C. Gordon 14993f806e Added some files to dist. 2005-07-23 22:54:50 +00:00
Ryan C. Gordon 55c8465eeb Removed debian directory. 2005-07-23 22:46:30 +00:00
Ryan C. Gordon 8593f1484e Remove .svn dirs from release tarballs. 2005-07-23 22:23:07 +00:00
Ryan C. Gordon f5195696b6 Fixed "make dist". 2005-07-23 22:16:30 +00:00
Ryan C. Gordon 661a359586 Whoops, missed one. 2005-07-23 22:14:12 +00:00
Ryan C. Gordon 481f85a91c Upped version to 1.0.1. 2005-07-23 22:04:23 +00:00
Ryan C. Gordon 5e0de7cc73 Moved to zlib 1.2.3 proper. 2005-07-23 22:02:32 +00:00
Ryan C. Gordon 1affc74230 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:46 +00:00
Ryan C. Gordon 092abfdeda Removed old dir. 2005-07-13 15:23:02 +00:00
Ryan C. Gordon 68f832b9f7 Moved to zlib122 and security fix discussed here:
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2096
2005-07-13 15:22:08 +00:00
Ryan C. Gordon 12353f5346 Backport from devbranch: mingw support. 2005-06-13 01:16:13 +00:00
Ryan C. Gordon 804d364506 MacOS Classic fixes, MPW support, and removal of SITX for SIT (no SITX support
in the final Stuffit Expander for OS9, apparently).
2005-03-16 12:18:17 +00:00
Ryan C. Gordon e7a9d06206 Fixed untranslated string (thanks, Danny!) 2005-03-16 12:00:54 +00:00
Ryan C. Gordon cd065471c8 Spanish and Brazillian Portuguese translations. 2005-03-16 12:00:07 +00:00
Ryan C. Gordon ab1fd8a763 Minor comment fix (stable branch backport) 2005-02-15 22:30:28 +00:00
Ryan C. Gordon 73fc0593bf 2.0.0 backport: Fixed HOG archiver sorting/lookups (thanks Chris!) 2005-01-05 05:16:53 +00:00
Ryan C. Gordon df02d9722d Fixed some documentation/header comment typos (thanks, Gaetan!) 2004-12-16 16:25:42 +00:00
Ryan C. Gordon a63b842e24 CFLAGS fix backported from devbranch. 2004-10-30 23:47:00 +00:00
Ryan C. Gordon 791d52465c Removed .cvsignore files 2004-10-30 09:59:38 +00:00
Ryan C. Gordon 4b036dc0a2 strcpy/strcat fix, backported from devbranch. 2004-10-30 09:57:56 +00:00