Commit Graph

50 Commits

Author SHA1 Message Date
Ryan C. Gordon 15073ad63f Fixed Win10's GetUserProfileDirectory() bug in stable-1.0 branch. 2018-10-03 22:45:05 -04:00
Ryan C. Gordon 8ae1b528a0 Fixed __PHYSFS_platformTell() things in stable-1.0 branch. 2011-08-01 17:55:45 -04:00
Ryan C. Gordon 1921be0ddf Fixed Windows/PocketPC __PHYSFS_platformEOF() for zero-length files.
(transplanted from e55bbdb69dfd9771a5222b6a406a9c418ffbe53b)
2011-08-01 17:37:06 -04:00
Ryan C. Gordon f1ba7f8112 Removed a FIXME. 2008-03-12 21:21:40 +00:00
Ryan C. Gordon 27d1a25b24 Had a "msgbuf" where I should have had a "msgbuf[0]" (thanks, James!). 2008-03-11 05:14:35 +00:00
Ryan C. Gordon c14984f70e Fixed compiler warnings in win32 API calls (thanks, Dennis!). 2008-03-09 02:44:50 +00:00
Ryan C. Gordon 0e720678af Minor Windows fix (thanks, fydo!). 2008-02-13 05:48:57 +00:00
Ryan C. Gordon 9c8f5312de 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 be12a5bdc5 Mingw32 fix for 64-bit literals. 2007-10-01 15:47:40 +00:00
Ryan C. Gordon bc14217e36 Whoops, this should probably be chopping the string instead of turning
the first newline it sees into a space character...
2007-03-26 06:34:55 +00:00
Ryan C. Gordon 7130cea2bf Minor MingW patches backported from dev branch. 2005-09-06 06:31:04 +00:00
Ryan C. Gordon ffb2e6ca45 Fixed search-and-replace fuckup (thanks, Brian!). 2003-12-22 17:12:00 +00:00
Ryan C. Gordon 9ac33cdcbe Fixed Win32 seeking on > 2gig files, other Cygwin issues. 2003-12-08 12:37:58 +00:00
Ryan C. Gordon 09ef260209 Added internal function __PHYSFS_platformStrnicmp(). 2003-11-09 20:59:07 +00:00
Ryan C. Gordon 8dbc9bf877 Fixed crash if PHYSFS_init(NULL) is used... 2003-05-22 04:01:19 +00:00
Ryan C. Gordon 2193cd81b7 Hack to make this compile with Mingw32. 2002-12-11 15:56:53 +00:00
Ryan C. Gordon 9d82110b57 Some cleanups for PocketPC port. 2002-11-22 06:24:10 +00:00
Ryan C. Gordon edfd5082b9 Removed a FIXME. 2002-08-28 07:56:14 +00:00
Ryan C. Gordon 1f5b571be7 Bunch of tedious corrections, optimizations, and cleanups. 2002-08-21 02:59:15 +00:00
Ryan C. Gordon 721d7395b7 Fixed typo. 2002-08-01 20:22:27 +00:00
Ryan C. Gordon 42be0046aa Natural language #defines and build system support. 2002-07-28 21:03:27 +00:00
Ryan C. Gordon 5b55a52af7 Changed enumeration code to use __PHYSFS_addToLinkedStringList(). 2002-07-23 07:46:36 +00:00
Ryan C. Gordon 0db235a52b Changed CD-ROM detection code to be compatible with Windows NT 3.x. 2002-07-14 15:11:39 +00:00
Ryan C. Gordon 959a15e27f FIXME cleanups. 2002-07-11 21:37:30 +00:00
Ryan C. Gordon 99a03b9452 Build system corrections for BeOS and Cygwin. 2002-07-10 21:14:33 +00:00
Ryan C. Gordon 9acdd83369 Clean up dynamically loaded libraries at deinit, have a lastmodtime fallback. 2002-06-29 22:23:30 +00:00
Ryan C. Gordon 6f41886cd9 _LOTS_ of cleanups, rewrites, fixes, and improvements. Builds on Cygwin again,
too.
2002-06-29 22:05:12 +00:00
Ryan C. Gordon 3b0f1c896f Patched to compile on Cygwin. 2002-06-29 10:23:17 +00:00
Ryan C. Gordon d75aa8a84f Lots of cleanups, fixes, and corrections. Should now work on all win32
platforms, and maybe even WinCE.
2002-06-10 06:33:15 +00:00
Ryan C. Gordon 1a665efb6a Enumerate files code: cleaned up memory leak, Doesn't throw away file entry
from FindFirstFile(), and handles paths more robustly.
2002-06-08 06:19:27 +00:00
Gregory S. Read 2b1142343f -Fixed file enumerator function (needed a wildcard '*' specification)
-CD enumeration only reports CDs that have media
-GetLastModified has been implemented.

-1.0 worthy except for a crash bug after enumerating files.
2002-06-07 02:33:45 +00:00
Ryan C. Gordon 5386a5c6a2 Added PHYSFS_getLastModTime() API. (Thanks, John Hall!) 2002-05-25 09:41:14 +00:00
Ryan C. Gordon a2bec46a6b Initial autoconf support. 2002-05-10 09:25:25 +00:00
Gregory S. Read d3dfd7f464 -Fixed a lot of the file functions error handling. Many were handling
success as failure, etc...
-File position is 0 based, EOF was being tested as though position was
 1 based.
-All file i/o and archive i/o functions tested okay with physfs_test app.
2002-05-08 00:02:35 +00:00
Gregory S. Read c06e3ca30b -Added optional DISABLE_NT_SUPPORT to not compile NT specific code
-Not NT systems set C:\ as the profile directory.  This should be changed to
 the basedir most likely...
-Defined INVALID_SET_FILE_POINTER for systems that don't have the latest
 platform SDK.  According to MSDN doc, this should be okay.
2002-05-06 03:26:10 +00:00
Ryan C. Gordon 228fbf096e More cleanups. 2002-04-13 00:56:12 +00:00
Ryan C. Gordon bed1042f88 Removed unused copyEnvironmentVariable function. 2002-04-12 23:51:47 +00:00
Ryan C. Gordon e788d15811 Fixed an endline issue. 2002-04-12 23:48:31 +00:00
Ryan C. Gordon 748cbac1c0 Patches for correctness and cleaner win32 support. 2002-04-12 05:53:12 +00:00
Gregory S. Read fc5f8553cf -Implemented PHYSFS file routines
-Implemented PHYSFS thread routines
-Compiles on MSVC, not thoroughly tested.
2002-04-03 04:15:24 +00:00
Gregory S. Read 3b798738f6 -Added init and deinit routines per physfs_internal.h changes.
-User directory is now returned correctly under WinNT based systems.
 Under Win9x/ME, a NULL is returned right now.
2002-03-24 19:42:21 +00:00
Ryan C. Gordon e38b16ccb3 Patched to compile. 2002-03-21 03:22:04 +00:00
Ryan C. Gordon 4bb0fbe4e2 Minor logic fix. 2002-03-05 19:28:02 +00:00
Ryan C. Gordon 525d015984 Took out a redundant memory failure check. 2001-11-14 23:46:41 +00:00
Ryan C. Gordon 934d107a4d Changes to user dir. 2001-10-09 15:41:33 +00:00
Ryan C. Gordon c97cbf3665 Rewrote __PHYSFS_platformRealPath() to be Cygwin AND Visual C friendly. I hope.
:).
2001-09-01 23:40:22 +00:00
Ryan C. Gordon 9effae336d Attempts to calculate basedir with GetModuleFileName() first, and made a
CygWin fix (_MAX_PATH becomes MAX_PATH).
2001-08-29 14:33:17 +00:00
Ryan C. Gordon 950e518270 __PHYSFS_platformGetUserDir() checks some win32 standard environment variables,
now. Added some headers so that most of this compiles with Cygwin, too.
2001-08-29 02:41:47 +00:00
Ryan C. Gordon 7aa0c252a9 More win32 updates. 2001-08-23 16:02:51 +00:00
Ryan C. Gordon 500f1a6687 Initial add; NOT complete. 2001-08-23 15:22:52 +00:00