.. 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.
.. 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
.. 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
.. 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
.. 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.
.. 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.
.. 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
... 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()
.. 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.
.. 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.
... 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
.. 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.