Low-level core library that forms the basis for projects such as GTK+ and GNOME.
Go to file
David Zeuthen c57c9efe6f Attribute bug-fixes
Rectify an assumption that nodes are ordered according to offset
- since this assumption was not true, attributes ended up being not
ordered either and the bsearch() when looking up attributes failed
mysteriously. Instead of making such assumptions, simply sort the
list of nodes we want to extract attributes from.

The total attribute size computation was wrong as we didn't properly
descend into subnodes. This resulted in memory access violations
when writing the typelib (because not enough data was allocated).
Instead of having a separate function for this, just include the
attribute size in the existing function.

See https://bugzilla.gnome.org/show_bug.cgi?id=571548

Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-06-24 11:53:18 -04:00
gdump.c [girepository] Remove trailing whitespace 2010-03-24 15:02:05 -03:00
giarginfo.c [docs] Add struct hierarchy to each section 2010-06-11 20:16:00 -03:00
giarginfo.h [girepository] Move GIArgInfo out of ginfo.ch 2010-06-05 12:40:34 -03:00
gibaseinfo.c [docs] Add struct hierarchy to each section 2010-06-11 20:16:00 -03:00
gibaseinfo.h Remove left-over comments 2010-06-06 22:47:21 -03:00
gicallableinfo.c [GICallableInfo] Fix a typo in the doc 2010-06-11 20:16:29 -03:00
gicallableinfo.h [girepository] Fix a couple of typos 2010-06-05 12:40:34 -03:00
giconstantinfo.c [docs] Add struct hierarchy to each section 2010-06-11 20:16:00 -03:00
giconstantinfo.h [girepository] Move the rest out of ginfo.ch 2010-06-06 19:54:53 -03:00
gienuminfo.c [docs] Add struct hierarchy to each section 2010-06-11 20:16:00 -03:00
gienuminfo.h [girepository] Move GIEnumInfo out of ginfo.ch 2010-06-06 13:09:08 -03:00
gierrordomaininfo.c [docs] Add struct hierarchy to each section 2010-06-11 20:16:00 -03:00
gierrordomaininfo.h [girepository] Move GIErrorDomainInfo out of ginfo.ch 2010-06-06 13:01:26 -03:00
gifieldinfo.c [docs] Add struct hierarchy to each section 2010-06-11 20:16:00 -03:00
gifieldinfo.h [gfield] Move over field set/get impl. 2010-06-06 13:27:12 -03:00
gifunctioninfo.c [docs] Add struct hierarchy to each section 2010-06-11 20:16:00 -03:00
gifunctioninfo.h [gifunction.h] Move GIFunctionInfoFlags to gitypes.h 2010-06-06 19:55:00 -03:00
giinterfaceinfo.c [GIVInterfaceInfo] Document and check args 2010-06-12 11:14:36 -03:00
giinterfaceinfo.h [girepository] Move the rest out of ginfo.ch 2010-06-06 19:54:53 -03:00
ginvoke.c [gifunctioninfo] Move over invoke function 2010-06-06 13:27:16 -03:00
giobjectinfo.c [GIObjectInfo] Fix a typo and document a func 2010-06-12 11:14:22 -03:00
giobjectinfo.h Remove left-over comments 2010-06-06 22:47:21 -03:00
gipropertyinfo.c [g_property_info_get_flags] Document properly 2010-06-11 21:06:02 -03:00
gipropertyinfo.h Support the (transfer) annotation for properties. 2010-06-08 17:35:12 +02:00
giregisteredtypeinfo.c [docs] Add struct hierarchy to each section 2010-06-11 20:16:00 -03:00
giregisteredtypeinfo.h [giregisteredinfo] A Boxed is also a registered type 2010-06-22 10:17:02 -03:00
girepository-private.h [girepository] Kill girffi-private.h 2010-06-06 23:22:57 -03:00
girepository.c [girepository] Move GICallableInfo out of ginfo.ch 2010-06-05 12:40:28 -03:00
girepository.h [girepository] Kill girffi-private.h 2010-06-06 23:22:57 -03:00
girffi.c [girepository] Kill girffi-private.h 2010-06-06 23:22:57 -03:00
girffi.h [girepository] Document most of the structs 2010-05-18 18:11:58 -03:00
girmodule.c Attribute bug-fixes 2010-06-24 11:53:18 -04:00
girmodule.h [gtypelib.ch] Rename to gitypelib.ch 2010-05-31 17:47:50 -03:00
girnode.c Attribute bug-fixes 2010-06-24 11:53:18 -04:00
girnode.h Attribute bug-fixes 2010-06-24 11:53:18 -04:00
giroffsets.c [girepository] Kill girffi-private.h 2010-06-06 23:22:57 -03:00
girparser.c [girparser] Remove backtrace() 2010-06-22 18:03:36 -04:00
girparser.h Support introspectable=no attribute, add warnings framework 2010-06-17 13:05:59 -04:00
girwriter.c [girwriter] Use GSlice 2010-06-12 11:23:21 -03:00
girwriter.h [girwriter] Refactor out of generate.c 2010-06-07 10:52:43 -03:00
gisignalinfo.c [docs] Add struct hierarchy to each section 2010-06-11 20:16:00 -03:00
gisignalinfo.h [girepository] Move the rest out of ginfo.ch 2010-06-06 19:54:53 -03:00
gistructinfo.c [girepository] Don't include girffi.h everywhere 2010-06-06 23:17:46 -03:00
gistructinfo.h [girepository] Move the rest out of ginfo.ch 2010-06-06 19:54:53 -03:00
gitypeinfo.c [docs] Add struct hierarchy to each section 2010-06-11 20:16:00 -03:00
gitypeinfo.h [girepository] Move GITypeInfo out of ginfo.ch 2010-06-06 12:58:28 -03:00
gitypelib-internal.h [gitypelib-internal.h] Add missing <public> 2010-06-11 21:05:42 -03:00
gitypelib.c Allow for methods in GLib 2010-06-09 08:38:04 -03:00
gitypelib.h [girepository] Fix include path 2010-06-01 10:15:12 -03:00
gitypes.h Support the (transfer) annotation for properties. 2010-06-08 17:35:12 +02:00
giunioninfo.c [girepository] Don't include girffi.h everywhere 2010-06-06 23:17:46 -03:00
giunioninfo.h [girepository] Move the rest out of ginfo.ch 2010-06-06 19:54:53 -03:00
givfuncinfo.c [docs] Add struct hierarchy to each section 2010-06-11 20:16:00 -03:00
givfuncinfo.h [girepository] Move the rest out of ginfo.ch 2010-06-06 19:54:53 -03:00
glib-compat.h Substitute deprecated Glib symbol: g_mapped_file_free 2009-12-15 11:06:50 -02:00
Makefile.am [girwriter] Refactor out of generate.c 2010-06-07 10:52:43 -03:00