Glenn Maynard
67d5bfd6d5
RageFileManager::Remount
2005-01-27 03:43:55 +00:00
Glenn Maynard
ae92b86b34
RageFileBasic
2004-12-11 02:25:38 +00:00
Glenn Maynard
47994102b3
vc fix?
2004-12-10 13:13:14 +00:00
Glenn Maynard
8915e3944a
simplify; use RageBasicFile instead of RageFileObj
2004-12-10 10:04:32 +00:00
Glenn Maynard
287a150db7
Move buffering logic from RageFile into RageFileObj.
...
Common file interface class, RageBasicFile, shared by RageFile
and RageFileObj. This makes most uses of these objects interchangeable.
RageFile is now just a simple wrapper for RageFileObj, to create
files in FILEMAN's namespace; file objects can also be created
independently. This means that, for example, IniFile can be used
to write a file to a CString, without having to jump through hoops,
and without having to use a separate file access wrapper; just do
something like:
RageFileObjMem string_file;
ini.WriteFile( string );
const CString &sString = string_file.GetString();
2004-12-10 08:48:18 +00:00
Glenn Maynard
e2ea72dbac
internalize RageFileObj implementation functions
2004-12-10 03:14:01 +00:00
Glenn Maynard
ec22ffec62
stop passing ugly back-references to the RageFile to RageFileObj
2004-12-09 11:47:20 +00:00
Glenn Maynard
bb94a3aaa1
cleanup: avoid parent access
2004-12-09 11:28:24 +00:00
Glenn Maynard
6761eb7a51
remove Rewind()
2004-12-09 10:44:07 +00:00
Glenn Maynard
b1d8c97359
(how did that happen?)
2004-10-06 18:11:10 +00:00
Glenn Maynard
12c21c302c
error checks to trace https://sourceforge.net/tracker/index.php?func=detail&aid=1035264&group_id=37892&atid=421366
...
fix error message
2004-10-06 04:25:27 +00:00
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