summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAndreas Rottmann <a.rottmann@gmx.at>2009-01-03 14:36:59 +0000
committerJohan Dahlin <johan@src.gnome.org>2009-01-03 14:36:59 +0000
commit7acaf91d3e2c3debd7dc398d71948362e9ff12c7 (patch)
tree05ffe83486051476ccbd3deccd61638813b12825 /ChangeLog
parent5a4afe2a77d0ff7d9fea13dd93c3304a6ca993de (diff)
downloadgobject-introspection-7acaf91d3e2c3debd7dc398d71948362e9ff12c7.tar.gz
Bug 563469 – Arrays not treated correctly in struct offset calculation
2009-01-03 Andreas Rottmann <a.rottmann@gmx.at> Bug 563469 – Arrays not treated correctly in struct offset calculation * tests/scanner/foo.h (FooObject): Added field `some_int'. * tests/scanner/foo-1.0-expected.gir, * tests/scanner/foo-1.0-expected.tgir: Adapted. * giscanner/glibtransformer.py (GLibTransformer._create_gobject): carry over object fields from original (struct) node. (GLibTransformer._pair_class_struct): Don't add fields of the class struct to to the node for the class, they should go under a nested <record> element (see also Bug 551738). This is needed as otherwise offset calculation would not work, as the instance fields are mingled with the class fields without a way to distinguish them. svn path=/trunk/; revision=1000
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d539c583..ab812fd4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2009-01-03 Andreas Rottmann <a.rottmann@gmx.at>
+
+ Bug 563469 – Arrays not treated correctly in struct offset calculation
+
+ * tests/scanner/foo.h (FooObject): Added field `some_int'.
+ * tests/scanner/foo-1.0-expected.gir,
+ * tests/scanner/foo-1.0-expected.tgir: Adapted.
+
+ * giscanner/glibtransformer.py (GLibTransformer._create_gobject):
+ carry over object fields from original (struct) node.
+ (GLibTransformer._pair_class_struct): Don't add fields of the
+ class struct to to the node for the class, they should go under a
+ nested <record> element (see also Bug 551738). This is needed as
+ otherwise offset calculation would not work, as the instance
+ fields are mingled with the class fields without a way to
+ distinguish them.
+
2009-01-03 Johan Dahlin <jdahlin@async.com.br>
* misc/pep8.py: