Glenn Maynard
246281574d
fix infinite recursion when LogCheckpoints
2004-10-05 14:59:30 +00:00
Glenn Maynard
5e41e72e51
comment
2004-09-01 23:12:20 +00:00
Glenn Maynard
571af53ea8
ZIP reading fixes
2004-06-23 05:15:47 +00:00
Glenn Maynard
33a04b79de
beginning GPL->X11 license transition
...
The conventions I'm using are to put the entire copyright notice at the bottom
of each file, and to put the summary of the source file's use at the top of the
header.
Putting the license text in each file avoids confusion, and is normal practice
for many projects. Putting it at the bottom gets it out of the way; it's a
ton of clutter to put at the top.
The description is in the header. People who don't know what a class is for,
or how to use it, are probably looking at the header to see the interface,
not the implementation, so let's put the description in there. Keep it brief
(one line); any substantial implementation notes should go in the source file.
2004-05-06 00:42:06 +00:00
Glenn Maynard
df9c4cbd6e
fix failed writes to "foo.sm" leaving "new.foo.sm" behind, which will
...
trigger an error on the next load
2004-04-19 22:19:54 +00:00
Glenn Maynard
79ac1ae2c6
directory flushing doesn't work in windows
2004-04-19 21:00:18 +00:00
Glenn Maynard
f7b18deff3
fix driver root creation
2004-04-17 22:37:40 +00:00
Glenn Maynard
82e8261d30
reenable dir fsync
2004-04-16 22:31:40 +00:00
Steve Checkoway
20a8bab45c
Clean up includes.
2004-04-05 05:22:32 +00:00
Glenn Maynard
d038179117
disable directory flushing for now (oops, meant to commit this two days ago)
2004-03-28 23:17:08 +00:00
Glenn Maynard
4e5a4a8ad2
fix error handling on failed flush
...
better flushing
2004-03-25 01:22:08 +00:00
Glenn Maynard
0390641b45
remove XXX
2004-02-27 05:44:53 +00:00
Glenn Maynard
f790653b0f
don't fsync by default; it's too slow
2004-02-20 06:01:12 +00:00
Glenn Maynard
9df2466099
move DirectFilenameDB into RageFileDriverDirectHelpers.cpp
2004-02-11 02:58:40 +00:00
Glenn Maynard
1b69bfdff9
allow VFS drivers to register themselves
2004-02-10 23:39:45 +00:00
Manu Evans
ce888de237
fixed some xbox build errors :/
2004-01-17 05:21:24 +00:00
Glenn Maynard
4f901a9f00
fix "Couldn't chdir(foo): No such file or directory"
2004-01-16 22:40:29 +00:00
Glenn Maynard
85e13c0360
add checkpoints to track obscure crash
2004-01-14 08:13:08 +00:00
Glenn Maynard
13c4103e62
retry writes on EINTR a couple times
2004-01-13 00:06:46 +00:00
Glenn Maynard
09a8e53e57
fix sample start thrashing
2004-01-11 22:38:27 +00:00
Glenn Maynard
f9f4238dda
cleanup
2004-01-06 06:00:03 +00:00
Glenn Maynard
05b5ab8a1d
remove TTYPE_FILE, TTYPE_DIR, TTYPE_NONE
2004-01-06 05:44:28 +00:00
Glenn Maynard
afd42bc90f
move stuff into RageFileDriverDirectHelpers
2004-01-06 05:40:24 +00:00
Glenn Maynard
5194d11dea
simplify
2004-01-05 20:18:27 +00:00
Glenn Maynard
adf2e68f2a
maybe fix file writing in win9x
2004-01-03 06:34:33 +00:00
Steve Checkoway
b45a0969fe
Fix warnings.
2003-12-24 11:54:11 +00:00
Glenn Maynard
1dedd7d54f
9x overwrite fix
2003-12-21 07:57:03 +00:00
Glenn Maynard
5918c8f918
simplify
2003-12-21 07:44:08 +00:00
Glenn Maynard
20792a51bb
Write files in such a way that a program crash, system crash, powerdown,
...
etc. won't cause data loss if we're running on a journalling filesystem.
2003-12-21 07:23:29 +00:00
Glenn Maynard
d5abb2b0c8
add RageFileManager::Remove
2003-12-16 07:23:54 +00:00
Glenn Maynard
85d970e8c6
mkdir fix
2003-12-15 02:38:52 +00:00
Glenn Maynard
0f7f494dbb
path fix
2003-12-15 02:32:55 +00:00
Glenn Maynard
c89cc1a145
buffering fixes
2003-12-13 06:52:25 +00:00
Glenn Maynard
63bb61388a
add RageFile::Flush
2003-12-12 07:47:38 +00:00
Glenn Maynard
2073a682c6
fix and clean up CreateDirectories
2003-12-11 21:59:16 +00:00
Glenn Maynard
b19d72123d
improve buffering to fix slow stats writing
2003-12-11 21:48:19 +00:00
Glenn Maynard
7011c81a8e
implement RageFileObjDirect::GetDisplayPath
2003-12-11 07:40:03 +00:00
Glenn Maynard
6e095ea8a3
buffer writes
2003-12-11 05:00:18 +00:00
Glenn Maynard
6ceb13a62a
make RageFileDriverDirect::Ready at least plausibly correct in *nix
2003-12-10 22:30:40 +00:00
Glenn Maynard
cd7ab704cb
handle "SLASH" stuff at a low level
2003-12-10 09:43:31 +00:00
Glenn Maynard
cdb4dbc03b
replace GetFileModTime with GetFileHash
2003-12-10 07:07:42 +00:00
Glenn Maynard
e844e3c5c0
fix copied filepos
2003-12-10 05:48:31 +00:00
Glenn Maynard
86173ae9ba
remove RageFileObjDirect::SeekCur
...
add RageFileObjDirect::Copy
2003-12-10 05:00:28 +00:00
Glenn Maynard
b5b947fe28
cleanup
2003-12-08 00:05:55 +00:00
Glenn Maynard
96a7ebe210
cleanup
2003-12-07 22:22:27 +00:00
Glenn Maynard
c8d0b60e03
cleanup
2003-12-07 06:13:44 +00:00
Glenn Maynard
e74808574a
Generalize FilenameDB.
...
Automatically create directories.
2003-12-07 04:14:52 +00:00
Glenn Maynard
6ea32749b7
don't mangle Root in RageFileManager
2003-12-06 05:52:44 +00:00
Glenn Maynard
ac004ea51a
driver GetDirListing, write logic, fixes
2003-12-05 02:25:32 +00:00
Glenn Maynard
6cd7d76358
quick Unix fix
2003-12-05 00:21:29 +00:00