summaryrefslogtreecommitdiff
path: root/girepository/gdump.c
Commit message (Collapse)AuthorAgeFilesLines
* gdump: Fix print-format error while GFlagsValue->value is an unsigned intRico Tzschichholz2018-07-041-1/+1
|
* gdump: do not leak gfile objectsPaolo Borelli2016-05-081-1/+8
|
* girepository: Fix some memory leaks in gdump.cPhilip Withnall2016-02-261-0/+8
| | | | | | | | | These were leaking memory when dumping introspection data from projects for building their GIR files. That’s generally not a problem, unless you’re trying to build the project with -fsanitize=address, which causes the GIR build phase to error out due to leaking memory. https://bugzilla.gnome.org/show_bug.cgi?id=762653
* g_irepository_dump: Update doc to match codeSimon Kågedal Reimer2013-06-051-2/+4
| | | | | | | The input file no longer only consists of names of get_type-functions, instead begins with either "get-type:" or "error-quark:". https://bugzilla.gnome.org/show_bug.cgi?id=701639
* Add printf attributeChristian Persch2013-05-051-0/+3
| | | | | | This fixes a compiler warning when using -Wmissing-format-attribute. https://bugzilla.gnome.org/show_bug.cgi?id=698521
* Add Emacs mode lines to C sourcesColin Walters2012-02-031-1/+2
|
* gi-dump-types: New uninstalled debugging programColin Walters2011-09-031-0/+2
| | | | Usage: ./_build/gi-dump-types g_object_get_type
* Add signal flagsJohan Dahlin2011-08-131-1/+25
| | | | | | This adds all GSignalFlags into the gir. https://bugzilla.gnome.org/show_bug.cgi?id=656457
* Switch to storing string form of error quarksDan Winship2011-08-121-16/+67
| | | | | | | | | | | | | | | | Instead of storing the name of the function to call to get the error quark, store the string form of the error quark, which we derive from the introspection binary during scanning. Update EnumBlob and GIEnumInfo to include the new information. This will allow determining a back-mapping from error quark to error domain without having to dlsym() and call all the known error quark functions. Based on earlier patches from Owen Taylor and Maxim Ermilov. https://bugzilla.gnome.org/show_bug.cgi?id=602516
* Rework how fundamental GObject types are introspectedGiovanni Campagna2011-06-081-1/+1
| | | | | | | | | | | 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
* scanner: Rename g_irepository_dump when included from the dumperBenjamin Otte2011-01-111-2/+4
| | | | | This avoids a naming conflict when compiling GiRepository.gir, where g_irepository_dump() was defined in an included header.
* dumper: Make g_irepository_dump static when being used in dumperColin Walters2010-10-011-0/+3
| | | | Otherwise we'll bomb out if CFLAGS contains -Werror.
* scanner: Don't link to -lgirepository when dumpingGOBJECT_INTROSPECTION_0_9_9Colin Walters2010-09-301-1/+8
| | | | | | | | This helps us avoid a problematic case where in say jhbuild, using a system (/usr/lib) glib, adding in -l girepository-1.0 will inject -L /path/to/builddir, when we don't want that. https://bugzilla.gnome.org/show_bug.cgi?id=630342
* scanner: Avoid internal invalid Type instances from parentsColin Walters2010-08-311-8/+8
| | | | | We were adding a trailing ',' in the parent string, clean that up; and don't attempt to create a Type from the empty string.
* [girepository] Fix up error printingColin Walters2010-08-171-2/+10
| | | | | | | We didn't show the right error message if we failed to find the symbol; fix this by removing error printing from the middle of the dumper, and add it correctly to the toplevel dump entry point.
* Add support for non-GObject fundamental objectsJohan Dahlin2010-07-091-4/+51
| | | | | | | | | | | | | | This patch adds support for instantiable fundamental object types, which are not GObject based. This is mostly interesting for being able to support GstMiniObject's which are extensivly used in GStreamer. Includes a big test case to the Everything module (inspired by GstMiniObject) which should be used by language bindings who wishes to test this functionallity. This patch increases the size of the typelib and breaks compatibility with older typelibs. https://bugzilla.gnome.org/show_bug.cgi?id=568913
* [girepository] Remove trailing whitespaceJohan Dahlin2010-03-241-3/+3
|
* Use best known derived parentColin Walters2009-10-211-1/+21
| | | | | | | | | | | | | | 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
* add FT_Int32 add XftFont Report errors when an invalid type is encounteredJohan Dahlin2009-01-161-1/+2
| | | | | | | | | | | | | | | | 2009-01-15 Johan Dahlin <jdahlin@async.com.br> * gir/freetype2-2.0.gir: add FT_Int32 * gir/xft-2.0.gir: add XftFont * girepository/gdump.c (g_irepository_dump): Report errors when an invalid type is encountered * giscanner/glibtransformer.py: Make the error message a bit nicer. Part of preparating for gir generating inside pango. svn path=/trunk/; revision=1050
* Remove a warning, be less verbose on error on fundamental types.Johan Dahlin2008-11-241-1/+5
| | | | | | | | | | 2008-11-24 Johan Dahlin <jdahlin@async.com.br> * girepository/gdump.c (dump_type): Remove a warning, be less verbose on error on fundamental types. svn path=/trunk/; revision=963
* Bug 559706 - Interface prerequisitesColin Walters2008-11-171-1/+5
| | | | svn path=/trunk/; revision=936
* Bug 559706 - interface prequisitesColin Walters2008-11-171-1/+6
| | | | svn path=/trunk/; revision=932
* Remove processing msgColin Walters2008-11-131-1/+0
| | | | svn path=/trunk/; revision=915
* Add new files from last commitColin Walters2008-11-131-0/+386
svn path=/trunk/; revision=913