Commit Graph

2450 Commits

Author SHA1 Message Date
Mark Liversedge
12c8e29627 INSTALL-MAC libusb instructions
Now include the patch required to get a compilation
going. Thanks to Gareth for the link.
2013-02-28 07:16:10 +00:00
Mark Liversedge
8f73340dee Splitter menu position and tooltips 2013-02-27 19:21:50 +00:00
Mark Liversedge
b3cfa84add New sidebar splitter on Analysis and Diary 2013-02-27 16:03:56 +00:00
Mark Liversedge
f56538d8b7 UI Nits: Splitter decor
Moved icon bar back to the bottom and made Splitter handle
same size as scope bar.

The splitter handle paint artefacts were caused by splitter
size restore from before the "new" splitter. We will need to
rename all the settings to ensure we don't get incorrect sizes
for them in future.
2013-02-27 12:38:18 +00:00
gcoco
7b7d69e264 Added Garmin Edge 510 2013-02-27 06:10:59 -05:00
Damien
0748d5ce90 UI Nits: Sidebar WIP
Move extra menu
2013-02-26 23:12:56 +01:00
Mark Liversedge
1b4a8e0ed5 UI Nits: Fix splitter expanding
Since the treeviews didn't fill the space in the sidebar.
This was because the splitter itself wasn't expanding since it
used the sizepolicy of its children.

.. not sure the class hierarchy is right for this stuff, but will
stick with it for now.
2013-02-26 22:04:35 +00:00
Marco Piccirilli
e815029962 v3.0 Italian Translation
.. all texts translated!
2013-02-26 09:25:16 +00:00
Mark Liversedge
788a48cdfc Splitter for Train View
.. icons and basics. Wanted three treeviews to work on the
issue related to treeviews not expanding properly.
2013-02-25 22:41:48 +00:00
Damien
056264d83e UI Nits: Sidebar WIP 2013-02-25 23:33:22 +01:00
Mark Liversedge
54a1faa19a Handle button too small on Linux 2013-02-25 19:55:55 +00:00
Mark Liversedge
da495d8700 Fix SEGV on unsupported device types
.. train tool segvs on device types that were previously
configured but are no longer supported. This fix now silently
ignores any devices that are no longer supported.

Fixes #497.
2013-02-25 13:37:07 +00:00
Mark Liversedge
b35114ef50 UI Nits: Sidebar WIP
.. some cosmetic and tidy ups for the recent sidebar WIP update
from Damien. Just trying to get clean look before making the icon
bar look more like the one in XCode and make the icons use the
Cocoa "template" look.
2013-02-25 13:19:50 +00:00
Damien
4363e1990c Strava download : add error messages 2013-02-24 23:00:17 +01:00
Mark Liversedge
91f6e8a925 Minor fixups to new Splitter
.. to compile.
2013-02-24 21:38:39 +00:00
Damien
14f223f7d1 Add missing images in last commit for sidebar 2013-02-24 22:33:31 +01:00
Damien
f636623d32 UI Nits : Add a splitter control 2013-02-24 22:20:57 +01:00
Mark Liversedge
d054534097 Weight entry honours user preference
.. metric or imperial.
2013-02-24 18:38:39 +00:00
Mark Liversedge
f2d9b42ff1 QA/2d customise symbol color
Let the user define the color used for the symbols on the PfPv
and Scatter plot when framing intervals.
2013-02-24 17:30:58 +00:00
Claus Assmann
f2aaba888c Poweragent 7.5.7.34 CSV date format
It seems the new PowerAgent version (7.5.7.34) changed the format
of the date/time data in the csv file:

6,2011-01-02 21:22:20|2011-01-02 21:22|01/02/2011 21:22|2011-01-02 21-22-20,0,0, ...

Here are the header lines of the new PowerAgent csv file:

Version,Date/Time,Km,Minutes,RPE,Tags,"Weight, kg","Work, kJ",FTP,"Sample Rate, s",Device Type,Firmware Version,Last Updated,Category 1,Category 2
6,2011-01-02 21:22:20|2011-01-02 21:22|01/02/2011 21:22|2011-01-02 21-22-20,0,0,0,,55.8,807,227,1,CycleOps Joule,18.054,,0,0
User Name,Power Zone 1,Power Zone 2,Power Zone 3,Power Zone 4,Power Zone 5,Power Zone 6,HR Zone 1,HR Zone 2,HR Zone 3,HR Zone 4,HR Zone 5,Calc Power A,Calc Power B,Calc Power C
,0,0,0,0,0,0,148,157,167,172,250,0,-0,0
Minutes, Torq (N-m),Km/h,Watts,Km,Cadence,Hrate,ID,Altitude (m),Temperature (°C),"Grade, %",Latitude,Longitude,Power Calc'd,Calc Power,Right Pedal,Pedal Power %,Cad. Smooth
2013-02-24 15:56:57 +00:00
Damien
0fb8351bbc Add Strava activity download feature 2013-02-23 23:16:53 +01:00
Mark Liversedge
cf59ac938e UI Nits: Less vibrant gradients
.. go back to more GC-like color defaults, which became a little
too vibrant in a recent update to introduce linear gradients to
the CP, Histogram and LTM plots.
2013-02-23 16:34:09 +00:00
Mark Liversedge
0cc4cca75c UI Nits: Diary Sidebar
.. alignment and spacing.
2013-02-21 21:32:04 +00:00
Mark Liversedge
c121e8cd11 Support old flex or lex
.. in JsonRideFile.l

Because we added a call to yy_lex_destroy in the parser
but it may not exist in Flex < 2.5.9 or if we are not using
GNU Flex, e.g. good ol' ATT lex.
2013-02-21 18:47:10 +00:00
Claus Assmann
447c87fcf0 Update INSTALL-LINUX for needing > Flex 2.5.9 2013-02-21 18:37:20 +00:00
Mark Liversedge
30c13fe973 Code Cleanup: RideFileCache remove mallocs
Mark Rage's superfast meanmax computer works like a charm but
uses stdlib malloc/free for memory allocation.
2013-02-21 13:07:00 +00:00
Mark Liversedge
cf2e0251c5 Code Cleanup: Deprecate Train Streaming
We no longer support streaming data from the Train View.
All the source for this has been moved to deprecated.
2013-02-20 22:11:54 +00:00
Mark Liversedge
d2457db458 Code Cleanup: RideFile EditorData memory leak
.. when freeing memory for the ridefile we didn't delete
the memory allocated for editor data
2013-02-20 21:11:13 +00:00
Mark Liversedge
714c635f55 Code Cleanup: Json lexer memory leak
.. possibly. According to the docs we need to free
the malloc'ed memory in the lexer when parsing completes.
2013-02-20 20:20:32 +00:00
Mark Liversedge
4c244327c6 UI Nits: Splitter handles cosmetics
Its the OCD in me again. Got rid of the "gap" between the
splitter handles and lined up the labels etc.
2013-02-20 13:30:01 +00:00
Damien
6493f4ab2f Sidebar : Use QSplitterhandle 2013-02-18 22:55:21 +01:00
Mark Liversedge
32b0124160 UI Nits: Font tweaking splitter 2013-02-18 21:24:17 +00:00
Mark Liversedge
63bf34f1d5 UI Nits: splitter color
.. black is too in your face. changed to dark gray.
2013-02-18 19:45:27 +00:00
Mark Liversedge
f53c5beee0 UI Nits: Sidebar cosmetics
.. MainWindow splitter color to bring in line with the new work
from Damien.
2013-02-18 19:37:05 +00:00
Mark Liversedge
38c636937a Fix season drag and drop SEGV 2013-02-18 19:08:35 +00:00
Mark Liversedge
3bb869345a UI Nits: Seriously OCD 2013-02-18 17:36:09 +00:00
Mark Liversedge
1c56702930 UI Nits: OCD cosmetics for splitter handles
OK, I admit it, I am OCD when it comes to this stuff. The
handles are a WIP and Damien is working hard on it, but for
now I just wanted to get rid of;

- spacing between handle and content
- focus / height of handle toolbar

Its gonna go when Damien finishes his excellent work, but I
just needed to get rid of it temporarily, I was getting bit
of a twitch ;)
2013-02-18 17:31:57 +00:00
Mark Liversedge
0431edac81 Code Cleanup: Fix yyinput warnings
.. we can tell flex to not generate the yyinput code in the
first place, to remove compiler warnings about emitting yyinput()
2013-02-18 16:24:59 +00:00
Mark Liversedge
9c98ac84d3 Merge pull request #492 from Walibu/master
Adding L/R balance saved into ridefile
2013-02-18 02:43:35 -08:00
Walter Bürki
49c1f485fc added left/right balance values into ridefile 2013-02-18 11:06:32 +01:00
Mark Liversedge
d0cb13eb4c Code Cleanup: Fix Xcode 4.6 compiler warnings
.. largely about unused member variables in class definitions
2013-02-17 20:26:22 +00:00
Mark Liversedge
909dc6df0e Add script to build xcode 4.6 project files
.. just upgraded to Xcode 4.6 and the project files
created by qmake 4.8 don't work. After scanning the
web I found a workaround in QTBUG-29371 and implemented
it in a little shell script: qmake-xcode.

.. to run, from the src directory invoke it with
$ sh ./qmake-xcode
2013-02-17 19:30:46 +00:00
Jon Escombe
f68606b10a Fix CRS file granularity
Using the CompuTrainer utility to convert GPS logs to a course profile
results in lots of very small segments where the height differences are
less than 1 metre. These were incorrectly handled as the altitude was
being stored as a long.

In fact the double to long conversion was always rounding down, for
instance 200+0.01 is 200 as expected, but 200-0.01 is 199. Therefore the
course would gradually ratchet downhill with every small data point.
2013-02-17 15:56:49 +00:00
Damien
151d160c82 Correct : splitters not resizing after expanded 2013-02-17 10:49:36 +01:00
Damien
9d6f24c805 UI Nits: Add titlebar for splitters 2013-02-16 23:48:00 +01:00
Mark Liversedge
47e39e3df7 Fixup last commit
.. strange edits lost related to widget layouts.
2013-02-16 14:21:12 +00:00
Mark Liversedge
b389555bef Shade Selector on CP chart
- none - no shading on the all curve
- derived CP - as before using the CP value derived from all curve data
- CP - the value of CP for the time of the ride

NOTE: When in rangemode (i.e. on home) the CP is set to the mean CP for
the date range selected.
2013-02-16 13:41:55 +00:00
Mark Liversedge
75d5799f39 Revert "Code Cleanup: Suppress Xcode warnings"
This reverts commit 6a97d81e4f.
It causes a SEGV.
2013-02-15 11:17:29 +00:00
Mark Liversedge
45fe4f1fcd Code Cleanup: Suppress Xcode warnings
.. about yyinput from clang when compiling lex scanners.
2013-02-15 10:47:34 +00:00
Mark Liversedge
bafbbb0138 Garmin Device Types
.. not so much unknown since we know its a Garmin xxx
2013-02-15 06:33:47 +00:00