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