Linus Torvalds 7c427dcc02 Add support to "split" a dive with surface time in the middle
Right now this requires that

 (a) the dive have only one divecomputer associated with it.

     Trying to split a dive with multiple dive computers would be *much*
     harder to do, since you'd have to try to line up the surface
     interval between computers etc.  So just don't do it after
     downloading multiple dive computers for the same dive.

 (b) there must be at least one minute between the sample that came up
     to the surface and the sample that goes down again.

     If you just peeked your head above the surface, don't try to split
     things into two dives.  Maybe we can relax this for freediving or
     something.

also note that the split dive will only get new numbering if the dive
that was split was the very last dive in the divelist.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-10-01 22:29:43 -04:00
..
2015-09-03 07:40:14 -07:00
2014-06-26 15:47:02 -07:00
2014-02-08 08:00:27 -08:00
2014-10-14 20:33:46 +02:00
2015-07-31 11:01:57 -07:00
2015-06-03 21:26:31 -07:00
2015-10-01 21:24:04 -04:00
2015-09-16 21:16:58 -07:00
2014-10-18 15:16:15 -07:00
2014-10-18 15:16:15 -07:00
2014-12-01 14:19:03 -08:00
2015-08-15 05:01:33 -07:00
2014-10-18 15:16:15 -07:00
2014-11-17 06:02:21 +00:00
2015-06-14 21:49:34 -07:00
2015-06-14 21:49:34 -07:00
2015-08-31 15:12:18 -07:00
2015-02-23 09:31:08 -08:00
2015-02-23 09:31:08 -08:00