Commit Graph

87 Commits

Author SHA1 Message Date
Glenn Maynard ee259739d6 remove unused RageFileManager::MountpointIsReady. ("Ready"
checks are done through MemoryCardManager.)
2005-05-31 21:54:41 +00:00
Steve Checkoway 114ac27623 The entire file system is brittle and breaks whenever anything changes. 2005-05-24 22:36:15 +00:00
Glenn Maynard ab69380599 allow mounting to the beginning of the mount list 2005-05-22 07:53:46 +00:00
Glenn Maynard 85f84ef81f remove backwards compatibility hack (brittle without also doing it in Unmount, etc) 2005-05-22 02:42:30 +00:00
Glenn Maynard cbd868a2f1 absolute mountpoints (shouldn't change anything; just getting rid of brittle compatibility hack in Mount) 2005-05-22 02:34:05 +00:00
Glenn Maynard d25df987d5 mount / to /rootfs 2005-05-22 02:24:59 +00:00
Glenn Maynard b850a8ea50 fix FlushDirCache() doesn't flush everything (NormalizePath("") results in "/") 2005-05-22 01:10:35 +00:00
Glenn Maynard ab317867ff remove unused 2005-05-21 07:52:53 +00:00
Glenn Maynard 93a00528e6 fix GetDirListing("/*") returning "/" (blank file) 2005-05-21 04:32:35 +00:00
Glenn Maynard 209040e02d clean up file drivers: drivers now always receive paths with trailing slashes;
this makes handling the relative "root" directory not a special case (".").
mountpoints now always begin with a slash.  before, "/foo" and "foo" were
in two separate namespaces, which was weird and confusing; the two now
mean the same thing.  there are no more special "default mountpoints"; just
mount to "/".  "@path" mounts are now "/@path", and they do show up in
GetDirListing("/") (but, as before, opening "/@foo/bar" will never create
a "@foo/bar" path in a non-"@foo" mountpoint)
2005-05-20 22:26:54 +00:00
Ryan Dortmans 9d1a3b5f12 Fixed xbox compile errors. 2005-04-30 04:44:18 +00:00
Glenn Maynard 42fb0bfc9b simplify 2005-03-17 23:48:32 +00:00
Glenn Maynard c189f5fdd9 split out OpenForReading 2005-03-17 23:43:13 +00:00
Glenn Maynard 2d70433068 fix potential crash 2005-03-02 07:05:17 +00:00
Glenn Maynard 1a720a5b95 mount /proc, not / (so we can treat absolute paths properly) 2005-02-28 01:03:22 +00:00
Glenn Maynard a0cb54c2be fix compile, cleanup 2005-02-07 09:19:53 +00:00
Glenn Maynard fb0aa0f465 allow wildcard unmounting 2005-02-07 08:11:40 +00:00
Glenn Maynard 7df474b776 make remount work 2005-01-27 03:54:49 +00:00
Glenn Maynard 67d5bfd6d5 RageFileManager::Remount 2005-01-27 03:43:55 +00:00
Glenn Maynard 67b5d06fa7 add RageFileManager::GetFileDriver, RageFileManager::ReleaseFileDriver 2005-01-27 01:58:20 +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 2bf27c582c cleanup 2004-12-09 11:52:49 +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 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