| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Followup to previous patch.
|
| |
|
|
|
|
|
|
|
|
| |
We are treating GIUnresolvedInfo as a GIBaseInfo, but the structures
had drifted out of sync. Add a repository pointer and bring them
back into sync.
Based on a report and patch from Jan Hudec <bulb@ucw.cz>
|
|
|
|
|
| |
Looking for .git/.svn breaks in tarball scenarios; instead just see
if our source directory is named 'tools'.
|
|
|
|
|
|
|
| |
Add GVolumeMonitor interfaces, used by gnome-shell's overlay (places)
Signed-off-by: Adel Gadllah <adel.gadllah@gmail.com>
Signed-off-by: Colin Walters <walters@verbum.org>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
We need to differentiate between --pkg options we use to parse
ourself, and --pkg-export which are needed for library consumers.
When introspecting a library we won't necessarily have the
pkg-config file built, so add a --pkg-export line so library
authors can explicitly make the .gir -> pkg-config association.
|
|
|
|
|
| |
Adds a (skip) option that can be added to the header of any doc comment
to cause that symbol to be skipped in the .gir output
|
|
|
|
| |
This lets us pick up non-default /usr/bin/python2.6 correctly.
|
|
|
|
|
| |
It's better to keep lawyers happy if we ship the actual license
files rather than just mentioning them in COPYING.
|
|
|
|
|
| |
Don't hardcode gcc, any cc which handles those options is good
enough; in particular this is reported to fix Sun Studio.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Thanks to commit 6d510b8db, we now no longer need LD_LIBRARY_PATH
to be set for invoking the compiler.
Next, before we were taking the LD_LIBRARY_PATH variable and
turning it into a compile path, presumably to attempt to handle
the cases where we weren't getting the right -L flags. Also
interacting with this was a while ago we weren't really doing
uninstalled libtool libraries correctly, which is probably
how hacks involving LD_LIBRARY_PATH crept into the scanner.
Just require that we're passed the right -L flags, and we
should be doing libtool libraries better now.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It's was busted that g_typelib_new_* does the dlopen() since that caused
g-ir-compiler to load the modules even though it wasn't going to do
anything with them.
Instead, change things so that g_module_symbol does the dlopen on-demand.
Remove the extra dlopen(NULL) inside girepository.c, we had another
already in gtypelib.c.
Thanks to Owen Taylor for suggesting this approach.
|
|/
|
|
|
|
|
| |
With recent merges, a few instances of $(builddir) got reintroduced.
Remove them.
http://bugzilla.gnome.org/show_bug.cgi?id=592114
|
|
|
|
| |
For parallel building.
|
|
|
|
| |
These are dependencies of Pango.
|
|
|
|
| |
The last few commits regressed 'check'; fix those up.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In addition to the current --library=<foo>, support --library=lib<foo>.la.
This makes it unambiguous that we are referencing an uninstalled
library and allows accurate extraction of the shared library name
for the uninstalled library.
* tests/scanner/Makefile.am tests/offsets/Makefile.am: Use the
new form of --library=. Also some LD_LIBRARY_PATH frobbing as needed.
*-expected.gir *-expected.tgir: We now pick out the shared library
accurately, so fix shared-library="" in our reference girs. (The
comparison may need some pre-sanitization now to work on non-ELF)
http://bugzilla.gnome.org/show_bug.cgi?id=591669
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using ctypes.util.find_library() to resolve library names to
sonames causes problems with dealing with uninstalled libtool
operation properly. We're unlikely to find any way of combining
the two that will be robust against future changes in both
facilities.
Switch to a different approach - run 'ldd' on the compiled
introspection binary and extract sonames from there This is
less portable but should be quite robust where it works.
utils.py dumper.py: Move libtool-command-line finding into utils.py
girwriter.py: Remove library name resolution from here, expect libraries
to be passed in preresolved.
shlibs.py scannermain.py: New file including resolve_shlibs() to resolve
library names using the introspection binary.
tests/scanner/Makefile.am: Add .libs to LD_LIBRARY_PATH
http://bugzilla.gnome.org/show_bug.cgi?id=591669
|
|
|
|
|
|
|
|
| |
$(builddir) is not a standard automake variable. With autoconf < 2.64
it ends up getting set in every Makefile.in to '.' (because autoconf
defines it), but that is no longer the case for 2.64.
Since $(builddir) was always '.', just use that instead.
|
|
|
|
|
| |
This allows us to consistently use $(SCANNER) as the first item
which needs to work for $(AM_V_GEN).
|
|
|
|
|
| |
It's allowed for source_filename to be None if we can't match it
up with a file, so just skip the constant in that case.
|
|
|
|
| |
This avoids /tmp noexec madness.
|
|
|
|
| |
Shave is just way too invasive in the build system.
|
|
|
|
|
| |
Some of the GLib headers are now growing checks for single-include;
override that.
|
|
|
|
|
|
|
| |
We want to extend $LD_LIBRARY_PATH from the front so that uninstalled
libraries take precedence over installed libraries.
http://bugzilla.gnome.org/show_bug.cgi?id=591740
|
|
|
|
|
|
| |
If loading a referenced shared library succeeds, don't try loading it again.
http://bugzilla.gnome.org/show_bug.cgi?id=591737
|
| |
|
| |
|
|
|
|
|
|
| |
Using CC fails when building gobject-introspection because CC is defined to
be $(SHELL) scripts/shave cc '$(SHAVE_SAVED_CC)'. A more sophisticated fix
will be needed later.
|
|
|
|
| |
Others like byacc barf on some of the directives like %error-verbose.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Earlier we were only using the first library specified when
compiling an introspection binary. This breaks builds on Solaris
which doesn't have implicit linking and we need to be able
to specify multiple libraries.
The tension here is primarily related to OS X' distinction between
modules and shared libraries; if we build the custom libraries
in gir-repository as shared libraries, then we can't dlopen them.
If we build them as modules, then the introspection binary compiler
can't link to them.
If we want to fix the OS X build, probably the way to go would be
a special --use-first-library-only option that gets conditionalized
on OS X + gir-repository.
But even better is to finish killing gir-repository entirely.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Exporting Windoew as a uint32 is revealing some problems in namespace
handling - functions that are supposed to return a GdkWindow * are
returning a x11.Window instead. Until that is fixed, we need to avoid
making this change.
(Also, Window isn't a uint32, it is an unsigned long)
This reverts commit 9ce2b05198653697896c3f7c9271073789f90c51.
http://bugzilla.gnome.org/show_bug.cgi?id=588147
|
|
|
|
|
|
|
| |
When checking if the readable/writable flags are missing for the fields
we are trying to read and write, use (a & flag) == 0, not (!a & flag).
http://bugzilla.gnome.org/show_bug.cgi?id=579727
|
|
|
|
|
| |
Since it's used in the API as just "Window foo();", bindings
will fail trying to take a by-value struct.
|
|
|
|
| |
Add test_array_int_inout in Everything.
|
|
|
|
|
|
| |
Fixes a crash compiling GIRepository-2.0.gir.
http://bugzilla.gnome.org/show_bug.cgi?id=587823
|
|
|
|
|
|
| |
Some projects may want to avoid the giant -Wl,--export-dynamic
hammmer and instead use a custom regexp or export list, so
provide a .pc file for them to use.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Add an instance method to TestObj.
Add a TestObj subclass in Everything, with another constructor, an
additional instance method and an overridden instance method.
|
| |
| |
| |
| | |
Plain fields (i.e. non-callbacks) may have a 'type' annotation now.
|
| |
| |
| |
| | |
This is needed in order to get libgweather introspecting.
|
| | |
|