diff options
author | Colin Walters <walters@src.gnome.org> | 2009-02-02 16:31:06 +0000 |
---|---|---|
committer | Colin Walters <walters@src.gnome.org> | 2009-02-02 16:31:06 +0000 |
commit | e165360bf91fbd34507e84cffc9283b8b171401b (patch) | |
tree | 765f0e4db4fc104f724b61aba721cfdee5030f5d /ChangeLog | |
parent | 34c6fe51cd8d669d95aef52bda9abbc38257bca9 (diff) | |
download | gobject-introspection-e165360bf91fbd34507e84cffc9283b8b171401b.tar.gz |
Bug 569408, Bug 568680 - Scanner misses fields (at least in GObject.Object)
The scanner misses all fields of the GObject struct -- there
are no <field> children of the <class> element for GObject in the GIR. This of
course yields wrong field offsets for all derived objects.
svn path=/trunk/; revision=1079
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -1,5 +1,32 @@ 2009-02-02 Andreas Rottmann <a.rottmann@gmx.at> + Bug 569408 – Scanner doesn't handle arbitrary typedefs correctly + + * giscanner/glibtransformer.py (GLibTransformer._create_gobject): + Treat GInitiallyUnowned specially. + + Bug 568680 – Scanner misses fields (at least in GObject.Object) + + * girepository/giroffsets.c (compute_struct_field_offsets): Fix + handling of callbacks (a callback member clobbered the size + computed so far). + + * giscanner/transformer.py (Transformer._create_compound): Use + the (empty) compound created by a typedef if present; this means + that fields will no longer get lost. + + * giscanner/transformer.py (Transformer._create_compound): New + method, contains logic common to _create_union and _create_struct. + (Transformer._create_struct, Transformer._create_union): Rewritten + in terms of _create_compound. + + * gir/GObject-2.0.xpath: Some new assertations of the presence + GObject fields. + * tests/offsets/Makefile.am, tests/offsets/offsets.h: Added test + for object field offsets. + + 2009-02-02 Andreas Rottmann <a.rottmann@gmx.at> + Bug 563469 – Arrays not treated correctly in struct offset calculation * tests/offsets/offsets.h (OffsetsArray): New struct, containing a |