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
Ryan C. Gordon
0e3233a205
Don't put comments in BAIL_* macros where we want an empty argument...
...
apparently it aggravates some compilers. Thanks to Chris Taylor for this one.
2007-03-29 05:39:16 +00:00
Ryan C. Gordon
1e6550292d
Logic bug in MVL/HOG/GRP archivers: these archives never contain subdirs...but they
...
only enumerated their files when looking in a directory other than the root,
instead of enumerating only for the root. Thanks to Chris Taylor for the
catch.
2007-03-28 17:29:52 +00:00
Ryan C. Gordon
ded10c9238
Bumped version numbers.
2007-03-26 07:53:43 +00:00
Ryan C. Gordon
49c576280d
Man, I knew I would need getOSInfo() as soon as I deleted it!
...
Apparently Win9x has the Unicode entry points, they just don't work, so
only do a real lookup on NT-based platforms, and just force the
fallbacks on 95/98/ME systems.
2007-03-26 07:51:57 +00:00
Ryan C. Gordon
c771a650ce
Ignore Visual C++ 6.0 build files.
2007-03-26 06:46:03 +00:00
Ryan C. Gordon
aad1408594
Whoops, forgot to uncomment this from my testing...
2007-03-26 06:38:36 +00:00
Ryan C. Gordon
d8845b0be5
Tons of Unicode work in windows.c ... should now use UCS-2 on NT/XP/Vista/etc
...
versions of the OS, and fallback to "ANSI" versions for 95/98/ME,
tapdancing around the system codepage if it has to. Other minor Windows
cleanups and corrections.
2007-03-26 06:36:39 +00:00
Ryan C. Gordon
da2d3ede59
Reworked getExePath() to remove some FIXMEs and respect Unicode.
2007-03-25 06:26:53 +00:00
Ryan C. Gordon
dc0d27228c
Improved dynamic loader and initial Unicode work in windows.c ...
2007-03-25 05:17:08 +00:00
Ryan C. Gordon
71e6a8dc3f
Patched to compile on MSVC.
2007-03-25 04:59:11 +00:00
Ryan C. Gordon
75a4f4ffe1
Pushed a bunch of FIXMEs into the Windows platform layer.
2007-03-25 00:38:14 +00:00
Ryan C. Gordon
4fe2134a3c
Updated.
2007-03-24 05:42:29 +00:00
Ryan C. Gordon
63f9a21c44
Replaced BeOS mutex implementation. Now all platforms have recursive mutexes.
2007-03-24 05:42:22 +00:00
Ryan C. Gordon
4396d7b3ba
Added some FIXME comments.
2007-03-24 05:13:54 +00:00
Ryan C. Gordon
7386320811
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
...
which will stack allocate small (128 or less bytes) blocks and Malloc the
rest...naturally these now have to be paired with __PHYSFS_smallFree() calls,
so you can't be as lazy as a basic alloca() would let you be. The benefit is
both less malloc pressure for those temporary allocations and better stack
overflow safety (so if some jerk tries to push a 78 megabyte string through
the library as a filename, we won't try to strcpy it to the stack).
2007-03-24 03:54:58 +00:00
Ryan C. Gordon
80ec45d88a
Apparently this is how you do 64-bit literals in MSVC...untested.
2007-03-21 20:19:20 +00:00
Ryan C. Gordon
b2f9b61715
Replaced LONGLONGLITERAL with __PHYSFS_UI64/__PHYSFS_SI64.
2007-03-21 20:14:46 +00:00