<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git, branch v2.0</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v2.0</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v2.0'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2012-10-05T20:26:55Z</updated>
<entry>
<title>Turn menu and button images on regardless of OS settings.</title>
<updated>2012-10-05T20:26:55Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2012-09-29T23:13:50Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b4c11a7ed3806c7ac30666676ffe5640d6c07bca'/>
<id>urn:sha1:b4c11a7ed3806c7ac30666676ffe5640d6c07bca</id>
<content type='text'>
Right now the menu and button images are a distribution choice - some
have them on, some have them off. I kinda like them and think that even on
OSs that have them off by default this doesn't look out of place (as other
apps clearly do the same).

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Added unicode support for the configuration entries on Windows</title>
<updated>2012-10-05T14:44:54Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2012-10-04T20:57:06Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=3e7780e7cd98549c40ef3e95faf002120a212997'/>
<id>urn:sha1:3e7780e7cd98549c40ef3e95faf002120a212997</id>
<content type='text'>
windows.c:

Windows's registry (which is technically a filesystem) uses UTF-16
for its "keys". This forces us to convert each of our UTF-8 (GLib, GTK)
configuration entries if we want to store special characters. To do that
we use the RegQueryValueExW() and do some conversation around
the function call itself.

The opposite happens when we require a UTF-16 value to be read from the
registry and converted to UTF-8 in subsurface_set_conf().

An addition to this patch is a somehow expandable buffer in
windows.c: subsurface_get_conf(). We increase the size of the buffer
in chunks of 64 bytes, until RegQueryValueExW() is able to write to it
(as suggested by the WINAPI documentation).

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>Fixed some memory leaks related to string configuration entries</title>
<updated>2012-10-05T14:44:37Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2012-10-04T20:52:09Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b272fb8c3b7c552e4519d4e19af99d8139eaf733'/>
<id>urn:sha1:b272fb8c3b7c552e4519d4e19af99d8139eaf733</id>
<content type='text'>
Each time we retrieve a string configuration entry via
subsurface_get_conf(), all the multiplatform methods in linux.c,
macos.c, windows.c allocate memory for the returned value.

In gtk-gui.c, lets try to release the memory at:
default_dive_computer_vendor, default_dive_computer_product, divelist_font
before assigning a new address to these pointers.

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>Provide a method to use unicode command line arguments on Windows</title>
<updated>2012-10-04T10:12:19Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2012-10-04T00:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f928be5061744bb38c3aff8ea41dbd0c42851cbc'/>
<id>urn:sha1:f928be5061744bb38c3aff8ea41dbd0c42851cbc</id>
<content type='text'>
For unicode command line characters Windows uses UTF-16, while Glib
and GTK use UTF-8. To solve that we retrieve the command line
via __wgetmainargs() and use g_utf16_to_utf8() to convert each argument.

The used method should support wildcards passed as arguments
(e.g. *.xml).

Two new, OS abstracted functions appear in linux.c (NOP), macos.c (NOP),
windows.c:

subsurface_command_line_init(...)
subsurface_command_line_exit(...)

which are being called in main()

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>Force subsurface.sh on Mac to use bash</title>
<updated>2012-10-04T10:07:22Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2012-10-04T10:07:22Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=3917e7b2f77048be01bc90ed5bc0bf6803bd8c59'/>
<id>urn:sha1:3917e7b2f77048be01bc90ed5bc0bf6803bd8c59</id>
<content type='text'>
This was in a patch set from Henrik but got dropped at first while we
explored a different solution. So now it comes back as maybe the most
trivial commit, ever :-)

Signed-off-by: Henrik Brautaset Aronsen &lt;subsurface@henrik.synth.no&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Add readme file for MacOSX package</title>
<updated>2012-10-04T10:01:27Z</updated>
<author>
<name>Henrik Brautaset Aronsen</name>
<email>subsurface@henrik.synth.no</email>
</author>
<published>2012-10-04T09:47:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=29e19cdfb712898314bc9a7143708d7ce71ab581'/>
<id>urn:sha1:29e19cdfb712898314bc9a7143708d7ce71ab581</id>
<content type='text'>
There are a couple of gothas on MacOSX involving GateKeeper on
Mountain Lion, and dialogues that sometimes doesn't pop up.  This
file explains that.  The file should be included in the DMG, but that's
for a different commit.

[Dirk Hohndel: fix whitespace and some rephrasing]

Signed-off-by: Henrik Brautaset Aronsen &lt;subsurface@henrik.synth.no&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Use GLib's g_fopen() and g_open() when working with files</title>
<updated>2012-10-04T09:43:10Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2012-10-03T14:29:01Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=4f18f83ce9a46c58720e0ed65074bd60f92b0e29'/>
<id>urn:sha1:4f18f83ce9a46c58720e0ed65074bd60f92b0e29</id>
<content type='text'>
On Windows, the GLib wrappers for fopen() and open() deal with the UTF-8
format used for file names when we have to open or save a file with
unicode characters in its name.

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>More fixes to MacOS bundle file and README</title>
<updated>2012-10-02T19:13:19Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2012-10-02T19:13:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f3b9a37fb2e853717723ca98d07101201a328518'/>
<id>urn:sha1:f3b9a37fb2e853717723ca98d07101201a328518</id>
<content type='text'>
This still seems to fail to open the icon in the About screen in some
cases, but we don't quite understand why...

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Fix typos for MacOSX packaging scripts</title>
<updated>2012-10-02T18:12:28Z</updated>
<author>
<name>Henrik Brautaset Aronsen</name>
<email>subsurface@henrik.synth.no</email>
</author>
<published>2012-10-02T08:27:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=eba4b867880c99fc25fdca615af92ae6f909ed8d'/>
<id>urn:sha1:eba4b867880c99fc25fdca615af92ae6f909ed8d</id>
<content type='text'>
Fixed a couple of typos.

[Dirk Hohndel:	I took the typo fixes, but not the change of shell used;
		rewrote the commit message accordingly]

Signed-off-by: Henrik Brautaset Aronsen &lt;subsurface@henrik.synth.no&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Rename Import XML File menu entry</title>
<updated>2012-10-02T18:11:21Z</updated>
<author>
<name>Henrik Brautaset Aronsen</name>
<email>subsurface@henrik.synth.no</email>
</author>
<published>2012-10-02T09:40:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=fec749c1b444a7b9af62e51ecee09dad90e2136b'/>
<id>urn:sha1:fec749c1b444a7b9af62e51ecee09dad90e2136b</id>
<content type='text'>
Renamed to "Import XML File(s)", since we can import more than one file.

H

From 8f9b11d940d903316dcf4d023e327f365e4f4ccb Mon Sep 17 00:00:00 2001
From: Henrik Brautaset Aronsen &lt;subsurface@henrik.synth.no&gt;
Date: Tue, 2 Oct 2012 11:38:56 +0200
Subject: [PATCH] Rename Import XML File menu entry

Renamed to "Import XML File(s)", since we can import more than one file.

Signed-off-by: Henrik Brautaset Aronsen &lt;subsurface@henrik.synth.no&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
