Fri, 17 Feb 2017 20:48:02 -0500Fix bug with copying z_stream objects around in zip archiver (thanks, Andrei!). stable-1.0
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)

Fri, 17 Feb 2017 20:48:02 -0500Fix bug with copying z_stream objects around in zip archiver (thanks, Andrei!). stable-2.0
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!).

Fri, 17 Feb 2017 20:43:27 -0500Updated copyright date. stable-1.0
Ryan C. Gordon <icculus@icculus.org> [Fri, 17 Feb 2017 20:43:27 -0500] rev 1388
Updated copyright date.

Fri, 17 Feb 2017 20:41:56 -0500Update copyright date. stable-2.0
Ryan C. Gordon <icculus@icculus.org> [Fri, 17 Feb 2017 20:41:56 -0500] rev 1387
Update copyright date.

Fri, 17 Feb 2017 20:39:45 -0500Updated copyright to 2017.
Ryan C. Gordon <icculus@icculus.org> [Fri, 17 Feb 2017 20:39:45 -0500] rev 1386
Updated copyright to 2017.

Thu, 06 Oct 2016 15:39:49 -0400Removed unused variable in extras/ignorecase.c ...
Ryan C. Gordon <icculus@icculus.org> [Thu, 06 Oct 2016 15:39:49 -0400] rev 1385
Removed unused variable in extras/ignorecase.c ...

Mon, 12 Sep 2016 15:39:35 -0400Added a mostly-harmless FIXME.
Ryan C. Gordon <icculus@icculus.org> [Mon, 12 Sep 2016 15:39:35 -0400] rev 1384
Added a mostly-harmless FIXME.

Mon, 12 Sep 2016 15:38:30 -0400Added support for password-protected .zip files.
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!

Wed, 07 Sep 2016 21:21:59 -0400Platform deinit should happen last, since other deinit bits might depend on it.
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.

Fri, 26 Aug 2016 18:46:11 -0400Fixed miniz code that triggers recent GCCs' -Wmisleading-indentation.
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.