Ryan C. Gordon
101ec3c831
buildbot-checker.sh: Just require scan-build to be in the $PATH.
2020-05-16 23:29:44 -04:00
Ryan C. Gordon
e3231d1cb0
Modern buildbot vocabulary is "worker," not "slave."
2020-05-16 23:29:03 -04:00
Ryan C. Gordon
9d61fadd3e
Have static analysis script use Ninja.
2020-05-12 15:49:53 -04:00
Ryan C. Gordon
235e31c420
Fixed mishandling of an allocation failure in PHYSFS_openRead().
...
(Static analysis caught this one! Thanks clang!)
2020-05-12 15:19:01 -04:00
Ryan C. Gordon
291cad07b7
Testing a fix for emscripten buildbot script.
2020-05-12 13:49:46 -04:00
Ryan C. Gordon
0d1df744ba
Minor style fix in docs/INSTALL.txt
2020-05-12 01:04:09 -04:00
Ryan C. Gordon
08dc47a72b
Update copyright for 2020.
2020-05-12 00:52:56 -04:00
Ryan C. Gordon
1daf787fb2
extras: Cleaning up some scripts to work with the newly-recreated buildbot.
2020-05-12 00:32:00 -04:00
Ryan C. Gordon
56aaae4949
Corrected example code for PHYSFS_enumerate in physfs.h
2019-08-24 21:06:54 -04:00
Ryan C. Gordon
19ea59109d
Fixed comment typo.
2019-06-07 23:46:55 -04:00
Ryan C. Gordon
a8180f0e4c
hog: Added support for HOG2 (Descent 3) archives.
2019-06-07 22:27:48 -04:00
Ryan C. Gordon
9cb45dc6cb
cmake: Minimum CMake version is now 2.8.12.
...
(transplanted from de1ea3b2cfc45ce921b5571a637b3b747173184f)
2019-05-20 23:38:12 -04:00
Kevin d'Orange
8791811909
CMake: made install step export the targets
2019-04-19 12:33:08 +02:00
Ryan C. Gordon
f94ce0613d
Fixed compiler warning.
2019-03-18 14:28:46 -04:00
Ryan C. Gordon
6b0839051f
windows: Workaround for WinXP systems.
...
(transplanted from c8f3bbd689d6b71b84c11db74275ea3d56fef961)
2019-03-18 13:36:16 -04:00
Ryan C. Gordon
5cbb460bcd
Only flush file handles on close if they were opened for writing.
2019-03-18 11:27:26 -04:00
Ryan C. Gordon
e549fe0e0f
Added some whitespace to test a fix to revision control.
2019-02-10 16:00:39 -05:00
Ryan C. Gordon
736d0b371a
Updated copyright year for 2019.
2019-02-10 15:56:21 -05:00
Ryan C. Gordon
28ac5794b1
cmake: Special build target names ("dist" "docs" "uninstall") can be renamed.
2019-02-10 15:45:01 -05:00
Ryan C. Gordon
500033f37d
Allow builds to opt-out or opt-in to specific archivers, whichever's easier.
2019-01-26 03:00:29 -05:00
Ryan C. Gordon
b57d8960e8
Fixed some compiler warnings.
2018-11-28 00:23:08 -05:00
Ryan C. Gordon
5786a58628
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).
2018-11-27 23:53:33 -05:00
Ryan C. Gordon
73d66441e3
Added PHYSFS_setRoot().
2018-10-17 23:44:02 -04:00
Ryan C. Gordon
7d194a8a62
windows: Workaround GetUserProfileDirectory's API change in Win10 build 1809.
...
(transplanted from ece6769c0676c2d4e8a5893a1acebd0f65456817)
2018-10-03 22:40:57 -04:00
Ryan C. Gordon
8ce294a458
PHYSFS_setWriteDir() shouldn't create an empty file if the dir doesn't exist.
2018-05-16 19:54:51 -04:00
Ryan C. Gordon
15dd00659a
Fix up physfs.h for compilers that are sensitive about preprocessor defines.
...
(transplanted from db8f944df5c56f0244229813203fb5b24e8d9968)
2018-04-19 10:06:38 -04:00
Ryan C. Gordon
7394c07d6b
apple: Patched to compile with older (mac 10.7) SDKs (thanks, Ken and Ryan!).
2018-03-24 00:19:59 -04:00
Ryan C. Gordon
0bad12d401
ignorecase: Don't crash if enumeration returned a NULL pointer.
...
(transplanted from f83d05e87212a5c7e377f3b205e6d70fc42772d4)
2018-03-09 14:50:37 -05:00
Ryan C. Gordon
89d4809f28
Updated copyright date.
2018-03-08 12:21:45 -05:00
Ryan C. Gordon
ea90a92016
7zip: don't forget to destroy the PHYSFS_Io when closing the archive!
2018-03-08 11:47:42 -05:00
Ryan C. Gordon
3597a7b69a
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.
2018-03-08 11:51:46 -05:00
Ryan C. Gordon
c86895264b
Remove deprecated PHYSFS_getLastError() from all the extras (thanks, Rob!).
2018-02-20 10:26:33 -05:00
Ryan C. Gordon
47b0e834dc
Patched physfsrwops to compile against SDL 1.2 (thanks, Rob!).
...
(transplanted from 540be489d50f9fe29f1f517202b6a9d199f36a2a)
2017-11-11 08:53:23 -05:00
Ryan C. Gordon
90dfc49f6d
Added tag release-3.0.1 for changeset fa8e38bcc354
2017-10-26 14:38:35 -04:00
Ryan C. Gordon
a45afc5d50
Catch access to paths that are just "." or ".." without any path separator.
2017-10-26 14:37:16 -04:00
Ryan C. Gordon
62d24e228f
Fixed mounting a symlink to a real directory.
2017-10-26 14:21:36 -04:00
Ryan C. Gordon
26db9376da
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/
2017-10-23 14:58:54 -04:00
Ryan C. Gordon
1c7945461d
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.
2017-10-23 12:40:59 -04:00
Ryan C. Gordon
f5e5b586c7
Fixed crash when duplicating PHYSFS_Io for zipfiles.
2017-10-23 12:16:51 -04:00
Ryan C. Gordon
fbb8ce7e2d
Added some notes on API documentation.
2017-09-27 16:13:00 -04:00
Ryan C. Gordon
347bb7b6c8
Tagging 3.0.0 release
2017-09-27 15:58:44 -04:00
Ryan C. Gordon
9e756312d5
Bumped version to 3.0.0!
2017-09-27 11:54:25 -04:00
Ryan C. Gordon
975b7a577b
Added R?mi Verschelde to the credits.
2017-09-27 15:57:29 -04:00
R?mi Verschelde
3167a48675
CMake: Honor LIB_SUFFIX for pkgconfig install path
2017-09-27 21:04:15 +02:00
Ryan C. Gordon
bb2c38cdea
Added SLB to list of supported archives.
2017-09-27 12:33:36 -04:00
Ryan C. Gordon
9b42fe23fd
Fixed doxygen comment.
2017-09-27 12:07:55 -04:00
Ryan C. Gordon
300beeda72
Tagging 2.1.1 release
2017-09-27 11:45:34 -04:00
Ryan C. Gordon
1722e9ba92
Added Tobias Markus to CREDITS.txt.
2017-09-25 17:08:08 -04:00
Ryan C. Gordon
4ca60a090b
cmake: mark readline include directories as SYSTEM (thanks, Tobias!).
2017-09-25 17:07:08 -04:00
Ryan C. Gordon
3d8817346d
Fixed seeking within read buffers.
2017-09-25 16:32:52 -04:00