Commit Graph

454 Commits

Author SHA1 Message Date
Claus Assmann
0c08ff093d Need unistd.h for unlink(2). 2009-09-02 10:30:33 -04:00
Justin Knotzke
faf01deb6f Took out a RideCalendar::addRide() Adding a ride debug statement. 2009-09-01 06:38:07 -04:00
Sean Rhea
dc50cf79e6 PowerHist cleanup: trust QVector::resize()
QVector::resize() already does exponential capacity growth and zero fills new
elements, so there's no reason for us to be doing either by hand.  This change
simplifies our code substantially.
2009-09-01 06:19:54 -04:00
Berend De Schouwer
4399d1ad81 RidePlot/ErgomoCSV/ErgomoHU Interval consistency 2009-09-01 06:12:34 -04:00
Berend De Schouwer
86cfac2d9e Calendar add-remove rides 2009-09-01 06:12:34 -04:00
Sean Rhea
a1bbf4d50f bug fix: no altitude in srm files
This bug was introduced in 5c0bdd89, which added an alt member to
SrmDataPoint without initializing it.
2009-09-01 05:38:18 -04:00
Claus Assmann
debd870811 There are more than just 3 OSs, make "Unix" the default. 2009-09-01 05:29:36 -04:00
Robert Carlsen
ad0fdd243e Changed declaration of QMAKE_CXXFLAGS to include possible settings from gcconfig.pri. ( = --> += ) 2009-08-31 11:16:43 -04:00
Sean Rhea
d03defb2da ignore empty include paths 2009-08-31 05:36:17 -07:00
Sean Rhea
a5dd700033 add D2XX_INCLUDE path
Also remove Windows-specific include path in D2XX.h, as setting
D2XX_INCLUDE in gcconfig.pri will accomplish the same thing.
2009-08-30 15:08:48 -07:00
Berend De Schouwer
ec8d3e9949 Add Calendar 2009-08-30 14:49:25 -07:00
Berend De Schouwer
55f0b19ff5 Add altitude for Ergomo CSV 2009-08-30 09:35:10 -07:00
Sean Rhea
75a5d66a6a test csv file with -1 hr values
This cvs file from Phil Skiba contains -1 values for hr that were
crashing the power histogram plot.

This is also the first entry into the test/rides directory, in which I
hope to store all ride files that have ever crashed any version of GC.
2009-08-30 09:25:08 -07:00
Sean Rhea
0200f3189c handle non-standard include/lib paths 2009-08-30 09:03:16 -07:00
Robert Carlsen
acaa6e1f1a Restoring src.pro to use Mac Carbon framework 2009-08-29 18:34:18 -04:00
Mark Liversedge
b37c80f849 Fix .notes created in ~/Library/GoldenCheetah rather than ~/Library/GoldenCheetah/<cyclist>/
Signed-off-by: Robert Carlsen <robert@robertcarlsen.net>
2009-08-29 18:30:27 -04:00
Mark Liversedge
1d85f94f7b Stop .notes file being created in / when browsing through WKO files.
Signed-off-by: Robert Carlsen <robert@robertcarlsen.net>
2009-08-28 18:40:01 -04:00
Mark Liversedge
ce2ae9a8d3 Rudimentary calculation of Distance from Time/Speed when Distance is not available as a graph
Signed-off-by: Robert Carlsen <robert@robertcarlsen.net>
2009-08-27 10:54:56 -04:00
Mark Liversedge
a7023c2ea5 Added Fix for Garmin 205/305
Signed-off-by: Robert Carlsen <robert@robertcarlsen.net>
2009-08-26 14:23:16 -04:00
Robert Carlsen
a970b12f68 Fix for PowerHist crash with HR of -1 2009-08-26 10:47:50 -04:00
Mark Liversedge
d66ca54b41 Updated WKO import to support Altitude in RideFile->appendPoint()
Signed-off-by: Robert Carlsen <robert@robertcarlsen.net>
2009-08-25 13:35:21 -04:00
Mark Liversedge
e9e3262caa Adjustments to wko specific source files 2009-08-25 09:59:23 -04:00
Mark Liversedge
d2efc75948 Added WKO RideNotes, applied style guide, fixed CP calc, check version of file 2009-08-25 09:59:22 -04:00
Mark Liversedge
e281cfb444 Src.pro and MainWindow.h changes for WKO import 2009-08-25 09:59:22 -04:00
Mark Liversedge
3722c3bdf0 Changed MainWindow.cpp to attach WKO file import 2009-08-25 09:59:22 -04:00
Mark Liversedge
59805db47c Initial support for WKO file import 2009-08-25 09:59:22 -04:00
Robert Carlsen
143355459d Fix for swapped cadence and altitude data 2009-08-25 09:22:52 -04:00
Thomas Weichmann
5c0bdd8969 Changes to add altitude data to allplot & elevation gained to ride metrics 2009-08-25 06:18:20 -04:00
Sean Rhea
2be608410a fix inexplicable naming conflict
Somehow this SrmData conflicts with the one in srm.h.  I would have expected
the compiler to flag that, but it didn't.  Weird.
2009-08-24 21:21:44 -07:00
Sean Rhea
bf41ffdb10 use gcconfig.pri for local config 2009-08-24 20:08:55 -07:00
Sean Rhea
0c82211bf6 restructure srm d/l code to improve clarity
Use class wrappers around the srmio library to insure that we always
close every opened device and free all allocated data.  Includes other
little bits of stylistic cleanup.
2009-08-24 20:03:07 -07:00
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