| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previous to the scanner rewrite, static methods were only handled
for GObject subclasses. Go back to that for full compatibility
with existing bindings and code. See bug 572408 for the topic
of changing the API.
The code for writing out static methods for records and boxed is
left as future proofing, and the same handling is added for
interfaces.
https://bugzilla.gnome.org/show_bug.cgi?id=628967
|
| |
|
|
|
|
|
|
|
|
| |
The scanner by default tries hard to ensure that we know immediately
from seeing an identifier "FooBarBaz" that the namespace is "Foo".
But libraries using --accept-unprefixed here screws this over.
Potentially we could add --unstripped-identifier-prefix, but it's
ugly. The best long term fix is to fix the namespacing in the library.
|
|
|
|
| |
This reverts commit 144cb10d51888a9565721088d2b61794468742e9.
|
|
|
|
|
|
| |
Such as Sparc64.
https://bugzilla.gnome.org/show_bug.cgi?id=620769
|
|
|
|
| |
Even if warnings are not enabled
|
| |
|
|
|
|
|
|
|
| |
For backwards compat, keep the presence of the environment
variable at all to mean "exception".
Also start a HACKING file.
|
|
|
|
|
| |
with statement is available in python 2.5, but only
if you import it from __future__
|
|
|
|
|
| |
This enables glib documentation to be added to the generated gir using the original source
eg. --with-glib-src=/usr/src/glib
|
|
|
|
| |
This reverts commit 26c66df6bdc3e3ce836c7462958fa38cc3e1062f.
|
|
|
|
|
| |
Static method pairing changes the API and should be futher
discussed in https://bugzilla.gnome.org/show_bug.cgi?id=572408
|
| |
|
|
|
|
|
|
|
|
|
| |
Make sure all giscanner python files are available in builddir, so the module
is invokable during build time.
https://bugzilla.gnome.org/show_bug.cgi?id=571591
Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net>
|
| |
|
| |
|
|
|
|
|
| |
Convert slashes to underscores in _gir_name so that non-recursive builds can
use Makefile.introspection. Closes: bgo#628594
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Documentation says about g_vfunc_get_offset():
"Obtain the offset of the function pointer in the class struct.
The value 0xFFFF indicates that the struct offset is unknown."
But g-ir-compiler did set the value to 0 when the offset is unknown.
This patch fixes it.
https://bugzilla.gnome.org/show_bug.cgi?id=628270
|
|
|
|
|
|
| |
To avoid undefined references to gi_cclosure_marshal_generic
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=625995
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=628753
|
|
|
|
| |
These were listed on the wiki up until just now...
|
|
|
|
|
| |
We don't have an "annotation source" for Type right now; so as a quick
hack, stuff it in the ctype but only if we fail to resolve.
|
| |
|
|
|
|
|
| |
We were writing the attributes backwards. Also actually use
the attribute in the typelib generation.
|
|
|
|
|
|
| |
The "symbol" is actually just a string identifier, not
a real symbol. We already added the file positions when
parsing earlier.
|
|
|
|
|
|
|
|
|
| |
Commit b6fb70f9 wrongly disabled fatal warnings - in fact there
is a way to make this test case work, and it was a bug in the
scanner not processing virtual function annotations correctly.
Add a different test case for un-named parameters that doesn't
have a callback.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
It doesn't use any internal state, so it can easily
be moved over to the type as a factory function
|
| |
|
| |
|
|
|
|
|
| |
This fixes the search path initialization if g_irepository_require
is called first thing.
|
|
|
|
|
| |
Since the delete parameter of NamedTemporaryFile is only
available on python 2.6
|
| |
|
|
|
|
| |
And fix a bug in the warning call in the scanner
|
|
|
|
| |
Instead of running all tests in the same instance
|
|
|
|
|
| |
Add an infrastructure for testing warnings, add two
examples how to verify warnings
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
We need a way to add a .gir file, without also attempting to load
the pkg-config file for it (since it may not be installed yet).
Example: clutter builds multiple .gir files, Cally-1.0 depends on
Clutter-1.0.
|
|
|
|
| |
Create a new option parser when parsing pkg-config output
|
| |
|
|
|
|
| |
And migrate over to using the message logger
|
|
|
|
|
| |
Move the remaining callsites over to the new message
module
|
|
|
|
|
|
|
|
| |
The strip_* functions are problematic since they
have a fatal switch which determines if the message should
kill the scanner. Change the api to make it easier to extend
with other logging categories and move over the callsites to
use the new message module
|