summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorColin Walters <walters@src.gnome.org>2009-02-02 16:31:02 +0000
committerColin Walters <walters@src.gnome.org>2009-02-02 16:31:02 +0000
commit34c6fe51cd8d669d95aef52bda9abbc38257bca9 (patch)
tree3785e49132f0f2cc0e536d3a677da746f56ba85a /ChangeLog
parentf9a260e02e9921149d52622778ae7c489a5fa257 (diff)
Bug 563469 – Arrays not treated correctly in struct offset calculation
Arrays are currently not handled specially, and hence treated as pointers in giroffsets.c:get_field_size_alignment(), which is (obviously) wrong. svn path=/trunk/; revision=1078
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog21
1 files changed, 20 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e3a418c..8f1b793 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,23 @@
-2009-01-28 Johan Bilien <jobi@via.ecp.fr>
+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
+ bunch of arrays.
+
+ * tests/offsets/gen-gitestoffsets (FIELD_RE): Handle arrays.
+
+ * girepository/giroffsets.c (get_interface_size_alignment):
+ Refactored to make it more general, now takes a GIrNodeType*
+ instead of a GIrNodeField*, plus an additional 'who' parameter
+ that denotes what the size/alignment is calculated for.
+ (get_type_size_alignment): New function, refactored version of
+ get_field_size_alignment().
+ (get_field_size_alignment): Implemented in terms of
+ get_type_size_alignment().
+ (get_type_size_alignment): Handle array types correctly.
+
+ 2009-01-28 Johan Bilien <jobi@via.ecp.fr>
* tests/scanner/annotation-1.0-expected.gir: add missing
with_voidp