Commit Graph
261 Commits
Author SHA1 Message Date
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 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 fa747fcbb4 cleanup 2006-02-09 08:28:20 +00:00
Chris Danford 7546366890 add assert 2006-02-09 00:59:26 +00:00
Chris Danford 38d439c713 fix ugly headers when using large fonts 2006-02-08 22:20:15 +00:00
Glenn Maynard fa1dec128f cleanup 2006-02-08 03:43:49 +00:00
Glenn Maynard 4b09a38d36 build fix 2006-02-08 03:39:57 +00:00
Steve Checkoway a65d13c6d1 class -> typedef set. 2006-02-07 08:29:36 +00:00
Chris Danford ddbe74e1e2 add GetMonitorAspectRatio 2006-02-07 04:39:48 +00:00
Chris Danford b46e53e27b make dialogs localizable
adjust control to fit longer text
2006-02-07 04:38:51 +00:00
Glenn Maynard 5db90ce71d cleanup 2006-02-07 02:55:29 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford 477e67a8aa fix smpackage file routines and registry writing 2006-01-21 12:18:26 +00:00
Chris Danford 3ec514f896 fix mounting to fix reading of Prefs.ini 2006-01-20 09:31:26 +00:00
Steve Checkoway a123e5bc76 Return a const reference rather than a copy. 2006-01-19 08:20:41 +00:00
Glenn Maynard 852ba5f336 see if this is fixed 2006-01-18 09:27:09 +00:00
Chris Danford 7b75640337 use only ANSI APIs and ConvertUTF8ToACP 2006-01-17 22:20:27 +00:00
Glenn Maynard af409260eb fix GraphicsWindow::GetParams doesn't return the actual refresh
rate
2006-01-17 01:42:17 +00:00
Glenn Maynard affaf07d35 rename ConfigureGraphicsWindow -> CreateGraphicsWindow 2006-01-15 01:43:04 +00:00
Glenn Maynard 7adadb4d2c cleanup 2006-01-15 01:14:01 +00:00
Glenn Maynard 079ee70c90 cleanup 2006-01-15 01:12:58 +00:00
Glenn Maynard 692cee7ddc merge old CreateGraphicsWindow 2006-01-15 01:10:45 +00:00
Glenn Maynard 61654be8de remove remove SetVideoModeParams 2006-01-15 01:08:24 +00:00
Glenn Maynard 2de99a1d59 merge SetVideoModeParams into ConfigureGraphicsWindow (the lifetime of this data has always been too confusing) 2006-01-15 01:05:43 +00:00
Glenn Maynard 669339a57f don't export CreateGraphicsWindow 2006-01-15 01:01:53 +00:00
Glenn Maynard 76dca9fb6f add bForceRecreateWindow 2006-01-15 00:55:27 +00:00
Glenn Maynard 989fe982b7 call CreateGraphicsWindow when needed 2006-01-15 00:51:45 +00:00
Glenn Maynard 58a5e76ccd don't expose 2006-01-15 00:44:37 +00:00
Glenn Maynard d52b52386b remove RecreateGraphicsWindow 2006-01-15 00:39:20 +00:00
Glenn Maynard 72036009b3 merge CreateGraphicsWindow and RecreateGraphicsWindow 2006-01-15 00:37:03 +00:00
Glenn Maynard 5e2a79e1d3 nudge CreateGraphicsWindow and RecreateGraphicsWindow together 2006-01-15 00:34:21 +00:00
Glenn Maynard 60e0bccef0 nudge CreateGraphicsWindow and RecreateGraphicsWindow together 2006-01-15 00:29:34 +00:00
Glenn Maynard c78cbd62f4 Simplify: harmless to call ChangeDisplaySettings(NULL,0) when going
windowed to windowed, too.  (This g_CurrentParams use is confusing;
trying to reduce it ...)
2006-01-15 00:14:25 +00:00
Glenn Maynard a1592e71e7 VideoModeParams has a bunch of settings. It's confusing to
pass the whole thing around, since it's not clear what data
is actually used.  For simple functions, just pass the needed
data.
2006-01-14 23:44:31 +00:00
Chris Danford 7fe210a516 silence warning spew if no hid devices plugged in 2006-01-09 01:10:37 +00:00
Chris Danford f6d11943ab make more strings localizable
move dialog localization into archutil
adjust dialog layout for pseudoloc strings
2006-01-08 05:42:09 +00:00
Chris Danford f8379c8db7 cleanup newline handling in languages
remove View Statistics button (moved to command line)
2006-01-06 17:57:26 +00:00
Glenn Maynard c9ec1d251f cleanup 2005-12-31 04:11:10 +00:00
Glenn Maynard 2120a39d2a Fix dependency: Crash.cpp should not depend on GraphicsWindow. 2005-12-31 04:09:56 +00:00
Glenn Maynard 0e599ca582 make debug_crash private 2005-12-31 04:02:51 +00:00
Glenn Maynard 644801396c move globals into namespace 2005-12-31 03:56:25 +00:00
Glenn Maynard a4716e3ecf cleanups 2005-12-31 03:32:14 +00:00
Glenn Maynard 502bd70521 static 2005-12-31 03:29:11 +00:00
Glenn Maynard c0a86d6c44 use HOOKS->SetHasFocus 2005-12-30 03:59:10 +00:00
Chris Danford c7d769829a add ThemeManager to smtools 2005-12-29 05:52:50 +00:00
Glenn Maynard a5042f126c suppress autorun 2005-12-24 02:27:25 +00:00
Glenn Maynard 39b07e55b3 cleanup (prefer size() over GetLength) 2005-12-21 07:50:14 +00:00