Commit Graph

10558 Commits

Author SHA1 Message Date
Alejandro Martinez
bd224c8251 Revert "Trigger v3.6 builds with version string"
[skip ci]
This reverts commit 22f45f364f,
it was a temporary hack to include version string in regular commit.
2023-08-05 10:39:08 -03:00
Alejandro Martinez
22f45f364f Trigger v3.6 builds with version string
[publish binaries]
2023-08-05 10:36:55 -03:00
Mark Liversedge
0286802d1c RELEASE 3.6 BUILD TRIGGER
.. trigger build of release binaries

[publish binaries]
2023-08-05 12:24:25 +01:00
Mark Liversedge
925445a215 VERSION 3.6 RELEASE
.. final release of version 3.6
v3.6
2023-08-05 10:02:09 +01:00
Alejandro Martinez
511456bacd Update snapshot builds
To test latest changes before release
[publish binaries]
2023-07-30 13:39:32 -03:00
Alejandro Martinez
28f623b517 Preserve current layout as Legacy perspective
appending default perspectives for the view.
Fixes #4363
2023-07-03 15:16:57 -03:00
peret2000
4931ad1bd7 Upgrade Python AppImage version for Linux builds (#4375)
Python 3.7.16 AppImage is no longer available, upgrade to 3.7.17
2023-06-27 19:56:22 -03:00
Alejandro Martinez
7173437ab2 Update FIT SDK definitions to 21.115 2023-06-22 20:03:43 -03:00
dconka
14cb588f55 Update nongarmin.json (#4373)
Add new SIGMA ROX 12.1 EVO
2023-06-22 19:57:59 -03:00
Alejandro Martinez
2934bfe3bd Update German translation
Contributed by Marcen at the users forum
2023-06-20 17:45:51 -03:00
Mark Liversedge
dc3436dc65 Update README.md
.. OS X is now called MacOS (bit late to this one)
2023-06-08 15:24:10 +01:00
grauser
190aca8a73 Avoid double warning message 2023-06-07 22:47:07 +02:00
Mark Liversedge
6ef1cb7b96 Update README.md
.. include references to community sharing via cloud db
   open data and erg db

[skip ci]
2023-06-05 10:37:13 +01:00
Mark Liversedge
169c23ee58 Update README.md
.. more informative description with more fact based 
   statements and less emotive or hyperbolic language

[skip ci]
2023-06-05 10:31:26 +01:00
Mark Liversedge
7bf96285e7 Update README.md
.. screenshot instead of icon for github readme

[skip ci]
2023-06-05 10:06:28 +01:00
Mark Liversedge
067696aafd Screenshot for README.md
... Rather than the GC icon, lets put a screenshot of the app on the github
    welcome page for the repo

[skip ci]
2023-06-05 10:02:33 +01:00
peret2000
b07a7ef491 Use bicycle weight in Virtual Speed while training (#4365)
When computing virutalspeed based on slope, altitude, etc, total weight is relevant, specially in up and down hills

It was using 10kg plus the athlete weight. Now, it considers configured bicycle weigth. Not very relevant, but consistent with the data GH has for training
2023-06-04 17:05:02 -03:00
Mark Liversedge
7a1d99fca9 Refresh snapshot builds
.. last MacOS snapshots has an issue with the version of
   QT used and font matching which was fixed via a new commit.

[publish binaries]
2023-06-03 09:12:45 +01:00
Mark Liversedge
8b3dbbca7b Python 'printd' debug output strings not wide
.. we cannot pass wide strings to the 'printd' debug macro
   since it uses printf not wprintf. Not a major problem
   in this case since it is just a debug statement.

   introduced in previous commit that fixed crashes
   when embedding python v3.11 or higher
2023-06-01 09:12:58 +01:00
Poncho
e0a198a164 Fix python embedding crash with Python 3.11
.. use of standard strings instead of wide strings.

Fixes #4362
2023-05-31 21:14:11 +01:00
Mark Liversedge
f965345abc MacOS default font scaling smaller
.. for numerous reasons the font scaling on MacOS should be slightly
   less than for other platforms to be in keeping with the native
   systems font selections
2023-05-30 12:24:32 +01:00
Mark Liversedge
9b88abdeee Search QFontDatabase for installed fonts
.. instead of trying to create a font and use exactMatch()

.. this is faster and also avoids a qt-bug on MacOS for
   QFont::exactMatch() that keeps recurring
2023-05-30 08:28:49 +01:00
Alejandro Martinez
a37e27770c Update snapshot builds
For testing new default appearance settings
[publish binaries]
2023-05-28 18:20:46 -03:00
Mark Liversedge
228e2f24f9 Better fallback font sets
.. more likely to find Clear Sans and PT Sans on Linux
   and Mac respectively. Should avoid the dreaded Arial.
2023-05-28 17:17:42 +01:00
Mark Liversedge
93f8599070 Weird issue with QString arguments
.. fixed but not really sure why there was a problem
2023-05-27 12:04:53 +01:00
Mark Liversedge
7447af7053 About dialog show UI info
.. what dpi scaling and font size are we using. helpful for
   understanding how the ui is reacting to different resolutions
   and OS specific settings for scaling
2023-05-27 11:37:47 +01:00
Mark Liversedge
922c5e6985 Default Appearance Settings 2 of 2
.. default font scaling wasn't working (it was always 1.0). This is
   now fixed and means fonts are scaled so that GC always looks the
   same.

   For some users the fonts will appear too large, in this case they
   can reduce the font scaling to suit their own preferences.
2023-05-27 09:55:45 +01:00
Mark Liversedge
8a5bbc276f Fixup MacOS compiler error
.. last commit broke MacOS build and also left an errant debug
   statement in there for good measure
2023-05-26 13:23:04 +01:00
Mark Liversedge
c97efc1e49 Preferences reset appearances
.. a button on the config dialog to reset appearance settings
   to default values. Will be useful when fonts go squiffy
   of the user changes the resolution of their display.
2023-05-26 10:42:35 +01:00
Mark Liversedge
c01797b422 Minor fixup for default appearance recent commit
.. missing header broke build on MacOS

.. default width for mainwindow corrected
2023-05-25 11:24:26 +01:00
Mark Liversedge
47688ba754 Font fallback list use QString not char *
.. since initialising the array from strings is not supported
   in c++11 and causes a compile time error on Windows
2023-05-25 09:33:43 +01:00
Mark Liversedge
c97eac67a2 Default Appearance Settings 1 of 2
.. The default appearance settings on new install or directly
   after and upgrade are terrible and create a poor impression
   for new users

.. This commit fixes up scaling, font selection and themes so
   that for a new install or directly after upgrade they are
   set to defaults that are sensible for the current release

.. It is expected that these defaults will change and extend as
   we implement new features and the UI evolves- so these should
   be used as a basis for defaulting in the future.

.. A second update is required to resolve issues with scaling in
   overview charts dependant upon the screen resolution
2023-05-25 08:44:43 +01:00
Poncho
1a39471ad6 src/Python/PythonEmbed.cpp: forward python errors to the console (#4359) 2023-05-14 12:19:34 -03:00
Paul Johnson
0bf39ec4dd Stop batch processing entries from being edited (#4356) 2023-05-14 12:18:28 -03:00
Alejandro Martinez
103c87c600 Deprecate NewMainWindow
Complements fc3de5f
2023-04-22 21:13:34 -03:00
Alejandro Martinez
a3873a30fe Deprecate GProgressDialog
It was used only by the also deprecated MetricAggregator
2023-04-22 20:15:49 -03:00
Alejandro Martinez
efe64d3a96 Biweekly snapshot builds
Cumulative changes from v3.6-RC4
dbd33465c Update FIT SDK to 21.105
708d8744f Support larger font scaling
c85dab80a Skip previously imported files on Auto-Import (#4347)
1ecc6f9ec Python - Add compare support to activity series (#4349)
f0c9f12b4 FitRideFile - Identify Pulse Ox field
ab337f165 WorkoutWizard - Remove references to FTP and CP60
00d09af48 Highlight current selection in Train and Trends (#4320)
e7b9275a3 Update Italian translation
fdb35bf74 Athlete tab colour fix (#4257)
e32eabc10 Update German translation
[publish binaries]
2023-04-15 18:55:20 -03:00
Alejandro Martinez
dbd33465c4 Update FIT SDK to 21.105 2023-04-14 20:02:39 -03:00
Mark Liversedge
708d8744f6 Support larger font scaling
.. as 8k displays become more popular and affordable we need to
   support greater font scaling - we now scale up to x5 the
   default font size

   This should be good for devices well over 8k resolution but
   does highlight some limitations with Qt widgets and maximum
   sizes they support internally.
2023-04-13 11:01:11 +01:00
Alejandro Martinez
c85dab80a8 Skip previously imported files on Auto-Import (#4347)
If the importable file (after export when inside a .zip/.gz archive)
is present in imports files it means it was previously imported,
so it is skipped on Auto-Import for better performance and to avoid
re-appearance of deleted activities still present in the source folder.
Fixes #3696
Fixes #1892
2023-04-12 10:28:24 -03:00
Alejandro Martinez
1ecc6f9ec9 Python - Add compare support to activity series (#4349)
All activity functions working with data series,
both standard and xdata, now include an optional
compareindex=-1 parameter.
When compare mode is enabled compareindex parameter
is used as an index to get data for the corresponding
compare item, be an activity or an interval.
Sample chart contributed by Marcen at the users forum
Fixes #4346
2023-04-11 18:06:39 -03:00
Alejandro Martinez
26bf31a3d6 Biweekly snapshot builds
Just a few changes from RC4:
- Updated German, Italian and Spanish translations
- Better contrast in Athlete Tabs when using dark colors
- Better contrast for selected items in Trends/Train sidebar
  when using dark colors
- Clarify texts in Relative Wattage Workout Creator
[publish binaries]
2023-04-01 10:29:25 -03:00
vlcvboyer
97d5c896bd Code clean out (removing few warnings from build log) (#4331)
* Use wchar when 2 bytes charachers are used
* Mark provisional parameters as UNUSED
* Static cast OR select appropriate data type
* Fill up comment with missing parameter
---------
Co-authored-by: Alejandro Martinez <amtriathlon@gmail.com>
2023-03-29 19:36:46 -03:00
Alejandro Martinez
f0c9f12b44 FitRideFile - Identify Pulse Ox field
Generated by Garmin Health Snapshot activity.
Fixes #4344
2023-03-28 21:28:18 -03:00
Alejandro Martinez
ab337f165a WorkoutWizard - Remove references to FTP and CP60
Workouts are scaled using CP in GoldenCheetah.
2023-03-26 12:59:19 -03:00
Alejandro Martinez
1ae41e576a Revert "Workout Wizard - Honor Use CP as FTP setting"
This reverts commit 0767a98d0d.
My former interpretation was wrong, Workout Editor only
uses FTP for Coggan metrics, scaling uses CP.
2023-03-25 18:56:13 -03:00
Alejandro Martinez
0767a98d0d Workout Wizard - Honor Use CP as FTP setting
Like Workout Editor does, it is confusing otherwise.
2023-03-25 10:54:33 -03:00
vlcvboyer
00d09af489 Highlight current selection in Train and Trends (#4320)
Change on select bg and fg colors for Trends and Train,
currently are barely/no noticeable on Windows and macOs
when using dark colors.
---------
Co-authored-by: Alejandro Martinez <amtriathlon@gmail.com>
2023-03-25 10:33:46 -03:00
Alejandro Martinez
e7b9275a36 Update Italian translation
Contributed by Giuseppe Cifelli at the users forum.
2023-03-24 10:05:27 -03:00
Mark Liversedge
fc10661541 Revert SearchBox styling updates
.. the original behaviour is reverted, which is not ideal but
   does not cause rendering issues on Linux/MacOS and is compatible
   with searchbox usage on dialog widgets.

.. any updates to the toolbutton styling will need to consider
   a) placement on toolbar and dialog widgets
   b) platform specific considerations across Linux/Windows/MacOS
2023-03-24 09:44:05 +00:00