Commit Graph

2601 Commits

Author SHA1 Message Date
Mark Liversedge
cd23ecf2ec Added CLucene patch for Win32
It corrects removal of threading support against the 2.3.3.4
head. This is required for Windows builds at present.

I also added an INDEX in the contrib directory for all the
other things we've snaffled into the repository.
2013-03-31 18:11:53 +01:00
Mark Liversedge
1de92b9091 Update gcconfig.pri.in for latest libkml
.. minimum versions (i.e. 64bit)
.. additional dependencies (minizip etc)
2013-03-31 16:01:44 +01:00
Mark Liversedge
dd168b4263 Repaint in DiaryWindow
.. now we've optimised out the model resets the diary window
   (calendar chart) needs to explicitly repaint when a ride is
   selected because the model won't reset unless the ride selected
   is for a different month to the one currently shown.
2013-03-31 14:46:34 +01:00
Mark Liversedge
7af0c6a55b GcCalendar optimizations
Updated GcCalendar and GcCalendarModel to reduce model
refreshe and redraws when not visible or the month/year
hasn't changed.

Fixes #538.
2013-03-31 13:10:54 +01:00
Mark Liversedge
527d179225 Clear stale flag when update!
.. last commit missed the critical line of code.
2013-03-31 02:05:06 +01:00
Mark Liversedge
f34867a1fd GcCalendarModel optimise updates
.. don't reset if the current month and year are the same as
   the current selection and no rides have been added or deleted.
2013-03-31 00:59:32 +00:00
Mark Liversedge
8c51a5d77d MultiCalendar updateEnabled setting
.. in setRide() to avoid 'flickery' update.
2013-03-31 00:32:30 +00:00
Mark Liversedge
c61a34dcd6 Multicalendar double update fixups
.. lots of unneccessary setting of dates and refreshing optimised out.

.. but probably more lurking coz we handle updates from all over the
   place and worse to miss one than do it twice in most cases.
2013-03-31 00:23:14 +00:00
Mark Liversedge
c229362ead Revert "Code Cleanup: RideFileCache remove mallocs"
This reverts commit 6fdc55528f.

The performance decrease is considerable. Using mallocs across
my personal ride collection takes 5:19 to compute all the caches.
Using the QVector equivalent took 22:40.

Need to consider looking at QVector across the GC codebase.
2013-03-30 21:33:01 +00:00
Mark Liversedge
a2dbd911f1 Defer metric refresh till end RideImportWizard
.. speeds up large imports considerably.
2013-03-30 20:33:36 +00:00
Mark Liversedge
b0153a8c88 DataFilters: Summary should have a filter
Missed off by accident when filtering was added.

Fixes #536.
2013-03-30 09:54:58 +00:00
Mark Liversedge
4d39f00fce Translation: More texts now available
Including
* ScopeBar 'Home', 'Analysis' selection names
* Downloaders: Powertap, Calendar
* Wizards: Split, Add device
2013-03-30 08:12:44 +00:00
Mark Liversedge
8b29284fd2 Refresh all curve when spikes edited and saved
.. will refresh after the metrics and cpx have been refreshed

.. it invalidates the data rather than refreshing immediately
   since thats expensive and better wait until refresh is needed.
2013-03-29 19:33:43 +00:00
Mark Liversedge
76c11b3568 Invalidate incore cache when refreshing
If an incore cache of an aggregated RideFileCache is invalidated
by a ride in the same period being edited it does not clear
until the cache array is cleared (25 of them so likely to be
never) or upon a restart.

This fixes them being invalidated by refreshCache.
2013-03-29 18:15:34 +00:00
Mark Liversedge
4aedb862f3 Add Timex PWX file to test rides
.. used to recreate 2s recording bug #533.
2013-03-29 15:38:17 +00:00
Mark Liversedge
830f4c5e63 Improved deduction of PWX recording interval
Fixes #533.
2013-03-29 15:33:14 +00:00
Mark Liversedge
c024d36d6f Merge pull request #532 from dresco/geometry-fix
Fix for 'stuck in full screen' issue
2013-03-28 14:43:41 -07:00
Jon Escombe
364c92d0b9 Fix for 'stuck in full screen' issue
When GC is restarted after being closed full screen, the saved geometry
is larger than the actual screen size - resulting in the title bar being
drawn off screen & not easily reachable.

This patch checks whether the saved geometry is larger than the current
screen size, and resizes to the screen size instead of the saved values.
2013-03-28 19:44:35 +00:00
Mark Liversedge
7834870415 UI Nits: Use a toolbutton on the handle
The animation on clicked for a pushbutton was fugly on a Mac.
2013-03-28 13:16:57 +00:00
Mark Liversedge
0f03a12a06 Documentation: Chapter 3 update
.. menu bar documented, still need to do remaining elements of
the main window.
2013-03-27 21:23:43 +00:00
Mark Liversedge
4a75a4e9cd Fix color bug "in Italian"
.. actually it was an uninitialized variable bug introduced
by the earlier fix for the calendar model.

Caused by new code checking if an index was -1 before setting
it, but forgetting to initialise it to -1 to begin with.

Fixes #531.
2013-03-27 20:23:33 +00:00
Mark Liversedge
b580644e26 Fix searchbox dropdown alignment
Fixes #528.
2013-03-27 19:32:12 +00:00
Mark Liversedge
7e8c061736 Fix calendar issue for Italian translation
.. it turns out the translation for Data and Date are both
Data!

.. we now use the first column that matches when seeking special
fields. This is a bit of a hack, but good enough for now.

Fixes #530.
2013-03-27 09:08:56 +00:00
Mark Liversedge
f2c5ff23dd Fix foreign characters (e.g.Umlaut) in JSON parser
Thanks to Walter Burki.

Fixes #529.
2013-03-26 20:54:51 +00:00
Mark Liversedge
1ee25cd881 Documentation: Palatino Fonts
Prettify the pdf output to use palatino fonts from the GNU Press.
Also started to work on chapter 3 of the user guide, but it is
far from finished.
2013-03-26 16:28:34 +00:00
Mark Liversedge
5dcb94729a Documentation: Manual Chapter 2 Completed
.. very basic quick start guide
.. but doesn't cover train view, perhaps it should
2013-03-25 21:39:10 +00:00
Mark Liversedge
405e7eee58 Documentation: Indentation and Item Lists
.. minor tidy up
2013-03-25 14:09:18 +00:00
Mark Liversedge
8fb7ef5246 Documentation: Manual Chapter 1 completed.
.. bit of an intro, no screenshots.
2013-03-25 12:57:34 +00:00
Mark Liversedge
7b8e8e2bd7 Datafilter support older versions of Flex
.. just like JsonRideFile and Withings parsers.
2013-03-24 20:40:51 +00:00
Mark Liversedge
832fdecdd8 UI Nits: RideMetadata clean look on Windows
.. remove the ugly frame.
2013-03-24 17:34:35 +00:00
Mark Liversedge
112531e9b5 UI Nits: Bubble use antialias
.. looks MUCH better.
2013-03-24 17:21:21 +00:00
Mark Liversedge
f8dc154fa2 UI Nits: Splitterhandle cosmetic on Linux
.. no orange focus rectange thanks.
2013-03-24 16:42:40 +00:00
Mark Liversedge
4eba9dfedb UI Tweaks: Splitter pushbuttons problem
.. attempt to resolve issues on Linux Mint reported
by Tom Weichmann.
2013-03-24 16:30:25 +00:00
Mark Liversedge
32112b1ac5 Deprecate 'Save CP' button on CP curve
Since it is flawed and confusing to almost all users.
2013-03-24 15:43:07 +00:00
Mark Liversedge
d5b19959cb Documentation: Makefile adjusted
.. to add a clean rule
.. to remove need for html version
2013-03-24 13:07:08 +00:00
Mark Liversedge
1b23ad8539 Fix Diary view refresh on first select
When youi switch to Diary view no date range is known by the
charts because they have just been created. Since we have a
lazy create we need to resignal the date range after they
are created.

This was already in MainWindow with a call to GcCalendar::refresh
but a recent update optimised that out.
2013-03-24 12:44:09 +00:00
Mark Liversedge
6365ecf337 UI Nits: Sidebar calendar expanding
.. add more minicalendars if the sidebar is expanded -- so
you can show calendars in columns and rows.
2013-03-24 10:56:58 +00:00
Mark Liversedge
448a76dbe4 Add FAQ for close chart and find preferences pane
.. maybe the menu tick should be more blatant.
2013-03-23 22:45:40 +00:00
Mark Liversedge
571411ea15 Calendar highlighting tweaks
.. personal tastes, so should make configurable. But its nice to
make it the same as the a focus rectangle on Mac.
2013-03-23 21:34:55 +00:00
Mark Liversedge
7c1a9bf987 Search highlighting on Calendar
.. hover color changes to differentiate.
2013-03-23 21:23:02 +00:00
Mark Liversedge
4358e152dd Fixup search highlighting
.. on Linux/Windows since its slightly different.
.. also fixes a SEGV
2013-03-23 21:06:10 +00:00
Mark Liversedge
3a1e3126fb Search/Filter applies to Calendar
The search/filter selects in the activity list but doesn't
highlight the rides on the calendar.

This patch highlights the dates that have activities that
match with a red border and a red number.
2013-03-23 20:45:13 +00:00
Damien
fa3d1f423f Strava upload : send selected channels only in TCX mode 2013-03-23 17:54:07 +01:00
Mark Liversedge
233114b785 Strava download fix SEGV
After download fails a .strava file is left in the
athlete directory. This is picked up on restart and
causes a crash.

We now create the temporary file in a temporary
directory to avoid this issue.

Fixes #525.
2013-03-23 10:53:58 +00:00
Mark Liversedge
8afa3e9f4e Documentation: Manual images sorted
.. example on the cover page of the manual

.. we need them to follow a naming convention
   if section-keyword.pdf, e.g. 0-icon.pdf for
   the icon on the title page (section 0).
2013-03-23 09:33:12 +00:00
Mark Liversedge
a0d7b0e1a1 UI Nits: Splitter menu button sizes
.. made toolbar larger and icons larger.
2013-03-23 08:57:39 +00:00
Mark Liversedge
f5388a1b9a Fix multicalendar repaint bug
After taking out the double refresh in the previous commit
we got a bug with the last selected date stating highlighted
when clicking on the left and right buttons.

Fixed by signalling date changes after the model has been
queried. Still lots faster than before.
2013-03-22 19:36:17 +00:00
Mark Liversedge
0d6c2a7eaa Fix Sidebar multicalendar refresh bug
.. it didn't refresh properly when a ride was added
removed or edited

.. also fix a double update call, so its a bit snappier
now.
2013-03-22 18:56:49 +00:00
Mark Liversedge
1470c0e20f Documentation: Manual fixup and Makefile
.. and added raw PDF with no content.
2013-03-22 18:04:56 +00:00
Mark Liversedge
747449b336 Documentation: Manual structure and markup
.. but no content or images yet.
2013-03-22 17:35:25 +00:00