| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=657766
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=662888
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Decrement reference to temporary string object only after last use of its
value.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
These variables are unused.
https://bugzilla.gnome.org/show_bug.cgi?id=665249
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=657202
|
|
|
|
|
|
|
| |
Gio no longer draws in gmodule, so we need to add the dependency
explicitly.
https://bugzilla.gnome.org/show_bug.cgi?id=664681
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=664681
|
| |
|
|
|
|
|
|
| |
situations. So adjust resolve_non_libtool() in this case.
https://bugzilla.gnome.org/show_bug.cgi?id=664282
|
|
|
|
|
| |
This is needed so that g-ir-scanner can find the libxml2 include
path when producing bindings for libraries that interact with libxml2.
|
|
|
|
|
| |
We shouldn't do it for module-internal paths, since it can't work
and is unnecessary even if it did.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
This is a requisite for writing a pygobject test case for
https://bugzilla.gnome.org/show_bug.cgi?id=662383
|
|
|
|
| |
Spotted by Rico Tzschichholz
|
|
|
|
|
|
| |
By simply appending '.dll' to the library names.
https://bugzilla.gnome.org/show_bug.cgi?id=620566
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
This is useful for someone who just wants a set of constants from a .h
file accessible by introspection.
|
|
|
|
|
|
|
| |
We don't need to, and if we wanted to, we have to link against
-lgthread.
Spotted by Rico Tzschichholz
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
This helps debug. Also, add a 'fatal' debug break.
|
| |
|
|
|
|
|
|
|
| |
6172c268 made the scanner think GObject* wasn't a superclass of its
subclasses. Fix that.
https://bugzilla.gnome.org/show_bug.cgi?id=661677
|
|
|
|
| |
g_thread_init() is deprecated, and unnecessary since GLib 2.24.
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=654069
|
|
|
|
|
|
|
|
| |
This reverts commit e17c09749c23edbd928db19a8162484ddb6299b8.
We actually want the test for sizeof(GValue).
https://bugzilla.gnome.org/show_bug.cgi?id=660338
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=660523
|