Update supported dive computers

I clearly forgot to do that prior to the last release - and of course
we needed to add special handling for Seabaer. And to make it more
obvious that the files themselves shouldn't be edited, let's add some
comment to that extend to the two files as well.

Closes #375

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-05-03 07:02:44 -07:00
parent a784b15cb8
commit 15c20a3c72
3 changed files with 30 additions and 10 deletions

View file

@ -1,3 +1,4 @@
<!-- This file is automatically generated, please edit scripts/parse-descriptor.pl -->
<dl><dt>Aeris</dt><dd><ul>
<li>500 AI, A300, A300 AI, A300CS, Atmos 2, Atmos AI, Atmos AI 2, Compumask, Elite, Elite T3, Epic, F10, F11, Manta, XR-1 NX, XR-2</li></ul>
</dd>
@ -5,7 +6,7 @@
<li>Quantum X</li></ul>
</dd>
<dt>Aqualung</dt><dd><ul>
<li>i300, i450T, i550T</li></ul>
<li>i300, i450T, i550, i750TC</li></ul>
</dd>
<dt>Atomic Aquatics</dt><dd><ul>
<li>Cobalt, Cobalt 2</li></ul>
@ -20,7 +21,7 @@
<li>Commander, EMC-14, EMC-16, EMC-20H</li></ul>
</dd>
<dt>Cressi</dt><dd><ul>
<li>Edy, Giotto, Leonardo, Newton</li></ul>
<li>Drake, Edy, Giotto, Leonardo, Newton</li></ul>
</dd>
<dt>Dive Rite</dt><dd><ul>
<li>NiTek Q, NiTek Trio</li></ul>
@ -35,13 +36,13 @@
<li>Frog, OSTC, OSTC 2, OSTC 2C, OSTC 2N, OSTC 3, OSTC 3+, OSTC 4, OSTC Mk2, OSTC Sport, OSTC cR</li></ul>
</dd>
<dt>Hollis</dt><dd><ul>
<li>DG03, TX1</li></ul>
<li>DG02, DG03, TX1</li></ul>
</dd>
<dt>Mares</dt><dd><ul>
<li>Airlab, Darwin, Darwin Air, Icon HD, Icon HD Net Ready, M1, M2, Matrix, Nemo, Nemo Air, Nemo Apneist, Nemo Excel, Nemo Steel, Nemo Titanium, Nemo Wide, Nemo Wide 2, Puck, Puck 2, Puck Air, Puck Pro, Smart, Smart Apnea</li></ul>
</dd>
<dt>Oceanic</dt><dd><ul>
<li>Atom 1.0, Atom 2.0, Atom 3.0, Atom 3.1, Datamask, F11, Geo, Geo 2.0, OC1, OCS, OCi, Pro Plus 2, Pro Plus 2.1, Pro Plus 3, VT 4.1, VT Pro, VT3, VT4, VTX, Veo 1.0, Veo 180, Veo 2.0, Veo 200, Veo 250, Veo 3.0, Versa Pro</li></ul>
<li>Atom 1.0, Atom 2.0, Atom 3.0, Atom 3.1, Datamask, F10, F11, Geo, Geo 2.0, OC1, OCS, OCi, Pro Plus 2, Pro Plus 2.1, Pro Plus 3, VT 4.1, VT Pro, VT3, VT4, VTX, Veo 1.0, Veo 180, Veo 2.0, Veo 200, Veo 250, Veo 3.0, Versa Pro</li></ul>
</dd>
<dt>Reefnet</dt><dd><ul>
<li>Sensus, Sensus Pro, Sensus Ultra</li></ul>
@ -49,6 +50,9 @@
<dt>Scubapro</dt><dd><ul>
<li>Chromis, Mantis, Mantis 2, Meridian, XTender 5</li></ul>
</dd>
<dt>Seabaer</dt><dd><ul>
<li>T1, H3, HUDC</li></ul>
</dd>
<dt>Seemann</dt><dd><ul>
<li>XP5</li></ul>
</dd>
@ -71,7 +75,7 @@
<li>Zürich SDA</li></ul>
</dd>
<dt>Uwatec</dt><dd><ul>
<li>Aladin 2G, Aladin Air Twin, Aladin Air Z, Aladin Air Z Nitrox, Aladin Air Z O2, Aladin Prime, Aladin Pro, Aladin Pro Ultra, Aladin Sport, Aladin Sport Plus, Aladin Tec, Aladin Tec 2G, Galileo Luna, Galileo Sol, Galileo Terra, Galileo Trimix, Memomouse, Smart Com, Smart Pro, Smart Tec, Smart Z</li></ul>
<li>Aladin 2G, Aladin Air Twin, Aladin Air Z, Aladin Air Z Nitrox, Aladin Air Z O2, Aladin Prime, Aladin Pro, Aladin Pro Ultra, Aladin Sport, Aladin Sport Plus, Aladin Tec, Aladin Tec 2G, Aladin Tec 3G, Galileo Luna, Galileo Sol, Galileo Terra, Galileo Trimix, Memomouse, Smart Com, Smart Pro, Smart Tec, Smart Z</li></ul>
</dd>
<dt>Zeagle</dt><dd><ul>
<li>N2iTiON3</li>

View file

@ -1,20 +1,22 @@
# This file is automatically generated, please edit scripts/parse-descriptor.pl
Aeris: 500 AI, A300, A300 AI, A300CS, Atmos 2, Atmos AI, Atmos AI 2, Compumask, Elite, Elite T3, Epic, F10, F11, Manta, XR-1 NX, XR-2
Apeks: Quantum X
Aqualung: i300, i450T, i550T
Aqualung: i300, i450T, i550, i750TC
Atomic Aquatics: Cobalt, Cobalt 2
Beuchat: Mundial 2, Mundial 3, Voyager 2G
Citizen: Hyper Aqualand
Cochran: Commander, EMC-14, EMC-16, EMC-20H
Cressi: Edy, Giotto, Leonardo, Newton
Cressi: Drake, Edy, Giotto, Leonardo, Newton
Dive Rite: NiTek Q, NiTek Trio
DiveSystem: Orca, iDive DAN, iDive Deep, iDive Easy, iDive Free, iDive Pro, iDive Reb, iDive Stealth, iDive Tech, iDive X3M, iX3M Deep, iX3M Easy, iX3M Reb, iX3M Tec
Genesis: React Pro, React Pro White
Heinrichs Weikamp: Frog, OSTC, OSTC 2, OSTC 2C, OSTC 2N, OSTC 3, OSTC 3+, OSTC 4, OSTC Mk2, OSTC Sport, OSTC cR
Hollis: DG03, TX1
Hollis: DG02, DG03, TX1
Mares: Airlab, Darwin, Darwin Air, Icon HD, Icon HD Net Ready, M1, M2, Matrix, Nemo, Nemo Air, Nemo Apneist, Nemo Excel, Nemo Steel, Nemo Titanium, Nemo Wide, Nemo Wide 2, Puck, Puck 2, Puck Air, Puck Pro, Smart, Smart Apnea
Oceanic: Atom 1.0, Atom 2.0, Atom 3.0, Atom 3.1, Datamask, F11, Geo, Geo 2.0, OC1, OCS, OCi, Pro Plus 2, Pro Plus 2.1, Pro Plus 3, VT 4.1, VT Pro, VT3, VT4, VTX, Veo 1.0, Veo 180, Veo 2.0, Veo 200, Veo 250, Veo 3.0, Versa Pro
Oceanic: Atom 1.0, Atom 2.0, Atom 3.0, Atom 3.1, Datamask, F10, F11, Geo, Geo 2.0, OC1, OCS, OCi, Pro Plus 2, Pro Plus 2.1, Pro Plus 3, VT 4.1, VT Pro, VT3, VT4, VTX, Veo 1.0, Veo 180, Veo 2.0, Veo 200, Veo 250, Veo 3.0, Versa Pro
Reefnet: Sensus, Sensus Pro, Sensus Ultra
Scubapro: Chromis, Mantis, Mantis 2, Meridian, XTender 5
Seabaer: T1, H3, HUDC
Seemann: XP5
Shearwater: Nerd, Perdix, Petrel, Petrel 2, Predator
Sherwood: Amphos, Amphos Air, Insight, Insight 2, Vision, Wisdom, Wisdom 2, Wisdom 3
@ -22,5 +24,5 @@ Subgear: XP Air, XP-10, XP-3G, XP-Air
Suunto: Cobra, Cobra 2, Cobra 3, D3, D4, D4i, D6, D6i, D9, D9tx, DX, EON Steel, Eon, Gekko, HelO2, Mosquito, Solution, Solution Alpha, Solution Nitrox, Spyder, Stinger, Vyper, Vyper 2, Vyper Air, Vyper Novo, Vytec, Zoop, Zoop Novo
Tusa: Element II (IQ-750), IQ-700, Zen (IQ-900), Zen Air (IQ-950)
Uemis: Zürich SDA
Uwatec: Aladin 2G, Aladin Air Twin, Aladin Air Z, Aladin Air Z Nitrox, Aladin Air Z O2, Aladin Prime, Aladin Pro, Aladin Pro Ultra, Aladin Sport, Aladin Sport Plus, Aladin Tec, Aladin Tec 2G, Galileo Luna, Galileo Sol, Galileo Terra, Galileo Trimix, Memomouse, Smart Com, Smart Pro, Smart Tec, Smart Z
Uwatec: Aladin 2G, Aladin Air Twin, Aladin Air Z, Aladin Air Z Nitrox, Aladin Air Z O2, Aladin Prime, Aladin Pro, Aladin Pro Ultra, Aladin Sport, Aladin Sport Plus, Aladin Tec, Aladin Tec 2G, Aladin Tec 3G, Galileo Luna, Galileo Sol, Galileo Terra, Galileo Trimix, Memomouse, Smart Com, Smart Pro, Smart Tec, Smart Z
Zeagle: N2iTiON3

View file

@ -21,6 +21,14 @@ if ($infi !~ /.*descriptor.c/) {
open(my $fh, "<", $infi) || croak "can't open $infi: $!";
open(STDOUT, ">", $outfi) || croak "can't open $outfi: $!";
my $commentStart = "# ";
my $commentEnd = "";
if ($type eq "html") {
$commentStart = "<!-- ";
$commentEnd = " -->";
}
printf("%s This file is automatically generated, please edit scripts/parse-descriptor.pl%s\n", $commentStart, $commentEnd);
my $lastVend = "";
my $lastMod = "";
my @descriptors = ();
@ -37,6 +45,9 @@ foreach (@sortedDescriptors) {
if ($vend eq $lastVend) {
printf(", %s", $mod);
} else {
if ($lastVend lt "Seabaer" && $vend gt "Seabaer") {
printf("</li></ul>\n </dd>\n <dt>Seabaer</dt><dd><ul>\n\t <li>T1, H3, HUDC");
}
if ($lastVend lt "Uemis" && $vend gt "Uemis") {
printf("</li></ul>\n </dd>\n <dt>Uemis</dt><dd><ul>\n\t <li>Zürich SDA");
}
@ -50,6 +61,9 @@ foreach (@sortedDescriptors) {
if ($vend eq $lastVend) {
printf(", %s", $mod);
} else {
if ($lastVend lt "Seabaer" && $vend gt "Seabaer") {
printf("\nSeabaer: T1, H3, HUDC");
}
if ($lastVend lt "Uemis" && $vend gt "Uemis") {
printf("\nUemis: Zürich SDA");
}