Commit Graph

63 Commits

Author SHA1 Message Date
Glenn Maynard 2aa43ea93c allow concurrent file requests; we only need exclusive access for Mount/Unmount 2004-11-08 22:13:56 +00:00
Glenn Maynard c08e4ecdbd simplify: GetHashForFile is just a wrapper for FILEMAN->GetFileHash; hash values are passed directly from the driver 2004-10-01 08:54:10 +00:00
Chris Danford 03fbb915f3 remove VC6 scoping hacks 2004-09-21 07:53:39 +00:00
Glenn Maynard 4df3517b93 mount mem 2004-09-06 09:36:12 +00:00
Chris Danford c50f72182c fix "FILEMAN->CreateDirectory leaves temp file hanging around" 2004-08-31 06:44:16 +00:00
Glenn Maynard 4c09e63ec4 fix text 2004-08-29 07:05:17 +00:00
Glenn Maynard 9db234c181 cleanup 2004-08-10 20:56:16 +00:00
Chris Danford 79e457c272 when saving a Profile, always make a Screenshots directory 2004-07-24 07:04:33 +00:00
Renaud Lepage dad4c72695 Missing _ Before XBOX - Solved the text output bug. Also, forced a D:\\ as system path because path was missing at ragefilemanager::mount in _xbox, lines 142 to 144 2004-07-21 02:39:10 +00:00
Chris Danford 6bd2a34271 Xbox builds again 2004-06-20 01:35:25 +00:00
Glenn Maynard 47d43cee82 unsigned -> size_t for string::find returns 2004-06-16 07:01:12 +00:00
Steve Checkoway a613d4d9fa s/RAGE_ASSERT/ASSERT/ 2004-06-16 00:38:31 +00:00
Glenn Maynard 2e2426f0d6 output VFS type warning even if LOG isn't around yet 2004-06-12 05:38:49 +00:00
Glenn Maynard 2856e3760b fix NormalizePath not removing leading dots 2004-06-03 23:17:27 +00:00
Glenn Maynard b6e5a87a00 path normalization optimziation (don't redo it per-driver) 2004-06-03 05:15:08 +00:00
Glenn Maynard 3dfdc61aac maybe fix stray backslashes making it into root paths, causing stray
"Couldn't create d:\: Permission denied"
2004-05-23 22:11:33 +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
Steve Checkoway 4d5ad8dfdb fix warning 2004-04-27 04:55:59 +00:00
Glenn Maynard eeeb9809f6 fix path not being found correctly when started from smpackage 2004-04-24 19:30:49 +00:00
Glenn Maynard 5bf8f64570 split out GetDirOfExecutable 2004-04-24 19:22:53 +00:00
Glenn Maynard 485354928f fix error reporting 2004-04-21 04:16:31 +00:00
Glenn Maynard ef44d6eae5 fix wrong search used for writing when SAFE_WRITE is enabled
use SLOW_FLUSH when appropriate
2004-04-19 22:16:39 +00:00
Glenn Maynard d7ede40600 fix unmount memleak
make sure we normalize mountpoints the same way when unmounting as mounting
add checkpoints
2004-04-10 21:45:14 +00:00
Glenn Maynard 0c9e2ef404 (that'd just be confusing) 2004-04-10 20:42:09 +00:00
Steve Checkoway 20a8bab45c Clean up includes. 2004-04-05 05:22:32 +00:00
Glenn Maynard e779e80350 give RageMutexes names, so they can be identified more easily 2004-03-21 04:10:43 +00:00
Glenn Maynard 3b332a04ef add RageFileManager::GetLoadedDrivers 2004-03-15 03:05:55 +00:00
Glenn Maynard 35f1480e2a fix mounting a directory unmounts all other FS's mounted on the same
mountpoint; only unmount if there's a mount that has the exact same
mountpoint, root and driver
2004-03-15 02:52:55 +00:00
Chris Danford 2f0a424f3a add Unmount() 2004-03-14 01:56:18 +00:00
Glenn Maynard bd01de6260 call FILEMAN->MountInitialFilesystems explicitly 2004-03-04 01:16:52 +00:00
Glenn Maynard 8a58411dd5 move InitialWorkingDirectory, DirOfExecutable, ChangeToDirOfExecutable into RageFileManager 2004-03-04 00:19:42 +00:00
Glenn Maynard bf8ac3e2a8 fix paths not resolving correctly if they begin with ./ (CDTitles) 2004-02-27 06:20:59 +00:00
Glenn Maynard 9e44686f30 #ifdef 2004-02-13 08:36:42 +00:00
Glenn Maynard 824bec71fe comment 2004-02-12 06:48:14 +00:00
Glenn Maynard 71648333b1 fix possible crash 2004-02-11 04:18:03 +00:00
Glenn Maynard 1b69bfdff9 allow VFS drivers to register themselves 2004-02-10 23:39:45 +00:00
Glenn Maynard d47d900582 split out MakeFileDriver 2004-02-10 19:35:15 +00:00
Glenn Maynard c35a7d4139 locking fix
o/~ i hate threads o/~
2004-01-15 00:45:53 +00:00
Glenn Maynard 289d1e99a5 RageFileManager thread safety 2004-01-14 23:44:42 +00:00
Glenn Maynard 2f3c66a9f2 optimization: file hash of a directory is meaningless; only use the name
(plus file hashes of contents)
2003-12-30 02:16:00 +00:00
Glenn Maynard b6b94a7f96 debug 2003-12-28 23:31:36 +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 beea7e9627 update root searching 2003-12-12 22:27:21 +00:00
Glenn Maynard 2aab443439 move binaries 2003-12-12 09:06:31 +00:00
Steve Checkoway f27d98fd9c Fix paths for Mac OS X. 2003-12-12 08:43:45 +00:00
Glenn Maynard 9723ca794b fix refcounting 2003-12-11 07:13:20 +00:00
Glenn Maynard 37fc279c8f refcount drivers 2003-12-11 05:32:35 +00:00
Glenn Maynard 41c54e7d0b enable RageFileDriverZip 2003-12-10 08:16:32 +00:00
Glenn Maynard cdb4dbc03b replace GetFileModTime with GetFileHash 2003-12-10 07:07:42 +00:00