Commit Graph

11101 Commits

Author SHA1 Message Date
Paul Johnson
26f84e885c Correction to configuration path override in AbstractView pt2 (#4681)
Continuation of #4661
2025-08-01 09:16:06 -03:00
Dmytro Maslenko
18b83b0fe9 Fix warning: format specifies type 'int' but the argument has type 'qsizetype'
In C++, when using printf to display a long long integer, the correct format specifier is `%lld`. The `%lld` specifier is part of the C99 standard.
2025-07-27 17:32:16 -03:00
Dmytro Maslenko
5155cdf617 Fix warning: unused variable
Removed or commented the local variables that never used.
2025-07-27 17:32:16 -03:00
Alejandro Martinez
be0592dd68 User Chart - Fix leyends and labels on Pie chart
Reported by Marcen at the users forum:
- Only % was displayed and at the wrong legend
- Slice labels were not scaled
2025-07-27 13:14:48 -03:00
Alejandro Martinez
3ad54d53a9 Update snapshot builds
Main changes from v3.7 release:

8162d7de2 Improve support for CORE sensor (#4668)
d55c7ecd7 Refactor DataFilter completers
4d95f439b Train Elevation Chart - Avoid flooding debug log
2e2374761 Allow expanding Manage Named Filters dialog
21fe82f3c Exclude planned activities from Cloud Service upload list
9713b09e8 Recognize Mitja Zupanic
6cf470b2a Manual Activity Wizard - Fix Duration discarded
fb6a2cf81 Manual Activity Wizard - Use normalized sport
f0b9f75b7 Laps Editor - range and decimals depend on units
97eab8bc3 Add Expected PMC (Coggan) sample chart
c0e7b9193 Add Expected PMC (TriScore) sample chart
d4dd12cfb DataFilter - Add planned|expected to lts/sts/sb/rr
74e4dd116 Add isRun to DataFilter
605cbe028 Metrics Trends - Plot expected load on the past
72961b655 Add Planned to DataFilter
5e7fdca41 Highlight planned activities in navigator
b2e0cf875 Update Spanish translation (#4671)
38cf95e24 New gc-blank.png image (#4669)
64536a0ee DataFilter - Add planned|expected options to pmc
bd367e607 Add planned/expected PMC to R/Python APIs
9726e70e7 Add planned/expected PMC to Metrics Trends charts
56ff6ff73 Add planned workouts / activities (#4666)
b5fe5a32c Natural sort order for workouts in train mode (#4667)
80cbc11a0 Aerolab - Fix imperial units in eoffset label
30efd9fa7 Fix some typos in Xert integration
9c6d361da Single instance of SpecialFields (#4660)
e099e89d7 Reworked the dialog for manually creating activities (#4656)
55f95e594 Overview Metric Tile - support for metric overrides (#4649)
e5d4ab114 Fix Strava upload Train simulations as VirtualRide
6764546da Correct the format of the "Start Date" and "Start Time" in the
activities summary text field. (#4648)
83797126b Calculating expected load also based on past stress (#4651)
9c666ad55 Use the right Context for FreeSearch
047ab8079 Update German translation
ae6ebd9aa FitRideFile - Avoid duplicated XData series names
5c32910af Avoid crash on WPrime computation
f22c3796d Fix Workout Wizard window title and style
c1bb636db DiaryWindow::rideSelected - Ignore same activity
e10ad628f FitRideFile - Fix regression with native TCORE
969f8c22d Ensure Device Type Tile reflects change on edit (#4633)
7e3d0a435 Upgrade Qt to 6.5.3 for AppVeyor macOS builds
a97cc9aea Restore colored zones code to QWT curve
34db86d14 Update macOS plist to v3.7 Fixes #4631
[publish binaries]
2025-07-26 18:17:16 -03:00
Paul Johnson
ae9053e0bc Remove the view specifics from abstract view (part 2) (#4661)
Remove the remaining view specifics from Abstract View, this PR follows on from #4637.
2025-07-26 14:26:21 -03:00
fellrnr
8162d7de20 Improve support for CORE sensor (#4668)
Fixes #4665
2025-07-26 11:56:15 -03:00
Dmytro Maslenko
175da3f6bf Fix warning: reuse the abandoned statusCode local variable 2025-07-26 08:28:08 -03:00
Dmytro Maslenko
9d7b07bf94 Minor: move a comment closer to the real code mentioned in the comment 2025-07-26 08:28:08 -03:00
Dmytro Maslenko
48c6717319 Fix warning: field 'LASTcache' will be initialized after field 'source' 2025-07-26 08:28:08 -03:00
Dmytro Maslenko
e15701d05b Fix warning: 'dropEvent' overrides a member function but is not marked 'override' 2025-07-26 08:28:08 -03:00
Dmytro Maslenko
68fb3649e2 Fix warning: add explicit braces to avoid dangling else 2025-07-26 08:28:08 -03:00
Alejandro Martinez
d55c7ecd7e Refactor DataFilter completers
Moves copy&pasted code to a single DataFilter::completerList
method with/without symbols for Activity/Trends contexts.
Fixes sample data symbols offered in Trends contexts
Fixes duplicated metric names reported at the users forum
2025-07-25 19:16:07 -03:00
Alejandro Martinez
4d95f439b7 Train Elevation Chart - Avoid flooding debug log
When there is no slope/distance infomation.
Fixes #4620
2025-07-25 12:57:50 -03:00
Alejandro Martinez
2e2374761c Allow expanding Manage Named Filters dialog
Requested at the users forum.
Also made macOS dimensions high dpi aware.
2025-07-24 19:13:34 -03:00
Alejandro Martinez
21fe82f3cd Exclude planned activities from Cloud Service upload list 2025-07-24 18:45:42 -03:00
Alejandro Martinez
9713b09e84 Recognize Mitja Zupanic
For his contributions with graphical items
and goldencheetah.org website new design.
2025-07-24 18:36:14 -03:00
Alejandro Martinez
6cf470b2a3 Manual Activity Wizard - Fix Duration discarded
After #4666 entered duration is discarded
when using manual extimates.
2025-07-24 14:39:05 -03:00
Alejandro Martinez
fb6a2cf813 Manual Activity Wizard - Use normalized sport
The user may have other names configured for common sports
2025-07-24 13:39:07 -03:00
Alejandro Martinez
f0b9f75b7e Laps Editor - range and decimals depend on units
For swims units are m/yd so no decimals and larger range,
for runs units are km/mi so 3 decimals and smaller range.
2025-07-23 20:51:02 -03:00
Alejandro Martinez
97eab8bc35 Add Expected PMC (TriScore) sample chart
[skip ci]
This PMC chart is an example of #4652, it uses Expected
PMC curves so it looks like a regular PMC until today,
but it uses Planned activities for the future forecasting
training load according to them.
2025-07-23 19:14:48 -03:00
Alejandro Martinez
c0e7b91937 Add Expected PMC (TriScore) sample chart
[skip ci]
This PMC chart is an example of #4652, it uses Expected
PMC curves so it looks like a regular PMC until today,
but it uses Planned activities for the future forecasting
training load according to them.
2025-07-23 14:39:22 -03:00
Alejandro Martinez
d4dd12cfbb DataFilter - Add planned|expected to lts/sts/sb/rr
Similar to 64536a0ee8
Part 4 of #4652
2025-07-23 11:21:46 -03:00
Alejandro Martinez
74e4dd1162 Add isRun to DataFilter
It was replaced by planned in Navigator by
5e7fdca415,
so we need to add it back here.
2025-07-23 10:17:14 -03:00
Alejandro Martinez
7fad817e4e Metrics Trends - Remove unused plotData variable
Not used anymore after 605cbe0285
2025-07-23 10:15:29 -03:00
Alejandro Martinez
605cbe0285 Metrics Trends - Plot expected load on the past
Continuation of #4651
2025-07-22 18:09:26 -03:00
Dmytro Maslenko
4aa2a32ec6 Fix warning: field 'XXX' will be initialized after field 'YYY'
According to the definition order in the .h file.
2025-07-22 10:49:07 -03:00
Dmytro Maslenko
fee8f1757c Fix warning: 'resizeEvent' overrides a member function but is not marked 'override' 2025-07-22 10:49:07 -03:00
Dmytro
e48921be90 Add the override classifier for some overridden functions (#4674)
To fix the next compilation warning inconsistent-missing-override: "'xxx' overrides a member function but is not marked 'override'".
2025-07-21 11:46:16 -03:00
Alejandro Martinez
f9929c9f7a Update snapshot builds
Main changes from v3.7 release:
72961b655 Add Planned to DataFilter
5e7fdca41 Highlight planned activities in navigator
b2e0cf875 Update Spanish translation (#4671)
38cf95e24 New gc-blank.png image (#4669)
64536a0ee DataFilter - Add planned|expected options to pmc
bd367e607 Add planned/expected PMC to R/Python APIs
9726e70e7 Add planned/expected PMC to Metrics Trends charts
56ff6ff73 Add planned workouts / activities (#4666)
b5fe5a32c Natural sort order for workouts in train mode (#4667)
80cbc11a0 Aerolab - Fix imperial units in eoffset label
30efd9fa7 Fix some typos in Xert integration
9c6d361da Single instance of SpecialFields (#4660)
e099e89d7 Reworked the dialog for manually creating activities (#4656)
55f95e594 Overview Metric Tile - support for metric overrides (#4649)
e5d4ab114 Fix Strava upload Train simulations as VirtualRide
6764546da Correct the format of the "Start Date" and "Start Time" in the
activities summary text field. (#4648)
83797126b Calculating expected load also based on past stress (#4651)
9c666ad55 Use the right Context for FreeSearch
047ab8079 Update German translation
ae6ebd9aa FitRideFile - Avoid duplicated XData series names
5c32910af Avoid crash on WPrime computation
f22c3796d Fix Workout Wizard window title and style
c1bb636db DiaryWindow::rideSelected - Ignore same activity
e10ad628f FitRideFile - Fix regression with native TCORE
969f8c22d Ensure Device Type Tile reflects change on edit (#4633)
7e3d0a435 Upgrade Qt to 6.5.3 for AppVeyor macOS builds
a97cc9aea Restore colored zones code to QWT curve
34db86d14 Update macOS plist to v3.7 Fixes #4631
[publish binaries]
2025-07-20 19:31:39 -03:00
Alejandro Martinez
72961b6558 Add Planned to DataFilter
Including 2 defaults filters for Planned and Actual activities.
Part 2 of #4670
2025-07-18 19:23:50 -03:00
Alejandro Martinez
5e7fdca415 Distinguish planned activities in navigator
Reused the inactivated isRun logic to display planned
activities on a darker background.
Part 1 of #4670
2025-07-18 19:23:50 -03:00
jgpallero
b2e0cf875e Update Spanish translation (#4671) 2025-07-17 09:23:04 -03:00
ZajtiM
38cf95e241 New gc-blank.png image (#4669)
Updated gc-blank.png image, with the same desing as GC Icon and
Splash. It is displayed in Live Map chart in Train view.
2025-07-13 17:17:05 -03:00
Alejandro Martinez
64536a0ee8 DataFilter - Add planned|expected options to pmc
pmc(symbol, stress|lts|sts|sb|rr|date [,actual|planned|expected)
Part 3 of and fixes #4652
2025-07-11 20:12:06 -03:00
Alejandro Martinez
bd367e607a Add planned/expected PMC to R/Python APIs
Part 2 of #4652
2025-07-11 16:06:48 -03:00
Alejandro Martinez
9726e70e74 Add planned/expected PMC to Metrics Trends charts
Part 1 of #4652
2025-07-11 14:18:53 -03:00
Alejandro Martinez
ebd59f3eaa AppVeyor - Fix snapshot release name
[skip ci]
2025-07-07 20:14:41 -03:00
Alejandro Martinez
6f78f8f0c8 Travis-ci - create snapshot as prerelease
[skip ci]
2025-07-07 20:04:17 -03:00
Alejandro Martinez
1f2290050c Update snapshot builds
Main changes from v3.7 release:
56ff6ff73 Add planned workouts / activities (#4666)
b5fe5a32c Natural sort order for workouts in train mode (#4667)
80cbc11a0 Aerolab - Fix imperial units in eoffset label
30efd9fa7 Fix some typos in Xert integration
9c6d361da Single instance of SpecialFields (#4660)
e099e89d7 Reworked the dialog for manually creating activities (#4656)
55f95e594 Overview Metric Tile - support for metric overrides (#4649)
e5d4ab114 Fix Strava upload Train simulations as VirtualRide
6764546da Correct the format of the "Start Date" and "Start Time" in the
activities summary text field. (#4648)
83797126b Calculating expected load also based on past stress (#4651)
9c666ad55 Use the right Context for FreeSearch
047ab8079 Update German translation
ae6ebd9aa FitRideFile - Avoid duplicated XData series names
5c32910af Avoid crash on WPrime computation
f22c3796d Fix Workout Wizard window title and style
c1bb636db DiaryWindow::rideSelected - Ignore same activity
e10ad628f FitRideFile - Fix regression with native TCORE
969f8c22d Ensure Device Type Tile reflects change on edit (#4633)
7e3d0a435 Upgrade Qt to 6.5.3 for AppVeyor macOS builds
a97cc9aea Restore colored zones code to QWT curve
34db86d14 Update macOS plist to v3.7 Fixes #4631
[publish binaries]
2025-07-07 19:04:18 -03:00
Alejandro Martinez
17dfbb3a30 ManualActivityWizard - Don't allow rich text on Notes
Like we do in other TextBox cases, this also preserves
entered tabs in the text allowing a simple form of
tabular format.
2025-07-04 11:24:30 -03:00
Joachim Kohlhammer
56ff6ff73e Add planned workouts / activities (#4666)
* Extended the ManualActivityWizard by a flow to add planned activities
* Changed the grouping of fields on the pages to allow code reuse
  between completed and planned activities
* Added a summary page to Manual ActivityWizard (both planned and
  completed activities)
* Added an additional menu entry "Plan Activity..." to Activity menu
* Allowing WorkoutFilterBox to be used as widget in any dialog without
  modifying the context
* Added option to InfoWidget to use it without parts that can modify the
  TrainDB (rating and tags)
* See https://groups.google.com/g/golden-cheetah-users/c/Yz8g2J1Ue6w/m/U5OXTBv3BQAJ
2025-07-04 11:22:04 -03:00
Joachim Kohlhammer
b5fe5a32c1 Natural sort order for workouts in train mode (#4667)
* Switched from lexicographical to natural sort order in the workouttree
* Example before:
  * week 1 day 1
  * week 1 day 3
  * week 10 day 2
  * week 2 day 2
* Example after:
  * week 1 day 1
  * week 1 day 3
  * week 2 day 2
  * week 10 day 2
2025-07-03 04:44:31 -03:00
Alejandro Martinez
80cbc11a0f Aerolab - Fix imperial units in eoffset label 2025-07-01 19:03:38 -03:00
Alejandro Martinez
30efd9fa70 Fix some typos in Xert integration 2025-07-01 13:23:23 -03:00
Paul Johnson
c064f94b64 Remove unused renameClicked() functions (#4662) 2025-06-26 17:25:01 -03:00
Paul Johnson
9c6d361dab Single instance of SpecialFields (#4660)
i) Ensure that SpecialFields (and SepcialTabs for consistency) are singletons, and GlobalContext & RideCache can reload its configuration.
ii) GlobalContext not longer holds a SpecialFields parameter, SpecialFields is a single globally available object.
ii) The unused model and accessor have been removed.
iii) The unused and unimplemented fieldType() and associated enum have been removed.
iv) All SpecialFields accessor functions now use const QString& parameter types.
2025-06-26 14:47:56 -03:00
Joachim Kohlhammer
e099e89d76 Reworked the dialog for manually creating activities (#4656)
* Transformed the dialog into a wizard
* Only allowing activities in the past
* Considering the sport for estimations and shown metrics
* Added TriScore and SwimScore
* Removed Daniel Points, Notes and Average Speed
* See https://groups.google.com/g/golden-cheetah-users/c/Yz8g2J1Ue6w/m/6u0UAfSRAgAJ
* Added illustrative icons and page-titles
Source of the icons: https://github.com/Templarian/MaterialDesign-SVG
License: Apache 2.0 (https://github.com/Templarian/MaterialDesign-SVG?tab=License-1-ov-file)
* Added a margin around the icons
* Added machine generated translations
* Only translated for languages with latin alphabet
* Used DeepL for the translation, therefore did not mark translations as
  complete
* Added rpe and notes
* Additional: Moved svgAsColouredPixmap to Colors.[h|cpp]
* Coloring the entries in the RPE-combobox
* Renamed files ManualRideDialog.* to ManualActivityWizard.*
2025-06-23 19:32:44 -03:00
Alejandro Martinez
774d4b0f26 Fix typo and copy paste error
Reported at the users forum
2025-06-18 16:20:42 -03:00
Paul Johnson
55f95e594c Overview Metric Tile - support for metric overrides (#4649)
Use italics for overrides
2025-06-16 10:55:25 -03:00