Revert "gitypelibtest: Remove test on TestStructE size"

This reverts commit e17c09749c23edbd928db19a8162484ddb6299b8.

We actually want the test for sizeof(GValue).

https://bugzilla.gnome.org/show_bug.cgi?id=660338
giconstantinfo: Add API to fix memory leak

https://bugzilla.gnome.org/show_bug.cgi?id=654069
scanner: split CC environment variable

This fixes compilation where CC="ccache gcc" and similar.

https://bugzilla.gnome.org/show_bug.cgi?id=660160

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
dumper: Don't call g_thread_init(), g_type_init() is enough

g_thread_init() is deprecated, and unnecessary since GLib 2.24.
scanner: allow GObject.Object as a superclass return type

6172c268 made the scanner think GObject* wasn't a superclass of its
subclasses. Fix that.

https://bugzilla.gnome.org/show_bug.cgi?id=661677
add test for checking refcounting of signals with transfer none object params
message: Show the file/line even when processing FATAL

This helps debug.  Also, add a 'fatal' debug break.
parser: prevents a segfault when _g_ir_parser_parse_string returns NULL error was not set.

Noticed the segmentation fault while using Vala to generate a .gir, a bug has
been filed tomake sure Vala doesn't export gir symbols outside of a namespace
(see https://bugzilla.gnome.org/show_bug.cgi?id=661952)

https://bugzilla.gnome.org/show_bug.cgi?id=661951
barapp: Don't call g_thread_init()

We don't need to, and if we wanted to, we have to link against
-lgthread.

Spotted by Rico Tzschichholz
scanner: Support --header-only flag

This is useful for someone who just wants a set of constants from a .h
file accessible by introspection.
Makefile.introspection: Allow usage with --header-only
Use the correct size when freeing unused info

A GIBaseInfo struct can underneath either be GIRealInfo *or*
GIUnresolvedInfo if the type is GI_INFO_TYPE_UNRESOLVED. So when we
eventually free the structures slice use the correct struct type
otherwise things get unhappy.
tests: Actually add headeronly.h
Windows port: fix _resolve_non_libtool

By simply appending '.dll' to the library names.

https://bugzilla.gnome.org/show_bug.cgi?id=620566
tests: Also dist headeronly.h

Spotted by Rico Tzschichholz
Add regress test method for a (skip) return value without out arguments

This is a requisite for writing a pygobject test case for
https://bugzilla.gnome.org/show_bug.cgi?id=662383
fixes and more tests for marshalling of arrays of gvariants

Fix return type annotation for gi_marshalling_tests_array_gvariant_in()

Add function variations of gi_marshalling_tests_array_gvariant_i() with
different transfer modes.

Make gi_marshalling_tests_array_gvariant_none_in() actually respect
the transfer none  annotation on the return value.

https://bugzilla.gnome.org/show_bug.cgi?id=638915

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
configure: Update to 1.31.0
Add tests for chaining up from vfuncs to ancestors
scanner: Also add an RPATH for library paths specified

Introspection scanning is a bit special in that we both compile *and*
run a temporary binary.  In some cases like jhbuild we will pick up
the runtime location of libraries via LD_LIBRARY_PATH.  But this falls
over when we've been given a private subdirectory, since it won't be
in that path.

Let's just "do the right thing" here by injecting an rpath for the
directories as well.