Commit Graph

142 Commits

Author SHA1 Message Date
Ryan C. Gordon 72d3077167 Added Gregory S. Read. 2002-03-25 08:28:40 +00:00
Ryan C. Gordon c7d476e657 Updated. 2002-03-25 08:14:47 +00:00
Ryan C. Gordon 4573c8a5ea Converted to file i/o abstraction, removed race condition. 2002-03-25 08:13:06 +00:00
Ryan C. Gordon 6a0a1349a8 Fixed a crashbug when opening a file that doesn't exist. 2002-03-25 08:11:55 +00:00
Ryan C. Gordon f6b15061c8 Abstracted file deletion, so we don't rely on C library for it anymore. 2002-03-25 05:02:12 +00:00
Ryan C. Gordon 255322c2fa Updated. 2002-03-25 05:01:29 +00:00
Ryan C. Gordon 51b65e1d5a Now uses platform file i/o abstraction. 2002-03-25 04:06:06 +00:00
Ryan C. Gordon 723702fedb Fixed a const thing. 2002-03-25 04:05:52 +00:00
Ryan C. Gordon dfe65649df Quick fix. 2002-03-25 04:02:27 +00:00
Ryan C. Gordon f2887cf047 Added typedefs and platform-specific i/o. 2002-03-24 19:47:33 +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 419d5cd017 Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit(). 2002-03-24 06:36:48 +00:00
Ryan C. Gordon 83ee49dd6a Updated. 2002-03-21 04:03:38 +00:00
Ryan C. Gordon 1c7c01be04 Patched to fix a namespace issue. 2002-03-21 03:23:12 +00:00
Ryan C. Gordon e38b16ccb3 Patched to compile. 2002-03-21 03:22:04 +00:00
Ryan C. Gordon 57a176068c const correctness fixes. 2002-03-16 03:53:46 +00:00
Ryan C. Gordon bd8818abd2 Link fixes. 2002-03-16 03:53:29 +00:00
Ryan C. Gordon cd39a9057e Updated. 2002-03-16 03:53:18 +00:00
Ryan C. Gordon dd070f9330 Initial add. 2002-03-16 03:51:09 +00:00
Ryan C. Gordon cd58c9e523 Reports trouble setting the write dir in PHYSFS_setSaneConfig(). 2002-03-15 14:53:23 +00:00
Ryan C. Gordon 81bac7781f Updated. 2002-03-15 14:52:57 +00:00
Ryan C. Gordon 20024184f2 Updated. 2002-03-05 19:28:49 +00:00
Ryan C. Gordon 4bb0fbe4e2 Minor logic fix. 2002-03-05 19:28:02 +00:00
Ryan C. Gordon 401911aeb8 Updated. 2002-03-05 19:17:18 +00:00
Ryan C. Gordon cb2a15d302 Darwin support by Patrick Stein. 2002-03-05 19:16:38 +00:00
Ryan C. Gordon 7484d7ccb1 Updated. 2002-03-05 01:37:04 +00:00
Ryan C. Gordon 734b665b8d Changed timeslice implementation to use something more portable (thanks to
Patrick Stein and his Darwin work for this one).
2002-03-05 01:35:54 +00:00
Ryan C. Gordon dd001ed5c5 Updated. 2001-11-14 23:47:24 +00:00
Ryan C. Gordon 525d015984 Took out a redundant memory failure check. 2001-11-14 23:46:41 +00:00
Ryan C. Gordon 2c7f714b6b Updated. 2001-10-09 15:41:57 +00:00
Ryan C. Gordon 934d107a4d Changes to user dir. 2001-10-09 15:41:33 +00:00
Ryan C. Gordon ae140141fc The DirHandle->funcs pointer wasn't getting set?! 2001-10-09 15:34:10 +00:00
Ryan C. Gordon 3fdf86c573 Updated. 2001-10-09 15:19:02 +00:00
Ryan C. Gordon b1c50bba8b Added "cat" command. 2001-10-09 15:16:27 +00:00
Ryan C. Gordon 94406b6c35 Put a FIXME in place. 2001-10-09 15:15:40 +00:00
Ryan C. Gordon 7ab013b8b7 Fixed some syntax issues. 2001-10-09 15:15:24 +00:00
Ryan C. Gordon f2bb78075f Updated. 2001-09-26 03:11:55 +00:00
Ryan C. Gordon 3ad4abe6ce Make sure that the writing functions get used when a write mode is
specified.
2001-09-26 03:09:35 +00:00
Ryan C. Gordon e444f9ed02 PHYSFS_setSaneConfig() fixes: set write dir correctly, and put it at start
of search path.
2001-09-26 03:08:57 +00:00
Ryan C. Gordon 9648558b3f Updated. 2001-09-26 01:45:37 +00:00
Ryan C. Gordon 1e6f2bc0d9 Changed PHYSFS_setSaneConfig()'s behaviour. API BREAKAGE. 2001-09-26 01:44:41 +00:00
Ryan C. Gordon c3a00ee94b Patches from David Hedbor to handle missing current working directories.
"The attached patch makes PhysFS handle the case when the current
   directory (as returned by getcwd()) has been deleted.
   Fix 1, platform/unix.c:
    Only retry getcwd if the error is ERANGE. Before it retried till the
    malloc failed in the case of the directory not existing.
  Fix 2: physfs.c:
    If __PHYSFS_platformCurrentDir() return's NULL, use the root as the
    base dir. Bad solution but the best I can think of (alternative :
    use /tmp or Windows TEMP dir?)."
2001-09-14 22:59:53 +00:00
Ryan C. Gordon c2b2506a7c Updated version from 0.1.3 to 0.1.4. 2001-09-14 22:58:04 +00:00
Ryan C. Gordon 12314e3715 Updated. 2001-09-14 22:57:22 +00:00
Ryan C. Gordon 70838fdc23 Initial add. 2001-09-14 22:57:02 +00:00
Ryan C. Gordon beecf24734 make install deletes previous versions of the library. 2001-09-14 22:56:46 +00:00
Ryan C. Gordon c7aad1afd6 Changed author credits to wrap email addresses in "<>" and not "()" chars. 2001-09-14 22:55:44 +00:00
Ryan C. Gordon 1035802174 Updated. 2001-09-02 05:01:53 +00:00
Ryan C. Gordon ed2a43b2ea Patched to compile with an ancient version of CodeWarrior. 2001-09-02 04:55:25 +00:00
Ryan C. Gordon 9d2ae6e900 Updated. 2001-09-02 01:17:35 +00:00