[PATCH 3/5] Add GUI support for exporting in CSV format

2014-04-26 Thread Miika Turkia
This patch adds an item to File menu to export all dives in CSV format. Naturally this includes also the code to perform the export. Signed-off-by: Miika Turkia miika.tur...@gmail.com --- dive.h | 2 +- qt-ui/divelistview.cpp | 2 +- qt-ui/mainwindow.cpp | 12 +++-

[PATCH 2/5] Quote header line properly on CSV export

2014-04-26 Thread Miika Turkia
Let's make the export consistent by quoting the header line the same way the sample rows are quoted. Signed-off-by: Miika Turkia miika.tur...@gmail.com --- xslt/xml2csv.xslt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xslt/xml2csv.xslt b/xslt/xml2csv.xslt index

[PATCH 1/5] Use proper export text instead of save

2014-04-26 Thread Miika Turkia
When exporting UDDF logs the file name selection dialog should talk about export, not save. This patch changes that text Signed-off-by: Miika Turkia miika.tur...@gmail.com --- Note that this adds a string to be translated --- qt-ui/divelistview.cpp | 2 +- qt-ui/mainwindow.cpp | 2 +- 2 files

[PATCH] Use original time if available on image loading

2014-04-26 Thread Miika Turkia
DateTimeOriginal should be used as first option when loading images. When images are modified, the original time should be retained, but the DateTime will change to the edit time. See #495 Signed-off-by: Miika Turkia miika.tur...@gmail.com --- qt-ui/simplewidgets.cpp | 4 ++-- 1 file changed, 2

[PATCH 4/5] Move export functions to own menu

2014-04-26 Thread Miika Turkia
Since we have a few export options now, let's move them to own menu entry instead of flooding the File menu. Signed-off-by: Miika Turkia miika.tur...@gmail.com --- qt-ui/mainwindow.ui | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/qt-ui/mainwindow.ui

[PATCH 5/5] Add exporting selected dives into CSV file

2014-04-26 Thread Miika Turkia
This adds option to export selected dives into a CSV file to the right click menu on dive list. Signed-off-by: Miika Turkia miika.tur...@gmail.com --- qt-ui/divelistview.cpp | 12 qt-ui/divelistview.h | 1 + 2 files changed, 13 insertions(+) diff --git a/qt-ui/divelistview.cpp

Re: [PATCH 3/5] Add GUI support for exporting in CSV format

2014-04-26 Thread Miika Turkia
Fixes #434 miika ___ subsurface mailing list subsurface@hohndel.org http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

[PATCH] Don't calculate SAC-rates for negative pressure changes

2014-04-26 Thread Linus Torvalds
From: Linus Torvalds torva...@linux-foundation.org Date: Sat, 26 Apr 2014 10:55:17 -0700 Subject: [PATCH] Don't calculate SAC-rates for negative pressure changes They happen - maybe the cylinder actually warmed up, or maybe the user entered just a ending pressure without a starting pressure.

Re: [PATCH 4/5] Move export functions to own menu

2014-04-26 Thread Dirk Hohndel
I'm willing to accept the rest of the changes, even though this once again changes strings after the first beta. Seriously, I appreciate all contributions, but I really wonder what it is when I talk for weeks about working towards a release and RELIABLY after I cut the first beta come in changes