summaryrefslogtreecommitdiff
path: root/_dbus_bindings/string.c
Commit message (Collapse)AuthorAgeFilesLines
* Relicense Collabora code under the MIT/X11 license proposed for dbus core, ↵Simon McVittie2007-09-271-15/+18
| | | | removing all references to the LGPL as a result
* Actually commit the numerous copyright-statement changes.Simon McVittie2007-02-071-8/+8
|
* Fix memory leak where Struct, _LongBase, _StrBase, String leaked their ↵Simon McVittie2007-02-071-44/+31
| | | | | | | | | | | | | | __dict__ on deallocation. * 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.
* Close a couple of reference leaks in String (there's another somewhere, but ↵Simon McVittie2007-02-051-8/+22
| | | | I can't find it)
* dbus, _dbus_bindings, _dbus_glib_bindings: remove accidentally duplicated ↵Simon McVittie2007-01-251-2/+0
| | | | lines in license statement
* bytes.c, string.c: Don't mention get_object_by_unique_name in docstrings, it ↵Simon McVittie2007-01-161-1/+1
| | | | no longer exists
* Improve docstrings for String and UTF8String explaining how to get ↵Simon McVittie2007-01-091-0/+26
| | | | UTF8String from the API.
* Improve various type docstringsSimon McVittie2006-12-211-10/+15
|
* Separate out remaining types (abstract, bytes, containers, int, float, ↵Simon McVittie2006-12-111-0/+347
signature, string) into separate translation units