summaryrefslogtreecommitdiff
path: root/gir
Commit message (Collapse)AuthorAgeFilesLines
* Add KeySym and KeyCode to xlib-2.0.gir.Owen Taylor2009-02-061-0/+2
| | | | | | | gir/xlib-2.0.gir: Add dummy definitions for KeySym and KeyCode to the dummy xlib-2.0.gir. svn path=/trunk/; revision=1091
* Bug 569408, Bug 568680 - Scanner misses fields (at least in GObject.Object)Colin Walters2009-02-022-0/+5
| | | | | | | | The scanner misses all fields of the GObject struct -- there are no <field> children of the <class> element for GObject in the GIR. This of course yields wrong field offsets for all derived objects. svn path=/trunk/; revision=1079
* Add xmlTextWriterPtr to libxml2-2.0 GIR. Robert Carr2009-01-291-0/+1
| | | | svn path=/trunk/; revision=1076
* Remove shared-library tags for these too.Johan Dahlin2009-01-287-7/+7
| | | | | | | | | | | | | | | | 2009-01-27 Johan Dahlin <jdahlin@async.com.br> * gir/cairo-1.0.gir: * gir/fontconfig-2.0.gir: * gir/freetype2-2.0.gir: * gir/libxml2-2.0.gir: * gir/xfixes-4.0.gir: * gir/xft-2.0.gir: * gir/xlib-2.0.gir: Remove shared-library tags for these too. svn path=/trunk/; revision=1073
* Remove shared-library which removes the build time dependency on mesa.Johan Dahlin2009-01-281-1/+1
| | | | | | | | | | | 2009-01-27 Johan Dahlin <jdahlin@async.com.br> * gir/GL-1.0.gir: Remove shared-library which removes the build time dependency on mesa. svn path=/trunk/; revision=1072
* Add cairo_path_t to cairo-1.0.gir, required for building clutter 0.9 girRobert Carr2009-01-241-0/+3
| | | | svn path=/trunk/; revision=1067
* Use correct pkg-config arguments for each girColin Walters2009-01-221-4/+3
| | | | | | | | We should pass e.g. --pkg gobject-2.0 for GObject, and --pkg gio-2.0 for Gio to ensure that we're getting the right flags to the scanner, even though girepository itself depends on these libraries. svn path=/trunk/; revision=1064
* add back GLvoid, which got lost during the gir-repository ->Dan Winship2009-01-161-0/+1
| | | | | | | * gir/GL-1.0.gir: add back GLvoid, which got lost during the gir-repository -> gobject-introspection migration svn path=/trunk/; revision=1051
* add FT_Int32 add XftFont Report errors when an invalid type is encounteredJohan Dahlin2009-01-162-0/+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
* Move over the hand-written girs from gir-repository so upstream librariesJohan Dahlin2009-01-159-15/+208
| | | | | | | | | | | | | | | | | | | | | 2009-01-15 Johan Dahlin <jdahlin@async.com.br> * gir/GL-1.0.gir: * gir/Makefile.am: * gir/cairo-1.0.gir: * gir/fontconfig-2.0.gir: * gir/freetype2-2.0.gir: * gir/libxml2-2.0.gir: * gir/xfixes-4.0.gir: * gir/xft-2.0.gir: * gir/xlib-2.0.gir: Move over the hand-written girs from gir-repository so upstream libraries depending on these can avoid a gir-repository dependency. svn path=/trunk/; revision=1047
* Bug 567813 – Everything should be versionedJohan Dahlin2009-01-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | 2009-01-15 Johan Dahlin <jdahlin@async.com.br> Bug 567813 – Everything should be versioned * gir/Makefile.am: * girepository/Makefile.am: * girepository/girepository.c (init_globals): * girepository/girparser.c (locate_gir): * giscanner/dumper.py: * giscanner/transformer.py: * gobject-introspection-1.0.pc.in: * tests/everything/Makefile.am: * tests/invoke/Makefile.am: * tests/offsets/Makefile.am: * tests/repository/Makefile.am: * tests/scanner/Makefile.am: * tools/Makefile.am: svn path=/trunk/; revision=1046
* indentJohan Dahlin2009-01-141-3/+3
| | | | svn path=/trunk/; revision=1042
* Bug 566404 – Annotations for GLibAndreas Rottmann2009-01-121-0/+11
| | | | | | | | | | | | 2009-01-03 Andreas Rottmann <a.rottmann@gmx.at> Bug 566404 – Annotations for GLib * gir/glib-2.0.c: Added allow-none annotations for g_thread_init() and g_main_loop_new(). svn path=/trunk/; revision=1020
* Default transfer type is no longer full. Fix annotation on Robert Carr2009-01-091-1/+1
| | | | | | g_file_info_list_attributes to explicitly specify. svn path=/trunk/; revision=1004
* Annotate array return for g_file_info_list_attributes.Robert Carr2009-01-091-0/+6
| | | | svn path=/trunk/; revision=1001
* Annotate transfer, direction and allow none forJohan Dahlin2008-12-211-0/+14
| | | | | | | | | | | | 2008-12-21 Johan Dahlin <jdahlin@async.com.br> * gir/gio-2.0.c: Annotate transfer, direction and allow none for g_file_load_contents_finish and g_file_load_partial_contents_finish parameters. svn path=/trunk/; revision=996
* Annotate transfer, direction and allow none for g_file_load_contentsJohan Dahlin2008-12-211-0/+3
| | | | | | | | | | | 2008-12-21 Johan Dahlin <jdahlin@async.com.br> * gir/gio-2.0.c: Annotate transfer, direction and allow none for g_file_load_contents parameters. svn path=/trunk/; revision=995
* Annotate g_file_info_get_icon, g_file_info_get_attribute_object.Colin Walters2008-12-071-0/+12
| | | | svn path=/trunk/; revision=984
* Add return value transfer annotation for g_markup_escape_text.Johan Dahlin2008-11-271-0/+5
| | | | | | | | | | 2008-11-27 Johan Dahlin <jdahlin@async.com.br> * gir/glib-2.0.c: Add return value transfer annotation for g_markup_escape_text. svn path=/trunk/; revision=978
* Add --libtool option which we expect Automake-using people to passColin Walters2008-11-261-0/+5
| | | | svn path=/trunk/; revision=977
* Annotate g_app_info_get_iconColin Walters2008-11-211-0/+6
| | | | svn path=/trunk/; revision=956
* Add Gio Unix bits to the Gio.gir if availableColin Walters2008-11-191-1/+8
| | | | | | | Having a separate .gir would be fairly overkill for the few components in the Gio Unix integration, and this mirrors how we handle Gtk. svn path=/trunk/; revision=953
* Annotate g_app_info_get_allColin Walters2008-11-191-0/+6
| | | | svn path=/trunk/; revision=951
* Add allow-none for Gio methodColin Walters2008-11-191-0/+8
| | | | svn path=/trunk/; revision=948
* Correct nsversion for GIRepositoryColin Walters2008-11-141-1/+1
| | | | svn path=/trunk/; revision=922
* Bug 558436 - avoid having scanner load app codeColin Walters2008-11-131-25/+19
| | | | svn path=/trunk/; revision=912
* Remove unused variables, add a dependency of girepository.ch, so when theyJohan Dahlin2008-11-121-5/+5
| | | | | | | | | | | 2008-11-12 Johan Dahlin <jdahlin@async.com.br> * gir/Makefile.am: Remove unused variables, add a dependency of girepository.ch, so when they change we rebuild the gir automatically. svn path=/trunk/; revision=894
* Add a GIRepository-2.0.gir. Change the libtool lookup slightly so we canJohan Dahlin2008-11-121-8/+35
| | | | | | | | | | | | | | | | 2008-11-12 Johan Dahlin <jdahlin@async.com.br> * gir/Makefile.am: * giscanner/glibtransformer.py: * tools/g-ir-scanner: Add a GIRepository-2.0.gir. Change the libtool lookup slightly so we can just pass in --library=foo/bar/baz.la and the scanner does the right thing. Don't warn for _get_type() functions if they don't take any parameters svn path=/trunk/; revision=890
* Bug 558383 – builddir != srcdir build fails if giscanner python moduleJohan Dahlin2008-10-301-5/+6
| | | | | | | | | | | | | | | | | | | | | | | 2008-10-30 Johan Dahlin <jdahlin@async.com.br> Bug 558383 – builddir != srcdir build fails if giscanner python module not already installed * gir/Makefile.am: construct PYTHONPATH just once * tests/everything/Makefile.am: * tests/scanner/Makefile.am: add $(top_srcdir) to PYTHONPATH to handle builddir != srcdir * giscanner/libtoolimporter.py: * giscanner/sourcescanner.py: Make the libtoolimporter work when distchecking too. Mostly based on patch by Tommi Komulainen svn path=/trunk/; revision=833
* distcheck fixesTommi Komulainen2008-10-291-2/+3
| | | | | | | | | | * gir/Makefile.am: * tests/Makefile.am: * tests/invoke/Makefile.am: * tests/scanner/Makefile.am: Add missing files to EXTRA_DIST and CLEANFILES, reference files using $(srcdir) svn path=/trunk/; revision=823
* add allow-none annotations, based on the pygobject .defs fileJohan Bilien2008-10-271-2/+526
| | | | | | | | | | 2008-10-27 Johan Bilien <jobi@via.ecp.fr> * gio/gio-2.0.c: add allow-none annotations, based on the pygobject .defs file svn path=/trunk/; revision=821
* add annotation for g_file_deleteJohan Bilien2008-10-272-1/+8
| | | | | | | | | 2008-10-27 Johan Bilien <jobi@via.ecp.fr> * gir/gio-2.0.c: add annotation for g_file_delete svn path=/trunk/; revision=819
* Bug 557076 - move typelibs to $libdirColin Walters2008-10-251-1/+1
| | | | svn path=/trunk/; revision=813
* Typelibs should go in $(datadir) for nowColin Walters2008-10-231-1/+1
| | | | svn path=/trunk/; revision=800
* Bug 557468 – Support for GI_TYPELIB_PATHJohan Bilien2008-10-231-1/+1
| | | | | | | | | | | | 2008-10-23 Johan Bilien <jobi@via.ecp.fr> Bug 557468 – Support for GI_TYPELIB_PATH * girepository/girepository.c: if the GI_TYPELIB_PATH is set, add the provided paths to the global search path. svn path=/trunk/; revision=786
* Rename GLib-assertions.txt to GLib-2.0.xpath and include it in EXTRA_DISTJohan Dahlin2008-10-212-1/+3
| | | | svn path=/trunk/; revision=768
* added annotationsJohan Bilien2008-10-172-1/+8
| | | | | | | | | 2008-10-17 Johan Bilien <jobi@via.ecp.fr> * gir/glib-2.0.c: added annotations svn path=/trunk/; revision=741
* Merge branch 'bug556331-includecleanup'Colin Walters2008-10-161-3/+7
| | | | svn path=/trunk/; revision=724
* Disable check-local for nowJohan Dahlin2008-10-151-1/+1
| | | | svn path=/trunk/; revision=723
* check that typelib -> gir -> typelib transformation is lossless (it's not)Tommi Komulainen2008-10-151-0/+21
| | | | | | | | | 2008-10-15 Tommi Komulainen <tommi.komulainen@iki.fi> * gir/Makefile.am (check-local): check that typelib -> gir -> typelib transformation is lossless (it's not) svn path=/trunk/; revision=720
* Bug 552858: versioningColin Walters2008-10-121-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a big patch. You should probably remove your installation tree to be cleaner. * docs/typelib-format.txt: Add nsversion entry which holds version of namespace. * girepository/girepository.h: Add 'version' parameter to g_irepository_require. This may be NULL. Normally bindings should pass an explicit version though. * girepository/girepository.c: Lots of infrastructure to support versioning. Add some more documentation. Disallow some usage of NULL namespaces. * girepository/girmodule.c: Add version parameter. * girepository/gtypelib.c: Update header size. * giscanner/ast.py: Add version to Namespace. * giscanner/girparser.py: Parse version attribute from XML, pass to Namespace. * giscanner/girwriter.py: Write out version parameter. * giscanner/transformer.py: Clean up include registration. * tests/*: Add version attribute. * tests/invoke/invoke.c: Don't try looking up test before it's loaded in repository. * tools/generate.c: Output version parameter. * gir/Makefile.am: Add 2.0 version to .gir files. svn path=/trunk/; revision=677
* Add --xpath-assertions option to g-ir-scannerColin Walters2008-09-122-0/+5
| | | | | | | | | | | | * giscanner/minixpath.py: Code to run an "XPath" assertion against an XML tree, taken from gir-repository/gir/tests.py. * giscanner/Makefile.am: Ship it. * tools/g-ir-scanner: Add --xpath-assertions option. * gir/GLib-assertions.txt: Add a few assertions. * gir/Makefile.am: Run them. svn path=/trunk/; revision=592
* top_srcdir -> top_builddirJohan Dahlin2008-08-311-3/+3
| | | | svn path=/trunk/; revision=559
* Add a GModule.girJohan Dahlin2008-08-311-1/+25
| | | | | | | | | | 2008-08-31 Johan Dahlin <johan@gnome.org> * gir/Makefile.am: Add a GModule.gir svn path=/trunk/; revision=549
* Put dependencies in typelibs, resolve them when loadingColin Walters2008-08-301-6/+6
| | | | | | | | | | | | | | | | | | | * gir/Makefile.am: Dep on Makefile * girepository/ginfo.c: Print out a nicer error message if we failed to load something. * girepository/girepository.c: Clean up default typelib handling; remove global default_typelib variable. Ensure we handle NULL repository in more places. Support dependency resolution. * tests/Makefile.am: Kill off gobject.gir, it conflicts with the real one. * tests/Object.gir: Depend on GObject. * tools/generate.c: Take --includedir argument to say which directories to search for typelibs. Print out dependencies. svn path=/trunk/; revision=541
* Expand aliases when generating typelibsColin Walters2008-08-281-2/+2
| | | | | | | | | | | * gir/Makefile.am: Use --includedir * girepository/girparser.c: Recursively parse includes to pull in aliases and expand them. We need this to avoid putting unknown names in the typelibs. * tools/compiler.c: Add --includedir option. svn path=/trunk/; revision=512
* Make distcheck pass.Johan Dahlin2008-08-281-3/+3
| | | | | | | | | | | | | | | 2008-08-28 Johan Dahlin <johan@gnome.org> * Makefile.am: * configure.ac: * gir/Makefile.am: * giscanner/Makefile.am: * tests/Makefile.am: * tests/scanner/Makefile.am: Make distcheck pass. svn path=/trunk/; revision=507
* Remove generated filesJohan Dahlin2008-08-274-40591/+0
| | | | svn path=/trunk/; revision=505
* Make g-ir-scanner work on Windows. Still problems with the typelib code.Tor Lillqvist2008-08-271-5/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-27 Tor Lillqvist <tml@novell.com> Make g-ir-scanner work on Windows. Still problems with the typelib code. Changes okayed by jdahlin. * configure.ac: Check for Windows, set Automake conditional OS_WIN32. Change backslashes to forward slashes in pyexecdir to avoid shell quoting issues * girepository/Makefile.am: Use -no-undefined so that libtool agrees to build a shared library on Windows. * girepository/girparser.c (backtrace_stderr): No backtrace() on Windows. Empty implementation on Windows so far. * girepository/gtypelib.c (g_typelib_check_sanity): Give more informative error message for the assertion failures. Tell also what the expected size of the struct is. Check all sizes first and fail afterwards if at least one size was different from expected. * tools/Makefile.am: Reorder libraries into proper logical dependency order. * tools/generate.c: Don't include <dlfcn.h>, not used. * giscanner/Makefile.am: On Windows, link with the Python library, and install the module DLL as _giscanner.pyd. Remove the unnecessary import library and libtool library that libtool has installed. * giscanner/scannerlexer.l: Recognize the gcc __attribute__ syntax and just skip it. Recognize also two "l" suffixes for long long constants. Recognize also __inline__. * giscanner/grealpath.h (g_realpath): Implement on Windows, using GetFullPathName(). As such, GetFullPathName() does more than the UNIX realpath(). It also changes relative paths into absolute paths. But for our purposes that shouldn't matter. * giscanner/giscannermodule.c (pygi_source_scanner_parse_file): On Windows the file descriptor passed to us is from Python. Python Python2.5 uses the msvcr71.dll C library, while mingw-built code uses msvcrt.dll. On Windows, file descriptors are specific to which C library is used. So we must find out what underlying OS handle corresponds to the file descriptor Python passes us, and then make that into a file descriptor valid for the C library this code uses. * giscanner/sourcescanner.py (_parse): Don't need to bypass __attribute__ as the lexer now handles it. The definition as empty was ineffective for mingw anyway, as mingw's _mingw.h undefines __attribute__. Close the temp file before unlinking it. * giscanner/cgobject.py: Use correct library name for the gobject DLL on Windows. * gir/Makefile.am: Must pass the full basename of the DLLs on Windows to g-ir-scanner. It's a bit ugly that we have to "know" that the names of the GLib DLLs are like libglib-2.0-0.dll, but in reality they won't change, until there is a GLib 3, and then also the Unix code here needs changing. Must pass CPPFLAGS to g-ir-scanner when building GLib.gir so that libintl.h is found. svn path=/trunk/; revision=503
* Search $DATADIR/girepository instead of $DATADIR/gitypelibs; this namingColin Walters2008-08-261-1/+1
| | | | | | | | | | | | | 2008-08-26 Colin Walters <walters@verbum.org> * girepository/girepository.c: Search $DATADIR/girepository instead of $DATADIR/gitypelibs; this naming makes it clearer that e.g. jgir can install .jars there. * gir/Makefile.am: Install there. svn path=/trunk/; revision=502