summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add directory index sectionwip/cmphColin Walters2010-10-253-11/+144
| | | | | | | | Use the internal perfect hashing API to add an index to the directory. To support this, add the notion of additional "sections" to the typelib. A section index is inserted between the header and the directory.
* Fully flesh out gthash.c, add testColin Walters2010-10-257-25/+195
|
* Sketch out typelib hashing functions built on CMPHColin Walters2010-10-253-2/+128
|
* Add a test for CMPH-BDZColin Walters2010-10-243-1/+154
|
* Import cmph-1.0.tar.gzColin Walters2010-10-2366-72/+11540
| | | | | The only modification really was to change cmph_types.h to use the GLib types, rather than having two random ifdefs for x86_64 and ia64.
* Remove COPYING from .gitignoreColin Walters2010-10-231-1/+0
| | | | Why the heck was it in there?
* Fix previous commitColin Walters2010-10-221-1/+1
|
* Handle CC="ccache gcc" for linker command tooColin Walters2010-10-221-1/+2
| | | | | The compiler path explicitly split()s the variable, we should do so in the linker path too.
* Fix regression in g_irepository_get_infoColin Walters2010-10-212-3/+7
| | | | | | | Commit f97cc8687469f25752f79275 broke the lookup in g_irepository_get_info; the passed offset is 0-based, then we convert it to 1-based (and then back to 0 later...which needs to be fixed).
* scanner: Support GStrv as signal parametersColin Walters2010-10-213-0/+39
|
* scanner: Don't process pkg-config libs twiceColin Walters2010-10-192-13/+3
| | | | | | | | | | | | Before, we were adding the --libs-only-L from pkg-config files during initial scanning, as if --library-path was specified, *and* inside the dumper, we used --libs. Fix this by always doing -L. <introspected libraries> <pkg-config libs> This should ensure we don't duplicate the search path anyways. https://bugzilla.gnome.org/show_bug.cgi?id=631348
* Accept trailing whitespace at the start of a comment blockColin Walters2010-10-194-5/+24
| | | | | | Might as well be liberal here, as long as we have a test case. https://bugzilla.gnome.org/show_bug.cgi?id=631690
* girepository: Refactor lookup codeColin Walters2010-10-183-146/+150
| | | | | | | | | | | This is a cleanup patch in preparation for future indexing patches. The lookup code was a mess trying to mash in the 3 different cases of name, GType, and index into one mega-function. Split it up properly, and move the core typelib internal-scanning bits into gitypelib.c where it belongs.
* configure: Bump to 0.10 seriesColin Walters2010-10-111-2/+2
|
* typelib: Don't fail on minor versiong-i-0.9Colin Walters2010-10-111-1/+1
| | | | | | Previously we bombed out if the minor version didn't match what we expected; this was silly since the whole point of the minor version is to enumerate compatible changes.
* scanner: Don't leave temporary directory around if we failColin Walters2010-10-072-17/+30
| | | | | ...by default. However, the GI_SCANNER_DEBUG=save-temps option helps for debugging.
* configure: Post-release version bumpColin Walters2010-10-061-1/+1
|
* configure: Release 0.9.12GOBJECT_INTROSPECTION_0_9_12Colin Walters2010-10-061-1/+1
|
* docs: Don't conditionalize on ENABLE_GTK_DOCColin Walters2010-10-061-2/+0
| | | | | | | | | OS vendors which compile from the part-binary "tarballs" which include e.g. pregenerated gtk-doc, they typically don't pass --enable-gtk-doc. So conditionalizing "make install" for docs on ENABLE_GTK_DOC won't work. This is the same as GTK+ and other projects currently work.
* dist: Don't use gpg for tags by defaultColin Walters2010-10-061-1/+1
| | | | | I don't have a GPG key setup anymore, not interested in the archaeology to find it right now.
* Improve documentation for g_registered_type_info_get_g_typeGOBJECT_INTROSPECTION_0_9_11Johan Dahlin2010-10-061-1/+4
|
* Revert "Apply `(type bitfield)' annotations for enums"Johan Dahlin2010-10-063-22/+2
| | | | This reverts commit d15e386c8e10dd6b645a444e29cc053100089a07.
* Revert "block can be None, fixup last commit"Johan Dahlin2010-10-061-4/+3
| | | | This reverts commit 754e5462f6dfbe3793eb959abf3dbfa7d2fe6435.
* chose extension basing on OSAlexey Zakhlestin2010-10-061-2/+11
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=606686
* block can be None, fixup last commitJohan Dahlin2010-10-051-3/+4
|
* Apply `(type bitfield)' annotations for enumsAndreas Rottmann2010-10-053-2/+22
| | | | Previously, such annotations would be ignored.
* upload-release: Use bz2Johan Dahlin2010-10-031-3/+3
|
* Silently skip #pragma directives when scanning sources.Pavel Holejsovsky2010-10-031-0/+1
| | | | | | | This is useful e.g. on cygwin, where system headers use #pragma directives, causing annoying false-alarm errors during every g-ir-scanner run. https://bugzilla.gnome.org/show_bug.cgi?id=630994
* Honor -L commandline option.Pavel Holejsovsky2010-10-031-0/+3
|
* 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.
* Add -export-dynamic when compiling with libtoolOwen W. Taylor2010-09-301-0/+2
| | | | | | In some cases (such as introspecting a convenience library), we need to dlsym() modules in the binary we compile, so we need to add -export-dynamic to the link line.
* configure: post-release version bumpColin Walters2010-09-301-1/+1
|
* configure: Change to bzip2 distGOBJECT_INTROSPECTION_0_9_10Colin Walters2010-09-301-1/+1
| | | | We want to use bzip2 since that's what Fedora uses.
* gir: Explicitly specify path to girepository so libtool can find itColin Walters2010-09-301-1/+1
| | | | | This was broken with the last commit to remove a lot of the special hacks to link to girepository in the dumper.
* configure: Post release version bumpColin Walters2010-09-301-1/+1
|
* scanner: Don't link to -lgirepository when dumpingGOBJECT_INTROSPECTION_0_9_9Colin Walters2010-09-303-40/+36
| | | | | | | | 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
* tests: Specify --libtoolColin Walters2010-09-301-0/+2
| | | | Should switch to Makefile.introspection in the future.
* glib-2.0.c: Fix invalid annotation syntaxColin Walters2010-09-291-4/+4
|
* scanner: Abort if we would be generating an empty namespaceColin Walters2010-09-292-0/+10
| | | | | | | | | Kind of silly we weren't doing this before; an empty namespace is always going to be unintentional. The "oops I forgot to include .h" files actually happened with Clutter, but it wasn't caught since the build didn't obviously fail.
* scanner: Don't duplicate fatal message textColin Walters2010-09-291-1/+2
|
* Fix testsColin Walters2010-09-292-2/+10
|
* Actually do something about fundamentals when parsing a .girTomeu Vizoso2010-09-291-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=630710
* configure: Post-release version bumpColin Walters2010-09-281-1/+1
|
* annotationparser: Don't ignore annotations if there's a : in docsGOBJECT_INTROSPECTION_0_9_8Colin Walters2010-09-283-1/+21
| | | | | | | | The annotation parser changed to be stricter about annotation content, but we introduced a regression where a : in the documentation would wrongly cause the annotation to be skipped. https://bugzilla.gnome.org/show_bug.cgi?id=630862
* Fix --include-uninstalledColin Walters2010-09-281-3/+3
| | | | | Somehow, this regressed; i have no idea how. We need to be comparing Include objects, not string versus Include.
* configure: post-release version bumpColin Walters2010-09-281-1/+1
|
* Modify Regress impl so that inout args ignore (transfer) for 'in' direction.GOBJECT_INTROSPECTION_0_9_7Pavel Holejsovsky2010-09-281-9/+9
| | | | | | ... because for 'in' arguments only (transfer none) is correct. https://bugzilla.gnome.org/show_bug.cgi?id=630788
* Remove Regress tests with input args with transfer full or container.Pavel Holejsovsky2010-09-283-260/+0
| | | | | | | Declaring input parameters with transfer other than none is discouraged, so don't do it in the testsuite. https://bugzilla.gnome.org/show_bug.cgi?id=630788
* regress: Remove busted testsColin Walters2010-09-273-64/+0
| | | | | We don't want people making functions which take ownership of arguments, so don't do it in the test suite.
* scanner: fail if cpp failsVincent Untz2010-09-271-0/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=630101