Ryan C. Gordon <icculus@icculus.org> [Mon, 18 Jan 2021 18:33:00 -0500] rev 1693
Enable arm64 for non-Windows targets (thanks, pastdue!).
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
Ryan C. Gordon <icculus@icculus.org> [Fri, 12 Jun 2020 03:37:58 -0400] rev 1692
android: PhysicsFS now has actual Android support.
This compiled and worked on Android before, if you didn't care about
PHYSFS_getBaseDir() and PHYSFS_getPrefDir() being useful. Now you can pass
PHYSFS_init() some necessary Android objects to solve this. Passing NULL
to PHYSFS_init is acceptable and will simply report "/" for the base dir and
prefdir, under the assumption that the app queried the OS for these directly
instead.
Ryan C. Gordon <icculus@icculus.org> [Sun, 17 May 2020 01:41:52 -0400] rev 1691
7z: Make error handling a little more robust.
Ryan C. Gordon <icculus@icculus.org> [Sun, 17 May 2020 01:26:31 -0400] rev 1690
7z: copy/paste error in error checking, found by static analysis.
This was clearly copied from a previous line but wasn't updated with the
correct condition to check, so if malloc() failed, it would dereference NULL
instead of reporting an error.
(transplanted from 1dc6e265fefcc1fec8d68f096a73e1dca4bf0691)
Ryan C. Gordon <icculus@icculus.org> [Sun, 17 May 2020 01:26:31 -0400] rev 1689
7z: copy/paste error in error checking, found by static analysis.
This was clearly copied from a previous line but wasn't updated with the
correct condition to check, so if malloc() failed, it would dereference NULL
instead of reporting an error.
Ryan C. Gordon <icculus@icculus.org> [Sun, 17 May 2020 00:58:55 -0400] rev 1688
Move buildbot script changes to stable-3.0 branch.
Ryan C. Gordon <icculus@icculus.org> [Sat, 16 May 2020 23:30:16 -0400] rev 1687
buildbot-emscripten.sh: Look for the SDK at /emsdk by default.
Ryan C. Gordon <icculus@icculus.org> [Sat, 16 May 2020 23:29:44 -0400] rev 1686
buildbot-checker.sh: Just require scan-build to be in the $PATH.
Ryan C. Gordon <icculus@icculus.org> [Sat, 16 May 2020 23:29:03 -0400] rev 1685
Modern buildbot vocabulary is "worker," not "slave."
Ryan C. Gordon <icculus@icculus.org> [Tue, 12 May 2020 15:49:53 -0400] rev 1684
Have static analysis script use Ninja.
Ryan C. Gordon <icculus@icculus.org> [Tue, 12 May 2020 15:19:01 -0400] rev 1683
Fixed mishandling of an allocation failure in PHYSFS_openRead().
(Static analysis caught this one! Thanks clang!)
Ryan C. Gordon <icculus@icculus.org> [Tue, 12 May 2020 13:49:46 -0400] rev 1682
Testing a fix for emscripten buildbot script.
Ryan C. Gordon <icculus@icculus.org> [Tue, 12 May 2020 01:04:09 -0400] rev 1681
Minor style fix in docs/INSTALL.txt
(transplanted from 9cf9cdc05779f08c6342d620977c1f1273313881)
Ryan C. Gordon <icculus@icculus.org> [Tue, 12 May 2020 01:04:09 -0400] rev 1680
Minor style fix in docs/INSTALL.txt
Ryan C. Gordon <icculus@icculus.org> [Tue, 12 May 2020 00:54:52 -0400] rev 1679
Updated copyright for 2020.
Ryan C. Gordon <icculus@icculus.org> [Tue, 12 May 2020 00:52:56 -0400] rev 1678
Update copyright for 2020.
Ryan C. Gordon <icculus@icculus.org> [Tue, 12 May 2020 00:32:00 -0400] rev 1677
extras: Cleaning up some scripts to work with the newly-recreated buildbot.
(transplanted from 8ca9a80a216ca06ea2f3c86dcbd242908e9f96db)
Ryan C. Gordon <icculus@icculus.org> [Tue, 12 May 2020 00:32:00 -0400] rev 1676
extras: Cleaning up some scripts to work with the newly-recreated buildbot.
Ryan C. Gordon <icculus@icculus.org> [Sat, 24 Aug 2019 21:06:54 -0400] rev 1675
Corrected example code for PHYSFS_enumerate in physfs.h
(transplanted from d3929e6603725b968df778618204ca6c3869b446)
Ryan C. Gordon <icculus@icculus.org> [Sat, 24 Aug 2019 21:06:54 -0400] rev 1674
Corrected example code for PHYSFS_enumerate in physfs.h
Ryan C. Gordon <icculus@icculus.org> [Fri, 07 Jun 2019 23:46:55 -0400] rev 1673
Fixed comment typo.
Ryan C. Gordon <icculus@icculus.org> [Fri, 07 Jun 2019 22:27:48 -0400] rev 1672
hog: Added support for HOG2 (Descent 3) archives.
Ryan C. Gordon <icculus@icculus.org> [Mon, 20 May 2019 23:38:12 -0400] rev 1671
cmake: Minimum CMake version is now 2.8.12.
(transplanted from de1ea3b2cfc45ce921b5571a637b3b747173184f)
Ryan C. Gordon <icculus@icculus.org> [Mon, 20 May 2019 23:38:12 -0400] rev 1670
cmake: Minimum CMake version is now 2.8.12.
Kevin d'Orange [Fri, 19 Apr 2019 12:33:08 +0200] rev 1669
CMake: made install step export the targets
(transplanted from b2abaf7d4e4b2af671763b9ef2887dd30b42d6da)
Kevin d'Orange [Fri, 19 Apr 2019 12:33:08 +0200] rev 1668
CMake: made install step export the targets
Ryan C. Gordon <icculus@icculus.org> [Mon, 18 Mar 2019 14:37:22 -0400] rev 1667
Tagging 3.0.2 release
Ryan C. Gordon <icculus@icculus.org> [Mon, 18 Mar 2019 14:35:44 -0400] rev 1666
Bumped version to 3.0.2!
Ryan C. Gordon <icculus@icculus.org> [Mon, 18 Mar 2019 14:28:46 -0400] rev 1665
Fixed compiler warning.
(transplanted from b76a47b006f65ad81b54256080d485919abdce29)
Ryan C. Gordon <icculus@icculus.org> [Mon, 18 Mar 2019 14:28:46 -0400] rev 1664
Fixed compiler warning.
Ryan C. Gordon <icculus@icculus.org> [Mon, 18 Mar 2019 13:36:16 -0400] rev 1663
windows: Workaround for WinXP systems.
(transplanted from c8f3bbd689d6b71b84c11db74275ea3d56fef961)
Ryan C. Gordon <icculus@icculus.org> [Mon, 18 Mar 2019 13:36:16 -0400] rev 1662
windows: Workaround for WinXP systems.
Ryan C. Gordon <icculus@icculus.org> [Mon, 18 Mar 2019 11:27:26 -0400] rev 1661
Only flush file handles on close if they were opened for writing.
(transplanted from 89e1b79e10c6e9faf9e4c06dc357dee5ef2c7d4f)
Ryan C. Gordon <icculus@icculus.org> [Mon, 18 Mar 2019 11:27:26 -0400] rev 1660
Only flush file handles on close if they were opened for writing.
Ryan C. Gordon <icculus@icculus.org> [Sun, 10 Feb 2019 16:00:39 -0500] rev 1659
Added some whitespace to test a fix to revision control.
Ryan C. Gordon <icculus@icculus.org> [Sun, 10 Feb 2019 15:56:21 -0500] rev 1658
Updated copyright year for 2019.
(transplanted from 63df6e1d7f90fee339e7a2033df2f4885df89d16)
Ryan C. Gordon <icculus@icculus.org> [Sun, 10 Feb 2019 15:56:21 -0500] rev 1657
Updated copyright year for 2019.
Ryan C. Gordon <icculus@icculus.org> [Sun, 10 Feb 2019 15:45:01 -0500] rev 1656
cmake: Special build target names ("dist" "docs" "uninstall") can be renamed.
(transplanted from ac7b9452fdd8ef87eb4cfa36a80999b9cfc66235)
Ryan C. Gordon <icculus@icculus.org> [Sat, 26 Jan 2019 03:00:29 -0500] rev 1655
Allow builds to opt-out or opt-in to specific archivers, whichever's easier.
(transplanted from ff8f4c2a60d8bea12e34c1ed5cb4f506efb39020)
Ryan C. Gordon <icculus@icculus.org> [Sun, 10 Feb 2019 15:45:01 -0500] rev 1654
cmake: Special build target names ("dist" "docs" "uninstall") can be renamed.
Ryan C. Gordon <icculus@icculus.org> [Sat, 26 Jan 2019 03:00:29 -0500] rev 1653
Allow builds to opt-out or opt-in to specific archivers, whichever's easier.
Ryan C. Gordon <icculus@icculus.org> [Wed, 28 Nov 2018 00:23:08 -0500] rev 1652
Fixed some compiler warnings.
Ryan C. Gordon <icculus@icculus.org> [Tue, 27 Nov 2018 23:53:33 -0500] rev 1651
PHYSFS_flush() shouldn't call PHYSFS_Io::flush().
The former is meant to send PhysicsFS-buffered data to the PHYSFS_Io's
implementation, the latter is meant to tell the OS to definitely make sure the
data is safely written to disk (or at least, that's what it does in practice).
This was making PHYSFS_setBuffer()'d handles _slower_, since they would end
up blocking whenever the buffer was full until the data made the full trip to
physical media, instead of just letting the OS do its own buffering.
Now we still PHYSFS_Io::flush() on PHYSFS_close(), like this has always
worked. That might also be overkill, but that remains a historical artifact
of trying to keep the underlying file handle usable if pending writes fail
for possibly-recoverable reasons (which isn't guaranteed if you just close()
it, at least as far as I remember).
(transplanted from 8b3cc36531c6ac09dbac98d3774921bdf14b240d)
Ryan C. Gordon <icculus@icculus.org> [Tue, 27 Nov 2018 23:53:33 -0500] rev 1650
PHYSFS_flush() shouldn't call PHYSFS_Io::flush().
The former is meant to send PhysicsFS-buffered data to the PHYSFS_Io's
implementation, the latter is meant to tell the OS to definitely make sure the
data is safely written to disk (or at least, that's what it does in practice).
This was making PHYSFS_setBuffer()'d handles _slower_, since they would end
up blocking whenever the buffer was full until the data made the full trip to
physical media, instead of just letting the OS do its own buffering.
Now we still PHYSFS_Io::flush() on PHYSFS_close(), like this has always
worked. That might also be overkill, but that remains a historical artifact
of trying to keep the underlying file handle usable if pending writes fail
for possibly-recoverable reasons (which isn't guaranteed if you just close()
it, at least as far as I remember).
Ryan C. Gordon <icculus@icculus.org> [Wed, 17 Oct 2018 23:44:02 -0400] rev 1649
Added PHYSFS_setRoot().
Ryan C. Gordon <icculus@icculus.org> [Wed, 03 Oct 2018 22:45:05 -0400] rev 1648
Fixed Win10's GetUserProfileDirectory() bug in stable-1.0 branch.
Ryan C. Gordon <icculus@icculus.org> [Wed, 03 Oct 2018 22:44:29 -0400] rev 1647
Fix Win10's GetUserProfileDirectory() problem in stable-2.0 branch.
Ryan C. Gordon <icculus@icculus.org> [Wed, 03 Oct 2018 22:40:57 -0400] rev 1646
windows: Workaround GetUserProfileDirectory's API change in Win10 build 1809.
(transplanted from ece6769c0676c2d4e8a5893a1acebd0f65456817)
Ryan C. Gordon <icculus@icculus.org> [Wed, 03 Oct 2018 22:40:57 -0400] rev 1645
windows: Workaround GetUserProfileDirectory's API change in Win10 build 1809.
Ryan C. Gordon <icculus@icculus.org> [Wed, 16 May 2018 19:54:51 -0400] rev 1644
PHYSFS_setWriteDir() shouldn't create an empty file if the dir doesn't exist.
(transplanted from 2653b3bc19c9ba7d1e6bf53566719e4e30935382)
Ryan C. Gordon <icculus@icculus.org> [Wed, 16 May 2018 19:54:51 -0400] rev 1643
PHYSFS_setWriteDir() shouldn't create an empty file if the dir doesn't exist.
Ryan C. Gordon <icculus@icculus.org> [Thu, 19 Apr 2018 10:06:38 -0400] rev 1642
Fix up physfs.h for compilers that are sensitive about preprocessor defines.
(transplanted from db8f944df5c56f0244229813203fb5b24e8d9968)
Ryan C. Gordon <icculus@icculus.org> [Thu, 19 Apr 2018 10:06:38 -0400] rev 1641
Fix up physfs.h for compilers that are sensitive about preprocessor defines.
Ryan C. Gordon <icculus@icculus.org> [Sat, 24 Mar 2018 00:19:59 -0400] rev 1640
apple: Patched to compile with older (mac 10.7) SDKs (thanks, Ken and Ryan!).
(transplanted from 46561a3098955aa3534c10e2dcd9e969e140bb3d)
Ryan C. Gordon <icculus@icculus.org> [Sat, 24 Mar 2018 00:19:59 -0400] rev 1639
apple: Patched to compile with older (mac 10.7) SDKs (thanks, Ken and Ryan!).
Ryan C. Gordon <icculus@icculus.org> [Fri, 09 Mar 2018 14:50:37 -0500] rev 1638
ignorecase: Don't crash if enumeration returned a NULL pointer.
(transplanted from f83d05e87212a5c7e377f3b205e6d70fc42772d4)
Ryan C. Gordon <icculus@icculus.org> [Fri, 09 Mar 2018 14:50:37 -0500] rev 1637
ignorecase: Don't crash if enumeration returned a NULL pointer.
Ryan C. Gordon <icculus@icculus.org> [Thu, 08 Mar 2018 12:21:45 -0500] rev 1636
Updated copyright date.
(transplanted from f50073f637203bd545443b5a53326cc8e8dd0cd8)
Ryan C. Gordon <icculus@icculus.org> [Thu, 08 Mar 2018 12:21:45 -0500] rev 1635
Updated copyright date.
Ryan C. Gordon <icculus@icculus.org> [Thu, 08 Mar 2018 11:47:42 -0500] rev 1634
7zip: don't forget to destroy the PHYSFS_Io when closing the archive!
(transplanted from bc6cd61b76288298feb2d997b99f19deb75fd90c)
Ryan C. Gordon <icculus@icculus.org> [Thu, 08 Mar 2018 11:47:42 -0500] rev 1633
7zip: don't forget to destroy the PHYSFS_Io when closing the archive!
Ryan C. Gordon <icculus@icculus.org> [Thu, 08 Mar 2018 11:51:46 -0500] rev 1632
Call the default branch "3.1.0" to avoid confusion.
This way, if someone builds the default branch instead of stable-3.0, we'll
be able to distinguish.
No immediate plans for a format 3.1 effort at the moment, though.
Ryan C. Gordon <icculus@icculus.org> [Tue, 20 Feb 2018 10:26:33 -0500] rev 1631
Remove deprecated PHYSFS_getLastError() from all the extras (thanks, Rob!).
Ryan C. Gordon <icculus@icculus.org> [Sat, 11 Nov 2017 08:53:23 -0500] rev 1630
Patched physfsrwops to compile against SDL 1.2 (thanks, Rob!).
(transplanted from 540be489d50f9fe29f1f517202b6a9d199f36a2a)
Ryan C. Gordon <icculus@icculus.org> [Sat, 11 Nov 2017 08:53:23 -0500] rev 1629
Patched physfsrwops to compile against SDL 1.2 (thanks, Rob!).
Ryan C. Gordon <icculus@icculus.org> [Thu, 26 Oct 2017 14:38:35 -0400] rev 1628
Added tag release-3.0.1 for changeset fa8e38bcc354
Ryan C. Gordon <icculus@icculus.org> [Thu, 26 Oct 2017 14:38:03 -0400] rev 1627
Bumped version to 3.0.1!
Ryan C. Gordon <icculus@icculus.org> [Thu, 26 Oct 2017 14:37:16 -0400] rev 1626
Catch access to paths that are just "." or ".." without any path separator.
(transplanted from b6d25a1927c2274cf31166a74b87b24e2752e0e8)
Ryan C. Gordon <icculus@icculus.org> [Thu, 26 Oct 2017 14:37:16 -0400] rev 1625
Catch access to paths that are just "." or ".." without any path separator.
Ryan C. Gordon <icculus@icculus.org> [Thu, 26 Oct 2017 14:21:36 -0400] rev 1624
Fixed mounting a symlink to a real directory.
(transplanted from f3459eaad51bbbed4fc2768c0ec65b3005a7f490)
Ryan C. Gordon <icculus@icculus.org> [Mon, 23 Oct 2017 14:58:54 -0400] rev 1623
Fixed some infinite loops that a maliciously-crafted .iso can trigger.
These bugs exposed by American Fuzzy Lop (AFL), a powerful fuzzer.
http://lcamtuf.coredump.cx/afl/
(transplanted from 4f1bf89597e5b76c1c317fbeb2b472481090b4e4)
Ryan C. Gordon <icculus@icculus.org> [Mon, 23 Oct 2017 12:40:59 -0400] rev 1622
Don't allow NULL filenames to be mounted.
Regardless of what the 3.0.0 documentation says, PhysicsFS never handled this
correctly, so now we check for it so you can't get into crashy situations.
Corrected documentation to reflect reality.
(transplanted from 0bbfaf6c5508139ba3d417377c94d75ca921772a)
Ryan C. Gordon <icculus@icculus.org> [Mon, 23 Oct 2017 12:16:51 -0400] rev 1621
Fixed crash when duplicating PHYSFS_Io for zipfiles.
(transplanted from 67ca4c4f043ecf050c395e767845733512c83de2)
Ryan C. Gordon <icculus@icculus.org> [Thu, 26 Oct 2017 14:21:36 -0400] rev 1620
Fixed mounting a symlink to a real directory.
Ryan C. Gordon <icculus@icculus.org> [Mon, 23 Oct 2017 14:58:54 -0400] rev 1619
Fixed some infinite loops that a maliciously-crafted .iso can trigger.
These bugs exposed by American Fuzzy Lop (AFL), a powerful fuzzer.
http://lcamtuf.coredump.cx/afl/
Ryan C. Gordon <icculus@icculus.org> [Mon, 23 Oct 2017 12:40:59 -0400] rev 1618
Don't allow NULL filenames to be mounted.
Regardless of what the 3.0.0 documentation says, PhysicsFS never handled this
correctly, so now we check for it so you can't get into crashy situations.
Corrected documentation to reflect reality.
Ryan C. Gordon <icculus@icculus.org> [Mon, 23 Oct 2017 12:16:51 -0400] rev 1617
Fixed crash when duplicating PHYSFS_Io for zipfiles.
Ryan C. Gordon <icculus@icculus.org> [Wed, 27 Sep 2017 16:13:00 -0400] rev 1616
Added some notes on API documentation.
(transplanted from 7ee477e62e86838eca158df16a724d417eef125f)
Ryan C. Gordon <icculus@icculus.org> [Wed, 27 Sep 2017 16:13:00 -0400] rev 1615
Added some notes on API documentation.
Ryan C. Gordon <icculus@icculus.org> [Wed, 27 Sep 2017 15:58:44 -0400] rev 1614
Tagging 3.0.0 release
Ryan C. Gordon <icculus@icculus.org> [Wed, 27 Sep 2017 11:54:25 -0400] rev 1613
Bumped version to 3.0.0!
Ryan C. Gordon <icculus@icculus.org> [Wed, 27 Sep 2017 15:57:29 -0400] rev 1612
Added Rémi Verschelde to the credits.
Rémi Verschelde <rverschelde@gmail.com> [Wed, 27 Sep 2017 21:04:15 +0200] rev 1611
CMake: Honor LIB_SUFFIX for pkgconfig install path
Ryan C. Gordon <icculus@icculus.org> [Wed, 27 Sep 2017 12:33:36 -0400] rev 1610
Added SLB to list of supported archives.
Ryan C. Gordon <icculus@icculus.org> [Wed, 27 Sep 2017 12:07:55 -0400] rev 1609
Fixed doxygen comment.
Ryan C. Gordon <icculus@icculus.org> [Wed, 27 Sep 2017 11:45:34 -0400] rev 1608
Tagging 2.1.1 release
Ryan C. Gordon <icculus@icculus.org> [Mon, 25 Sep 2017 17:08:08 -0400] rev 1607
Added Tobias Markus to CREDITS.txt.
Ryan C. Gordon <icculus@icculus.org> [Mon, 25 Sep 2017 17:07:08 -0400] rev 1606
cmake: mark readline include directories as SYSTEM (thanks, Tobias!).
Ryan C. Gordon <icculus@icculus.org> [Mon, 25 Sep 2017 16:32:52 -0400] rev 1605
Fixed seeking within read buffers.
Ryan C. Gordon <icculus@icculus.org> [Mon, 25 Sep 2017 16:19:59 -0400] rev 1604
Simplified doBufferedRead().
No longer recurses, and deals with EOF correctly.
Ryan C. Gordon <icculus@icculus.org> [Mon, 25 Sep 2017 16:19:30 -0400] rev 1603
Fixed PHYSFS_flush().
Ryan C. Gordon <icculus@icculus.org> [Fri, 15 Sep 2017 19:52:24 -0400] rev 1602
OS/2: Patched to compile.
Ryan C. Gordon <icculus@icculus.org> [Fri, 15 Sep 2017 19:49:40 -0400] rev 1601
OS/2: Deal with UTF-8 -> codepage conversion on older OS/2 installs.
(untested attempt.)
Ryan C. Gordon <icculus@icculus.org> [Thu, 14 Sep 2017 23:36:51 -0400] rev 1600
OS/2: don't report failures on Unicode conversion on older OS/2 installs.
Francesco Bertolaccini <bertolaccinifrancesco@gmail.com> [Sun, 03 Sep 2017 13:13:51 -0400] rev 1599
vdf: Don't add directories; UNPK_addEntry()/DirTree will fill in parents.
Marty Plummer <netz.kernel@gmail.com> [Sun, 16 Jul 2017 23:03:07 -0500] rev 1598
Allow physfs.pc generation on mingw-w64 and osx homebrew/etc,
Rename physfs-static to physfs on mingw-w64
Ryan C. Gordon <icculus@icculus.org> [Sun, 20 Aug 2017 02:02:08 -0400] rev 1597
Made PHYSFS_caseFold() a public API.
Ryan C. Gordon <icculus@icculus.org> [Sun, 20 Aug 2017 02:01:50 -0400] rev 1596
Added some warnings to the docs about converting bad Unicode strings.
Ryan C. Gordon <icculus@icculus.org> [Sun, 20 Aug 2017 01:18:41 -0400] rev 1595
unicode: Added UTF-16 and UCS-4 stricmp functions.
Ryan C. Gordon <icculus@icculus.org> [Sun, 20 Aug 2017 01:18:05 -0400] rev 1594
OS/2: Fixed NULL pointer dereference.
Ryan C. Gordon <icculus@icculus.org> [Sun, 20 Aug 2017 00:35:25 -0400] rev 1593
Clarified some documentation.
Ryan C. Gordon <icculus@icculus.org> [Sat, 19 Aug 2017 11:19:28 -0400] rev 1592
Updated PHYSFS_Archiver with PHYSFS_EnumerateCallbackResult change.
Ryan C. Gordon <icculus@icculus.org> [Sat, 19 Aug 2017 10:40:27 -0400] rev 1591
Make PHYSFS_EnumerateCallback return an enum instead of an int.
Ryan C. Gordon <icculus@icculus.org> [Wed, 16 Aug 2017 21:19:16 -0400] rev 1590
windows: Disable _CRT_SECURE_NO_WARNINGS again.
Ryan C. Gordon <icculus@icculus.org> [Wed, 16 Aug 2017 20:03:24 -0400] rev 1589
Cleaned up some header inclusion politics.
Ryan C. Gordon <icculus@icculus.org> [Wed, 16 Aug 2017 20:02:54 -0400] rev 1588
qnx: Added more proper support for QNX.
Ryan C. Gordon <icculus@icculus.org> [Tue, 15 Aug 2017 02:08:24 -0400] rev 1587
Bump version to 2.1.1, since we've been at 2.1.0 for 8.5 years. :)
There isn't going to be an official 2.1.1 (or 2.1.0) release; we'll let this
marinate a little and jump to 3.0!
Ryan C. Gordon <icculus@icculus.org> [Mon, 14 Aug 2017 22:47:02 -0400] rev 1586
physfshttpd: serve up directory listings, a few other cleanups.
Ryan C. Gordon <icculus@icculus.org> [Mon, 14 Aug 2017 21:59:56 -0400] rev 1585
physfshttpd: removed deprecated PHYSFS_getLastError() calls.
Ryan C. Gordon <icculus@icculus.org> [Mon, 14 Aug 2017 21:22:30 -0400] rev 1584
Fixed one more Visual Studio compiler warning.
Ryan C. Gordon <icculus@icculus.org> [Mon, 14 Aug 2017 21:17:22 -0400] rev 1583
Whoops, patched to compile.
Ryan C. Gordon <icculus@icculus.org> [Mon, 14 Aug 2017 21:15:58 -0400] rev 1582
Fixed some compiler warnings on Visual Studio.
(and maybe made a few new ones...)
Ryan C. Gordon <icculus@icculus.org> [Mon, 14 Aug 2017 19:58:56 -0400] rev 1581
Fixed some warnings that Xcode brought up.
Ryan C. Gordon <icculus@icculus.org> [Mon, 14 Aug 2017 17:10:01 -0400] rev 1580
Updated TODO.txt
Ryan C. Gordon <icculus@icculus.org> [Mon, 14 Aug 2017 16:24:19 -0400] rev 1579
zip: add some zip_resolve() calls, deal with DirTree-inserted parent dirs.
Ryan C. Gordon <icculus@icculus.org> [Mon, 14 Aug 2017 14:06:43 -0400] rev 1578
This appears to have been fixed at some point.
Ryan C. Gordon <icculus@icculus.org> [Mon, 14 Aug 2017 14:05:06 -0400] rev 1577
Don't fail enumeration if a directory isn't available in a given archive.
That shouldn't be a fatal error, that's a normal case.
Ryan C. Gordon <icculus@icculus.org> [Mon, 14 Aug 2017 13:57:57 -0400] rev 1576
Little tweaks to __PHYSFS_initSmallAlloc().
Ryan C. Gordon <icculus@icculus.org> [Mon, 14 Aug 2017 11:43:18 -0400] rev 1575
Fix symlink filtering for enumeration under a virtual mount point.
Ryan C. Gordon <icculus@icculus.org> [Mon, 14 Aug 2017 03:06:42 -0400] rev 1574
Make PHYSFS_exists() work with mounts from PHYSFS_mountIo(io, NULL, ...)
(Actually, from any mount function that accepts a bogus/NULL filename.)
Ryan C. Gordon <icculus@icculus.org> [Mon, 14 Aug 2017 02:46:07 -0400] rev 1573
Don't set readonly if PHYSFS_stat()'ing something not in the write dir.
This API is meant to report what the archivers think about an item and not
actually tell you if a PHYSFS_openWrite() will succeed on it.
Ryan C. Gordon <icculus@icculus.org> [Mon, 14 Aug 2017 02:42:13 -0400] rev 1572
Turns out we were doing this for a (maybe not good, but reasonable) reason.
Ryan C. Gordon <icculus@icculus.org> [Mon, 14 Aug 2017 02:28:00 -0400] rev 1571
Archivers can now specify whether an archive definitely was intended for them.
So if a zip file goes to the zip archiver but is corrupted, the system can now
know not to bother trying other archivers once the zip archiver has had a shot
at it, and just as important: it can report the real error from that archiver
instead of a generic "unsupported."
Ryan C. Gordon <icculus@icculus.org> [Mon, 14 Aug 2017 01:35:10 -0400] rev 1570
Reduced some FIXME-3.0 tags to normal FIXME. They can wait.
Ryan C. Gordon <icculus@icculus.org> [Mon, 14 Aug 2017 01:29:45 -0400] rev 1569
Sanity check archivers that should only have low-ASCII filename.
Ryan C. Gordon <icculus@icculus.org> [Mon, 14 Aug 2017 01:28:30 -0400] rev 1568
Filled in more documentation.
Ryan C. Gordon <icculus@icculus.org> [Sun, 13 Aug 2017 22:53:38 -0400] rev 1567
7z: do global initialization once without risking a race condition.
Ryan C. Gordon <icculus@icculus.org> [Sun, 13 Aug 2017 19:45:31 -0400] rev 1566
PHYSFS_setSaneConfig uses enum callbacks now.
Ryan C. Gordon <icculus@icculus.org> [Sun, 13 Aug 2017 17:11:14 -0400] rev 1565
Improved some documentation.
Ryan C. Gordon <icculus@icculus.org> [Sat, 12 Aug 2017 03:10:19 -0400] rev 1564
Patched to compile on various platforms and compilers.
Ryan C. Gordon <icculus@icculus.org> [Sat, 12 Aug 2017 03:06:06 -0400] rev 1563
Don't mark the PHYSFS_EnumFilesCallback _typedef_ as deprecated.
It upsets several compilers when building PhysicsFS itself.
Ryan C. Gordon <icculus@icculus.org> [Sat, 12 Aug 2017 02:39:24 -0400] rev 1562
Updated docs to use PHYSFS_getLastErrorCode() instead of PHYSFS_getLastError().
(a few other documentation fixes probably slipped in here, too.)
Ryan C. Gordon <icculus@icculus.org> [Sat, 12 Aug 2017 02:24:38 -0400] rev 1561
FIXME removal: document enumerateFiles() sorting promises.
Ryan C. Gordon <icculus@icculus.org> [Sat, 12 Aug 2017 02:21:11 -0400] rev 1560
Added some FIXMEs and deprecated PHYSFS_getLastError().
Ryan C. Gordon <icculus@icculus.org> [Sat, 12 Aug 2017 02:19:22 -0400] rev 1559
Reworked enumeration to be more powerful.
Now callbacks can stop further enumeration and report errors, if they had a
catastrophic issue or just found what they needed and don't need to process
any more items.
Also, the actual enumerators can report errors instead of silently dropping
items. This led to several other fixes as all these implementations got
audited and reworked.
The original, non-callback enumerator now returns NULL if it can't produce a
complete list instead of dropping items and returning a partial list.
Ryan C. Gordon <icculus@icculus.org> [Fri, 11 Aug 2017 01:45:29 -0400] rev 1558
Removed __PHYSFS_stricmpASCII functions.
Nothing was using them, except one OS/2 thing that could live with stricmp.
Ryan C. Gordon <icculus@icculus.org> [Fri, 11 Aug 2017 01:29:38 -0400] rev 1557
Made physfs_lzmasdk.h's include-once blockers match other files' formatting.
Ryan C. Gordon <icculus@icculus.org> [Fri, 11 Aug 2017 01:39:58 -0400] rev 1556
ignorecase.c: use PHYSFS_utf8stricmp() now.
Ryan C. Gordon <icculus@icculus.org> [Fri, 11 Aug 2017 01:39:22 -0400] rev 1555
utf8: big improvements to case-insensitive UTF-8 string compare.
- Dramatically reduce RAM usage: uses between 8 and 11 kilobytes less static
memory for its internal case-folding tables.
- Actually works now. It would fail unconditionally if a codepoint folded
into multiple codepoints, even if the compared string contained those exact
codepoints.
- Now a public API!
- Removed __PHYSFS_utf8strnicmp(): nothing was using it, it was incorrect
anyhow, and what does 'n' represent when either string might case-fold to
something larger in-flight, anyhow?
Ryan C. Gordon <icculus@icculus.org> [Thu, 10 Aug 2017 12:31:41 -0400] rev 1554
FIXME removal: this code is fine, I guess.
Ryan C. Gordon <icculus@icculus.org> [Thu, 10 Aug 2017 12:31:06 -0400] rev 1553
haiku: CD-ROM detection should report any mounted volume on a B_CD device.
Most discs only use the "raw" device, but it turns out the Haiku installation
"anyboot" images don't, and those would fail to detect here. If there's
some multi-partition disc thing and the OS mounted each separately, we should
report each of them.
Ryan C. Gordon <icculus@icculus.org> [Tue, 08 Aug 2017 15:27:32 -0400] rev 1552
FIXME removal: it's okay for the PHYSFS_Io to be NULL here.
We use this technique in several other places, too.
Ryan C. Gordon <icculus@icculus.org> [Tue, 08 Aug 2017 11:57:44 -0400] rev 1551
apple: Patched to compile on XCode versions < 7.
Ryan C. Gordon <icculus@icculus.org> [Tue, 08 Aug 2017 03:37:09 -0400] rev 1550
windows: minor cleanup.
Ryan C. Gordon <icculus@icculus.org> [Tue, 08 Aug 2017 03:36:56 -0400] rev 1549
apple: Start using some Cocoa APIs, clean up a few related things.
Ryan C. Gordon <icculus@icculus.org> [Tue, 08 Aug 2017 02:34:25 -0400] rev 1548
Rename physfs_platform_macos.c to physfs_platform_apple.m
It's not really "macOS," it's all of Apple's platforms (iOS, watchOS,
tvOS...AppleCarOS? heh), and second...we're about to need access to Cocoa
APIs, so we need it to be Objective-C. I fought as long as I could. :/
Ryan C. Gordon <icculus@icculus.org> [Tue, 08 Aug 2017 02:27:47 -0400] rev 1547
cmake: Pacify warning about Policy CMP0042 not being set.
Ryan C. Gordon <icculus@icculus.org> [Sun, 06 Aug 2017 15:59:46 -0400] rev 1546
Fixed compiler warnings on GCC.
Ryan C. Gordon <icculus@icculus.org> [Sun, 06 Aug 2017 15:58:39 -0400] rev 1545
Fixed compiler warnings on Visual Studio.
Ryan C. Gordon <icculus@icculus.org> [Sun, 06 Aug 2017 15:54:44 -0400] rev 1544
Marked a bunch of things as "FIXME-3.0" that I want resolved before 3.0 ships.
Ryan C. Gordon <icculus@icculus.org> [Sun, 06 Aug 2017 13:56:45 -0400] rev 1543
Removed some FIXMEs that aren't valid.
Ryan C. Gordon <icculus@icculus.org> [Sun, 06 Aug 2017 12:27:18 -0400] rev 1542
windows: Patched to compile! (...?)
Ryan C. Gordon <icculus@icculus.org> [Sun, 06 Aug 2017 12:19:33 -0400] rev 1541
windows: (maybe) patched to compile on Visual Studio.
Ryan C. Gordon <icculus@icculus.org> [Sun, 06 Aug 2017 10:33:21 -0400] rev 1540
PHYSFS_File buffering now uses size_t.
This lets you have the full address space but not take up unnecessary space
on 32-bit platforms...not to mention removes a bunch of typecasting.
Ryan C. Gordon <icculus@icculus.org> [Sun, 06 Aug 2017 09:25:05 -0400] rev 1539
windows: PHYSFS_FILETYPE_OTHER files now report real filesize in PHYSFS_stat().
I don't know if it's _meaningful_, but if the OS reports it, so do we.
Ryan C. Gordon <icculus@icculus.org> [Sun, 06 Aug 2017 09:21:38 -0400] rev 1538
Add basic atomic operations for refcounting, etc.
Ryan C. Gordon <icculus@icculus.org> [Sun, 06 Aug 2017 01:34:18 -0400] rev 1537
physfshttpd: deal with write errors on the socket.
Ryan C. Gordon <icculus@icculus.org> [Sun, 06 Aug 2017 01:30:58 -0400] rev 1536
__PHYSFS_platformDeinit() should return void.
What are you going to do if this fails, anyhow?
Ryan C. Gordon <icculus@icculus.org> [Sat, 05 Aug 2017 01:26:07 -0400] rev 1535
windows: Removed (what I think is) a copy/paste error.
Ryan C. Gordon <icculus@icculus.org> [Sat, 05 Aug 2017 01:24:53 -0400] rev 1534
windows: Use a real synchronization primitive for CD detection thread init.
Before we were waiting on a volatile int in a tight loop with a Sleep(50).
Ryan C. Gordon <icculus@icculus.org> [Fri, 04 Aug 2017 22:35:49 -0400] rev 1533
More FIXME cleanups.
Ryan C. Gordon <icculus@icculus.org> [Fri, 04 Aug 2017 22:32:57 -0400] rev 1532
Make compile-time asserts more readable.
Ryan C. Gordon <icculus@icculus.org> [Fri, 04 Aug 2017 22:32:34 -0400] rev 1531
FIXME removal: This is an appropriate error code already.
Ryan C. Gordon <icculus@icculus.org> [Fri, 04 Aug 2017 22:31:56 -0400] rev 1530
Removed FIXME: this was already fixed at some point.
Ryan C. Gordon <icculus@icculus.org> [Wed, 02 Aug 2017 16:40:07 -0400] rev 1529
os/2: Patched to compile (?).
Ryan C. Gordon <icculus@icculus.org> [Wed, 02 Aug 2017 16:34:02 -0400] rev 1528
os/2: attempt to get cpuid support on OpenWatcom builds.
Ryan C. Gordon <icculus@icculus.org> [Wed, 02 Aug 2017 13:06:56 -0400] rev 1527
windows: Patched to compile.
Ryan C. Gordon <icculus@icculus.org> [Wed, 02 Aug 2017 13:02:43 -0400] rev 1526
windows: Just pass HANDLEs around instead of wrapping in a struct.
We don't need the "readonly" field of this struct, because it was only used
to protect flushes on non-writable handles, but PHYSFS_flush() also keeps
track of what's read-only and won't call into the platform layer anyhow.
HANDLEs are typedef'd to be "void *" on Windows, so this is safe (so long as
we check for INVALID_HANDLE_VALUE, which is ((void*)-1), when creating new
handles.
Ryan C. Gordon <icculus@icculus.org> [Wed, 02 Aug 2017 12:48:40 -0400] rev 1525
windows: Fixed logic bug.
Ryan C. Gordon <icculus@icculus.org> [Wed, 02 Aug 2017 12:48:31 -0400] rev 1524
windows: better test for WinRT vs win32 (...I think...?)
Ryan C. Gordon <icculus@icculus.org> [Mon, 31 Jul 2017 16:32:47 -0400] rev 1523
Updated Unicode case folding support to something 10 years newer. :)
Ryan C. Gordon <icculus@icculus.org> [Wed, 26 Jul 2017 16:08:32 -0400] rev 1522
Fixed compiler warning.
Ryan C. Gordon <icculus@icculus.org> [Wed, 26 Jul 2017 09:03:04 -0400] rev 1521
WinRT: Disable harmless (in our case) linker warning.
Ryan C. Gordon <icculus@icculus.org> [Tue, 25 Jul 2017 19:55:58 -0400] rev 1520
Added an assert for a FIXME that is now handled elsewhere.
Ryan C. Gordon <icculus@icculus.org> [Tue, 25 Jul 2017 19:55:08 -0400] rev 1519
Fixed building for WinRT via CMake.
Ryan C. Gordon <icculus@icculus.org> [Mon, 24 Jul 2017 03:29:33 -0400] rev 1518
Serious cleanup and update of Windows RT support.
This compiles for WinRT, but isn't otherwise tested at all yet.
Ryan C. Gordon <icculus@icculus.org> [Mon, 24 Jul 2017 02:37:22 -0400] rev 1517
Minor cleanup.
Ryan C. Gordon <icculus@icculus.org> [Mon, 24 Jul 2017 02:36:58 -0400] rev 1516
Some minor preprocessor nitpicks.
Ryan C. Gordon <icculus@icculus.org> [Sat, 22 Jul 2017 20:05:17 -0400] rev 1515
unix: getmntinfo() should proabably be set to MNT_NOWAIT to avoid blocking.
Ryan C. Gordon <icculus@icculus.org> [Sat, 22 Jul 2017 20:04:38 -0400] rev 1514
Minor QNX fix; don't warn about CD-ROM support (for now).
Ryan C. Gordon <icculus@icculus.org> [Sat, 22 Jul 2017 13:50:40 -0400] rev 1513
Apple refers to "Mac OS X" as "macOS" now.
Ryan C. Gordon <icculus@icculus.org> [Sat, 22 Jul 2017 13:50:03 -0400] rev 1512
Rename __PHYSFS_Archiver_SZIP to __PHYSFS_Archiver_7Z.
Ryan C. Gordon <icculus@icculus.org> [Sat, 22 Jul 2017 13:48:31 -0400] rev 1511
Minor documentation updates.
Ryan C. Gordon <icculus@icculus.org> [Sat, 22 Jul 2017 13:35:14 -0400] rev 1510
A couple of fixes for physfshttpd.c.
Ryan C. Gordon <icculus@icculus.org> [Sat, 22 Jul 2017 13:22:37 -0400] rev 1509
Fixed a comment about SDL licensing.
Ryan C. Gordon <icculus@icculus.org> [Sat, 22 Jul 2017 13:20:15 -0400] rev 1508
Removed SWIG bindings.
Ryan C. Gordon <icculus@icculus.org> [Sat, 22 Jul 2017 13:19:57 -0400] rev 1507
Update filename comments.
Ryan C. Gordon <icculus@icculus.org> [Sat, 22 Jul 2017 12:59:06 -0400] rev 1506
Renamed all the sources to start with "physfs_"
So now you can drop this into your program and not worry about filename
conflicts, or where "platform_unix.c" came from in the debugger, etc.
Also renamed the "beos" sources to "haiku" and "macosx" to "macos" to match
modern platform names.
Ryan C. Gordon <icculus@icculus.org> [Sat, 22 Jul 2017 12:55:50 -0400] rev 1505
Add platform_os2.c to the CMake file.
Ryan C. Gordon <icculus@icculus.org> [Sat, 22 Jul 2017 12:47:32 -0400] rev 1504
Minor code cleanups: whitespace fixes, 80-column overflows, wrong comments.
Ryan C. Gordon <icculus@icculus.org> [Sat, 22 Jul 2017 12:42:34 -0400] rev 1503
vdf: Migrated to new, improved unpacked archiver infrastructure.
Ryan C. Gordon <icculus@icculus.org> [Sat, 22 Jul 2017 12:16:37 -0400] rev 1502
Added some TODOs to the ISO9660 code.
Ryan C. Gordon <icculus@icculus.org> [Fri, 21 Jul 2017 23:02:10 -0400] rev 1501
Some improvements to INSTALL.txt.
Ryan C. Gordon <icculus@icculus.org> [Fri, 21 Jul 2017 22:38:50 -0400] rev 1500
Fixed compiler warnings.
Ryan C. Gordon <icculus@icculus.org> [Fri, 21 Jul 2017 22:35:30 -0400] rev 1499
Removed unused variable.
Ryan C. Gordon <icculus@icculus.org> [Fri, 21 Jul 2017 22:01:51 -0400] rev 1498
unpacked: let archivers specify create and modified times, hook up to iso9660.
Ryan C. Gordon <icculus@icculus.org> [Fri, 21 Jul 2017 19:01:41 -0400] rev 1497
unpacked: let archivers "abandon" the archive instead of closing it.
This lets you preserve the PHYSFS_Io in case of error during archive opening.
Ryan C. Gordon <icculus@icculus.org> [Fri, 21 Jul 2017 13:56:21 -0400] rev 1496
iso9660: rewritten and simplified.
This now builds on top of the "unpacked" archiver and reads only the
structures it needs, serializing the parts it cares about. Lots of other
cleanups.
Lost a little bit of functionality, to be restored later.
Ryan C. Gordon <icculus@icculus.org> [Fri, 21 Jul 2017 13:55:03 -0400] rev 1495
unpacked: Don't list a position or length for directory entries.
Ryan C. Gordon <icculus@icculus.org> [Fri, 21 Jul 2017 13:54:42 -0400] rev 1494
DirTrees and unpacked archives shouldn't demand a count of entries for init.
Ryan C. Gordon <icculus@icculus.org> [Thu, 20 Jul 2017 17:00:21 -0400] rev 1493
slb: be more aggressive about rejecting non-SLB files.
Ryan C. Gordon <icculus@icculus.org> [Tue, 18 Jul 2017 09:59:23 -0400] rev 1492
Attempt to fix compilation against the latest Windows SDK.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 16:39:15 -0400] rev 1491
It's not messy to compile NOW. :)
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 16:25:17 -0400] rev 1490
Removed C++ single-line comments from LZMA SDK.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 16:22:29 -0400] rev 1489
Disable unaligned reads in LZMA SDK; it upsets GCC's strict-aliasing rules.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 15:53:09 -0400] rev 1488
Fixed another compiler warning.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 15:50:04 -0400] rev 1487
More unused LZMA SDK code.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 15:43:39 -0400] rev 1486
Fixed compiler warning.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 14:57:02 -0400] rev 1485
Another LZMA SDK trim.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 14:56:52 -0400] rev 1484
Fixed 64-bit ints in LZMA SDK on Watcom C.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 14:46:36 -0400] rev 1483
Workaround strict-aliasing warnings on some versions of GCC.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 14:43:36 -0400] rev 1482
Still more LZMA SDK trimming.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 14:41:48 -0400] rev 1481
Fixed Visual Studio compiler warning.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 14:37:02 -0400] rev 1480
Patched to compile on Visual Studio.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 14:35:47 -0400] rev 1479
Patched to compile on OpenWatcom.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 14:35:36 -0400] rev 1478
Chopped more unused pieces out of the LZMA SDK.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 14:27:51 -0400] rev 1477
Chopped out some unused code from the LZMA SDK.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 14:19:29 -0400] rev 1476
Static analysis fix.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 12:42:09 -0400] rev 1475
Removed unused variables.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 12:41:28 -0400] rev 1474
Static analysis fix (maybe?).
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 12:39:43 -0400] rev 1473
Removed unused variable.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 12:38:19 -0400] rev 1472
Static analysis fix.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 12:35:35 -0400] rev 1471
Whoops, forgot to add the file. :)
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 12:29:13 -0400] rev 1470
Removed warning in LICENSE.txt about PhysicsFS 0.1.9 being LGPL code.
The license was changed in 1.0.0, on January 8th, 2004. I think it's time to
stop worrying about a prerelease version from almost 14 years ago.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 12:27:25 -0400] rev 1469
LZMA SDK is now public domain, remove the LGPL warning in LICENSE.txt.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 12:20:14 -0400] rev 1468
Removed ancient LZMA SDK.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 12:26:50 -0400] rev 1467
Rewrote the 7zip archiver.
This also updates the LZMA SDK to something more modern, which is now public
domain code, and squashed it into a single header for easier building.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 12:21:26 -0400] rev 1466
zip: fail with correct error code if opening a directory.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 12:21:02 -0400] rev 1465
Corrected reported value for unknown PHYSFS_stat() access times.
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jul 2017 12:18:20 -0400] rev 1464
test_physfs: added a "cat2" command to read from two open file handles at once.
Ryan C. Gordon <icculus@icculus.org> [Sun, 16 Jul 2017 04:39:14 -0400] rev 1463
Reworked the "unpacked" archivers to use DirTree.
This cleaned up a lot of code and improved things, and also allowed a lot of
the restrictions on unpacked archivers to be removed.
Ryan C. Gordon <icculus@icculus.org> [Sat, 15 Jul 2017 15:59:55 -0400] rev 1462
Moved ZIP tree management up to a higher level, to be reused elsewhere.
Ryan C. Gordon <icculus@icculus.org> [Sun, 16 Jul 2017 04:35:46 -0400] rev 1461
Fixed some comments.
Ryan C. Gordon <icculus@icculus.org> [Sun, 16 Jul 2017 04:34:52 -0400] rev 1460
Reenable QPAK support by default.
Ryan C. Gordon <icculus@icculus.org> [Sun, 16 Jul 2017 04:36:40 -0400] rev 1459
Removed SWIG ifdefs in physfs.h
Ryan C. Gordon <icculus@icculus.org> [Thu, 13 Jul 2017 00:21:25 -0400] rev 1458
Fixed more Visual Studio compiler warnings.
Ryan C. Gordon <icculus@icculus.org> [Thu, 13 Jul 2017 00:16:24 -0400] rev 1457
Fixed some compiler warnings with Visual Studio.
Ryan C. Gordon <icculus@icculus.org> [Wed, 12 Jul 2017 23:54:45 -0400] rev 1456
Fixed compiler warnings on Visual Studio about const qualifiers.
Ryan C. Gordon <icculus@icculus.org> [Wed, 12 Jul 2017 20:59:37 -0400] rev 1455
Turn off MSVC anti-portability propaganda in test program.
Ryan C. Gordon <icculus@icculus.org> [Wed, 12 Jul 2017 20:58:44 -0400] rev 1454
Removed leftover test scripts from removed SWIG bindings.
Ryan C. Gordon <icculus@icculus.org> [Wed, 12 Jul 2017 20:55:58 -0400] rev 1453
Move headers around to get those MSVC anti-portability nags to go away.
Ryan C. Gordon <icculus@icculus.org> [Wed, 12 Jul 2017 20:52:51 -0400] rev 1452
unix: OS-specific paths should also chop filename off base path.
Ryan C. Gordon <icculus@icculus.org> [Wed, 12 Jul 2017 20:49:53 -0400] rev 1451
Debian/kFreeBSD should use the FreeBSD-specific codepaths, not generic Unix.
Ryan C. Gordon <icculus@icculus.org> [Wed, 12 Jul 2017 20:39:03 -0400] rev 1450
Fix lzma option in CMakeLists.txt
Ryan C. Gordon <icculus@icculus.org> [Wed, 12 Jul 2017 15:41:12 -0400] rev 1449
Cleaned up what symbols are exported from the library.
Ryan C. Gordon <icculus@icculus.org> [Wed, 12 Jul 2017 02:41:28 -0400] rev 1448
Cygwin has mntent.h, and no need to check for CMake tests now.
Ryan C. Gordon <icculus@icculus.org> [Wed, 12 Jul 2017 02:40:16 -0400] rev 1447
Maybe macOS needs -fno-common ...?
Ryan C. Gordon <icculus@icculus.org> [Wed, 12 Jul 2017 02:33:15 -0400] rev 1446
unix: Don't #error if no CD-ROM support, because we already give a #warning.
Ryan C. Gordon <icculus@icculus.org> [Wed, 12 Jul 2017 00:33:47 -0400] rev 1445
Remove -pthread argument.
Ryan C. Gordon <icculus@icculus.org> [Wed, 12 Jul 2017 00:16:34 -0400] rev 1444
Updated INSTALL.txt to more closely reflect reality.
Ryan C. Gordon <icculus@icculus.org> [Wed, 12 Jul 2017 00:16:57 -0400] rev 1443
Removed BeOS support (Haiku still supported, though!).
Since Haiku has pthread support, dropped the BLocker code and use the pthread
code from platform_posix.c instead.
Ryan C. Gordon <icculus@icculus.org> [Tue, 11 Jul 2017 23:52:13 -0400] rev 1442
Removed __PHYSFS_platformSetDefaultAllocator(); nothing uses it now.
We can pull it back from revision control if something needs it later.
Ryan C. Gordon <icculus@icculus.org> [Tue, 11 Jul 2017 23:47:48 -0400] rev 1441
mac: Removed Carbon header include and custom allocator (just use malloc).
Ryan C. Gordon <icculus@icculus.org> [Tue, 11 Jul 2017 23:32:46 -0400] rev 1440
Simplify CMakeLists.txt, etc.
Try to test things with preprocessor macros instead of CMake, and get rid of
silly options like turning off thread safety.
Ryan C. Gordon <icculus@icculus.org> [Tue, 11 Jul 2017 23:25:20 -0400] rev 1439
vdf: make private functions static.
Ryan C. Gordon <icculus@icculus.org> [Tue, 11 Jul 2017 00:40:51 -0400] rev 1438
The archiver options in the CMake file should disable, not enable.
We now try to compile all archivers by default unless one explicit disables
them individually, so these options needed to be handled differently.
Ryan C. Gordon <icculus@icculus.org> [Tue, 11 Jul 2017 00:39:18 -0400] rev 1437
macOS only needs to link against CoreFoundation, not Carbon.
Ryan C. Gordon <icculus@icculus.org> [Mon, 10 Jul 2017 23:32:54 -0400] rev 1436
Don't rename the static library on Windows.
"physfs.lib" will also be the import library's name, so it's best to leave it
separate on that platform.
Ryan C. Gordon <icculus@icculus.org> [Mon, 10 Jul 2017 22:56:49 -0400] rev 1435
Added some option information to the CMake output.
Ryan C. Gordon <icculus@icculus.org> [Mon, 10 Jul 2017 17:50:27 -0400] rev 1434
Fixed building on MingW.
Ryan C. Gordon <icculus@icculus.org> [Sun, 09 Jul 2017 20:50:48 -0400] rev 1433
Patched to compile on BeOS/Haiku.
Ryan C. Gordon <icculus@icculus.org> [Sun, 09 Jul 2017 20:46:31 -0400] rev 1432
Checking if this #pragma pack works better on gcc 2.95.
Ryan C. Gordon <icculus@icculus.org> [Sun, 09 Jul 2017 20:45:34 -0400] rev 1431
Fixed some DOS newlines.
Ryan C. Gordon <icculus@icculus.org> [Sun, 09 Jul 2017 18:21:54 -0400] rev 1430
Maybe fix compiler warnings on Cygwin.
Ryan C. Gordon <icculus@icculus.org> [Sun, 09 Jul 2017 18:17:33 -0400] rev 1429
Patched to compile on Visual Studio.
Ryan C. Gordon <icculus@icculus.org> [Sun, 09 Jul 2017 17:46:53 -0400] rev 1428
Workaround snprintf() deficiencies on Visual Studio.
Ryan C. Gordon <icculus@icculus.org> [Sun, 09 Jul 2017 17:31:27 -0400] rev 1427
Fixed compiler warnings on FreeBSD.
Ryan C. Gordon <icculus@icculus.org> [Sun, 09 Jul 2017 17:28:33 -0400] rev 1426
Don't try to build CD-ROM support on Emscripten.
Ryan C. Gordon <icculus@icculus.org> [Sun, 09 Jul 2017 17:09:40 -0400] rev 1425
Fix some buildbot warnings about jobserver mode if $MAKE had a -j2, etc.
Ryan C. Gordon <icculus@icculus.org> [Sun, 09 Jul 2017 17:06:37 -0400] rev 1424
Replaced sprintf() calls with snprintf().
Ryan C. Gordon <icculus@icculus.org> [Sun, 09 Jul 2017 17:02:13 -0400] rev 1423
Pacify compiler warning.
Ryan C. Gordon <icculus@icculus.org> [Sun, 09 Jul 2017 16:57:56 -0400] rev 1422
Updated TODO: zip64 support has been in for awhile now.
Ryan C. Gordon <icculus@icculus.org> [Sun, 09 Jul 2017 15:03:12 -0400] rev 1421
Patched to compile on Windows.
Ryan C. Gordon <icculus@icculus.org> [Sun, 09 Jul 2017 15:01:17 -0400] rev 1420
windows: (re)added support for symbolic links.
Ryan C. Gordon <icculus@icculus.org> [Sat, 08 Jul 2017 22:20:43 -0400] rev 1419
Added buildbot-raspberrypi.sh and fixed some other buildbot script things.
Ryan C. Gordon <icculus@icculus.org> [Sat, 08 Jul 2017 20:52:12 -0400] rev 1418
Added buildbot-emscripten.sh, fixed up some minor things in buildbot-os2.sh.
Ryan C. Gordon <icculus@icculus.org> [Sat, 08 Jul 2017 20:20:03 -0400] rev 1417
buildbot-os2: zip to subdir to avoid tarbombing.
Ryan C. Gordon <icculus@icculus.org> [Sat, 08 Jul 2017 20:09:34 -0400] rev 1416
buildbot-os2.sh: still trying to get this path right...
Ryan C. Gordon <icculus@icculus.org> [Sat, 08 Jul 2017 20:02:54 -0400] rev 1415
buildbot-os2.sh: fixed some paths.
Ryan C. Gordon <icculus@icculus.org> [Sat, 08 Jul 2017 19:56:05 -0400] rev 1414
buildbot-os2.sh: Zip to a specific filename.
Ryan C. Gordon <icculus@icculus.org> [Sat, 08 Jul 2017 19:45:35 -0400] rev 1413
buildbot-os2.sh: build with full optimizations, zip up final library.
Ryan C. Gordon <icculus@icculus.org> [Sat, 08 Jul 2017 19:25:59 -0400] rev 1412
buildbot-os2.sh: actually report an error code.
Ryan C. Gordon <icculus@icculus.org> [Sat, 08 Jul 2017 19:16:47 -0400] rev 1411
Added script to run Clang static analysis.
Ryan C. Gordon <icculus@icculus.org> [Sat, 08 Jul 2017 18:26:04 -0400] rev 1410
Added a quick script to cross-compile to OS/2 from Linux with OpenWatcom.
Ryan C. Gordon <icculus@icculus.org> [Sat, 08 Jul 2017 18:25:20 -0400] rev 1409
Turn on all the archivers by default.
(Except for the lzma archiver, since it needs a bunch of external code.)
The difference in binary size, for Linux/amd64 compiled for size (-Os),
is 4 kilobytes. It's senseless to not just compile them all in.
Ryan C. Gordon <icculus@icculus.org> [Fri, 07 Jul 2017 14:04:58 -0400] rev 1408
Added Francesco Bertolaccini to the credits.
Ryan C. Gordon <icculus@icculus.org> [Fri, 07 Jul 2017 13:57:21 -0400] rev 1407
Updated TODO.
Ryan C. Gordon <icculus@icculus.org> [Fri, 07 Jul 2017 13:55:52 -0400] rev 1406
OS/2: actually working again, now.
Ryan C. Gordon <icculus@icculus.org> [Fri, 07 Jul 2017 13:06:44 -0400] rev 1405
OS/2: more work on getting this to compile.
Ryan C. Gordon <icculus@icculus.org> [Fri, 07 Jul 2017 09:21:06 -0400] rev 1404
Patched to compile with C89 compilers.
Ryan C. Gordon <icculus@icculus.org> [Thu, 06 Jul 2017 21:34:24 -0400] rev 1403
OS/2: implemented Unicode support, modernized platform_os2.c's code.
(untested.)
Implemented Unicode support, ripped out old APIs that aren't used any more,
corrected some things.
Ryan C. Gordon <icculus@icculus.org> [Thu, 06 Jul 2017 11:51:41 -0400] rev 1402
Cleanup BAIL_* and GOTO_* macros to be less cluttered.
This also fixes really aggressive compiler warnings about the "if (!ERRPASS)"
construct producing unreachable code.
Ryan C. Gordon <icculus@icculus.org> [Thu, 06 Jul 2017 00:47:36 -0400] rev 1401
OS/2: base dir needs to end with a path separator.
Ryan C. Gordon <icculus@icculus.org> [Thu, 06 Jul 2017 00:04:10 -0400] rev 1400
Fix some endlines.
Ryan C. Gordon <icculus@icculus.org> [Thu, 06 Jul 2017 00:03:49 -0400] rev 1399
OS/2: fix up the base/user/pref dir code.
There might be better ways to do this in modern times than shove it all into
the base dir, though.
Ryan C. Gordon <icculus@icculus.org> [Wed, 05 Jul 2017 23:49:10 -0400] rev 1398
Patched to compile with OpenWatcom.
Ryan C. Gordon <icculus@icculus.org> [Wed, 05 Jul 2017 23:48:21 -0400] rev 1397
Patched platform_os2.c to compile.
Ryan C. Gordon <icculus@icculus.org> [Wed, 05 Jul 2017 21:30:39 -0400] rev 1396
Watcom C should include malloc.h to make the alloca macro available.
Ryan C. Gordon <icculus@icculus.org> [Wed, 05 Jul 2017 21:29:37 -0400] rev 1395
os2: added OS/2 support back in.
With the release of ArcaOS, this is a live platform again.
This code probably doesn't compile yet; I've just given it a first shot at
resolving the changes between the last OS/2-supported revision and now.
This still needs Unicode support added in any case.
Francesco Bertolaccini <bertolaccinifrancesco@gmail.com> [Mon, 03 Jul 2017 14:47:25 -0400] rev 1394
vdf: Remove unused chunks of code, fix endianness.
Francesco Bertolaccini <bertolaccinifrancesco@gmail.com> [Mon, 03 Jul 2017 14:41:08 -0400] rev 1393
Remove unused variable.
Ryan C. Gordon <icculus@icculus.org> [Tue, 20 Jun 2017 14:06:13 -0400] rev 1392
Changed some URLs from http:// to https://, where supported.
Francesco Bertolaccini <bertolaccinifrancesco@gmail.com> [Tue, 20 Jun 2017 13:22:41 -0400] rev 1391
Add support for VDF
Ryan C. Gordon <icculus@icculus.org> [Fri, 17 Feb 2017 20:48:02 -0500] rev 1390
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)
Ryan C. Gordon <icculus@icculus.org> [Fri, 17 Feb 2017 20:48:02 -0500] rev 1389
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!).
Ryan C. Gordon <icculus@icculus.org> [Fri, 17 Feb 2017 20:43:27 -0500] rev 1388
Updated copyright date.
Ryan C. Gordon <icculus@icculus.org> [Fri, 17 Feb 2017 20:41:56 -0500] rev 1387
Update copyright date.
Ryan C. Gordon <icculus@icculus.org> [Fri, 17 Feb 2017 20:39:45 -0500] rev 1386
Updated copyright to 2017.
Ryan C. Gordon <icculus@icculus.org> [Thu, 06 Oct 2016 15:39:49 -0400] rev 1385
Removed unused variable in extras/ignorecase.c ...
Ryan C. Gordon <icculus@icculus.org> [Mon, 12 Sep 2016 15:39:35 -0400] rev 1384
Added a mostly-harmless FIXME.
Ryan C. Gordon <icculus@icculus.org> [Mon, 12 Sep 2016 15:38:30 -0400] rev 1383
Added support for password-protected .zip files.
To use: mount a .zip file as usual, open a file as usual, but append '$' plus
the password to the end of the path, like so:
PHYSFS_File *f = PHYSFS_openRead("/path/to/my/file.txt$MyPassword");
Note that this is the "traditional" PKWARE crypto, like you might get from
PkZip 2.04g or Info-ZIP. They have more advanced cryptography in the modern
.zip spec, but that's not implemented here. If you've ever tried to unzip
an archive and were prompted for a password, you probably saw the traditional
crypto at work.
Note that this is NOT a secure thing: if you ship an app that contains a
password, someone with a debugger can retrieve it. Note also that this
password could be available to any code registered as a PHYSFS_Archiver, and
that due to how archives combine into a single file tree, the wrong archiver
can get the password, at a minimum causing it to fail because passwords don't
match.
In short: make sure you know what you're doing before you use this!
Ryan C. Gordon <icculus@icculus.org> [Wed, 07 Sep 2016 21:21:59 -0400] rev 1382
Platform deinit should happen last, since other deinit bits might depend on it.
Ryan C. Gordon <icculus@icculus.org> [Fri, 26 Aug 2016 18:46:11 -0400] rev 1381
Fixed miniz code that triggers recent GCCs' -Wmisleading-indentation.
Ryan C. Gordon <icculus@icculus.org> [Wed, 17 Aug 2016 20:43:36 -0400] rev 1380
Removed one more rude thing from the comments. :/
Ryan C. Gordon <icculus@icculus.org> [Wed, 17 Aug 2016 20:40:19 -0400] rev 1379
extras/ignorecase.h: Fixed some typos.
Ryan C. Gordon <icculus@icculus.org> [Wed, 17 Aug 2016 17:19:50 -0400] rev 1378
Fixed some documentation typos (thanks, Paul!).
Ryan C. Gordon <icculus@icculus.org> [Tue, 16 Aug 2016 14:46:53 -0400] rev 1377
Replace unsigned long cast with cast to size_t (thanks, David!).
When targeting MinGW-w64's x86_64 target, unsigned long is 4 bytes but void* is
8 bytes. This mismatch triggers the pointer-to-int-cast warning.
(This patch was originally David Yip's work, with uintptr_t instead of size_t).
David Yip <dwyip@peach-bun.com> [Mon, 15 Aug 2016 05:41:36 -0500] rev 1376
Remove unused functions and variables in platform_windows.
Under gcc 5.3.0, the presence of these functions and variables generate unused
function / unused variable warnings, which in combination with -Werror causes
a compile error.
David Yip <dwyip@peach-bun.com> [Mon, 15 Aug 2016 00:50:58 -0500] rev 1375
Remove unused variable in zip_hash_ancestors.
Under gcc 5.4.0, this generates unused variable warnings, which in combination
with -Werror causes a compile error.
Ryan C. Gordon <icculus@icculus.org> [Thu, 25 Feb 2016 02:55:11 -0500] rev 1374
Updated byte order tests to match what SDL does now.
That is: you're more likely to be on Linux or a little-endian machine,
so deal with the non-Linux bigendian as the exceptional case.
Ryan C. Gordon <icculus@icculus.org> [Thu, 25 Feb 2016 02:51:28 -0500] rev 1373
HTTPS all the things.
Ryan C. Gordon <icculus@icculus.org> [Thu, 25 Feb 2016 02:20:52 -0500] rev 1372
zip: Reworked how we organize ZIP entries.
We now use a hashtable for lookups of specific paths, and organize the
entries into a directory tree. The end result is fast lookup and fast
enumeration without having to search a sorted array or tapdance with
substrings...which means the rare, mysterious bug where we failed
to find an existing file should be gone now, too.
Ryan C. Gordon <icculus@icculus.org> [Thu, 25 Feb 2016 01:16:42 -0500] rev 1371
Fixed a comment.
Ryan C. Gordon <icculus@icculus.org> [Thu, 25 Feb 2016 00:40:17 -0500] rev 1370
Move __PHYSFS_strdup() declaration up with other string helpers.
Ryan C. Gordon <icculus@icculus.org> [Wed, 24 Feb 2016 11:15:00 -0500] rev 1369
zip: Don't allocate a 256k buffer on the stack for zip64 parsing.
Ryan C. Gordon <icculus@icculus.org> [Wed, 24 Feb 2016 11:14:10 -0500] rev 1368
Added a minor comment.
Ryan C. Gordon <icculus@icculus.org> [Fri, 29 Jan 2016 15:16:15 -0500] rev 1367
Replaced PhysFS.NET with a README pointing to more modern C# bindings.
Ryan C. Gordon <icculus@icculus.org> [Fri, 01 Jan 2016 12:53:26 -0500] rev 1366
Updated Copyright.
Ryan C. Gordon <icculus@icculus.org> [Fri, 01 Jan 2016 12:53:41 -0500] rev 1365
Updated copyright.
Ryan C. Gordon <icculus@icculus.org> [Tue, 28 Jul 2015 15:13:35 -0400] rev 1364
Fixes to SDL_RWops bridge code.
- Correct return values (number of objects, not bytes), thanks Reto!
- Updated for SDL 2.0 RWops interface. Threw away SDL 1.3 support.
- 1.2 support remains. For now!
Ryan C. Gordon <icculus@icculus.org> [Thu, 02 Jul 2015 23:36:33 -0400] rev 1363
Fixed compiler warning about unused variable because assert() is awful.
Ryan C. Gordon <icculus@icculus.org> [Thu, 18 Jun 2015 00:12:15 -0400] rev 1362
Removed a few tabstops to test something on the Mercurial server.
Ryan C. Gordon <icculus@icculus.org> [Tue, 16 Jun 2015 10:46:56 -0400] rev 1361
Fixed incorrect logic ("!x != 5" instead of "x != 5").
Thanks to Xian Nox for pointing this out!
Ryan C. Gordon <icculus@icculus.org> [Sun, 19 Apr 2015 23:28:14 -0400] rev 1360
Added some FIXMEs.
Ryan C. Gordon <icculus@icculus.org> [Sun, 19 Apr 2015 23:26:02 -0400] rev 1359
dos2unix'd platform_winrt.cpp
Ryan C. Gordon <icculus@icculus.org> [Sun, 19 Apr 2015 23:25:29 -0400] rev 1358
Removed some tabs and an extra semicolon.
Ryan C. Gordon <icculus@icculus.org> [Sun, 19 Apr 2015 23:24:41 -0400] rev 1357
Added Martin Ahrnbom to the credits.
Martin Ahrnbom <m.ahrnbom@outlook.com> [Sun, 29 Mar 2015 07:03:30 +0200] rev 1356
Added support for WinRT 8.1 Universal Apps.
Hopefully this will work on Win10 as well... Only time will tell!
Here's what's changed:
1. Added a platform_winrt.cpp file. It's based on platform_windows.c but has some WinRT-specific changes.
2. Changed physfs_platforms.h to define PHYSFS_PLATFORM_WINRT when running on WinRT. PHYSFS_PLATFORM_WINDOWS should also be defined, as WinRT behaves a lot like "normal" Windows and this flag is tested against in multiple parts of the PhysFS source code.
3. Changed platform_windows.c to not be used when PHYSFS_PLATFORM_WINRT is defined.
4. In order to work on Windows ARM devices, I had to change in physfs_internal.h, to include _M_ARM as a flag for running on ARM as "ARM" and "__arm__" aren't defined when running on a Windows ARM device.
What I've tested:
* Setting up a "sane folder configuration"
* Reading and writing files
* Mounting zip files
* Using seek & tell
* Checking file length
All of these work fine. I couldn't get the actual test software to run on WinRT, but it seems like eveyrthing's working. I've tested these things on my Windows 8.1 computer, as well as my Lumia 920 which is currently running Windows 8.1.
Ryan C. Gordon <icculus@icculus.org> [Thu, 11 Sep 2014 00:07:23 -0400] rev 1355
Make sure read buffers get reinitialized before refilling (thanks, Michael!).
Ryan C. Gordon <icculus@icculus.org> [Tue, 19 Aug 2014 10:55:56 -0400] rev 1354
Make static analysis happy.
Ryan C. Gordon <icculus@icculus.org> [Tue, 19 Aug 2014 02:28:13 -0400] rev 1353
Fixed resource leak when failing to mount a file that isn't an archive.
Ryan C. Gordon <icculus@icculus.org> [Thu, 14 Aug 2014 21:57:36 -0400] rev 1352
The stable-1.0 branch didn't support Unicode at all.
Ryan C. Gordon <icculus@icculus.org> [Thu, 14 Aug 2014 21:33:24 -0400] rev 1351
Short circuit case-insensitive compare of two equal Unicode codepoints.
Ryan C. Gordon <icculus@icculus.org> [Thu, 14 Aug 2014 21:17:04 -0400] rev 1350
PHYSFS_enumerateFiles() actually promises sorting order, and always has.
Ryan C. Gordon <icculus@icculus.org> [Thu, 14 Aug 2014 21:27:00 -0400] rev 1349
Backport from default branch: corrected PHYSFS_enumerateFiles() documentation.
(transplanted from aaa1204a4426c5412d9c2814e41e0b7066db060c)
Ryan C. Gordon <icculus@icculus.org> [Thu, 14 Aug 2014 21:27:00 -0400] rev 1348
Backport from default branch: corrected PHYSFS_enumerateFiles() documentation.
Willi Schinmeyer <willi@schinmeyer.de> [Sun, 20 Jul 2014 13:36:56 +0200] rev 1347
Fix NULL flush() in PHYSFS_Io crash
Ryan C. Gordon <icculus@icculus.org> [Fri, 07 Feb 2014 16:31:32 -0500] rev 1346
Static analysis fixes backported to the stable-2.0 branch.
Ryan C. Gordon <icculus@icculus.org> [Fri, 07 Feb 2014 16:23:12 -0500] rev 1345
This returns -1 on error, not zero. :/
Ryan C. Gordon <icculus@icculus.org> [Fri, 07 Feb 2014 16:22:43 -0500] rev 1344
PHYSFS_stat() returns zero on error, not -1.
Ryan C. Gordon <icculus@icculus.org> [Fri, 07 Feb 2014 16:22:54 -0500] rev 1343
We always use miniz now.
Ryan C. Gordon <icculus@icculus.org> [Fri, 07 Feb 2014 16:17:48 -0500] rev 1342
Renamed a function to make Clang static analysis happy.
"Object leaked: allocated object is returned from a function whose
name ('cfallocDesc') does not contain 'Copy' or 'Create'. This violates
the naming convention rules given in the Memory Management Guide for
Core Foundation"
(it doesn't actually leak, but okay, it's a reasonable naming convention.)
Ryan C. Gordon <icculus@icculus.org> [Thu, 16 Jan 2014 07:03:42 -0800] rev 1341
Added a FIXME.
Ryan C. Gordon <icculus@icculus.org> [Thu, 16 Jan 2014 07:03:34 -0800] rev 1340
Fixed a single-line comment.
Ryan C. Gordon <icculus@icculus.org> [Thu, 16 Jan 2014 07:03:09 -0800] rev 1339
Updated installation notes.
Ryan C. Gordon <icculus@icculus.org> [Wed, 13 Nov 2013 00:38:35 -0500] rev 1338
Added pkg-config support (thanks, Jonas!).
Ryan C. Gordon <icculus@icculus.org> [Fri, 23 Aug 2013 23:41:35 -0400] rev 1337
Better basedir detection for various Unix platforms.
Ryan C. Gordon <icculus@icculus.org> [Thu, 22 Aug 2013 00:06:23 -0400] rev 1336
Backport to stable-2.0: don't fsync read-only files.
Ryan C. Gordon <icculus@icculus.org> [Wed, 21 Aug 2013 23:30:33 -0400] rev 1335
Don't fsync() read-only filehandles (thanks, Andreas!).
This sounds harmless, but it actually forces a write of the inode's atime,
which means a lot of painful and unnecessary disk i/o on some filesystems.
Should be a good speedup on games that read a lot of small files on Unix.
Ryan C. Gordon <icculus@icculus.org> [Tue, 20 Aug 2013 13:36:34 -0400] rev 1334
Fixed memory leak.
Ryan C. Gordon <icculus@icculus.org> [Tue, 16 Jul 2013 12:51:54 -0400] rev 1333
Fixed off-by-one error in findBinaryInPath() (thanks, Dmitry!).
This bug is new to the development branch, and doesn't exist in either the
stable-1.0 or stable-2.0 branches.
Ryan C. Gordon <icculus@icculus.org> [Fri, 30 Nov 2012 14:37:37 -0500] rev 1332
Get rid of array of static archivers.
Ryan C. Gordon <icculus@icculus.org> [Fri, 30 Nov 2012 14:09:56 -0500] rev 1331
Rearranged PHYSFS_Archiver struct.
Ryan C. Gordon <icculus@icculus.org> [Fri, 30 Nov 2012 14:06:21 -0500] rev 1330
Removed comments added by Captain Obvious.
Ryan C. Gordon <icculus@icculus.org> [Fri, 30 Nov 2012 13:00:08 -0500] rev 1329
Cleaned out "exists" nonsense in openRead() API.
Ryan C. Gordon <icculus@icculus.org> [Fri, 30 Nov 2012 12:49:25 -0500] rev 1328
Remove __PHYSFS_setError(), use the new public API instead.
Ryan C. Gordon <icculus@icculus.org> [Fri, 30 Nov 2012 12:43:56 -0500] rev 1327
Cleaned out the "exists" nonsense in the stat() API.
Ryan C. Gordon <icculus@icculus.org> [Fri, 30 Nov 2012 00:04:52 -0500] rev 1326
Moved supportsSymlinks into PHYSFS_ArchiveInfo.
Ryan C. Gordon <icculus@icculus.org> [Thu, 29 Nov 2012 11:48:48 -0500] rev 1325
Comment tweaks (FIXME additions, typo corrections, etc).
Ryan C. Gordon <icculus@icculus.org> [Thu, 29 Nov 2012 11:47:16 -0500] rev 1324
Centralize responsibility for filtering symlinks during enumeration.
Ryan C. Gordon <icculus@icculus.org> [Thu, 29 Nov 2012 11:45:01 -0500] rev 1323
POSIX version of __PHYSFS_platformStat() now reports symlinks correctly.
Ryan C. Gordon <icculus@icculus.org> [Wed, 28 Nov 2012 01:36:13 -0500] rev 1322
Allow application-supplied archivers.
This lets an application supply its own archivers, where they will work like
any built-in archiver. This allows abstract directory interfaces the same
way that PHYSFS_Io allows stream implementations.
This is a work in progress still. The API is still changing, and will remain
at version 0 until it is finalized (a theoretical future version 1 will be
for when the final public interface changes, not when we evolve the initial
API design).
Ryan C. Gordon <icculus@icculus.org> [Wed, 28 Nov 2012 01:30:29 -0500] rev 1321
Make __PHYSFS_utf8stricmp() work like you'd expect.
Ryan C. Gordon <icculus@icculus.org> [Tue, 27 Nov 2012 00:12:39 -0500] rev 1320
Cleaned up some simple comments.
Ryan C. Gordon <icculus@icculus.org> [Mon, 26 Nov 2012 14:11:19 -0500] rev 1319
Perhaps the note about Quake 3 is getting a little dated.
Ryan C. Gordon <icculus@icculus.org> [Sun, 25 Nov 2012 21:52:36 -0500] rev 1318
Only check for pthread library if pthread.h was found.
Ryan C. Gordon <icculus@icculus.org> [Sun, 25 Nov 2012 21:51:43 -0500] rev 1317
From stable-2.0: explicitly check for pthread library, and link against it.
Ryan C. Gordon <icculus@icculus.org> [Sat, 24 Nov 2012 17:27:19 -0500] rev 1316
Updated TODO
Aleksi Nurmi <aleksi.nurmi@gmail.com> [Mon, 12 Nov 2012 23:40:29 +0200] rev 1315
SLB archiver
Ryan C. Gordon <icculus@icculus.org> [Fri, 02 Nov 2012 00:50:30 -0400] rev 1314
Disable CD-ROM support on Android for stable-2.0 branch.
Ryan C. Gordon <icculus@icculus.org> [Fri, 02 Nov 2012 00:47:50 -0400] rev 1313
Turn off CD-ROM support on Android.
Ryan C. Gordon <icculus@icculus.org> [Tue, 23 Oct 2012 15:08:57 -0400] rev 1312
Updated TODO.txt.
Ryan C. Gordon <icculus@icculus.org> [Tue, 23 Oct 2012 15:02:30 -0400] rev 1311
Remove SWIG stuff from build.
This is never going to work well everywhere. I'll leave the SWIG stuff
elsewhere, though, for those that want to build their own bindings.
Ryan C. Gordon <icculus@icculus.org> [Tue, 23 Oct 2012 14:59:29 -0400] rev 1310
Use .tar.bz2 on this branch, too.
Ryan C. Gordon <icculus@icculus.org> [Tue, 23 Oct 2012 14:58:54 -0400] rev 1309
Lowercased most of the CMake project file.
Ryan C. Gordon <icculus@icculus.org> [Tue, 23 Oct 2012 14:37:52 -0400] rev 1308
Explicitly check for pthread library, and link against it.
Ryan C. Gordon <icculus@icculus.org> [Mon, 22 Oct 2012 23:41:04 -0400] rev 1307
Tagging 2.0.3 release
Ryan C. Gordon <icculus@icculus.org> [Mon, 22 Oct 2012 23:40:52 -0400] rev 1306
Use .tar.bz2 for "make dist" instead of .tar.gz
Mercurial's tgz archiver is writing the full output path into the archive,
causing things like 7-zip to uncompress it to
"Users/icculus/projects/physfs-2.0.2.tar" instead of just "physfs-2.0.2.tar".
It seems reasonable to believe everyone has .tar.bz2 support by now anyhow.
Ryan C. Gordon <icculus@icculus.org> [Mon, 22 Oct 2012 23:32:52 -0400] rev 1305
Added Lauri Kasanen to the CREDITS for a last-minute 2.0.3 patch.
Lauri Kasanen <curaga@operamail.com> [Mon, 22 Oct 2012 23:32:05 -0400] rev 1304
Constify the archivers pointers.
These were writable for no reason, taking up .data space.
Ryan C. Gordon <icculus@icculus.org> [Mon, 22 Oct 2012 23:24:16 -0400] rev 1303
Bumped version to 2.0.3.
Ryan C. Gordon <icculus@icculus.org> [Mon, 22 Oct 2012 23:24:01 -0400] rev 1302
Bumped copyright year.
Sam Lantinga <slouken@libsdl.org> [Tue, 04 Sep 2012 23:25:37 -0700] rev 1301
Fixed warning on iOS
Ryan C. Gordon <icculus@icculus.org> [Sat, 08 Sep 2012 22:18:52 -0400] rev 1300
Fixed infinite loop (thanks, Sam!)
Ryan C. Gordon <icculus@icculus.org> [Wed, 22 Aug 2012 16:37:09 -0400] rev 1299
Stupid fix for zip_find_entry().
Ryan C. Gordon <icculus@icculus.org> [Mon, 20 Aug 2012 14:39:46 -0400] rev 1298
Don't look for libhistory.
Apparently libreadline provides this now (maybe it always did?), and it fixes
things on OpenBSD.
(transplanted from d842cd8c9f9156f24d3776cb9b97f0ae051c88c0)
Ryan C. Gordon <icculus@icculus.org> [Mon, 20 Aug 2012 14:39:46 -0400] rev 1297
Don't look for libhistory.
Apparently libreadline provides this now (maybe it always did?), and it fixes
things on OpenBSD.
Ryan C. Gordon <icculus@icculus.org> [Thu, 02 Aug 2012 03:04:43 -0400] rev 1296
Check for alternate __unix__ predef.
Ryan C. Gordon <icculus@icculus.org> [Thu, 02 Aug 2012 03:03:06 -0400] rev 1295
An attempt to make this more Unix-friendly.
Ryan C. Gordon <icculus@icculus.org> [Thu, 02 Aug 2012 02:57:55 -0400] rev 1294
Backport from default branch: clean up the thread ID mess in platform_unix.
Backported from hg changeset f254870dd7dd.
Ryan C. Gordon <icculus@icculus.org> [Mon, 25 Jun 2012 15:50:20 -0400] rev 1293
Turns out the CoreFoundation API is way simpler.
Fixed assertion, too.
Ryan C. Gordon <icculus@icculus.org> [Mon, 25 Jun 2012 15:25:55 -0400] rev 1292
Patched to compile on Mac OS X.
Ryan C. Gordon <icculus@icculus.org> [Mon, 25 Jun 2012 14:40:03 -0400] rev 1291
For iOS, build the Mac OS X platform code, not the generic Unix code.
Also removed some Carbon calls; use CoreFoundation instead. These functions
exist in all versions of Mac OS X and iOS, and replace the Mac OS Classic
APIs we were previously depending upon.
Ryan C. Gordon <icculus@icculus.org> [Wed, 20 Jun 2012 20:16:11 -0400] rev 1290
Fixed logic bug (thanks, Sam!).
Ryan C. Gordon <icculus@icculus.org> [Thu, 07 Jun 2012 10:42:19 -0400] rev 1289
Fixed non-Zip64 .zip files.
Ryan C. Gordon <icculus@icculus.org> [Thu, 07 Jun 2012 10:21:43 -0400] rev 1288
Don't sort if there's nothing to do (prevents array underflow, too).
(transplanted from 662a7e180c480ff7731493b688aee27e8e010887)
Ryan C. Gordon <icculus@icculus.org> [Thu, 07 Jun 2012 10:21:43 -0400] rev 1287
Don't sort if there's nothing to do (prevents array underflow, too).
(transplanted from 662a7e180c480ff7731493b688aee27e8e010887)
Ryan C. Gordon <icculus@icculus.org> [Thu, 07 Jun 2012 10:21:43 -0400] rev 1286
Don't sort if there's nothing to do (prevents array underflow, too).
Ryan C. Gordon <icculus@icculus.org> [Fri, 01 Jun 2012 06:07:12 -0400] rev 1285
Fixed var that should be 64 bits instead of 32 now.
Ryan C. Gordon <icculus@icculus.org> [Fri, 01 Jun 2012 05:59:12 -0400] rev 1284
Removed a '//' comment.
Ryan C. Gordon <icculus@icculus.org> [Fri, 01 Jun 2012 05:44:50 -0400] rev 1283
Added Zip64 support to the .zip archiver.
Now we can handle .zip files > 4 gigabytes, etc.
Ryan C. Gordon <icculus@icculus.org> [Sat, 07 Apr 2012 21:33:18 -0400] rev 1282
Added getmointpoint command to test_physfs.
Ryan C. Gordon <icculus@icculus.org> [Sun, 25 Mar 2012 17:17:56 -0400] rev 1281
Moved PHYSFS_ArchiveInfo into PHYSFS_Archiver.
Ryan C. Gordon <icculus@icculus.org> [Sun, 25 Mar 2012 17:18:24 -0400] rev 1280
Add binary compatibility to PHYSFS_Io.
Ryan C. Gordon <icculus@icculus.org> [Sun, 25 Mar 2012 16:15:10 -0400] rev 1279
Moved some functions around.
We want the #undef malloc, etc, lines as close to the end of the file as
possible, and __PHYSFS_readAll() not in the middle of the allocator code.
Ryan C. Gordon <icculus@icculus.org> [Sun, 25 Mar 2012 16:13:23 -0400] rev 1278
Better cleanup if PHYSFS_init() fails halfway through.
Ryan C. Gordon <icculus@icculus.org> [Sun, 25 Mar 2012 15:59:29 -0400] rev 1277
Made archiver list dynamic, in preparation for external archivers.
Ryan C. Gordon <icculus@icculus.org> [Sun, 25 Mar 2012 14:52:24 -0400] rev 1276
Removed "dvoid" typedef.
Ryan C. Gordon <icculus@icculus.org> [Sat, 24 Mar 2012 15:06:28 -0400] rev 1275
Fixed Doxygen typo.
Ryan C. Gordon <icculus@icculus.org> [Sat, 24 Mar 2012 15:02:18 -0400] rev 1274
Updated docs on PHYSFS_setSaneConfig().
Ryan C. Gordon <icculus@icculus.org> [Sat, 24 Mar 2012 14:57:30 -0400] rev 1273
Changed enum typedef to make this Doxygen-friendly.
Ryan C. Gordon <icculus@icculus.org> [Sat, 24 Mar 2012 14:55:32 -0400] rev 1272
Fixed comment.
Ryan C. Gordon <icculus@icculus.org> [Sat, 24 Mar 2012 14:55:26 -0400] rev 1271
Make Doxygen ignore PHYSFS_DEPRECATED.
Ryan C. Gordon <icculus@icculus.org> [Sat, 24 Mar 2012 10:36:11 -0400] rev 1270
Renamed PHYSFS_Archiver::dirClose() to PHYSFS_Archiver::closeArchive().
Ryan C. Gordon <icculus@icculus.org> [Sat, 24 Mar 2012 00:49:34 -0400] rev 1269
More FIXME cleanup.
Ryan C. Gordon <icculus@icculus.org> [Sat, 24 Mar 2012 00:32:22 -0400] rev 1268
Another FIXME.
Ryan C. Gordon <icculus@icculus.org> [Sat, 24 Mar 2012 00:29:47 -0400] rev 1267
FIXME cleanup.
Ryan C. Gordon <icculus@icculus.org> [Sat, 24 Mar 2012 00:26:04 -0400] rev 1266
More FIXME cleanup.
Ryan C. Gordon <icculus@icculus.org> [Fri, 23 Mar 2012 04:54:20 -0400] rev 1265
Favor /proc/self/exe over argv[0] on Linux, to match other platforms.
We don't favor searching the $PATH, though, since that relies on argv[0] too.
Ryan C. Gordon <icculus@icculus.org> [Fri, 23 Mar 2012 04:14:01 -0400] rev 1264
Make sure base dir always has a dirsep at the end of it.
Now the higher level doesn't have to check for this and realloc the string.
Ryan C. Gordon <icculus@icculus.org> [Fri, 23 Mar 2012 03:30:16 -0400] rev 1263
test_physfs's "stat" command now respects unknown file times (-1).
Ryan C. Gordon <icculus@icculus.org> [Fri, 23 Mar 2012 03:29:48 -0400] rev 1262
Updated TODO.txt
Ryan C. Gordon <icculus@icculus.org> [Fri, 23 Mar 2012 02:45:38 -0400] rev 1261
Moved QPAK support into archiver_unpacked.c
More dupe code removal, and more functional generic backend code!
Ryan C. Gordon <icculus@icculus.org> [Fri, 23 Mar 2012 02:43:22 -0400] rev 1260
Minor tweak.
Ryan C. Gordon <icculus@icculus.org> [Fri, 23 Mar 2012 00:55:56 -0400] rev 1259
Removed archive description macros, moved those strings inline.
Ryan C. Gordon <icculus@icculus.org> [Fri, 23 Mar 2012 00:52:32 -0400] rev 1258
Changed so that this builds a reasonable default with no command line #defines.
That is, it now builds .zip and native dir support, and that's it.
Ryan C. Gordon <icculus@icculus.org> [Thu, 22 Mar 2012 03:15:50 -0400] rev 1257
Removed a bogus FIXME.
Ryan C. Gordon <icculus@icculus.org> [Thu, 22 Mar 2012 03:11:54 -0400] rev 1256
Allow Windows to read/write more than 4 gigs to a file in one shot.
Removes a FIXME, but the fix probably won't ever get used. :)
Ryan C. Gordon <icculus@icculus.org> [Thu, 22 Mar 2012 03:02:50 -0400] rev 1255
Renamed __PHYSFS_utf8strcasecmp() to __PHYSFS_utf8stricmp().
This matches style of other function names we use.
Ryan C. Gordon <icculus@icculus.org> [Thu, 22 Mar 2012 03:00:16 -0400] rev 1254
Fixed a typo in the docs.
Ryan C. Gordon <icculus@icculus.org> [Thu, 22 Mar 2012 02:58:45 -0400] rev 1253
Removed a FIXME: actually, the code DOES set an error, as far as I can tell.
Ryan C. Gordon <icculus@icculus.org> [Thu, 22 Mar 2012 02:38:10 -0400] rev 1252
Removed a FIXME.
I assume that Win95 didn't allow large files, so this concern probably wasn't
ever valid in any case. Still, Win95 support has been dropped, so it doesn't
matter.
Ryan C. Gordon <icculus@icculus.org> [Thu, 22 Mar 2012 02:57:29 -0400] rev 1251
Removed a FIXME.
Ryan C. Gordon <icculus@icculus.org> [Thu, 22 Mar 2012 00:41:39 -0400] rev 1250
Windows: Use cross-thread Critical Sections instead of cross-process Mutexes.
Ryan C. Gordon <icculus@icculus.org> [Thu, 22 Mar 2012 00:27:46 -0400] rev 1249
Removed fallback for systems that have no userdir.
This would try to build something under the basedir for Windows 95, OS/2, etc,
but those targets are gone now. Modern systems provide this. If a given
system can't in the future, they can pull this code out of revision control
and use it in their implementation of __PHYSFS_platformCalcUserDir().
This change let me remove __PHYSFS_platformGetUserName(), too.
Ryan C. Gordon <icculus@icculus.org> [Thu, 22 Mar 2012 00:21:28 -0400] rev 1248
Cleaned up some FIXMEs.
Ryan C. Gordon <icculus@icculus.org> [Thu, 22 Mar 2012 00:05:10 -0400] rev 1247
Removed a FIXME: use correct error code for writing to read-only archives.
Ryan C. Gordon <icculus@icculus.org> [Wed, 21 Mar 2012 23:59:43 -0400] rev 1246
Make sure the prefdir has a final dirsep on it.
This matches the behaviour of PHYSFS_getBaseDir() and PHYSFS_getUserDir().
Ryan C. Gordon <icculus@icculus.org> [Wed, 21 Mar 2012 23:52:44 -0400] rev 1245
Fixed some brainfarts in the Windows version of PHYSFS_getPrefDir().
Ryan C. Gordon <icculus@icculus.org> [Wed, 21 Mar 2012 23:51:11 -0400] rev 1244
Patched to compile on Windows.
Ryan C. Gordon <icculus@icculus.org> [Wed, 21 Mar 2012 23:31:21 -0400] rev 1243
PHYSFS_setSaneConfig() now uses PHYSFS_getPrefDir().
Ryan C. Gordon <icculus@icculus.org> [Wed, 21 Mar 2012 23:30:50 -0400] rev 1242
Added PHYSFS_getPrefDir().
Ryan C. Gordon <icculus@icculus.org> [Tue, 20 Mar 2012 15:44:10 -0400] rev 1241
Removed a FIXME.
Ryan C. Gordon <icculus@icculus.org> [Tue, 20 Mar 2012 15:38:12 -0400] rev 1240
Reworked the error reporting API. Now we use error codes instead of strings.
This is based on work originally done by Christoph Nelles.
Ryan C. Gordon <icculus@icculus.org> [Tue, 20 Mar 2012 15:28:19 -0400] rev 1239
Fixed mutex misuse.
Ryan C. Gordon <icculus@icculus.org> [Tue, 20 Mar 2012 15:24:50 -0400] rev 1238
Check for mutex bugs.
Ryan C. Gordon <icculus@icculus.org> [Mon, 19 Mar 2012 21:01:51 -0400] rev 1237
Use UTF-16 on Windows, not UCS-2.
Ryan C. Gordon <icculus@icculus.org> [Mon, 19 Mar 2012 20:42:41 -0400] rev 1236
Try to make a sane default for CD detection path by platform.
This is so this can work even when dropping PhysicsFS into another project
without CMake doing header tests and filling in the defines.
Ryan C. Gordon <icculus@icculus.org> [Mon, 19 Mar 2012 20:41:14 -0400] rev 1235
Make physfs_platforms.h define with a 1, so "#if X" works.
Added a few other pertinent platforms.
Ryan C. Gordon <icculus@icculus.org> [Mon, 19 Mar 2012 20:40:22 -0400] rev 1234
Use our platform test macro for Solaris.
Ryan C. Gordon <icculus@icculus.org> [Mon, 19 Mar 2012 20:31:50 -0400] rev 1233
Added Linux and Solaris tests.
Ryan C. Gordon <icculus@icculus.org> [Mon, 19 Mar 2012 20:27:28 -0400] rev 1232
Let's gamble that everything has assert.h.
(and we'll mask out specific platforms if we find one that doesn't.)
Ryan C. Gordon <icculus@icculus.org> [Mon, 19 Mar 2012 02:58:41 -0400] rev 1231
Minor code style cleanup in platform_beos.cpp ...
Ryan C. Gordon <icculus@icculus.org> [Mon, 19 Mar 2012 02:46:38 -0400] rev 1230
Removed some unused code.
Ryan C. Gordon <icculus@icculus.org> [Mon, 19 Mar 2012 02:04:27 -0400] rev 1229
Use physfs_platforms.h in physfs_internal.h, to avoid repeated macro tests.
Ryan C. Gordon <icculus@icculus.org> [Sun, 18 Mar 2012 12:31:29 -0400] rev 1228
Removed llseek().
Use Linux's off64_t support instead.
Ryan C. Gordon <icculus@icculus.org> [Sun, 18 Mar 2012 12:23:30 -0400] rev 1227
Fixed a comment. Cut and paste error, I guess?
Ryan C. Gordon <icculus@icculus.org> [Thu, 15 Mar 2012 01:58:39 -0400] rev 1226
Removed __PHYSFS_platformCvtToDependent().
It's only used by archive_dir.c, and it's trivial to make it into
platform-independent code for that one module.
Bonus: less malloc() pressure...now every access to the native filesystem
doesn't require a temporary heap allocation.
Ryan C. Gordon <icculus@icculus.org> [Thu, 15 Mar 2012 01:54:57 -0400] rev 1225
Make __PHYSFS_platformDirSeparator into a single char.
This multichar thing was always stupid. Pull it out of revision control if
you ever need it.
Ryan C. Gordon <icculus@icculus.org> [Thu, 15 Mar 2012 00:40:00 -0400] rev 1224
Removed __PHYSFS_convertToDependent(), as dead code.
Ryan C. Gordon <icculus@icculus.org> [Wed, 14 Mar 2012 21:24:32 -0400] rev 1223
Reworked BeOS CD detection code.
Cleaned up, removed a malloc(), removed unnecessary BAIL macros.
Ryan C. Gordon <icculus@icculus.org> [Wed, 14 Mar 2012 05:47:42 -0400] rev 1222
Added Evgeny Podjachev to the credits.
Ryan C. Gordon <icculus@icculus.org> [Wed, 14 Mar 2012 05:47:15 -0400] rev 1221
Fixed PHYSFS_read() and PHYSFS_write() in the dev branch.
PHYSFS_read() and PHYSFS_write() should return number of objects written,
not object size.
Thanks to Evgeny Podjachev for the fix!
Ryan C. Gordon <icculus@icculus.org> [Tue, 13 Mar 2012 08:21:02 -0400] rev 1220
Removed check that .zip files are less than 4 gigabytes.
This would become a bogus check with zip64 support anyhow, but even here, if
you have a .zip that's close to 4 gigabytes, and a self-extracting program
prepended to it that pushes it over that limit, this test fails
incorrectly.
Ryan C. Gordon <icculus@icculus.org> [Tue, 13 Mar 2012 07:49:59 -0400] rev 1219
Fixed dereference of free()'d memory.
Thanks to Evgeny Podjachev for the fix!
Ryan C. Gordon <icculus@icculus.org> [Tue, 13 Mar 2012 04:25:05 -0400] rev 1218
Apparently, __PHYSFS_platformCurrentDir() is dead code.
Ryan C. Gordon <icculus@icculus.org> [Mon, 12 Mar 2012 04:05:31 -0400] rev 1217
Move Windows CD-ROM detection to another thread that uses device notifications.
Fixes blocking when a disc is spinning up, except on initial call.
Ryan C. Gordon <icculus@icculus.org> [Mon, 12 Mar 2012 03:48:34 -0400] rev 1216
PhysicsFS works on Win64 now.
Ryan C. Gordon <icculus@icculus.org> [Mon, 12 Mar 2012 01:33:16 -0400] rev 1215
Fixed stack smashing in newly-aligned __PHYSFS_smallAlloc().
Ryan C. Gordon <icculus@icculus.org> [Sun, 11 Mar 2012 05:05:02 -0400] rev 1214
More doc tweaks.