Commit Graph

510 Commits

Author SHA1 Message Date
Sean Rhea
2c138edbc6 build static qwt lib 2009-09-20 11:09:19 -07:00
Sean Rhea
68fbe04441 add .gitignore files for qwt 2009-09-20 11:09:19 -07:00
Sean Rhea
13bd8a1f52 check qwt-5.2, r588 into repository 2009-09-20 11:07:49 -07:00
Sean Rhea
e906b76fa5 clarify no SRM download support under Windows 2009-09-20 09:50:22 -07:00
Sean Rhea
c9391c8500 update web page for release 1.2.0 2009-09-20 08:29:45 -07:00
Jamie Kimberley
7b782a18d2 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
f25e4992b6 wko test file with non-metric units in charts 2009-09-19 19:06:29 -07:00
Mark Liversedge
686573d190 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
6eabaa1709 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
c65a9a8445 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
fc19431f79 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
344678fca3 add 95th percentile heart rate to interval summary 2009-09-16 07:24:12 -07:00
Sean Rhea
161f7745b0 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
c5950c4076 change xyzArrays into QVectors
To match coding conventions and simplify memory management.
2009-09-16 07:22:20 -07:00
Sean Rhea
bda9373e91 change smoothXYZ arrays into QVectors
To match coding conventions and simplify memory management.
2009-09-16 07:22:10 -07:00
Sean Rhea
a6466abbd2 cleanup zone label deletion
Use foreach function to shorten and clarify code.
2009-09-16 07:22:04 -07:00
Sean Rhea
8682cb6da3 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
fc90ce23ee 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
3d10906455 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
7875347b8d fix secs range in best intervals 2009-09-12 21:11:50 -04:00
Sean Rhea
822dd61ab9 explain "git commit ." 2009-09-12 16:45:52 -04:00
Sean Rhea
28ba83490f correct commit msg guidelines
first line should be *50* chars or less, not 40
2009-09-12 15:05:28 -04:00
Sean Rhea
0f50b2bca9 update d/l page to point to devel guide 2009-09-12 14:37:59 -04:00
Sean Rhea
32f6abcffb update faq
- update which version of OS X GC requires
- remove links to books (may add them back elsewhere some day...)
- remove old question about ptunpk
2009-09-12 14:32:34 -04:00
Sean Rhea
3d303f3bad remove done items from wishlist 2009-09-12 14:31:30 -04:00
Sean Rhea
7d069be6e9 add new developer's guide 2009-09-12 14:26:42 -04:00
Sean Rhea
7c613e81b8 remove google ads 2009-09-12 14:26:42 -04:00
Mark Liversedge
46afb44c05 Optional padding data with value 0x8012 discovered 2009-09-12 11:57:14 -04:00
Berend De Schouwer
672b2fcb34 SplitRide altitude matches CSV2 2009-09-12 11:54:33 -04:00
Sean Rhea
adbcfacdb6 simplify GC_BUILD_DATE and GC_VERSION
Use gcc macros for __TIME__ and __DATE__ to compute build date.  This has the
advantage that we don't have to shell out to find the date, though it has the
disadvantage that it doesn't give us any control over format, nor does it
report the time zone.

By default, set GC_VERSION to "(developer build)".  For release versions,
specify GC_VERSION explicitly in gcconfig.pri like this:

  QMAKE_CXXFLAGS += -DGC_VERSION="'\"1.2.0\"'"

It would be nice to specify the git commit id in developer builds.  On the
other hand, the developer could always have uncommitted changes, so the git
commit id doesn't really make for a completely reproducible build.  It's also
a pain to get ahold of in Windows.
2009-09-11 09:13:20 -04:00
Mark Liversedge
28c54484de WKO Import no longer aborts bulk import on first file error. 2009-09-11 09:13:20 -04:00
Justin Knotzke
d8f5a13069 main and RideItem now use the global function that returns the correct QSettings. 2009-09-11 08:49:20 -04:00
Justin Knotzke
d5c7fe2f8d Added to what Greg has done in regards to GC's settings. Fixed a bug regarding where power.zones file was being saved to. 2009-09-11 08:49:20 -04:00
Greg Lonnon
178fa8278d the settings code was leaking and it was copy/pasted in a few files.
created a method to find QSettings (settings.h) and stopped it from leaking.

The leak looked like this...

==7800==    at 0x4C2726C: operator new(unsigned long) (vg_replace_malloc.c:230)
==7800==    by 0x64FD232: (within /usr/lib/libQtCore.so.4.5.0)
==7800==    by 0x64FDB62: QSettings::QSettings(QString const&, QString const&, Q
Object*) (in /usr/lib/libQtCore.so.4.5.0)
==7800==    by 0x4738E5: PfPvPlot::setData(RideItem*) (PfPvPlot.cpp:361)
2009-09-11 08:49:20 -04:00
Julian Simioni
563d19e246 tcx ride requiring AltitudeMeters 2009-09-10 21:27:04 -04:00
Julian Simioni
5840626e56 Fixed altitude in .tcx files.
One-liner to correctly parse altitude in Garmin .tcx files.
2009-09-10 21:21:59 -04:00
Mark Liversedge
a88029e793 Added support for Cycleops 300PT in WKO import 2009-09-10 21:14:55 -04:00
Justin Knotzke
9595e6c188 Changed the label from mm to m as that's what is displayed. 2009-09-09 07:25:57 -04:00
Berend De Schouwer
c9a7669046 Fix PfPV divide 1000 2009-09-09 07:17:43 -04:00
unknown
b82f7be7e9 Fixes editing of notes
Signed-off-by: Robert Carlsen <robert@robertcarlsen.net>
2009-09-08 18:25:50 -04:00
unknown
d85fba860e Fixes major bug putting AppData in wrong place on Vista & Win7
Signed-off-by: Robert Carlsen <robert@robertcarlsen.net>
2009-09-08 18:25:42 -04:00
Robert Carlsen
179ee500f5 Update version number to 1.2.0 for imminent release. 2009-09-07 19:45:48 -04:00
Greg Lonnon
8e3eb2f300 fixed the following use of a uninitialized variable
==30062== Conditional jump or move depends on uninitialised value(s)
==30062==    at 0x49070E: ElevationGain::perPoint(RideFilePoint const*, double, RideFile const*, Zones const*, int) (BasicRideMetrics.cpp:114)
==30062==    by 0x491592: PointwiseRideMetric::compute(RideFile const*, Zones const*, int, QHash<QString, RideMetric*> const&) (RideMetric.h:54)
2009-09-07 12:27:08 -04:00
Rhea@.(none)
1e1c0728a5 rearrange src.pro for Windows 2009-09-06 19:30:03 -04:00
Berend De Schouwer
b7fa71f11e Use CSV filename as timestamp 2009-09-06 18:35:49 -04:00
Sean Rhea
13575143e8 try three times to get PT version string
Sometimes we miss the 'V' in 'VER' on the first one, but a subsequent one
lines up right.  Patch from Dan Connelly.
2009-09-06 18:25:43 -04:00
Sean Rhea
212a59c3d1 turn off tooltips in PowerHist
With some versions of Qt/Qwt, tooltips cause an infinite recursion.  We don't
know why this happens yet, but this patch at least prevents crashes while we
figure it out.
2009-09-06 14:13:31 -04:00
Sean Rhea
5d45793b27 remove unused functions 2009-09-06 14:08:19 -04:00
Justin Knotzke
d5605dab66 This should never have made it to github
Revert "Revert "First line of Notes in WKO imported file now has sport followed by workout code. Improves Calendar display.""

This reverts commit 3567012046.
2009-09-05 22:32:33 -04:00
Justin Knotzke
291a6821a3 This should never have made it to github.
Revert "Revert "guard against all negative values in PowerHist""

This reverts commit d785ca5a0f.
2009-09-05 22:31:47 -04:00