Commit Graph

111 Commits

Author SHA1 Message Date
Ben Anderson 0db665d4d6 Thorough(!) remodeling of the arch/ directory and the contents therein; fixed link-time warnings on GCC and should make things a lot easier to manage. A pile of other random things too, mostly cleanups and getting things to work with the remodeled arch/ directory. 2005-03-14 06:44:38 +00:00
Glenn Maynard 7c34878efc fix gradual "leaking" of memory, as all info output is stored in staticlog even after the static buffer was full 2004-07-13 21:02:28 +00:00
Glenn Maynard 049b31ce46 Always timestamp log.txt. 2004-05-21 22:34:56 +00:00
Glenn Maynard f9f10e2372 more license updates 2004-05-06 02:40:33 +00:00
Glenn Maynard 7135f8cc1d extend log timestamps to three decimal places 2004-04-06 23:21:27 +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 62d1a344f2 fix mapped logs not being timestamped 2004-03-13 10:28:12 +00:00
Glenn Maynard d3c0228a5d better log control for test set 2004-03-04 04:27:55 +00:00
Glenn Maynard b92296b1c9 fix m_bLogToDisk 2004-02-27 01:05:30 +00:00
Glenn Maynard 56654496ef name cleanup
"foo() ;" cleanup (itchy spacebar?)
2004-02-27 00:56:51 +00:00
Glenn Maynard 1208c42c4d use localtime_r
fix off-by-one errors in time output
2004-02-22 23:39:11 +00:00
Chris Danford 6154c14f86 add calorie tracking
clean up time formatting functions
2004-02-22 19:51:46 +00:00
Glenn Maynard 137a41efce fix output 2004-02-11 20:14:30 +00:00
Glenn Maynard 114f9fe5ba cleanup 2004-02-05 21:28:43 +00:00
Glenn Maynard b899848309 can't have global RageFile's, since they'll be destructed after RageFileManager 2004-02-05 20:57:13 +00:00
Glenn Maynard eccaf9d775 fix uninitialized variable 2004-01-21 01:51:38 +00:00
Manu Evans ce888de237 fixed some xbox build errors :/ 2004-01-17 05:21:24 +00:00
Glenn Maynard bb2d24bb49 hopefully fix a couple rare buffering problems: lock accesses to log files 2004-01-15 00:50:17 +00:00
Glenn Maynard 30fe19a838 simplify 2003-12-29 23:45:38 +00:00
Glenn Maynard ed1821eab7 remove obsolete HOOKS->Log 2003-12-29 23:40:57 +00:00
Glenn Maynard 0ae51ca247 cleanup 2003-12-29 23:37:55 +00:00
Glenn Maynard d558f53c5d Remove extra compiled-on stamp.
Don't use __TIMESTAMP__; that gives the last compile time of
RageLog.cpp, not the last build time.
Put the current time in info, instead of trace, so we can compare
times when we receive more than one log, to make sure they really
match up (we occasionally get crashinfo.txt from a previous crash,
in which case only info.txt and log.txt are relevant).
2003-12-29 22:07:39 +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 7efce0c8bb missing header 2003-12-21 02:20:01 +00:00
Glenn Maynard 2d01ba7d00 better output 2003-12-19 08:09:58 +00:00
Glenn Maynard e67a108759 handle multi-line logs 2003-12-19 00:53:45 +00:00
Steve Checkoway f27d98fd9c Fix paths for Mac OS X. 2003-12-12 08:43:45 +00:00
Glenn Maynard 0d0b0d3f12 try using RageFile for logging 2003-12-12 08:22:03 +00:00
Glenn Maynard f063c76799 move log files from the header to local globals 2003-12-12 07:29:54 +00:00
Glenn Maynard 2e4fc20919 SYS_BASE_PATH 2003-12-07 04:18:38 +00:00
Steve Checkoway 63b954ae22 Fix log.txt and info.txt paths on OS X 2003-12-07 02:29:39 +00:00
Glenn Maynard 51401ea747 cleanup 2003-12-04 04:19:14 +00:00
Glenn Maynard 3cbe471e24 fix weird newliesn at the end of info.txt 2003-12-03 02:49:54 +00:00
Chris Danford 72a66645da I believe localtime returns NULL on XBox when system clock is not set 2003-12-02 02:55:14 +00:00
Glenn Maynard f8eb93d95f remove Checkpoint 2003-11-23 23:50:02 +00:00
Glenn Maynard b72d42361a add headers 2003-11-14 17:17:36 +00:00
Glenn Maynard cfbd136989 ShowLogWindow -> ShowLogOutput, now also affects stdout output
in *nix
(unimplemented, possibly temporary TexturePreload tags along to avoid
more recompiling ...)
2003-10-19 07:30:06 +00:00
Glenn Maynard d26b22eb8f eliminate RageLog prefsman use 2003-10-02 03:13:51 +00:00
Glenn Maynard 81c4f0b9e9 reduce RageLog prefsman use 2003-10-02 03:11:35 +00:00
Glenn Maynard fa702635c1 Remove HOOKS->AdditionalLog.
Make LOG work without HOOKS being set up.
2003-10-02 01:09:15 +00:00
Steve Checkoway 59c5db4558 Quiet warnings. 2003-09-22 09:26:36 +00:00
Chris Danford eeb65c8a54 clean up formatting 2003-09-07 08:27:38 +00:00
Glenn Maynard 4ab3924122 comment 2003-09-06 06:49:01 +00:00
Glenn Maynard 8407c758b1 Use \n newlines in Darwin, too, not \r. 2003-09-05 07:36:40 +00:00
Glenn Maynard 400c99f8dc fix partial log output bug 2003-08-19 02:19:17 +00:00
Glenn Maynard ea628ea706 Don't send newlines to LOG. 2003-08-13 04:52:41 +00:00
Chris Danford 35950c4eaf Add prefs for logging. Don't throw if can't open log file. Remove Ragefopen and Rageifstream (they aren't needed). 2003-08-13 04:40:23 +00:00
Chris Danford cd9fbf25f2 better logging 2003-08-12 06:50:42 +00:00
Glenn Maynard 91057359fa add error checking 2003-08-05 01:28:48 +00:00