summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* build: Ensure cairo-gobject always ends up in cairo.girColin Walters2012-08-142-52/+45
| | | | | | | | | | | We were conditionalizing on the presence of cairo in the buildroot, but that's super lame since it makes a huge mess of the build dependency graph. Let's just always stick cairo-gobject in there. I doubt anyone cares anymore about building g-i on really old systems without it. If they do...well, we can revisit this again.
* Revert "Implement "rename to" annotation for records"Colin Walters2012-08-134-78/+5
| | | | | | | | | | | | | This reverts commit 764366f7e4ef5a765a24ffac8c60b811f38b9ad9. It can't work right now because to really use the structures, you need to register them as a boxed, and that means we also need to rename the boxed type. A future version of this patch will need to handle both the structure name and the GType name. https://bugzilla.gnome.org/show_bug.cgi?id=675985
* tests: Fix coding style and compiler warning in regressColin Walters2012-08-052-5/+8
| | | | Previous commit used old-style declarations which was broken.
* Test typedef in #defineAlban Browaeys2012-08-032-0/+11
| | | | requires "handle unsigned properly for type of defined size" patch.
* scanner: handle unsigned properly for type of defined sizeAlban Browaeys2012-08-033-1/+23
|
* giscanner: special case G_GINT64_CONSTANT and G_GUINT64_CONSTANT + miscAlban Browaeys2012-08-035-4/+34
| | | | | | | | | This let the macro expands to its value as gint64/guint64. Also - fix lexer identifier/typdef detection for macro and misc - do not discard cast
* gimarshallingtests: More useful assertionsMartin Pitt2012-08-021-257/+257
| | | | | | Convert the simple g_assert() statements into g_assert_cmp*, to show what the actual value is in case of a failure. This makes it easier to port g-i/pygobject/etc. to new architectures which exhibit bugs, like powerpc64.
* Regress: Update expected gir for previous changesColin Walters2012-07-311-1/+1
|
* gimarshallingtests: Squash compiler warningColin Walters2012-07-311-2/+2
|
* tests: Fix comment about expected resultJon Nordby2012-07-291-1/+1
|
* Implement "rename to" annotation for recordsJon Nordby2012-07-271-5/+15
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=675985 Moving the early annotation pass is needed to avoid the first type resolve pass to resolve to the not-renamed type.
* Add test for "rename to" annotation for recordsJon Nordby2012-07-273-0/+60
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675985
* regress: Use G_DEFINE_INTERFACEJasper St. Pierre2012-07-161-14/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679981
* regress: Fix regress_test_versioningJasper St. Pierre2012-07-162-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679981
* Release 1.33.4GOBJECT_INTROSPECTION_1_33_4Colin Walters2012-07-161-1/+1
|
* Update annotations from glib gitColin Walters2012-07-161-6/+6
|
* Update glib annotations from gitRico Tzschichholz2012-07-121-0/+31
|
* GIMarshallingTests: Add method taking array of variantsMikkel Kamstrup Erlandsen2012-07-122-0/+56
| | | | | | | | | | | Add a new interface GIMarshallingTestsInterface3 with a method that takes an array of variants as argument. This can be used for testing the passing of array of variants from C to introspection clients, which is not otherwise covered in the tests for arrays of variants. https://bugzilla.gnome.org/show_bug.cgi?id=667244 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
* Fix GI_MARSHALLING_TESTS_INTERFACE2_GET_IFACE() definitionMartin Pitt2012-07-121-1/+1
| | | | | This used the non-existing G_TYPE_INSTANCE_GET_INTERFACE2 macro, likely a copy&paste error.
* Update glib annotations from gitRico Tzschichholz2012-07-112-23/+188
|
* scanner: support stability tagEvan Nemerson2012-07-106-1/+39
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679160
* scanner: Ensure "complete_ctype" patch doesn't throw an exception for ↵Colin Walters2012-07-083-1/+28
| | | | | | | | anonymous unions The previous patch introduced a regression where we would crash on encountering an anonymous union. Work around this by just writing out 'gpointer' in this case, and add a regression test.
* giscanner: Write detailed information in "type" tag's "c:type" attribute.Krzesimir Nowak2012-07-078-67/+163
| | | | | | | | That is - write also type qualifiers (const and volatile here). Update existing tests and add a new struct to regress.h having members with type qualifiers. https://bugzilla.gnome.org/show_bug.cgi?id=656445
* scanner: Turn dead code into assertionColin Walters2012-07-061-2/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656445
* giscanner: Fix pointer parsing.Krzesimir Nowak2012-07-061-3/+15
| | | | | | | | | | | | They were parsed in wrong order resulting in having wrong pointer being const. For example - g_settings_list_schemas return type is normally 'const gchar *const *', but parsing result was 'const gchar ** const'. This was unnoticed, because pointer constness information is rather not used by gobject-introspection now. https://bugzilla.gnome.org/show_bug.cgi?id=656445
* tests: Ignore SLetter generated gir.Krzesimir Nowak2012-07-061-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656445
* Maintransfomer: fix again paring error domains with unregistered enumsGiovanni Campagna2012-07-024-13/+30
| | | | | | | | | Previous fix was wrong, as it called to_underscores_noprefix on a prefixed type name. The actual fix is to call the transformer to do the prefix / type_name split, and turn the latter to underscores. Test case included. https://bugzilla.gnome.org/show_bug.cgi?id=634202
* Add missing SLetter expected girColin Walters2012-07-021-0/+44
|
* tests: Add GSpawnError-alike to SLetterColin Walters2012-07-022-0/+15
| | | | See https://bugzilla.gnome.org/show_bug.cgi?id=637025 for motivation.
* tests: Add SLetterColin Walters2012-07-023-0/+35
| | | | | | | This test case has a single-letter symbol prefix, which triggers edge cases in the difference between prefix handling. See https://bugzilla.gnome.org/show_bug.cgi?id=637025
* Fix buildJasper St. Pierre2012-06-291-2/+2
|
* scanner: Remove propertiesJasper St. Pierre2012-06-281-40/+24
| | | | We don't need a basic getter for a private field - this isn't Java.
* scanner: Don't use an O(N) lookup when we already have a hashmapJasper St. Pierre2012-06-282-7/+5
| | | | This is a general code cleanup.
* fix GIArgument being exported as _Argument in .girAlan Knowles2012-06-281-3/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=635128
* Revert scanner fix in 64f3832Jasper St. Pierre2012-06-271-1/+1
| | | | | | This is incorrect -- the type name that's passed to the function should contain a prefix. This fixes error domains for GLib errors. Don't revert doc changes or test additions.
* Release 1.33.3GOBJECT_INTROSPECTION_1_33_3Colin Walters2012-06-261-1/+1
|
* Update glib annotations from gitRico Tzschichholz2012-06-232-6/+95
|
* scanner: complete the enum-to-error-quark fixGiovanni Campagna2012-06-185-2/+274
| | | | | | | | | | Turns out that the problem was not only in the wrong matching to GType enums, but also that the non-GType heuristics used to_underscores instead of to_underscores_noprefix, turning DBusError into D_Bus_Error instead of DBus_Error. Complete with various tests. https://bugzilla.gnome.org/show_bug.cgi?id=669350
* scanner: fix pairing of error quarks with registered enumsGiovanni Campagna2012-06-161-3/+5
| | | | | | | | | | _uscore_type_names maps from the c_symbol_prefix, which has the global ns prefix removed, so we need to split the function symbol before the lookup. Previously it worked because it used the heuristics for unregistered enums (and failed for GDBusError, which has two uppercase letters in succession) https://bugzilla.gnome.org/show_bug.cgi?id=669350
* Release 1.33.2GOBJECT_INTROSPECTION_1_33_2Colin Walters2012-06-051-1/+1
|
* Update annotations to glib 2.33.2Colin Walters2012-06-053-3/+46
|
* tests: Add marshalling test for a boxed struct propertyMartin Pitt2012-06-052-1/+19
| | | | | | | Also make the _copy()/_free() methods for GIMarshallingTestsBoxedStruct get along with NULL values. https://bugzilla.gnome.org/show_bug.cgi?id=676603
* tests: Add a refcounting boxedJasper St. Pierre2012-06-013-0/+60
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677249
* tests: Add vfunc taking a caller-allocated out parameterMartin Pitt2012-06-012-0/+20
| | | | | This reproduces https://bugzilla.gnome.org/show_bug.cgi?id=653151
* tests: Add marshalling test for a caller-allocated out GValue parameterMartin Pitt2012-06-012-0/+12
| | | | | This came up as a side issue in https://bugzilla.gnome.org/show_bug.cgi?id=653151
* scanner: allow for functions that look like constructors but aren'tDan Winship2012-05-264-3/+28
| | | | | | | | | | | | If the scanner found a function with _new in its name, but not prefixed by the name of a known type, it would assume that the function was a constructor, and then complain that it couldn't figure out what it was a constructor for, and mark it introspectable=0. Instead, just assume that the function is not actually a constructor in that case (unless it's explicitly tagged as such). https://bugzilla.gnome.org/show_bug.cgi?id=676815
* givfuncinfo: Fix memory leakJasper St. Pierre2012-05-251-0/+1
| | | | The field info wasn't being freed after it was used
* tests: Fix a memory leakJasper St. Pierre2012-05-251-1/+4
| | | | | | | We need to unref the cairo surface here, as we are making the context be the sole owner of it. https://bugzilla.gnome.org/show_bug.cgi?id=671687
* tests: Add a foreign struct signal testJasper St. Pierre2012-05-254-1/+46
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671687
* tests: Fix warningsJasper St. Pierre2012-05-251-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671687