Commit Graph

10409 Commits

Author SHA1 Message Date
Alejandro Martinez
fa8eb0b6da DataFilter parser - remove warnings and avoid crash on syntax error
- Crash on syntax error happened on <leaf> destructor and the cause
  was tokens declared as <leaf> but not creating a leaf, to avoid
  this a new <string> type without destructor was added for them.
- Warnings indicated semantic value not set for some rules due to
  the lack of $$ = $1, likely bening, but lets avoid it.
v3.6-RC3
2022-10-28 17:24:10 -03:00
Alejandro Martinez
5a77180957 Enable builds using bison 3.7 or higher
[skip ci]
Fixes #3586
2022-10-27 13:54:34 -03:00
Alejandro Martinez
50a027ad70 Update Italian translation
Contributed by https://github.com/gicif, Fixes #4283
2022-10-27 10:36:56 -03:00
Alejandro Martinez
a99cc3305e Datafilter - Add Compound case to Leaf::toString
For debugging and completenes
2022-10-26 18:01:01 -03:00
Alejandro Martinez
6f4da994a2 Strava download - avoid crashes when lap swim file has 0 lenght lap
Includes sample file from users forum
2022-10-26 11:20:43 -03:00
Alejandro Martinez
8946c53650 Update default Favourite Metrics
To include Time Recording, Time Moving and Running Cadence.
2022-10-25 20:53:51 -03:00
Alejandro Martinez
92ab04ac8a Upgrade bison to v2.7 for macOS builds on Travis-ci
[skip AppVeyor]
This is the minimum change to be able to use %destructor in
DataFilter.y, the same version is used for Windows builds.
2022-10-24 14:09:49 -03:00
Mark Liversedge
cfa767a854 VERSION 3.6 RC3 DEVELOPMENT BUILD
.. another release candidate prior to release

[publish binaries]
2022-10-23 11:51:54 +01:00
Alejandro Martinez
9af08b7f3c Release memory when DataFilter parsing fails
This is a continuation of 523ffcc, %destructor bison
directive is used to clean and delete Leaf nodes
allocated and discarded by the parser.
Hopefully fixes #4249
2022-10-22 17:22:23 -03:00
Alejandro Martinez
523ffcc702 Avoid crashes when DataFilter parsing fails
This started to happen after #4277, problem is when parsing fails
treeRoot can point ot non Leaf objects. This does not happens when
parsing from the DataFilter constructor since treeRoot is forced
to NULL on errors, this commit does the same for check and parseFilter.
Remaining problem is the memory leak in these cases, which are frequent
when editing filters in User or LTM charts as explained in #4249
2022-10-20 20:27:19 -03:00
peret2000
5c4f6e1f82 Upgrade Python AppImage version for Linux builds (#4281)
Python 3.7.14 AppImage is no longer available, upgrade to 3.7.15
2022-10-18 14:25:51 -03:00
Alejandro Martinez
761e0527a2 Change DataFilter lexer to process non ASCII string constants
Fixes #4278
2022-10-18 11:18:33 -03:00
Alejandro Martinez
fd3bab7e85 Add swimscore.pdf and govss.pdf to repository
[skip ci]
They are no available anymore from the original source
Fixes #4279
2022-10-18 10:43:41 -03:00
Alejandro Martinez
327150d659 Add DataFilter destructor calling clearFilter to release memory
The crash documented in #4249 was related to the conversion of
Leaf of type Symbol to Function when () are found afterwards.
This is fixed in this commit, but more testing is necessary to
see if there are other cases.
2022-10-16 15:58:37 +01:00
Alejandro Martinez
d5905d92d0 Leaf::clear - delete container elements after clear 2022-10-16 15:58:37 +01:00
Alejandro Martinez
10c2660f0b clearFilter - release memory avoiding crashes
clearFilter - delete root Leaf
Leaf constructor: initialize left,right and cond to null pointers
Leaf::clear avoid crashes when called with a null pointer parameter,
and release memory in all cases allocated in the parser
TODO: still crashes if called from DataFilter destructor, see #4249
2022-10-16 15:58:37 +01:00
Alejandro Martinez
82e79fa898 Disable Leaf::clear method to avoid crashes
Lets avoid crashes until #4249 is fixed
2022-10-09 10:46:22 -03:00
Alejandro Martinez
8860d5da08 Don't show the option to hide Activity labels in Options > Apperarance
Since it is commented out in RideNavigator.
TODO: cleanup if this is not useful anymore
2022-10-02 19:43:35 -03:00
Alejandro Martinez
746cea2d26 Add Preferences > Intervals image for the wiki
[skip ci]
2022-10-02 15:58:31 -03:00
jgpallero
edfc3ba642 Small syntax correction in Spanish translation (#4275) 2022-10-01 17:39:27 -03:00
Alejandro Martinez
a6338ee381 Update Share menu image for the wiki
[skip ci]
2022-10-01 10:58:18 -03:00
Alejandro Martinez
234bdb67e6 Add Equipment chart to default Trends layout
Contributed at the forum, it is a nice example of User Chart,
and it allows a general exploit of the Equipment data field.
2022-09-28 12:24:27 -03:00
Alejandro Martinez
b43723e8ff Use default Overview configuration when replacing old Summary charts
They are likely more useful for existing users and, hopefully,
they will produce less user complains than blank Summary charts.
2022-09-26 21:35:23 -03:00
Alejandro Martinez
6b15b7e50e kml files are not supported for import
Just as output files for Google Earth et. al.
Fixes #4271
2022-09-25 19:54:18 -03:00
grauser
7b64448912 fix(xert):name can be utf8
[publish binaries]
2022-09-15 14:15:11 +02:00
grauser
925d5c3521 fix(oauth):correct nolio secret param name
[publish binares]
2022-09-15 12:50:23 +02:00
Alejandro Martinez
0185080f3f Upgrad Python AppImage version for Linux builds
[skip AppVeyor]
Python 3.7.13 AppImage is no longer available,
upgrade to 3.7.14
[publish binaries]
2022-09-09 19:19:19 -03:00
Alejandro Martinez
3b528f8a12 Update VERSION36_BUILD and generate snapshots
Missing from RC2 build, also include the fix to avoid crashes when
myPerspective is not set in existing charts and default layouts
without R charts to avoid #4267 for newly create athletes.
[publish binaries]
2022-09-09 18:12:10 -03:00
Alejandro Martinez
56500cf357 R Chart API - Add missing constants 2022-09-08 10:21:42 -03:00
Alejandro Martinez
eca82afa4e Wiki - Remove old scope bar image 2022-09-08 10:20:58 -03:00
Alejandro Martinez
abde31ecc3 Wiki - Update UILayout_MainWindowElements image
[skip ci]
Contributed by Marcen at the users forum
2022-09-06 20:38:57 -03:00
Alejandro Martinez
1be14feb6d Wiki - Update Help Menu
[skip ci]
2022-09-06 14:12:37 -03:00
Alejandro Martinez
0d30d446f8 Avoid crashes if perspective is not set
Continuation of fbae10f
2022-09-06 10:18:46 -03:00
Alejandro Martinez
fbae10f103 Avoid crash in CP chart when perspective is not set
This was reported at the forum and it is reproducible with
the supplied home-perspectives.xml, it was likely generated
by an older version, but lets get defensive just in case.
2022-09-05 12:39:08 -03:00
Alejandro Martinez
cc6738bdf5 Remove R charts from default layouts
SS-RR and Tri Mix replaced by Python versions
contributed by Fe at the users forum.
The intention is to avoid triggering #4267
2022-09-05 11:51:44 -03:00
Alejandro Martinez
7d7ed5cfb3 Fix drag and drop to compare pane issues for v3.6
- DragDropMode is changed from InternalMove to DragDrop in RideTreeView,
  this enables compare of activities again
- DragDropMode is changed from InternalMove to DragDrop in SeasonTreeView,
  MoveAction is made the default action and dragEnterEvent ignores
  events other than move or from other origins. This avoids compared
  date ranges loosing their names.
- DragDropMode is changed from InternalMove to DragDrop in IntervalTreeView,
  MoveAction is made the default action and dragEnterEvent ignores
  events other than move or from other origins. This avoids removal
  of compared intervals from the intervals list.
This solution was contributed by Joachim at the users forum.
Fixes #3622
[publish binaries]
2022-09-03 11:17:28 -03:00
Alejandro Martinez
300960f234 Add Repository Search imgage for the Wiki
[skip ci]
2022-09-01 10:14:13 -03:00
Alejandro Martinez
b02b5f1265 Trends Sidebar - Don't process itemChanged event from date range tree
Items are not editable, so it is not used in the normal flow,
and it worsen a bug which clears the date range name in the item
when dropping on compare pane commiting the change to seasons.xml
2022-08-31 20:07:02 -03:00
Alejandro Martinez
80b671f4aa Update German Translation
Contributed by forum user Marcen
2022-08-29 19:00:17 -03:00
Alejandro Martinez
ef23cb5d1c Estimator - Add model identification to debug log 2022-08-29 13:28:01 -03:00
jgpallero
a212ff6408 Update Spanish translation (#4265) 2022-08-27 19:20:29 -03:00
Alejandro Martinez
efd9253352 Update translations to include latest strings before release
To enable testing and finish translations
[publish binaries]
2022-08-27 10:38:42 -03:00
Alejandro Martinez
aae3376135 R athlete.zones - generalize for all sports and add hr/pace lows
Fixes #4262
2022-08-25 22:59:45 -03:00
Alejandro Martinez
c1bbe1b590 Python athleteZones - generalize for all sports and add hr/pace lows
Part 1 of #4262
2022-08-25 20:03:36 -03:00
Alejandro Martinez
f8b6cc6c17 FixElevation - Use post instead of get for open-elevation requests
This allows to request all points at once since post api has
no limits according the documentation.
Break logic is preserve just in case we need it in the future.
Fixes #4261
2022-08-25 12:21:46 -03:00
Alejandro Martinez
82df874e54 Update German translation
Contributed by Marcen at the users forum
2022-08-24 19:00:53 -03:00
Alejandro Martinez
7b44eaa7a8 Deprecate Google Drive and Calendar due to changes in OAuth
Fixes #4259
2022-08-24 18:55:44 -03:00
Alejandro Martinez
a31ce926dc Enable Estimator debug as a runtime option
It can be enables adding:
--debug-rules "gc.estimator.debug=true"
to the command line.
2022-08-24 13:04:03 -03:00
Alejandro Martinez
481e11fffc Avoid random crash in HrPwPlot when HR>=220
Fixes #4260
2022-08-24 12:37:14 -03:00
Alejandro Martinez
0108a05f5a Fit file import - Interpolate lrbalance between valid values only
Fixes #4117
2022-08-23 18:03:59 -03:00