Commit Graph

10528 Commits

Author SHA1 Message Date
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
Mark Liversedge
536057bf66 Fixup Search/Filter Toolbutton on Linux
.. at least its fine on Linux, but need to consider how these
   changes have impacted MacOS separately.
2023-03-24 09:16:51 +00:00
Paul Johnson
fdb35bf74e Athlete tab colour fix (#4257)
* Corrects Athlete QTabBar tab colours to match NewSideBar,
  abstract on select background color selection from NewSideBar
  to Colors for reuse in MainWindow
* Fixes dropMenu visibility within the Filter/Search Box on Dark Themes
---------
Co-authored-by: Alejandro Martinez <amtriathlon@gmail.com>
2023-03-23 20:01:46 -03:00
Alejandro Martinez
e32eabc102 Update German translation
Contributed by Marcen at the users forum
2023-03-22 13:26:10 -03:00
Alejandro Martinez
985710a828 Update v3.6-RC4 builds
Fixes AZUM secret and Batch Processing localization issues
[publish binaries]
2023-03-21 10:30:07 -03:00
Alejandro Martinez
1aa166bea1 Patch Secrets.h with AZUM secret
Missing from previous commit
2023-03-20 22:01:47 -03:00
Alejandro Martinez
884cfef788 Update translation files for BatchProcessingDialog 2023-03-20 20:19:59 -03:00
Alejandro Martinez
02ad9767e2 BatchProcessingDialog - Fix localization errors
- DataProcessor primary key is english name,
  but localized name is displayed in combobox
- tr() macro only works on string constants
- make all messages translatable
- remove unused messages
2023-03-20 20:19:02 -03:00
jgpallero
574c8005c3 Spanish translation update (#4342) 2023-03-20 13:44:41 -03:00
Alejandro Martinez
b907e7f0a6 V3.6 RC4 BUILD
Trigger v3.6 RC build.
[publish binaries]
v3.6-RC4
2023-03-18 13:38:09 -03:00
Mark Liversedge
29f59e3e24 Fixup MacOS compile error
.. missing header for QMessageBox
2023-03-17 18:50:15 +00:00
Alejandro Martinez
36cb446810 Update translation files
to include strings in BatchProcessing dialog.
2023-03-17 13:45:36 -03:00
Alejandro Martinez
6bf7781aea Change running Python DPs from Edit menu
To better match the new BatchProcessing dialog
- Python DPs are listed together with builtin processors
  to be executed like parameterless built in DPs, with
  option to cancel.
- They also appear under the Python Fixes submenu, but in
  this case they also can be edited.
2023-03-17 13:40:19 -03:00
Paul Johnson
add0f301e9 Batch processing (#4226)
Batch Processing - Delete, Data Processors & Export

Extension of Batch Export dialog to include other operation on multiple activities:
- run data processor (Builtin or Python)
- delete (after confirmation)

Co-authored-by: Alejandro Martinez <amtriathlon@gmail.com>
2023-03-17 13:01:48 -03:00
Alejandro Martinez
c77b32efaa Azum - Update Client ID and Secret 2023-03-16 15:28:29 -03:00
Alejandro Martinez
3aed45e96b FilterHRV - don't assume current activity
Fixes use from formulas and Python fixes
2023-03-14 13:07:26 -03:00
Alejandro Martinez
392ec2a74a Add Azum secret for AppVeyor builds 2023-03-13 11:49:46 -03:00
DanielZelei
2fc0c1d9ca Disable Azum logging 2023-03-13 09:08:53 +00:00
DanielZelei
dae573c939 Add optional user key to the Azum cloud provider 2023-03-13 09:08:53 +00:00
DanielZelei
0f5ec45308 Azum - disable logging 2023-03-13 09:08:53 +00:00
DanielZelei
a808b68ad7 Add new cloud service provider - Azum 2023-03-13 09:08:53 +00:00
Alejandro Martinez
5c0eb9910b Fix Travis-ci Linux build
[skip AppVeyor]
Copy sip.h to default Python include directory.
[publish binaries]
2023-03-05 20:08:34 -03:00
Alejandro Martinez
67136b3cdf Enable Python DPs use Metadata in automatic mode (#4336)
Data Processors running on import are applied before the activity
is added to RideCache and metrics are computed, this behavior is
by design, likely to optimize resource usage on bulk import.
So activityMetrics API is not available; a new getTag API was
added for this case and setTag/delTag/hasTag changed to work
in this context too.
When the Python fix is executed on activities already in the cache
either via Edit menu, Filters or other Python Fix changes are
notified via the corresponding RideItem.
Fixes #4095
[publish binaries]
2023-03-05 16:26:25 -03:00
Alejandro Martinez
42c43c7689 Fix Data Processors running on save after import
Currently they are ignored since applied to a RideFile
object immediatly discarded.
Changed to mimic behavior of CloudServices.
2023-03-05 13:16:02 -03:00
Alejandro Martinez
97570efdd2 Revert "Disable automatic execution of Python Data Processors"
This reverts commit 0d979f9fb9.
2023-03-01 21:25:15 -03:00
Alejandro Martinez
9b10f73422 Revert "Disable execution of Python DPs from formulas and Python API"
This reverts commit 434580ee81.
2023-03-01 21:22:32 -03:00
Alejandro Martinez
92963c8c83 Update default ODPM and WKO4 charts
Use the newly added timestring to format TTE
2023-02-27 13:06:24 -03:00
Alejandro Martinez
0e8fe3f9c9 Performance Tests - Add images for the wiki
[skip ci]
Contributed by Marcen at the forum
2023-02-27 11:33:06 -03:00
Alejandro Martinez
f2f519c44c New images for the wiki
[skip ci]
Contributed by Marcen at the forum
2023-02-19 22:10:16 -03:00
Alejandro Martinez
5f759c0b31 TabBar Chart Menu - image for the wiki
[skip ci]
Contributed by Marcen at the users forum
2023-02-18 16:21:30 -03:00
Alejandro Martinez
64907a3d2b Update CP Chart image for the wiki
[skip ci]
Contributed by Marcen at the users forum
2023-02-17 10:48:21 -03:00