Commit graph

2508 commits

Author SHA1 Message Date
Dirk Hohndel
d6f279a415 Documentation: more tweaks/additions to "Viewing and Completing Your Logs"
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15 22:39:19 -07:00
Dirk Hohndel
4e1b66414e Add missing widget title for manual dive entry / edit
Buffer was used uninitialized instead.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15 22:32:08 -07:00
Dirk Hohndel
63c0c7921b Avoid reading an uninitialized variable when adding new cylinders
If mbar = 0 then *p would not be set, but the variable was then used in
the calling function.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15 22:32:08 -07:00
Dirk Hohndel
3a37554f35 Documentation: describe trips in the dive list
Both autogroup and manual creation of trips is explained. Once the user
looks at manual creation, the other trip manipulation options should be
fairly self-explanatory.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15 22:31:56 -07:00
Dirk Hohndel
5b97344b83 Documentation: multiple small corrections and improvements
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15 22:22:20 -07:00
Dirk Hohndel
19750ed15a Adjust test dives to comply with the current trip syntax
Otherwise the tests fail - we no longer support the old format.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-16 00:36:34 -04:00
Dirk Hohndel
6766c56220 Documentation: add explanation on editing events in the dive profile
Context menu to remove events or add bookmarks or gas change events.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15 21:33:26 -04:00
Dirk Hohndel
aa5b7c7523 Update Swiss-German and Dutch translations
Swiss German is now fully translated.

The Dutch translation had one message string containing a few "\\n"
symbols - those happen when translators explicitly enter "\n" in the
Transifex web interface (instead of just hitting return).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15 20:37:49 -04:00
Lubomir I. Ivanov
72636deee3 Windows installer: append the package version to registry
On installation, set the "DisplayVersion" registry value
to ${SUBSURFACE_VERSION}, so that a version is displayed
when browsing the list of installed programs.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15 17:35:52 -04:00
Henrik Brautaset Aronsen
19bebeeb3a Disable OK button in download dialog when downloading
The button was active while downloading, and that was
confusing.

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15 17:08:13 -04:00
Thomas Maisl
ac82837a68 Addition / change to the user manual
- give an introduction to the dive list and explain some behaviour of dive
  list to new users
- a small clarification regarding the used Buhlmann-algorithm

Signed-off-by: Thomas Maisl <exp-122004@maisl.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15 16:53:03 -04:00
Dirk Hohndel
b6ec313096 Edit depth/duration dialog incorrectly always used metric
The label changed, but when the value was pre-set, it was always set as
metric (but then "correctly" interpreted as ft when reading it back - i.e.
it was incorrectly devided by 3.3).

Reported-by: Thomas Maisl <tom@maisl.net>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15 13:08:40 -04:00
Dirk Hohndel
ac16444544 Update for Russian and Bulgarian translations
Translations of the "deco" tag.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15 07:24:14 -04:00
Miika Turkia
97594ffd23 Fix DM4 dive time
DM4 stores the divetime in local time. The conversion from seconds since
year 1 was 2 hours off. (So there is no timezones involved, which is
good for us!)

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15 01:22:11 -04:00
Dirk Hohndel
935273c9e7 Documentation: update reference to 6m stop in dive planner
Thanks to Miika we have an updated screenshot

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15 01:20:55 -04:00
Miika Turkia
f330942804 New dive planning screenshot with 6m stop in it
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15 01:15:51 -04:00
Dirk Hohndel
22e3f5aa91 Add translations for 'deco' tag
These were done by me through the advanced linguistic process known as
"pattern matching". I doubt that this is right in all the languages...

For some reason two new Swiss-German translations snuck in as well.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 22:01:35 -04:00
Dirk Hohndel
d00c16d4ee Add tag for deco dives
Fixes #85

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 21:52:55 -04:00
Dirk Hohndel
bba99277a8 Suunto DM4 import should fill the divecomputer fields
Writing to the dive fields for maxdepth, surface pressure, airtemp and
watertemp is not correct. In the case of duration the longer time should
go into the dive, the shorter time into the divecomputer.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 21:37:35 -04:00
Dirk Hohndel
6dfd16a1f5 When editing a manually entered dive, make sure divelist is updated
Editing a manually entered dive allows the user to edit duration, max
depth and mean depth. These values are stored in the first (and only)
divecomputer and the duration, maxdepth and meandepth fields of the dive
are populated in fixup_dive() after the dive was initially parsed.

In order for this to work we need to clear out the existing fields (so
that values can get smaller) and rerun fixup_dive().

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 21:22:03 -04:00
Dirk Hohndel
41a97bc1ae Consistently end the list of map providers with Yahoo streetmaps
The other map providers don't appear to work at all, regardless from where
I connect to the network.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 20:30:17 -04:00
Dirk Hohndel
4893d77d27 Update the German translation
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 19:56:57 -04:00
Dirk Hohndel
04c69c9eb2 Documentation: update regarding dive computer device drop down list
This reflects the change made in commit bf34940bc5e4 ("Conditionally
enable the device combo box.").

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 19:52:55 -04:00
Jef Driesen
e3b8d8ee70 Conditionally enable the device combo box.
The device combo box is only necessary for the Uemis Zurich, and dive
computers using serial communication. For dive computers using IrDA or
USB communication, this combo box causes only confusion for the users.
Starting with libdivecomputer version 0.4, there is an api to query the
transport type, which can be used to enable/disable the device combo box
based on the selected model.

Signed-off-by: Jef Driesen <jefdriesen@telenet.be>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 14:59:03 -04:00
Lubomir I. Ivanov
41373e467a Windows installer: add an "Add/Remove Programs" entry
The NSIS script on installation will write a key to the registry
that will be shown to the user as a "Subsurface" entry (with icon)
in the list of installed programs that can be uninstalled
(e.g. in the Control Panel).
On uninstall, said registry key will be removed.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 13:32:06 -04:00
Dirk Hohndel
b047f17c13 Disable https connection for cross builds using mingw32
Not my preferred solution, but better than disabling divelogs.de uploads
for people using the Windows binary.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 11:04:42 -04:00
Dirk Hohndel
8e18c860a9 Arrange tags in a table for dive edit dialog
This makes things look nicer and also reduces vertical size of the edit
dialog - which should now fit on a 600px display again.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14 10:56:42 -04:00
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