divelist: show/sort nitrox dive oxygen percentage as a range

If you are diving multiple nitrox cylinders, we now show them as a range
instead of just the max.  We'll still sort by max O2 (and for the same
max, by min O2).

So now with trimix dives, we'll show the bottom gas (we assume that
"highest He percentage" is that bottom gas), for nitrox dives we'll show
the range of Oxygen percentage, and for all-air dives we'll show just
"air".

For simple nitrox dives (only a single mix), we'll obviously show just
that single percentage.  This should hopefully conclude the whole "show
multiple cylinders in dive list" mess.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Pack the star rating on a line of its own

Packing it next to the divemaster/buddy information may work great on a
big screen with lots of pixes, but it makes the minimum window size way
wide for a small screen.  So don't do it.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Add libxslt to Windows packaging file

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Two test dives I added a couple of months ago

...and never commited

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Make test dive 15 a bit more useful

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Add three more trimix test dives

This allows us to check what we display in the dive list and how we sort
it.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Small improvement to plot info debugging code

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Merge branch 'forlinus' of git://git.hohndel.org/subsurface

* 'forlinus' of git://git.hohndel.org/subsurface:
  Small improvement to plot info debugging code
  Add three more trimix test dives
  Make test dive 15 a bit more useful
  Two test dives I added a couple of months ago
  Add libxslt to Windows packaging file
First draft of user documentation

Signed-off-by: Jacco van Koll <jacco.van.koll@gmail.com>
Reformat, reorganize and slightly modify user manual

Getting started on better user documentation. Awesome.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Version 0.0.2 of user manual

Signed-off-by:    Jacco van Koll <jacco.van.koll@gmail.com>
Version 0.0.3 of user manual

Added missing chapters. Now includes adding information.
Fixing whitespace, line wrapping

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
More intuitive label for "not saving" when exiting

Right now the options are "Save" and "Cancel". I wrote that code and it
always bugged me - "Cancel" could mean that I want to cancel the the whole
operation, i.e. that I don't want to quit after all. Showing "Save" and
"No" seems much more logical.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Version 0.0.4 of user manual

Cleanup of the layout
Changed line-length to 74
Added chapter 11. How to find the Device Name
Added Appendix A: Supported divecomputers

Signed-off-by: Jacco van Koll <jacco.van.koll@gmail.com>
Clarify documentation about connecting dive computers

This works rather differently on the different OSs

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Add reasonable default device names for divecomputer import

So far we hard coded /dev/ttyUSB0 - which is a good starting point in
Linux but not so useful on Windows or MacOS. This was now moved into one
of our OS helper functions with (somewhat) reasonable defaults.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Improve Makefile for MacOS

Some macs appear to need "-framework CoreFoundation" added to the linking
step, others (which appear to have the exact same OS and tools installed),
don't. But as it doesn't appeart to hurt, I unconditionally add this.

Switched to using pkgconfig to find libdivecomputer on the Mac.

Tried to clean up the Makefile a bit

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Acked-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Merge branch 'forlinus' of git://git.hohndel.org/subsurface

* 'forlinus' of git://git.hohndel.org/subsurface:
  Improve Makefile for MacOS
  Add reasonable default device names for divecomputer import
  More intuitive label for "not saving" when exiting
Return is not a function

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>