Commit Graph
20095 Commits
Author SHA1 Message Date
Glenn Maynard 346724ca33 xml fallback error check 2006-02-14 05:16:23 +00:00
Glenn Maynard af5f496cd4 xml parse error check; cleanup 2006-02-14 05:15:39 +00:00
Glenn Maynard ce4c13d4c3 cleanup 2006-02-14 05:13:55 +00:00
Glenn Maynard 8cdea60388 always hide progress when done 2006-02-14 05:03:41 +00:00
Glenn Maynard 0efb355169 changed error handling behavior 2006-02-14 05:01:58 +00:00
Glenn Maynard 62ad8d69f7 simplify 2006-02-14 04:48:38 +00:00
Glenn Maynard 1670d7cdac fix data lost at the end of the connection 2006-02-14 03:39:35 +00:00
Glenn Maynard e92231f0a9 Instead of running WM_QUIT, use a flag to quit the loop. This fixes
problems when a console window is opened.
2006-02-14 03:26:27 +00:00
Glenn Maynard c230ba2b72 render states are context-specific; make sure we're defined after beginning concurrent rendering 2006-02-14 02:39:52 +00:00
Glenn Maynard 9057367ef2 add GetError()
on WSAECONNRESET, just return 0, not error
set STATE_SHUTDOWN on shutdown, though nothing uses this right now;
maybe this should be removed, and instead say "always call Close()
at the end of successful processing in the thread" (to ensure that we don't
block later)
2006-02-14 01:52:42 +00:00
Glenn Maynard 70e66e9aa4 don't Shutdown on EOF 2006-02-14 01:51:55 +00:00
Glenn Maynard 8ff2fe7aee comments 2006-02-14 01:43:04 +00:00
Glenn Maynard 766416ca15 Show the occurance of an error, but don't give details. We're already in the crash handler; if something else goes wrong, don't overwhelm the user with more diagnostics. This is automatic reporting, so they wouldn't have "heard back" about the report, anyway. (I might stuff away a small diagnostic log somewhere in this case later, for our use ...) 2006-02-13 23:20:54 +00:00
Glenn Maynard ab7f4698c2 headers 2006-02-13 23:16:07 +00:00
Glenn Maynard 5932664648 Include the architecture in the explicit fields. This is already in the report itself, but not in any place that makes it easy to access for checking patch versions. 2006-02-13 23:15:11 +00:00
Glenn Maynard d081b1c204 add GetArchName 2006-02-13 23:14:11 +00:00
Glenn Maynard 5f72bea070 ditch explicit close command; just close the handle 2006-02-13 23:02:18 +00:00
Glenn Maynard 4b7f50f673 ditch explicit close command; just close the handle 2006-02-13 23:02:06 +00:00
Glenn Maynard 9eddbde5ac fix busy loop if child exits without closing the child properly 2006-02-13 22:58:23 +00:00
Chris Danford 3c4087a187 fix ManageProfiles errors
add bThemeTitle flag to MenuRow
2006-02-13 22:45:17 +00:00
Chris Danford 9d7f5eebef fix ManageProfiles errors 2006-02-13 22:40:28 +00:00
Glenn Maynard 241724d1d8 do SetErrorMode before the crash handler 2006-02-13 22:05:30 +00:00
Glenn Maynard 5219ea7ae6 make ArchHooks available to the crash handler 2006-02-13 22:05:04 +00:00
Glenn Maynard 6f33f310dc cleanup 2006-02-13 21:43:18 +00:00
Steve Checkoway 13e555f4b3 Add target stepmania-bare. This version does not include networking support nor does it support mp3s. 2006-02-13 10:24:53 +00:00
Steve Checkoway 5466c15968 Remove resample 2006-02-13 09:09:05 +00:00
Chris Danford 5d0da191c7 clean up ugly TextEntry 2006-02-13 05:32:50 +00:00
Chris Danford 2732f0dabd fix VC6 build 2006-02-13 04:59:18 +00:00
Glenn Maynard deee986ff5 unused 2006-02-13 04:50:54 +00:00
Glenn Maynard 5d64dff234 Rewritten sound resampler.
This eliminates the (optional) libresample dependency, which will clean up
building and eliminate the goofy 5k DLL.  It's also faster.

This doesn't implement "HighQuality".  That would involve changing L from
8 to 16.  I might implement that in the future, but it sounds decent to me.  (It's
a little tricky, since PolyphaseFilter::RunPolyphaseFilter needs L to be
a constant for speed.)
2006-02-13 04:50:28 +00:00
Steve Checkoway d76475ce79 Don't copy the fallback picture any longer. 2006-02-13 04:06:28 +00:00
Steve Checkoway 8abbd1799c Don't fall back. If it can't find the picture, just don't show a loading window. 2006-02-13 04:05:47 +00:00
Glenn Maynard 3c3cd91949 cleanup 2006-02-13 01:32:25 +00:00
Glenn Maynard 5095a45ae6 workaround vc6 bug 2006-02-13 01:28:40 +00:00
Chris Danford 6116d9f1bc fix VC6 build 2006-02-13 01:07:44 +00:00
Steve Checkoway 731368a0e7 Use host_os and host_cpu. 2006-02-12 22:38:38 +00:00
Glenn Maynard e6ae006f60 Fix dangling pipe: we didn't close the child's ends of
the pipes in the parent, so it kept a reference to the
handles.  (This didn't cause problems normally, but since
the child's ends of the pipes remained open when it closed,
it reduced reliability in failure cases.)
2006-02-12 04:57:13 +00:00
Glenn Maynard b491a6d702 error strings 2006-02-11 22:53:28 +00:00
Glenn Maynard f7fa4b07f1 update 2006-02-11 10:47:39 +00:00
Glenn Maynard 23dcc99781 Add automatic error reporting. This sends crashinfo.txt
over HTTP as a POST form.  This is intended to decrease the
amount of effort required to submit bug reports, reduce the
potential for human error, and increase the consistency of
the form of bug reports (always a crashinfo.txt, no wrapping
or RARring, not pasted into BTS text fields, and no forgetting
it entirely).

This offers less chance to fix the bug than a real BTS entry.
We can't interact with the user (since the submission is
anonymous and not tied to an email), so we can't get more
information about the problem or offer solutions; we can only
fix it based on the crashinfo.  This will result in noise, due
to crashes caused by drivers.

We don't want people to send bug reports accidentally, but we
also don't want to encourage cancelling the report.  This dialog
defaults to "view", so pressing enter neither sends the report
nor cancels.

We don't want people to modify crashinfo.txt before they send
it, since we want consistency.  (Data sent is not re-read from
crashinfo.txt; it's simply kept in memory.)  We also don't want
to give people the impression that changes in "view" will change
what's sent.  At the same time, it's convenient to have the
crashinfo "view" function load notepad.  So, crashinfo.txt is
marked read-only, so attempts to save over it in notepad will fail.

In this mode, we don't offer the option to load log.txt, or
point to a BTS.  This is intended to make bug submission as
simple as possible for casual users.  Keep the dialog simple
and to the point.

The id number that's displayed after a submission is intended
to be used as a reference; we can say "reproduce the crash,
submit the report and tell us what number is shown in the corner",
and easily locate the report.  It's intended to be ignorable by
the most users, so no attempt is made at explaining what it means.
(It should probably be grayed out, but I havn't dug into it yet
to figure out how to gray it while still allowing the text to get
focus, so it can be copied.)

We send over HTTP, on port 80.  This is probably the most likely
way to be able to send data out without any configuration.

(The localization support is incomplete.)
2006-02-11 10:45:24 +00:00
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