Commit graph

2931 commits

Author SHA1 Message Date
Henrik Brautaset Aronsen
a55a2e5d88 Don't add half a kilo/pound when adding weights
The weight management widget added 500 grams / 0.5 lbs
when a new entry was added.

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 09:26:45 -04:00
Tomaz Canabrava
c5590f835a Fix the focus issues, load a profile when load a file.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
2013-05-14 08:34:16 -03:00
Dirk Hohndel
2f862c8f8d Pick the old translations for the updated string
Since this was just a fix for a typo, Transifex allowed me to simply pick
the existing translations for the previous string.

Also fixed a newline vs '\\n' bug in the Dutch translation.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 07:26:37 -04:00
Tomaz Canabrava
b0374047dd code to show profile again
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
2013-05-14 08:18:26 -03:00
Dirk Hohndel
ef25421930 Update .po files after pushing new string
I was too slow, so this also includes the Russian, Bulgarian and German
translation for this string plus a couple more Danish updates.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 07:08:14 -04:00
Dirk Hohndel
76a8560a68 Updates to Norwegian and Dutch translations
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 06:38:29 -04:00
Dirk Hohndel
ce06ec3d17 Fix typo in user visible string
Sadly that means "new translations are needed"

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 06:30:49 -04:00
Dirk Hohndel
ce46a60caf Fix Windows cross build
commit 59294029f3d1 ("Capitalize package name and add capitalized tar-ball
prefix") had an unintended side effect: the cross build for Windows on
Linux no longer worked (as it set NAME=subsurface.exe).

Fixed this by introducing a TARGET variable that is derived from $(NAME).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 06:27:45 -04:00
Dirk Hohndel
ff417cb140 Hardware updates for README, ReleaseNotes.txt and user-manual
Decided to split OSTC3 and Petrel in the ReleaseNotes (as the Petrel was
already supported in 3.0) and added the Suunto DX as well.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 05:44:28 -04:00
Henrik Brautaset Aronsen
4ce2c3e68a Add Petrel & OSTC3 support to the list of updates
This has been requested several places, so let's just put it in
plain view for everyone

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 05:39:03 -04:00
Henrik Brautaset Aronsen
5868b37e6b Fix inaccurate weight and temperature display in dive list
A nonexisting temperature (mkelvin==0) was displayed as -273°C.
Weight was always displayed with an extra 500 grams/0.5 lbs.

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 05:33:58 -04:00
Henrik Brautaset Aronsen
f9598f062c Clean up some typos
Cosmetic commit to clean up some of the annoying typos in qt-ui

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 05:24:28 -04:00
Henrik Brautaset Aronsen
c07e183f1f Don't use "qmake-qt4" as qmake
Tomaz' commit 009e6a6fa7 introduced
qmake-qt4 instead of qmake.  Oops.

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 05:21:25 -04:00
Tomaz Canabrava
5d75b4b41b removed a unused debug.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 21:47:35 -05:00
Tomaz Canabrava
009e6a6fa7 shift-key + shift-click + key corner cases covered.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 21:47:14 -05:00
Tomaz Canabrava
6f74618d9c Speed fixes
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 21:45:06 -05:00
Tomaz Canabrava
ee7f579242 Trying to make the DiveList selection behave correctly
And rip out all the code that Dirk put there to do that.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 21:37:08 -05:00
Tomaz Canabrava
a6d9f27445 Change setText(QString()) to clear()
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 21:32:03 -05:00
Dirk Hohndel
9320db96ec Bump Makefile version to 3.1
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 17:33:57 -05:00
Dirk Hohndel
bf5113fb2f Documentation: update "The Menu and Sub-Menus"
Complete rewrite of the 'Filter' and 'Help' sections.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 17:29:13 -05:00
Dirk Hohndel
95f9ba800b Documentation: update "Web Service and Companion App"
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 17:17:13 -05:00
Dirk Hohndel
ca0bad84f8 Documentation: update "Planning Dives"
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 17:06:36 -05:00
Dirk Hohndel
0fe1c316d6 Documentation: update "Exporting Dives from Subsurface"
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 16:46:18 -05:00
Dirk Hohndel
ca185cd9d9 Documentation: update "Setting up Preferences"
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 14:22:48 -05:00
Dirk Hohndel
a9d10617fb Documentation: update "View Dive Info & Stats"
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 13:38:10 -05:00
Dirk Hohndel
14f18ea9f2 Documentation: update "Viewing and Completing Your Logs"
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 13:32:33 -05:00
Tomaz Canabrava
61373eaccf Fix segfault on mouseOver at the Profile with an invalid dive selected ( trip )
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
2013-05-13 15:28:17 -03:00
Dirk Hohndel
45ea280366 Documentation: update "Import New Dives..."
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 13:22:41 -05:00
Dirk Hohndel
c7919c3f05 Documentation: update "Start Using the Program"
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 11:01:40 -07:00
Dirk Hohndel
5cb7e22a9d Documentation: update "Requirements"
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 11:01:32 -07:00
Dirk Hohndel
f8403b6f05 Documentation: update version number and "Introduction"
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 11:01:23 -07:00
Dirk Hohndel
4569e831f4 Update ReleaseNotes for 3.1
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 10:30:47 -07:00
Dirk Hohndel
06712b29e3 First stab at updating the REAMDE for 3.1
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 10:14:03 -07:00
Cristian Ionescu-Idbohrn
db95261d56 More *-dev packages.
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 09:42:50 -07:00
Cristian Ionescu-Idbohrn
901fd81ea4 Capitalize package name and add capitalized tar-ball prefix
Name and capitalized name of the project are set in the first two lines of
the Makefile and referenced everywhere else through variabled instead.

Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 09:20:04 -07:00
Dirk Hohndel
cf8f0be00d Make silent make optional
Backport of Thiago's commit 612a6ee2f793 ("Make the "silent mode"
compilation be optional only.") from the Qt branch.

Requested-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Thiago Macieira <thiago@macieira.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 09:07:25 -07:00
Cristian Ionescu-Idbohrn
f7001929d0 Nuke debian patch disable-git-version.diff.
Running:

$ git describe

in a code tree lacking dir .git (unpacked release tar-ball, for
example) throws an error:

	fatal: Not a git repository ...

and that's noise that can be avoided.

Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13 08:52:53 -07:00
Dirk Hohndel
0f389dd1c9 Improve the dialog after successful divelogs.de upload
This is still not really "normal person" readable. But at least somewhat
better than what we had before.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12 08:09:50 -07:00
Cristian Ionescu-Idbohrn
a4f3fa46c6 Ignore top-dir archives.
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12 07:26:00 -07:00
Cristian Ionescu-Idbohrn
a6819e636d Use git archive' instead of tar'.
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12 07:25:53 -07:00
Cristian Ionescu-Idbohrn
83684444f4 Ignore some files when archiving.
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12 07:25:47 -07:00
Cristian Ionescu-Idbohrn
6d37d8ee46 A release includes a tar-ball.
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12 07:23:59 -07:00
Cristian Ionescu-Idbohrn
9cae783703 Improved documentation; small code adjustments.
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12 07:23:57 -07:00
Cristian Ionescu-Idbohrn
b994b534c5 Match less; don't ignore case.
Still, some false positives show up ('Veo 3.0' is one of them).

Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12 07:23:55 -07:00
Cristian Ionescu-Idbohrn
6d19e9c7ea Whole text lines are easier to find.
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12 07:23:53 -07:00
Cristian Ionescu-Idbohrn
487b83d714 Escape dots in version string before grep-ing.
Less false positives that way.

Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12 07:23:51 -07:00
Cristian Ionescu-Idbohrn
7fcafe9c11 Color implies debug.
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12 07:23:48 -07:00
Cristian Ionescu-Idbohrn
76eb67a0a0 Show all files that may need updating.
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12 07:23:44 -07:00
Cristian Ionescu-Idbohrn
20f086c4a8 Correct parameter expansion expression.
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12 07:23:37 -07:00
Dirk Hohndel
605f42daa4 Merge branch 'Qt-selection' into Qt 2013-05-12 07:04:05 -07:00