<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/core, branch v4.6.2</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.6.2</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.6.2'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2017-02-17T23:08:38Z</updated>
<entry>
<title>Handle negative dates (before the epoch) better</title>
<updated>2017-02-17T23:08:38Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2017-02-17T20:47:09Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0cf4104dc60134f207a60906e83311af986e0ada'/>
<id>urn:sha1:0cf4104dc60134f207a60906e83311af986e0ada</id>
<content type='text'>
The Qt model sorting for the dive date was using a unsigned number,
which doesn't work for dates before 1970.

Also, the dive date parsing got the year 1900 wrong.  Not that we really
care, because other parts of date handling will screw up with any date
before the year 1904.  So if you claim to be diving before 1904, you get
basically random behavior.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Fix crash when merging dives with a missing dive computer model</title>
<updated>2017-02-16T05:46:15Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2017-02-16T01:04:25Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=83aff9f777136aad55d6246eeb17c4b24b56f405'/>
<id>urn:sha1:83aff9f777136aad55d6246eeb17c4b24b56f405</id>
<content type='text'>
The test for the dive being a planned dive was completely bogus:

 - it should use "same_string()" which correctly checks for NULL

 - the string it checks for is obviously spelled wrong anyway.

Reported-by: Alessandro Volpi &lt;volpial@gmail.com&gt;
Fixes: a031dbbbd ("When merging planned dives keep all cylinders")
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Set up gaslist only in the beginning of diveplan</title>
<updated>2017-02-11T16:31:42Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2017-02-09T17:12:44Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e31714d9b260b37ea2060e051594ad704137d844'/>
<id>urn:sha1:e31714d9b260b37ea2060e051594ad704137d844</id>
<content type='text'>
In the beginning of the diveplan, divedatapoints of zero
duration indicate available gases with the depth giving
the suggested switch depth. Zero-duration datapoints in
the middle of the dive do not have this meaning and should
thus be ignored when composing the gaslist.

The tests should have these gas defining segments in the beginning.

This fixes a problem when replanning a dive that would change
to random gases during deco.

Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
</content>
</entry>
<entry>
<title>Always show manually added gaschanges in notes</title>
<updated>2017-02-11T16:31:42Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2017-02-08T20:55:09Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=057419fa8528504b5f84dbdb6d7acdb4141d03ee'/>
<id>urn:sha1:057419fa8528504b5f84dbdb6d7acdb4141d03ee</id>
<content type='text'>
In the manually entered part, we dont wait until the next stop.

Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
</content>
</entry>
<entry>
<title>Reset VPM-B state between repetitive dives</title>
<updated>2017-02-10T14:41:24Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2017-02-07T08:18:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=032c3258edc875ea39ce3124a40e23a22bd6ffe7'/>
<id>urn:sha1:032c3258edc875ea39ce3124a40e23a22bd6ffe7</id>
<content type='text'>
This resets the maximum crushing pressures and the maximal
ambient pressure between repetitive dives to prevent anomalies
that a dive produces a shorter deco when following another one
than without.

Reported-by: sfuchs@gmx.de
Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Make cylinder merging a bit more careful</title>
<updated>2017-02-10T05:30:49Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2017-02-08T23:00:04Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0e7d8993a2c1a21b08f7d0525bf101ce6fb15fcd'/>
<id>urn:sha1:0e7d8993a2c1a21b08f7d0525bf101ce6fb15fcd</id>
<content type='text'>
This makes some further updates to the new cylinder merging code:

 - avoid re-using the cylinder if the usage type (OC/diluent/O2) is
   different between the two dives, even if the gasmix might be the
   same.

 - avoid re-using a cylinder if the user has manually added pressure
   data for it (and the pressures don't match)

 - when deciding to reuse a cylinder, make sure that we merge as much of
   the type information as makes sense.

This will potentially result in more cylinders that might need manual
cleanup, but at least we won't be throwing out user data.  And in most
cases where merging happens, none of this is an issue (because the data
comes fresh from a dive computer, and won't have been manually edited to
trigger the new rules).

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Rewrite cylinder merging code from scratch</title>
<updated>2017-02-10T05:30:49Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2017-02-08T19:36:08Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e2bbd0ceecff7193bb272430fbebfc4b02dd67c3'/>
<id>urn:sha1:e2bbd0ceecff7193bb272430fbebfc4b02dd67c3</id>
<content type='text'>
The old cylinder merging code depended on the preferred dive having all
the cylinders, and the newly merged dive was just forced to pick from
that existing set of cylinders.

That worked ok if you have a "main" dive computer that you have all the
gases programmed for, and you download that first, and then you download
any secondary data later.

But it completely messed up if the second dive computer had gases that
the first one didn't know about, and just basically ended up doing
random things.

This rewrites the whole thing to actually try to create a union of the
two sets of cylinders when merging, with sane matching so that if the
cylinders match you won't get duplicates.

Miika Turkia hit this when he only used one gas, but had several gases
defined in his OSTC that he downloaded after his Vyper (with had just
the single gas defined).

This should fix that case (at least it does for my xml merging test-case
that showed the same problem after some munging).

Reported-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Finish removal of informational_prefs</title>
<updated>2017-02-05T20:44:11Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2017-02-05T20:44:11Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f6cd21ce5a450f8b3ba9cf844559c26f803ac38b'/>
<id>urn:sha1:f6cd21ce5a450f8b3ba9cf844559c26f803ac38b</id>
<content type='text'>
And make export-html build again.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Merge informational_prefs into git_prefs</title>
<updated>2017-02-05T20:29:51Z</updated>
<author>
<name>Joakim Bygdell</name>
<email>j.bygdell@gmail.com</email>
</author>
<published>2017-02-04T16:55:25Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0277d5aacc27893220c5914778896d2b4d14aa82'/>
<id>urn:sha1:0277d5aacc27893220c5914778896d2b4d14aa82</id>
<content type='text'>
There is no need to have two variables for the same purpose.

[Dirk Hohndel: changed to keep the two separate functions as otherwise
               we no longer parse existing repos successfully]

Signed-off-by: Joakim Bygdell &lt;j.bygdell@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>MOBILE: Read profile settings from git</title>
<updated>2017-02-05T19:59:47Z</updated>
<author>
<name>Joakim Bygdell</name>
<email>j.bygdell@gmail.com</email>
</author>
<published>2017-02-04T09:42:00Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=11dcae436eed5c684077b5a5e2b20d73fbebcca9'/>
<id>urn:sha1:11dcae436eed5c684077b5a5e2b20d73fbebcca9</id>
<content type='text'>
Signed-off-by: Joakim Bygdell &lt;j.bygdell@gmail.com&gt;
</content>
</entry>
</feed>
