CHANGELOG
author Ryan C. Gordon <icculus@icculus.org>
Tue, 02 Apr 2002 13:36:58 +0000
changeset 154 275ea00e7283
parent 151 4dea0b9c6d29
child 168 6b2a28327118
permissions -rw-r--r--
Updated.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
59
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     1
/*
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     2
 * CHANGELOG.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     3
 */
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     4
154
275ea00e7283 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 151
diff changeset
     5
04022002 - Mac work continues. Found a bug where we put a double dir
275ea00e7283 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 151
diff changeset
     6
           separator in if we had to resort to the fallback userdir (if
275ea00e7283 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 151
diff changeset
     7
           __PHYSFS_platformGetUserDir() returned NULL to calculateUserDir().
275ea00e7283 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 151
diff changeset
     8
           Made note of potential infinite recursion in platform driver docs.
151
4dea0b9c6d29 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 146
diff changeset
     9
04012002 - (_NOT_ an April Fool's Joke:) Started working on MacOS Classic
4dea0b9c6d29 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 146
diff changeset
    10
           port. Added skeleton.c to platform directory. Minor patches to
4dea0b9c6d29 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 146
diff changeset
    11
           get things compiling on Mac (notably, DirInfo conflicts with
4dea0b9c6d29 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 146
diff changeset
    12
           a type exposed by MacOS's namespace-polluting API, and some
4dea0b9c6d29 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 146
diff changeset
    13
           typecasting issues). Found a call to ferror() I had missed in
4dea0b9c6d29 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 146
diff changeset
    14
           unzip.c.
146
93dba4d3d0d2 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 142
diff changeset
    15
03302002 - Mutexes! PhysicsFS should be thread safe now, so long as you
93dba4d3d0d2 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 142
diff changeset
    16
           don't try to do something like close a file at the same time as
93dba4d3d0d2 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 142
diff changeset
    17
           you are reading from it in another thread. All reasonable race
93dba4d3d0d2 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 142
diff changeset
    18
           conditions should now be gone, but the new code will need some
93dba4d3d0d2 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 142
diff changeset
    19
           eyeballing before we install it on life support systems or anything.
93dba4d3d0d2 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 142
diff changeset
    20
           The mutex abstraction is implemented in unix.c, win32.c will be
93dba4d3d0d2 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 142
diff changeset
    21
           updated shortly.
142
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    22
03292002 - Fixed a potential problem in ZIP_realpath() and some byte order
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    23
           issues in zip.c. Converted unzip.c to use physfs file i/o
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    24
           abstractions. Converted CHANGELOG to list latest entries first.
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    25
03242002 - Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit(). Win32
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    26
           improvements by Gregory S. Read. Added PHYSFS_[us]int(8|16|32)
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    27
           types...this breaks binary compatibility with previous PhysicsFS
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    28
           releases! Added platform specific i/o functions, so we don't have
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    29
           to rely on stdio anymore. Updated TODO with my comments on the
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    30
           physfs mailing list. 1.0, here we come! Removed race condition from
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    31
           grp.c and converted to file i/o abstraction layer calls from stdio.
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    32
           Tons of other fixes and enhancements.
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    33
03202002 - Patched platform/win32.c to compile.
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    34
03152002 - PHYSFS_setSaneConfig() now handles failure to set the write dir
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    35
           better. Patched makefile to link the test program. Changed all the
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    36
           "write" functions to get data from a "const" buffer. Added an
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    37
           "extras" dir, which currently contains PhysFS->SDL_RWops glue code.
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    38
03052002 - Made unix.c's timeslice implementation more portable, and added a
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    39
           Darwin-specific means to detect CDs (thanks to Patrick Stein).
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    40
           Minor cleanup in win32.c (changed "for (; condition ;)" into
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    41
           "while (condition)" ...)
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    42
11142001 - Removed a redundant error check in platform/win32.c
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    43
10092001 - Syntax fixes in dir.c, a FIXME in grp.c, and a "cat" command in
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    44
           the test program. Apparently I had accidentally removed a rather
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    45
           crucial line from dir.c a few revisions ago, and no one noticed. :(
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    46
           Fixed. The win32 userdir will default to the base dir, now.
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    47
09252001 - Changed API: PHYSFS_setSaneConfig() takes an organization name, and
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    48
           sets up less directories. Be warned. Fixes from David Hedbor:
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    49
           make setSaneConfig() set write directory correctly if it had to
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    50
           create the directory, and make sure that the writing functions
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    51
           get used in dir.c when a file is opened for writing/appending.
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    52
           Updated CREDITS.
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    53
09142001 - David Hedbor submitted a patch to handle a case where the
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    54
           current working directory has been deleted out from under the
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    55
           process (both in platform/unix.c and physfs.c itself). Thanks,
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    56
           David! Added a CREDITS file. Changed the format of the author field
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    57
           in PHYSFS_ArchiveInfo to put the email address between "<>" instead
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    58
           of "()" chars. Updated TODO. make install now deletes previous
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    59
           revisions of the library. Changed version to 0.1.4.
90
f0bb0e01ca05 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 84
diff changeset
    60
09012001 - Happy September. Moved the Visual C project files and the zlib
f0bb0e01ca05 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 84
diff changeset
    61
           source to a separate download. Look for it at
f0bb0e01ca05 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 84
diff changeset
    62
           http://icculus.org/physfs/downloads/physfs-win32-support.zip ...
f0bb0e01ca05 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 84
diff changeset
    63
           Updated the INSTALL doc for Win32 building. Rewrote win32.c's
f0bb0e01ca05 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 84
diff changeset
    64
           __PHYSFS_platformRealPath() to not rely on Visual C's runtime lib,
f0bb0e01ca05 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 84
diff changeset
    65
           which was the last Cygwin incompatibility (although the Makefile
f0bb0e01ca05 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 84
diff changeset
    66
           needs to be updated to build a DLL under Cygwin). Tinkered with the
94
551fbc05c73b Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 90
diff changeset
    67
           Makefile a little, but it needs more work. Started working on a
551fbc05c73b Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 90
diff changeset
    68
           MacOS version. All I have is CodeWarrior 4, which is way out of
551fbc05c73b Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 90
diff changeset
    69
           date, and (for what is supposed to be an ultra-user-friendly
551fbc05c73b Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 90
diff changeset
    70
           environment) is completely uninituitive to me. Still, managed to
551fbc05c73b Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 90
diff changeset
    71
           get most everything compiling, which improved the quality of the
551fbc05c73b Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 90
diff changeset
    72
           code somewhat). Haven't tried to compile the zipfile support, and
551fbc05c73b Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 90
diff changeset
    73
           I still can't link the library. Dunno what the hell I'm supposed
551fbc05c73b Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 90
diff changeset
    74
           to do there. Isn't Unix supposed to be hard compared to this?
142
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    75
08312001 - Built PhysicsFS on Mandrake 8.0 for the PowerPC. Compiles clean,
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    76
           but there's at least one byte-ordering issue in zip.c that needs
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    77
           to be fixed.
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    78
08292001 - win32.c calculates the base dir with GetModuleFileName() first, now,
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    79
           and falls back to SearchPath() if there were problems. Changed an
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    80
           occurence of _MAX_PATH to MAX_PATH, so both CygWin and Visual C can
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    81
           handle it.
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    82
08282001 - win32.c now checks HOMEDRIVE, HOMEPATH, and HOME when calculating
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    83
           the userdir. Added include files that make it a little closer to
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    84
           compiling under Cygwin. Added a TODO file. Fixed unix.c's
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    85
           __PHYSFS_platformCalcBaseDir() so that it actually works. Fixed
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    86
           Makefile so that it links the test program properly.
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    87
           Changed version to 0.1.3.
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    88
08232001 - Fixed a potential free()ing of a NULL pointer in
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    89
           __PHYSFS_platformEnumerateFiles() in platform/unix.c. Added
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    90
           platform/win32.c. Other cleanups to get this compiling with
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    91
           Visual C and CygWin. Added BAIL_MACRO for times when we were doing
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    92
           BAIL_IF_MACRO(1, ...). Abstracted mkdir() in the platform drivers.
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    93
           Added GRP setting output to showcfg in the Makefile. Updated INSTALL
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    94
           with license info and Win32 build instructions. Dependency on the
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    95
           readline library in test_physfs.c is now optional.
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    96
           Changed version to 0.1.2.
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    97
08072001 - Changed version to 0.1.1.
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    98
08062001 - Added CD-ROM detection code to the unix platform driver.
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
    99
08012001 - Added a safety memset in error setting, fixed URLs and email addr.
e3eb45e37874 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 140
diff changeset
   100
07282001 - Initial release.
59
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   101
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   102
--ryan. (icculus@clutteredmind.org)
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   103
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   104
/* end of CHANGELOG ... */
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   105