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
Ryan C. Gordon
0d1a73fce4
zip: add some zip_resolve() calls, deal with DirTree-inserted parent dirs.
2017-08-14 16:24:19 -04:00
Ryan C. Gordon
395ea71990
This appears to have been fixed at some point.
2017-08-14 14:06:43 -04:00
Ryan C. Gordon
660171f79f
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.
2017-08-14 14:05:06 -04:00
Ryan C. Gordon
f425f051db
Little tweaks to __PHYSFS_initSmallAlloc().
2017-08-14 13:57:57 -04:00
Ryan C. Gordon
8db27a1236
Fix symlink filtering for enumeration under a virtual mount point.
2017-08-14 11:43:18 -04:00
Ryan C. Gordon
cfe3f0180b
Make PHYSFS_exists() work with mounts from PHYSFS_mountIo(io, NULL, ...)
...
(Actually, from any mount function that accepts a bogus/NULL filename.)
2017-08-14 03:06:42 -04:00
Ryan C. Gordon
3b7ee3974c
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.
2017-08-14 02:46:07 -04:00
Ryan C. Gordon
63277e500c
Turns out we were doing this for a (maybe not good, but reasonable) reason.
2017-08-14 02:42:13 -04:00
Ryan C. Gordon
3078acd1eb
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."
2017-08-14 02:28:00 -04:00
Ryan C. Gordon
2a6215394b
Reduced some FIXME-3.0 tags to normal FIXME. They can wait.
2017-08-14 01:35:10 -04:00
Ryan C. Gordon
88e7f3eb0f
Sanity check archivers that should only have low-ASCII filename.
2017-08-14 01:29:45 -04:00
Ryan C. Gordon
9c9325c2c5
Filled in more documentation.
2017-08-14 01:28:30 -04:00
Ryan C. Gordon
dd68246737
7z: do global initialization once without risking a race condition.
2017-08-13 22:53:38 -04:00
Ryan C. Gordon
1364f6a915
PHYSFS_setSaneConfig uses enum callbacks now.
2017-08-13 19:45:31 -04:00
Ryan C. Gordon
0d61295781
Improved some documentation.
2017-08-13 17:11:14 -04:00
Ryan C. Gordon
cc3ac9539e
Patched to compile on various platforms and compilers.
2017-08-12 03:10:19 -04:00
Ryan C. Gordon
7fcddfb741
Don't mark the PHYSFS_EnumFilesCallback _typedef_ as deprecated.
...
It upsets several compilers when building PhysicsFS itself.
2017-08-12 03:06:06 -04:00
Ryan C. Gordon
6da5bea804
Updated docs to use PHYSFS_getLastErrorCode() instead of PHYSFS_getLastError().
...
(a few other documentation fixes probably slipped in here, too.)
2017-08-12 02:39:24 -04:00
Ryan C. Gordon
f6a8533ba2
FIXME removal: document enumerateFiles() sorting promises.
2017-08-12 02:24:38 -04:00