Commit Graph

4112 Commits

Author SHA1 Message Date
Mark Liversedge
afa1b9bbf4 Add TRIMP based PMC to charts.xml 2014-06-27 07:01:52 +01:00
Mark Liversedge
fc7c11e640 A bit of transparency on reveal controls
.. sometimes they obscure chart content and its easy enough to
   make them slightly transparent.
2014-06-25 17:52:40 +01:00
Mark Liversedge
dc24072f80 Fix 2secs ride plot fencepost errors
.. multiple off-by-one errors working together to truncate the
   ride plot by 2 seconds.

Fixes #935
2014-06-25 15:13:57 +01:00
Mark Liversedge
2805aa6f51 Fix SEGV and more when athlete home changed
.. segv removed caused by signalling configChanged when context has been
   deleted due to all the mainwindows being closed

.. check for path being reset to blank as well as being set to a different
   place.
2014-06-25 12:30:52 +01:00
Mark Liversedge
f5bfb0a3d5 Fix up Library/GoldenCheetah and GC_HOMEDIR
.. fix the prior fix. ugh.
2014-06-25 11:47:30 +01:00
Mark Liversedge
6dfc533fd5 Fixup a few string literal from QVariant issues
.. bug related to appsettings and "0" string occurred in a
   few places -- this fixes and post fixes that.
2014-06-24 19:29:56 +01:00
Mark Liversedge
f28fd25e1e Fix Library/GoldenCheetah bug
.. its complicated .. basically, if a local directory exists it will
   *always* be used for application settings.

.. when you run GC for the first time with a local Library/GoldenCheetah
   then the HOMEDIR_GC will not be set as there is no config in there

.. the code checks this setting for blanks (but that fails because the
   value actually returned is "0") and so the local library is set to the
   value returned "0"

.. but the local library doesn't exist so it falls back to opening from
   the default location but using config from Library/GoldenCheetah !

.. the next time you launch all this gets resolved and you use
   Library/GoldenCheetah with the settings you set the last time.

Fixes #936
2014-06-24 19:13:09 +01:00
Mark Liversedge
26bc3a6593 For Pete and his Son
.. smaller cranks for the next Jack Bobridge !
2014-06-24 11:49:22 +01:00
Mark Liversedge
535b063083 Remove qDebug from NullController
.. only used in testing but still irritating !
2014-06-23 17:03:27 +01:00
Mark Liversedge
d0f6c91e71 Use QT 5 Video Playback
.. If you build with QT 5 then we now use the QT video widgets
   instead of VLC for Windows and Linux

.. We still use QuickTime for Mac OS X

NOTE: On linux Gstreamer is used and therefore all the right
      codecs and backends need to be setup for this to work.
      On windows its more complicated as it depends how Qt
      was compiled, see:

         http://qt-project.org/wiki/Qt_Multimedia_Backends
2014-06-23 16:23:45 +01:00
Mark Liversedge
2f36383df5 Default linewidth smaller
.. was 2.0px now 0.5

.. no longer looks like it was drawn with a crayon by default !
2014-06-23 10:06:03 +01:00
Mark Liversedge
902210a183 Antialias is now on BY DEFAULT 2014-06-23 10:03:20 +01:00
Mark Liversedge
75b42b8e9d Clear Web caches between restarts
.. stops lots of LEAK warnings that are related to the
   javascript garbage collector (QT5).
2014-06-23 09:52:59 +01:00
Mark Liversedge
beeedc4d64 Disable Drag/Drop Ride on Windows QT 5
.. it crashes !

.. we need to wait for QT 5.3.1 when this bug is
   fixed: https://bugreports.qt-project.org/browse/QTBUG-37813
2014-06-23 09:32:08 +01:00
Mark Liversedge
1603d62769 Fix redefinition of signal in RideNavigator
.. introduced when refactoring AnalysisSidebar
2014-06-23 09:14:09 +01:00
Mark Liversedge
378e5ae0b1 Fix SEGV on QuarqRideFile Windows QT5
.. delete the process later in the event loop.
2014-06-23 09:11:07 +01:00
Mark Liversedge
121cd36dae Windows Libusb / UsbXpress should be optional
.. ANT.cpp now happily compiles with no USB support
   present on Windows -- which means ANT will obviously
   no longer work, but that may be intended.
2014-06-22 22:01:52 +01:00
Mark Liversedge
55cc1357bf Fix Windows QT5 Paths
.. no longer need to append 'GoldenCheetah' to the location
   since on QT 5 the executable name is used, which is GoldenCheetah

.. by sticking with this we can rename the binary to use a different
   location, which may be useful for testing
2014-06-22 22:01:52 +01:00
Mark Liversedge
8d92adfcb2 Tidy up warnings (Linux) 2014-06-22 16:34:28 +01:00
Mark Liversedge
83dcb7a2b5 Add TISS to default metadata.xml 2014-06-22 16:28:59 +01:00
Mark Liversedge
cc96155748 3.1 Upgrade Processing Part 3 of 3
.. PM chart is deprecated, so when loading an LTM chart
   with skiba curves is implemented instead.

.. we cannot easily add charts to the layout without refactoring
   HomeWindow so have moved that out of scope

NOTE: The upgrade processing has not been activated -- but can
      be once we build and issue our first 3.1 RC.
2014-06-22 16:25:17 +01:00
Mark Liversedge
076b037201 Merge pull request #933 from Joern-R/pull1
LTM Popup - further enhancements
2014-06-22 15:28:37 +01:00
Mark Liversedge
c8d1e3fddc 3.1 Upgrade Processing Part 2 of 3
.. update RideMetadata to remove 'Default' color
   if it exists and add 'Reverse' color

.. will also add 'TSS', 'Aerobic TISS' and 'Anaerobic
   TISS' to the metric tab if needed to avoid FAQ #1.
2014-06-22 14:52:15 +01:00
Mark Liversedge
2d3bef85b2 3.1 Upgrade Processing Part 1 of 3
.. getting the upgrade code going, this just adds new functions
   for changing colors and themes and doesn't perform an upgrade

.. Part 2 will deal with W' and power.zones changes

.. Part 3 will deal with chart setup changes
2014-06-22 13:08:27 +01:00
Joern
92fe2a7c48 LTM Popup - further enhancements
... make window "minimumSize" - so that resize in case of many columns
works
... handle LTM_TOD when called from LTM-Chart (list the rides in the
hour, considering DateRange)
... consider HomeFilter and Search/Filter in result list
... also show Rides of only 1 ride is selected (since Rides contain
Date/Time) and the Metrics (which mostly are not part of the Summary
HTML)
... do not allow MouseSelection of only 1 Ride is shown
... some more tr()
2014-06-22 13:08:44 +02:00
Mark Liversedge
39642ade32 Add 3d back to default layout
.. now the phantom widget glitch is fixed
2014-06-22 09:34:04 +01:00
Mark Liversedge
9b1460e043 Remove Orphaned Widget in HomeWindow !
.. wow, this has been there for at least 3 or 4 years and
   never bitten us.

.. for some strange reason it bites when you have a 3d plot
   in one of the layouts.
2014-06-22 09:31:26 +01:00
gcoco
3fa2f69cdb Blank Summary subtitle 2014-06-21 21:50:11 -04:00
Mark Liversedge
53f520d9f2 Remove 3d from default layout
.. until we sort the phantom widget issue.
2014-06-21 23:00:01 +01:00
Mark Liversedge
67fce67482 3d plot code update
.. to reflect current code requirements

NOTE: there is a 'phantom' widget with the 3d window that
      covers the left side of the chart bar and makes it
      impossible to click on the summary button.
2014-06-21 22:58:20 +01:00
Mark Liversedge
0b155fdcbb Add 3d plot to standard layout 2014-06-21 20:50:33 +01:00
Mark Liversedge
7159908a29 3d plot honor CPLOTMARKER
.. for axis colors
2014-06-21 20:47:20 +01:00
Mark Liversedge
d1a880bcc9 Fix V Alignment for Stack Series
.. using setMinimumExtent()
2014-06-21 11:58:21 +01:00
Mark Liversedge
387fedf5e5 W'bal use kJ not J on AllPlot Axis
.. uses less space !
2014-06-21 11:24:53 +01:00
Mark Liversedge
731d975037 Fix W'bal series plot pan zooming
.. when series stack plotting in AllPlot the W'bal series
   doesn't pan/zoom along with the other plots
2014-06-21 10:42:14 +01:00
Mark Liversedge
0be0f08afa Fix LTMCanvasPicker SEGV on delete tab
.. not always, but sometimes !
2014-06-20 17:24:41 +01:00
Mark Liversedge
c8614b1abb Tooltip Color
.. changed from yellow to light gray to be more theme
   neutral and align with the colors across the rest
   of the base gc colors.
2014-06-20 16:21:00 +01:00
Mark Liversedge
f51ef3c3d8 Add Temperature to Season Summary
.. if it is available, like we do for ride summary
2014-06-20 16:04:07 +01:00
Mark Liversedge
1cdaf04f78 Merge pull request #932 from Joern-R/pull-l1
Translation DE - Update
2014-06-20 14:59:29 +01:00
Joern
6fb6a24402 Translation DE - Update
... more translations / following latest code changes
2014-06-20 16:00:41 +02:00
Mark Liversedge
fa77709f9f Fix column chooser in activity log 2014-06-20 14:00:26 +01:00
Mark Liversedge
727d214dbb Forgot to set aggregateZero() to true for Temperature ! 2014-06-20 13:14:10 +01:00
Mark Liversedge
2f0aa21263 Merge pull request #931 from Joern-R/pullpopup
LTM Popup - HTML generation
2014-06-20 13:05:59 +01:00
Mark Liversedge
a084ec96e6 Fix Average Temperature Issues
.. Don't include -255 in average

.. Don't show -255 in ride navigator

.. Don't show a value on summary if not preset
2014-06-20 12:59:03 +01:00
Joern
6182806dbb LTM Popup - HTML generation
... generating HTML instead of Template File (to allow translation)
... considering the same Fields, incl. User Defined Metrics as Summary
Page HTML
... aligning Vertical Scroll bars + adding a little space between the
widgest so that Scroll Bars do not touch each other
2014-06-20 13:24:08 +02:00
Mark Liversedge
7c0ec54155 Metric Aggregation ::aggregateZero() method
.. when aggregating metrics across rides we were being inconsistent
   with regards how we handled zero values; we sometimes included them
   and sometimes didn't.

.. now added a metric method bool aggregateZero() that returns true
   if aggregates need to include zero values

.. this has been implemented where averages are aggregated.
2014-06-20 11:19:55 +01:00
Mark Liversedge
81de41633a Remove unneeded #define
.. it caused a compile error for some strange reason
   on mingw64 !? (#define DEVICE_TYPE 0)
2014-06-20 08:34:09 +01:00
Mark Liversedge
68fa31750d Merge pull request #930 from Joern-R/pull1
Translation Enablement
2014-06-20 08:30:20 +01:00
Joern
1b34c8428a Translation Enablement
... just 2 tr()s
2014-06-20 09:10:52 +02:00
Mark Liversedge
2ce9433a0f DataFilter handle metadata numerics
.. code assumed numeric fields always metrics when they
   could also be metadata.

.. this also fixes checkbox tests too
2014-06-19 21:25:58 +01:00