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
Glenn Maynard
513ac01fb7
fix "Songs/foo" not being returned by GetDirListing("Songs/*") if
...
"Songs/foo" is a mountpoint
2003-12-08 00:07:02 +00:00
Glenn Maynard
37182fecd3
cleanup
2003-12-07 22:55:55 +00:00
Glenn Maynard
dc3063cf8c
FlushDirCache fix
2003-12-07 08:31:53 +00:00
Glenn Maynard
c77a783bec
GetDirListing: remove dupes
2003-12-07 06:21:39 +00:00
Glenn Maynard
e25549cfe1
add stubs
2003-12-07 04:21:04 +00:00
Steve Checkoway
cb2b422ccf
Handle files correctly on OS X.
2003-12-07 02:20:41 +00:00
Glenn Maynard
6ea32749b7
don't mangle Root in RageFileManager
2003-12-06 05:52:44 +00:00
Glenn Maynard
7a9f91810d
fix ALSA version detection
2003-12-06 05:45:36 +00:00
Glenn Maynard
4df9d05c1f
search path work
2003-12-05 06:12:47 +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
17adb99a5e
temporarily allow accessing files by drive letter in Windows
2003-12-04 19:57:19 +00:00
Glenn Maynard
ea0ba6fcb9
VFS work
2003-12-04 08:25:59 +00:00