<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/dbus-python.git/_dbus_bindings/string.c, branch dbus-python-0.83.2</title>
<subtitle>gitlab.freedesktop.org: dbus/dbus-python.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/'/>
<entry>
<title>fd.o #23831: make sure to ref types passed to PyModule_AddObject</title>
<updated>2010-12-02T17:27:34+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@debian.org</email>
</author>
<published>2010-12-02T17:27:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=d3f57baf2a9e5e26e2365313abd2890239b6572a'/>
<id>d3f57baf2a9e5e26e2365313abd2890239b6572a</id>
<content type='text'>
This avoids these static types wrongly being deallocated. Python
implements static types as having one initial reference, which is never
meant to be released, but if you get your refcounting wrong they'll be
"deallocated" (causing a crash) during Py_Finalize.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids these static types wrongly being deallocated. Python
implements static types as having one initial reference, which is never
meant to be released, but if you get your refcounting wrong they'll be
"deallocated" (causing a crash) during Py_Finalize.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use Py_CLEAR for greater robustness</title>
<updated>2010-12-02T16:31:07+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@debian.org</email>
</author>
<published>2010-12-02T16:31:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=56ad64cd14e52b479489549f76343f19e3842139'/>
<id>56ad64cd14e52b479489549f76343f19e3842139</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Relicense Collabora code under the MIT/X11 license proposed for dbus core, removing all references to the LGPL as a result</title>
<updated>2007-09-27T12:57:49+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2007-09-27T12:57:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=d8c154284ca464f493c81a4d3b5a37890d68acec'/>
<id>d8c154284ca464f493c81a4d3b5a37890d68acec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Actually commit the numerous copyright-statement changes.</title>
<updated>2007-02-07T20:46:17+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2007-02-07T20:46:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=87dc3d5807ba12c6396dbcb1acdebb8f453e8fcd'/>
<id>87dc3d5807ba12c6396dbcb1acdebb8f453e8fcd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix memory leak where Struct, _LongBase, _StrBase, String leaked their __dict__ on deallocation.</title>
<updated>2007-02-07T12:50:48+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2007-02-07T12:50:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=5135a35677e25c473db0e8a463f97c15359c9e34'/>
<id>5135a35677e25c473db0e8a463f97c15359c9e34</id>
<content type='text'>
* Use a fixed-size struct for String (unicode objects are in fact fixed-size)
  and store its variant_level that way.
* Don't store Struct, _LongBase, _StrBase variant_level and Struct signature
  in a __dict__, but instead have a global dict mapping object IDs to variant
  levels, and a global dict mapping Struct IDs to signatures. This is a bit
  strange, but easier than correctly freeing the __dict__ (which is stored
  at the end of a variable-length struct, so somewhat hard to get at).
* With this change, allocating objects in a loop no longer leaks memory, and
  neither does the test case supplied by Luka Renko.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use a fixed-size struct for String (unicode objects are in fact fixed-size)
  and store its variant_level that way.
* Don't store Struct, _LongBase, _StrBase variant_level and Struct signature
  in a __dict__, but instead have a global dict mapping object IDs to variant
  levels, and a global dict mapping Struct IDs to signatures. This is a bit
  strange, but easier than correctly freeing the __dict__ (which is stored
  at the end of a variable-length struct, so somewhat hard to get at).
* With this change, allocating objects in a loop no longer leaks memory, and
  neither does the test case supplied by Luka Renko.
</pre>
</div>
</content>
</entry>
<entry>
<title>Close a couple of reference leaks in String (there's another somewhere, but I can't find it)</title>
<updated>2007-02-05T16:21:13+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2007-02-05T16:21:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=870227fafd9c976a0354b02aff6052ba24234e91'/>
<id>870227fafd9c976a0354b02aff6052ba24234e91</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dbus, _dbus_bindings, _dbus_glib_bindings: remove accidentally duplicated lines in license statement</title>
<updated>2007-01-25T12:38:53+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2007-01-25T12:38:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=41694b4df5c1dbf745e5ddd443571d5cb67d74b3'/>
<id>41694b4df5c1dbf745e5ddd443571d5cb67d74b3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bytes.c, string.c: Don't mention get_object_by_unique_name in docstrings, it no longer exists</title>
<updated>2007-01-16T17:23:25+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2007-01-16T17:23:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=597d278a3973ad411e345ab8938adf6c582da42d'/>
<id>597d278a3973ad411e345ab8938adf6c582da42d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve docstrings for String and UTF8String explaining how to get UTF8String from the API.</title>
<updated>2007-01-09T14:53:55+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2007-01-09T14:53:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=ee11236f45c9aa354136e6e5d2ec1c4490bc6657'/>
<id>ee11236f45c9aa354136e6e5d2ec1c4490bc6657</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve various type docstrings</title>
<updated>2006-12-21T19:51:54+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2006-12-21T19:51:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=5b8c9eb452b78ed56b395193f6989ad87eae111b'/>
<id>5b8c9eb452b78ed56b395193f6989ad87eae111b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
