summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Update annotationsJasper St. Pierre2012-05-241-0/+1613
|
* Update glib annotations from gitRico Tzschichholz2012-05-243-11/+99
|
* girepository: avoid crash when querying nonexistent infoPavel Holejsovsky2012-05-125-9/+28
| | | | | | | | | It appears that cmph library can return (n+1) when querying item not present in its original n-item-sized set. Adjust code so that it detects this condition and do not chase stray pointers resulting from this bogus(?) hash result. https://bugzilla.gnome.org/show_bug.cgi?id=675939
* GIMarshallingTests: Add GStrv propertyMartin Pitt2012-05-052-1/+14
|
* Fix regress_test_closure_variant return valueMartin Pitt2012-05-052-2/+4
| | | | | | | | | | | We need to g_variant_ref() the return type: the closure delivers it wrapped in a GValue, and the subsequent g_value_unset() unrefs it to zero otherwise. This was uncovered by the now working TestClosures.test_variant() test case in PyGObject. Also allow passing NULL as argument, to be able to test these code paths as well.
* Update glib annotations to 2.33.1Rico Tzschichholz2012-05-022-1471/+100
|
* Add the fixed width C99 types from stdint.hNeil Roberts2012-05-021-0/+9
| | | | | | | | | | | | | C99 has standard types for fixed width signed and unsigned integers. This adds types to giscanner to map them to the glib equivalent types. stdint.h also has other types to specify specify sizes with at least a certain number of bits, the fastest type with at least some number of bits, a type big enough to store a pointer and a type containing the most number of bits. These don't map well to glib types so I have ignored them. https://bugzilla.gnome.org/show_bug.cgi?id=674796
* Fix GVariant handling in regress_test_closure_variantMartin Pitt2012-05-022-5/+3
| | | | | | | | | | | Commit 7c4fbbd6 introduced some low-level g_memdup()ing of the passed GVariant in regress_test_closure_variant(). This causes a race condition with GI clients like pygobject's test suite, which sometimes fail with (runtests.py:15653): GLib-CRITICAL **: g_variant_ref_sink: assertion `value->ref_count > 0' failed Drop the memduping again, and instead make the argument non-const (which is true, as the method temporarily increases the refcount).
* g-ir-doc-tool: Update expected fileRico Tzschichholz2012-04-261-5/+5
| | | | Should have signal arguments in the right order