summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* annotate g_completion_complete_utf8GOBJECT_INTROSPECTION_0_6_6Dan Winship2009-12-091-0/+5
| | | | | | | acts as a regression test on the recognizing-GLib.List-inside-glib part of the previous patch. https://bugzilla.gnome.org/show_bug.cgi?id=602512
* [scanner] Fix various hardcoded type name checksDan Winship2009-12-093-12/+16
| | | | | | | | Various places that check hardcoded type names were not always handling the case of the type being used from within its own library (in which case it won't have a type prefix). Make them more consistent. https://bugzilla.gnome.org/show_bug.cgi?id=602512
* [scanner] "GError *" is not the same as "GError **"Dan Winship2009-12-091-3/+3
| | | | | | Only set "throws" in the latter case https://bugzilla.gnome.org/show_bug.cgi?id=602512
* Improve the error messageJohan Dahlin2009-12-091-1/+1
|
* Fix an annotationparser bug for empty tagsJohan Dahlin2009-12-094-1/+41
| | | | | | Makes sure we can parse empty tags such as '@foo:' without adding a : in the end which the typelib compiler will complain about
* [Gio] g_repalce_contents_finish has an out argJohan Dahlin2009-12-091-0/+5
|
* Make error more verbose in parserBastien Nocera2009-12-091-4/+7
| | | | | | By printing the function when arguments are missing https://bugzilla.gnome.org/show_bug.cgi?id=604161
* Wrap line in 80 charactersJohan Dahlin2009-12-081-2/+3
|
* [everything] Add a function which has multiple (out) double argumentsColin Walters2009-12-083-0/+31
| | | | This is similar to a Clutter function.
* [transformer] Look up callback types in the full name set, not just typedefsColin Walters2009-12-081-2/+4
| | | | When looking up GINames, we should look in _names.names.
* Fix foo-1.0-expected.{gir,tgir} for callback patchColin Walters2009-12-082-2/+5
|
* scanner: more verbose parser error messagesStefan Kost2009-12-052-3/+10
| | | | | Keep track of the current line (the first 2000 chars of it) and include that in syntax error messages. Also print that failed token in the error message.
* scanner: fix wrong linenumbers in parser errorsStefan Kost2009-12-051-0/+3
| | | | Increment linenumber in parse_comment which reads over multiline comments.
* annotationparser: include symbol name in warningStefan Kost2009-12-041-2/+2
| | | | | Telling file and line would be better, but alreday this way one atleast has a chance to fix it actually.
* scanner: don't warn about unexpected characters when the char is \0Stefan Kost2009-12-041-1/+1
|
* Add ffi cflags/libs/requires to exported .pcJohan Dahlin2009-12-043-9/+17
| | | | | | | | This is required as external projects such as gjs are now using girffi and thus need the ffi cflags to be able to link. https://bugzilla.gnome.org/show_bug.cgi?id=603653
* Revert "Require libffi.pc"Johan Dahlin2009-12-043-4/+43
| | | | | This reverts commit 92abbe78dd7ffe0ff6d61db5f2bff0745a69115a and 494c1c92520917999407832453c11c2247b4e7bb.
* Allow NULL to be sent in for various callbacksJohan Dahlin2009-12-031-3/+3
|
* [everything] Allow passing NULL to the callbackJohan Dahlin2009-12-032-3/+8
|
* Remove scope notified annotationsJohan Dahlin2009-12-031-5/+0
| | | | | It's no longer necessary as the scanner figures out these by itself
* Check for AsyncReadyCallback / DestroyNotifyJohan Dahlin2009-12-031-2/+3
| | | | | This should have been included with f74823. Fixes the async/notified scope annotation for glib/gio.
* [configure.ac] Followup to 494c1c92520 - restore $GCOV_LIBSColin Walters2009-12-021-0/+1
|
* Require libffi.pcColin Walters2009-12-023-43/+3
| | | | | | | We use it for girffi.h. Remove the code to detect libffi without the .pc file. If you don't have it, get it. https://bugzilla.gnome.org/show_bug.cgi?id=603653
* [dumper] Fix threads initializationColin Walters2009-12-021-1/+1
| | | | | Correctly guard with g_thread_supported, call g_thread_init before g_type_init.
* Add async callback tests to everythingMaxim Ermilov2009-12-023-3/+70
|
* Ignore errors caused by permissions in $HOMEJosselin Mouette2009-12-021-1/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=596960
* Remove some unportable integral type size assumptionsIain Nicol2009-12-022-6/+27
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=602762
* Use ${datadir} in lieu of hardcoding ${prefix}/shareChristian Persch2009-12-022-2/+6
| | | | Bug #602087.
* Fix build on OpenBSDJasper Lievisse Adriaanse2009-12-021-1/+4
| | | | | | | | Due to a missing header, gobject-introspection fails to compile on OpenBSD. And only due to headers-including-headers practice this doesn't blow up on many other platforms. https://bugzilla.gnome.org/show_bug.cgi?id=596226
* GI_TYPE_TAG_VOID != ffi_type_voidMaxim Ermilov2009-12-021-2/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=603157
* Better scope in GAsyncReadyCallback/GDestroyNotifyJohan Dahlin2009-12-029-4/+106
| | | | | | | | GAsyncReadyCallback should have use the async scope per default and GDestroyNotify should be notified if the previous parameters are a callback and user data. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=602862
* Plug a leak in g_callable_info_get_ffi_return_typeMaxim Ermilov2009-12-021-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=603526
* InitiallyUnownedClass should contain all the fields as ObjectClass if we ↵Tomeu Vizoso2009-11-301-0/+2
| | | | | | want offset counting to be correct in its sublasses https://bugzilla.gnome.org/show_bug.cgi?id=603038
* Make (skip) annotation work everywhereDan Winship2009-11-233-0/+21
| | | | | | | | Previously it only worked for toplevel nodes. Now it works for any node except <field>, since skipping a field would cause the description of the struct layout to be wrong. https://bugzilla.gnome.org/show_bug.cgi?id=602652
* Fix enum prefix stripping to work only up to word boundariesDan Winship2009-11-234-9/+24
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=602672
* Correct g_file_enumerator_next_files_finish annotation.Maxim Ermilov2009-11-211-0/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=597677
* Add a method to compare infosSimon van der Linden2009-11-202-0/+22
| | | | Add g_base_info_equal.
* Add g_ir_ffi_convert_argumentsTomeu Vizoso2009-11-122-0/+114
|
* Don't put the callback element inside the field if it's not a glib structTomeu Vizoso2009-11-111-3/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=557383
* Implement callbacks as part of struct fields. Fixes #557383Tomeu Vizoso2009-11-1113-112/+321
| | | | | | gir: embed <callback> inside <field> typelib: if a field contains a callback, store it just after the FieldBlob girepository API: no additions
* [gtypelib.h] Document SimpleTypeBlob moreColin Walters2009-11-041-0/+14
|
* [Gio] Annotate g_file_make_directory_with_parentsColin Walters2009-10-251-0/+5
|
* When doing type resolution on a string, treat it as its own ctypeColin Walters2009-10-224-1/+14
| | | | | | | | | | Calling _resolve_param_type on a string instead of Node is fairly unusual, and (as far as I could see) basically only happened in the Array processing code. We were passing None as the ctype in this case, but we might as well try using the name as a ctype too. This fixes using GCallback (and in general any item in an array that comes from an included gir).
* Fix make check after f152f5e97df7Tomeu Vizoso2009-10-222-23/+23
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=599327
* Fix make check after 0d9cfb004d528Tomeu Vizoso2009-10-223-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=599327
* Use best known derived parentColin Walters2009-10-212-3/+37
| | | | | | | | | | | | | | In the case where a known class derives from a hidden one, we want to use the most-derived parent class, rather than simply falling back to GObject. Example: ShellEmbedWidget in gnome-shell derives from ClutterGLXTexturePixmap from clutter, which is a hidden class. ClutterGLXTexturePixmap's parent itself is ClutterX11TexturePixmap, which is also hidden. But its parent is ClutterTexture, which we do know. Use that. https://bugzilla.gnome.org/show_bug.cgi?id=598993
* Explicitly sort object interfaces, properties, and signalsColin Walters2009-10-071-1/+3
| | | | | | | | | | | Previously we were taking this in order from the dumper, which ends up being some undefined order from GObject. Just use Node's cmp to sort them by name explicitly. This probably doesn't cover all possible instances of this problem, but these fixes are right. https://bugzilla.gnome.org/show_bug.cgi?id=597724
* Consistently resolve symbolic linksAdam Sampson2009-09-281-1/+2
| | | | | | | | When building the list of valid filenames for the scanner, resolve symlinks in the filenames; the lexer does this when including files, so otherwise we'll get filename mismatches if the path to the files being scanned includes a symlink. Signed-off-by: Colin Walters <walters@verbum.org>
* Remove a remnant of shaveJohan Bilien2009-09-181-1/+1
|
* Make g-ir-scanner 64-bit enable. Closes #593639Halton Huo2009-09-071-0/+9
|