Commit Graph

423 Commits

Author SHA1 Message Date
Sean Rhea
20b7c401ad naked new okay for Qt classes with parent pointers 2009-08-24 19:54:32 -07:00
Sean Rhea
59d0b0ede1 coding style guidelines 2009-08-24 19:42:12 -07:00
unknown
086eb6c26b Fixes Win32 Build again 2009-08-22 12:13:06 -04:00
Justin Knotzke
d3ea473f60 This adds timezone support for TCX files. - Julian Simioni 2009-08-21 20:26:47 -04:00
Justin Knotzke
5a453fb210 Misc fixes by Julian Simioni.. Thanks. 2009-08-21 20:22:59 -04:00
Justin Knotzke
3f7938f344 Julian Simioni's patch that uses standard OS directories for storing settings and libraries as well as settings.
USB Stick support still supported.
2009-08-21 19:34:19 -04:00
Sean Rhea
e5ec325caf don't clear/close device if open fails 2009-08-18 04:51:48 -07:00
Sean Rhea
278fd14af7 add option to clear srm memory after download 2009-08-18 04:37:50 -07:00
Sean Rhea
453a398663 fix include path to srmio.h 2009-08-18 03:12:19 -07:00
Sean Rhea
1adbef36e8 add include path for srmio 2009-08-15 17:55:11 -07:00
Sean Rhea
1409d9ec34 use local install of libsrmio.a
Rather than committing the srmio code to the GC repository, let the user
download and build it on their own.  It can be found at

  http://www.zuto.de/project/file/srmio/

or

  git://github.com/rclasen/srmio.git
2009-08-15 17:28:31 -07:00
Sean Rhea
e31db9f837 direct srm d/l -- ghetto, but working
The ghetto part is that we just read the device path out of the device name,
then pass that path directly to Rainer's srmpc_get_data, rather than passing
it an abstraction of a serial port.  As such, this code will only work on
Unix-like operating systems.  But it does work, and that's a good start.
2009-08-15 14:15:46 -07:00
Sean Rhea
d6022ec28c add Prolific 2303 to serial device paths 2009-08-15 14:15:45 -07:00
Sean Rhea
31c3b508bb fix segfault on very short rides 2009-08-15 14:15:45 -07:00
Sean Rhea
9ecf06a334 add qmake file to build static lib 2009-08-15 14:15:45 -07:00
Sean Rhea
83fb5c6968 srmio version 0.0.3 2009-08-15 14:15:45 -07:00
Justin Knotzke
b5f1e64cae Fixed a bug where MPH was always shown in the AllPlot even when Metric was selected. 2009-08-15 07:26:38 -04:00
Eric Murray
e3e1f8fe82 Manual ride entry updates
fix to use last N days worth of rides for BiksScore estimates
fix for skipping some rides in BikeScore estimates
skips rides with zero Bikescore for BikeScore estimates
hitting enter on ManualRide entry dialog doesn't write file
better checking for inputs on ManualRide dialog

Signed-off-by: Robert Carlsen <robert@robertcarlsen.net>
2009-08-12 21:04:36 -04:00
Robert Carlsen
e8a7a4bf4d Fixed constructor bug when using a NULL value and qwt5. ie. unit(NULL) -> unit(0) 2009-08-11 17:15:54 -04:00
Justin F. Knotzke
622516b63d This code should now allow GC to be run off a USB stick.. or the Qollector. If GC finds a Library/GoldenCheetah next to the executable, it will use that location to store all of its settings and Libraries. Otherwise, it reverts to how GC handled settings previously. 2009-08-11 06:07:36 -04:00
Sean Rhea
41063d069d avoid static constructor ordering bug 2009-08-10 21:45:46 -07:00
Sean Rhea
a237779dc8 QString.h --> QString 2009-08-09 22:04:59 -07:00
Sean Rhea
fc4108904f treat hsecsincemidn as a signed integer 2009-08-09 22:04:51 -07:00
Eric Murray
6ce20ccb29 Fixed calculation errors in manual ride BikeScore estimates 2009-08-09 15:43:07 -07:00
Sean Rhea
83ce4d1f59 abstract instructions; use combo for port, too 2009-08-09 15:34:53 -07:00
Sean Rhea
5461e07fcd add combobox to select device type 2009-08-09 15:34:46 -07:00
Sean Rhea
502cb4b60f abstract Device to support multiple device types 2009-08-09 15:34:39 -07:00
Sean Rhea
9624cd03a9 move all PT-specific code out of DownloadRideDialog 2009-08-09 15:34:32 -07:00
Sean Rhea
a01bc21ece localize PT-specific code in DownloadRideDialog 2009-08-09 15:33:49 -07:00
Sean Rhea
f588082449 clean up headers 2009-08-09 15:33:41 -07:00
Sean Rhea
356ee341b2 move calc of d/l status str to PowerTapDevice
...thereby making DownloadRideDialog a little more device-agnostic.
2009-08-09 15:33:35 -07:00
Sean Rhea
563285ab9d move filename calculation to downloadClicked()
...in preparation for moving more of DownloadRideDialog into PowerTapDevice.
2009-08-09 15:33:23 -07:00
Sean Rhea
6dee00e5b8 move PT download code into PowerTapDevice.(h|cpp) 2009-08-09 15:33:16 -07:00
Sean Rhea
6e56b8652f rename PowerTap.(h|cpp) to PowerTapUtil.(h|cpp)
...in preparation for separating out a PowerTapDevice class.
2009-08-09 15:33:02 -07:00
Sean Rhea
b4553ed189 ManualRideDialog doesn't need PowerTap functions 2009-08-09 15:32:54 -07:00
Sean Rhea
1c732ed2cc rename Device to CommPort
I hate to change so many lines of code just for a little rename, but I want to
distinguish between "devices", like the PowerTap and SRM, and "communications
ports", like the serial port and the native D2XX drivers.  This work is in
preparation for adding direct download support for the SRM.
2009-08-09 10:01:00 -07:00
Sean Rhea
f765cef661 fix unused parameter warning 2009-08-09 09:29:11 -07:00
Sean Rhea
e9bae94b83 fix unused variable warnings 2009-08-08 10:39:22 -07:00
Sean Rhea
913b5b6c73 add support for .srm version 7 2009-08-08 10:39:12 -07:00
Justin Knotzke
eb06e3e6d7 Manual patch entry by Eric Murray. Users can now enter in a manual entry
based on distance or time.
2009-08-07 21:31:06 -04:00
Justin Knotzke
ca4278f904 Manual patch entry by Eric Murray. Users can now enter in a manual entry based on distance or time. 2009-08-07 21:25:22 -04:00
Sean Rhea
df9519a027 git replaces svn 2009-08-01 19:33:26 -07:00
Sean Rhea
d79a6f5885 reminder to update web page about git 2009-08-01 14:51:30 -07:00
Sean Rhea
71fcf7ba5d Merge branch 'master' of git@github.com:srhea/GoldenCheetah 2009-08-01 14:23:00 -07:00
Sean Rhea
ad8e5015e1 fix zero-torque bug in PowerHist 2009-08-01 14:04:48 -07:00
Justin Knotzke
d500064da2 Fixed a small bug whereby we weren't deteting Linux correctly (or at all for that matter)
It now uses the standard QMAKE -spec for #ifdefs
2009-08-01 16:52:49 -04:00
Justin Knotzke
9f65afff15 Try to deduce Ergomo filenames when importing into GC as CSV.
Berend De Schouwer

Instead of importing with the creation time -- which is when the file
was downloaded -- attempt to get a more useful time.
2009-07-01 09:28:18 -04:00
Justin Knotzke
07b8d15769 Ergomo CSV files list both a TIME field at column 0, and a PAUSE field
at column 10.

The TIME (L_SEC) field appears to always increment one recording
interval at a time -- however it always increment consistently.  When
there is a pause, the TIME field increments as if there was NO pause.

For example:

   11,   0.015,    0,   0, 12.7,   0,1350.2, 11.7,  0,     0
   12,   0.015,    0,   0, 12.7,   0,1350.0, 11.7,  0,     0
   13,   0.015,    0,   0, 12.7,   0,1350.0, 11.7,  0, 35607
   14,   0.015,    0,   0,  2.9,  70,1095.2,  4.7,  0,     0
   15,   0.021,    0,   0,  2.9,  70,1094.0,  4.7,  0,     0

At the 13th second, there was a pause for 35607 seconds.  The 14th
second is actually the 14+35607 second.

The attached patch loads those files correctly.  This allows the "Ride
-> Split Ride..." menu option to work as expected.

Thanks Berend De Schouwer
2009-07-01 09:20:34 -04:00
Robert Carlsen
f8d6190553 PfPv patch for missing cadence data from Dan Connelly 2009-06-30 00:33:10 -04:00
Robert Carlsen
ee7a953e53 added .gitignore for doc dir 2009-06-26 18:44:41 -04:00