Commit Graph
684 Commits
Author SHA1 Message Date
Steve Checkoway 5a916de95b Use -1 as a sentinel. 2006-02-27 00:20:18 +00:00
Steve Checkoway 0661f37f9c Update. The file Info.plist file is cached, it's easiest to just delete stepmania/PBProject/build and rebuild. 2006-02-26 03:14:29 +00:00
Chris Danford ff338d15b8 PRODUCT_NAME -> PRODUCT_FAMILY
PRODUCT_NAME_VER -> PRODUCT_ID_VER
2006-02-26 00:31:31 +00:00
Chris Danford d87a17a034 PRODUCT_NAME -> PRODUCT_FAMILY
PRODUCT_NAME_VER -> PRODUCT_ID_VER
2006-02-25 23:59:32 +00:00
Steve Checkoway 3e72c0e002 Fix pump pad support. Second player untested but seems likely to work. 2006-02-25 14:58:14 +00:00
Steve Checkoway 18728e856f Fix overlapping buttons. 2006-02-24 21:41:37 +00:00
Steve Checkoway c4fde125e4 Basic support for the USB pump pad. It is not HID-compliant and reports strange values when buttons are pressed and released. In particular, it claims that it's values are in the range [0,1], yet actually returns values in the range [0,3]. Also, there are two instances where releasing two buttons sends the same report (UR and MID, as well as DL and DR).
I suspect this makes it pretty much impossible to use (although the guy with the pad has the glowing report of, "and it seemed to work OK") but without actually having a pad with which to test, it's about all I can do.
2006-02-24 13:29:15 +00:00
Steve Checkoway b760e127a8 Allow subclasses to refuse particular (vid, pid) pairs. 2006-02-24 10:47:33 +00:00
Chris Danford 724292d68e remove "confidential" in error report dialog 2006-02-24 01:07:18 +00:00
Chris Danford e63cfef561 change text and button names to more closely match Watson so that people are less nervous about sending us data 2006-02-23 20:05:05 +00:00
Chris Danford 6205025e9e use white background for header text and icon 2006-02-23 20:03:10 +00:00
Jason Felds f5bdb04863 Fix compile errors. Hope this doesn't break anything. 2006-02-18 07:18:59 +00:00
Glenn Maynard 34452071c3 simplify 2006-02-18 02:33:35 +00:00
Glenn Maynard 0f37043af8 simpler symbols 2006-02-18 01:07:39 +00:00
Chris Danford 79b21dcce3 fix VC6 clear() hack 2006-02-15 04:10:46 +00:00
Chris Danford 130554e42a fix VC6 compile 2006-02-15 03:53:04 +00:00
Glenn Maynard 585ed24473 cleanups, descriptions 2006-02-14 11:00:15 +00:00
Glenn Maynard 6553336107 const 2006-02-14 10:48:01 +00:00
Glenn Maynard 3581f4514a simpler 2006-02-14 10:47:23 +00:00
Glenn Maynard a40af5b2e7 support optionally gzipped .vdi files 2006-02-14 06:21:46 +00:00
Glenn Maynard 3ddf9bc5e8 simplify 2006-02-14 06:18:30 +00:00
Glenn Maynard 718bbd3ada better error message 2006-02-14 05:54:40 +00:00
Glenn Maynard fc2028b997 szError -> RString 2006-02-14 05:53:57 +00:00
Glenn Maynard 2ab27b5478 fix vdi filename 2006-02-14 05:52:18 +00:00
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 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 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
Glenn Maynard 3c3cd91949 cleanup 2006-02-13 01:32:25 +00:00
Chris Danford 6116d9f1bc fix VC6 build 2006-02-13 01:07:44 +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
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