Commit Graph

858 Commits

Author SHA1 Message Date
Robert Carlsen
19e023928b Updated doc/Makefile for new content.
Added cyclist-info.png to the install directive.
Edited the rsync path to reflect the absolute rather than relative path
to the www root for the goldencheetah website.
2010-01-24 13:22:34 -05:00
Jamie Kimberley
0f0ee9e36e Update power.zones info in users guide
Updated web documentation to describe the three methods that we have in
place to set the CP value in the power.zones files.
2010-01-24 13:17:22 -05:00
Mark Liversedge
391fc7b9c9 True Interval Patch, second part
The best interval dialog rounded intervals to the nearest second
due to a casting of a double to int. This was introduced by Mark L
during the intervals code patch and is an error.

All the plots have now been adjusted to correctly determine if a ride
point is within an interval. Related cropping and binning issues in
3d plot an Histogram plot have also been corrected.

fixes #15
2010-01-20 08:28:42 -08:00
Sean Rhea
dbb8429665 fix BestIntervalDialog
The small test file doesn't catch this bug, but just about
any real file does.  Grrr.
2010-01-19 10:55:54 -08:00
Sean Rhea
d9e9fe1d22 fix fencepost errors in Ride->Find Power Peaks
Also removes nasty cut-and-paste from BestIntervalsDialog.

Tested successfully on test/rides/2010_01_13_*.gc.
2010-01-18 11:56:35 -08:00
Sean Rhea
e2deb1fc99 extract core functionality into static function
...so that we can use BestIntervalDialog::findBests elsewhere in the code.
2010-01-18 11:54:42 -08:00
Sean Rhea
16f3032b3f fix fencepost errors in BestIntervalDialog
This is almost a complete rewrite of the functional part of the dialog.
I've tested it on both test files (2010_01_13_*.gc in test/rides).
Thanks to Mark L for pointing out a number of the problems.
2010-01-18 11:34:01 -08:00
Sean Rhea
075829500f remove eol spaces -- no functional change 2010-01-18 11:32:07 -08:00
Sean Rhea
3dab200560 test file for finding interval fencepost errors with recInt=1.0 2010-01-18 11:32:07 -08:00
Mark Liversedge
0be592cab5 test file for finding interval fencepost errors with recInt=1.26 2010-01-18 11:31:57 -08:00
Mark Liversedge
7754f9a0a3 replace import pragmas with includes
import is deprecated and is almost certainly not what was originally
intended, since it is used to include Qt and GC header files.

fixes #22
2010-01-18 08:27:42 -08:00
unknown
0b36db91d0 Add OpenGL, GCC4 and 3d DLLs to Win32 nsi
When building an installer the nsi file needed to be
updated to reflect new DLL dependencies introduced by
the Model plot.

Additionally, Qt 4.6 is built using gcc 4.4 and now
requires the associated runtime dll.

fixes #21
2010-01-18 08:26:50 -08:00
Sean Rhea
699cd73b6a appsettings can't be false
Also note the use of a default value as the second
argument to appsettings->value().
2010-01-17 21:19:10 -08:00
Mark Liversedge
4d1783276c fix 3d plot performance issues
Scrolling up and down the ride files is painfully slow when
3d is compiled in. This patch uses a setActive mechanism in
the same fashion as the pfpv and performance manager tabs.

Additionally, a recent patch to support user preferences for
units added a settings lookup that was called for every point.
This is also fixed.

fixes #16
2010-01-17 21:18:53 -08:00
Sean Rhea
195937f186 ignore intervals that start after the end of the ride
fixes #17
2010-01-17 21:02:12 -08:00
Sean Rhea
9509e083b7 remember smoothing across restarts
fixes #18
2010-01-17 20:54:47 -08:00
Sean Rhea
29487ed774 mark warnings as such in import wizard 2010-01-17 20:40:32 -08:00
Sean Rhea
f2ae215d4b no decimal point for elevation gain metric
Thanks to Tom W for pointing this out.
2010-01-17 20:19:45 -08:00
Rainer Clasen
99b6e1ba71 Don't reread downloaded SRM files
Get the start timestamp directly from the downloaded data. No need to read
the written data, again.
2010-01-16 13:04:09 -08:00
Rainer Clasen
2f9f44ee9d fix SRM download when there is no data
When you're trying to download data from an empty PCV, srmpc_get_data()
returns a data structure without chunks. This will cause srm_data_write()
to fail.
2010-01-16 13:01:21 -08:00
Keisuke Yamaguchi
b1137801be Added translation support for RideImportWizard Finish/Abort button
fixed bug "when non-English language is selected, Import Wizard
cannot be closed/aborted with abortButton".
2010-01-16 10:35:48 -05:00
Rainer Clasen
0eb650f544 report error detail on SRM download failure
While SrmDevice is catching errors returned by srmpc_get_data, it doesn't
decode + report what kind of error (errno).

Adjusted message to include the returned error.
2010-01-15 23:14:37 -05:00
Robert Carlsen
d543fe45f9 Adding slash in default library path for Windows 2010-01-15 09:13:26 -05:00
Robert Carlsen
f5dab4d9dd Modify .gitignore to omit "tags" dir created by ctags for vim 2010-01-15 08:49:47 -05:00
Thomas Weichmann
bb58138e26 respect user's units pref in 3d plots
fixes #14
2010-01-13 08:28:15 -08:00
Jamie Kimberley
4d3c208908 Show power and cadence in stationary tcx files
Minor change to handle how duplicate records in tcx files are handled.
This allows for power and cadence to be properly displayed for rides
with no distance information (e.g. trainer rides).
2010-01-13 08:23:41 -08:00
Mark Liversedge
a89ebacac0 support Windows in Serial.h|cpp
The serial code was Linux/Mac only and utilised termio/tcsetattr
functions that were not available on Windows platforms. This patch
ports the serial code to the Windows APIs using the same approach
as the Computrainer.cpp code.  It allows us to support old-style
serial download cables on Windows.  (We already supported them on
Mac and Linux.)
2010-01-11 08:01:38 -08:00
unknown
9920afdb4d update french translation 2010-01-10 11:07:57 -08:00
Mark Liversedge
2b580ca6fd Fix 3d cosmetics and CPV/AEPF channels
The pedal force channel was incorrectly named - it should have been
the torque value. The AEPF/CPV values are derived from the power
cadence and cranklength. This is corrected with this patch.

Additionally, the axis labels positioning has been amended to be
more appealling and position more appropriately.
2010-01-10 10:45:15 -08:00
Sean Rhea
5d7168bc65 bug fix: don't lose intervals when spliting rides 2010-01-10 10:42:52 -08:00
Sean Rhea
6d759b8d1d fix unused variable warning 2010-01-10 10:07:57 -08:00
Mark Liversedge
68845644f6 WKO Parsing Dist Chart Fix
The bodge to manage so-called 'optional padding' which led to the
need to keep updating constants like 0x8014 et al was caused by a
misunderstanding of how Distribution Charts are recorded in a WKO
file.

This patch correctly decodes these segments of a WKO file and as
a result remove the need for the optpad2 function. There are still
some 'weird' constants that are parsed, but these are limited to
the artefacts resulting from the fact that the WKO software uses
MFC persistent object format to write the file data and these
constants reflect the POF Archive PIDs.
2010-01-10 10:06:18 -08:00
Mitsukuni Sato
2d3f26fed2 translate to japanese (5 Jan 2010) 2010-01-10 10:03:08 -08:00
Chris Cleeland
65b9c14255 allow a calendar popup
Interestingly, Chris Cleeland, and apparently only Chris Cleeland, can't
enter manual rides for dates in the past without this patch.

Fixes #7.
2010-01-06 08:21:07 -05:00
Jamie Kimberley
a812b6ea08 website now has developer guide for tracker
Updated the documentation on the website to include some guidelines
for developers worknig with the issue tracker.
2010-01-06 08:11:52 -05:00
Steve Gribble
d58d7dedaf Fix float parsing bug that manifests on Qt4.6 and later.
This file relies on Qt's QDataStream to handle the parsing
of primitive C types from Computrainer .3dp files, including
floats.  In Qt4.5 and earlier, Qt defaulted to 32 bit
floats.  In Qt4.6 and later, Qt started using 64 bit
floats by default.  As a side-effect, parsing broke on
Qt4.6, leading to a crash when importing or using .3dp files.

This patch fixes the issue by using QDataStream's
"setVersion()" method to tell Qt to use the Qt4.0 serialization
format for the QDataStream used in this file.  This
patch does not affect any other files.  This patch
should make the formatting assumptions both backwards
and forwards compatible.
2010-01-05 22:56:59 -05:00
Sean Rhea
e76247a25b remove ride map from RideCalendar
I think the previous implementation could have referenced already-deleted
RideItem objects during calls to Split Ride.

This commit removes the calendar's own map of RideItems, and instead
uses the list of rides in MainWindow::allRideItems.  Because I use
binary search on that list, this implementation should be just as fast
as the old one.  But because I don't hang on to any RideItem pointers
beyond a single call to RideCalendar::paintCell, it shouldn't be
vulnerable to referencing already-deleted RideItem objects.
2010-01-04 09:00:43 -05:00
Jamie Kimberley
ea8fe63abd Add documentation for our issue tracker
Added instructions and links for submitting bug reports and feature
requests to the website documentation.
2010-01-03 17:24:23 -05:00
Sean Rhea
0243a8640c mark prefers red, too 2010-01-03 12:41:17 -05:00
Mark Liversedge
12230958d6 Show Daily Stress on Performance Plot
Since the daily stress values are readily available
from the stress calculator this patch shows them on the
chart to show the make-up of the training that has resulted
in th short term and long term stress scores.

Ideally, we would also show the relative intensity for each day
too so you can view, at a glance, the intensity AND volume of the
ongoing training load -- but the intensity is not readily available
in the calculator or the stress.cache file.
2010-01-03 11:36:20 -05:00
Sean Rhea
f42a093d4d use ExtendedSelection in intervalWidget 2010-01-02 19:00:02 -05:00
Sean Rhea
0edc94d00a bug fix: integer division error
I introduced this bug in commit 23b2ff4.
2010-01-02 17:06:41 -05:00
Sean Rhea
86df4288da note about version 1.7 of ftdi drivers 2010-01-02 15:43:16 -05:00
Sean Rhea
23b2ff416c add Daniels Points to manual ride entry
And estimate them based on time/distance just like we do with BikeScore.
2010-01-02 13:17:31 -05:00
Sean Rhea
56b1af8b44 remove unused variables 2010-01-02 13:01:31 -05:00
Sean Rhea
9b6b50c92d float --> double 2010-01-02 12:59:35 -05:00
Sean Rhea
8c65bf88a8 ignore manual rides when estimating BikeScore 2010-01-02 12:55:33 -05:00
Sean Rhea
46db59eec1 ignore rides that don't load properly
Need to call item->ride() in order to load the ride, and should ignore those
for which the result is NULL.  Do this after checking the date, though, so
that we don't load older rides into memory.
2010-01-02 12:52:58 -05:00
Sean Rhea
400fd23692 bug fix: segfault on manual ride entry if no rides 2010-01-02 12:47:50 -05:00
Sean Rhea
10ec613843 remove tabs and eol spaces, no functional change 2010-01-02 12:45:31 -05:00