Commit Graph

10844 Commits

Author SHA1 Message Date
Alejandro Martinez
36207bf882 FIT import - don't use CIQ speed as standard speed
Since units not necessarily are the same.
Test file: test/rowing/RowingCIQspeed.fit
2024-07-12 17:58:15 -03:00
Alejandro Martinez
7ea54faafc Enable Calendar and Navigator charts for Trends
Include them in a Diary perspective in default layout.
Since these charts were not deprecated yet, lets make them
accessible until we have a suitable calendar chart replacement.
2024-07-10 19:38:45 -03:00
Paul Johnson
65945e56d9 Metadata tile initial creation update fix and time & date field support (#4518) 2024-07-03 18:43:36 -03:00
Alejandro Martinez
553b9aa378 Fix Snapshot Builds release title
[skip ci]
2024-06-29 10:46:40 -03:00
Alejandro Martinez
3f2ae0ae38 Update snapshot builds
Changes from DEV2404
65bf2c0 Add tool tips to trainer controls (#4517)
b4eea7f Change SMA smoothing to always include current point
7052724 ErgFileplot: Updating the zone-coloring and prediction on changed intensity (#4515)
0d78b3e RunMetrics - Fix Efficiency Index
29644fe POSITION - FitFile decoder - Add cyclist position
ad6a0c3 Dialwindow font scaling (v2) (#4511)
fb76896 ErgDB is now TrainerDay
e592645 Fixed crash on startup if no power zones for bikes are defined (#4509)
2681536 Updated qwt to 6.3 (qwt-multiaxes branch) (#4497)
2b23d6a Fix qt colors passed to GColor macro (#4501)
04f2f70 Change EditNamedSearches parent to MainWindow (Fixes colors on dark themes)
dc5da99 Remove Frame on Workout Info
7684b4a Remove duplicate theme color code in Pages.cpp (#4503)
9256358 GCColor::readConfig correct name to setting check (#4502)
2ac2cd6 Batch Processing addition metadata update (#4399)
9647975 Fix isSpecial(internalName) in SpecialFields
e41e6b6 Fit: Add FIELD_87 for record (cycle_length16) fix #4489
c088aaf Fixes the background colour of the group by sub menu (#4492)
06a6dbe Fix copy paste error preventing macOS build
5e3db39 Add delete button to manage filters (#4493)
77df5b3 Train View: Improved the selection of workouts (#4400)
cfb8c2f Manage Perspectives - perspectives list cosmetics
f1bb83f Update Images default chart
562ef17 Update Spanish translation (#4487)
57c11e0 Remove Ctrl+A shortcut for Add Cloud Account
cf2e8d8 Enable translation of Save Changes in SaveExitDialog
1b49890 Update German Translation
f97770f GC CSV Export - rcad instead of cad for runs
7a11a6a Initializing AllPlot::isPanning to false (#4482)
76dedfb Fix Average Speed aggregation
6299374 Images chart update on image drop and import
fdb6d17 Python Web Chart - Don't accept drops
68ad048 Update Images Python chart in default layout
2d8bdd7 FitRideFile - Decode GAP extra field in m/s
5073ba8 Add Images chart to default layout
c693ed6 FitRideFile - Extra fields 136, 143 and 144
4f5a0eb CP Chart - show/hide interval settings based on model and
fitting selection (#4382)
0b144cc Train View: Coloring by powerzones in ErgFilePlot (#4479)
02835e3 Added support for old Daum devices before 2001 (#4303)
71c72d6 Changed the standard colors for compare-mode (#4478)
118eafe FitRideFile : A devApp can replace another with same local id
1241c0a Use elapsed time for session (instead of timestamp) fix #4474
a1a76fb WorkoutWizard - Don't save and close on Cancel
64c7ce3 Improved search/filter box drop down menu icon (#4470)
[publish binaries]
2024-06-28 16:11:07 -03:00
Nick Hastings
65bf2c00e3 Add tool tips to trainer controls (#4517)
Add a preferences option to enable/disable these tooltips.
Default is enabled. If enabled tooltips will also be shown
for disabled controls in TrainBottom so users can preview
what they do once the session start.
2024-06-27 09:30:41 -03:00
Alejandro Martinez
b4eea7f8fb Change SMA smoothing to always include current point
It is the common practice, and it works that way on forward mode,
but in backward mode current point was excluded from the average.
2024-06-24 11:42:35 -03:00
Joachim Kohlhammer
7052724fe7 ErgFileplot: Updating the zone-coloring and prediction on changed intensity (#4515)
This is a followup to #4479, taking care of manually changed intensity:
* Adjusting the coloring when sections change their power zone
* Adjusting the W'Balance prediction
2024-06-22 10:49:35 -03:00
Alejandro Martinez
0d78b3e9c8 RunMetrics - Fix Efficiency Index
Average Power is based on Time Recording, not Duration,
so the averaging base fixup is changed accordingly.
Aggregation is now based on Time Moving instead on 1,
to account for the relative weight of different runs.
2024-06-21 12:42:42 -03:00
Alejandro Martinez
68e18ae65e Avoid conflicts with min/max macros in windows.h
[skip ci]
It happens building with Qt 6.7.1 using MSVC2019,
workaround from: https://stackoverflow.com/questions/11544073/how-do-i-deal-with-the-max-macro-in-windows-h-colliding-with-max-in-std
2024-06-20 19:38:53 -03:00
Alejandro Martinez
6a88d775b0 Fix previous commit
Commit 29644fe10 fixes #4328, this one makes 2 changes:
1) Delete created XDataPoint when it is not appended to the XDataSeries
   to avoid memory leaks.
2) Remove fake positions since they are nor reported by devices, their
   inference doesn't seem safe and it can be done where it is required.
2024-06-18 19:06:48 -03:00
Vianney BOYER
29644fe102 POSITION - FitFile decoder - Add cyclist position 2024-06-18 18:20:09 -03:00
Joachim Kohlhammer
ad6a0c30e2 Dialwindow font scaling (v2) (#4511)
* DialWindow: Scaling font in both dimensions

Currently the font in DialWindow is only scaled to make the text fit
into the label vertically. This commit scales the font in both
dimensions and prevents cutting off the content.

The font is rescaled
* If the DialWindow itself is resized
* If the text set and is longer than the previous one
* Every 10 text-changes

* Trainmode: Added a global setting to finetune telemetry font scaling

* Added option to Options -> Train -> Preferences for configuring the
  font scaling strategy of Telemetry / DialWindows
  * "Height only" (default, as before)
  * "Height and width"
* Changed the layout of this Page to QFormLayout to match the other
  Pages
2024-06-13 13:11:30 -03:00
Alejandro Martinez
fb768969ee ErgDB is now TrainerDay
Fixes #2963
2024-06-03 17:16:57 -03:00
Joachim Kohlhammer
b581ef83c7 Added screenshots for wiki-documentation (#4510) [skip ci]
5 new screenshots for documenting the workout-selection feature
introduced with #4400
2024-06-01 08:50:39 -03:00
Alejandro Martinez
b0a498f25a Partially revert changes introduced by 1b49890
They were included by accident, sorry.
2024-05-31 16:41:16 -03:00
Joachim Kohlhammer
e592645cfb Fixed crash on startup if no power zones for bikes are defined (#4509)
Fix for #4508:
* Safeguarded reading zones in TrainSidebar.cpp
* Added additional check to prevent PowerZonesWidget from painting itself
  if zone list is empty
* Returning a empty list from multiple methods in class Zones if given
  range is out of allowed range (was: check only for range too high, below
  0 was ignored):
  * Zones::getZoneLows(.)
  * Zones::getZoneHighs(.)
  * Zones::getZoneNames(.)
  * Zones::getZoneDescriptions(.)
2024-05-31 13:59:02 -03:00
Alejandro Martinez
804a9046d9 Bump QWT version
It reports as 6.8 corresponding to 6.3 multiaxis branch
Part of #4497
2024-05-30 19:18:31 -03:00
Joachim Kohlhammer
2681536c68 Updated qwt to 6.3 (qwt-multiaxes branch) (#4497)
Using qwt from https://sourceforge.net/p/qwt/git/ci/qwt-multiaxes/tree/

Applied the following changes to qwt 6.3:
* Added QwtZone to qwt_plot_curve.cpp
* Disabled the emitting of Layout Requests on geometry changes of
  QwtScaleWidget - without this, CPU utilization was up to 100% on
  one core

Fixes #4495
2024-05-30 15:32:43 -03:00
Paul Johnson
2b23d6adf0 Fix qt colors passed to GColor macro (#4501) 2024-05-30 09:25:14 -03:00
Alejandro Martinez
04f2f70dbd Change EditNamedSearches parent to MainWindow
This overrides the previous commit (7c74faf)
Using context->mainWindow is more explicit,
and likely more robust.
2024-05-29 19:08:20 -03:00
Alejandro Martinez
7c74fafc4a Change EditNamedSearches parent to MainWindow
So colors match other dialogs avoiding legibility issues on dark themes.
This change doesn't seem to have negative side effects testing on
Windows, macOS and Linux (Ubuntu 22.04 over WSL) but on Linux it may
dependend on the windows manager. We can revert later otherwise.
Fixes #4506
Fixes #4504
2024-05-29 16:17:58 -03:00
Mark Liversedge
dc5da99cbc Remove Frame on Workout Info
.. workout info pane in train view has a frame which is jarring
   when compared to all the other sidebar items
2024-05-28 09:48:42 +01:00
Paul Johnson
7684b4a39b Remove duplicate theme color code in Pages.cpp (#4503)
Refactored into GColor::getThemeColor for easier manteinance.
2024-05-27 18:53:39 -03:00
Paul Johnson
9256358756 GCColor::readConfig correct name to setting check (#4502) 2024-05-26 19:30:16 -03:00
Alejandro Martinez
7cfd1fc79d Fix Uploding to snapshot release
[skip AppVeyor]
[skip osx]
Continuation of 7f3b3d2c1b
[publish binaries]
2024-05-26 09:20:23 -03:00
Alejandro Martinez
74afb03fee Update Snapshot Builds
2ac2cd6 Batch Processing addition metadata update (#4399)
9647975 Fix isSpecial(internalName) in SpecialFields
e41e6b6 Fit: Add FIELD_87 for record (cycle_length16) fix #4489
c088aaf Fixes the background colour of the group by sub menu (#4492)
06a6dbe Fix copy paste error preventing macOS build
5e3db39 Add delete button to manage filters (#4493)
77df5b3 Train View: Improved the selection of workouts (#4400)
cfb8c2f Manage Perspectives - perspectives list cosmetics
f1bb83f Update Images default chart
562ef17 Update Spanish translation (#4487)
57c11e0 Remove Ctrl+A shortcut for Add Cloud Account
cf2e8d8 Enable translation of Save Changes in SaveExitDialog
1b49890 Update German Translation
f97770f GC CSV Export - rcad instead of cad for runs
7a11a6a Initializing AllPlot::isPanning to false (#4482)
76dedfb Fix Average Speed aggregation
6299374 Images chart update on image drop and import
fdb6d17 Python Web Chart - Don't accept drops
68ad048 Update Images Python chart in default layout
2d8bdd7 FitRideFile - Decode GAP extra field in m/s
5073ba8 Add Images chart to default layout
c693ed6 FitRideFile - Extra fields 136, 143 and 144
4f5a0eb CP Chart - show/hide interval settings based on model and
fitting selection (#4382)
0b144cc Train View: Coloring by powerzones in ErgFilePlot (#4479)
02835e3 Added support for old Daum devices before 2001 (#4303)
71c72d6 Changed the standard colors for compare-mode (#4478)
118eafe FitRideFile : A devApp can replace another with same local id
1241c0a Use elapsed time for session (instead of timestamp) fix #4474
a1a76fb WorkoutWizard - Don't save and close on Cancel
64c7ce3 Improved search/filter box drop down menu icon (#4470)
[publish binaries]
2024-05-25 21:14:43 -03:00
Alejandro Martinez
7f3b3d2c1b Upload builds to snapshot GitHub release
[skip ci]
Fixes #4490
2024-05-25 21:04:45 -03:00
Alejandro Martinez
266b119055 Replace defunt keep.sh by temp.sh for artifacts upload
[skip AppVeyor]
2024-05-25 11:42:04 -03:00
Paul Johnson
2ac2cd66a1 Batch Processing addition metadata update (#4399) 2024-05-24 10:40:44 -03:00
Paul Johnson
889b1894c5 Fixes build error at VideoWindow line 403 (#4500)
Introduced by 77df5b372c
2024-05-23 21:39:27 -03:00
Alejandro Martinez
9647975643 Fix isSpecial(internalName) in SpecialFields
So we can find fields which cannot be updated
in the normal way.
2024-05-23 20:25:19 -03:00
grauser
e41e6b6e88 Fit: Add FIELD_87 for record (cycle_length16)
fix #4489
2024-05-23 22:47:47 +02:00
Paul Johnson
c088aafb5c Fixes the background colour of the group by sub menu (#4492) 2024-05-22 20:06:38 -03:00
Alejandro Martinez
06a6dbed07 Fix copy paste error preventing macOS build
Introduced by 77df5b372c
2024-05-22 19:58:32 -03:00
Paul Johnson
5e3db39a49 Add delete button to manage filters (#4493) 2024-05-22 10:51:10 -03:00
Joachim Kohlhammer
77df5b372c Train View: Improved the selection of workouts (#4400)
Added support to
* filter workouts by multiple metrics
* rate and tag workouts
* view detailed information about the selected workout
* Preserving user-content in trainDB on rescan for workouts
Fixes #411
2024-05-20 13:57:58 -03:00
Alejandro Martinez
cfb8c2f6da Manage Perspectives - perspectives list cosmetics
- Disable in-place name edition
- Use double click to edit perspective
To match the behavior of similar lists.
2024-05-15 14:12:57 -03:00
Alejandro Martinez
f1bb83f302 Update Images default chart 2024-05-12 19:16:19 -03:00
Alejandro Martinez
5445ab6c04 Update snapshot builds
562ef17d7 Update Spanish translation (#4487)
57c11e076 Remove Ctrl+A shortcut for Add Cloud Account
cf2e8d809 Enable translation of Save Changes in SaveExitDialog
1b498903d Update German Translation
f97770fa9 GC CSV Export - rcad instead of cad for runs
7a11a6abd Initializing AllPlot::isPanning to false (#4482)
76dedfb48 Fix Average Speed aggregation
62993743d Images chart update on image drop and import
fdb6d1795 Python Web Chart - Don't accept drops
68ad04862 Update Images Python chart in default layout
2d8bdd742 FitRideFile - Decode GAP extra field in m/s
5073ba8b0 Add Images chart to default layout
c693ed6b1 FitRideFile - Extra fields 136, 143 and 144
4f5a0eb2e CP Chart - show/hide interval settings based on model and fitting selection (#4382)
0b144cc57 Train View: Coloring by powerzones in ErgFilePlot (#4479)
02835e3eb Added support for old Daum devices before 2001 (#4303)
71c72d665 Changed the standard colors for compare-mode (#4478)
118eafed8 FitRideFile : A devApp can replace another with same local id
1241c0a77 Use elapsed time for session (instead of timestamp) fix #4474
a1a76fbc3 WorkoutWizard - Don't save and close on Cancel
64c7ce3bd Improved search/filter box drop down menu icon (#4470)
[publish binaries]
2024-05-10 20:26:29 -03:00
Joachim Kohlhammer
8a9a43f0c6 Qt6: The signature of enterEvent changed (#4488)
Adapted to the new signature of enterEvent when using Qt6 (before this
change enterEvent was ignored with Qt6); added some additional override
specifiers
2024-05-09 09:37:31 -03:00
jgpallero
562ef17d7b Update Spanish translation (#4487) 2024-05-08 14:39:17 -03:00
Alejandro Martinez
57c11e076b Remove Ctrl+A shortcut for Add Cloud Account
It is not a frequent operation and it disables the use
of Ctrl+A for select all in Editor, which is more useful.
2024-05-07 12:22:29 -03:00
Alejandro Martinez
cf2e8d8096 Enable translation of Save Changes in SaveExitDialog
Also updated translation files to include the new strings
and remove the obsolete ones.
2024-05-07 10:30:05 -03:00
Alejandro Martinez
1b498903d8 Update German Translation
Contributed by Marcen at the users forum
2024-05-07 10:27:29 -03:00
Alejandro Martinez
f6237e02c4 Revert "DialWindow: Scaling font in both dimensions (#4469)"
This reverts commit 63a14d0edf.
2024-05-07 10:24:24 -03:00
Joachim Kohlhammer
63a14d0edf DialWindow: Scaling font in both dimensions (#4469)
Currently the font in DialWindow is only scaled to make the text fit
into the label vertically. This commit scales the font in both
dimensions and prevents cutting off the content.

The font is rescaled
* If the DialWindow itself is resized
* If the text set and is longer than the previous one
* Every 10 text-changes
2024-05-06 20:40:16 -03:00
Alejandro Martinez
f97770fa94 GC CSV Export - rcad instead of cad for runs
Fixes #4485
2024-05-06 19:07:58 -03:00
Joachim Kohlhammer
3e8ddd9f29 Qt6: Preventing crash in stacked LTMPlots (#4483)
In Qt6 the internal handling of QList (now actually a QVector) was
changed compared to Qt5. This results in reallocations / recreations of
the LTMSettings, destroying the objects whose pointers already have been
set to the LTMPlots.
This commit reserves the required space upfront, preventing the
reallocations thus keeping the pointers valid and preventing the crash
2024-05-04 12:59:06 -03:00
Joachim Kohlhammer
7a11a6abd4 Initializing AllPlot::isPanning to false (#4482)
AllPlot::isPanning was uninitialized, leading to unwanted (i.e. without
prior middleclick) panning.
This commit initializes AllPlot::isPanning explicitly to false.
2024-04-29 16:01:34 -03:00