platform/upstream/gobject-introspection.git
13 years agoSwitch to nonrecursive make for core (i.e. not tests/)
Colin Walters [Thu, 4 Nov 2010 17:12:12 +0000 (13:12 -0400)]
Switch to nonrecursive make for core (i.e. not tests/)

This is cleaner and faster, and prepares us better for an incoming
import of CMPH.

13 years agoMove pyflakes to check-pyflakes
Colin Walters [Tue, 9 Nov 2010 16:41:51 +0000 (11:41 -0500)]
Move pyflakes to check-pyflakes

It has false positives difficult to work around now, and is
really better run as a periodic check anyways.

13 years agolibtoolimporter: Don't assume we have a multi-component import
Colin Walters [Tue, 9 Nov 2010 14:15:13 +0000 (09:15 -0500)]
libtoolimporter: Don't assume we have a multi-component import

os.path.join barfs if we're passing it 0 arguments, as would happen
when doing "import foo".

13 years agotools: Switch to checking UNINSTALLED_INTROSPECTION_SRCDIR
Colin Walters [Thu, 4 Nov 2010 18:42:18 +0000 (14:42 -0400)]
tools: Switch to checking UNINSTALLED_INTROSPECTION_SRCDIR

Rather than introspecting the current directory, use the environment
variable we know is present if and only if we're running uninstalled.

This will be less prone to failure when we switch to nonrecursive
make, since the generated script will be in the top builddir, not
tools/ anymore.

13 years agoHandle enumerations with the full range of signed and unsigned values
Owen W. Taylor [Tue, 14 Sep 2010 15:59:03 +0000 (11:59 -0400)]
Handle enumerations with the full range of signed and unsigned values

The C compiler will pick an enumeration type that accomodates the specified
values for the enumeration, so ignoring 64-bit enumerations, we can
have enumeration values from MININT32 to MAXUINT32. To handle this properly:

 - Use gint64 for holding eumeration values when scanning
 - Add a 'unsigned_value' bit to ValueBlob so we can distinguish the
   int32 vs. uint32 cases in the typelib
 - Change the return value of g_value_info_get_value() to gint64.

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

13 years agoCompute enumeration storage types more accurately
Owen W. Taylor [Tue, 14 Sep 2010 18:17:35 +0000 (14:17 -0400)]
Compute enumeration storage types more accurately

Previously we just were sloppy and didn't bother to accurately compute
signed/unsigned for enumeration types.  But since we expect bindings
to decode a field value or function return value from an integer to
an enumeration they have know whether an integer value is
0xffffffff or -1, so we need to do the full computation.

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

13 years agogirepository: Use G_TYPE_TAG_IS_BASIC consistently
Colin Walters [Tue, 26 Oct 2010 14:03:29 +0000 (10:03 -0400)]
girepository: Use G_TYPE_TAG_IS_BASIC consistently

This is a preparatory patch for adding a new basic tag.

13 years agoscanner: Print out a message if warnings were off
Colin Walters [Thu, 7 Oct 2010 20:27:00 +0000 (16:27 -0400)]
scanner: Print out a message if warnings were off

Otherwise people may not know about --warn-all.

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

13 years agoFix previous commit
Colin Walters [Fri, 22 Oct 2010 16:54:29 +0000 (12:54 -0400)]
Fix previous commit

13 years agoHandle CC="ccache gcc" for linker command too
Colin Walters [Fri, 22 Oct 2010 15:28:40 +0000 (11:28 -0400)]
Handle CC="ccache gcc" for linker command too

The compiler path explicitly split()s the variable, we should do
so in the linker path too.

13 years agoFix regression in g_irepository_get_info
Colin Walters [Thu, 21 Oct 2010 18:59:42 +0000 (14:59 -0400)]
Fix regression in g_irepository_get_info

Commit f97cc8687469f25752f79275 broke the lookup in
g_irepository_get_info; the passed offset is 0-based, then
we convert it to 1-based (and then back to 0 later...which needs
to be fixed).

13 years agoscanner: Support GStrv as signal parameters
Colin Walters [Thu, 21 Oct 2010 18:07:59 +0000 (14:07 -0400)]
scanner: Support GStrv as signal parameters

13 years agoscanner: Don't process pkg-config libs twice
Colin Walters [Mon, 4 Oct 2010 20:16:35 +0000 (16:16 -0400)]
scanner: Don't process pkg-config libs twice

Before, we were adding the --libs-only-L from pkg-config files
during initial scanning, as if --library-path was specified,
*and* inside the dumper, we used --libs.

Fix this by always doing -L. <introspected libraries> <pkg-config libs>

This should ensure we don't duplicate the search path anyways.

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

13 years agoAccept trailing whitespace at the start of a comment block
Colin Walters [Tue, 19 Oct 2010 12:45:13 +0000 (08:45 -0400)]
Accept trailing whitespace at the start of a comment block

Might as well be liberal here, as long as we have a test case.

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

13 years agogirepository: Refactor lookup code
Colin Walters [Mon, 18 Oct 2010 16:04:08 +0000 (12:04 -0400)]
girepository: Refactor lookup code

This is a cleanup patch in preparation for future indexing
patches.

The lookup code was a mess trying to mash in the 3 different
cases of name, GType, and index into one mega-function.

Split it up properly, and move the core typelib internal-scanning
bits into gitypelib.c where it belongs.

13 years agoconfigure: Bump to 0.10 series
Colin Walters [Mon, 11 Oct 2010 16:53:21 +0000 (12:53 -0400)]
configure: Bump to 0.10 series

13 years agotypelib: Don't fail on minor version
Colin Walters [Mon, 11 Oct 2010 16:40:15 +0000 (12:40 -0400)]
typelib: Don't fail on minor version

Previously we bombed out if the minor version didn't match what
we expected; this was silly since the whole point of the minor
version is to enumerate compatible changes.

13 years agoscanner: Don't leave temporary directory around if we fail
Colin Walters [Thu, 7 Oct 2010 19:56:05 +0000 (15:56 -0400)]
scanner: Don't leave temporary directory around if we fail

...by default.  However, the GI_SCANNER_DEBUG=save-temps option
helps for debugging.

13 years agoconfigure: Post-release version bump
Colin Walters [Wed, 6 Oct 2010 21:03:55 +0000 (17:03 -0400)]
configure: Post-release version bump

13 years agoconfigure: Release 0.9.12 GOBJECT_INTROSPECTION_0_9_12
Colin Walters [Wed, 6 Oct 2010 21:02:56 +0000 (17:02 -0400)]
configure: Release 0.9.12

13 years agodocs: Don't conditionalize on ENABLE_GTK_DOC
Colin Walters [Wed, 6 Oct 2010 20:59:18 +0000 (16:59 -0400)]
docs: Don't conditionalize on ENABLE_GTK_DOC

OS vendors which compile from the part-binary "tarballs" which
include e.g. pregenerated gtk-doc, they typically don't pass
--enable-gtk-doc.  So conditionalizing "make install"
for docs on ENABLE_GTK_DOC won't work.

This is the same as GTK+ and other projects currently work.

13 years agodist: Don't use gpg for tags by default
Colin Walters [Wed, 6 Oct 2010 20:42:14 +0000 (16:42 -0400)]
dist: Don't use gpg for tags by default

I don't have a GPG key setup anymore, not interested in
the archaeology to find it right now.

13 years agoImprove documentation for g_registered_type_info_get_g_type GOBJECT_INTROSPECTION_0_9_11
Johan Dahlin [Wed, 6 Oct 2010 15:51:44 +0000 (12:51 -0300)]
Improve documentation for g_registered_type_info_get_g_type

13 years agoRevert "Apply `(type bitfield)' annotations for enums"
Johan Dahlin [Wed, 6 Oct 2010 14:26:37 +0000 (11:26 -0300)]
Revert "Apply `(type bitfield)' annotations for enums"

This reverts commit d15e386c8e10dd6b645a444e29cc053100089a07.

13 years agoRevert "block can be None, fixup last commit"
Johan Dahlin [Wed, 6 Oct 2010 14:26:33 +0000 (11:26 -0300)]
Revert "block can be None, fixup last commit"

This reverts commit 754e5462f6dfbe3793eb959abf3dbfa7d2fe6435.

13 years agochose extension basing on OS
Alexey Zakhlestin [Wed, 6 Oct 2010 11:02:46 +0000 (15:02 +0400)]
chose extension basing on OS

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

13 years agoblock can be None, fixup last commit
Johan Dahlin [Wed, 6 Oct 2010 00:34:39 +0000 (21:34 -0300)]
block can be None, fixup last commit

13 years agoApply `(type bitfield)' annotations for enums
Andreas Rottmann [Tue, 5 Oct 2010 21:49:33 +0000 (23:49 +0200)]
Apply `(type bitfield)' annotations for enums

Previously, such annotations would be ignored.

13 years agoupload-release: Use bz2
Johan Dahlin [Thu, 30 Sep 2010 19:12:23 +0000 (16:12 -0300)]
upload-release: Use bz2

13 years agoSilently skip #pragma directives when scanning sources.
Pavel Holejsovsky [Thu, 30 Sep 2010 09:38:55 +0000 (11:38 +0200)]
Silently skip #pragma directives when scanning sources.

This is useful e.g. on cygwin, where system headers use #pragma directives,
causing annoying false-alarm errors during every g-ir-scanner run.

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

13 years agoHonor -L commandline option.
Pavel Holejsovsky [Thu, 30 Sep 2010 09:37:06 +0000 (11:37 +0200)]
Honor -L commandline option.

13 years agodumper: Make g_irepository_dump static when being used in dumper
Colin Walters [Fri, 1 Oct 2010 16:44:08 +0000 (12:44 -0400)]
dumper: Make g_irepository_dump static when being used in dumper

Otherwise we'll bomb out if CFLAGS contains -Werror.

13 years agoAdd -export-dynamic when compiling with libtool
Owen W. Taylor [Thu, 30 Sep 2010 21:57:44 +0000 (17:57 -0400)]
Add -export-dynamic when compiling with libtool

In some cases (such as introspecting a convenience library),
we need to dlsym() modules in the binary we compile, so we
need to add -export-dynamic to the link line.

13 years agoconfigure: post-release version bump
Colin Walters [Thu, 30 Sep 2010 19:33:05 +0000 (15:33 -0400)]
configure: post-release version bump

13 years agoconfigure: Change to bzip2 dist GOBJECT_INTROSPECTION_0_9_10
Colin Walters [Thu, 30 Sep 2010 18:41:46 +0000 (14:41 -0400)]
configure: Change to bzip2 dist

We want to use bzip2 since that's what Fedora uses.

13 years agogir: Explicitly specify path to girepository so libtool can find it
Colin Walters [Thu, 30 Sep 2010 18:38:26 +0000 (14:38 -0400)]
gir: Explicitly specify path to girepository so libtool can find it

This was broken with the last commit to remove a lot of the special
hacks to link to girepository in the dumper.

13 years agoconfigure: Post release version bump
Colin Walters [Thu, 30 Sep 2010 18:07:03 +0000 (14:07 -0400)]
configure: Post release version bump

13 years agoscanner: Don't link to -lgirepository when dumping GOBJECT_INTROSPECTION_0_9_9
Colin Walters [Thu, 30 Sep 2010 14:44:12 +0000 (10:44 -0400)]
scanner: Don't link to -lgirepository when dumping

This helps us avoid a problematic case where in say jhbuild, using
a system (/usr/lib) glib, adding in -l girepository-1.0 will inject
-L /path/to/builddir, when we don't want that.

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

13 years agotests: Specify --libtool
Colin Walters [Thu, 30 Sep 2010 13:10:30 +0000 (09:10 -0400)]
tests: Specify --libtool

Should switch to Makefile.introspection in the future.

13 years agoglib-2.0.c: Fix invalid annotation syntax
Colin Walters [Wed, 29 Sep 2010 19:35:14 +0000 (15:35 -0400)]
glib-2.0.c: Fix invalid annotation syntax

13 years agoscanner: Abort if we would be generating an empty namespace
Colin Walters [Wed, 29 Sep 2010 17:55:29 +0000 (13:55 -0400)]
scanner: Abort if we would be generating an empty namespace

Kind of silly we weren't doing this before; an empty namespace
is always going to be unintentional.

The "oops I forgot to include .h" files actually happened with
Clutter, but it wasn't caught since the build didn't obviously
fail.

13 years agoscanner: Don't duplicate fatal message text
Colin Walters [Wed, 29 Sep 2010 17:55:16 +0000 (13:55 -0400)]
scanner: Don't duplicate fatal message text

13 years agoFix tests
Colin Walters [Wed, 29 Sep 2010 18:00:31 +0000 (14:00 -0400)]
Fix tests

13 years agoActually do something about fundamentals when parsing a .gir
Tomeu Vizoso [Mon, 27 Sep 2010 09:52:55 +0000 (11:52 +0200)]
Actually do something about fundamentals when parsing a .gir

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

13 years agoconfigure: Post-release version bump
Colin Walters [Tue, 28 Sep 2010 23:20:39 +0000 (19:20 -0400)]
configure: Post-release version bump

13 years agoannotationparser: Don't ignore annotations if there's a : in docs GOBJECT_INTROSPECTION_0_9_8
Colin Walters [Tue, 28 Sep 2010 22:59:04 +0000 (18:59 -0400)]
annotationparser: Don't ignore annotations if there's a : in docs

The annotation parser changed to be stricter about annotation content,
but we introduced a regression where a : in the documentation would
wrongly cause the annotation to be skipped.

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

13 years agoFix --include-uninstalled
Colin Walters [Tue, 28 Sep 2010 22:16:53 +0000 (18:16 -0400)]
Fix --include-uninstalled

Somehow, this regressed; i have no idea how.  We need to be
comparing Include objects, not string versus Include.

13 years agoconfigure: post-release version bump
Colin Walters [Tue, 28 Sep 2010 16:53:21 +0000 (12:53 -0400)]
configure: post-release version bump

13 years agoModify Regress impl so that inout args ignore (transfer) for 'in' direction. GOBJECT_INTROSPECTION_0_9_7
Pavel Holejsovsky [Tue, 28 Sep 2010 05:48:50 +0000 (07:48 +0200)]
Modify Regress impl so that inout args ignore (transfer) for 'in' direction.

... because for 'in' arguments only (transfer none) is correct.

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

13 years agoRemove Regress tests with input args with transfer full or container.
Pavel Holejsovsky [Tue, 28 Sep 2010 05:36:32 +0000 (07:36 +0200)]
Remove Regress tests with input args with transfer full or container.

Declaring input parameters with transfer other than none is
discouraged, so don't do it in the testsuite.

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

13 years agoregress: Remove busted tests
Colin Walters [Mon, 27 Sep 2010 20:28:58 +0000 (16:28 -0400)]
regress: Remove busted tests

We don't want people making functions which take ownership of
arguments, so don't do it in the test suite.

13 years agoscanner: fail if cpp fails
Vincent Untz [Sun, 19 Sep 2010 22:33:50 +0000 (00:33 +0200)]
scanner: fail if cpp fails

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

13 years ago[scanner] Make sure private enums are filtered
Johan Dahlin [Sun, 26 Sep 2010 17:44:08 +0000 (14:44 -0300)]
[scanner] Make sure private enums are filtered

This is a follow-up to 60a8c75 which wasn't properly fixed.

13 years agoRemove trailing whitespace
Johan Dahlin [Sun, 26 Sep 2010 17:35:34 +0000 (14:35 -0300)]
Remove trailing whitespace

13 years ago[scanner] Mark enum members as private in transformer
Johan Dahlin [Sun, 26 Sep 2010 15:47:01 +0000 (12:47 -0300)]
[scanner] Mark enum members as private in transformer

Remove enum members which follows /* <private> */ comments
inside the transformer instead of the sourcescanner itself.

Fixes a crash when creating the gir for GstBase.

13 years ago[sourcescanner] Plug a couple of python leaks
Johan Dahlin [Sun, 26 Sep 2010 15:37:19 +0000 (12:37 -0300)]
[sourcescanner] Plug a couple of python leaks

There's no need to increase the reference count to
items passed into PyList_SetItem, it already steals a reference.

13 years agoDo not use triple dashes
Johan Dahlin [Sat, 25 Sep 2010 16:05:49 +0000 (13:05 -0300)]
Do not use triple dashes

13 years agoFix memory leak.
Pavel Holejsovsky [Sat, 25 Sep 2010 05:12:07 +0000 (07:12 +0200)]
Fix memory leak.

13 years agoRe-generate
Johan Dahlin [Sat, 25 Sep 2010 14:31:24 +0000 (11:31 -0300)]
Re-generate

13 years ago[annotationparser] Extract (skip) for doc blocks
Johan Dahlin [Sat, 25 Sep 2010 14:30:54 +0000 (11:30 -0300)]
[annotationparser] Extract (skip) for doc blocks

13 years agoRe-generate against HEAD of Gio
Johan Dahlin [Fri, 24 Sep 2010 21:25:04 +0000 (18:25 -0300)]
Re-generate against HEAD of Gio

13 years agoSetup message logger
Johan Dahlin [Fri, 24 Sep 2010 21:23:19 +0000 (18:23 -0300)]
Setup message logger

Since the annotationparser may warn

13 years agoPrint out line numbers
Johan Dahlin [Fri, 24 Sep 2010 21:23:03 +0000 (18:23 -0300)]
Print out line numbers

But disable the printing by default since it messes up
the generated file. And fix a couple of typos

13 years agoUse tag position if available
Johan Dahlin [Fri, 24 Sep 2010 21:22:35 +0000 (18:22 -0300)]
Use tag position if available

13 years ago[girparser] Callbacks and VFunctions can be shadowed
Johan Dahlin [Fri, 24 Sep 2010 19:30:42 +0000 (16:30 -0300)]
[girparser] Callbacks and VFunctions can be shadowed

13 years agoImport GObject sources
Johan Dahlin [Fri, 24 Sep 2010 19:24:28 +0000 (16:24 -0300)]
Import GObject sources

13 years agoAdd a script to import gobject annotations
Johan Dahlin [Fri, 24 Sep 2010 19:24:17 +0000 (16:24 -0300)]
Add a script to import gobject annotations

13 years ago[gio] Improve source comments
Johan Dahlin [Fri, 24 Sep 2010 18:52:55 +0000 (15:52 -0300)]
[gio] Improve source comments

Imports gtk-doc comment from gio. In the future comments
should go into the gio sources instead of here, wer're we will
use the annotation-tool to update the extracted sources.

13 years agoAdd a script to extract gio annotations
Johan Dahlin [Fri, 24 Sep 2010 18:41:24 +0000 (15:41 -0300)]
Add a script to extract gio annotations

13 years agoAdd an annotation tool
Johan Dahlin [Thu, 16 Sep 2010 03:37:49 +0000 (00:37 -0300)]
Add an annotation tool

13 years ago[scannermain] Split scanner_main into smaller pieces
Johan Dahlin [Thu, 16 Sep 2010 03:36:37 +0000 (00:36 -0300)]
[scannermain] Split scanner_main into smaller pieces

Split it into pieces that will be reusable across different
command line tools.

13 years ago[annotationparser] Allow param less closures
Johan Dahlin [Fri, 24 Sep 2010 16:50:17 +0000 (13:50 -0300)]
[annotationparser] Allow param less closures

Allow closures without annotations to avoid having
to duplicate the parameter name.

13 years agoAdd more array warnings + tests
Johan Dahlin [Fri, 24 Sep 2010 13:53:12 +0000 (10:53 -0300)]
Add more array warnings + tests

13 years ago[annotationparser] Validate the rest of the annotations
Johan Dahlin [Fri, 24 Sep 2010 12:59:43 +0000 (09:59 -0300)]
[annotationparser] Validate the rest of the annotations

All option annotations, which uses parenthesis are now
properly validated for number of values they expect

13 years ago[maintransformer] Add more warnings for element-type
Johan Dahlin [Fri, 24 Sep 2010 12:59:21 +0000 (09:59 -0300)]
[maintransformer] Add more warnings for element-type

13 years ago[maintransformer] Use constants
Johan Dahlin [Fri, 24 Sep 2010 12:58:45 +0000 (09:58 -0300)]
[maintransformer] Use constants

13 years agoAdd a position to doc options
Johan Dahlin [Fri, 24 Sep 2010 12:58:16 +0000 (09:58 -0300)]
Add a position to doc options

13 years ago[annotation] Add constants for out options
Johan Dahlin [Fri, 24 Sep 2010 12:57:35 +0000 (09:57 -0300)]
[annotation] Add constants for out options

13 years ago[maintransformer] Use AssertionError
Johan Dahlin [Fri, 24 Sep 2010 12:57:06 +0000 (09:57 -0300)]
[maintransformer] Use AssertionError

13 years agoFix a couple of broken annotations
Johan Dahlin [Fri, 24 Sep 2010 02:21:57 +0000 (23:21 -0300)]
Fix a couple of broken annotations

13 years ago[warningtester] Prettify error output
Johan Dahlin [Thu, 23 Sep 2010 22:11:59 +0000 (19:11 -0300)]
[warningtester] Prettify error output

13 years agoAdd scope annotation value warnings
Johan Dahlin [Thu, 23 Sep 2010 21:52:47 +0000 (18:52 -0300)]
Add scope annotation value warnings

Refactor and improve the warning messages for the transfer
warnings as well

13 years agoMake the invalid annotation warning a bit prettier
Johan Dahlin [Thu, 23 Sep 2010 21:52:29 +0000 (18:52 -0300)]
Make the invalid annotation warning a bit prettier

13 years agoValidate transfer annnotations
Johan Dahlin [Thu, 23 Sep 2010 21:36:37 +0000 (18:36 -0300)]
Validate transfer annnotations

13 years agoPaper-bag fix, add an OPT_TRANSFER import
Johan Dahlin [Thu, 23 Sep 2010 20:55:28 +0000 (17:55 -0300)]
Paper-bag fix, add an OPT_TRANSFER import

13 years agoRemove TAG_TRANSFER
Johan Dahlin [Thu, 23 Sep 2010 20:52:26 +0000 (17:52 -0300)]
Remove TAG_TRANSFER

13 years agoReplace TAG_TRANSFER with OPT_TRANSFER
Johan Dahlin [Thu, 23 Sep 2010 20:51:56 +0000 (17:51 -0300)]
Replace TAG_TRANSFER with OPT_TRANSFER

13 years ago[annotationparser] Make it a bit stricter
Johan Dahlin [Thu, 23 Sep 2010 20:32:58 +0000 (17:32 -0300)]
[annotationparser] Make it a bit stricter

Don't parse annotations on lines such as:
'@param: This is a foo (eg, bar) else: x'

Where there's content between the last ) and the :.

13 years ago[scanner] Warn for invalid scanner annotations
Johan Dahlin [Thu, 23 Sep 2010 20:13:29 +0000 (17:13 -0300)]
[scanner] Warn for invalid scanner annotations

Warn for invalid annotations.
Change so that custom attributes have to use the annotation
keyword.

13 years agoconfigure: Explicitly require GLib 2.24
Colin Walters [Thu, 23 Sep 2010 17:56:44 +0000 (13:56 -0400)]
configure: Explicitly require GLib 2.24

We're handling GVariant at least internally now.  Potentially
we could support earlier, but eh.

13 years agotests: Look for uninstalled .girs
Colin Walters [Wed, 22 Sep 2010 16:48:33 +0000 (12:48 -0400)]
tests: Look for uninstalled .girs

Add $(top_builddir)/gir to the include path, like we do in
Makefile.introspection.

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

13 years agoRevert "[transformer] Ignore hidden symbols"
Johan Dahlin [Tue, 21 Sep 2010 12:09:27 +0000 (09:09 -0300)]
Revert "[transformer] Ignore hidden symbols"

This reverts commit ad4934ca1d44285ab46d6e419d1788b886e48d82.

13 years ago[transformer] Ignore hidden symbols
Johan Dahlin [Tue, 21 Sep 2010 02:19:25 +0000 (23:19 -0300)]
[transformer] Ignore hidden symbols

Do not warn about hidden symbols.

13 years ago[IntrospectablePass] Suppress callback/vfunction warnings
Johan Dahlin [Tue, 21 Sep 2010 02:30:25 +0000 (23:30 -0300)]
[IntrospectablePass] Suppress callback/vfunction warnings

Suppress a callback and virtual function warnings until
there's a clear way to document them.

13 years ago[Message] Implement Position.__repr__
Johan Dahlin [Tue, 21 Sep 2010 02:18:56 +0000 (23:18 -0300)]
[Message] Implement Position.__repr__

13 years ago[maintransformer] Improve type resolution warnings
Johan Dahlin [Tue, 21 Sep 2010 02:18:07 +0000 (23:18 -0300)]
[maintransformer] Improve type resolution warnings

Try a bit harder to find the block where the type resolving
errors originate from

13 years ago[IntrospectablePass] Improve error message
Johan Dahlin [Tue, 21 Sep 2010 02:15:51 +0000 (23:15 -0300)]
[IntrospectablePass] Improve error message

Send in block postions so we can get accurate line numbers
for warnings emitted from this class.

13 years agoPass in blocks to IntrospectablePass
Johan Dahlin [Tue, 21 Sep 2010 02:15:08 +0000 (23:15 -0300)]
Pass in blocks to IntrospectablePass

13 years ago[message] Add apositions argument to a few functions
Johan Dahlin [Tue, 21 Sep 2010 02:01:27 +0000 (23:01 -0300)]
[message] Add apositions argument to a few functions

13 years ago[scanner] Support private/public directives
Johan Dahlin [Mon, 20 Sep 2010 20:44:09 +0000 (17:44 -0300)]
[scanner] Support private/public directives

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