[PATCH] CVS import/export instead of CSV?

2014-05-13 Thread Jeremiah Mahler
The ReleaseNotes.txt refer to improved CVS import/export. But there doesn't appear to be any such format. There is, however, support for CSV formats. Signed-off-by: Jeremiah Mahler jmmah...@gmail.com --- ReleaseNotes.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] Migrate code to for_each_dive and for_each_dc

2014-05-13 Thread Anton Lundin
--- dive.c | 5 + divecomputer.cpp | 5 ++--- qt-ui/divelistview.cpp | 7 ++- qt-ui/maintab.cpp | 8 save-xml.c | 6 +- statistics.c | 12 +--- uemis-downloader.c | 8 7 files changed, 19

[PATCH] Use get_o2 instead of local version

2014-05-13 Thread Anton Lundin
Signed-off-by: Anton Lundin gla...@acc.umu.se --- divelist.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/divelist.c b/divelist.c index b199710..4724e72 100644 --- a/divelist.c +++ b/divelist.c @@ -154,12 +154,9 @@ int total_weight(struct dive *dive) static int

[PATCH] Fix building with NO_MARBLE, centerOnCurrentDive

2014-05-13 Thread Anton Lundin
2bc76beb65 (Globe: we always center on the current dive) changed GlobeGPS::centerOn to GlobeGPS::centerOnCurrentDive. This patches the dummy in NO_MARBLE to. Signed-off-by: Anton Lundin gla...@acc.umu.se --- qt-ui/globe.cpp | 2 +- qt-ui/globe.h | 2 +- 2 files changed, 2 insertions(+), 2

[PATCH] Fix building with NO_MARBLE prepareForGetDiveCoordinates

2014-05-13 Thread Anton Lundin
fb82da58a2 (Globe: assume that we are looking at the current_dive) changed the prototype for GlobeGPS::prepareForGetDiveCoordinates. This patches the dummy in NO_MARBLE. Signed-off-by: Anton Lundin gla...@acc.umu.se --- qt-ui/globe.cpp | 2 +- qt-ui/globe.h | 2 +- 2 files changed, 2

Re: [PATCH] Move mod calculations to a separate helper

2014-05-13 Thread Anton Lundin
Older compilers didn't really like this one, so hold this one for now... On 14 May, 2014 - Anton Lundin wrote: We use mod calculations on multiple places, so make a separate helper from it with proper types. Signed-off-by: Anton Lundin gla...@acc.umu.se --- dive.h| 4