<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/core/settings, branch v5.0.2</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v5.0.2</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v5.0.2'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2021-04-19T19:51:01Z</updated>
<entry>
<title>cloudstorage: try to pick between multiple cloud servers</title>
<updated>2021-04-19T19:51:01Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-04-11T01:03:08Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7fa031b648fedeaa35eb4da8003cd521cf65c4e3'/>
<id>urn:sha1:7fa031b648fedeaa35eb4da8003cd521cf65c4e3</id>
<content type='text'>
The backend infrastructure will soon be able to support more than one
cloud server which automagically stay in sync with each other.

One critical requirement for that to work is that once a session was
started with one of the servers, the complete session happens with that
server - we must not switch from server to server while doing a git
transaction. To make sure that's the case, we aren't trying to use DNS
tricks to make this load balancing scheme work, but instead try to
determine at program start which server is the best one to use.

Right now this is super simplistic. Two servers, one in the US, one in
Europe. By default we use the European server (most of our users appear
to be in Europe), but if we can figure out that the client is actually
in the Americas, use the US server. We might improve that heuristic over
time, but as a first attempt it seems not entirely bogus.

The way this is implemented is a simple combination of two free
webservices that together appear to give us a very reliable estimate
which continent the user is located on.

api.ipify.org gives us our external IP address
ip-api.com gives us the continent that IP address is on

If any of this fails or takes too long to respond, we simply ignore it
since either server will work. One oddity is that if we decide to change
servers we only change the settings that are stored on disk, not the
runtime preferences. This goes back to the comment above that we have to
avoid changing servers in mid sync.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>cloudstorage: add API to just update on-disk setting</title>
<updated>2021-04-19T19:51:01Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-04-11T20:53:39Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e22b33795b5e0b101a744d03093278cf7991687a'/>
<id>urn:sha1:e22b33795b5e0b101a744d03093278cf7991687a</id>
<content type='text'>
This way we can change the host that we will use next time the app runs.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>cloudstorage: some cleanup of cloud url handling</title>
<updated>2021-04-19T19:51:01Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-04-11T00:40:30Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=c5eb806adb345e24b13ac4bf106cceb1dc9d3431'/>
<id>urn:sha1:c5eb806adb345e24b13ac4bf106cceb1dc9d3431</id>
<content type='text'>
We know the preference is never empty, so stop testing for this. But
don't maintain two different preferences with basically the same
content. Instead add the '/git' suffix where needed and keep this all in
one place.

Simplify the extraction of the branch name from the cloud URL.

Also a typo fix and a new comment.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>mobile: add GF fields for ceiling calculation</title>
<updated>2021-01-19T20:34:46Z</updated>
<author>
<name>Doug Junkins</name>
<email>douglas.junkins@gmail.com</email>
</author>
<published>2021-01-19T15:50:08Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=31e26fd14451c84ef4531aaa3b643b10b529a637'/>
<id>urn:sha1:31e26fd14451c84ef4531aaa3b643b10b529a637</id>
<content type='text'>
Adds fields to the advanced preferences page to modify GFLow and GFHigh for
the Buhlmann decompression model for calculating ceilings. Updated preferences
code to set the Buhlmann parameters in core/deco.c when the GF prefs are
updated.

Signed-off-by: Doug Junkins &lt;douglas.junkins@gmail.com&gt;
</content>
</entry>
<entry>
<title>preferences: remove pointless member</title>
<updated>2021-01-06T18:18:23Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-01-05T20:08:09Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=76136010bf72e6452701dd7dffc24c9eabfaf97d'/>
<id>urn:sha1:76136010bf72e6452701dd7dffc24c9eabfaf97d</id>
<content type='text'>
This could never have worked the way it was used.

Some whitespace fixes snuck into this commit.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>prefs: add option to display only actually used tanks</title>
<updated>2020-12-13T19:49:59Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-12-11T22:55:18Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=296a391faa1625350b5561d8ce17f5dc8a38300c'/>
<id>urn:sha1:296a391faa1625350b5561d8ce17f5dc8a38300c</id>
<content type='text'>
A user complained about the default cylinders list. Provide
a preferences option to turn this off.

When changing the preferences, the tank-info model will be
completely rebuilt. Currently, this is a bit crude as this
will be done for any preferences change.

Suggested-by: Adolph Weidanz &lt;weidanz.adolph@gmail.com&gt;
Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>revert preference settings for title color</title>
<updated>2020-11-04T22:51:55Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-11-04T22:29:48Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=be3190db8a14fc51d88c65f5359b9b7787acd2a7'/>
<id>urn:sha1:be3190db8a14fc51d88c65f5359b9b7787acd2a7</id>
<content type='text'>
Because of subsequent changes there is no clean way to just revert the changes
introduced in commit 8b36cf1051 ("desktop: offer different colors for info tab
titles"), so this manually removes the parts we don't need anymore.

This also restores a tooltip value that was inadvertantly removed in that
commit.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>desktop: offer different colors for info tab titles</title>
<updated>2020-11-04T07:08:39Z</updated>
<author>
<name>willemferguson</name>
<email>willemferguson@zoology.up.ac.za</email>
</author>
<published>2020-11-01T18:43:54Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8b36cf10518c54d76134686a3e079bbde176022b'/>
<id>urn:sha1:8b36cf10518c54d76134686a3e079bbde176022b</id>
<content type='text'>
Add a preference option to set the color of the text on the information tab to
either MediumBlue, LightBlue or Black. The last two of these colors are meant
to enable areadable font contrast on displays with dark mode.
The choice is saved with the other preferences.

[Dirk Hohndel: this isn't really about dark mode, so changed many of the types
	       and variable names, changed the user visible texts, and
               addressed some whitespace issues]

Signed-off-by: willemferguson &lt;willemferguson@zoology.up.ac.za&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>desktop: remove user survey</title>
<updated>2020-04-19T21:27:54Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-04-19T19:39:59Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ad66297cfd843199f39e3a231cb8311652ea183c'/>
<id>urn:sha1:ad66297cfd843199f39e3a231cb8311652ea183c</id>
<content type='text'>
We have never made good use of the results. Let's just remove it.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>cleanup: don't call uiLanguage() in qPref::loadSync()</title>
<updated>2020-03-22T19:01:09Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-03-22T15:01:34Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=621d00d8919d9ca07082fdf3dfb8118a1345b29d'/>
<id>urn:sha1:621d00d8919d9ca07082fdf3dfb8118a1345b29d</id>
<content type='text'>
uiLanguage() initializes the language fields from the preferences
values. It is unclear why this function is called in qPref::loadSync()
*before* the fields are loaded from disk. It can only initialize to
the default values anyway. After qPref::loadSync() uiLanguage()
is called again so that everything can be initialized with the
correct perferences values.

Remove the first call. If things break, let's fix them in a sensible
way.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
</feed>
