Commit Graph

1773 Commits

Author SHA1 Message Date
Mark Liversedge
f0e3a9cd6b Searchbox toggle search/filter
Clicking the icon to toggle between text search and
data filter mode for searchbox.

As part of filtering implementation.
2012-10-23 21:27:06 +01:00
Mark Liversedge
2854dfe046 Initialise ismultisave variable. 2012-10-22 22:50:44 +01:00
g3rg
cac9d77df5 #381 Prevent statistics from refreshing for each file saved on close, and just run for the last file. Also covers #506 and #656 which are duplicates.
Fixes #381.
2012-10-22 22:30:00 +01:00
Mark Liversedge
4b3425ddcb MAC Lucene added to install notes
The Macports lucene does not work, added instructions
to the INSTALL-MAC for getting and building the clucene
libs from their git repository.

Fixes issues with deleting rides corrupting the index.
2012-10-22 22:12:15 +01:00
Mark Liversedge
7291068a03 Refactoring CLucene
There are some issues with document deletion and support for
the latest release of CLucene which may be related to having
concurrent IndexWriters and IndexReaders.

This refactoring works fine on Linux. Pushed for safety for
any users that may be experiencing issues when deleting rides.

Further investigation is required on mac and windows builds.
2012-10-22 21:40:49 +01:00
Mark Liversedge
5128f64ab3 CLucene better exception handling
QT crashes if exceptions are raised in the event loop. This was
happenning during program exit and also when deleting rides with
a right click.

This patch traps those exceptions and also, since Macports will
install 0.9.23 we can use IndexWriter to deleteDocuments.
2012-10-22 20:14:30 +01:00
Mark Liversedge
913f3e2b41 Fix Crash in Split Wizard
Fixes #687
2012-10-22 15:14:04 +01:00
Mark Liversedge
db711904fa Fix Ride List not refreshing
A bug was introduced by the new search/filter update causing the
ride list to not get refreshed when rides were imported or deleted.
This was due to signals from the source model (sql) not being propagated
upstream (groupby) in the standard implementation of qsortfilterproxymodel.

This patch fixes that.
2012-10-22 11:16:36 +01:00
Mark Liversedge
1acd5ea20d Lucene should be optional
Fixup some of the recent commit for searching with support by
ensuring it is only used if lucene support is available.
2012-10-21 17:31:35 +01:00
Mark Liversedge
d33c337b8f Search/Filter using Lucene
Searching and filtering the ride list using a search box.
This is implemented using a new optional dependency on
CLucene.

Fixes #627.
2012-10-21 15:28:26 +01:00
Mark Liversedge
e137aa5773 Virtual Power for Minoura V100
Added virtual power calculations for a Minoura V100
with one selection for whichever gear it is set to.

Thanks to 'frenchman' on the slowtwitch forums for
working out the formulae.
2012-10-19 22:12:42 +01:00
Mark Liversedge
e534682461 Support "CP" metadata field
When calculating TSS, BikeScore et al the user can
set a ride specific value for CP to override the
default zones set within configuration (power.zones).

This is because some users like to have a different CP
for indoor vs outdoor riding.

To use this the user will need to add an "CP" metadata
field and only enter a value when they want to override,
since by default it will be zero, causing the standard
zone CP to be used.
2012-10-13 20:46:39 +01:00
Mark Liversedge
fe0926ff67 Only set PWX weight from metadata tag "Weight" 2012-10-01 19:07:32 +01:00
Ron Alford
e15b1edc22 Changing TCX export to convert to UTC time 2012-10-01 07:05:12 +01:00
Ron Alford
df4a03c529 Correcting the haversine distance calculation for GPX imports 2012-10-01 06:54:17 +01:00
Damien
45f2b2a2f1 Keep/Save last value for showBalance 2012-09-22 20:22:24 +01:00
Damien
7c3bde52e2 Correct memory leak in HrPw plot 2012-09-22 20:22:24 +01:00
Damien
a1252f4844 Modify TM processing
For some reason the processing of the TM symbol causes a
crash on Mac OSX. This patch fixes that.
2012-09-15 18:38:24 +01:00
Alejandro Martinez
b3da5c7636 Automatic CdA and Crr Estimation in Aerolab
Fixes #851.
2012-08-24 20:45:47 +01:00
Mark Liversedge
e68705c4dd Increment DB version
Last commit added a new metric but didn't increment the DBAccess
DB schema version, causing DB functions to break. This patch just
increments the version to ensure the DB is rebuilt to include
the new metric.
2012-08-19 20:48:10 +01:00
Mark Liversedge
9c7a009f82 Fix (TM) processing
Lost in previous commit somehow.
2012-08-19 20:36:52 +01:00
Damien
d51cb951ce Add Left/Right Power Support
Add Left/Right Power Balance for FIT and Polar HRM parsers
 Add Left/Right Balance metric
 Add Left/Right series to Ride Chart

Fixes #711.
2012-08-19 13:57:24 +01:00
Alejandro Martinez
40321723d8 Change Pace metric to follow metric/imperial units as configured
Fixes #718
2012-07-31 14:15:33 -04:00
gcoco
7acac5cda8 Merge pull request #22 from rclasen/bug715
fix for Bug715: Srm download + Srm file reader issues

Fixes #715
2012-07-31 11:09:01 -07:00
Rainer Clasen
29afd39645 SrmRideFile: handle bad/truncated files
SRM file reader didn't check stream status / values taken from the file.
This could easily lead to segmentation faults.
2012-07-30 18:55:50 +02:00
Rainer Clasen
d19689d8f6 SrmRideFile: don't truncate comment
last character in comment was truncated due to a bad string termination.
2012-07-30 18:55:50 +02:00
Rainer Clasen
08be07b9aa SrmDevice: fix catching broken downloads
broken downloads weren't detected, properly. This caused empty files to be
created.
2012-07-30 18:55:50 +02:00
Mark Liversedge
2e248c3e26 Manual entries compute metrics
A few months ago I commented out the calculation of metrics
for manual ride files. This was a hack to avoid fixing the code
to handle metric calculations from overrides where there are no
data points.

This annoyingly meant that the 'rides' metric was zero for manual
ride files, and any derived metrics similarly were zero.

This patch fixes that.
2012-07-08 16:22:40 +01:00
Mark Liversedge
8dae828da2 Withings Weight and Watts per Kilogram
Fixed up the code to use withings weight when calculating watts
per kilogram and the display on the CP chart.

There will be issues when retrospectively refreshing data from a
withings account, but that is such an edge case we can just ask
people to delete old .cpx files to ensure they are refreshed.
2012-07-08 15:38:53 +01:00
Mark Liversedge
a3d2e84465 Watts per kilo slight changes
Attempt to sort using withings data, but commented out for now. But
it will compile if uncommented. Also changed name to Watts per Kilogram.
2012-07-08 12:24:04 +01:00
Damien
b116d3aac8 Add Watts/Kg in the cpx cache files and in the CP plot
modified:   src/CpintPlot.cpp
	modified:   src/CriticalPowerWindow.cpp
	modified:   src/CriticalPowerWindow.h
	modified:   src/HistogramWindow.cpp
	modified:   src/RideFile.cpp
	modified:   src/RideFile.h
	modified:   src/RideFileCache.cpp
	modified:   src/RideFileCache.h
2012-07-08 11:03:20 +01:00
Mark Liversedge
6ee1b2474c Merge branch 'master' of github.com:/srhea/GoldenCheetah 2012-07-08 10:40:03 +01:00
Mark Liversedge
48a4804ad8 Enable Measures in v3.0
Re-enabled the measures feature, largely to allow donwload
from Withings for folks that track weight.

This is to provide better support ahead of showing watts/kg
on the mean max "CP" chart.
2012-07-08 10:38:28 +01:00
Magnus Gille
fa8bd95cdc Fixed a missing -1 to make non motoactv files parsable again 2012-06-18 02:57:26 -04:00
Magnus Gille
154a225080 Added test files for MotoACTV 2012-06-18 02:57:26 -04:00
Magnus Gille
fed9bd478a Added support for MotoACTV csv files 2012-06-18 02:57:25 -04:00
Gareth Coco
e6a4905ead Added Garmin Forerunner 110 2012-06-17 18:48:25 -04:00
gcoco
1a804ca373 Merge pull request #20 from rclasen/master
bunch of small changes...
2012-05-24 11:21:58 -07:00
Rainer Clasen
30516c3b76 Download: remeber last used device/port
last used Device/Port ist now remembered and automatically selected on
next download.

closes #683
2012-05-04 21:01:22 +02:00
Rainer Clasen
bb10ed9207 added upload to trainingstagebuch.org 2012-05-04 16:08:38 +02:00
Rainer Clasen
a00295d60d PM: show upcoming days, aswell
so far, the Performance manager restricted the view to the latest exercise
or today. So it wasn't possible to see predicted TSB for the upcoming
days.

This patch allows me to get a better forecast on when to do the next ride.
2012-05-02 22:41:47 +02:00
Rainer Clasen
281026cc86 added non-zero average power metric
This might be meaningless for actual analysis, but helps to match numbers
of devices, that exclude time with zero power from the average
calculation.

While it's controversal to be usefull, this leaves the choice to the user.
2012-05-01 22:28:06 +02:00
Rainer Clasen
735de9bf18 main: allow passing athlete as argument
Allow passing initial athlete to open as command line argument.
2012-05-01 22:28:06 +02:00
Rainer Clasen
13bff3f8b8 fix: remember state of showTorque in ride dialog
showTorque wasn't declared as property so HomeWindow::saveState() didn't
save it's setting.
2012-05-01 22:28:06 +02:00
Gareth Coco
e2ea116267 Add back in the ROBOT for Realtime testing 2012-04-18 21:00:54 -04:00
Mark Liversedge
81c9033a6a Link compress libs (-lz) by default
Although you should not link with local compress
libraries if you are using the QT supplied ones, it
has caused a lot of problems for newbies.

We now link with compress by default, we may see some
odd / incorrect behaviour with images and TrainingPeaks
upload if the libs mismatch but the developer can fix
that should it arise.

Fixes #668.
Fixes #6.
2012-04-08 08:34:43 +01:00
Mark Liversedge
6780233b99 Remove 'qollector_interpret' warning
The qollector binary warning message is not relevant to large
numbers of GC users and not sure if the qollector is even still
being sold.

The message is now removed.
2012-04-05 18:14:37 +01:00
Mark Liversedge
cb21257163 Fix Bounds checking SEGV
RideFileCache hogs CPU / hangs with poorly parsed files, whilst
the activity may crash when columns are removed.
2012-04-05 17:18:43 +01:00
Gareth Coco
0e291523ed Fix file name for RideWithGPS.com patch
Fixes #677
2012-04-04 14:17:50 -04:00
Damien
745d255220 Add Upload to RideWithGPS.com
new file:   src/RideWithGPSDialog.cpp
	new file:   src/RideWithGPSDialog.h

	modified:   src/MainWindow.cpp
	modified:   src/MainWindow.h
	modified:   src/Pages.cpp
	modified:   src/Pages.h
	modified:   src/Settings.h
	modified:   src/src.pro

Fixes #677
2012-04-04 14:17:50 -04:00