Commit Graph
20055 Commits
Author SHA1 Message Date
Steve Checkoway b09d333d14 Add placeholder. 2006-02-11 09:31:39 +00:00
Glenn Maynard 088a5505dc update 2006-02-11 08:15:36 +00:00
Glenn Maynard a6bd91b9d4 use WindowsDialogBox 2006-02-11 08:00:38 +00:00
Glenn Maynard d94c5912c8 also fixup (dur; goofed up a partial commit) 2006-02-11 07:54:26 +00:00
Glenn Maynard 4d2ba02c06 fixup 2006-02-11 07:53:21 +00:00
Glenn Maynard bcab631922 pull out MakeCrashReport call 2006-02-11 07:52:39 +00:00
Glenn Maynard 9cbc530b64 Add networking helpers for the crash handler.
Most of this will eventually be moved to arch, once I spend some more time
polishing the interface and implementing the BSD sockets version.
2006-02-11 07:49:52 +00:00
Glenn Maynard 7bf1364fb5 Add a couple small helpers for two types of Windows windows. (I
tried merging these, but it's not worth it; they're too simple
and a little too different for it to be worth it.)

(How does one unambiguously refer to a Windows window without
sounding silly?)
2006-02-11 06:53:21 +00:00
Glenn Maynard 7a1852ef2b these have their own newlines 2006-02-11 05:36:43 +00:00
Glenn Maynard 48e1266e19 add a line header; easier to read and search 2006-02-11 05:34:55 +00:00
Glenn Maynard b1f072479a This is read into a string; no need to send the null terminator. 2006-02-11 05:33:33 +00:00
Steve Checkoway fbe91a6c7e Simplify. 2006-02-11 04:41:39 +00:00
AJ Kelly 235df13944 new splash 2006-02-11 04:25:13 +00:00
Glenn Maynard 218b7d194a add "Force Crash" for testing the crash handler 2006-02-11 03:47:42 +00:00
Glenn Maynard 4f1322da92 all else is equal, so we may as well use lowercase; that's what locale
identifiers do (eg. "en_US"), anyway.
2006-02-11 03:45:25 +00:00
Glenn Maynard 7f326ae2cf fix example 2006-02-11 03:41:05 +00:00
Glenn Maynard 30427807f6 Fix line ending glitches in crashinfo.txt due to changes in how it's written. 2006-02-11 03:12:17 +00:00
Steve Checkoway 4633edaefa Comment. 2006-02-10 15:05:51 +00:00
Steve Checkoway 3a61afbc08 Attempt to do this with slightly less voodoo. It was spamming output due to failure before, which was causing skips every time the log/info was flushed. 2006-02-10 13:36:26 +00:00
Steve Checkoway c0c7804333 Revert. 2006-02-10 11:48:41 +00:00
Steve Checkoway d2136fb15b Cleanup. There is no way to prevent being preempted on OS X. 2006-02-10 10:28:01 +00:00
Steve Checkoway f1e8662ac6 Spacing cleanup. 2006-02-10 10:14:15 +00:00
Steve Checkoway b6d4aa4ff7 Spacing cleanup. 2006-02-10 10:05:20 +00:00
Steve Checkoway 0955b5410b Cleanup. 2006-02-10 10:01:12 +00:00
Steve Checkoway 8e1f4254a7 Get thread backtrace context on i386. 2006-02-10 09:55:53 +00:00
Steve Checkoway bd614eed21 Simplify. 2006-02-10 09:42:37 +00:00
Steve Checkoway 5c5655b137 Check for NULL. 2006-02-10 09:41:42 +00:00
Steve Checkoway 3f199dbf2a Check all values returned from dictionaries. 2006-02-10 09:36:35 +00:00
Steve Checkoway dfa720254d dict -> properties 2006-02-10 09:21:39 +00:00
Steve Checkoway 7f097a9946 Document the API. 2006-02-10 09:21:20 +00:00
Steve Checkoway 69337c8e0f Follow the stricter API. 2006-02-10 08:54:22 +00:00
Steve Checkoway b1818e1831 Make API stricter so that a physical device cannot have logical devices of different types.
For example, if 15 joysticks already have IDs and an adaptor that has two logical joysticks is assigning IDs, it cannot have DEVICE_JOY16 for the first and DEVICE_PUMP1 for the second.
2006-02-10 08:54:07 +00:00
Steve Checkoway 4199cbc9c0 Create JoystickDevices for HID game pads (untested). 2006-02-10 08:50:24 +00:00
Steve Checkoway bb9848adcc Revert. 2006-02-10 04:49:45 +00:00
Chris Danford 79d1c0006e shorter help strings for localization 2006-02-10 04:37:38 +00:00
Chris Danford 95c88765a0 fix options rows tween from top of screen instead of initially being in the row's position 2006-02-10 04:33:54 +00:00
Glenn Maynard 92682e0ef0 move code 2006-02-10 04:25:50 +00:00
Glenn Maynard 8be243e3a0 tab/spacing cleanups 2006-02-10 01:56:23 +00:00
Glenn Maynard 0f249786d1 cleanup 2006-02-10 01:46:46 +00:00
Glenn Maynard 13096dedf0 This isn't in crash conditions anymore, so we can reuse this. 2006-02-09 23:55:28 +00:00
Glenn Maynard 9899823297 cleanup 2006-02-09 23:53:42 +00:00
Glenn Maynard 8814b127c7 hFontMono is unused 2006-02-09 23:53:23 +00:00
Glenn Maynard e5b0c7321f cleanup 2006-02-09 23:53:22 +00:00
Glenn Maynard bea70df82c fix alignment 2006-02-09 23:41:54 +00:00
Glenn Maynard 6af30022f4 update 2006-02-09 23:35:20 +00:00
Glenn Maynard 9d10cf5fb4 connect crash handler 2006-02-09 23:31:10 +00:00
Glenn Maynard 2d75617c33 removes backtrace list and "reason" 2006-02-09 23:13:22 +00:00
Glenn Maynard 607a8e2e11 I've been hesitant to do this, but it's the next step in
making crash handling more consistent.  Move the crash
handling dialog into a new process, like the Unix handler
does.

 - We're allowed to operate normally; we have a new heap,
so allocations are safe.
 - Gzipping the VDI is easy now; we can simply use GunzipFile().

The only particularly ugly thing in this is the need to run
CrashGetModuleBaseName in the original process.  That's lame,
but straightforward.  It'd be better to use GetModuleFileNameEx,
but I didn't want to drag psapi.dll into this.

This may also make window hiding more reliable.  Previously,
we wrote the crashinfo, tried to hide the window, then showed
the dialog.  Hiding the window was risky and could hang or
crash again.  Now we can forcibly kill the process from the
child, if needed, and still be able to show a dialog.

This also removes the backtrace and "reason" displays from the
dialog.  Those weren't useful in practice; I always loaded the
crashinfo.txt and never used them, and they're intimidating to
casual users.
2006-02-09 23:11:31 +00:00
Glenn Maynard 2344c9edb6 update 2006-02-09 22:22:00 +00:00
Glenn Maynard 901cf153e9 theme 2006-02-09 22:20:14 +00:00