aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-02-19Screenshots are in images dir thus unignore itGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-19Use the divetrip index to look up divelist trip entriesGravatar Linus Torvalds
We used to look up dive trips by their date, but these days we always create a dynamic index for a dive trip when we insert it into the divelist model, so we can use that to unambiguously match up dive trips with the dive model entries. That means that we don't get confused if we have two trips with the exact same time, which happens when you load all the test-dives, for example. Reported-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-19[PATCH] Adding screen captures of dive planningGravatar Miika Turkia
[Dirk Hohndel: removed the images folder from the Documentation directory Makefile clean target] Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-19Cleanup more and rearrange targets.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-19Improved maitainability.Gravatar Cristian Ionescu-Idbohrn
Cleans up more files. Got even an 'all' target :) Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-19Ignoring more stuff.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-19Small context adjustment.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-19Replaced two utf8 characters with their ascii equivalents.Gravatar Cristian Ionescu-Idbohrn
Char: ' (8217, #o20031, #x2019) point=695 of 8902 (8%) column=63 Char: - (8211, #o20023, #x2013) point=3162 of 8902 (36%) column=36 Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-18Update README for 3.0 releaseGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-18Clear statistics and equipment when no dive is selectedGravatar Dirk Hohndel
This all seems very strange forward. The reason for the check whether the stats_w widget has been populated is that at the very beginning, when the UI is still being assembled, a first call to switch_page() happens as the notebook pages are assembled. At that point the stats_w widget is still empty which tells us that we aren't ready to display anything. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-18Minor updates to the READMEGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-18When only a dive trip is selected, select all the dives in the tripGravatar Linus Torvalds
This does a final pass after all the selection logic, and notices if we have dive trips that are selected, but that have no dives in them selected. In that case, we assume that the user wanted to select all dives in that trip. NOTE! This still allows a range selection that selects the dive trip entry and a few dives under the trip. If a trip has any dives selected in it, we leave that manual selection alone. So this new logic really only triggers on the case where somebody selected *just* the trip. Note: unselecting the trip still leaves the dives under it selected, because having a dive trip that isn't selected have all the dives under it be selected is normal, and we can't recognize that as some kind of special event. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-18Documentation: fixed a few typosGravatar Reinout Hoornweg
- Suunto Viper is actually Vyper. I actually used to own both a Vyper and a Vyper Air, so I care. :-) - Fixed a few other small typos. Signed-off-by: Reinout Hoornweg <reinout@xs4all.nl> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-18Documentation: improve layoutGravatar Reinout Hoornweg
Added headers, borders, etc. to the table in "Viewing and completing your logs". Signed-off-by: Reinout Hoornweg <reinout@xs4all.nl> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-18Updates to the user-manual: DivePlanningGravatar Reinout Hoornweg
- Added some more text to Miika's great start describing the planner. - Tried doing something more with the formatting options asciidoc give us. [Dirk Hohndel: merged with my earlier changes to the same section] Signed-off-by: Reinout Hoornweg <reinout@xs4all.nl> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-18Documentation: Chapter structure & header cleanupGravatar Dirk Hohndel
Most everything was a top level chapter - this tries to impose some structure. It also moves the "finding the device" section closer to where it should be in the logical flow. This also made the header more "asciidoc compliant" and added the other significant authors to the list. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-18Documentation: small rewrite of the dive planning chapterGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-18Documentation: attempt consistency in headings and linksGravatar Dirk Hohndel
This changes the capitalization of headings and aims to get a consistent style of internal links. Linking to chapter numbers is very fragile as asciidoc sadly doesn't support this in an automated fashion - so instead we reference chapter titles (also manual, but at least less fragile when chapters are inserted) Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-18Documentation: minor rewrite of the Mac Driver appendixGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-18Documentation: minor spelling and consistency fixesGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-18Documentation: Briefly explain the download from web serviceGravatar Dirk Hohndel
This sounds rather lame as the app hasn't been released but it is too useful to not have it in 3.0 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-18Fixed a couple of small bg_BG translation issuesGravatar Lubomir I. Ivanov
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-18user manual - planning divesGravatar Miika Turkia
The attached patch is the ugly start for dive planning. Hopefully someone will enhance it from and add whatever essential is missing. miika From 2d51a56489fde7086032fb5efeeea6e9032ec1ba Mon Sep 17 00:00:00 2001 From: Miika Turkia <miika.turkia@gmail.com> Date: Mon, 18 Feb 2013 19:04:14 +0530 Subject: [PATCH] Instructions for basic dive planning Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-17Documentation: apparently dive computer are two wordsGravatar Dirk Hohndel
We use "divecomputer" in many places and while that is a data structure in Subsurface it apparently is not a word. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-17Fix ordering issue in fixupGravatar Linus Torvalds
We have this oddity in "fixup_dive()" that we fix up the dive water temperates and durations by looking over all the dive computer data. But we actually call that *before* we've fixed-up the dive computer data. So the water temperature is there in the samples, but hasn't made it to the generic dive computer water temperature yet, so then it doesn't make it into the dive structure either. Until the *second* time, when we have load the (partially fixed-up) data. Acked-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-17Print: better name and layout for custom widgetGravatar Dirk Hohndel
"Dive details" doesn't really capture what this is about and it got very odd translations. So we just repeat the "Print type" text - this avoids needing a new translation, too. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-17Updated Russian translation.Gravatar Sergey Starosek
Removed extra LF in print.c to avoid strings overlapping. Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-17Moving common information to Import introductionGravatar Miika Turkia
Writing an introductory chapter for the divelog import and moving relevant content to it Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-17Added import info for MacDiveGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-17Tweaking download textsGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-17TyposGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-17Consistent way of writing divelogGravatar Miika Turkia
Use a single form when writing divelog (same syntax as in About box) Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-17Requirements can also be filled with existing logsGravatar Miika Turkia
It is not an absolute requirement to download directly from the dive computer but we also support importing logs from certain log formats. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-17es_ES.po: new updateGravatar Salvador Cuñat
Added myself to the translators list and some little corrections. Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-17Print: implement dynamic pagination of the table layoutGravatar Dirk Hohndel
Instead of a fixed number of dives per page we are now using the paginate callback to dynamically figure out how many pages we need and which dive to start each page with. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Print: better calculation of the row height in table printGravatar Dirk Hohndel
Instead of odd hard coded offsets we evaluate the height of a single line and modify the height per row (and the vertical positioning of the text within that row) by a fraction of that height. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Documentation: Update "Import new dives from your divecomputer"Gravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Documentation: update "Import new dives from a Uemis Zurich"Gravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Documentation: update "how to find the Device NameGravatar Dirk Hohndel
- mention the improved drop down - clarify the the explanation is for Linux and give brief intro for Windows and MacOS Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Documentation: update list of supported divecomputersGravatar Dirk Hohndel
Taken directly from the libdivecomputer website... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Updated Polish translationGravatar Krzysztof Arentowicz
Added some strings I missed last time (my poedit not showing strings with msgctxt) and fixed a few typos. I believie it is really complete now. Signed-off-by: Krzysztof Arentowicz <k.arentowicz@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Redo the print table layoutGravatar Dirk Hohndel
This appears to make the table layout much easier to follow, much easier to modify and it has the edit benefit of working in my limited testing. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Force recreation of the Windows .nsi file when cross buildingGravatar Dirk Hohndel
This way we make sure that the version number for the installer is correct. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Consistent syntax.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Remove useless whitespace.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Remove useless curly brackets.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Remove useless quotes.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Unified handling of version extraction.Gravatar Cristian Ionescu-Idbohrn
Removed oddly named and ridiculously outdated documentation text (scripts). Created new directory 'scripts'. Added unified version extraction script (scripts/get-version). Yes, it's more shell script code but faster and more maintainable than the sed commands and the swearwords/regexps repeated over and over again. Makefile and packaging/macosx/make-package.sh modified accordingly. I don't do windos neither macos but, AFAICS my tests show, it should be safe. Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16No bashisms in this script, AFAICS.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Documentation: rewrite the Introduction for 3.0Gravatar Dirk Hohndel
Just trying to reflect the reality a bit better. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>