summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* cairo-1.0.gir: Use fully qualified shared libraryGOBJECT_INTROSPECTION_0_10_4GOBJECT_INTROSPECTION_0.10.4Colin Walters2011-03-091-2/+2
| | | | | | The .so link is for development, we need to reference the full soname; otherwise things will break without "cairo-devel" installed.
* configure: Post release version bumpColin Walters2011-02-231-1/+1
|
* Add "c:identifier" attribute to GIrNodeValue (for flags and enum values).GOBJECT_INTROSPECTION_0_10_3Laszlo Pandy2011-02-233-3/+83
| | | | | | | | | | | | | | | 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
* Add GIMarshalllingTests function with in parameter as well as GError.Laszlo Pandy2011-02-232-0/+15
| | | | | This allows bindings to test the ability to clean up (in) parameters after a GError is set by the wrapped function.
* Add mask flags to GIMarshallingTests to test for flags with the same value.Laszlo Pandy2011-02-232-2/+10
| | | | | | | 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.
* Add warnings for the (constructor) annotationTomeu Vizoso2011-02-226-11/+85
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=641347
* Update exact wording of warning in testTomeu Vizoso2011-02-221-1/+1
|
* Add warnings for the (method) annotationTomeu Vizoso2011-02-223-4/+43
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=641347
* Add non GType flags to GIMarshallingTests.Laszlo Pandy2011-02-222-0/+58
|
* GIrNode: fix lookup of cached type nodesGiovanni Campagna2011-02-211-11/+34
| | | | | | | | 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
* [tests] Add GIMarshallingTests function for multiple in and multiple out args.Laszlo Pandy2011-02-182-2/+20
|
* Fix argument name of MISSING_ATTRIBUTE macro ('ctx' => 'context').Laszlo Pandy2011-02-171-1/+1
| | | | | | | 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.
* Include cairo.h instead of cairo/cairo.hSimon van der Linden2011-02-111-1/+1
| | | | The cairo/ directory is searched for header files anyway.
* Account for arg direction in g_callable_info_get_ffi_arg_typesJonathan Matthew2011-02-091-1/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=641647
* Post release version bumpColin Walters2011-02-071-1/+1
|
* scanner: Don't fail on mkdir if cachedir already existsGOBJECT_INTROSPECTION_0_10_2Colin Walters2011-02-031-1/+4
| | | | | Hit this race in practice with two g-ir-scanner invocations in Fedora's koji.
* Add (method) overridesTomeu Vizoso2011-02-025-14/+54
| | | | | | So methods such as gtk_drag_dest_set() can be put inside Gtk.Widget https://bugzilla.gnome.org/show_bug.cgi?id=639945
* Update gobject/gio syntaxJohan Dahlin2011-02-012-148/+419
| | | | | Now fetches all sections correctly, with updated glib code base and an updated annotation tool.
* Preserve gtk-doc section namesJohan Dahlin2011-02-013-3/+15
| | | | | Preserve the section names and write them out on the class/record/ interface.
* Sort gio/gobject annotationsJohan Dahlin2011-02-012-25133/+25200
|
* Sort outputJohan Dahlin2011-02-011-1/+1
|
* Add missing spacesJohan Dahlin2011-02-011-1/+1
|
* Add (constructor) annotationTomeu Vizoso2011-01-285-12/+49
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=561264
* [scanner] Don't crash if we don't have a ctype in array element typesTomeu Vizoso2011-01-211-1/+2
|
* Pass shared-library as-is to g_module_openTomeu Vizoso2011-01-211-4/+0
| | | | | | Because it already has the lib prefix and the .so postfix https://bugzilla.gnome.org/show_bug.cgi?id=639961
* Preserve the c:type of array elementsTomeu Vizoso2011-01-214-28/+29
| | | | | | So the element type has the correct is_pointer flag https://bugzilla.gnome.org/show_bug.cgi?id=638929
* Disable missing class structure warning, add a bug referenceJohan Dahlin2011-01-201-2/+3
|
* ast: cleanup clone() methodsJohan Dahlin2011-01-201-4/+1
|
* Depend on cairo-gobject if availableTomeu Vizoso2011-01-202-5/+23
| | | | | | And set library-name and package accordingly in the cairo .gir https://bugzilla.gnome.org/show_bug.cgi?id=639831
* Add GIMarshallingTests.Interface2Tomeu Vizoso2011-01-202-0/+44
| | | | | so we can test conflicts when two bases have a vfunc with the same name.
* Regenerate gio-2.0.c from glib/masterPavel Holejsovsky2011-01-201-64/+140
|
* Initialize GIMarshallingTestsBoxedStruct so we can test its valuesTomeu Vizoso2011-01-191-1/+1
|
* Add GIMarshallingTests function which sets a GError, to test exception ↵Laszlo Pandy2011-01-192-0/+19
| | | | | | handling in bindings. https://bugzilla.gnome.org/show_bug.cgi?id=639834
* [tests] add tests for guint8 arraysIgnacio Casal Quinteiro2011-01-192-0/+16
| | | | | | * guint8 can be interpreted as array characters that can be memcpyied during marshalling so add a test to check if we are correctly handling this codepath
* Add a second enum to GIMarshallingTests to support pygi tests for non-gtype ↵Laszlo Pandy2011-01-171-0/+6
| | | | | | | | enums. There was a bug in pygi in which non-gtype enums shared values between themselves. That is, if there was an attribute Enum.THE_VALUE, it would be available on as OtherEnum.THE_VALUE as well. To make a test case for this bug, we need a second non-gtype enum in GIMarshallingTests to compare with.
* test: gi_marshalling_tests_array_gvariant_inMikkel Kamstrup Erlandsen2011-01-172-0/+16
| | | | | | A new test to expose a bug in pygobject https://bugzilla.gnome.org/show_bug.cgi?id=638915
* Make caller-allocates detection work for struct aliasesPavel Holejsovsky2011-01-135-7/+48
| | | | | | | | | | | | Scanner tries to detect caller-allocates attribute automatically if not explicitly specified by checking that parameter is not double-referenced and is struct or union. This patch adds resolving of aliases when checking whether parameter is struct or union. Also removes old incorrect method transformer.follow_aliases, which was never used in current code. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=639081
* Add support for g[u]intptr in scanner and girwriter.Pavel Holejsovsky2011-01-135-15/+24
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=634838
* Post-release version bumpGOBJECT_INTROSPECTION_0_10_1Colin Walters2011-01-121-1/+1
|
* Add g_vfunc_info_invoke and g_vfunc_info_get_addressTomeu Vizoso2011-01-125-157/+323
| | | | | | | for calling the native implementation of a virtual function. Refactors the code common with g_function_info_invoke in _g_callable_info_invoke. https://bugzilla.gnome.org/show_bug.cgi?id=637145
* tests: Update expected girs for --c-includeColin Walters2011-01-114-0/+4
|
* Revert "scanner: Stop predeclaring the functions that are to be scanned"Colin Walters2011-01-111-0/+2
| | | | This reverts commit 88553b4cd6776b7eff9a3b1d63eb8e49be0bd8f2.
* Revert "scanner: Include all headers when building the dumper binary"Colin Walters2011-01-111-3/+0
| | | | This reverts commit bedd7dd61508684b78bd1e95fed8025d48661b48.
* tests: Fix build by including correct headers with --c-includeBenjamin Otte2011-01-112-1/+6
|
* scanner: Rename g_irepository_dump when included from the dumperBenjamin Otte2011-01-112-3/+5
| | | | | This avoids a naming conflict when compiling GiRepository.gir, where g_irepository_dump() was defined in an included header.
* gir: Fix build of Gio-2.0.girBenjamin Otte2011-01-111-1/+3
| | | | | - include gio-unix headers properly into Gio gir - don't include gsettingsbackend.h
* scanner: Stop predeclaring the functions that are to be scannedBenjamin Otte2011-01-101-2/+0
| | | | Instead, rely on the c_includes. See the previous commit for details.
* scanner: Include all headers when building the dumper binaryBenjamin Otte2011-01-101-0/+3
| | | | | | | | | | | | | This avoids warnings about undefined functions when using init sections and it removes the requirement to predeclare the get_type functions that should be called. For an example for this problem with GStreamer, see https://bugzilla.gnome.org/show_bug.cgi?id=639039 We can now also use gcc's error checking to ensure that users - specify the correct C includes in the gir file (because otherwise we get errors when compiling the dumper). - the types do actually exist (because again, the compiler will complain).
* scanner: Use packages from --pkgBenjamin Otte2011-01-101-0/+1
| | | | | | | | | Use pkgconfig files from --pkg when compiling the dump binary. This helps avoiding linker errors when init sections are provided that use code from those packages. https://bugzilla.gnome.org/show_bug.cgi?id=639039
* scanner: Make sure that vfuncs made to the GIRTomeu Vizoso2011-01-073-23/+5
| | | | | | | * don't skip those associated to a signal * don't warn if it doesn't have an invoker https://bugzilla.gnome.org/show_bug.cgi?id=637215