<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/qt-models, branch v4.5.96</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.5.96</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.5.96'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2016-11-24T00:58:46Z</updated>
<entry>
<title>Provide phots summary on dive list (Part 2)</title>
<updated>2016-11-24T00:58:46Z</updated>
<author>
<name>Willem Ferguson</name>
<email>willemferguson@zoology.up.ac.za</email>
</author>
<published>2016-11-21T09:26:58Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6aa01372fddfa82533bceceb3275a73172644f77'/>
<id>urn:sha1:6aa01372fddfa82533bceceb3275a73172644f77</id>
<content type='text'>
Please apply this patch on top of the previous patch with the same title.
1) Provide icons with white margin to look more like photos
2) Optimise code, following Robert's suggestions.
3) Column heading for photos column is now: Photos. This takes up extra
   horizontal space but makes the user interface more understandable.

Signed-off-by: Willem Ferguson &lt;willemferguson@zoology.up.ac.za&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Provide photos summary on dive list</title>
<updated>2016-11-24T00:58:16Z</updated>
<author>
<name>Willem Ferguson</name>
<email>willemferguson@zoology.up.ac.za</email>
</author>
<published>2016-11-19T12:23:54Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=1fa855e1c091175afcdb0cc4a3395d3aecb96d1c'/>
<id>urn:sha1:1fa855e1c091175afcdb0cc4a3395d3aecb96d1c</id>
<content type='text'>
1) Add an extra column to dive list, just left of Locality field.
2) For each dive, give summary of photos as follows:
   i)   no photos: no icon in that column
   ii)  photos taken during dive: show icon of fish
   iii) photos taken before/after dive: show icon of sun
   iv)  photos taken during as well as before/after dive: show
     icon with both fish and sun
3) Provide information for the sort operation to work on
   this column of the dive list.

Signed-off-by: Willem Ferguson &lt;willemferguson@zoology.up.ac.za&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Use fake profile when replanning dives without samples</title>
<updated>2016-11-09T14:25:11Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2016-11-08T20:17:35Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=05098f90cd89315a618907038e5e625e767e2b0e'/>
<id>urn:sha1:05098f90cd89315a618907038e5e625e767e2b0e</id>
<content type='text'>
This can happen when the user asks to replan a dive that
was imported from CSV.

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>Planner: populate gaslist for initial simple dive</title>
<updated>2016-10-28T03:35:57Z</updated>
<author>
<name>Rick Walsh</name>
<email>rickmwalsh@gmail.com</email>
</author>
<published>2016-10-26T02:10:34Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f2bbd0c62737fabea58d1454df1aea036f6e774b'/>
<id>urn:sha1:f2bbd0c62737fabea58d1454df1aea036f6e774b</id>
<content type='text'>
Call GasSelectionModel::instance()-&gt;repopulate() when creating the initial
simple dive. Without this call, the gas selection dropdown list does not work
in the DivePLannerPointsModel table until the cylinders table has been edited.

Signed-off-by: Rick Walsh &lt;rickmwalsh@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Separate VPM-B conservatism preference for planner and profile</title>
<updated>2016-09-24T15:30:11Z</updated>
<author>
<name>Rick Walsh</name>
<email>rickmwalsh@gmail.com</email>
</author>
<published>2016-09-24T08:02:08Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7e09a6c7bcb135d65b3e48f2aee44791dd080443'/>
<id>urn:sha1:7e09a6c7bcb135d65b3e48f2aee44791dd080443</id>
<content type='text'>
Separate the VPM-B conservatism preference into diveplan.vpmb_conservatism for
planning dives and prefs.vpmb_conservatism for profile ceiling display of
saved dives.

Signed-off-by: Rick Walsh &lt;rickmwalsh@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Rename conservatism_level to vpmb_conservatism</title>
<updated>2016-09-24T15:29:56Z</updated>
<author>
<name>Rick Walsh</name>
<email>rickmwalsh@gmail.com</email>
</author>
<published>2016-09-24T08:02:07Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7b891904e77364719471098a7bdf4eacc589807c'/>
<id>urn:sha1:7b891904e77364719471098a7bdf4eacc589807c</id>
<content type='text'>
Make the variable purpose less ambiguous

Signed-off-by: Rick Walsh &lt;rickmwalsh@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Language preference: remove the .qm suffix before handling locale</title>
<updated>2016-09-20T19:48:30Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2016-09-20T19:47:31Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6b181d6b8579b8281257a0d3cdeaff4769c96477'/>
<id>urn:sha1:6b181d6b8579b8281257a0d3cdeaff4769c96477</id>
<content type='text'>
Otherwise things don't match as one might expect...

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Settings update: Remove unused include &amp; variable.</title>
<updated>2016-08-27T18:40:44Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tomaz.canabrava@gmail.com</email>
</author>
<published>2016-08-10T19:43:18Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b264c3e36704c83a6c9353fe5eac3dc0eb3c9a80'/>
<id>urn:sha1:b264c3e36704c83a6c9353fe5eac3dc0eb3c9a80</id>
<content type='text'>
Signed-off-by: Tomaz Canabrava &lt;tomaz.canabrava@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>CylindersModel: add tooltips for Deco switch at, Bot MOD and MND</title>
<updated>2016-08-10T22:05:14Z</updated>
<author>
<name>Rick Walsh</name>
<email>rickmwalsh@gmail.com</email>
</author>
<published>2016-08-02T01:02:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=9710ac8926e97cfb08000bfea9a5477307f49703'/>
<id>urn:sha1:9710ac8926e97cfb08000bfea9a5477307f49703</id>
<content type='text'>
Signed-off-by: Rick Walsh &lt;rickmwalsh@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Unify handling of QDateTime time zone information</title>
<updated>2016-08-10T22:04:39Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2016-06-22T20:46:22Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2c715542fd4fae6c2313c55d8c370689ff7dd931'/>
<id>urn:sha1:2c715542fd4fae6c2313c55d8c370689ff7dd931</id>
<content type='text'>
Subsurface uses "local time" which in particular means we never
display time zone information to the user. The user (and our file
format) only sees times like 5pm or 17:00. A better name than
local time (which could mean "local at the dive spot) would
be "watch time", the time displayed by the diver's watch when
she entered the water.

Internally, we store times as time_t, seconds since Jan 1 1970 0:00
UTC. Our convention for conversion between 5pm and time_t as always
been to treat 5pm as if it were UTC.

Then confusion arose since Qt's QDateTime (which is tied to UI elements
like QTimeEdit and similar) is time zone aware and by default assumes
the system time zone. So when we set a QDateTime to 5pm and then later
convert it to time_t we have to take care about the difference between
UTC and the system time zone.

This patch unifies our solution to this problem: With it, we set all
QDateTime's time zone to UTC. This means we don't have to correct for
a time zone anymore when converting to time_t (note, however, the
signedness issue: Qt's idea of time_t is broken since it assumes it
to be unsigned thus not allowing for dates before 1970. Better use the
millisecont variants).

We only need to be careful about time zones when using the current time.
With this convention, when assigning the current time to a QDateTime, we
need to shift for the time zone since its value in UTC should actually be
the watch time of the user who is most likely used to the system time zone.

Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
