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.