subsurface/dives
Berthold Stoeger 4afefb1b9b parser: keep divelist sorted
The parser used to append each parsed dive at the end of the log.
At the end the list was sorted. However, the divelist code depends
on the list being sorted. To avoid inconsistent states, add the
dives at the proper position.

Note that the reference data of TestDiveSeabearNewFormat had to
be adapted, because the CNS calculation now gives a different
value. This shouls be investigated.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00
..
images
abitofeverything.ssrf
Demo_SmartTrak.slg
Dive_2013-02-02-1614.xml
DL7.xml
DL7.zxu
Example.log Import Datatrak/WLog files 2015-03-10 10:03:08 -07:00
exportprofilereference.csv
exportprofilereferenceVPMB.csv
gps-import.gpx
gps-import.xml
mergedVyperOstc.xml tests: work on sorted dive lists 2024-06-17 00:03:28 +02:00
ostc.xml Add test for merging multiple cylinders 2017-02-09 22:22:12 -08:00
ostc_00087_04-05-2014_043m_032min.dive
ostc_00173_17-08-2013_027m_043min.dive
Poseidon_MkVILog.csv
Poseidon_MkVILog.txt
sac-test.xml Change gas in second cylinder in sac-test-dives 2013-12-02 12:33:47 -08:00
SampleDivesV2.ssrf
tank_pressure.xml
Test.csv
test0.xml
test0b.xml Change fake profile behavior 2014-01-08 21:54:29 +08:00
test1.xml
test2.xml Correctly plot dives ending below the surface 2011-11-09 07:53:10 -08:00
test3.xml Replace Linus' dives with useful test dives that help test the app 2011-11-04 10:47:38 -07:00
test4.xml
test5.xml
test6.xml
test7.xml
test8.xml
test9.xml
test9a.xml
test10.xml
test11.xml
test12.xml
test13.xml
test14.xml
test15.xml Add GPS locations to some of the test dives 2013-01-13 10:23:38 -08:00
test16.xml
test17.xml
test18.xml Fix the description of test dive cylinders 2014-07-15 20:46:02 -07:00
test19.xml
test20.xml Fix the description of test dive cylinders 2014-07-15 20:46:02 -07:00
test21.xml
test22.xml
test23.xml
test24.xml
test25.xml
test26.xml Add two test dives that triggered the bug fixed in the previous commit 2012-12-06 13:06:16 -08:00
test27.xml
test28.xml
test29.xml
test30.xml
test31.xml
test32.xml Add test dive to show erroneous pp graphs 2014-03-15 15:01:08 -07:00
test33.xml
test34.xml
test35.xml
test36.xml
test38.xml Load and save extra data in Subsurface XML format 2014-11-07 12:59:15 -08:00
test40-42.xml
test40.xml
test41.csv
test42.xml
test43.xml
test44.xml
test47+48.xml
test47.xml
test47b.xml Add missing XML files for TestRenumber 2015-10-06 14:40:33 +01:00
test47c.xml
test48+47.xml
test48.xml
test50.xml
test51.xml
TestAPDLogViewer.csv
TestAtmPress.xml
TestComma.csv
TestDiveDivelogsDE.DLD
TestDiveDivelogsDE.udcf
TestDiveDivelogsDE.xml
TestDiveDivingLog5.08.udcf
TestDiveDivingLog5.08.uddf
TestDiveDivingLog5.08allimperial.xml
TestDiveDivingLog5.08allmetric.xml
TestDiveDivingLog5.08allmetric.zip
TestDiveDM3.SDE Add the same test dive in a number of different formats 2013-02-25 20:28:58 -08:00
TestDiveDM4.db
TestDiveDM4.xml
TestDiveDM5.db
TestDiveDM5.xml
TestDiveJDiveLog.jlb
TestDiveSeabearH3_0002SBDT.CSV
TestDiveSeabearH3_0003SBDT.CSV
TestDiveSeabearH3_0004SBDT.CSV
TestDiveSeabearH3_0005SBDT.CSV
TestDiveSeabearHUDC.csv
TestDiveSeabearHUDC.xml
TestDiveSeabearNewFormat.xml
TestDiveSeabearT1_0001SBDT.CSV
TestDiveSeabearT1_0002SBDT.CSV
TestDiveSeabearT1_0003SBDT.CSV
TestDiveSeabearT1_0004SBDT.CSV
TestDiveSeabearT1_0005SBDT.CSV
TestDiveSeacSync.db
TestDivingLog4.1.1.sql
testsensormove.xml
TestSensusSingle.csv
TestXP5_de.csv
TwoTimesTwo.ssrf
vyper.xml