Commit Graph
33 Commits
Author SHA1 Message Date
Glenn Maynard 08bbfd215d work around VC brain damage 2005-09-29 06:35:30 +00:00
Glenn Maynard 04ec4e66f4 add optional RageFileDriver::MoveFile override; implement for RageFileDriverDirect and RageFileDriverTimeout 2005-09-28 22:59:12 +00:00
Glenn Maynard 2eda60a86f cleanup 2005-06-03 05:07:10 +00:00
Glenn Maynard edf10cb9b3 remove RageFileDriver::Ready 2005-05-31 21:58:21 +00:00
Glenn Maynard 0e8b4b8371 comments, cleanup 2005-02-13 03:21:22 +00:00
Glenn Maynard 67d5bfd6d5 RageFileManager::Remount 2005-01-27 03:43:55 +00:00
Glenn Maynard a98aacf322 make FDB public 2005-01-27 01:59:03 +00:00
Glenn Maynard ae92b86b34 RageFileBasic 2004-12-11 02:25:38 +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 2bf27c582c cleanup 2004-12-09 11:52:49 +00:00
Glenn Maynard b38e2e25f1 remove parent 2004-12-09 11:31:23 +00:00
Glenn Maynard a2f9bf586d propagate file driver errors normally 2004-12-09 11:17:57 +00:00
Glenn Maynard b2c7aec818 Remove ugly, brute-force Seek and GetFileSize implementations. Nothing uses them, and nothing ever should. 2004-12-09 11:10:27 +00:00
Glenn Maynard 269f0be457 cleanup 2004-12-09 10:48:57 +00:00
Glenn Maynard c87fd69606 no, reomve Rewind() 2004-12-09 10:42:03 +00:00
Glenn Maynard cae7809e1c make Rewind() optional 2004-12-09 10:40:18 +00:00
Glenn Maynard 335e8149d0 remove RageFileObj::SeekCur 2004-12-09 08:51:28 +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 485354928f fix error reporting 2004-04-21 04:16:31 +00:00
Glenn Maynard 1b69bfdff9 allow VFS drivers to register themselves 2004-02-10 23:39:45 +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 63bb61388a add RageFile::Flush 2003-12-12 07:47:38 +00:00
Glenn Maynard cdb4dbc03b replace GetFileModTime with GetFileHash 2003-12-10 07:07:42 +00:00
Glenn Maynard c4cd8ba935 add Copy virtual 2003-12-10 05:00:54 +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 594c059062 add RageFileDriver::FlushDirCache 2003-12-07 04:19:26 +00:00
Glenn Maynard ac004ea51a driver GetDirListing, write logic, fixes 2003-12-05 02:25:32 +00:00
Glenn Maynard a31ff1f434 FileManager-based profile mounts 2003-12-05 00:07:18 +00:00
Glenn Maynard ea0ba6fcb9 VFS work 2003-12-04 08:25:59 +00:00