Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard a27ac93a0c remove ugly unused stuff 2005-05-28 07:51:10 +00:00
Glenn Maynard f609ccf128 remove unused 2005-05-28 07:39:18 +00:00
Glenn Maynard 6f8fd517ea don't DebugBreak() when not being debugged 2005-05-28 07:29:09 +00:00
Glenn Maynard e504164796 debugging message assumes that method calls ("x:y()") have an initial
self argument; we remove it, causing off-by-one error messages
2005-05-28 07:27:49 +00:00
Glenn Maynard 25f5102325 fix warning 2005-05-28 05:11:23 +00:00
Glenn Maynard 52682640e4 add missing license 2005-05-28 03:59:12 +00:00
Glenn Maynard eb688ea84f move HasExtension into RageDisplay_OGL_Extensions 2005-05-28 03:54:33 +00:00
Glenn Maynard 18b1041ce2 cleanup 2005-05-28 03:51:41 +00:00
Glenn Maynard d7f3e90a9d cleanup 2005-05-28 03:50:28 +00:00
Glenn Maynard 62e4154f8d cleanup 2005-05-28 03:50:07 +00:00
Glenn Maynard 6c76e19d19 cleanup 2005-05-28 03:39:24 +00:00
Glenn Maynard 19bcc75d42 fix BadWindow warning due to calling XSelectInput before creating the window
fix uninitialized windowIsOpen
windowIsOpen -> m_bWindowIsOpen
use PRODUCT_NAME
one-line header comment goes on the very first line (eg. "head -1"); format it consistently, and be concise
2005-05-28 03:31:18 +00:00
Glenn Maynard 9e6db9eb4c cleanup 2005-05-28 03:12:58 +00:00
Glenn Maynard 7f50526d37 remove unused function 2005-05-28 02:38:31 +00:00
Glenn Maynard 541aac64cd remove virtual - this is an internal helper only now 2005-05-27 23:01:15 +00:00
Glenn Maynard b8de0155be cleanup 2005-05-26 02:32:52 +00:00
Glenn Maynard c962fa49ee style 2005-05-25 22:39:56 +00:00
Glenn Maynard cef33517ee style 2005-05-25 22:32:12 +00:00
Glenn Maynard f9192adc07 cleanup 2005-05-25 22:25:41 +00:00
Glenn Maynard 11595d2eff style fixes 2005-05-25 22:21:35 +00:00
Glenn Maynard 4ccc63fb42 static 2005-05-25 22:16:43 +00:00
Glenn Maynard 9d11f81407 cleanup 2005-05-25 22:15:11 +00:00
Glenn Maynard 9bb15367ec fix warning 2005-05-25 22:14:30 +00:00
Glenn Maynard 8f57b9484f no ScreenManager 2005-05-25 22:12:01 +00:00
Glenn Maynard a4718341d4 remove unneeded change unrelated to "Win32 MIDI Support" 2005-05-25 22:04:58 +00:00
Glenn Maynard b4ba450d64 fix "just barely" misaligned
- compute in the same way as the graph itself
 - don't round (quantize(1)); this tries to snap to a pixel, but the graph is
usually zoomed
2005-05-25 04:58:45 +00:00
Glenn Maynard a49bfd5e74 cleanup 2005-05-25 04:44:32 +00:00
Glenn Maynard d8a82be539 implement == for lua objects 2005-05-24 20:56:38 +00:00
Glenn Maynard 917870294f fix warnings when calling FlushDirCache() with timeout disabled 2005-05-23 23:11:41 +00:00
Glenn Maynard ee88435ffa fix warning 2005-05-23 22:32:06 +00:00
Glenn Maynard c167840888 error handling/reporting fixes 2005-05-23 22:23:24 +00:00
Glenn Maynard 19ff272c01 perms fixes 2005-05-22 23:46:39 +00:00
Glenn Maynard e157d52a76 expose FileInfo
expose file permissions
2005-05-22 22:45:15 +00:00
Glenn Maynard ccc9aac5e1 hide the mouse cursor 2005-05-22 22:42:13 +00:00
Glenn Maynard 82b63a4065 mount memcard filesystems at start, logging 2005-05-22 21:13:46 +00:00
Glenn Maynard 8b1dcc850f better logging 2005-05-22 21:09:17 +00:00
Glenn Maynard ab69380599 allow mounting to the beginning of the mount list 2005-05-22 07:53:46 +00:00
Glenn Maynard b65057c6bd fix mountpoint 2005-05-22 07:25:27 +00:00
Glenn Maynard 81584d4879 update paths 2005-05-22 03:00:59 +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 bfda377b10 absolute mountpoints 2005-05-22 02:38:00 +00:00
Glenn Maynard 07619915f5 absolute mountpoints 2005-05-22 02:36:56 +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 11fdc9a3d5 use /rootfs 2005-05-22 02:29:02 +00:00
Glenn Maynard d25df987d5 mount / to /rootfs 2005-05-22 02:24:59 +00:00
Glenn Maynard b664ec07b1 fix mountpoint 2005-05-22 02:13:24 +00:00
Glenn Maynard 48f74fb55e add error return from MountCard 2005-05-22 01:44:37 +00:00
Glenn Maynard 4c8c5bea37 Add variable timeouts.
After mounting or unmounting a filesystem, flush cache, so we don't keep
stale cache around.

RageFileDriverDirect::Remount could (and should) flush its own cache when
changing root (since the cache represents the old root).  However, calling
Remount doesn't indicate that the filesystem has actually changed, so if
the root isn't actually changing (Remount("/mnt") on a filesystem already
pointing to /mnt), the driver can't be expected to flush.  (Remount also
currently doesn't go through Timeout, and we need to flush on unmount,
too.)  So, take the cheap way out and just flush through FILEMAN.
2005-05-22 01:36:08 +00:00
Glenn Maynard b850a8ea50 fix FlushDirCache() doesn't flush everything (NormalizePath("") results in "/") 2005-05-22 01:10:35 +00:00
Glenn Maynard 8474247135 remove unused m_bFirstRun 2005-05-21 11:20:49 +00:00
Glenn Maynard 82b7f71728 fix RageFileObjTimeout::Copy returns a copy of the underlying object, instead of a copied RageFileObjTimeout 2005-05-21 08:56:08 +00:00
Glenn Maynard 4a64bca900 remove FirstRunInitialScreen 2005-05-21 08:36:48 +00:00
Glenn Maynard e87ef650b1 fix incorrect newline behavior when wrapping is on 2005-05-21 08:28:35 +00:00
Glenn Maynard ab317867ff remove unused 2005-05-21 07:52:53 +00:00
Glenn Maynard e374f7722f fix wrong credits messages showing 2005-05-21 07:15:41 +00:00
Glenn Maynard 350085e096 split up FileCopy, use RageFileBasic 2005-05-21 06:51:55 +00:00
Glenn Maynard 93a00528e6 fix GetDirListing("/*") returning "/" (blank file) 2005-05-21 04:32:35 +00:00
Glenn Maynard 948567aab1 fix tests 2005-05-21 03:28:35 +00:00
Glenn Maynard 23ca7e8f93 fix crash if Close times out: if DoRequest returns false, it's the thread's job to clean up.
comment excpetional case in REQ_CLOSE
2005-05-21 01:59:40 +00:00
Glenn Maynard 8f68a555a6 Load() methods, to allow error checking 2005-05-21 00:40:18 +00:00
Glenn Maynard 9d7c8980d8 update 2005-05-21 00:22:33 +00:00
Glenn Maynard fe8999ce0a RageFileManager::GetFileDriver doesn't prepend a slash to mountpoints. instead of hacking it up, fix the mountpoint names ... 2005-05-20 23:44:06 +00:00
Glenn Maynard 24321a96b9 fix warning 2005-05-20 23:17:53 +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
Glenn Maynard f4022b6bc4 fix errors 2005-05-20 05:23:27 +00:00
Glenn Maynard 812c1d5f45 isolate low-level crypto stuff in CryptHelpers, so it can be used without dragging in PREFSMAN 2005-05-20 04:48:29 +00:00
Glenn Maynard 5a80e4a542 fix crash 2005-05-20 04:34:54 +00:00
Glenn Maynard 52fd05751f fix ssprintf 2005-05-20 03:52:48 +00:00
Glenn Maynard e1c1a6db20 fix messages 2005-05-20 03:50:47 +00:00
Glenn Maynard 1640cd4ff0 clean up weird tabs, etc 2005-05-20 02:45:21 +00:00
Glenn Maynard 25979e1c58 clean up weird tabs, etc 2005-05-20 02:44:54 +00:00
Glenn Maynard ab723147bd remove unused init-by-filename code path 2005-05-20 01:42:57 +00:00
Glenn Maynard 57d9817c5c split out crypto++-specific signing code; prefer to create our own RageFileBasic 2005-05-20 01:42:25 +00:00
Glenn Maynard f098157a4f split out crypto++-specific verify code; prefer to create our own RageFileBasic 2005-05-20 01:19:47 +00:00
Glenn Maynard 98003393df warnings 2005-05-20 01:16:46 +00:00
Glenn Maynard e4a12fa22d float 2005-05-20 01:04:05 +00:00
Glenn Maynard 54bed650e4 check size before reading 2005-05-20 01:02:56 +00:00
Glenn Maynard 1cc8495a26 simplify: read files ourselves 2005-05-20 00:58:09 +00:00
Glenn Maynard b547c631e6 simplify: read files ourselves, don't bother using SecByteBlock 2005-05-20 00:45:05 +00:00
Glenn Maynard 2a8f4d02cf fix eating keys 2005-05-20 00:41:22 +00:00
Glenn Maynard fcab77004e fix warning
prefer float over double
2005-05-20 00:35:40 +00:00
Glenn Maynard aa5aff643f fix const
fix signed warning
2005-05-20 00:28:41 +00:00
Glenn Maynard b3d9debc44 remove unused (and too broad) IsGood 2005-05-20 00:18:52 +00:00
Glenn Maynard 38b10ca499 one line 2005-05-20 00:18:15 +00:00
Glenn Maynard f37a3810d6 allow reading whole files with GetFileContents 2005-05-20 00:12:43 +00:00
Glenn Maynard e64e00d6c6 allow initializing a RageFileSource with a RageFileBasic* 2005-05-19 23:39:41 +00:00
Glenn Maynard 815c1015a7 RageFile -> RageFileBasic 2005-05-19 22:59:47 +00:00
Glenn Maynard 53aea34fb2 remove unused
RageFile -> RageFile*
2005-05-19 22:50:57 +00:00
Glenn Maynard 93ff013321 cleanup, assert -> ASSERT 2005-05-19 21:34:47 +00:00
Glenn Maynard aa5c8699fb allow validating from alternate keys
fix missing HAVE_CRYPTOPP defs
2005-05-19 21:27:14 +00:00
Glenn Maynard d406068148 reduce crypto++ code by doing our own file writing (simpler) 2005-05-19 21:21:37 +00:00
Glenn Maynard f701c3f261 remove unused FirstRunInitialScreen 2005-05-19 21:05:25 +00:00
Glenn Maynard 78682940ea remove; we generate a machine keypair on demand
doing things "on first run" is fragile: it might be interrupted, in which
case we either do it again next time (running first-run tasks more than
once) or we don't do any (skipping some of them).  instead, do things
on demand, and keep track of which tasks have completed
2005-05-19 20:55:05 +00:00
Glenn Maynard f9b18c7a64 cleanup 2005-05-19 20:43:06 +00:00
Glenn Maynard 846a4bd6ae don't need to stuff this in a function (this doesn't belong in StepMania.cpp,
though ...)
2005-05-19 20:39:42 +00:00
Glenn Maynard cfaca94b4c remove hack. the problem was probably that CompareNoCase returns
a value < 0, not necessarily -1
2005-05-19 20:36:34 +00:00
Glenn Maynard 14da28b9e5 style fixes 2005-05-19 20:34:35 +00:00
Glenn Maynard b78ea78dea style fix 2005-05-19 20:32:10 +00:00
Glenn Maynard 83d8099f7f remove ConditionalBGA; it's not used. ask the list if you need to know how to do something that was done in this ... 2005-05-19 20:26:53 +00:00
Glenn Maynard 221e369b7b long-needed style update. no non-cosmetic changes. 2005-05-19 06:55:31 +00:00