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
Ryan C. Gordon
425131ccda
Simplified doBufferedRead().
...
No longer recurses, and deals with EOF correctly.
2017-09-25 16:19:59 -04:00
Ryan C. Gordon
2b78f64c11
Fixed PHYSFS_flush().
2017-09-25 16:19:30 -04:00
Ryan C. Gordon
395b2b02dd
OS/2: Patched to compile.
2017-09-15 19:52:24 -04:00
Ryan C. Gordon
69d3df3286
OS/2: Deal with UTF-8 -> codepage conversion on older OS/2 installs.
...
(untested attempt.)
2017-09-15 19:49:40 -04:00
Ryan C. Gordon
7a26b83733
OS/2: don't report failures on Unicode conversion on older OS/2 installs.
2017-09-14 23:36:51 -04:00
Francesco Bertolaccini
e728c65912
vdf: Don't add directories; UNPK_addEntry()/DirTree will fill in parents.
2017-09-03 13:13:51 -04:00
Marty Plummer
db700fd327
Allow physfs.pc generation on mingw-w64 and osx homebrew/etc,
...
Rename physfs-static to physfs on mingw-w64
2017-07-16 23:03:07 -05:00
Ryan C. Gordon
21b2fd39f2
Made PHYSFS_caseFold() a public API.
2017-08-20 02:02:08 -04:00
Ryan C. Gordon
bc2ddf0a53
Added some warnings to the docs about converting bad Unicode strings.
2017-08-20 02:01:50 -04:00
Ryan C. Gordon
9f8ecb91cb
unicode: Added UTF-16 and UCS-4 stricmp functions.
2017-08-20 01:18:41 -04:00
Ryan C. Gordon
eb75883226
OS/2: Fixed NULL pointer dereference.
2017-08-20 01:18:05 -04:00
Ryan C. Gordon
689333dc8f
Clarified some documentation.
2017-08-20 00:35:25 -04:00
Ryan C. Gordon
6ad71878fe
Updated PHYSFS_Archiver with PHYSFS_EnumerateCallbackResult change.
2017-08-19 11:19:28 -04:00
Ryan C. Gordon
4e0d3d55e9
Make PHYSFS_EnumerateCallback return an enum instead of an int.
2017-08-19 10:40:27 -04:00
Ryan C. Gordon
5fb9119ebc
windows: Disable _CRT_SECURE_NO_WARNINGS again.
2017-08-16 21:19:16 -04:00
Ryan C. Gordon
7607eeeb00
Cleaned up some header inclusion politics.
2017-08-16 20:03:24 -04:00
Ryan C. Gordon
e19422cc06
qnx: Added more proper support for QNX.
2017-08-16 20:02:54 -04:00
Ryan C. Gordon
cd0ccf64ed
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!
2017-08-15 02:08:24 -04:00
Ryan C. Gordon
98278f787b
physfshttpd: serve up directory listings, a few other cleanups.
2017-08-14 22:47:02 -04:00
Ryan C. Gordon
2270b3c3c2
physfshttpd: removed deprecated PHYSFS_getLastError() calls.
2017-08-14 21:59:56 -04:00
Ryan C. Gordon
b311ee44ad
Fixed one more Visual Studio compiler warning.
2017-08-14 21:22:30 -04:00
Ryan C. Gordon
735fd14ea4
Whoops, patched to compile.
2017-08-14 21:17:22 -04:00
Ryan C. Gordon
8dfd3cff8d
Fixed some compiler warnings on Visual Studio.
...
(and maybe made a few new ones...)
2017-08-14 21:15:58 -04:00
Ryan C. Gordon
692d5e8219
Fixed some warnings that Xcode brought up.
2017-08-14 19:58:56 -04:00
Ryan C. Gordon
a65a7ed7a5
Updated TODO.txt
2017-08-14 17:10:01 -04:00