Commit Graph

7 Commits

Author SHA1 Message Date
Keith Reynolds
1234330466 Prevent divide by zero
Prevent use of NULL pointer
Mark params as unused
Delete objects to prevent memory leak
Move new of object to prevent memory leak
2017-03-30 23:38:44 -06:00
Mark Liversedge
87a1f81fdc RideMetric Taxonomy Updates
.. slight adjustment to the scheme (before working through
   303 different metrics)

.. added sport() which can return an OR'ed value of sports
   the metric is relevant for (e.g. Run|Bike) and added
   some shorthand values Triathlon == Run|Bike|Swim whilst
   any is 0xff (matches all).
2017-03-16 19:54:59 +00:00
Mark Liversedge
dd69877896 RideMetric Taxonomy
.. add classification and validity attributes to every
   ridemetric with a default of Unknown and None to get
   things started.

.. next step is to work through each and update based upon
   available evidence. This might be best performed in 2
   passes: first pass where criteria is beyond reasonable
   argument and is unlikely to be disputed, and a second
   pass where evidence has been identified.
2017-03-16 16:42:48 +00:00
Alejandro Martinez
bab562fb46 Deprecated BestIntervalDialog
Added Specification parameter to AddIntervalDialog::findPeaks
So it can be used as a more general replacement for
BestIntervalDialog::findBests and findBestsKPH
2016-07-12 11:23:47 -03:00
Alejandro Martinez
8b0793f2ba Added initialize method and descriptions to MMP Percentage, Fatigue Index and Pacing Index
initialize enables tr() to work since it is ran after translator tables are loaded
2016-03-12 10:51:23 -03:00
Alejandro Martinez
de0b87e41a Added remaining metric descriptions
For plain power and pace peak metrics the name is descriptive enough
2016-03-12 10:51:22 -03:00
Mark Liversedge
4b5201c4c5 Restructure source directory
Introducing a directory structure to make it a bit less
daunting for new developers and perhaps even old hands.

The main folders all start with an upper character, so src
files are now located in;

* Core - Core data structures
* Gui - Main GUI elements
* Metrics - Models and Metrics
* FileIO - Device and File I/O
* Charts - All the chart types
* Cloud - Working with Web Resources
* Train - Anything Train View specific
* ANT - Our ANT+ Stack
* Resources - Images, Translations, Web etc

Apologies to anyone who needs to merge across this update.
2016-02-25 14:51:53 +00:00