Commit Graph

49 Commits

Author SHA1 Message Date
Sean C. Rhea
30dcb1328b Hardware echo detection was being fooled because in the normal case, the
result of a version request, triggered by writing 'V', is the string "VER...".
Sometimes, this was preceeded by a zero byte, in which case hardware echo
detection worked, but other times it wasn't, and we stripped the 'V' from
"VER...", only to wait forever for one extra byte that wasn't coming.  The new
approach is to read until we get the "\r\n", then search for "VER", then see
if any other 'V's preceed it, in which case we assume we're dealing with
hardware echo.
2007-04-01 05:41:38 +00:00
Sean C. Rhea
d83a386116 How did we NOT always open the serial port with O_NONBLOCK? WTF? 2007-04-01 05:07:04 +00:00
Sean C. Rhea
fd7aad6876 patch from Aldy to make wattage an integer in CVS exports 2007-03-07 20:44:49 +00:00
Sean C. Rhea
180ac587c1 fix for centering in QT 4.1.1 2007-02-22 17:12:50 +00:00
Sean C. Rhea
4f1fbcf9c0 using a picker in cpint plot 2007-02-22 02:46:02 +00:00
Sean C. Rhea
0430100946 fix misinterpretation of rec_int and add error message
for time moving backwards
2007-02-21 17:31:31 +00:00
Sean C. Rhea
86e17e8c18 add leading zero to single-digit seconds values 2007-02-13 02:40:45 +00:00
Sean C. Rhea
b50f13d3fb return after reject() 2007-02-12 20:25:12 +00:00
Sean C. Rhea
cf3dcb9ab8 patch from Aldy to fix interval durations that display as XX:60 2007-02-12 20:16:48 +00:00
Sean C. Rhea
1bcee6a6b4 add work, clarify units 2007-02-12 20:14:16 +00:00
Sean C. Rhea
025072b2ba detect hwecho based on whether the hardware seems to be echoing during
pt_read_version, rather than based on the device name
2007-02-12 03:00:42 +00:00
Sean C. Rhea
772f03eb40 add interval information to ride summary 2007-02-11 20:56:13 +00:00
Sean C. Rhea
8bca6e1a0a add "Export to CSV..." menu option 2007-02-11 20:00:45 +00:00
Sean C. Rhea
b722e74f01 check for unreasonable speeds, and patches from Aldy 2007-02-11 18:40:14 +00:00
Sean C. Rhea
0ca8ac5d94 fixed bug pointed out by Dan Connelly with graph sliders in empty rides 2007-02-10 04:14:48 +00:00
Sean C. Rhea
7c6fe559f0 Fix for crash where ride time is shorter than smoothing. In particular, the
sample ride is shorter than the default smoothing value.
2007-01-29 19:59:04 +00:00
Sean C. Rhea
c89e81077b patch from Aldy to ignore zeros in cadence and hr and optionally in power 2007-01-24 20:23:41 +00:00
Sean C. Rhea
46b316bccc fix NaNs in ride summary 2007-01-21 02:57:02 +00:00
Sean C. Rhea
00fb02a229 bunch of "#include <assert.h>" lines for Andrew Kruse 2007-01-19 17:47:41 +00:00
Sean C. Rhea
54317455c2 metric and csv options from Aldy 2007-01-19 17:00:47 +00:00
Sean C. Rhea
268a7db5cd another patch from Aldy: must compare to NaN with ne, not != 2007-01-17 22:27:32 +00:00
Sean C. Rhea
fcdd853446 -framework Carbon on macx only 2007-01-06 22:30:15 +00:00
Sean C. Rhea
89f95bf362 - fix menubar under Linux
- add Quit to File menu
- treeWidget->setCurrentItem(last) already calls rideSelected()
2007-01-06 22:14:42 +00:00
Sean C. Rhea
8bd40e9b84 error checking: make sure hist starts at or above 0 2007-01-06 22:13:16 +00:00
Sean C. Rhea
dc71d80488 make ~/Library if it doesn't exist (temporary measure for Linux) 2007-01-06 22:12:45 +00:00
Sean C. Rhea
bbf220b3ba got rid of old printf 2007-01-06 22:12:06 +00:00
Sean C. Rhea
35e08228b3 don't add values to powerhist if watts < 0 2007-01-06 22:11:47 +00:00
Sean C. Rhea
bc056eb702 get rid of old printf 2007-01-06 22:11:02 +00:00
Sean C. Rhea
03d913053f add ttyUSB0 to known devices to scan for 2007-01-06 22:10:06 +00:00
Sean C. Rhea
22609913b1 fix for ar 2007-01-06 22:09:46 +00:00
Sean C. Rhea
dc7f83444d no CBAUD on Mac 2007-01-06 20:33:16 +00:00
Sean C. Rhea
c1550aadc6 working on Ubuntu with gcc 4.0 2007-01-06 20:26:31 +00:00
Sean C. Rhea
ccdbac9399 added power hist 2006-12-25 17:48:13 +00:00
Sean C. Rhea
0d37100719 more fixes for Linux from Aldy 2006-12-01 22:51:27 +00:00
Sean C. Rhea
3fafc7bbfa patches for Linux from Aldy Hernandez 2006-11-30 17:10:48 +00:00
Sean C. Rhea
8b367600e6 fix for when there's no wattage information 2006-11-30 16:44:03 +00:00
Sean C. Rhea
509282b0b8 read_one needs to initialize rec_int_ms if it hasn't been already 2006-11-22 21:06:18 +00:00
Sean C. Rhea
1ef0903826 Fixed so that cadence is 0, not 2147483648, in the Ride Summary in a ride with
no cadence data.
2006-09-23 15:56:24 +00:00
Sean C. Rhea
1a9b6c9559 Properly update CPINT after new downloads. 2006-09-19 17:23:16 +00:00
Sean C. Rhea
9bee1e11dd legible axis labels in cpint plot 2006-09-18 18:53:58 +00:00
Sean C. Rhea
d8a1ece836 - Download ride dialog now shows progress better.
- cpint added to GUI
- cpint now handles interrupt properly, deleting partially-computed files
2006-09-17 18:37:48 +00:00
Sean C. Rhea
1d108a3a63 updated 2006-09-07 18:56:37 +00:00
Sean C. Rhea
4eff6b6eb9 Add speed and cadence to the plot and automatically adjust y-axis based on
which lines are displayed.
2006-09-07 18:50:19 +00:00
Sean C. Rhea
3ec3f823b6 fixed a bunch of "in wrong parent; moved to correct parent" bugs 2006-09-07 17:39:22 +00:00
Sean C. Rhea
b443971dd2 don't let time go backwards 2006-09-07 17:17:23 +00:00
Sean C. Rhea
f98e4186c5 make-release.sh should be working now 2006-09-07 01:42:34 +00:00
Sean C. Rhea
a970c4ff4d call qmake if necessary 2006-09-07 01:24:30 +00:00
Sean C. Rhea
d92c5fcb42 should all build now 2006-09-07 00:54:53 +00:00
Sean C. Rhea
e345a93cbc moving things around; won't build for now 2006-09-07 00:11:06 +00:00