Commit Graph

2525 Commits

Author SHA1 Message Date
Chris Cleeland
969bbc563e Pre-patched version of libusb tarball
Primarily for Mac OSX builds.
2013-03-16 17:54:27 +00:00
Claus Assmann
2ae55153a2 OpenBSD support for ANT sticks
.. just sets up another o/s version
2013-03-16 14:27:51 +00:00
Mark Liversedge
b1feef1c6c UI Nits: Use our own icons not standardIcons
.. for left and right in the calendar, since the standard ones
are pretty ugly.
2013-03-16 13:51:50 +00:00
Mark Liversedge
0106a8f754 UI Nits: Calendar '<' and '>' icons
.. use the native styling.
2013-03-16 13:14:00 +00:00
Mark Liversedge
04036d7312 LTM: Add fill curves option
.. so you can fill below the curve.
.. also added a 'version' field for the file format for metric
   details, so we can add more fields later.
2013-03-16 11:17:09 +00:00
Mark Liversedge
42280f47b6 Code Cleanup: Win compile with CLucene 2013-03-16 11:16:56 +00:00
Mark Liversedge
0abcde16d4 UI Nits: Date Settings "un-scrunched"
.. no space in the layout of the date settings edit
dialog made all the options scrunched up. Just added
some 5px spacing to breath some air into it.
2013-03-15 21:18:10 +00:00
Mark Liversedge
b71d532c9f UI Nits: Side Calendar border
.. fixed bug in GcLabel::paint that makes a nasty border
on the day which makes it look like a button. yuck.
2013-03-15 21:06:00 +00:00
Mark Liversedge
58a1f33db1 Windows: GcLabel/GcCalendar font bug
.. GcLabel::paint didn't honour font settings
.. Fonts too big on Windows .. looks better smaller for some reason
2013-03-15 20:59:59 +00:00
Claus Assmann
88a3a754b0 Fix typos in FixHRSpikes
.. just changes to text
2013-03-15 20:32:03 +00:00
Mark Liversedge
59b4a843a7 Windows: Tooltips
.. but qtsegmentcontrol ignores them. ugh.
2013-03-15 20:11:37 +00:00
Mark Liversedge
73d295d0d3 Windows: style selection fixup
.. infinite loop when clicking style selector on Linux or
Windows fixed and signals reconnected.
2013-03-15 19:46:21 +00:00
Mark Liversedge
c6530d6ba8 Fix WIN startup SEGV with scopebar no ICAL
.. pesky indexing into scopebar when ical not compiled in
2013-03-15 18:57:48 +00:00
Mark Liversedge
37dd62e4aa Windows: Toolbar tweaks
.. menubar color
.. toolbar smaller since contains menu bar
2013-03-15 18:17:43 +00:00
Mark Liversedge
ebdb8e65bf Windows: View selection
.. scope bar select item lines up with menu choice now.
2013-03-15 17:38:44 +00:00
Mark Liversedge
3399ec604d Windows: Font sizes and cosmetics
.. for the sidebar and scope bar
.. use the same and better fit for windows fonts
2013-03-15 17:15:26 +00:00
Mark Liversedge
3a3a35aba0 Windows: Toolbar buttons style
.. use cleanlooks since its very close to the Mac look
we are trying to achieve, but without the metal finish.
2013-03-15 16:52:35 +00:00
gcoco
16c5029a38 Whitespace cleanup 2013-03-14 22:54:57 -03:00
Mark Liversedge
5bdf897ca0 Fix Windows Look and Feel crash on ICAL
.. fixed crash when compiling without ICAL
.. I found because my Windows build doesn't have ICAL
2013-03-15 00:22:48 +00:00
Mark Liversedge
dbab14f4fe Windows Look and Feel Mac Fixups
.. fixes the Mac build
.. Windows still crashes
2013-03-15 00:13:48 +00:00
Mark Liversedge
8812de5711 Windows Look and Feel
.. akin to the Mac look and feel
.. still needs a bit of cosmetic work, but basically sound
.. also added in fixes to native file imports

Fixes #404
Fixes #504
2013-03-14 22:53:37 +00:00
Mark Liversedge
2927ff0390 GcLabel paint is a CPU hog
.. and for no good reason.
2013-03-13 20:27:32 +00:00
Mark Liversedge
f37ff8a728 Replace fopen() in JSON ride file reader
.. since it fails to open files with foreign characters in the
path name. We now read via QFile into a buffer.
2013-03-12 08:32:53 +00:00
Mark Liversedge
97ef810003 Fix JSON reader ignoring open fail
D'oh.

The ridefile reader for JSON files spotted when a file failed
to open but then continued to try and parse it!  Now returns NULL
when fopen fails.

This is particularly relevant when using foreign characters in
a filename passed to fopen(). We need to remove the fopen stuff
and replace if QFile reading to a buffer.
2013-03-12 07:47:58 +00:00
Mark Liversedge
93e17af8c5 Fix LTM group by selection
Fixes #499.
2013-03-11 21:15:54 +00:00
Mark Liversedge
7832299fe7 Remove big numbers at top of Diary calendar
Especially since the date selected is almost irrelevant on the
diary sidebar anyway!
2013-03-11 20:34:18 +00:00
Mark Liversedge
0c3c42d027 Calendar sidebars now show multiple months
.. if you resize them they will show as many months
as they can fit vertically.

.. also removed the scrollbars in the summarys shown
in the diary and LTM sidebar

Fixes #503.
2013-03-11 19:44:45 +00:00
Mark Liversedge
4baaf545f4 UI Nits: Splitter handle show/hide button gone
.. taking out last remnants in the code from previous design. This will
also remove the focus block that appears on calendar handle in diary view,
but only really visible on Linux with Gtk/Gnome.
2013-03-11 13:21:05 +00:00
Mark Liversedge
ba42c27346 More Linux file dialog workarounds
.. for export activity and export metrics.

Fixes #504. (again, it was reopened).
2013-03-11 12:39:29 +00:00
Mark Liversedge
3cfa9048cf Reinstate mini calendar on sidebar
This is the first step to reinstating the calendar on the analysis view
sidebar. Next step is to enhance it to show multiple months and then to
refactor the diary sidebar GcCalendar to use it.
2013-03-11 12:14:43 +00:00
Mark Liversedge
7b9a4744f6 Fix Histogram window custom date selection
.. it wasn't updated properly when fixing custom
date ranges in LTM.

Fixes #509.
2013-03-11 10:06:27 +00:00
Mark Liversedge
5e212f5bf0 Speed up sidebar painting
.. by setting the linear gradient up in advance rather than
on every repaint.
2013-03-11 09:49:34 +00:00
Mark Liversedge
ff94f95d65 Use QT file dialogs on Linux
.. cause native are borked on Ubuntu.
2013-03-11 09:49:34 +00:00
Mark Liversedge
a8262c2cd8 Explicit memory allocation for CLucene
.. clutching at straws, but more explicit type declaration and usage to
try and resolve Win7 64bit issues with cross-compiled 32bit binaries.
2013-03-09 16:29:51 +00:00
Mark Liversedge
6083ecbb97 Fix sidebar groupby column names error
The visual headings are not reset when the view is reset, for
example after startup. This means the wrong columns are offered
on the activity popup menu for group by.

The resetView() function needed to call columnsChanged() to get
the visual headings reset.
2013-03-09 11:38:04 +00:00
Mark Liversedge
c8e145592d Less right-click on Activity list
.. group by and field chooser now appear on the
popupMenu in the sidebar.
2013-03-09 11:25:32 +00:00
gcoco
6d817c8c28 Added notes on the build
Basically pointed out you need QT 4.8 minimum and that use newer
libs if they exist from Windows except for libusb (0.1.12 required)
2013-03-08 17:20:41 -05:00
Mark Liversedge
a4cd35002a Fix custom date range muddle when groupby weeks
.. the start date would progressively change as you selected a
date range in the sidebar. This is because the code to set the date
range to the start of a week looked at the wrong date variable when
using a custom date range.

Fixes #500.
2013-03-08 15:24:03 +00:00
Mark Liversedge
f4949df9ea LTM tooltip for groupby weeks is misleading
.. it lists start date for this week to start date for next week
.. now changed to say 'Week commencing <date>'.

Fixes #501.
2013-03-08 12:50:42 +00:00
Mark Liversedge
512232d3d6 Fix rename interval SEGV
.. when called from popupMenu.
2013-03-08 07:26:27 +00:00
Mark Liversedge
cb49d94a20 UI Nits: Splitter interval functions
.. final piece of the jigsaw, interval popup menu.
2013-03-07 20:54:40 +00:00
Mark Liversedge
bc191cc5fb Add support for deleting videos
.. but only deletes references and db entry
.. we do not delete from the filesystem -- need to add a dialog
   to ask the user to confirm deleting the file from disk.
2013-03-07 15:23:43 +00:00
Mark Liversedge
0104c32440 Add function to delete workouts
.. in train view we could add workouts but never delete.
2013-03-07 14:34:47 +00:00
Damien
d2e3be3bd3 LTMSidebar: store/use last selected date range 2013-03-05 22:49:42 +01:00
Mark Liversedge
453112693e Dumbass spelling mistake. 2013-03-05 20:13:19 +00:00
Mark Liversedge
0ae9e1f1ca UI Nits: LTMSidebar Splitter simplify to menu
.. remove the + and - options.
2013-03-05 20:00:54 +00:00
Mark Liversedge
3bac8cd4fc UI Nits: Simplify splitter to just one menu
.. instead of + and - and menu.
2013-03-05 19:47:54 +00:00
Damien
b8b32a568f Strava upload: Use TCX format to handle stationary trainer ride 2013-03-04 23:26:13 +01:00
Mark Liversedge
facde109e0 UI Nits: Analysis view menu only
.. need to fix up the event but at least got the code in.
.. still needs the menu implementing.
2013-03-04 22:10:12 +00:00
Mark Liversedge
95d84b4d7c UI Nits: TrainTool splitter shortcuts 2013-03-04 20:42:15 +00:00