Commit Graph

10786 Commits

Author SHA1 Message Date
Alejandro Martinez
c693ed6b1c FitRideFile - Extra fields 136, 143 and 144
Decoded as Wrist HR, Body Battery and External HR.
Fixes #4480
2024-04-24 14:07:01 -03:00
Thies Lennart Alff
4f5a0eb2e1 CP Chart - show/hide interval settings based on model and fitting selection (#4382) 2024-04-23 11:11:08 -03:00
Joachim Kohlhammer
0b144cc57b Train View: Coloring by powerzones in ErgFilePlot (#4479)
Added support to color sections according to their power zone
* Optional coloring: Never (default), Always, Workout is stopped
* Optional tooltip giving information about current section (independent
  of coloring): Never (default), Workout is stopped
* Single sections covering multiple zones are split (for coloring /
  tooltip only)
* Tooltip shows starttime, duration, power (range if applicable), zone,
  W'bal-range
2024-04-22 11:48:07 -03:00
LateNightCoder0815
02835e3eb5 Added support for old Daum devices before 2001 (#4303)
Old Daum Electronic device "Ergobike Cardio" (comparable to the 4008 series and many other bikes) from before 2001 uses a slightly different RS232 protocol in some of the cases, which can be found here: http://www.ergo-lyps.de/de/download/v01/schnitt.zip . Additionally, it uses a boud rate of 4800.

As the old devices can not be detected by the checkversion (was not implemented at that time) I used a _profile of "OLD_DAUM" to identify the device in the configuration setting.
2024-04-21 08:45:54 -03:00
Joachim Kohlhammer
71c72d665f Changed the standard colors for compare-mode (#4478)
Changed the standard colors, used for compare-mode:
* Nice looking and distinguishable colors
* Separate color-sets for light- and darkmode

Additional fix + refactoring:
* Fixed a typo that prevented the background-color of ComparePanes to
  follow the color-scheme (was always white on my machine)
* Moved the definition of standardColor(int) from ComparePane.cpp to
  Colors.cpp, matching the declaration in Colors.h
2024-04-20 20:12:20 -03:00
grauser
118eafed89 FitRideFile : A devApp can replace another with same local id
fix #4477
2024-04-19 19:21:00 +02:00
grauser
1241c0a77b Use elapsed time for session (instead of timestamp)
fix #4474
2024-04-19 13:25:26 +02:00
Alejandro Martinez
a1a76fbc33 WorkoutWizard - Don't save and close on Cancel
When the user Cancel the file save dialog it is
better to do nothing since we have no filename
for save and it is likely what the user expects.
Fixes #4476
2024-04-18 21:38:46 -03:00
Paul Johnson
64c7ce3bd5 Improved search/filter box drop down menu icon (#4470)
Reuses the hamburger menu on the right side for easier
and more intuitive access to the filter menu.
2024-04-16 20:51:46 -03:00
Alejandro Martinez
d4405a65b5 Revert "Trigger Travis-ci macOS build with Qt5 update"
[skip AppVeyor]
This reverts commit 1e5d52a05a.
Regrettably brew update is too slow, lets wait travis images
get updated.
[skip linux]
[publish binaries]
2024-04-16 17:40:26 -03:00
Alejandro Martinez
f63c3e6e6d Trigger Travis-ci macOS build with Qt5 update
[skip AppVeyor]
[skip linux]
[publish binaries]
Last attempt failed due to lack of OSS credits.
2024-04-16 16:43:16 -03:00
Alejandro Martinez
1e5d52a05a Trigger Travis-ci macOS build with Qt5 update
[skip AppVeyor]
[skip linux]
[publish binaries]
2024-04-16 15:35:57 -03:00
Alejandro Martinez
8283c653e6 Trigger Travis-ci macOS build
[skip AppVeyor]
[skip linux]
[publish binaries]
2024-04-13 16:45:01 -03:00
Alejandro Martinez
71388fb56e Trigger AppVeyor-ci build
[skip travis]
[publish binaries]
2024-04-13 15:58:24 -03:00
Alejandro Martinez
2c9e9b9007 Trigger Travis-ci builds
[skip AppVeyor]
[publish binaries]
2024-04-13 13:36:37 -03:00
Alejandro Martinez
3d832ddd2c Version 3.7 - Development Build April 2024
First development build after v3.6 release.
[Publish Binaries]
v3.7-DEV2404
2024-04-13 13:11:42 -03:00
Alejandro Martinez
3395c7a4c9 Fix 3b50dd8 for reentrancy
Changed static variable for a member one,
the problem was apparent when opening a
different athlete besides the initial one.
2024-04-12 12:10:50 -03:00
Alejandro Martinez
3b50dd81a9 RideCache - send less load update notifications
To minimize overhead and avoid crashes on Windows
Fixes #4471
2024-04-10 19:37:35 -03:00
Alejandro Martinez
a1a19d86a0 Update version information and defaults link 2024-04-09 16:39:47 -03:00
Alejandro Martinez
656cdc701d Change Zoomed Elevation Widget Position 2024-04-09 14:21:27 -03:00
Alejandro Martinez
edc3979504 Update FITmetadata.json to FIT SDK 21.133 2024-04-08 16:35:01 -03:00
Peter Kanatselis
424c635a08 Zoomed Elevation widget (#3793) 2024-04-08 14:31:31 -03:00
Joachim Kohlhammer
8718974722 Added a graphical splashscreen (#4468)
* Based on QSplashScreen
* Shrinking the image for low resolutions (screen width <= 1280, < 1024)
* Dynamically adding Golden Cheetahs version and build id
* Showing messages related to the current loading state (including the
  current counter)
* Closing the splashscreen as close as possible to showing the MainWindow
* The image (splashscreen.svg) was created using Inkscape
2024-04-08 11:34:55 -03:00
Joachim Kohlhammer
d0e536306f Added a configurable grayscale filter to RideMapWindow (#4417)
* Added a CSS-grayscale filter to OSM based maps in RideMapWindow
* Added a configuration-option for the intensity level (0..10)
* Configuration is persisted per Tile-Server
* Fixed the visibility of Google/OSM specific settings (previously the
  settings were only correct after selection of the other Maptype)
2024-04-07 08:36:33 -03:00
r.clista
8d0307ed10 Add ignore zeros LTM setting (#2927)
* Add 'ignore zeros' metric detail setting
* Draw gapped curve when ignoreZeros is set
* Hide Ignore Zeros when not available
* Consider special cases in compare mode too
Co-authored-by: Antonius Riha <antoniusriha@gmail.com>
Co-authored-by: Alejandro Martinez <amtriathlon@gmail.com>
2024-04-06 20:51:59 -03:00
Stefan Schake
69b0dd3c2b Zoom & Pan for the AllPlot (#2366)
* Add mouse wheel zoom capability to AllPlot, only when
  ctrl modifier is present to avoid conflict with scrolling,
  similar to Workout Editor.
* Add AllPlot panning by mouse wheel click-n-drag
2024-04-05 14:15:19 -03:00
Joachim Kohlhammer
0a7072e5be ErgFile: Coalescing neighbouring sections (#4462)
* ErgFile: Coalescing neighboring sections

In erg-mode, some ErgFiles have neighboring sections of same power.
This is fine for creators / editors of workouts but gives "wrong"
remaining section times from a athletes perspective, example:
* workout: 10 min @200 watts followed by 5 min @200 watts
* current situation: first counts down from 10:00 to 0, then from
  5:00 to 0
* for an athlete, the countdown should be from 15:00 to 0 instead

This change
* Added global config option to enable coalescing
* If enabled, coalesced sections are used globally
* Added a message to the WorkoutWindow (Properties) if the ErgFile
  contains coalesced sections
* Restricted coalescing to watt based workouts
2024-04-03 20:32:04 -03:00
Joachim Kohlhammer
2ce84cbefd Bound global action to QKeySequence::Quit (#4464)
This change allows to quit Golden Cheetah using a keyboard shortcut.
QKeySequence::Quit is Ctrl+q on Linux and Cmd+q on MacOS but unbound
on Windows, although Alt+F4 still works as usual there. 
See https://doc.qt.io/qt-6/qkeysequence.html#standard-shortcuts

Additionally set Qt::WaitCursor while shutting down Golden Cheetah to
indicate the application is blocked
2024-03-29 20:04:19 -03:00
Alejandro Martinez
fd1eed4ed2 Update German Translation
Contributed by Marcen at the users forum.
2024-03-27 19:03:50 -03:00
jgpallero
de4741ba89 Fix typos in Spanish translation (#4463) 2024-03-27 11:13:01 -03:00
luzpaz
67ac67c509 Fix various typos (#4383)
Found via `codespell -q 3 -S "*.pdf,*.slf,*.smf,*.ts,./deprecated,./contrib" -L ans,ded,nam,nd,parm,parms,serie `
2024-03-25 20:46:26 -03:00
enngq11k
16ccc43d7a Fixed rounding error on loading and saving erg files (#4455) 2024-03-25 15:45:18 -03:00
jeepingben
65deb0f7fa Multiple custom power curves 4460 (#4461)
In cases where this config was loaded and is being saved again, preserve the virtual power definition string.
2024-03-24 21:34:39 -03:00
r.clista
28c9af8754 Workout Editor: Support MRC flavoured qwkcode (#3112)
New action allows to select desired flavor and format is displayed
on top of qwkcode, default file extension is selected accordingly.
2024-03-24 19:49:09 -03:00
mattipee
159804284a Download Strava Routes as Workouts (#3413)
Allows to download Strava routes as GPX files automatically imported as workouts.
To access to private Routes it is necessary to grant read_all permission at authorization
time, existing Strava users need re-authorization.
Downloaded files are named as Strava-Route-id-RouteName.gpx
2024-03-23 18:12:54 -03:00
Joachim Kohlhammer
ce7bbe11ed Replaced the icons in the TrainBottomBar (#4453)
* Replaced the icons in the TrainBottomBar

* Replaced the icons from oxygen (png) by new ones from breeze (svg)
* Added support for dark- and light-mode
* Grouped the icons by function
* Added a hover-effect to the icons
* The new theme fits better into the overall appearance
* Made the separators visible also for dark themes
2024-03-22 18:26:33 -03:00
Alejandro Martinez
ba47ff741a Remove special case for Sidebar background color
Intended for macOS Yosemite it has a bug which doesn't
allow the Sidebar background color be changed on macOS
Sonoma and may be other versions, since the forced color
is now default for macOS and Yosemite has been phased out
long time ago, let's remove this.
Fixes #4459
2024-03-22 18:20:33 -03:00
Alejandro Martinez
bcf8ea7e6a Update macOS build instructions for current master
[skip ci]
Using latest versions.
2024-03-19 19:34:37 -03:00
Alejandro Martinez
e3ad77e9c6 Remove levmar dependency
It is not being used
2024-03-19 16:36:34 -03:00
Alejandro Martinez
2c3df3122d Update snapshot builds
Summary of functional changes from v3.6 release:
ea641a6 FitRideFile - Added support for new message structure (#4456)
642eae9 Deprecate Today's Plan integration
ecdfe0c Deprecate export to KML files
2b5f1d7 Enable Pace metric for Walking
663fd78 Rename fatigue zones for consistency
2afd38c Initialized mode when parsing a zwo-file (#4448)
a0b6b17 Fixed some valgrind findings (#4445)
f174d74 Fix memory leak in SplitActivityWizard
d335ff4 Charts/PfPvPlot (QA): allow vertical scales up to 2500N (#4444)
b3df633 Drag and Drop Images onto a ride
50c305b bluetooth FTMS fix to get device speed  (#4440)
bd75198 Add Context help for Create/Edit User Metrics
809d72d MainWindow gets drag/drop from Overview
46545d6 Don't use Ctrl+C to check for new activities
07d1197 Update German Translation
49cf634 Upgraded Qwt to 6.2 (branch: qwt-multiaxes) (#4427)
ea044a0 Accelerators are QKeySequence not tr strings
31636b1 Update Travis-ci macOS builds to xcode 14.2
c46a99e Update Spanish translation (#4426)
b6aefcc Fix some non-translatable strings and update ts files
6c2a260 DataFilter - isAero
bd4bed1 Upgrade Travis-ci builds to macOS 12.6
6b1dbf4 Added Bluetooth pairing to the device wizard (#4422)
c0c8f57 Update FIT SDK definitions to 21.126 (#4423)
0dd4bf6 Cursor in text workout editor was invisible
6e5b950 Fix crash on metadata config
1dd7faa Interval Metadata
d9abb58 Datafilter xdataseries(), xdataunits() and xdatavalues()
5fb3bbf FIT parser bounds check when adding new series
943deb6 Generic Support for Session and Lap in FIT files
146f9ea Fix Weekly tiles in default Trends layouts
ec0653f ErgFilePlot - realtime curves honor FFWD/RWND and lap F/B
43368ad Mapview: Added interactivity to the Smallplot (#4408)
72de6bb Fix lap data auto-reset in slope workouts
c2f440c Fix broken workout directory check for the first start (#4410)
b095b40 Fix shortcuts not available due to translations
e6ff1a1 Python Chart Editor Cosmetics
00e182c Better user experience when drawing segments on the map (#4403)
f746f73 GPX parser - support ns3 TrackPointExtension name
9ae7521 Upgrade Travis-ci macOS version to macOS 11.6
e8132b1 Upgrade Travis-ci Linux version to Ubuntu 20.04
8f2ba0e Special case Start Date and Time in the cache
110652b Update German translation
fabc344 Add Wahoo PowrLink
f783814 Train library - add path to the list of possible errors
48d91d0 Fix issues after perspective switch (#786)
59a8ca2 Implemented compare mode for RideMapWindow (#786)
733db9c Ignore dot folders on athlete open/backup/delete
951e5f3 Fix crash on invalid perspective filter
[publish binaries]
2024-03-12 18:27:19 -03:00
Alejandro Martinez
ea641a6955 FitRideFile - Added support for new message structure (#4456)
Main change is activity, session and lap messages come
before than record messages so this would be the minimum
change to adapt to the new structure while still supporting
the old one.
Fixes #4451
2024-03-11 16:01:16 -03:00
Joachim Kohlhammer
a1f02e925f Qt6: Fixed flickering MainWindow (#4452)
* Qt6: Fixed flickering MainWindow

When opening a Mapchart for the first time after start of GC, the
MainWindow used to shrink and be maximized again afterwards
automatically, matching the description in
https://forum.qt.io/topic/141398/qwebengineview-closes-reopens-window-when-added-dynamically

By adding and removing a QWebEngineView before showing MainWindow,
this flicker can be avoided

* Added empty HTML to RideMapWindow

This fix avoids flicker for the RideMapWindow in (un-)maximized windows
(only if the chart was already part of the layout on startup)
2024-03-10 09:28:24 -03:00
Alejandro Martinez
642eae96cb Deprecate Today's Plan integration
Fixes #4450
2024-03-02 19:02:30 -03:00
Alejandro Martinez
dbf8877c53 Disable OpenGL for QtChart series
When Qt version is 6.4 or higher since it doesn't work
and it creates "ghost" windows. We can revert this if it
gets fixed, but it happens even using Qt 6.6.2
2024-03-01 18:05:59 -03:00
Alejandro Martinez
ecdfe0c4e2 Deprecate export to KML files
Related to #3983, see discussion there for the rationale.
2024-03-01 15:22:29 -03:00
Alejandro Martinez
2b5f1d749b Enable Pace metric for Walking 2024-02-28 17:12:36 -03:00
Alejandro Martinez
663fd7833a Rename fatigue zones for consistency
Fixes #4434
2024-02-28 16:19:50 -03:00
Joachim Kohlhammer
2afd38cb30 Initialized mode when parsing a zwo-file (#4448)
When zwo workout files are read, mode was not set but the original value
kept. This could lead to wrong perspective switches in Train-mode.
2024-02-20 14:09:57 -03:00
Joachim Kohlhammer
a0b6b17072 Fixed some valgrind findings (#4445)
Fixed some findings of valgrind (a tool to detect memory management bugs):
* Mismatched free() / delete / delete [] (HrPwPlot.cpp)
* Conditional jump or move depends on uninitialised value(s) (other files)
2024-02-09 20:58:35 -03:00
Alejandro Martinez
f174d74dcd Fix memory leak in SplitActivityWizard 2024-02-09 10:06:06 -03:00