Commit Graph

929 Commits

Author SHA1 Message Date
Ryan C. Gordon af11d0a462 Converted translations to UTF-8 (and removed duplicate Russian translations,
since UTF-8 replaces the various other character encodings).
2008-03-11 05:28:13 +00:00
Ryan C. Gordon 73e7465f55 Changed some text files from ISO-8859-1 to UTF-8. 2008-03-11 05:19:56 +00:00
Ryan C. Gordon 1ae24fd938 Fixed compiler warnings in win32 API calls (thanks, Dennis!). 2008-03-09 02:44:50 +00:00
Ryan C. Gordon 3b0e1d7471 Various archiver swap and compare functions now check if they are
swapping/comparing an item against itself, for efficiency and to prevent
 overlapping memcpy() calls.
2008-02-20 12:24:10 +00:00
Ryan C. Gordon 7501090a5b Minor Windows fix (thanks, fydo!). 2008-02-13 05:48:57 +00:00
Ryan C. Gordon ac277daac4 Date: Sat, 2 Feb 2008 14:28:02 +1300
From: eH
To: physfs@icculus.org
Subject: [physfs] lzma.c msvc, etc. patch

I came across a few bugs compiling PhysFS with msvc9 - I've created a patch which seems to fix them:
SzFileReadImp / SzFileSeekImp:
Problem: Can't preform arithmatic on 'void *'
Fix:        Cast 'object' to unsigned long

LZMA_enumerateFiles:
Problem: There is no error handling if the directory 'dname' doesn't exist
Fix:         Check the return value of 'lzma_find_file()' before using it

LZMA_isDirectory:
Problem: return (file->item->IsDirectory) is illegal if 'file' doesn't exist
Fix:         Make sure 'file' isn't null before returning
2008-02-02 02:32:48 +00:00
Ryan C. Gordon f7f6c0efd0 Updated copyright date. 2008-01-23 05:14:15 +00:00
Ryan C. Gordon ee9e106555 Added zlib README and updated license notes. 2008-01-23 05:01:50 +00:00
Ryan C. Gordon 77a2c5009c Updated for lzma changes. 2008-01-23 05:00:07 +00:00
Ryan C. Gordon 66631578f8 Many improvements to lzma.c (thanks, Dennis!). 2008-01-23 04:57:47 +00:00
Ryan C. Gordon 4e457760a2 Upgraded lzma sdk to 4.57. 2008-01-23 03:52:35 +00:00
Ryan C. Gordon a91fc0d024 Upgrading lzma SDK... 2008-01-23 03:13:05 +00:00
Ryan C. Gordon a863c128be Fixed allocation size when converting from UTF-8 to UCS-2. 2008-01-22 04:11:27 +00:00
Ryan C. Gordon a928ba2763 Corrected credit in Changelog. 2008-01-22 03:46:44 +00:00
Ryan C. Gordon 0ea431927e Fixed HTTP header in physfshttpd.c. 2008-01-22 03:44:49 +00:00
Ryan C. Gordon 1aa0511f7b Fixed wrong dir test in Windows code in both 1.0 and 1.1 (thanks, Dennis!). 2007-12-11 18:54:10 +00:00
Ryan C. Gordon 565f973e2e Mingw32 fix for 64-bit literals. 2007-10-01 15:47:40 +00:00
Ryan C. Gordon 2296f69deb Minor windows cleanups. 2007-10-01 15:47:07 +00:00
Ryan C. Gordon a8842c9713 Whoops, it's malloc.h, not alloca.h ... 2007-07-12 10:37:56 +00:00
Ryan C. Gordon 827b643f49 Fixed missing alloc macro on mingw32, I think. 2007-07-12 08:58:09 +00:00
Ryan C. Gordon c5ee3d965c Fixed crash on zero-byte read/write (thanks, Ensiform!). 2007-07-11 22:11:29 +00:00
Ryan C. Gordon c27fd9639f Updated. 2007-05-27 14:34:29 +00:00
Ryan C. Gordon d1d0ea025f FIXME removal: Replaced a strncpy() with a memcpy(). 2007-05-27 14:34:28 +00:00
Ryan C. Gordon 711d9ec926 Minor documentation fix. 2007-05-11 20:12:10 +00:00
Ryan C. Gordon 05e44324c8 Fixed zip archiver: could do bogus seek if a small, non-zip file got put
through isArchive().
2007-05-05 05:52:43 +00:00
Ryan C. Gordon 35dcb89748 Minor const correctness tweak in zip archiver. 2007-04-29 08:16:30 +00:00
Ryan C. Gordon 32bc908a4b Forgot to update the project version in the Doxygen file before release.
Oh well.
2007-04-03 05:51:46 +00:00
Ryan C. Gordon 8db7b0a622 Updated. 2007-04-03 05:24:08 +00:00
Ryan C. Gordon d4d3d52fc5 Fixes to the makedist.sh script. 2007-04-03 05:13:49 +00:00
Ryan C. Gordon ad430a8816 Updated. 2007-04-03 05:01:23 +00:00
Ryan C. Gordon 515f409083 Reverted change r857:858...recursive mutex APIs sort of suck for portability. 2007-04-03 05:01:13 +00:00
Ryan C. Gordon cacd778311 Updated. 2007-04-03 02:17:43 +00:00
Ryan C. Gordon 4343984522 More svn:ignore... 2007-04-03 02:03:56 +00:00
Ryan C. Gordon ded756bbe5 Ignore generated source tarballs. 2007-04-03 01:52:08 +00:00
Ryan C. Gordon 41ede697d0 Added a hack for "make dist" functionality. 2007-04-03 01:48:09 +00:00
Ryan C. Gordon d6647fa86d Updated. 2007-04-03 01:08:50 +00:00
Ryan C. Gordon 7ed45636ae Fixed Doxygen comment (this was probably a Doxygen bug that was since fixed). 2007-04-03 00:57:11 +00:00
Ryan C. Gordon 6ee992c1d9 Improved Doxygen comments. 2007-04-02 23:35:09 +00:00
Ryan C. Gordon bc1c890468 It's now safe to call PHYSFS_* functions from callbacks, since mutexes are now
recursive internally...removed warning in headers.
2007-04-02 21:08:05 +00:00
Ryan C. Gordon 1622f171f4 Updated. 2007-04-02 20:57:53 +00:00
Ryan C. Gordon 40ab6d277f Added initial work on a wxWidgets-based test app. 2007-04-02 20:57:39 +00:00
Ryan C. Gordon 0d45ce01c4 Added PHYSFS_symbolicLinksPermitted(). 2007-04-01 22:06:37 +00:00
Ryan C. Gordon 777eec4254 Added PHYSFS_isInit() function. 2007-04-01 21:24:19 +00:00
Ryan C. Gordon b572b556d2 Patched to compile, and work with pre-Vista versions of the Platform SDK. 2007-04-01 03:04:20 +00:00
Ryan C. Gordon 9af599504d Symlink support for Windows Vista. Untested code. 2007-03-31 23:44:42 +00:00
Ryan C. Gordon 45967499d0 Updated. 2007-03-31 06:59:02 +00:00
Ryan C. Gordon 3bd2db53ae Fixed typo in documentation. 2007-03-31 06:58:55 +00:00
Ryan C. Gordon 4176049c43 Fixed typos in export names. 2007-03-31 06:58:38 +00:00
Ryan C. Gordon 60dfcae88b Try the DIR archiver first, since there's no sense in trying to open a
directory as a file in all the other archivers first.
2007-03-31 06:52:27 +00:00
Ryan C. Gordon a8de53670d Added a simple unpacker example. 2007-03-31 06:34:51 +00:00