| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
The newly added GTypes in glib!481 result in g-i generating an enum type
in GLib-2.0 and a GType based one in GObject-2.0.
This makes problems for the dlang bindings (see #267) so skip them for now.
Ideally we should include it in GLib-2.0 like we do with glib-types.h.
|
| |
|
|
|
|
| |
Noticed when comparing meson and autotools build results
|
|
|
|
|
|
|
|
|
|
|
| |
This adds the following macros and functions: GI_MAJOR_VERSION, GI_MICRO_VERSION,
GI_MINOR_VERSION, GI_CHECK_VERSION, gi_get_major_version,gi_get_micro_version,
gi_get_minor_version.
Since we share a prefix with glib we have to namespace these by using the gi_
prefix. g_gi would also work but we already export symbols with gi_ like
gi_cclosure_marshal_generic(), gi_type_tag_get_ffi_type() and
gi_type_info_extract_ffi_return_value(), so let's not add another naming scheme.
|
|
|
|
|
|
| |
API from gobject/gvaluecollector.h is not intended for introspected use.
Skip it when scanning headers. This effectively hides the definition of
GTypeCValue and VALUE_COLLECT_FORMAT_MAX_LENGTH constant.
|
|
|
|
|
|
|
|
|
| |
* This adds a new dependency on autoconf-archive.
* Pass WARN_CFLAGS/WARN_LDFLAGS/WARN_SCANNERFLAGS to everything we control the source of
* Disables all warning flags which make the build error out for now, we'll re-enable them
in followup commits.
* AX_COMPILER_FLAGS is used with the release flag always on so we don't get
-Werror by default.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since autoptr typedefs are filtered out (bug #755882), scanning this header
is useless. It can cause warnings due to not #including all the headers
whose types it references:
/usr/include/glib-2.0/glib/glib-autocleanups.h:41: syntax error,
unexpected typedef-name, expecting identifier or '(' in 'typedef
GAsyncQueue *GAsyncQueue_autoptr;' at 'GAsyncQueue_autoptr'
Fix that by filtering it out of the list of headers to scan.
https://bugzilla.gnome.org/show_bug.cgi?id=768816
|
| |
|
|
|
|
|
|
|
|
|
| |
In the generated GIR for Gio-2.0, the <c:include/> elements for
gio-unix headers got emitted with absolute pathnames. Obviously, this
does not work well when GIR needs to be checked into repositories,
is used to build in other locations, etc.
https://bugzilla.gnome.org/show_bug.cgi?id=756679
|
|
|
|
|
|
|
|
|
|
| |
Rather than assuming that pkg-config is spelt pkg-config, use the environment
variable $PKG_CONFIG which is the actual detected pkg-config spelling. This is
particularly important when cross-compiling, where the pkg-config may be
prefixed with the target and will actually provide a different result from the
build pkg-config which may be available unprefixed.
https://bugzilla.gnome.org/show_bug.cgi?id=746669
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=724881
|
|
|
|
|
|
| |
Fixes Windows.
https://bugzilla.gnome.org/show_bug.cgi?id=724874
|
|
|
|
|
| |
Grab annotions from gmodule like we do for glib and gio. This
result in a properly generated and documented GModule-2.0.gir.
|
| |
|
|
|
|
|
|
|
| |
So for doing the GTK+ stack with gobject-introspection on Windows, we
basically need to stub out the win32 types just like we do for xlib.
Contributed by serenomickael@gmail.com
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=691030
|
|
|
|
| |
So we pick up g_unix_signal_add() for example.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Use the new glib-boxed.h header from gobject to pair structure
definitions with boxed types in the GLib namespace, improving the
introspection coverage and removing some hacks.
Some fixes from Colin Walters <walters@verbum.org>
https://bugzilla.gnome.org/show_bug.cgi?id=646635
|
|
|
|
|
|
|
|
|
|
| |
By separating out cairo-1.0.gir from gir_DATA, we lost the generation
of the cairo typelib. So instead add cairo-1.0.gir to a new
SUBSTITUTED_GIRSOURCES and include that in gir_DATA.
Fix the rule for generating cairo-1.0.gir for srcdir != builddir.
https://bugzilla.gnome.org/show_bug.cgi?id=645692
|
| |
|
|
|
|
|
|
|
| |
We should not be disting it, because it contains values derived
from configure. Extract it out of STATIC_GIRSOURCES, and also
move it to a Makefile rule rather than AC_SUBST as it should be
so it gets cleaned properly.
|
|
|
|
|
| |
- include gio-unix headers properly into Gio gir
- don't include gsettingsbackend.h
|
|
|
|
|
| |
Because of Makefile.introspection, the .typelibs are still put in
gir/.
|
|
|
|
|
|
|
|
|
|
|
| |
The previous commit aea515709 broke scanning for libraries not
in the current directory, such as scanning Gio from gobject-introspection.
In this case, it's wrong to add -L., and to move the other -L behind
the library. Instead, we should just do a "normal" link using
pkg-config --libs with few games.
https://bugzilla.gnome.org/show_bug.cgi?id=632701
|
|
|
|
|
| |
We need the typelib compiler to be built before we try to
build typelibs for the static gir files.
|
| |
|
|
This is cleaner and faster, and prepares us better for an incoming
import of CMPH.
|