<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git, branch v3.0.2</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v3.0.2</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v3.0.2'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2013-03-04T08:26:32Z</updated>
<entry>
<title>Improve pane position saving code</title>
<updated>2013-03-04T08:26:32Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@lmu.de</email>
</author>
<published>2013-03-04T08:15:46Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=c13a10986e3fbdd8269db5ebfc7a33ad5326d2cb'/>
<id>urn:sha1:c13a10986e3fbdd8269db5ebfc7a33ad5326d2cb</id>
<content type='text'>
We should test for being in PANE_THREE mode in save_pane_position() and
replace the if()'s testing against window geometry. This eliminates some
code duplication and, more importantly, save_pane_position() is also
called from save_window_geometry() whose calling pattern is not obvious.

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>Update README, ReleaseNotes and Makefile for 3.0.2</title>
<updated>2013-03-04T07:49:32Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2013-03-04T07:47:58Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=a5a3e0a72ea9f0108a8387318c82b43d06856765'/>
<id>urn:sha1:a5a3e0a72ea9f0108a8387318c82b43d06856765</id>
<content type='text'>
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Saving individual dives should not change the exiting filename</title>
<updated>2013-03-04T07:31:24Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2013-03-04T07:31:24Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=1a69a845e1d5a6d3a4070eebd9a29656726455e9'/>
<id>urn:sha1:1a69a845e1d5a6d3a4070eebd9a29656726455e9</id>
<content type='text'>
The current data file is not the same as the file to which individual
dives were saved.

Reported-by: Jan Schubert &lt;Jan.Schubert@GMX.li&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Fix scaling problem in scrolled edit dialog</title>
<updated>2013-03-04T06:30:55Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2013-03-04T06:30:55Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=280405d9b679fd02d32335a0b0bddef979afc0f8'/>
<id>urn:sha1:280405d9b679fd02d32335a0b0bddef979afc0f8</id>
<content type='text'>
With this change resizing the dive edit dialog once again has its content
resize as well. So now we have the best of both worlds: if the content
grows we add scroll bars (so things stay usable on small screens), yet
when we resize the window, the notes area gets nice and big (which is
great on big screens).

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Only store pane positions if we currently display "View Three"</title>
<updated>2013-03-04T05:07:09Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2013-03-04T05:07:09Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=d8811e2e4026297fb6f48d831deb3728b562bfb0'/>
<id>urn:sha1:d8811e2e4026297fb6f48d831deb3728b562bfb0</id>
<content type='text'>
We tried to detect this without needing a global variable but that clearly
was too dependent on decorations that the window manager might add. This
code works reliably.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Try to capture some more potential buffer overflows caused by localization</title>
<updated>2013-03-04T04:18:23Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2013-03-04T01:53:43Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=01291929582ac573d7efd7fba3dbe061c9d70f9a'/>
<id>urn:sha1:01291929582ac573d7efd7fba3dbe061c9d70f9a</id>
<content type='text'>
A couple of these could clearly cause a crash just like the one fixed by
commit 00865f5a1e1a ("equipment.c: Fix potential buffer overflow in
size_data_funct()").

One would append user input to fixed length buffer without checking.

We were hardcoding the (correct) max path length in macos.c - replaced by
the actual OS constant.

But the vast majority are just extremely generous guesses how long
localized strings could possibly be.

Yes, this commit is likely leaning towards overkill. But we have now been
bitten by buffer overflow crashes twice that were caused by localization,
so I tried to go through all of the code and identify every possible
buffer that could be affected by this.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Extending user manual</title>
<updated>2013-03-04T00:01:49Z</updated>
<author>
<name>Jan Schubert</name>
<email>Jan.Schubert@GMX.li</email>
</author>
<published>2013-03-03T23:56:52Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=93eeb03d67baac26da4153a163bf35567b106524'/>
<id>urn:sha1:93eeb03d67baac26da4153a163bf35567b106524</id>
<content type='text'>
Adding UDDF support for DR5, kenozooid and in general, fixed some things, updated to 3.0.2

Signed-off-by: Jan Schubert &lt;Jan.Schubert@GMX.li&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>equipment.c: Fix potential buffer overflow in size_data_funct()</title>
<updated>2013-03-03T23:33:24Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2013-03-03T22:12:10Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b0df54071e7731b7f7a4b1df481200865f5a1e1a'/>
<id>urn:sha1:b0df54071e7731b7f7a4b1df481200865f5a1e1a</id>
<content type='text'>
strcpy() with buffer[10], could overflow on most languages.

Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Fix pane position bug</title>
<updated>2013-03-03T19:56:51Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2013-03-03T19:30:04Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=9fcb28a6f5f5b9c3dcc6a6f40760cbe18f31f76f'/>
<id>urn:sha1:9fcb28a6f5f5b9c3dcc6a6f40760cbe18f31f76f</id>
<content type='text'>
Argh. Maxint is not at the bottom or at the right. We have to check
against the size of the window to determine we are not saving a maximized
position.  Here is a fix.

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>Fix ESC key handling in Save dialog.</title>
<updated>2013-03-03T18:45:11Z</updated>
<author>
<name>Sergey Starosek</name>
<email>sergey.starosek@gmail.com</email>
</author>
<published>2013-03-03T09:32:56Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0e7f0cc1ed98633ae3e8b855fc7a5051d3e37d42'/>
<id>urn:sha1:0e7f0cc1ed98633ae3e8b855fc7a5051d3e37d42</id>
<content type='text'>
Closing unsaved dive raises Save dialog with Yes/No/Cancel buttons.
Pressing ESC dismisses dialog without saving changes.

This commit adds GTK_RESPONSE_DELETE_EVENT response code check in order
to fix that behavior.

Reported-by: Jan Schubert &lt;Jan.Schubert@GMX.li&gt;
Signed-off-by: Sergey Starosek &lt;sergey.starosek@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
