Commit Graph

710 Commits

Author SHA1 Message Date
Ryan C. Gordon 15073ad63f Fixed Win10's GetUserProfileDirectory() bug in stable-1.0 branch. 2018-10-03 22:45:05 -04:00
Ryan C. Gordon c65c196152 Fix bug with copying z_stream objects around in zip archiver (thanks, Andrei!).
zlib expects us to use inflateCopy() to move a z_stream, then inflateEnd()
the original, and apparently fails in later versions if you just try to
memcpy() it.

This is only a bug in the stable-2.0 and stable-1.0 branches; we replaced
zlib with miniz on the development branch, which doesn't have this
requirement (or an inflateCopy() function at all!).
(transplanted from 090cb9c74b87198e6d520afca9d649ca0d84669f)
2017-02-17 20:48:02 -05:00
Ryan C. Gordon 77f939cb43 Updated copyright date. 2017-02-17 20:43:27 -05:00
Ryan C. Gordon cdbd264cb4 The stable-1.0 branch didn't support Unicode at all. 2014-08-14 21:57:36 -04:00
Ryan C. Gordon e095ee4303 Backport from default branch: corrected PHYSFS_enumerateFiles() documentation.
(transplanted from aaa1204a4426c5412d9c2814e41e0b7066db060c)
2014-08-14 21:27:00 -04:00
Ryan C. Gordon 9977f5c9b4 Don't sort if there's nothing to do (prevents array underflow, too).
(transplanted from 662a7e180c480ff7731493b688aee27e8e010887)
2012-06-07 10:21:43 -04:00
Ryan C. Gordon 0ba88e4714 Put some include-once and extern "C" blocks in the extras' headers.
(transplanted from 9ba19d71cc4a4dd5c5fafe0de37d09fff75e57f6)
2011-09-24 00:55:15 -07:00
Ryan C. Gordon 8ae1b528a0 Fixed __PHYSFS_platformTell() things in stable-1.0 branch. 2011-08-01 17:55:45 -04:00
Ryan C. Gordon 1921be0ddf Fixed Windows/PocketPC __PHYSFS_platformEOF() for zero-length files.
(transplanted from e55bbdb69dfd9771a5222b6a406a9c418ffbe53b)
2011-08-01 17:37:06 -04:00
Ryan C. Gordon 08a15ea0c6 Backport from dev branch: infinite loop in zip_expand_symlink_path(). 2011-06-01 03:16:15 -04:00
Ryan C. Gordon 5a07f78897 Corrected copyright dates in stable-1.0 branch's license. 2011-02-18 16:16:19 -05:00
Ryan C. Gordon 205a7d3e63 Backported zip/qpak dir fix from dev branch to stable-1.0. 2011-02-18 12:44:30 -05:00
Ryan C. Gordon ef63e223c3 Updated copyright date in stable-1.0 branch. 2010-03-23 13:40:00 -04:00
Ryan C. Gordon 7888c05d4d Added an .hgignore to the stable-1.0 branch. 2010-02-28 17:24:03 -05:00
Ryan C. Gordon 5db500ac4e Fixed compiler warning on newer Linux systems.
(transplanted from 3ab4702d6313b2590f202f1475cd68976765f02f)
2010-02-01 03:02:18 -05:00
Ryan C. Gordon 8ff89ca115 Merged 1018:23aee7da04e0 from default branch: C++-style comment fixes. 2010-01-28 02:45:58 -05:00
Ryan C. Gordon c973e5a46b Fixed some wrong parentheses in the OS/2 code.
(transplanted from 1b4730384fc3b006d84c267fcd3e948510740ecf)
2010-01-28 02:38:57 -05:00
Ryan C. Gordon ea1b848580 Tagging 1.0.2 release. 2009-03-23 01:43:14 -04:00
Ryan C. Gordon 6667d42c31 Updated version to 1.0.2 in configure.in ... 2009-03-23 01:43:05 -04:00
Ryan C. Gordon 0314ea857b "make dist" removes Mercurial directory. 2009-03-23 01:36:05 -04:00
Ryan C. Gordon b35a36ddaa Upped version to 1.0.2. 2009-03-23 01:34:52 -04:00
Ryan C. Gordon 87aeb4dd16 Updated copyright. 2009-03-23 01:34:34 -04:00
Ryan C. Gordon 836c941bc7 Removed a reference to CVS. 2009-03-23 01:30:36 -04:00
Ryan C. Gordon 552769be6b Ripped out hand-crafted changelog. 2009-03-23 01:30:22 -04:00
Ryan C. Gordon d407ca2266 Updated copyright. 2009-03-23 01:27:48 -04:00
Ryan C. Gordon 2470672852 Tagging 1.0.1 release. 2009-03-22 21:46:01 -04:00
Ryan C. Gordon 42eb0768d5 Merged changeset 948:923323444178 from default branch: valgrind sorting fix. 2009-02-28 01:37:57 -05:00
Ryan C. Gordon ab4e94c49e Merged r939:940 from trunk: Fix PHYSFS_openAppend() on Unix. 2008-04-03 05:07:35 +00:00
Ryan C. Gordon f1ba7f8112 Removed a FIXME. 2008-03-12 21:21:40 +00:00
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