Commit Graph

10307 Commits

Author SHA1 Message Date
Alejandro Martinez
9e99199553 Windows builds on AppVeyor - Avoid macro redefinition warnings
They made the build log practically unusable
[skip Travis]
2022-07-17 20:25:17 -03:00
Alejandro Martinez
0d979f9fb9 Disable automatic execution of Python Data Processors
They are only partially supported currently and this
confuses users. See #4095 for details.
2022-07-13 16:45:59 -03:00
jgpallero
3b073b9168 Update Spanish translation (#4245) 2022-07-11 20:52:54 -03:00
Alejandro Martinez
8d8d1a0601 Enable translation of IsoPower metric name and units
Update translation files to include the new strings added in latest
commits.
2022-07-11 19:46:21 -03:00
jgpallero
1967134418 Minor fixes in Spanish translation (#4243) 2022-07-11 17:35:54 -03:00
Alejandro Martinez
ecfc23455a Revert to Mojave for macOS Travis-ci builds
[skip appveyor]
Builds on Catalina are failing due to 50min max time limit.
[publish binaries]
2022-07-11 14:46:05 -03:00
Mark Liversedge
b96a31400b Fix Xert secret compile error
.. missing include for Secrets.h in source

Fixes #4244
2022-07-11 12:20:20 +01:00
Alejandro Martinez
98a3a6984c Update INSTALL documents to Qt5.15.2 and generate Snapshots
To enable more testing of the new background refresh, building with
Qt5.15 and Xert/Nolio credentials.
[publish binaries]
2022-07-10 13:05:47 -03:00
grauser
05992c8c2f ci:patch secret.h for Nolio 2022-07-09 17:43:12 +02:00
grauser
7e8f3a3228 Add GC_XERT_CLIENT_SECRET
[publish binares]
2022-07-09 17:11:56 +02:00
grauser
d3fb4f1685 Add GC_XERT_CLIENT_ID 2022-07-09 15:44:21 +02:00
Alejandro Martinez
cb1e59f9dd Histogram Chart - setIsBlank when data series is not available
Changes isDataPresent to check for derived series wattsKg and wbal
Fixes #4238
2022-07-07 11:46:33 -03:00
Alejandro Martinez
086be52ad9 Disable Power Index for running
We don't have standard model parameters for running, yet.
2022-07-06 20:13:34 -03:00
Alejandro Martinez
da01a8f39b Toolbar Perspectives - Screen captures for the wiki
[skip ci]
2022-07-04 21:48:19 -03:00
Alejandro Martinez
6d4921ba09 Add context sensitive help for the toolbar
Includes updated screen capture for the wiki.
2022-07-04 17:31:38 -03:00
Alejandro Martinez
48c8725507 Remove Velo and WS models from syntax helper
They are disabled in v3.6 due to fitting issues.
2022-07-03 13:21:56 -03:00
Mark Liversedge
ab055101e1 Dont use count {} in user metrics
.. lets not allow the user to call a user defined function
   called "count" - despite wanting it for user metrics.

.. terrible flaw in the user metric design, forcing users
   to define a function that conflicts with a builtin.

.. this means we can use the count() builtin function
   in user metric code, which is kind of important !
2022-06-25 23:50:05 +01:00
Mark Liversedge
66275c6c21 Template user metric infinite recurse
.. the template user metric defined a count { } user metric
   function that also used the builtin count() function, but
   at runtime the user defined function is called causing an
   infinite recurse.

.. it is right that user metrics can override builtin functions
   but is very unfortunate that the count function is named this
   way.

.. most users likely will never encounter this- but will cause a
   SEGV stack overflow.
2022-06-25 23:13:57 +01:00
Mark Liversedge
e602ba4d31 Better metric refresh progress updates
.. precious commit has a significant improvement in performance
   since it reduces total CPU activity not related to metric
   calculation dramatically.

.. this commit is a minor tweak to ensure updates are shown
   relative to the number of activities- so instead of giving
   visual feedback after every 100 activities we give feedback
   after every 10% of the activies are processed.
2022-06-25 09:33:12 +01:00
Alejandro Martinez
4345c97960 RideCache refresh - avoid overloading the GUI event loop
When using concurrent map QFutureWatcher flow controls progress
notifications, this commit implements a basic version sending
1/100 refresh updates.
2022-06-24 11:58:36 -03:00
Alejandro Martinez
9d2d8651ae DataFilter - Fix sma smooth direction
Reported at the forum, backward and forward are inverted,
lets use existing defines to avoid confusion.
2022-06-22 12:17:39 -03:00
Alejandro Martinez
f8b2a04b30 One time Summary chart was deprecated when upgrading athletes
With the option to cancel to give the user a chance to backup
before upgrading or reinstall v3.5
Fixes #4191
2022-06-17 11:44:52 -03:00
Alejandro Martinez
7fba9b1f5e Upgrade macOS builds on Travis-ci to xcode12.2 osx_image
[skip AppVeyor]
To use macOS 10.15 and newer Qt5 version
2022-06-14 15:37:57 -03:00
Alejandro Martinez
cb7b2a07d8 Upgrade Qt to 5.15.2 for Linux builds on Travis-ci
[skip AppVeyor]
2022-06-14 15:36:17 -03:00
Mark Liversedge
5684b89c69 Fixup previous commit
.. remove Qt5Concurrent.dll from windows installer as
   it is no longer required.

.. remove errant class member in RideCacheRefreshThread
   that was added then unused during development.
2022-06-12 19:24:36 +01:00
Mark Liversedge
9d9ad753f3 Metric refresh no longer uses QtConcurrent::map()
.. since Qt5.15 QtConcurrent::map() will use all available
   worker threads in the global thread pool. And this causes
   a deadlock in the GUI since QGraphicsView uses threads to
   manage updates.

.. we now manage the metric refresh via RideCacheRefreshThread
   and use at most 50% of the overall threads available in the
   global thread pool.

.. Have tested obvious triggers such as metric schema updates
   and user metrics being changed, but more testing is needed.

Fixes #3611
2022-06-12 17:00:01 +01:00
Paul Johnson
dd5bc51604 User selectable map route line color and switchable route line out & back opacity (#4030) 2022-06-10 16:59:28 -03:00
Alejandro Martinez
c85054ed61 ComparePane - Filter segments matching sport
When a segment is dropped in an empty compare pane
the user is given the choice to add matching segments
from other activities, after this change only activities
of the same sport are considered.
2022-06-02 20:26:37 -03:00
Alejandro Martinez
fcbe02e83e TrainBottom - Raise autorepeat delay
Current value is to eager for some setups
triggering unexpected jumps in play position.
2022-06-02 19:39:49 -03:00
Alejandro Martinez
a5d64686d9 FIT file Import - Set Weight field from user_profile
Fixes #4224
Also removed compiler warnings
2022-05-20 12:39:45 -03:00
Alejandro Martinez
a63bee518d CP Estimator - start 7 days periods on mondays
For consistency with the rest of GC and to make easier for users to understand how it works.
Fixes #4221
2022-05-19 13:38:49 -03:00
Alejandro Martinez
3e5fefa4ec Upgrade to Qt 5.15.2 for Windows build on Appveyor
Since Qt 5.14.2 was removed from Appveyor images
Also fixed R version to latest 4.1 since there are issues with 4.2
[skip Travis]
2022-05-15 19:25:08 -03:00
Alejandro Martinez
f74b5aed6d Tidy up ci scripts
Deprecated unused scripts and renamed Windows installer nsi file.
2022-05-15 13:33:48 -03:00
jgpallero
aeb6630ede Fix small typos in Spanish translation (#4218) 2022-05-15 09:48:09 -03:00
Alejandro Martinez
e97034fb7d Fix boundary condition in Estimator
Last activity is not considered when it starts a new 7 day period.
Fixes #4220
2022-05-13 20:58:28 -03:00
Poncho
9b29fb2f8d travis/linux: set QTWEBENGINE_DISABLE_SANDBOX=1 (#4216)
There is an issue with qtwebengine (chromium) and glibc 2.34 affecting Arch
and similar rolling release distributions when using Qt<5.15.5
See: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/374204
Fixes: https://github.com/GoldenCheetah/GoldenCheetah/issues/4196
[publish binaries]
2022-05-08 17:41:01 -03:00
Paul Johnson
3a9620a3d9 Pass ride context to Python DPs when available (#4214)
Partial fix for #4095 - Python DPs now work in automatic mode using the run on save option.
2022-04-28 12:55:39 -03:00
Alejandro Martinez
be1af0f6d6 Import Name element from fitlog files
Also fixes a (likely) typo when downloading from sporttracks.mobi
Fixes #4212
2022-04-20 19:33:38 -03:00
Alejandro Martinez
98c22dc185 AppVeyor - change to Previous Visual Studio 2019 image
Since Qt5.14.2 was removed from the current one.
Once this becomes unavailable we would need to go forward to Qt5.15
2022-04-12 20:31:46 -03:00
Alejandro Martinez
4c975c7af2 Filter by sport of selected activity on Activities view
Missing part of #3280
Fixes #4204
2022-04-12 12:52:03 -03:00
Alejandro Martinez
345b70f38f Upgrade python AppImage version for Linux builds
[skip AppVeyor]
Python 3.7.12 AppImage is no longer available,
upgrade to 3.7.13
2022-04-10 10:30:38 -03:00
Alejandro Martinez
12828cdce6 Revert "Upgrade Travis-ci Linux builds to Qt5.15.2"
This reverts commit 5251c5bbcc.
It doesn't fix #4196 according to feedback in the users forum
2022-04-10 10:24:22 -03:00
Alejandro Martinez
5251c5bbcc Upgrade Travis-ci Linux builds to Qt5.15.2
[skip AppVeyor]
Fixes #4196 but may trigger #3611, this is a test build
intented to help on release version selection.
Upgrade Python AppImage to 3.7.13 since 3.7.12 is no longer available.
[publish binaries]
2022-04-08 22:37:12 -03:00
Stranger
a0c2034fa9 Russian translation update (#4198) 2022-03-20 15:07:08 -03:00
Alejandro Martinez
93d0ac113a Remove autoRepeat from TrainBottom connect buttom
It is likely proking some weird behavior reported at the forum,
and it doesn't seems to make any sense in this case anyway.
2022-03-16 11:41:10 -03:00
Alejandro Martinez
2e33c745c6 Add cadence data to Xert download if present
It seems to be supported according to https://www.xertonline.com/API.html
2022-03-16 11:37:22 -03:00
Alejandro Martinez
6b7121bdcb Add encrypted keys for Nolio sync and generate test build
GC_NOLIO_CLIENT_SECRET shortened to GC_NOLIO_SECRET to avoid travis-ci limit.
[publish binaries]
2022-03-07 12:36:53 -03:00
Sping Zhao
c0894805ac Simplified Chinese updated. (#4188) 2022-03-02 02:04:50 -03:00
Alejandro Martinez
61afa38826 Python Charts - Replace $$ by chartid in scripts
It worked for the console, but it failed for scripts running on a separate thread.
Fixes #4185
2022-03-01 17:00:36 -03:00
Alejandro Martinez
eb66524775 Update default config URL for v3.6 release
Currently only Train layout is there, so on Reset Layout
the included layouts will be used for remaining views,
but these are more recent than the ones on v3.5 folder.
Part of #3899
2022-02-28 14:19:51 -03:00