Support introspectable=no attribute, add warnings framework
authorColin Walters <walters@verbum.org>
Thu, 17 Jun 2010 00:34:18 +0000 (20:34 -0400)
committerColin Walters <walters@verbum.org>
Thu, 17 Jun 2010 01:58:18 +0000 (21:58 -0400)
commit074192b89c6afcdd7f062f03989972e44334b8bf
treeb3334fc386176b9d3adb1579319e6661604a3710
parent59b084e18e8826613de47fa69b791c72574a3900
Support introspectable=no attribute, add warnings framework

This work allows us to move closer to replacing gtk-doc, among other
things.  We add a generic attribute "introspectable", and inside the
typelib compiler if we see "introspectable=no", we don't put it in the
typelib.  This replaces the hackish pre-filter for varargs with a much
more generic mechanism.

The varargs is now handled in the scanner, and we emit
introspectable=no for them.

Add generic metadata to Node with references to file/line/column,
which currently comes from symbols.

Add scanner options --Wall and --Werror.
gir/Makefile.am
girepository/girparser.c
girepository/girparser.h
giscanner/ast.py
giscanner/girwriter.py
giscanner/glibtransformer.py
giscanner/scannermain.py
giscanner/sourcescanner.py
giscanner/transformer.py
tests/scanner/Makefile.am
tests/scanner/foo-1.0-expected.gir