platform/upstream/gobject-introspection.git
12 years agoMention g-ir-doc-tool in the README
Tomeu Vizoso [Mon, 20 Feb 2012 17:12:23 +0000 (18:12 +0100)]
Mention g-ir-doc-tool in the README

12 years agog-ir-doc-tool: Add some more stuff to Enum pages
Tomeu Vizoso [Mon, 20 Feb 2012 16:35:08 +0000 (17:35 +0100)]
g-ir-doc-tool: Add some more stuff to Enum pages

12 years agog-ir-doc-tool: Display the hierarchy tree for classes
Tomeu Vizoso [Mon, 20 Feb 2012 15:57:14 +0000 (16:57 +0100)]
g-ir-doc-tool: Display the hierarchy tree for classes

12 years agog-ir-doc-tool: Install the Mako template files
Tomeu Vizoso [Mon, 20 Feb 2012 14:38:15 +0000 (15:38 +0100)]
g-ir-doc-tool: Install the Mako template files

12 years agog-ir-doc-tool: Add AM_CHECK_PYMOD macro and use it to check for Mako
Tomeu Vizoso [Mon, 20 Feb 2012 14:01:30 +0000 (15:01 +0100)]
g-ir-doc-tool: Add AM_CHECK_PYMOD macro and use it to check for Mako

12 years agog-ir-doc-tool: Remove stale DocBook files
Tomeu Vizoso [Mon, 20 Feb 2012 13:36:36 +0000 (14:36 +0100)]
g-ir-doc-tool: Remove stale DocBook files

12 years agog-ir-doc-tool: Properly link to property pages
Tomeu Vizoso [Mon, 20 Feb 2012 13:20:22 +0000 (14:20 +0100)]
g-ir-doc-tool: Properly link to property pages

12 years agog-ir-doc-tool: Fix names of xref links
Tomeu Vizoso [Mon, 20 Feb 2012 12:55:37 +0000 (13:55 +0100)]
g-ir-doc-tool: Fix names of xref links

12 years agog-ir-doc-tool: Move constructor example to follow the class doc body
Tomeu Vizoso [Mon, 20 Feb 2012 12:44:00 +0000 (13:44 +0100)]
g-ir-doc-tool: Move constructor example to follow the class doc body

12 years agog-ir-doc-tool: Properly link to signal pages
Tomeu Vizoso [Mon, 20 Feb 2012 12:43:30 +0000 (13:43 +0100)]
g-ir-doc-tool: Properly link to signal pages

12 years agog-ir-doc-tool: Fix the id of signal pages for Python
Tomeu Vizoso [Mon, 20 Feb 2012 12:42:43 +0000 (13:42 +0100)]
g-ir-doc-tool: Fix the id of signal pages for Python

12 years agog-ir-doc-tool: Qualify the class name in the constructor with the module name
Tomeu Vizoso [Mon, 20 Feb 2012 12:21:40 +0000 (13:21 +0100)]
g-ir-doc-tool: Qualify the class name in the constructor with the module name

12 years agog-ir-doc-tool: Add links to properties in the constructor
Tomeu Vizoso [Mon, 20 Feb 2012 12:16:47 +0000 (13:16 +0100)]
g-ir-doc-tool: Add links to properties in the constructor

12 years agog-ir-doc-tool: Fix link
Tomeu Vizoso [Mon, 20 Feb 2012 12:16:28 +0000 (13:16 +0100)]
g-ir-doc-tool: Fix link

12 years agog-ir-doc-tool: Show how to construct instances in the Class page
Tomeu Vizoso [Mon, 20 Feb 2012 11:21:41 +0000 (12:21 +0100)]
g-ir-doc-tool: Show how to construct instances in the Class page

12 years agog-ir-doc-tool: Add details for properties in Python
Tomeu Vizoso [Mon, 20 Feb 2012 10:30:21 +0000 (11:30 +0100)]
g-ir-doc-tool: Add details for properties in Python

12 years agog-ir-doc-tool: Add param information to signal pages in Python
Tomeu Vizoso [Sun, 19 Feb 2012 16:32:00 +0000 (17:32 +0100)]
g-ir-doc-tool: Add param information to signal pages in Python

12 years agog-ir-doc-tool: Implement intra-namespace cross references
Tomeu Vizoso [Sun, 19 Feb 2012 15:35:59 +0000 (16:35 +0100)]
g-ir-doc-tool: Implement intra-namespace cross references

12 years agog-ir-doc-tool: Use instances of MallardFormatter* instead of class methods
Tomeu Vizoso [Sun, 19 Feb 2012 15:22:23 +0000 (16:22 +0100)]
g-ir-doc-tool: Use instances of MallardFormatter* instead of class methods

12 years agog-ir-doc-tool: Remove some occurrences of empty Returns: lines
Tomeu Vizoso [Sun, 19 Feb 2012 14:33:48 +0000 (15:33 +0100)]
g-ir-doc-tool: Remove some occurrences of empty Returns: lines

12 years agog-ir-doc-tool: use True and False instead of %TRUE and %FALSE
Tomeu Vizoso [Sun, 19 Feb 2012 14:27:54 +0000 (15:27 +0100)]
g-ir-doc-tool: use True and False instead of %TRUE and %FALSE

12 years agog-ir-doc-tool: Remove module and class from the function signature
Tomeu Vizoso [Sun, 19 Feb 2012 13:56:03 +0000 (14:56 +0100)]
g-ir-doc-tool: Remove module and class from the function signature

12 years agog-ir-doctool: Use template caching
Tomeu Vizoso [Sun, 19 Feb 2012 13:55:14 +0000 (14:55 +0100)]
g-ir-doctool: Use template caching

12 years agog-ir-doc-tool: Use None instead of %NULL
Tomeu Vizoso [Sun, 19 Feb 2012 10:47:01 +0000 (11:47 +0100)]
g-ir-doc-tool: Use None instead of %NULL

12 years agog-ir-doc-tool: Use the ctype for the return type in signatures
Tomeu Vizoso [Sun, 19 Feb 2012 10:08:40 +0000 (11:08 +0100)]
g-ir-doc-tool: Use the ctype for the return type in signatures

12 years agog-ir-doc-tool: Display Returns: even if there's no args
Tomeu Vizoso [Sun, 19 Feb 2012 10:06:35 +0000 (11:06 +0100)]
g-ir-doc-tool: Display Returns: even if there's no args

12 years agog-ir-doc-tool: Update expected, some whitespace was removed
Tomeu Vizoso [Sat, 18 Feb 2012 16:02:22 +0000 (17:02 +0100)]
g-ir-doc-tool: Update expected, some whitespace was removed

12 years agog-ir-doc-tool: Add Since: tag to classes
Tomeu Vizoso [Sat, 18 Feb 2012 16:00:51 +0000 (17:00 +0100)]
g-ir-doc-tool: Add Since: tag to classes

12 years agog-ir-doc-tool: Add Since: tag to mallard docs
Tomeu Vizoso [Sat, 18 Feb 2012 11:17:43 +0000 (12:17 +0100)]
g-ir-doc-tool: Add Since: tag to mallard docs

12 years agog-ir-doctool: Add function argument docs to the C template
Tomeu Vizoso [Sat, 18 Feb 2012 11:08:41 +0000 (12:08 +0100)]
g-ir-doctool: Add function argument docs to the C template

12 years agog-ir-doctool: Add argument docs to the Python template
Tomeu Vizoso [Sat, 18 Feb 2012 10:59:17 +0000 (11:59 +0100)]
g-ir-doctool: Add argument docs to the Python template

12 years agog-ir-doctool: Don't instantiate MallardFormatter for unknown languages
Tomeu Vizoso [Fri, 17 Feb 2012 12:39:15 +0000 (13:39 +0100)]
g-ir-doctool: Don't instantiate MallardFormatter for unknown languages

12 years agog-ir-doc-tool: Update expected mallard for the doc tests
Tomeu Vizoso [Fri, 17 Feb 2012 09:43:01 +0000 (10:43 +0100)]
g-ir-doc-tool: Update expected mallard for the doc tests

12 years agog-ir-doc-tool: Consolidating the function templates
Shaun McCance [Wed, 24 Aug 2011 15:32:18 +0000 (11:32 -0400)]
g-ir-doc-tool: Consolidating the function templates

12 years agog-ir-doc-tool: Added MallardFormatter class
Shaun McCance [Tue, 23 Aug 2011 14:43:34 +0000 (10:43 -0400)]
g-ir-doc-tool: Added MallardFormatter class

12 years agog-ir-doc-tool: More Mallard work, using experimantal api extension
Shaun McCance [Tue, 23 Aug 2011 13:12:02 +0000 (09:12 -0400)]
g-ir-doc-tool: More Mallard work, using experimantal api extension

12 years agog-ir-doc-tool: Templates for signals/properties, class docs
Shaun McCance [Thu, 18 Aug 2011 23:47:50 +0000 (19:47 -0400)]
g-ir-doc-tool: Templates for signals/properties, class docs

12 years agog-ir-doctool: Move to Mako templates for generating Mallard
Tomeu Vizoso [Wed, 17 Aug 2011 08:23:58 +0000 (10:23 +0200)]
g-ir-doctool: Move to Mako templates for generating Mallard

Also removes the docbook writer

12 years agoAdd regress test methods for callbacks taking GError and GHashTable
Martin Pitt [Mon, 23 Jan 2012 07:53:44 +0000 (08:53 +0100)]
Add regress test methods for callbacks taking GError and GHashTable

This covers both "transfer none" and "transfer full" cases.

This is a requisite for writing a pygobject test case for
https://bugzilla.gnome.org/show_bug.cgi?id=666270

12 years agotests: add test functions which return GErrors
Will Thompson [Fri, 20 Jan 2012 14:48:20 +0000 (14:48 +0000)]
tests: add test functions which return GErrors

GStreamer has the following method:

  void gst_message_parse_error (
      GstMessage *message,
      GError **error,
      gchar **debug_message);

This patch adds a number of test functions with similar signatures which
do not follow the standard "throws GError" pattern.

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

12 years agoRelease 1.31.10
Colin Walters [Thu, 19 Jan 2012 22:14:19 +0000 (17:14 -0500)]
Release 1.31.10

12 years agoUpdate annotations from glib git GOBJECT_INTROSPECTION_1_31_10
Rico Tzschichholz [Thu, 19 Jan 2012 10:34:32 +0000 (11:34 +0100)]
Update annotations from glib git

12 years agoUpdate annotations from glib git
Colin Walters [Wed, 11 Jan 2012 20:58:08 +0000 (15:58 -0500)]
Update annotations from glib git

12 years agoAllow using GLib.List(Foo) instead of GLib.List<Foo>
Olivier Crête [Tue, 20 Dec 2011 22:45:11 +0000 (17:45 -0500)]
Allow using GLib.List(Foo) instead of GLib.List<Foo>

Using < and > for delimiters is problematic because gtk-doc is Docbook
which in turn is SGML, and those are reserved characters.

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

12 years agoUpdate annotations from GLib git
Rico Tzschichholz [Sun, 8 Jan 2012 14:10:04 +0000 (15:10 +0100)]
Update annotations from GLib git

12 years agotests: Add tests for flat GValue arrays
Jasper St. Pierre [Tue, 30 Aug 2011 20:43:18 +0000 (16:43 -0400)]
tests: Add tests for flat GValue arrays

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

12 years agoscanner: Remove duplicate declaration of ErrorQuarkFunction
Jasper St. Pierre [Mon, 12 Dec 2011 20:24:20 +0000 (15:24 -0500)]
scanner: Remove duplicate declaration of ErrorQuarkFunction

12 years agogirffi: Fix compiler warnings
Jasper St. Pierre [Fri, 6 Jan 2012 19:55:45 +0000 (14:55 -0500)]
girffi: Fix compiler warnings

12 years agorepository: Squash memory leak in _get_func and fix up style
Jasper St. Pierre [Mon, 12 Dec 2011 21:14:57 +0000 (16:14 -0500)]
repository: Squash memory leak in _get_func and fix up style

12 years agoAdd a marshalling test for returning a NULL array
Paolo Borelli [Tue, 3 Jan 2012 16:00:02 +0000 (17:00 +0100)]
Add a marshalling test for returning a NULL array

12 years ago.dir-locals: Fix unbalanced parenthesis
Colin Walters [Mon, 2 Jan 2012 18:25:38 +0000 (13:25 -0500)]
.dir-locals: Fix unbalanced parenthesis

12 years agoffi: Treat enums as 32 bit signed values to fix PPC64
Ray Strode [Wed, 21 Dec 2011 20:55:18 +0000 (15:55 -0500)]
ffi: Treat enums as 32 bit signed values to fix PPC64

To call a function dynamically using ffi, the caller
first has to tell ffi the size of all the input arguments
of the function. On little endian architectures (like x86_64)
specifying a size that's too large will happen to work because
of how the bits are laid out in memory.  On big endian architectures,
however, specifying the wrong size can lead to reading the wrong
bits.

The function g_type_info_get_ffi_type maps input giargument types to
specific sizes. It was assuming enums were word (pointer) sized; in
fact they can be in theory any size (1,2,4,8 bytes), but in practice
in introspection (via GIArgument) as well as GValue we're limited to 4
byte enums.

This commit fixes PPC64 (big endian, 64 bit).

Signed-off-by: Colin Walters <walters@verbum.org>
https://bugzilla.gnome.org/show_bug.cgi?id=665150

12 years agotests: Add a long string constant test
Colin Walters [Tue, 20 Dec 2011 18:24:03 +0000 (13:24 -0500)]
tests: Add a long string constant test

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

12 years agoRelease 1.31.6 GOBJECT_INTROSPECTION_1_31_6
Colin Walters [Tue, 20 Dec 2011 16:14:51 +0000 (11:14 -0500)]
Release 1.31.6

12 years agoUpdate annotations for GLib 2.31.6
Rico Tzschichholz [Tue, 20 Dec 2011 13:43:11 +0000 (14:43 +0100)]
Update annotations for GLib 2.31.6

12 years agoUpdate gitignore
Rico Tzschichholz [Tue, 20 Dec 2011 13:42:25 +0000 (14:42 +0100)]
Update gitignore

12 years agoDocs: fix typo
Claudio Saavedra [Mon, 19 Dec 2011 12:50:40 +0000 (14:50 +0200)]
Docs: fix typo

12 years agoUpdate annotations from GLib git
Colin Walters [Thu, 15 Dec 2011 14:50:04 +0000 (09:50 -0500)]
Update annotations from GLib git

12 years agogiscanner: fix use after decref
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.

12 years agoRelease 1.31.1 GOBJECT_INTROSPECTION_1_31_1
Johan Dahlin [Mon, 5 Dec 2011 18:08:04 +0000 (16:08 -0200)]
Release 1.31.1

12 years agoMakefile.introspection: allow buildir girs in subdirs
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

12 years agoSave .make-check-passed in builddir, so make distcheck passes
Johan Dahlin [Mon, 5 Dec 2011 18:04:53 +0000 (16:04 -0200)]
Save .make-check-passed in builddir, so make distcheck passes

12 years ago- Fix a substitution:
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

12 years agogitypelib: Fix compiler warnings
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

12 years agogibaseinfo: Fix compiler warnings
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

12 years agoscanner: Put the -l library names after the .o
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

12 years agoAdd a floating alias for none
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

12 years agogiscanner: Add gmodule-2.0 to compiler packages
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

12 years agoFix build after GIO removed gmodule dependency
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

12 years agoUpdate glib annotations
Jasper St. Pierre [Tue, 1 Nov 2011 19:45:02 +0000 (15:45 -0400)]
Update glib annotations

12 years agoOpenBSD uses it's own libtool implementation which breaks giscanner in certain
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

12 years agolibxml2: add exported package name
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.

12 years agoscanner: Only add rpaths for absolute directories
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.

12 years agoscanner: Also add an RPATH for library paths specified
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.

12 years agoAdd tests for chaining up from vfuncs to ancestors
Tomeu Vizoso [Sat, 29 Oct 2011 13:00:26 +0000 (15:00 +0200)]
Add tests for chaining up from vfuncs to ancestors

12 years agoconfigure: Update to 1.31.0
Colin Walters [Wed, 26 Oct 2011 15:36:32 +0000 (11:36 -0400)]
configure: Update to 1.31.0

12 years agofixes and more tests for marshalling of arrays of gvariants
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>
12 years agoAdd regress test method for a (skip) return value without out arguments
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

12 years agotests: Also dist headeronly.h
Colin Walters [Thu, 20 Oct 2011 21:15:32 +0000 (17:15 -0400)]
tests: Also dist headeronly.h

Spotted by Rico Tzschichholz

12 years agoWindows port: fix _resolve_non_libtool
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

12 years agotests: Actually add headeronly.h
Colin Walters [Thu, 20 Oct 2011 17:47:37 +0000 (13:47 -0400)]
tests: Actually add headeronly.h

12 years agoUse the correct size when freeing unused info
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.

12 years agoMakefile.introspection: Allow usage with --header-only
Colin Walters [Wed, 19 Oct 2011 19:46:29 +0000 (15:46 -0400)]
Makefile.introspection: Allow usage with --header-only

12 years agoscanner: Support --header-only flag
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.

12 years agobarapp: Don't call g_thread_init()
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

12 years agoparser: prevents a segfault when _g_ir_parser_parse_string returns NULL error was...
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

12 years agomessage: Show the file/line even when processing FATAL
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.

12 years agoadd test for checking refcounting of signals with transfer none object params
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

12 years agoscanner: allow GObject.Object as a superclass return type
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

12 years agodumper: Don't call g_thread_init(), g_type_init() is enough
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.

12 years agoscanner: split CC environment variable
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>
12 years agogiconstantinfo: Add API to fix memory leak
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

12 years agoRevert "gitypelibtest: Remove test on TestStructE size"
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

12 years agoAdjust dlopened library name on OpenBSD so we always pick the right one.
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

12 years agogitypelibtest: Remove test on TestStructE size
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

12 years agoBug 660338: Account for padding in struct size check
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.

12 years agoSkip analysis of params that have been (skip)'d
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

12 years agorepository: Fix g_irepository_get_c_prefix()
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

12 years agoconfigure: Release 1.30 GOBJECT_INTROSPECTION_1_30_0
Colin Walters [Tue, 20 Sep 2011 21:00:31 +0000 (17:00 -0400)]
configure: Release 1.30

12 years agoFix incorrect extension for tempfile
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