Commit Graph

546 Commits

Author SHA1 Message Date
Sean Rhea
b53be32172 less public variables in AllPlot
Also clean up includes and pre-declared classes.
2009-09-27 21:11:53 -04:00
Sean Rhea
a18fea04c7 allocate MetricAggregator on stack 2009-09-27 20:16:55 -04:00
Sean Rhea
8f221b4b71 use QSharedPointer for daily RideMetrics 2009-09-27 20:11:44 -04:00
Sean Rhea
f911ffa9c1 use QSharedPointer for weekly RideMetrics 2009-09-27 20:05:20 -04:00
Sean Rhea
e7e34c107e use a QVector for time_in_zone 2009-09-27 20:00:47 -04:00
Thomas Weichmann
47cc777b04 allow for less wide MainWindow
- Moved Allplot time/distance combobox down next too smoothing slider.
- Rotated allplot plot scale lables to save a little space.
2009-09-27 13:14:17 -04:00
Greg Lonnon
97cb66c128 added smart recording support to TcxParser.cpp
The recording interval can vary. If the recording interval is not 1
second, then the data is linearly interpolated for the time period at
1 second intervals. This allows for smart recording or garmin 705 data
drops to work correctly with GC.
2009-09-27 13:05:09 -04:00
Jamie Kimberley
a15904937d powertap .csv file with speed/cad/hr/power data
Powertap .csv file containing data for speed, cadence, hr, and power.
2009-09-26 16:28:23 -04:00
Jamie Kimberley
a377206c43 Powertap .raw file with speed/cad/hr/power data
Powertap .raw file containing data for speed, cadence, hr, and power.
It also has a few intervals markers which may be useful for verifying
that we handle intervals correctly.
2009-09-26 16:28:23 -04:00
Jamie Kimberley
350cc0ee96 Powertap .raw file with speed/cad/hr, no power
Powertap .raw file generated when using the powertap as a cyclecomputer.
it contains data for speed, cadence, HR but no data for power.
2009-09-26 16:28:23 -04:00
Mark Liversedge
850213b968 report errors up from WkoRideFile 2009-09-26 16:15:59 -04:00
Berend De Schouwer
f3cb9c6fab do not load wko files with zero records
Includes a test wko file that previously caused a crash.
2009-09-26 16:15:06 -04:00
Greg Lonnon
6406973cc0 fix the flashing windows on startup
As it turns out, the show call for tab widgets are handled by the tabwidget
container, so we don't need to call them explicitly ourselves.
2009-09-26 16:00:57 -04:00
Mark Liversedge
f28c360ff5 Parse ergomo csv filenames for date 2009-09-21 21:57:31 -07:00
Mark Liversedge
bff774ad82 Allow upper and lower case suffixes in filenames when importing 2009-09-21 21:57:31 -07:00
Jamie Kimberley
8a205f92d9 Add ergomo CSV ride files to src/test/rides/ 2009-09-21 21:41:44 -04:00
Sean Rhea
9949e175e1 new screenshots
Show off all the cool stuff we've been doing.
2009-09-20 22:26:47 -07:00
Sean Rhea
afd7d8fb1d altitude is always zero in .raw files 2009-09-20 21:56:00 -07:00
Sean Rhea
bc16f3d0a4 delete main window on close
...and set AllPlot's parent so that it gets deleted, too.
2009-09-20 21:34:31 -07:00
Sean Rhea
0cbe39e834 allow altitude plot to go below zero
Also ensure that altitude axis is at least 100 feet/meters tall to avoid
making a flat course look hilly.
2009-09-20 21:22:52 -07:00
Julian Simioni
a8d73e567e Added ride file with altitude below sea level
Added a ride file to the tests where some altitude values are below sea
level.
2009-09-20 21:08:05 -07:00
Sean Rhea
2b7929433d fix spelling of Kimberley 2009-09-20 15:32:57 -07:00
Sean Rhea
406cc4db43 fix weekly summary bug where ride fails to appear
Without this patch, it will occationally be the case that a ride won't appear
in the weekly summary until the ride is itself selected (as opposed to just
selecting some other ride in the same week).
2009-09-20 14:25:52 -07:00
Sean Rhea
8b4fbf0491 don't crash cpint plot when time < 0 2009-09-20 14:14:56 -07:00
Julian Simioni
fcfae4d596 tcx file with time < 0 causes cpint crash
Also added a file for descriptions of test cases.
2009-09-20 14:14:53 -07:00
Sean Rhea
64256bd24a put power and altitude on their own axes 2009-09-20 11:52:35 -07:00
Sean Rhea
83d1903276 use local version of qwt
Add top-level build.pro, gitignore top-level Makefile, point src.pro at our
own qwt dir, and adjust gcconfig.pri.in accordingly.
2009-09-20 11:13:11 -07:00
Sean Rhea
d42c46236b apply many axes patch 2009-09-20 11:09:19 -07:00
Sean Rhea
a3a19caba8 build static qwt lib 2009-09-20 11:09:19 -07:00
Sean Rhea
74e6f9776a add .gitignore files for qwt 2009-09-20 11:09:19 -07:00
Sean Rhea
44b602d775 check qwt-5.2, r588 into repository 2009-09-20 11:07:49 -07:00
Sean Rhea
cc7710b2c7 clarify no SRM download support under Windows 2009-09-20 09:50:22 -07:00
Sean Rhea
ff0e164b6f update web page for release 1.2.0 2009-09-20 08:29:45 -07:00
Jamie Kimberley
c6798b452c clean up wildcard filters in import wizard
Show all supported files as the default and each specific format as a
separate option.
2009-09-20 08:26:01 -07:00
Mark Liversedge
418982b732 wko test file with non-metric units in charts 2009-09-19 19:06:29 -07:00
Mark Liversedge
f238366db9 minor fix to wko chart data processing
Only affects users with non-metric units on standard charts in WKO.
2009-09-19 19:02:07 -07:00
Mark Liversedge
127f136249 unified ride import wizard
All the file import options are now supported by one dialog.  As an extra
special bonus, GC now supports dragging and dropping files to import them.
2009-09-19 18:05:43 -07:00
Eric Murray
b3c31b8c64 fix manual ride BS estimates for rides under 1 hour
also added progress box while calculating BS estimating factors
2009-09-19 09:32:39 -07:00
Eric Murray
e80c5fe6d7 fix manual ride entry crash when no zones file
This is a partial patch based on code from Eric Murray.  It changes just
enough of ManyalRideDialog to fix a crash that otherwise occurs when the
user doesn't have a zones file.
2009-09-19 09:21:53 -07:00
Sean Rhea
7368b76e76 add 95th percentile heart rate to interval summary 2009-09-16 07:24:12 -07:00
Sean Rhea
ed3ff60857 store DataPoints themselves, not pointers, in list
Gets rid of one more pair of new/delete.
2009-09-16 07:22:27 -07:00
Sean Rhea
3ec0897f01 change xyzArrays into QVectors
To match coding conventions and simplify memory management.
2009-09-16 07:22:20 -07:00
Sean Rhea
54044697b9 change smoothXYZ arrays into QVectors
To match coding conventions and simplify memory management.
2009-09-16 07:22:10 -07:00
Sean Rhea
494e4d949e cleanup zone label deletion
Use foreach function to shorten and clarify code.
2009-09-16 07:22:04 -07:00
Sean Rhea
99858423be fix memory error in interval marker code
The previous version of this code contained a memory corruption bug.
QwtPlot deletes all of the items that are attached to it in its
destructor, but the QwtPlotMarkers for intervals were being allocated as a
group with array new.  If we deleted an AllPlot object, then, it would
have tried to delete each of the marker objects individually, rather than
with array delete, which causes memory corruption.  We haven't seen this
bug before because we don't ever delete AllPlot objects (which is a memory
leak in MainWindow).
2009-09-16 07:21:56 -07:00
Sean Rhea
3c771d97d4 allocate altitude pen on stack
Since it's only used for the duration of this function.
2009-09-16 07:20:58 -07:00
Sean Rhea
608c154bc5 allow different interval lengths in tools dialog
Also switch it to being a modeless dialog, so that the user can search through
his/her CP graph to find values to use, and clean up the code a little.
2009-09-12 21:20:53 -04:00
Sean Rhea
f0c2fbf946 fix secs range in best intervals 2009-09-12 21:11:50 -04:00
Sean Rhea
2f6ad86fc7 explain "git commit ." 2009-09-12 16:45:52 -04:00
Sean Rhea
4051016a8b correct commit msg guidelines
first line should be *50* chars or less, not 40
2009-09-12 15:05:28 -04:00