Commit Graph

20040 Commits

Author SHA1 Message Date
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
Glenn Maynard 6603bb8a45 fix text 2006-02-09 22:08:14 +00:00
AJ Kelly eaf9b3d8c2 add CatalogXML things to prevent warnings from popping up in other game modes 2006-02-09 19:41:25 +00:00
Glenn Maynard fa747fcbb4 cleanup 2006-02-09 08:28:20 +00:00
Chris Danford 02786346b8 use gamepads 2006-02-09 01:53:24 +00:00
Chris Danford 08759a1f67 map ignition Back to Back, not Tri to Back 2006-02-09 01:24:20 +00:00
Chris Danford 7546366890 add assert 2006-02-09 00:59:26 +00:00
Chris Danford a1fcc64baf poll DInput for number of joysticks instead of polling registry for num HID devices. Fixes us resetting INPUTMAN too early (after Windows sees the HID device but before DirectInput exposes it) 2006-02-09 00:53:20 +00:00
Chris Danford ecce21a0b4 automapping cleanup 2006-02-09 00:50:00 +00:00
Chris Danford ce0d196ad9 fix EMS USB2 mapping 2006-02-09 00:10:39 +00:00
Glenn Maynard 00f89eb307 %D -> %0D 2006-02-09 00:08:40 +00:00
Glenn Maynard 478de001c6 move URLEncode into RageUtil 2006-02-09 00:08:10 +00:00
Chris Danford c1848ab4a5 unmap joystick before applying its automappings 2006-02-09 00:04:01 +00:00
Glenn Maynard eda3b04c1a simplify 2006-02-08 23:51:10 +00:00
Chris Danford bad42fef01 don't localize error dialog. THEME is shutdown by that time. 2006-02-08 22:28:47 +00:00
Chris Danford 38d439c713 fix ugly headers when using large fonts 2006-02-08 22:20:15 +00:00