platform/upstream/gobject-introspection.git
13 years agoconfigure.ac: Bump version to 1.29.15 to correspond with glib
Colin Walters [Mon, 25 Jul 2011 20:16:28 +0000 (16:16 -0400)]
configure.ac: Bump version to 1.29.15 to correspond with glib

13 years ago.gitignore: Cut down to only ./autogen.sh cruft
Colin Walters [Wed, 27 Jul 2011 12:43:57 +0000 (08:43 -0400)]
.gitignore: Cut down to only ./autogen.sh cruft

Since we encourage srcdir != builddir, no need to maintain .gitignore

13 years agoKill off config.py
Colin Walters [Wed, 27 Jul 2011 13:11:02 +0000 (09:11 -0400)]
Kill off config.py

Generating Python source code is problematic for srcdir != builddir;
steal a the trick of putting global data in __builtins__ from jhbuild.

13 years agobuild: Fix srcdir != builddir for flex/bison
Colin Walters [Wed, 27 Jul 2011 12:50:06 +0000 (08:50 -0400)]
build: Fix srcdir != builddir for flex/bison

Build artifacts go in the builddir, so drop the giscanner/ prefix.

13 years agobuild: Fix pre-commit test for srcdir != builddir
Colin Walters [Mon, 25 Jul 2011 21:24:08 +0000 (17:24 -0400)]
build: Fix pre-commit test for srcdir != builddir

13 years agobuild: rework prepare-minor-release bits to handle srcdir != builddir
Colin Walters [Mon, 25 Jul 2011 21:20:36 +0000 (17:20 -0400)]
build: rework prepare-minor-release bits to handle srcdir != builddir

13 years agobuild: Fix gtk-doc srcdir != builddir
Colin Walters [Mon, 25 Jul 2011 20:51:55 +0000 (16:51 -0400)]
build: Fix gtk-doc srcdir != builddir

gtk-doc apparently lies about the path being relative...fix it by just
using $(srcdir).

13 years agoUpdate annotations for glib git
Colin Walters [Fri, 22 Jul 2011 21:53:34 +0000 (17:53 -0400)]
Update annotations for glib git

13 years agoupdate-glib-annotations.py: Attempt to make work for srcdir!=builddir
Colin Walters [Fri, 22 Jul 2011 21:51:38 +0000 (17:51 -0400)]
update-glib-annotations.py: Attempt to make work for srcdir!=builddir

This doesn't quite work yet because we need to know from glib which
files are in srcdir and which are in builddir.

Also add some debugging prints.

13 years agogiscanner: Make comments starting with tab characters work
Jasper St. Pierre [Fri, 22 Jul 2011 20:46:10 +0000 (16:46 -0400)]
giscanner: Make comments starting with tab characters work

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

13 years agogiscanner: mark GAsyncReadyCallbacks as allow-none
Dan Winship [Wed, 29 Jun 2011 12:41:41 +0000 (08:41 -0400)]
giscanner: mark GAsyncReadyCallbacks as allow-none

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

13 years agodumper: Flush stdout after printing compilation messages
Colin Walters [Thu, 30 Jun 2011 20:43:24 +0000 (16:43 -0400)]
dumper: Flush stdout after printing compilation messages

This helps parallel builds make more sense.

13 years agodumper: Only make libtool silent if we were passed --silent
Colin Walters [Thu, 30 Jun 2011 15:27:01 +0000 (11:27 -0400)]
dumper: Only make libtool silent if we were passed --silent

13 years agoupdate-glib-annotations.py: Merge annotation extraction scripts
Colin Walters [Thu, 23 Jun 2011 22:41:28 +0000 (18:41 -0400)]
update-glib-annotations.py: Merge annotation extraction scripts

13 years agogiscanner: Support srcdir != builddir
Colin Walters [Thu, 23 Jun 2011 21:26:57 +0000 (17:26 -0400)]
giscanner: Support srcdir != builddir

__path__ modification trick from Johan Dahlin.

13 years agoRename ALIGN to GI_ALIGN to prevent redefining this macro on some platforms
Jasper Lievisse Adriaanse [Tue, 21 Jun 2011 11:44:56 +0000 (13:44 +0200)]
Rename ALIGN to GI_ALIGN to prevent redefining this macro on some platforms

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

13 years agoFree allocated ffi_types in g_callable_info_free_closure()
Giovanni Campagna [Mon, 20 Jun 2011 19:17:55 +0000 (21:17 +0200)]
Free allocated ffi_types in g_callable_info_free_closure()

g_callable_info_prepare_closure() allocates memory for the argument
types in the ffi_cif, so we need to free it.

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

13 years agoAdded marshalling tests for GPtrArray
Alex Eftimie [Fri, 10 Jun 2011 05:38:19 +0000 (08:38 +0300)]
Added marshalling tests for GPtrArray

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

13 years agogimarshallingtests: Fix and change byte array tests
Colin Walters [Fri, 17 Jun 2011 16:14:58 +0000 (12:14 -0400)]
gimarshallingtests: Fix and change byte array tests

gi_marshalling_tests_bytearray_full_return was broken; there
should be no g_strdup() going on here.

While we're at it, change the expected data to actually include
non-ASCII so we're testing something a bit more interesting.

13 years agoglib-2.0.c: Update from git 4476e22a14af93d375d3a9d8cd2ab8deedf669ad
Colin Walters [Fri, 17 Jun 2011 13:40:20 +0000 (09:40 -0400)]
glib-2.0.c: Update from git 4476e22a14af93d375d3a9d8cd2ab8deedf669ad

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

13 years agogimarshallingtests: Fix gi_marshalling_tests_init_function()
Colin Walters [Fri, 17 Jun 2011 13:20:33 +0000 (09:20 -0400)]
gimarshallingtests: Fix gi_marshalling_tests_init_function()

Array binds more tightly than deref.

13 years agogimarshallingtests: Add a test function that looks like gtk_init()
Colin Walters [Thu, 16 Jun 2011 22:03:29 +0000 (18:03 -0400)]
gimarshallingtests: Add a test function that looks like gtk_init()

13 years agogimarshallingtests: Remove gi_marshalling_tests_array_nested_in
Colin Walters [Thu, 16 Jun 2011 18:43:21 +0000 (14:43 -0400)]
gimarshallingtests: Remove gi_marshalling_tests_array_nested_in

We don't actually support nested container types in practice.

13 years agoconfigure: Post-release version bump
Colin Walters [Tue, 14 Jun 2011 02:09:31 +0000 (22:09 -0400)]
configure: Post-release version bump

13 years agoAdd tests for complex arrays as in arguments GOBJECT_INTROSPECTION_1_29_0
Giovanni Campagna [Thu, 12 May 2011 21:38:17 +0000 (23:38 +0200)]
Add tests for complex arrays as in arguments

Previously gjs supported only arrays of integers. Now that this
changed, we need tests to avoid regressions.

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

13 years agogimarshallingtests: add a few more array tests
Dan Winship [Thu, 2 Jun 2011 18:57:58 +0000 (14:57 -0400)]
gimarshallingtests: add a few more array tests

Add some tests with parameters on either side of an out array length
parameter, to ensure that bindings that omit the length parameter
don't mess up any other parameters.

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

13 years agoResync annotations from GLib commit 9d53e2bc4e806f8b0e142a1ed73c5f25e0dd2347
Colin Walters [Fri, 10 Jun 2011 16:58:39 +0000 (12:58 -0400)]
Resync annotations from GLib commit 9d53e2bc4e806f8b0e142a1ed73c5f25e0dd2347

13 years agoUpdate glib-2.0 from glib git
Colin Walters [Thu, 9 Jun 2011 20:15:12 +0000 (16:15 -0400)]
Update glib-2.0 from glib git

Using commit 4db88bd6e2957893b9f232527cc46bda799f2027

13 years agoconfigure: Require latest glib
Colin Walters [Thu, 9 Jun 2011 20:22:24 +0000 (16:22 -0400)]
configure: Require latest glib

13 years agoUpdate gio-2.0.c and gobject-2.0.c from glib
Colin Walters [Thu, 9 Jun 2011 20:12:53 +0000 (16:12 -0400)]
Update gio-2.0.c and gobject-2.0.c from glib

Using commit 4db88bd6e2957893b9f232527cc46bda799f2027

13 years agoDon't use soon-to-be deprecated G_CONST_RETURN
Colin Walters [Thu, 9 Jun 2011 16:10:40 +0000 (12:10 -0400)]
Don't use soon-to-be deprecated G_CONST_RETURN

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

13 years agogdumpparser.py: Limit line length to 100
Colin Walters [Thu, 9 Jun 2011 16:05:18 +0000 (12:05 -0400)]
gdumpparser.py: Limit line length to 100

13 years agoRework how fundamental GObject types are introspected
Giovanni Campagna [Wed, 25 May 2011 17:26:49 +0000 (19:26 +0200)]
Rework how fundamental GObject types are introspected

Change the special code for handling GObject and GInitiallyUnowned
so that it exposes GParamSpec as a class, and it allows GVariant to
have a GType without using the deprecate g_variant_get_gtype.

It is a sort of ABI break, in that new typelibs won't work with
previous versions of libgirepository.

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

13 years agoFix accessing structure fields that are arrays
Giovanni Campagna [Sun, 5 Jun 2011 18:57:01 +0000 (20:57 +0200)]
Fix accessing structure fields that are arrays

We need to distinguish inline arrays inside structures, and arrays
that are pointers and annotations, and we can do it with
g_type_info_is_pointer(), setting it to FALSE for fixed size arrays.
As a side effect, (array fixed-size=N) on a pointer type has no longer
the expected result.

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

13 years agoupdate-glib-annotations.py: new script
Colin Walters [Tue, 7 Jun 2011 22:04:37 +0000 (18:04 -0400)]
update-glib-annotations.py: new script

13 years agomisc: rewrite extract-gio-sources.sh to use gio-public-headers.txt
Colin Walters [Tue, 7 Jun 2011 20:36:24 +0000 (16:36 -0400)]
misc: rewrite extract-gio-sources.sh to use gio-public-headers.txt

Rather than maintaining our own exclusion list, grab the text file
generated by commit ab0e9dbfa76e056f875e969c0d7b6e133ec75431 in glib.

Also it is now Python for sanity.

13 years agomisc: rewrite extract-gobject-sources.sh to use gobject-public-headers.txt
Colin Walters [Tue, 7 Jun 2011 20:28:05 +0000 (16:28 -0400)]
misc: rewrite extract-gobject-sources.sh to use gobject-public-headers.txt

Rather than maintaining our own exclusion list, grab the text file
generated by commit ab0e9dbfa76e056f875e969c0d7b6e133ec75431 in glib.

Also it is now Python for sanity.

13 years agoAssume only that an array is embedded in a struct if it's fixed size
Tomeu Vizoso [Mon, 6 Jun 2011 18:06:54 +0000 (20:06 +0200)]
Assume only that an array is embedded in a struct if it's fixed size

13 years agoAlways add a zero-terminated attribute when it cannot be implied
Giovanni Campagna [Wed, 1 Jun 2011 14:59:17 +0000 (16:59 +0200)]
Always add a zero-terminated attribute when it cannot be implied

g-ir-compiler assumes that an array is zero terminated when the
attribute is absent and there is no other attribute (length and
fixed-size), but g-ir-scanner only added the attribute when it is 0.
This means that an explicit zero-terminated=1 annotation would have
had no effect.
Fix that and at the same time ensure that all other arrays are not
zero-terminated by default.

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

13 years agoAdd boxed types definition for GLib
Giovanni Campagna [Fri, 3 Jun 2011 23:10:42 +0000 (19:10 -0400)]
Add boxed types definition for GLib

Use the new glib-boxed.h header from gobject to pair structure
definitions with boxed types in the GLib namespace, improving the
introspection coverage and removing some hacks.

Some fixes from Colin Walters <walters@verbum.org>

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

13 years agoscanner: Support _get_gtype() as a GType creation suffix
Colin Walters [Fri, 3 Jun 2011 21:32:15 +0000 (17:32 -0400)]
scanner: Support _get_gtype() as a GType creation suffix

Based on a patch by Giovanni Campagna <gcampagna@src.gnome.org>

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

13 years agoUpdate expected GIR for commit e70cdbce955475915ea441bdbd45d02d825786f6
Colin Walters [Fri, 3 Jun 2011 20:52:50 +0000 (16:52 -0400)]
Update expected GIR for commit e70cdbce955475915ea441bdbd45d02d825786f6

13 years agoscanner: Parse GNUC expression statements
Colin Walters [Wed, 1 Jun 2011 22:29:35 +0000 (18:29 -0400)]
scanner: Parse GNUC expression statements

This is needed so we don't fail to parse gatomic.h from GLib.

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

13 years agoRegress: fix GVariant tests
Giovanni Campagna [Wed, 25 May 2011 18:32:33 +0000 (20:32 +0200)]
Regress: fix GVariant tests

Functions that return floating GVariants must be marked (transfer
none).

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

13 years agoRegress: Add GVariant tests
Colin Walters [Wed, 25 May 2011 15:47:38 +0000 (11:47 -0400)]
Regress: Add GVariant tests

13 years agogifieldinfo.c: Quiet some compiler warnings
Colin Walters [Mon, 23 May 2011 13:59:02 +0000 (09:59 -0400)]
gifieldinfo.c: Quiet some compiler warnings

13 years agoBug 650622: Wrong suffix for CAIRO_SHARED_LIBRARY on OSX
John Ralls [Thu, 19 May 2011 18:27:18 +0000 (11:27 -0700)]
Bug 650622: Wrong suffix for CAIRO_SHARED_LIBRARY on OSX

13 years agoAdd more coverage for recently added (skip) regress additions
David Zeuthen [Sat, 14 May 2011 00:40:17 +0000 (20:40 -0400)]
Add more coverage for recently added (skip) regress additions

Whilst doing the gjs patch, it turned out this was needed in order to
do a robust test suite - we really want to cover all bases here.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoMove recently added (skip) tests to the regress module
David Zeuthen [Fri, 13 May 2011 22:24:50 +0000 (18:24 -0400)]
Move recently added (skip) tests to the regress module

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoAdd Since: for g_arg_info_is_skip()
Colin Walters [Fri, 13 May 2011 18:23:05 +0000 (14:23 -0400)]
Add Since: for g_arg_info_is_skip()

13 years agoBump version to 1.29.0
Colin Walters [Fri, 13 May 2011 18:06:32 +0000 (14:06 -0400)]
Bump version to 1.29.0

This explicitly matches the GLib we're paired with, which is important
because the annotations need to be in sync.

However, we use a "1" major to show we're still not 100% stable.

13 years agoAdd support for the (skip) annotation on parameters or return values
David Zeuthen [Fri, 13 May 2011 16:20:05 +0000 (12:20 -0400)]
Add support for the (skip) annotation on parameters or return values

This was discussed in bug 649657.

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

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoAdd tests for returning zero-terminated arrays of non-strings
Giovanni Campagna [Thu, 12 May 2011 20:47:48 +0000 (22:47 +0200)]
Add tests for returning zero-terminated arrays of non-strings

gjs has always supported zero-terminated arrays of strings, and
nothing else. Now that this changed, we need to test it.

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

13 years agoGScannerParser: recognize character constants
Giovanni Campagna [Sun, 3 Apr 2011 21:13:09 +0000 (23:13 +0200)]
GScannerParser: recognize character constants

Some enumerations (like GVariantClass) use characters instead of
plain integers, so we need to recognize them.

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

13 years agogiscanner: read (array) and (element-type) annotations for fields
Giovanni Campagna [Thu, 21 Apr 2011 20:24:11 +0000 (22:24 +0200)]
giscanner: read (array) and (element-type) annotations for fields

This way fields are no longer limited to basic types, and can be
supported without accessor methods.

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

13 years agogio-2.0.c: copy in two annotations from glib
Dan Winship [Thu, 5 May 2011 19:24:59 +0000 (15:24 -0400)]
gio-2.0.c: copy in two annotations from glib

13 years agoUpdate expected gir for previous change GOBJECT_INTROSPECTION_0_10_8
Colin Walters [Thu, 5 May 2011 19:02:49 +0000 (15:02 -0400)]
Update expected gir for previous change

13 years agoAdd test function regress_test_struct_fixed_array_frob
Colin Walters [Wed, 4 May 2011 19:41:53 +0000 (15:41 -0400)]
Add test function regress_test_struct_fixed_array_frob

13 years agog_field_info_get_field: return correct pointer for C array
Maxim Ermilov [Thu, 17 Feb 2011 20:27:09 +0000 (23:27 +0300)]
g_field_info_get_field: return correct pointer for C array

Also add a test case.

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

13 years agoAdd GI_SCANNER_DISABLE_CACHE environment variable
Colin Walters [Mon, 2 May 2011 16:25:10 +0000 (12:25 -0400)]
Add GI_SCANNER_DISABLE_CACHE environment variable

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

13 years agogimarshallingtests: Remove incorrect cast
Colin Walters [Mon, 18 Apr 2011 16:54:38 +0000 (12:54 -0400)]
gimarshallingtests: Remove incorrect cast

13 years agoglib-2.0.c: Added annotation for g_variant_new_variant to mark it as constructor
Sebastian Pölsterl [Thu, 14 Apr 2011 17:12:42 +0000 (19:12 +0200)]
glib-2.0.c: Added annotation for g_variant_new_variant to mark it as constructor

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

13 years agofix #647621 - g_spawn_async_with_pipes annotation corrections
Alan Knowles [Fri, 15 Apr 2011 04:38:09 +0000 (12:38 +0800)]
fix #647621 - g_spawn_async_with_pipes annotation corrections

13 years agoMakefile: Fix release scripts to point to master.gnome.org
Colin Walters [Fri, 1 Apr 2011 14:56:23 +0000 (10:56 -0400)]
Makefile: Fix release scripts to point to gnome.org

This is where install-module lives now.

13 years agoconfigure: Post-release version bump
Colin Walters [Wed, 30 Mar 2011 20:41:41 +0000 (16:41 -0400)]
configure: Post-release version bump

13 years agoMakefile: Make release targets depend on Makefile
Colin Walters [Wed, 30 Mar 2011 20:41:09 +0000 (16:41 -0400)]
Makefile: Make release targets depend on Makefile

So they get updated when configure changes.

13 years agoglib-2.0.c: add annotations for g_base64_encode and g_base64_decode
Joe Shaw [Thu, 31 Mar 2011 14:58:05 +0000 (10:58 -0400)]
glib-2.0.c: add annotations for g_base64_encode and g_base64_decode

13 years agoRegenerate gio-2.0.c from glib/master
Martin Pitt [Wed, 30 Mar 2011 17:56:48 +0000 (19:56 +0200)]
Regenerate gio-2.0.c from glib/master

13 years agogio-2.0.c: Update from GLib git as of 92977a221760eb
Colin Walters [Wed, 30 Mar 2011 17:00:08 +0000 (13:00 -0400)]
gio-2.0.c: Update from GLib git as of 92977a221760eb

13 years agogirparser: use c:identifier-prefixes instead of c:prefix
Serkan Kaba [Sun, 20 Mar 2011 01:00:22 +0000 (03:00 +0200)]
girparser: use c:identifier-prefixes instead of c:prefix

This bug was introduced with
http://git.gnome.org/browse/gobject-introspection/commit/?id=36aa515f1036978ced8d4ffb808260844f7229e0
due to rename of c:prefix to c:identifier-prefixes.

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

13 years agoconfigure: Post-release version bump
Owen W. Taylor [Sat, 26 Mar 2011 00:43:34 +0000 (20:43 -0400)]
configure: Post-release version bump

13 years agoFix generation of cairo typelib GOBJECT_INTROSPECTION_0_10_6
Owen W. Taylor [Fri, 25 Mar 2011 23:36:36 +0000 (19:36 -0400)]
Fix generation of cairo typelib

By separating out cairo-1.0.gir from gir_DATA, we lost the generation
of the cairo typelib. So instead add cairo-1.0.gir to a new
SUBSTITUTED_GIRSOURCES and include that in gir_DATA.

Fix the rule for generating cairo-1.0.gir for srcdir != builddir.

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

13 years agoconfigure: Post-release version bump
Colin Walters [Fri, 25 Mar 2011 22:11:27 +0000 (18:11 -0400)]
configure: Post-release version bump

13 years agoMakefile-gir: Fix EXTRA_DIST GOBJECT_INTROSPECTION_0_10_5
Colin Walters [Fri, 25 Mar 2011 22:09:36 +0000 (18:09 -0400)]
Makefile-gir: Fix EXTRA_DIST

13 years agoDon't dist gir/cairo-1.0.gir, it's generated
Colin Walters [Fri, 25 Mar 2011 22:07:06 +0000 (18:07 -0400)]
Don't dist gir/cairo-1.0.gir, it's generated

We should not be disting it, because it contains values derived
from configure.  Extract it out of STATIC_GIRSOURCES, and also
move it to a Makefile rule rather than AC_SUBST as it should be
so it gets cleaned properly.

13 years ago[tests] add a gclosure_return method to test passing GClosures between methods
John (J5) Palmieri [Wed, 16 Mar 2011 21:31:47 +0000 (17:31 -0400)]
[tests] add a gclosure_return method to test passing GClosures between methods

13 years agosupport setting gobjects and ginterfaces in struct fields
John (J5) Palmieri [Mon, 14 Mar 2011 18:18:22 +0000 (14:18 -0400)]
support setting gobjects and ginterfaces in struct fields

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

13 years agoMakefile: Rework release tools
Colin Walters [Thu, 10 Mar 2011 19:47:30 +0000 (14:47 -0500)]
Makefile: Rework release tools

Separate "preparing" a release locally from actually uploading it,
and automate bumping the version in configure.ac.

13 years agoconfigure: Post-release version bump
Colin Walters [Thu, 10 Mar 2011 19:42:56 +0000 (14:42 -0500)]
configure: Post-release version bump

13 years agocairo-1.0.gir: Use fully qualified shared library GOBJECT_INTROSPECTION_0.10.4 GOBJECT_INTROSPECTION_0_10_4
Colin Walters [Wed, 9 Mar 2011 18:01:54 +0000 (13:01 -0500)]
cairo-1.0.gir: Use fully qualified shared library

The .so link is for development, we need to reference the full
soname; otherwise things will break without "cairo-devel"
installed.

13 years agoconfigure: Post release version bump
Colin Walters [Wed, 23 Feb 2011 15:38:53 +0000 (10:38 -0500)]
configure: Post release version bump

13 years agoAdd "c:identifier" attribute to GIrNodeValue (for flags and enum values). GOBJECT_INTROSPECTION_0_10_3
Laszlo Pandy [Tue, 22 Feb 2011 15:02:12 +0000 (16:02 +0100)]
Add "c:identifier" attribute to GIrNodeValue (for flags and enum values).

Flags and enums with a GType have a value_nick and value_name
strings available in the class struct. But for flags and enums
without GType, we need to get this information from introspection.

g_base_info_get_name() gives the string for value_nick. In the GIR,
the attribute "c:identifier" is the string neede for value_name.

This patch adds the "c:identifier" from GIR to the typelib for all
flags and enum values. It can be retireved using
g_base_info_get_attribute(info, "c:identifier").

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

13 years agoAdd GIMarshalllingTests function with in parameter as well as GError.
Laszlo Pandy [Wed, 23 Feb 2011 12:37:09 +0000 (13:37 +0100)]
Add GIMarshalllingTests function with in parameter as well as GError.

This allows bindings to test the ability to clean up (in)
parameters after a GError is set by the wrapped function.

13 years agoAdd mask flags to GIMarshallingTests to test for flags with the same value.
Laszlo Pandy [Wed, 23 Feb 2011 10:34:13 +0000 (11:34 +0100)]
Add mask flags to GIMarshallingTests to test for flags with the same value.

Glib uses flag aliases, multiple flag names with the same int
value. For example G_IO_FLAG_MASK and G_IO_FLAG_GET_MASK. We need
these flag values to test that gi bindings don't assume that all
flags have the same value.

13 years agoAdd warnings for the (constructor) annotation
Tomeu Vizoso [Fri, 4 Feb 2011 12:16:20 +0000 (13:16 +0100)]
Add warnings for the (constructor) annotation

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

13 years agoUpdate exact wording of warning in test
Tomeu Vizoso [Tue, 22 Feb 2011 16:11:45 +0000 (17:11 +0100)]
Update exact wording of warning in test

13 years agoAdd warnings for the (method) annotation
Tomeu Vizoso [Fri, 4 Feb 2011 10:33:26 +0000 (11:33 +0100)]
Add warnings for the (method) annotation

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

13 years agoAdd non GType flags to GIMarshallingTests.
Laszlo Pandy [Tue, 22 Feb 2011 11:15:49 +0000 (12:15 +0100)]
Add non GType flags to GIMarshallingTests.

13 years agoGIrNode: fix lookup of cached type nodes
Giovanni Campagna [Fri, 18 Feb 2011 17:14:25 +0000 (18:14 +0100)]
GIrNode: fix lookup of cached type nodes

Different types of array have different type nodes, so they should
produce different keys in the cache of already seen type nodes, to
avoid turning a GByteArray into a reference to a GPtrArray.

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

13 years ago[tests] Add GIMarshallingTests function for multiple in and multiple out args.
Laszlo Pandy [Thu, 17 Feb 2011 23:11:30 +0000 (00:11 +0100)]
[tests] Add GIMarshallingTests function for multiple in and multiple out args.

13 years agoFix argument name of MISSING_ATTRIBUTE macro ('ctx' => 'context').
Laszlo Pandy [Thu, 17 Feb 2011 17:01:31 +0000 (18:01 +0100)]
Fix argument name of MISSING_ATTRIBUTE macro ('ctx' => 'context').

The argument was called 'ctx' but the macro was using 'context'.
This wasn't causing the build to fail because the variable
'context' was already defined in all the scopes where this macro
was used.

13 years agoInclude cairo.h instead of cairo/cairo.h
Simon van der Linden [Fri, 11 Feb 2011 20:43:51 +0000 (21:43 +0100)]
Include cairo.h instead of cairo/cairo.h

The cairo/ directory is searched for header files anyway.

13 years agoAccount for arg direction in g_callable_info_get_ffi_arg_types
Jonathan Matthew [Sun, 6 Feb 2011 04:48:58 +0000 (14:48 +1000)]
Account for arg direction in g_callable_info_get_ffi_arg_types

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

13 years agoPost release version bump
Colin Walters [Mon, 7 Feb 2011 19:53:46 +0000 (14:53 -0500)]
Post release version bump

13 years agoscanner: Don't fail on mkdir if cachedir already exists GOBJECT_INTROSPECTION_0_10_2
Colin Walters [Thu, 3 Feb 2011 19:35:32 +0000 (14:35 -0500)]
scanner: Don't fail on mkdir if cachedir already exists

Hit this race in practice with two g-ir-scanner invocations
in Fedora's koji.

13 years agoAdd (method) overrides
Tomeu Vizoso [Fri, 21 Jan 2011 17:07:45 +0000 (18:07 +0100)]
Add (method) overrides

So methods such as gtk_drag_dest_set() can be put inside Gtk.Widget

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

13 years agoUpdate gobject/gio syntax
Johan Dahlin [Tue, 1 Feb 2011 18:20:44 +0000 (16:20 -0200)]
Update gobject/gio syntax

Now fetches all sections correctly, with updated glib code base
and an updated annotation tool.

13 years agoPreserve gtk-doc section names
Johan Dahlin [Tue, 1 Feb 2011 18:14:00 +0000 (16:14 -0200)]
Preserve gtk-doc section names

Preserve the section names and write them out on the class/record/
interface.

13 years agoSort gio/gobject annotations
Johan Dahlin [Tue, 1 Feb 2011 18:13:52 +0000 (16:13 -0200)]
Sort gio/gobject annotations

13 years agoSort output
Johan Dahlin [Tue, 1 Feb 2011 18:13:08 +0000 (16:13 -0200)]
Sort output