platform/upstream/gobject-introspection.git
11 years agosourcescanner: Fix issues with double constants in the copy
Jasper St. Pierre [Mon, 18 Feb 2013 21:28:17 +0000 (16:28 -0500)]
sourcescanner: Fix issues with double constants in the copy

11 years agosourcescanner: Fix symbolic references in enum members
Jasper St. Pierre [Sat, 16 Feb 2013 05:43:36 +0000 (00:43 -0500)]
sourcescanner: Fix symbolic references in enum members

We need to copy the source symbols, otherwise we'll
overwrite their values. This isn't good.

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

11 years agosourcescanner: Remove unused "id" field
Jasper St. Pierre [Sat, 16 Feb 2013 05:38:37 +0000 (00:38 -0500)]
sourcescanner: Remove unused "id" field

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

11 years agodocwriter: Use the fully-qualified name for functions and methods
Jasper St. Pierre [Fri, 15 Feb 2013 13:23:10 +0000 (08:23 -0500)]
docwriter: Use the fully-qualified name for functions and methods

11 years agodoctool: Use format_xref to format some links to pages
Jasper St. Pierre [Fri, 15 Feb 2013 11:04:11 +0000 (06:04 -0500)]
doctool: Use format_xref to format some links to pages

We don't do a full 100% conversion for all link tags, yet,
because I don't want to break too much here. This may come
later.

11 years agodocwriter: Add support for adding additional attrs to the xref writer
Jasper St. Pierre [Fri, 15 Feb 2013 11:00:51 +0000 (06:00 -0500)]
docwriter: Add support for adding additional attrs to the xref writer

11 years agodocwriter: Clean up make_page_id
Jasper St. Pierre [Fri, 15 Feb 2013 11:40:20 +0000 (06:40 -0500)]
docwriter: Clean up make_page_id

Make it use a simple recursive technique similar to format_page_name.

11 years agoast: Fix indentation
Jasper St. Pierre [Fri, 15 Feb 2013 21:05:24 +0000 (16:05 -0500)]
ast: Fix indentation

11 years agoast: Fall back to the namespace for the parent of a Node
Jasper St. Pierre [Fri, 15 Feb 2013 11:31:49 +0000 (06:31 -0500)]
ast: Fall back to the namespace for the parent of a Node

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

11 years agoast: Rename Class.parent to parent_type
Jasper St. Pierre [Fri, 15 Feb 2013 11:19:00 +0000 (06:19 -0500)]
ast: Rename Class.parent to parent_type

The eventual model I want to have is that .parent is the "container"
of the node. In all the cases where we don't explicitly set the parent,
this is the namespace, but having this under one field name would be
a big cleanup for the docwriter.

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

11 years agogirparser: Clean up code
Jasper St. Pierre [Fri, 15 Feb 2013 11:19:58 +0000 (06:19 -0500)]
girparser: Clean up code

This makes it only use kwargs

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

11 years agogirepository: Document g_enum_info_get_error_domain
Torsten Schönfeld [Thu, 14 Feb 2013 19:51:57 +0000 (20:51 +0100)]
girepository: Document g_enum_info_get_error_domain

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

11 years agodoctool: Make sure to add "new"
Jasper St. Pierre [Fri, 15 Feb 2013 13:18:06 +0000 (08:18 -0500)]
doctool: Make sure to add "new"

11 years agodoctool: Don't put curly braces around the construct props if there are none
Jasper St. Pierre [Fri, 15 Feb 2013 13:16:16 +0000 (08:16 -0500)]
doctool: Don't put curly braces around the construct props if there are none

11 years agodoctool: Don't link to the namespace from the namespace page
Jasper St. Pierre [Fri, 15 Feb 2013 11:12:32 +0000 (06:12 -0500)]
doctool: Don't link to the namespace from the namespace page

11 years agodoctool: Rename page_style to page_kind
Jasper St. Pierre [Fri, 15 Feb 2013 11:05:31 +0000 (06:05 -0500)]
doctool: Rename page_style to page_kind

11 years agotests: Clean up doc generation tests
Jasper St. Pierre [Fri, 15 Feb 2013 10:58:01 +0000 (05:58 -0500)]
tests: Clean up doc generation tests

We no longer have to mkdir -p

11 years agodocmain: Create the output dir for us if it doesn't exist
Jasper St. Pierre [Fri, 15 Feb 2013 10:49:55 +0000 (05:49 -0500)]
docmain: Create the output dir for us if it doesn't exist

11 years agodocwriter: Don't render constants for now
Jasper St. Pierre [Fri, 15 Feb 2013 10:45:27 +0000 (05:45 -0500)]
docwriter: Don't render constants for now

Clutter has thousands of keysym constants, and until we get them
all on one page, this is just tons of tiny files that are just
noise.

11 years agodoctool: Remove an extra <p> in the signals
Jasper St. Pierre [Fri, 15 Feb 2013 10:29:16 +0000 (05:29 -0500)]
doctool: Remove an extra <p> in the signals

11 years agoUpdate annotations from glib git
Rico Tzschichholz [Fri, 15 Feb 2013 07:27:52 +0000 (08:27 +0100)]
Update annotations from glib git

11 years agodoctool: Remove the ctype from the signal return value
Jasper St. Pierre [Fri, 15 Feb 2013 04:14:56 +0000 (23:14 -0500)]
doctool: Remove the ctype from the signal return value

WTF was this here for?

11 years agodoctool: Add an link for signal methods
Jasper St. Pierre [Fri, 15 Feb 2013 04:14:02 +0000 (23:14 -0500)]
doctool: Add an link for signal methods

11 years agodoctool: Fix Gjs class signature
Jasper St. Pierre [Fri, 15 Feb 2013 04:04:41 +0000 (23:04 -0500)]
doctool: Fix Gjs class signature

11 years agodoctool: Gjs doesn't have extra signal parameters
Jasper St. Pierre [Fri, 15 Feb 2013 04:00:51 +0000 (23:00 -0500)]
doctool: Gjs doesn't have extra signal parameters

11 years agodoctool: Fix use of <dl> tag in templates
Jasper St. Pierre [Fri, 15 Feb 2013 03:47:10 +0000 (22:47 -0500)]
doctool: Fix use of <dl> tag in templates

This isn't legal Mallard

11 years agodocwriter: Skip non-introspectable nodes in introspectable languages
Jasper St. Pierre [Fri, 15 Feb 2013 03:28:16 +0000 (22:28 -0500)]
docwriter: Skip non-introspectable nodes in introspectable languages

11 years agodocwriter: Introduce a base formatter for introspectable languages
Jasper St. Pierre [Fri, 15 Feb 2013 03:24:52 +0000 (22:24 -0500)]
docwriter: Introduce a base formatter for introspectable languages

Introspectable languages share a non-zero set of base semantics,
so it will become easier to implement these shared semantics here,
rather than copy-paste code.

11 years agodocwriter: Format list types as if they are arrays
Jasper St. Pierre [Fri, 15 Feb 2013 03:15:30 +0000 (22:15 -0500)]
docwriter: Format list types as if they are arrays

Language bindings don't actually care

11 years ago.gitignore: Update for some testing stuff
Jasper St. Pierre [Fri, 15 Feb 2013 04:15:03 +0000 (23:15 -0500)]
.gitignore: Update for some testing stuff

I'm building html docs to test, and I don't want git thinking it's
untracked stuff.

11 years agogiscanner: Suppress deprecation warnings when introspecting types
Stef Walter [Wed, 13 Feb 2013 21:16:50 +0000 (22:16 +0100)]
giscanner: Suppress deprecation warnings when introspecting types

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

11 years agotests/scanner: add Regress-1.0-*-expected to EXTRA_DIST
Rico Tzschichholz [Tue, 12 Feb 2013 20:02:08 +0000 (21:02 +0100)]
tests/scanner: add Regress-1.0-*-expected to EXTRA_DIST

11 years agoast: Allow more options in unresolved_type
Jasper St. Pierre [Sat, 9 Feb 2013 04:23:36 +0000 (23:23 -0500)]
ast: Allow more options in unresolved_type

If there's an unresolved type for an annotation, it's very likely
it's using a target_giname.

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

11 years agotests: Use Regress GIR for doctool
Jasper St. Pierre [Sun, 3 Feb 2013 11:58:53 +0000 (06:58 -0500)]
tests: Use Regress GIR for doctool

This makes us test a lot more functionality in the doc tool, and
removes the need to have a lot of different test libraries, and
different test infrastructure.

11 years agodocwriter: Support formatting of types without c:types
Jasper St. Pierre [Sun, 3 Feb 2013 13:15:28 +0000 (08:15 -0500)]
docwriter: Support formatting of types without c:types

This can happen for properties/signals.

11 years agodocwriter: Support varargs in parameter names
Jasper St. Pierre [Sun, 3 Feb 2013 15:19:42 +0000 (10:19 -0500)]
docwriter: Support varargs in parameter names

11 years agodocwriter: Skip lots of special kinds of parameters
Jasper St. Pierre [Sat, 2 Feb 2013 16:40:51 +0000 (11:40 -0500)]
docwriter: Skip lots of special kinds of parameters

Gjs ignores all of these when constructing function signatures.

11 years agodocwriter: Define a new formatter method for getting params
Jasper St. Pierre [Sat, 2 Feb 2013 16:24:13 +0000 (11:24 -0500)]
docwriter: Define a new formatter method for getting params

This will let us gracefully skip over parameters that aren't exposed
by specific language bindings.

It also fixes a bug in the C/Python documentation where we weren't
iterating over the right parameters.

11 years agodoctool: Don't use zip(range(L))
Jasper St. Pierre [Sat, 2 Feb 2013 16:07:42 +0000 (11:07 -0500)]
doctool: Don't use zip(range(L))

Instead, remove it entirely (since we don't need the index) or instead
use enumerate().

11 years agodocmain: Support an include path for GIRs
Jasper St. Pierre [Sun, 3 Feb 2013 12:31:52 +0000 (07:31 -0500)]
docmain: Support an include path for GIRs

We need this to replace the test infrastructure so it can find
Utility-1.0.gir

11 years agobuild: Enable g-ir-doctool if mako is found
Colin Walters [Mon, 11 Feb 2013 16:49:31 +0000 (11:49 -0500)]
build: Enable g-ir-doctool if mako is found

Let's lift it out of the disabled-by-default ghetto.

11 years agoscanner: remove backcompat copies more safely
Torsten Schönfeld [Sun, 2 Oct 2011 15:20:45 +0000 (17:20 +0200)]
scanner: remove backcompat copies more safely

Instead of modifying the namespace while we are iterating over it, which
leads to nodes not being tested, set an 'internal_skipped' property on the
function and read it in the GIR writer.

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

11 years agoscanner: Fix use of undeclared variable in previous commit
Colin Walters [Thu, 7 Feb 2013 20:25:25 +0000 (15:25 -0500)]
scanner: Fix use of undeclared variable in previous commit

Fixes the NetworkManager build.

11 years agotransformer: Ensure that types aren't resolved if we can't find them
Jasper St. Pierre [Sun, 3 Feb 2013 13:54:16 +0000 (08:54 -0500)]
transformer: Ensure that types aren't resolved if we can't find them

This ensures that things can't try to reference undefined/invalid types
without emitting warnings, and that users need to include other GIRs at
build time if they want to reference another type.

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

11 years agoast: Add a quick __repr__ to Field and Member
Jasper St. Pierre [Sun, 3 Feb 2013 15:07:23 +0000 (10:07 -0500)]
ast: Add a quick __repr__ to Field and Member

Nothing too specific, just something to help with debugging.

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

11 years agoannotation: Fix invalid type
Jasper St. Pierre [Sun, 3 Feb 2013 14:29:23 +0000 (09:29 -0500)]
annotation: Fix invalid type

I'm quite sure this is a typo rather than an intended thing. This
will gain a test and a warning soon.

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

11 years agotransformer: Warn on unnamed params in declarations
Jasper St. Pierre [Sun, 3 Feb 2013 15:39:36 +0000 (10:39 -0500)]
transformer: Warn on unnamed params in declarations

These params are unannotatable and undocumentable. They really
should not be allowed.

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

11 years agowarningtester: Sort the list of warnings
Jasper St. Pierre [Sun, 3 Feb 2013 16:13:53 +0000 (11:13 -0500)]
warningtester: Sort the list of warnings

This means that we can simply put all warnings at the bottom,
unrelated to the order that they're emitted in the code, keeping
line numbers more stable.

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

11 years agotests: Move do_moo to warnlib
Jasper St. Pierre [Sun, 3 Feb 2013 15:50:21 +0000 (10:50 -0500)]
tests: Move do_moo to warnlib

We want to warn on unnamed params in declarations to ensure that
all functions are bindable. Thus, we need to move a test containing
unnamed params to WarnLib so it can be tested.

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

11 years agotests: Move TestInherit into Regress
Jasper St. Pierre [Sat, 2 Feb 2013 17:00:15 +0000 (12:00 -0500)]
tests: Move TestInherit into Regress

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

11 years agotests: Move Foo into Regress
Jasper St. Pierre [Sat, 2 Feb 2013 16:53:53 +0000 (11:53 -0500)]
tests: Move Foo into Regress

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

11 years agotests: Move Annotation into Regress
Jasper St. Pierre [Sat, 2 Feb 2013 16:49:48 +0000 (11:49 -0500)]
tests: Move Annotation into Regress

The goal here is to have one master library for testing lots of
edge cases for GIRs rather than lots of individual libraries.

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

11 years agoUpdate .gitignore
Jasper St. Pierre [Sun, 3 Feb 2013 13:24:54 +0000 (08:24 -0500)]
Update .gitignore

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

11 years agotests: Support warning tests in modern automake
Jasper St. Pierre [Sun, 3 Feb 2013 13:24:19 +0000 (08:24 -0500)]
tests: Support warning tests in modern automake

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

11 years agotests: Update Makefile.am
Jasper St. Pierre [Sun, 3 Feb 2013 12:02:25 +0000 (07:02 -0500)]
tests: Update Makefile.am

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

11 years agogimarshalingtests: fix spelling mistake in new vfunc object helpers
Simon Feltman [Wed, 6 Feb 2013 20:54:14 +0000 (12:54 -0800)]
gimarshalingtests: fix spelling mistake in new vfunc object helpers

11 years agobuild: Really fix make dist
Rico Tzschichholz [Tue, 5 Feb 2013 08:12:38 +0000 (09:12 +0100)]
build: Really fix make dist

11 years agobuild: Fix make dist
Rico Tzschichholz [Tue, 5 Feb 2013 07:44:14 +0000 (08:44 +0100)]
build: Fix make dist

11 years agoUpdate annotations from glib git
Martin Pitt [Mon, 4 Feb 2013 18:08:09 +0000 (19:08 +0100)]
Update annotations from glib git

11 years agodoctool: Rebrand mallardwriter as docwriter
Jasper St. Pierre [Sat, 2 Feb 2013 02:15:27 +0000 (21:15 -0500)]
doctool: Rebrand mallardwriter as docwriter

We eventually want to stop using Mallard as a documentation language.
Rationale incoming when I convert all templates back to DocBook.

11 years agogiscanner: Add a new quick hack module for scanning section files
Jasper St. Pierre [Sat, 2 Feb 2013 02:13:16 +0000 (21:13 -0500)]
giscanner: Add a new quick hack module for scanning section files

This will be used to group symbols into documentation sections.

11 years agodoctool: Move signal/vfunc templates to extend function.tmpl
Jasper St. Pierre [Sat, 2 Feb 2013 01:41:53 +0000 (20:41 -0500)]
doctool: Move signal/vfunc templates to extend function.tmpl

11 years agodoctool: Update templates to include the actual instance parameter
Jasper St. Pierre [Sat, 2 Feb 2013 01:19:12 +0000 (20:19 -0500)]
doctool: Update templates to include the actual instance parameter

Rather than fabricating one with a fake name.

11 years agomallardwriter: Fix code for self-parameter forcing
Jasper St. Pierre [Sat, 2 Feb 2013 01:01:56 +0000 (20:01 -0500)]
mallardwriter: Fix code for self-parameter forcing

11 years agodoc-examples-obj: Rename @self to @obj in doc_examples_obj_method
Jasper St. Pierre [Sat, 2 Feb 2013 01:15:32 +0000 (20:15 -0500)]
doc-examples-obj: Rename @self to @obj in doc_examples_obj_method

This will be used to test Python "self" parameter forcing.

11 years agoast: Allow lookup of the instance parameter by name
Jasper St. Pierre [Sat, 2 Feb 2013 01:10:06 +0000 (20:10 -0500)]
ast: Allow lookup of the instance parameter by name

This will be used by the doctool to properly identify the
instance parameter.

11 years agodoc-examples-obj: Fix documentation for doc_examples_obj_method
Jasper St. Pierre [Sat, 2 Feb 2013 01:08:34 +0000 (20:08 -0500)]
doc-examples-obj: Fix documentation for doc_examples_obj_method

We need to properly document the first argument, here. We don't
actually iterate over the instance parameter yet, so this will
just affect the documentation for @first_arg.

11 years agoast: Add a new all_parameters property to Callable
Jasper St. Pierre [Sat, 2 Feb 2013 01:01:39 +0000 (20:01 -0500)]
ast: Add a new all_parameters property to Callable

This will be used by the doctool to show the self parameter in C
and Python docs.

11 years agodoctool: Switch to UI v1.0
Jasper St. Pierre [Fri, 1 Feb 2013 06:11:23 +0000 (01:11 -0500)]
doctool: Switch to UI v1.0

This is to shut yelp up about experimental UI and expanded.

11 years agodoctool: Initial import of a Gjs language that we support
Jasper St. Pierre [Fri, 1 Feb 2013 04:40:20 +0000 (23:40 -0500)]
doctool: Initial import of a Gjs language that we support

Copy/pasted from Python.

11 years agoast: Make sure to export c:type for signals and properties
Jasper St. Pierre [Fri, 1 Feb 2013 05:17:39 +0000 (00:17 -0500)]
ast: Make sure to export c:type for signals and properties

11 years agomallardwriter: Clean up node filtering
Jasper St. Pierre [Fri, 1 Feb 2013 04:25:26 +0000 (23:25 -0500)]
mallardwriter: Clean up node filtering

Instead of checking strings, pass this to the Formatter, which is
really mostly about language semantics now.

11 years agomallardwriter: Don't set content for links
Jasper St. Pierre [Fri, 1 Feb 2013 00:19:28 +0000 (19:19 -0500)]
mallardwriter: Don't set content for links

These are set automatically.

11 years agomallardwriter: Use xmlwriter for xrefs
Jasper St. Pierre [Fri, 1 Feb 2013 00:10:11 +0000 (19:10 -0500)]
mallardwriter: Use xmlwriter for xrefs

11 years agodoctool: Use a base template for all node kinds that make sense
Jasper St. Pierre [Thu, 31 Jan 2013 23:58:13 +0000 (18:58 -0500)]
doctool: Use a base template for all node kinds that make sense

11 years agodoctool: Rename templates to exclude mallard/the language
Jasper St. Pierre [Thu, 31 Jan 2013 23:44:09 +0000 (18:44 -0500)]
doctool: Rename templates to exclude mallard/the language

As templates are in their own directory and segregated into language
already, this is sort of repeating the issue. At the same time, always
explicitly use relative ("./") or absolute ("/") lookups for templates.

We want to eventually have base templates to share between languages, so
to do so without namespace clashes makes sense.

11 years agomallardwriter: Use lookup_typenode to look up a Type node
Jasper St. Pierre [Thu, 31 Jan 2013 23:35:01 +0000 (18:35 -0500)]
mallardwriter: Use lookup_typenode to look up a Type node

Functions that do what we want? What a concept!

11 years agomallardwriter: Simply use the parent page name for nested pages
Jasper St. Pierre [Thu, 31 Jan 2013 23:23:46 +0000 (18:23 -0500)]
mallardwriter: Simply use the parent page name for nested pages

If we have a parent page, we might as well use it so that parent
names are consistent across pages.

11 years agomallardwriter: Don't use function symbols for vfuncs/signals
Jasper St. Pierre [Thu, 31 Jan 2013 23:23:07 +0000 (18:23 -0500)]
mallardwriter: Don't use function symbols for vfuncs/signals

11 years agodoctool: Use definition lists instead of tables
Jasper St. Pierre [Thu, 31 Jan 2013 23:15:35 +0000 (18:15 -0500)]
doctool: Use definition lists instead of tables

11 years agodoctool: Define a standard order of items for all pages
Jasper St. Pierre [Thu, 31 Jan 2013 17:52:23 +0000 (12:52 -0500)]
doctool: Define a standard order of items for all pages

11 years agodoctool: Use a base template for all pages
Jasper St. Pierre [Thu, 31 Jan 2013 16:46:13 +0000 (11:46 -0500)]
doctool: Use a base template for all pages

11 years agotests: Don't remove the built doctool directories if we're done
Jasper St. Pierre [Fri, 1 Feb 2013 00:25:43 +0000 (19:25 -0500)]
tests: Don't remove the built doctool directories if we're done

11 years agotests: Ignore whitespace differences in template comparisons
Jasper St. Pierre [Thu, 31 Jan 2013 15:52:53 +0000 (10:52 -0500)]
tests: Ignore whitespace differences in template comparisons

Adding more Mako code to reduce duplicate code will add newlines to
the output. Ignore these.

11 years agodoctool: Use a standard title for both links and for page titles
Jasper St. Pierre [Thu, 31 Jan 2013 16:33:57 +0000 (11:33 -0500)]
doctool: Use a standard title for both links and for page titles

11 years agomallardwriter: Fix format_page_name for Namespace
Jasper St. Pierre [Thu, 31 Jan 2013 16:32:16 +0000 (11:32 -0500)]
mallardwriter: Fix format_page_name for Namespace

Namespace doesn't have a namespace member.

11 years agodoctool: Switch to a computed page_style for all page templates
Jasper St. Pierre [Thu, 31 Jan 2013 16:14:19 +0000 (11:14 -0500)]
doctool: Switch to a computed page_style for all page templates

This is a quick cleanup before we inherit from a common template
for all pages.

11 years agomallardwriter: Remove unused import
Jasper St. Pierre [Thu, 31 Jan 2013 15:54:20 +0000 (10:54 -0500)]
mallardwriter: Remove unused import

11 years agomallardwriter: Parse %ENUM_FIELDs
Jasper St. Pierre [Wed, 30 Jan 2013 15:07:59 +0000 (10:07 -0500)]
mallardwriter: Parse %ENUM_FIELDs

11 years agomallardwriter: Use the same code to lookup fundamentals as the rest
Jasper St. Pierre [Wed, 30 Jan 2013 14:50:43 +0000 (09:50 -0500)]
mallardwriter: Use the same code to lookup fundamentals as the rest

Also, put <code> blocks around fundamentals.

11 years agomallardwriter: Use mkdtemp
Jasper St. Pierre [Thu, 31 Jan 2013 17:58:15 +0000 (12:58 -0500)]
mallardwriter: Use mkdtemp

We should not litter /tmp

11 years agogirparser: Serialize and read back the instance_parameter
Jasper St. Pierre [Thu, 31 Jan 2013 14:36:07 +0000 (09:36 -0500)]
girparser: Serialize and read back the instance_parameter

g-ir-doc-tool wants to use the instance parameter to read docs
and the parameter name, so it needs to be shuttled through the
GIR.

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

11 years agogirparser: Clean up passthrough handling
Jasper St. Pierre [Fri, 1 Feb 2013 04:02:02 +0000 (23:02 -0500)]
girparser: Clean up passthrough handling

Instead of remembering to have to set unknown_depth, smarten up
state_switch to do it for us.

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

11 years agogirparser: Move <doc> handling to passthrough
Jasper St. Pierre [Fri, 1 Feb 2013 03:59:23 +0000 (22:59 -0500)]
girparser: Move <doc> handling to passthrough

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

11 years agogiscanner: Apply standard annotations to constant values
Jasper St. Pierre [Fri, 1 Feb 2013 02:42:32 +0000 (21:42 -0500)]
giscanner: Apply standard annotations to constant values

While there's no particular reason I need to do this, there
really isn't any reason to not do this, and it helps with doctool
or whatever in the future if we want to document when a constant
showed up. g-ir-compiler also keeps track of constant deprecations,
so this fixes constants not ever being deprecated.

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

11 years agoast: Track enum/bitfield member parents
Jasper St. Pierre [Wed, 30 Jan 2013 15:02:41 +0000 (10:02 -0500)]
ast: Track enum/bitfield member parents

We need this for the doctool so that we can link to an enum
definition when we reference one of the member values.

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

11 years agoast: Track enum members by symbol
Jasper St. Pierre [Wed, 30 Jan 2013 14:57:18 +0000 (09:57 -0500)]
ast: Track enum members by symbol

The doctool eventually wants to parse inline references to
constant values like %GTK_TEXT_DIRECTION_LTR, so we need to
have a way to look up the original symbol value for an enum
member.

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

11 years agotests: %NULL-terminated is wrong
Jasper St. Pierre [Wed, 9 Jan 2013 19:26:26 +0000 (14:26 -0500)]
tests: %NULL-terminated is wrong

This translates into "None-terminated" in Python, which is bad.
We should eventually strip this phrase entirely for certain languages
with a prefilter.

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

11 years agoRemove the insane pre-commit hook
Jasper St. Pierre [Wed, 30 Jan 2013 15:09:55 +0000 (10:09 -0500)]
Remove the insane pre-commit hook

I'm sick and tired of this.

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

11 years agoUpdate .gitignore
Jasper St. Pierre [Wed, 30 Jan 2013 15:52:20 +0000 (10:52 -0500)]
Update .gitignore

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