Andreas Schwab [Sun, 27 Nov 2011 19:48:24 +0000 (20:48 +0100)]
giscanner: fix use after decref
Decrement reference to temporary string object only after last use of its
value.
Johan Dahlin [Mon, 5 Dec 2011 18:08:04 +0000 (16:08 -0200)]
Release 1.31.1
Marc-Antoine Perennou [Thu, 1 Dec 2011 10:16:38 +0000 (11:16 +0100)]
Makefile.introspection: allow buildir girs in subdirs
Formerly, trying to build gi/Foo-1.0.gir resulted in namespace being set to "gi/Foo"
Trying to build g-i/Foo-1.0.gir was even setting it to "g"
This fixes this behaviour by only considerating the filename without dirs.
Btw, ensure that the directory exists
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
https://bugzilla.gnome.org/show_bug.cgi?id=665276
Johan Dahlin [Mon, 5 Dec 2011 18:04:53 +0000 (16:04 -0200)]
Save .make-check-passed in builddir, so make distcheck passes
Jasper Lievisse Adriaanse [Mon, 5 Dec 2011 10:20:57 +0000 (11:20 +0100)]
- Fix a substitution:
use TOOL_SUBSTITUTIONS like the others, to fix an unsubstitued @datarootdir@ in g-ir-doc-tool
https://bugzilla.gnome.org/show_bug.cgi?id=659649
Jasper St. Pierre [Mon, 28 Nov 2011 09:59:47 +0000 (04:59 -0500)]
gitypelib: Fix compiler warnings
These variables are unused.
https://bugzilla.gnome.org/show_bug.cgi?id=665249
Jasper St. Pierre [Mon, 28 Nov 2011 09:56:58 +0000 (04:56 -0500)]
gibaseinfo: Fix compiler warnings
g_slice_free complains when you pass it a pointer of a different type
than it was expecting, like it should.
https://bugzilla.gnome.org/show_bug.cgi?id=665249
Albert Astals Cid [Tue, 29 Nov 2011 18:45:55 +0000 (18:45 +0000)]
scanner: Put the -l library names after the .o
That is how gcc expects them.
From the gcc man page:
-llibrary
Search the library named library when linking.
It makes a difference where in the command you write this option; the linker
searches and processes libraries and object files in the order they are
specified. Thus, foo.o -lz bar.o searches library z after file foo.o but
before bar.o. If bar.o refers to functions in z, those functions may not be
loaded.
https://bugzilla.gnome.org/show_bug.cgi?id=664616
Johan Dahlin [Fri, 25 Nov 2011 14:09:51 +0000 (12:09 -0200)]
Add a floating alias for none
https://bugzilla.gnome.org/show_bug.cgi?id=657202
Florian Müllner [Wed, 23 Nov 2011 21:48:26 +0000 (22:48 +0100)]
giscanner: Add gmodule-2.0 to compiler packages
Gio no longer draws in gmodule, so we need to add the dependency
explicitly.
https://bugzilla.gnome.org/show_bug.cgi?id=664681
Florian Müllner [Wed, 23 Nov 2011 22:05:22 +0000 (23:05 +0100)]
Fix build after GIO removed gmodule dependency
https://bugzilla.gnome.org/show_bug.cgi?id=664681
Jasper St. Pierre [Tue, 1 Nov 2011 19:45:02 +0000 (15:45 -0400)]
Update glib annotations
Jasper Lievisse Adriaanse [Fri, 18 Nov 2011 11:01:22 +0000 (12:01 +0100)]
OpenBSD uses it's own libtool implementation which breaks giscanner in certain
situations. So adjust resolve_non_libtool() in this case.
https://bugzilla.gnome.org/show_bug.cgi?id=664282
Daniel Drake [Sun, 30 Oct 2011 14:57:58 +0000 (14:57 +0000)]
libxml2: add exported package name
This is needed so that g-ir-scanner can find the libxml2 include
path when producing bindings for libraries that interact with libxml2.
Colin Walters [Fri, 4 Nov 2011 00:33:53 +0000 (20:33 -0400)]
scanner: Only add rpaths for absolute directories
We shouldn't do it for module-internal paths, since it can't work
and is unnecessary even if it did.
Colin Walters [Thu, 3 Nov 2011 22:23:53 +0000 (18:23 -0400)]
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.
Tomeu Vizoso [Sat, 29 Oct 2011 13:00:26 +0000 (15:00 +0200)]
Add tests for chaining up from vfuncs to ancestors
Colin Walters [Wed, 26 Oct 2011 15:36:32 +0000 (11:36 -0400)]
configure: Update to 1.31.0
Mikkel Kamstrup Erlandsen [Tue, 4 Oct 2011 10:01:42 +0000 (12:01 +0200)]
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>
Martin Pitt [Fri, 21 Oct 2011 14:13:02 +0000 (16:13 +0200)]
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
Colin Walters [Thu, 20 Oct 2011 21:15:32 +0000 (17:15 -0400)]
tests: Also dist headeronly.h
Spotted by Rico Tzschichholz
Dieter Verfaillie [Mon, 5 Sep 2011 15:46:20 +0000 (17:46 +0200)]
Windows port: fix _resolve_non_libtool
By simply appending '.dll' to the library names.
https://bugzilla.gnome.org/show_bug.cgi?id=620566
Colin Walters [Thu, 20 Oct 2011 17:47:37 +0000 (13:47 -0400)]
tests: Actually add headeronly.h
Sjoerd Simons [Wed, 19 Oct 2011 22:26:35 +0000 (23:26 +0100)]
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.
Colin Walters [Wed, 19 Oct 2011 19:46:29 +0000 (15:46 -0400)]
Makefile.introspection: Allow usage with --header-only
Colin Walters [Wed, 19 Oct 2011 18:44:48 +0000 (14:44 -0400)]
scanner: Support --header-only flag
This is useful for someone who just wants a set of constants from a .h
file accessible by introspection.
Colin Walters [Tue, 18 Oct 2011 19:25:27 +0000 (15:25 -0400)]
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
Alberto Ruiz [Tue, 18 Oct 2011 15:45:38 +0000 (16:45 +0100)]
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
Colin Walters [Mon, 17 Oct 2011 18:55:56 +0000 (14:55 -0400)]
message: Show the file/line even when processing FATAL
This helps debug. Also, add a 'fatal' debug break.
John (J5) Palmieri [Fri, 14 Oct 2011 21:31:28 +0000 (17:31 -0400)]
add test for checking refcounting of signals with transfer none object params
Dan Winship [Thu, 13 Oct 2011 16:21:22 +0000 (12:21 -0400)]
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
Colin Walters [Wed, 12 Oct 2011 13:49:06 +0000 (09:49 -0400)]
dumper: Don't call g_thread_init(), g_type_init() is enough
g_thread_init() is deprecated, and unnecessary since GLib 2.24.
Natanael Copa [Mon, 10 Oct 2011 13:37:55 +0000 (13:37 +0000)]
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>
Jasper St. Pierre [Wed, 5 Oct 2011 20:31:43 +0000 (16:31 -0400)]
giconstantinfo: Add API to fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=654069
Colin Walters [Mon, 3 Oct 2011 14:03:30 +0000 (10:03 -0400)]
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
Jasper Lievisse Adriaanse [Fri, 30 Sep 2011 06:59:12 +0000 (08:59 +0200)]
Adjust dlopened library name on OpenBSD so we always pick the right one.
https://bugzilla.gnome.org/show_bug.cgi?id=660523
Colin Walters [Fri, 30 Sep 2011 14:41:58 +0000 (10:41 -0400)]
gitypelibtest: Remove test on TestStructE size
It's redundant since we're already checking that it's equal to GValue,
and a problem is that padding may break exact assertions on the size.
https://bugzilla.gnome.org/show_bug.cgi?id=660338
Martin Pitt [Wed, 28 Sep 2011 08:25:26 +0000 (08:25 +0000)]
Bug 660338: Account for padding in struct size check
On some platform like armel or powerpc the compiler adds extra padding to
structs. Make the test_size_of_struct_with_array_of_anon_unions() check more
liberal by only requiring that the size of the struct is at least as big as
expected. Also use g_assert_cmpuint() to make it easier to see the actual diff.
Stef Walter [Wed, 28 Sep 2011 12:01:26 +0000 (14:01 +0200)]
Skip analysis of params that have been (skip)'d
Otherwise we get warnings for params that have been skipped
https://bugzilla.gnome.org/show_bug.cgi?id=660352
Colin Walters [Wed, 21 Sep 2011 17:13:45 +0000 (13:13 -0400)]
repository: Fix g_irepository_get_c_prefix()
It was returning the wrong data.
https://bugzilla.gnome.org/show_bug.cgi?id=659749
Colin Walters [Tue, 20 Sep 2011 21:00:31 +0000 (17:00 -0400)]
configure: Release 1.30
Dieter Verfaillie [Mon, 19 Sep 2011 18:20:35 +0000 (20:20 +0200)]
Fix incorrect extension for tempfile
I set ext to None in commit
f2a70843905839a1b11795310d2aa3b85a474e77
without realizing _generate_tempfile does a simple string formatting.
A simple test proves this does not generate an empty string:
$ python -c "f = '%s' % None; print f, type(f)"
None <type 'str'>
So pass an empty string instead of None for the suffix parameter.
https://bugzilla.gnome.org/show_bug.cgi?id=659502
Dieter Verfaillie [Sat, 17 Sep 2011 11:30:28 +0000 (13:30 +0200)]
Fix linking against libpython
- AM_CHECK_PYTHON_LIBS doesn't work for 64bit sytems (lib64)
- Python extension modules do not need to be linked against
libpython on linux anyway, but it is needed on Windows
So only run AM_CHECK_PYTHON_LIBS in configure.ac for the windows
case and make it clear in Makefile-giscanner.am linking
against libpython is a windows only thing.
https://bugzilla.gnome.org/show_bug.cgi?id=658914
John (J5) Palmieri [Thu, 15 Sep 2011 18:49:13 +0000 (14:49 -0400)]
add tests for arrays of simple structs and arrays of gvalue
* for now we assume simple struct arrays and gvalue arrays are flat
until gi gets support for annotating the level of indirection
of an array.
Johan Dahlin [Tue, 13 Sep 2011 14:57:28 +0000 (11:57 -0300)]
Add constant value annotation
Add an annotation tag "Value:" which can be used on
constants to override the value.
Colin Walters [Tue, 13 Sep 2011 14:10:24 +0000 (10:10 -0400)]
tests: Add gir/ to toplevel typelib path
Fixes the test when running uninstalled.
Colin Walters [Mon, 12 Sep 2011 18:29:17 +0000 (14:29 -0400)]
scanner: Don't add redundant notify signal
It was actually introduced by
e0fea819f0da1ca60cce3280e7e21f3d2955be3a
Pavel Holejsovsky [Mon, 12 Sep 2011 17:54:39 +0000 (19:54 +0200)]
Fix g_type_info_is_pointer() for overriden types of arguments.
Algorithm which detects whether argument type is pointer checks for
trailing '*' characters in c:type .gir elements. This failed if ctype
is either 'gpointer' or 'gconstpointer'. Add specific check for
gpointer/gconstpointer types when deducing pointerness of the type.
https://bugzilla.gnome.org/show_bug.cgi?id=658848
Colin Walters [Mon, 12 Sep 2011 18:10:54 +0000 (14:10 -0400)]
scanner: Only add notify signal to Object, not ParamSpec etc.
Torsten Schönfeld [Sat, 10 Sep 2011 14:52:51 +0000 (16:52 +0200)]
scanner: correctly handle structs with arrays of anon unions
This applies mainly to GValue, which is defined as:
struct _GValue
{
/*< private >*/
GType g_type;
/* public for GTypeValueTable methods */
union {
gint v_int;
guint v_uint;
glong v_long;
gulong v_ulong;
gint64 v_int64;
guint64 v_uint64;
gfloat v_float;
gdouble v_double;
gpointer v_pointer;
} data[2];
};
Previously, the scanner did not understand the array of unions. This
resulted in g_struct_info_get_size returning an incorrect size for
GValue (at least on 32bit systems).
Fix this by making up a separate union declaration for the GIR that can
be referenced by the array.
https://bugzilla.gnome.org/show_bug.cgi?id=657040
Colin Walters [Fri, 9 Sep 2011 22:07:19 +0000 (18:07 -0400)]
scanner: Add "notify" signal to GObject
For gjs we want to switch to using introspection data for signals, and
the "notify" signal being missing from GObject was a problem.
Dieter Verfaillie [Mon, 5 Sep 2011 14:51:30 +0000 (16:51 +0200)]
Windows port: additionally set PATH in common.mk
Windows doesn't know about LPATH, but PATH is part
of it's .dll search order.
https://bugzilla.gnome.org/show_bug.cgi?id=620566
Dieter Verfaillie [Wed, 7 Sep 2011 20:34:38 +0000 (22:34 +0200)]
Revert "Windows port: Make g-ir-annotiotion-tool, g-ir-doc-tool and g-ir-scanner 'relocatable' at runtime."
It's a bit too soon for this one, misunderstood review on irc.
Apologies for the mess!
This reverts commit
0102c517c44d3e8fc3baf2394cb92281511941e3.
Dieter Verfaillie [Mon, 5 Sep 2011 19:49:05 +0000 (21:49 +0200)]
Windows port: Make g-ir-annotiotion-tool, g-ir-doc-tool and g-ir-scanner 'relocatable' at runtime.
https://bugzilla.gnome.org/show_bug.cgi?id=620566
Dieter Verfaillie [Mon, 5 Sep 2011 19:54:18 +0000 (21:54 +0200)]
Windows port: g-ir-scanner: Accept -m flags
Some pkgconfig files contain these flags on Windows, for example
gtk+-3.0.pc has -mms-bitfields in it's Cflags. Nothing is done yet
with these though, we only accept these flags for now...
https://bugzilla.gnome.org/show_bug.cgi?id=620566
Dieter Verfaillie [Mon, 5 Sep 2011 19:47:35 +0000 (21:47 +0200)]
Windows port: disable barapp test program on Windows
https://bugzilla.gnome.org/show_bug.cgi?id=620566
Dieter Verfaillie [Mon, 5 Sep 2011 19:47:08 +0000 (21:47 +0200)]
Windows port: set CAIRO_LIBS in LIBADD, not LDFLAGS
https://bugzilla.gnome.org/show_bug.cgi?id=620566
Dieter Verfaillie [Mon, 5 Sep 2011 19:34:57 +0000 (21:34 +0200)]
Windows port: Export all symbols on Windows.
https://bugzilla.gnome.org/show_bug.cgi?id=620566
Dieter Verfaillie [Mon, 5 Sep 2011 19:31:50 +0000 (21:31 +0200)]
Windows port: the tmpfile is going to be an exe...
... on Windows, so take care of the extension.
https://bugzilla.gnome.org/show_bug.cgi?id=620566
Dieter Verfaillie [Mon, 5 Sep 2011 16:48:10 +0000 (18:48 +0200)]
Windows port: dont't build gi-dump-types...
... on Windows, as it uses gio-unix.
https://bugzilla.gnome.org/show_bug.cgi?id=620566
Dieter Verfaillie [Mon, 5 Sep 2011 15:49:45 +0000 (17:49 +0200)]
Windows port: Do not append '/usr/share' to _xdg_data_dirs...
... on Windows as it points to the MinGW installation directory,
which doesn't have any .gir files to start with anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=620566
Dieter Verfaillie [Mon, 5 Sep 2011 15:19:39 +0000 (17:19 +0200)]
Windows port: compute GOBJECT_INTROSPECTION_LIBDIR at runtime.
Otherwise, we fail to properly locate the typelibs, because on Windows
the value of GOBJECT_INTROSPECTION_LIBDIR depends on where Glib has been
installed. Due to the nature of how we handle software that depends on
Glib on Windows (it is recommended that each program bundles it's private
copy), we're working in a "multi-prefixed" environment. Hence the value
computed at build time will most likely not even exist at runtime.
https://bugzilla.gnome.org/show_bug.cgi?id=620566
Dieter Verfaillie [Mon, 5 Sep 2011 15:00:37 +0000 (17:00 +0200)]
Windows port: cmph_time.h includes sys/resource.h which is not available on Windows.
So only include it when WIN32 is not defined.
https://bugzilla.gnome.org/show_bug.cgi?id=620566
Dieter Verfaillie [Mon, 5 Sep 2011 15:39:40 +0000 (17:39 +0200)]
Windows port: Work arount MSYS weirdness where it changes --libtool= command line arguments.
This continues to reuse the LIBTOOL variable from automake if it's set,
but works around some MSYS weirdness: When running g-ir-scanner, MSYS
changes a command-line argument --libtool="/bin/sh ../../libtool" into
--libtool=c:/opt/msys/1.0/bin/libtool. So just use sh.exe without path
because we already "know" where the libtool configure produced is.
https://bugzilla.gnome.org/show_bug.cgi?id=620566
Dieter Verfaillie [Mon, 5 Sep 2011 13:54:14 +0000 (15:54 +0200)]
Windows port: Simplify _giscanner's .pyd file extension handling.
By simply using -shrext ".pyd".
https://bugzilla.gnome.org/show_bug.cgi?id=620566
Dieter Verfaillie [Mon, 5 Sep 2011 13:53:15 +0000 (15:53 +0200)]
Windows port: set CAIRO_SHARED_LIBRARY in configure.ac
Both when x$have_cairo_gobject = xyes and x$have_cairo = xyes.
https://bugzilla.gnome.org/show_bug.cgi?id=620566
Dieter Verfaillie [Mon, 5 Sep 2011 13:52:21 +0000 (15:52 +0200)]
Windows port: check for OS_WIN32 in configure.ac
Without repeated output created by AC_MSG_CHECKING([for Win32])
https://bugzilla.gnome.org/show_bug.cgi?id=620566
Dieter Verfaillie [Mon, 5 Sep 2011 13:48:26 +0000 (15:48 +0200)]
Windows port: Use an improved python.m4
- AM_CHECK_PYTHON_HEADERS macro now allows PYTHON_INCLUDES to be overridden
from an environment variable and
- the new AM_CHECK_PYTHON_LIBS macro to check for ability to link against
libpython. This also allows PYTHON_LIBS and PYTHON_LIB_LOC to be overridden
from their respective environment variables.
This allows gobject-introspection to be built with MinGW/MSYS by doing:
PYTHON_DIR="/c/Python27"
SRC_DIR="/d/dev/gnome.org/checkout/gobject-introspection/src"
...
PYTHON_INCLUDES="-I${PYTHON_DIR}/include/" \
PYTHON_LIBS="-L${PYTHON_DIR}/libs/ -lpython${PYTHON_VERSION}" \
PYTHON_LIB_LOC="${PYTHON_DIR}/libs/" \
"${SRC_DIR}/configure" \
https://bugzilla.gnome.org/show_bug.cgi?id=620566
Colin Walters [Sat, 3 Sep 2011 18:46:51 +0000 (14:46 -0400)]
common.mk: Drop incorrect $(EXEEXT) extension on scripts
It only applies to native binaries.
Andoni Morales Alastruey [Sat, 3 Sep 2011 17:53:49 +0000 (19:53 +0200)]
Let the user override the default compiler with the CC env variable
Andoni Morales Alastruey [Sat, 3 Sep 2011 10:49:22 +0000 (12:49 +0200)]
Fix compilation with mingw
grealpath.h defines GetFullPathNameA() as windows.h is
not imported, but for gitscanner.c, windows.h is imported and the compiler
throws an error.
Andoni Morales Alastruey [Sat, 3 Sep 2011 10:44:41 +0000 (12:44 +0200)]
windows: Use the real python version instead of an hardcoded one
Andoni Morales Alastruey [Sat, 3 Sep 2011 14:23:20 +0000 (16:23 +0200)]
windows: Fix extension of g-ir-compiler to include EXE
Colin Walters [Sat, 3 Sep 2011 16:34:29 +0000 (12:34 -0400)]
gi-dump-types: New uninstalled debugging program
Usage: ./_build/gi-dump-types g_object_get_type
Colin Walters [Sat, 3 Sep 2011 16:02:54 +0000 (12:02 -0400)]
girffi: Remove unnecessary sys/mman.h include
While we're here move config.h to the top for consistency.
Vincent Untz [Fri, 2 Sep 2011 16:40:54 +0000 (18:40 +0200)]
regress: Fix wrong type of variable in regression test
https://bugzilla.gnome.org/show_bug.cgi?id=658075
Pavel Holejsovsky [Wed, 31 Aug 2011 11:05:22 +0000 (13:05 +0200)]
Regenerated GLib annotation cache
Regenerated from glib
fe4fc3e8b5a5ad8d4113c4df1fe8e0e9f295035e
Colin Walters [Tue, 30 Aug 2011 23:33:20 +0000 (19:33 -0400)]
Install docbookdescription.py
https://bugzilla.gnome.org/show_bug.cgi?id=657686
Colin Walters [Tue, 30 Aug 2011 02:42:56 +0000 (22:42 -0400)]
configure: Post-release version bump
Colin Walters [Tue, 30 Aug 2011 02:38:53 +0000 (22:38 -0400)]
gimarshallingtests.h: Remove unimplemented functions
The new missing-element-type warning triggers for these.
Colin Walters [Tue, 30 Aug 2011 02:37:08 +0000 (22:37 -0400)]
build: Update prepare-minor-release to use xz compression
Colin Walters [Tue, 30 Aug 2011 02:17:02 +0000 (22:17 -0400)]
scanner: Don't try to copy c:type if we're parsing (element-type)
Commit
81abc2eb63317003a11d1484e84698a37e8ec035 tries harder to keep
the c:type if it was overriden by a (type) annotation. However, the
_resolve() function was also called for (element-type), which had
undesirable effects - we'd copy the container c:type to the element
type.
Fix this by splitting out the c:type preservation to only happen when
processing toplevel types.
https://bugzilla.gnome.org/show_bug.cgi?id=656931
Colin Walters [Tue, 30 Aug 2011 01:58:31 +0000 (21:58 -0400)]
scanner: Remove some dead debugging code
Colin Walters [Tue, 30 Aug 2011 01:51:34 +0000 (21:51 -0400)]
Fix warning for missing (element-type)
While looking for a different bug, I noticed that the introspectable
pass lists was missing GSList. And the warning was never set up
to fire anyways. Fix it and add a test.
Johan Dahlin [Mon, 29 Aug 2011 12:07:39 +0000 (09:07 -0300)]
Add make-check-passed to gitignore
Johan Dahlin [Mon, 29 Aug 2011 12:07:17 +0000 (09:07 -0300)]
Use INTROSPECTION_SCANNER_ENV in Makefile.introspection
Johan Dahlin [Mon, 29 Aug 2011 08:55:26 +0000 (05:55 -0300)]
Add a make-check check to pre-commit hook
Pavel Holejsovsky [Sun, 28 Aug 2011 09:44:52 +0000 (11:44 +0200)]
Avoid most of the special-casing of GObject.Object in the scanner
There were some cases of handling GObject and GInitiallyUnowned which
were not necessary. Removing special cases from them simplified code
and as a bonus it added 'GObject::notify' signal into GIR, which was
not there previously.
https://bugzilla.gnome.org/show_bug.cgi?id=657446
Xavier Claessens [Thu, 16 Jun 2011 10:36:28 +0000 (12:36 +0200)]
add regression test for skipped #define
Xavier Claessens [Tue, 2 Aug 2011 10:03:57 +0000 (12:03 +0200)]
Add a regress test for a method returning GPtrArray
Giovanni Campagna [Fri, 26 Aug 2011 14:47:02 +0000 (16:47 +0200)]
Revert "xlib: fix the type of XID"
This reverts commit
3553cd0a4631f1b57fb608e3f3f78a1a0cfd602a.
Turns out it was wrong, XID is 64 bit on a 64 bit system. Plus
the scanner doesn't like multiple level typedefs.
Giovanni Campagna [Tue, 1 Mar 2011 21:33:20 +0000 (22:33 +0100)]
xlib: fix the type of XID
XIDs are CARD32, which corresponds to guint32 on all platform, not
gulong (which is 64 bit on x86_64). Fix that, and use alias indirection
to more accurately reflect the typedefs.
https://bugzilla.gnome.org/show_bug.cgi?id=643620
Javier Jardón [Fri, 26 Aug 2011 11:38:45 +0000 (12:38 +0100)]
configure.ac: Do not generate template files
It's not needed as the project uses inline comments
for documentation.
Javier Jardón [Fri, 26 Aug 2011 11:15:40 +0000 (12:15 +0100)]
configure.ac: Generate xz tarball with ustar format by default
Javier Jardón [Fri, 26 Aug 2011 11:14:20 +0000 (12:14 +0100)]
Update autotools configuration
Replace deprecated autoconf macros
Use new libtool syntax
Javier Jardón [Sun, 19 Jun 2011 21:16:12 +0000 (22:16 +0100)]
autogen.sh: Use autoreconf instead custom script
Pavel Holejsovsky [Fri, 19 Aug 2011 19:20:10 +0000 (21:20 +0200)]
Fix g_irepository_find_by_gtype() for GDK_TYPE_RECTANGLE
Complement fix for g-ir-scanner which converts every GdkRectangle
gtype to CairoRectangleInt. Make sure that C-side API is also aware
of this workaround.
Use case requiring this patch:
When binding implementation wants to get/set property, it can use either
GI-based approach (g_property_info_xxx() funcs), or just GLib facilities.
Although former is probably preferred, there are cases when latter is still
needed (e.g. gstreamer uses dynamic properties, which are not present in the
gir). In this case, binding implementation queries the type of the propertyb
(using g_object_class_find_property()), it gets GDK_TYPE_RECTANGLE,
and without the patch it cannot map it to any known type.
https://bugzilla.gnome.org/show_bug.cgi?id=655423
Pavel Holejsovsky [Sat, 13 Aug 2011 11:10:53 +0000 (13:10 +0200)]
Properly handle GParamSpec and descendants
GParamSpec is introspected as fundamental class, and all GObject
classes derived from it (e.g. GParamSpecChar) are marked as such.
https://bugzilla.gnome.org/show_bug.cgi?id=656440
Jasper St. Pierre [Wed, 24 Aug 2011 17:29:04 +0000 (13:29 -0400)]
Jasper St. Pierre [Wed, 24 Aug 2011 17:53:59 +0000 (13:53 -0400)]
Remove MAINTAINERS and add DOAP