Glenn Maynard
4b3af3058b
Only spend time uniquifying results if more than one driver returned results. If we do, only operate on the new data.
2005-09-07 03:24:18 +00:00
Chris Danford
48ebc53549
return NULL -> return CString() for clarity and efficiency
2005-09-04 16:55:21 +00:00
Glenn Maynard
6149d63867
reduce file op overhead; fix some obscure long-standing race conditions
...
with Unmount due to broken refcounting
2005-09-04 04:57:26 +00:00
Glenn Maynard
c2310eeab5
whoops. Fix variable name conflict.
2005-09-03 22:09:14 +00:00
Glenn Maynard
4f5a07388a
cleanup
2005-09-03 21:28:34 +00:00
Glenn Maynard
46fb678d5c
general cleanups
2005-09-03 21:18:59 +00:00
Glenn Maynard
6aa187a695
cleanup
2005-09-03 20:57:58 +00:00
Chris Danford
e439ae2a96
return "" -> return NULL
2005-09-02 00:14:07 +00:00
Chris Danford
c885a38d9f
fix assert in DeleteRecursive
2005-08-05 10:01:45 +00:00
Chris Danford
a2c439a17a
support loading of course edits
2005-07-31 05:41:32 +00:00
Glenn Maynard
ebe60c9eb7
simplify
2005-06-27 05:24:24 +00:00
Glenn Maynard
5de59d0c51
remove unused file/driver tracking
2005-06-27 05:22:09 +00:00
Glenn Maynard
d58b3186f0
allow mounting RageFileDrivers directly
2005-06-25 22:34:54 +00:00
Steve Checkoway
99387583f9
DARWIN -> __MACOSX__
2005-06-21 08:56:36 +00:00
Chris Danford
c80d0c4a53
add support for random background sets using Song genre
2005-06-02 10:09:46 +00:00
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