Commit Graph

4112 Commits

Author SHA1 Message Date
Mark Liversedge
2b4c328071 JSON Strings and GC Tokens
.. fix json writing so that user metadata no longer conflicts
   with the tokens used by GoldenCheetah, e.g. a user entered
   "NM" in the workout code and that conflicted with the
   token used to delimit a torque value.

.. all user strings are now saved with a space " " appended to
   the value and when read, if there is a trailing space it is
   removed.
2014-11-12 06:35:01 +00:00
Mark Liversedge
4dcde2a8ca Fast W'bal integration
Dave Waterworth has fixed my implementation of W'bal to
remove my "optimisations" and fix the math.

The W'bal is now computed in a single pass and is just
as fast as the differential form from Andy Froncioni but
has the benefit that is still uses Tau.

Many thanks to Dave, and I'll write this up shortly.

Conflicts:
	src/DBAccess.cpp
	src/WPrime.cpp
2014-10-11 18:32:35 +01:00
Mark Liversedge
1f00790069 Add Labels on Matches in Ride Plot
.. makes it easier to scan and see where it got to without
   having to mouse over the points one by one
2014-10-11 18:25:15 +01:00
Joern
7a9d068949 Ride Navigator - Table View - Columns resizing improved
... improved resizing by not changing other column sizes in "resizing"
... considering keeping a minimum column size of 20
... consideringkeeping all columns within the visible widget space
2014-10-08 20:15:23 +01:00
Joern
a49d4d712c Last Opened Athlete stored
... last opened was not stored any more in 3.1 final build
2014-09-19 15:02:44 +01:00
Mark Liversedge
39b752c24a Initialise Record count WKO+ file reader
.. don't accept an empty wko+ file.

Fixes #1064
2014-09-19 15:00:01 +01:00
Mark Liversedge
d7dfbae3a5 Fix RideNavigator No Focus text color
.. was gray on gray which didn't work well !
2014-09-19 11:05:32 +01:00
Joern
6621352551 Fix "JSON char > 127 codepage problem""
[cherry-picked from master]
2014-09-04 21:21:52 +01:00
Mark Liversedge
ec620db595 Fix Crash on Clear during LTM compare seasons
.. initialising settings too late.
2014-08-22 19:10:58 +01:00
Alejandro Martinez
b18fa9a254 Spanish translation fixes contributed by Omar Torres (omar.torres@gmail.com) 2014-08-22 16:43:12 +01:00
Alejandro Martinez
f43b1f1ff0 Fixed spanish translation error reported by 3.1 user 2014-08-21 18:23:56 +01:00
Mark Liversedge
1f48123bd2 Fix Constant Alt Initialisation Bug
.. now inits the bool.
2014-08-20 08:40:31 +01:00
Mark Liversedge
cf2111829c Set start time/km to zero
.. when opening a ride file.
2014-08-19 19:51:10 +01:00
Mark Liversedge
13e635590d Template announcement
.. for posts to the usual websites

   * bikeradar
   * weight weenies
   * wattage google group
   * timetriallingforum.co.uk
   * golden cheetah announce, users, developers

Will require formatting into the markup each site requires
but will take the effort out of formulating text
2014-08-18 08:58:42 +01:00
Mark Liversedge
bec97631ce Merge pull request #1019 from jonbev/WikiConvertor
Fix links in FAQ index page
2014-08-18 09:19:27 +02:00
Jon Beverley
18a2422e3c Fix links in FAQ index page 2014-08-18 08:18:26 +01:00
Mark Liversedge
fbdf1c1315 Merge pull request #1018 from jonbev/WikiConvertor
Wiki convertor
2014-08-17 22:55:03 +02:00
Jon Beverley
a889dd7d1f Add Wiki Convertor
Will run on linux with mono installed. Haven't tried Mac's.
2014-08-17 21:48:17 +01:00
Mark Liversedge
b766d3c425 Version 3.1 Release
.. update of build and upgrade processing for
   release 3.1 final update.
2014-08-17 20:26:10 +01:00
Mark Liversedge
c0058a69e0 Merge pull request #1017 from Joern-R/pullwiki1
Wiki Update
2014-08-17 10:38:22 +02:00
Mark Liversedge
31fe5cdff0 Merge pull request #1016 from Joern-R/pull7
Fix - AllPlot - Smoothing
2014-08-17 10:37:52 +02:00
Mark Liversedge
9a752917b3 Merge pull request #1015 from Joern-R/pull5
Fix - Compare Rides-Summary Page: AvgHR, AvgPw,... = 0
2014-08-17 10:36:34 +02:00
Joern
28be3d9252 Wiki Update
... Zoom Feature in All Plot
2014-08-16 19:05:58 +02:00
Joern
cd6ae4b0eb Fix - AllPlot - Smoothing
... values in the ride plot deviate from the ride data since smoothing
takes place even if the sample time is equal to the smoothing interval
(for which the expectation is that the original samples are plotted)
2014-08-16 17:03:03 +02:00
Joern
0f10bcec0f Fix - Compare Rides-Summary Page: AvgHR, AvgPw,... = 0
... if a metric occurs in more than section (total, avg, maxima,
metrics) the value on the Ride Summary Chart in CompareRides mode
displays "0"
2014-08-16 12:28:01 +02:00
Jon Beverley
d081aa78e6 Ignore 2014-08-15 09:04:14 +01:00
Mark Liversedge
5b5c83247e Merge pull request #1012 from Joern-R/pull4
Fix - .JSON import of chars > 127 on QT5 problem (leading to ? in text fields)
2014-08-14 21:27:10 +01:00
Joern
4f02298be1 Fix - .JSON import of chars > 127 on QT5 problem (leading to ??? in texts)
... on QT5 the conversion of chars > 127 did not work (ending with ???)
when loading a .JSON ride file
... by this change the implicite type cast (char to QString) when
calling "unprotect" does not take place any more, so the lexer string
must be 'Local8Bit' to what is has been converted when reading the file
... again QT has changed behavior of locale related processing in QT5
(all this worked fine in QT4)
2014-08-14 16:00:00 +02:00
Mark Liversedge
8f64dfd922 "Fix" some cppcheck warnings
.. these are trivial changes that are mostly to adjust syntax
   used in the code so cppcheck doesn't get confused.

   Thanks to Bart Coddens for pointing these out.

   CppCheck is available from:
   https://www.icts.uiowa.edu/confluence/display/BRAINSPUBLIC/Using+Cppcheck+To+Produce+Better+Code
2014-08-13 09:14:44 +01:00
Mark Liversedge
093a2c9083 Science doc update from review
.. LT1/LT2 definitions
2014-08-10 22:09:40 +01:00
Mark Liversedge
87a748e133 Minor fixup to FAQ 2014-08-10 21:30:50 +01:00
Mark Liversedge
013e2b51a0 3.1 FAQ Updates
.. minor changes to reflect how things now work in 3.1
2014-08-10 21:17:18 +01:00
Mark Liversedge
b00b7921af 3.1 Release Notes 2014-08-10 20:41:26 +01:00
Mark Liversedge
f9552f280a Avoid saveState() warning on object name
.. by setting it for the unified toolbar on a Mac.
2014-08-10 16:16:09 +01:00
Mark Liversedge
fff6d51306 Add Lactate Threshold section to Science Doc
.. inspired by Prof Seilers layman's document on Lactate Threshold.
   [may still be available here: https://www.dropbox.com/s/vgxjbo32i0o94nt/The%20Lactate%20Threshold_Seiler.pdf]
2014-08-10 13:58:58 +01:00
Mark Liversedge
181aad1205 Merge pull request #1010 from Joern-R/pull3
Small-Plot - wrong Axis Scaling and Labels
2014-08-10 13:33:13 +01:00
Joern
f53700ec84 Small-Plot - wrong Axis Scaling and Labels
... wrong Axis IDs causing the following problems
... X-Axis - not considered time, but high (wrong label/wrong scale)
... Y-Axis - altitude curve not properly scaled
... use similar minimum scale for altitude like AllPlot
... attach Alt-curve first (to be in background)

(used/tested at HrPw window, Split Activity Wizard, Merge Activity
Wizard)
2014-08-10 14:22:49 +02:00
Mark Liversedge
625b6b5c95 Don't blank CP chart in trends
.. when there is no ride selected / manual entry because
   we plot a date range not a single ride !
2014-08-10 10:11:51 +01:00
Mark Liversedge
14fa483fcf Merge pull request #1008 from Joern-R/pull2
Wiki - HR-vs-Power
2014-08-09 18:34:42 +01:00
Joern
47749be4de Wiki - HR-vs-Power
... added HR vs Power chart explanation to Wiki
2014-08-09 18:07:06 +02:00
Mark Liversedge
a45cb70ca6 Merge pull request #1002 from jonbev/WindowsWindowState
Reopen window in maximised state (windows)
2014-08-08 21:17:11 +01:00
Jon Beverley
50e7237c27 Change to use Qt saveState & restoreState
Should work on Win, Mac & Linux.
2014-08-08 11:16:04 +01:00
Jon Beverley
d1aa091392 Revert "Ignore"
This reverts commit 7e3d8dcaaf.
2014-08-08 11:13:48 +01:00
Mark Liversedge
c9bc417635 remove global QApplication *application
.. it is available from the macro qApp anyway.
2014-08-07 22:25:03 +01:00
Jon Beverley
734842214c Ignore 2014-08-07 14:51:27 +01:00
Mark Liversedge
512eab3aea Merge pull request #1003 from Joern-R/pull1
Translation DE
2014-08-06 14:14:17 +01:00
Joern
f2dbca1988 Translation DE
...  small corrections
...  adding final texts
2014-08-06 15:11:10 +02:00
Mark Liversedge
8ca1f34fe4 Hr:Pw marker color nit 2014-08-06 11:01:15 +01:00
Jon Beverley
93ecbcb044 Reopen window in maximised state (windows) 2014-08-06 09:49:22 +01:00
Mark Liversedge
b8176af083 Merge pull request #999 from Joern-R/pullwiki
Wiki - Pictures - Initial delivery
2014-08-05 18:35:59 +01:00