platform/upstream/gobject-introspection.git
12 years agoautogen.sh: Use autoreconf instead custom script
Javier Jardón [Sun, 19 Jun 2011 21:16:12 +0000 (22:16 +0100)]
autogen.sh: Use autoreconf instead custom script

12 years agoFix g_irepository_find_by_gtype() for GDK_TYPE_RECTANGLE
Pavel Holejsovsky [Fri, 19 Aug 2011 19:20:10 +0000 (21:20 +0200)]
Fix g_irepository_find_by_gtype() for GDK_TYPE_RECTANGLE

Complement fix for g-ir-scanner which converts every GdkRectangle
gtype to CairoRectangleInt.  Make sure that C-side API is also aware
of this workaround.

Use case requiring this patch:

When binding implementation wants to get/set property, it can use either
GI-based approach (g_property_info_xxx() funcs), or just GLib facilities.
Although former is probably preferred, there are cases when latter is still
needed (e.g. gstreamer uses dynamic properties, which are not present in the
gir).  In this case, binding implementation queries the type of the propertyb
(using g_object_class_find_property()), it gets GDK_TYPE_RECTANGLE,
and without the patch it cannot map it to any known type.

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

12 years agoProperly handle GParamSpec and descendants
Pavel Holejsovsky [Sat, 13 Aug 2011 11:10:53 +0000 (13:10 +0200)]
Properly handle GParamSpec and descendants

GParamSpec is introspected as fundamental class, and all GObject
classes derived from it (e.g. GParamSpecChar) are marked as such.

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

12 years agoUpdate annotations from glib git 2cd3c200687751c9cc26774f650b7651bffcc598
Jasper St. Pierre [Wed, 24 Aug 2011 17:29:04 +0000 (13:29 -0400)]
Update annotations from glib git 2cd3c200687751c9cc26774f650b7651bffcc598

12 years agoRemove MAINTAINERS and add DOAP
Jasper St. Pierre [Wed, 24 Aug 2011 17:53:59 +0000 (13:53 -0400)]
Remove MAINTAINERS and add DOAP

12 years agoadd back the fixed_array_out_struct test
John (J5) Palmieri [Tue, 23 Aug 2011 18:17:54 +0000 (14:17 -0400)]
add back the fixed_array_out_struct test

12 years agotests: build tests only on make check
Alexandre Rostovtsev [Mon, 22 Aug 2011 06:49:51 +0000 (02:49 -0400)]
tests: build tests only on make check

Use automake's check_ prefix and avoid putting anything nontrivial in
BUILT_SOURCES so that tests are build only on make check.

The dummy -rpath in AM_LDFLAGS in tests/scanner/Makefile.am is needed to
force libtool to build shared libraries for check_LTLIBRARIESS targets
(automake builds check_LTLIBRARIES as static by default); see
http://lists.gnu.org/archive/html/automake/2005-10/msg00107.html

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

12 years agodoctool: Disable tests for now
Colin Walters [Tue, 23 Aug 2011 13:35:51 +0000 (09:35 -0400)]
doctool: Disable tests for now

They don't work for multiple reasons, and there is still debate
about how the formatting etc. will work.

12 years agodocbookdescription.py: Fix for PEP-8 compliance
Colin Walters [Mon, 22 Aug 2011 18:55:41 +0000 (14:55 -0400)]
docbookdescription.py: Fix for PEP-8 compliance

12 years agoUpdate annotations from glib git d51e0615f9a6c1aa1898c46f2cf3135ca5ccd463
Colin Walters [Mon, 22 Aug 2011 18:28:03 +0000 (14:28 -0400)]
Update annotations from glib git d51e0615f9a6c1aa1898c46f2cf3135ca5ccd463

12 years agoAdd 'Since:' tags to the newly added GIEnumInfo methods
Torsten Schönfeld [Thu, 18 Aug 2011 20:51:57 +0000 (22:51 +0200)]
Add 'Since:' tags to the newly added GIEnumInfo methods

12 years agoRegenerate Gio/GLib/GObject annotations
Martin Pitt [Thu, 18 Aug 2011 15:39:32 +0000 (17:39 +0200)]
Regenerate Gio/GLib/GObject annotations

Ran misc/update-glib-annotations.py against current glib master.

12 years agoAdd tests for newly added warnings
Giovanni Campagna [Thu, 18 Aug 2011 15:29:21 +0000 (17:29 +0200)]
Add tests for newly added warnings

g-ir-scanner now warns for invalid (element-type) annotations
in GPtrArray and in GByteArray. Test that.

12 years agotests/doctool: Remove MALLARD_DIRS from BUILT_SOURCES
Tomeu Vizoso [Thu, 18 Aug 2011 15:18:31 +0000 (17:18 +0200)]
tests/doctool: Remove MALLARD_DIRS from BUILT_SOURCES

so we don't generate the test docs when doing a plain build

12 years agoDisallow non byte types for GByteArrays
Giovanni Campagna [Sat, 2 Jul 2011 14:04:17 +0000 (16:04 +0200)]
Disallow non byte types for GByteArrays

Similarly to GPtrArrays, GByteArrays can only contain bytes. Emit
a warning if an inconsistent (element-type) is placed, and ensure
that the default is guint8 if nothing is added. This way bindings
can support GByteArrays without special casing them.

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

12 years agoForbid GPtrArrays holding non-pointer types
Giovanni Campagna [Sat, 2 Jul 2011 13:31:38 +0000 (15:31 +0200)]
Forbid GPtrArrays holding non-pointer types

It should be safe for bindings to assume that GPtrArrays hold only
pointers (or values as big as it), so there is no need to go through
hoops for converting smaller integers when marshalling.
Libraries that need arrays of integers should use GArray.

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

12 years agoDocbookwriter: signal flags
Laszlo Pandy [Wed, 17 Aug 2011 07:38:24 +0000 (09:38 +0200)]
Docbookwriter: signal flags

12 years agoIn DocBookWriter, remove DocBookEntity and just use the ast nodes directly.
Laszlo Pandy [Wed, 17 Aug 2011 06:55:05 +0000 (08:55 +0200)]
In DocBookWriter, remove DocBookEntity and just use the ast nodes directly.

12 years agoFor docbook, make the id attributes the same regardless of language. Only user visibl...
Laszlo Pandy [Tue, 16 Aug 2011 18:01:39 +0000 (20:01 +0200)]
For docbook, make the id attributes the same regardless of language. Only user visible strings should change between C and Python.

12 years agoDescriptions support for docbook writer.
Laszlo Pandy [Sun, 14 Aug 2011 09:51:04 +0000 (11:51 +0200)]
Descriptions support for docbook writer.
Includes support for escaping (but not double escaping) entities and CDATA sections.

Add descriptions from GIR to docbook writer.

12 years agoAllow enums and bitfields to have static methods
Torsten Schönfeld [Sat, 13 Aug 2011 15:28:30 +0000 (17:28 +0200)]
Allow enums and bitfields to have static methods

This uses the same backcompat machinery that was introduced for static
methods for non-class types, so this change does not break users of the
existing presentations.

New libgirepository API:

    g_enum_info_get_n_methods
    g_enum_info_get_method

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

12 years agoTeach scanner's girparser about fundamentals
Pavel Holejsovsky [Sat, 13 Aug 2011 11:10:34 +0000 (13:10 +0200)]
Teach scanner's girparser about fundamentals

Make sure that fundamental attribute and associated
functions (ref-func, unref-func, set-value-func and get-value-func)
are parsed, otherwise we fail reparse-validating girs containing
fundamentals.

12 years agogiscanner: Allow passing additional include dirs when parsing a gir
Tomeu Vizoso [Mon, 15 Aug 2011 15:45:09 +0000 (17:45 +0200)]
giscanner: Allow passing additional include dirs when parsing a gir

12 years agotests/doctools: Properly clean the temporary mallard files
Tomeu Vizoso [Mon, 15 Aug 2011 14:54:13 +0000 (16:54 +0200)]
tests/doctools: Properly clean the temporary mallard files

12 years agotests/doctool: Update the -expected dirs
Tomeu Vizoso [Mon, 15 Aug 2011 14:44:14 +0000 (16:44 +0200)]
tests/doctool: Update the -expected dirs

12 years agotests/doctool: Make sure we regenerate the mallard code when testing
Tomeu Vizoso [Mon, 15 Aug 2011 14:34:23 +0000 (16:34 +0200)]
tests/doctool: Make sure we regenerate the mallard code when testing

12 years ago[doctools] use 'or' instead of 'and' when checking for func or constructor
John (J5) Palmieri [Mon, 15 Aug 2011 14:41:50 +0000 (10:41 -0400)]
[doctools] use 'or' instead of 'and' when checking for func or constructor

12 years agotreat constructors like methods when generating the label
John (J5) Palmieri [Mon, 15 Aug 2011 14:33:06 +0000 (10:33 -0400)]
treat constructors like methods when generating the label

12 years ago[doctool] use different templates for method vs. function output
John (J5) Palmieri [Mon, 15 Aug 2011 14:19:41 +0000 (10:19 -0400)]
[doctool] use different templates for method vs. function output

12 years agoconfigure.ac: Change to tar-ustar because PAX gives problems in OpenBSD
Tomeu Vizoso [Mon, 15 Aug 2011 14:01:18 +0000 (16:01 +0200)]
configure.ac: Change to tar-ustar because PAX gives problems in OpenBSD

Also, it's what other GNOME modules use

12 years agotests/doctool: Better way of copying the .gir
Tomeu Vizoso [Mon, 15 Aug 2011 13:52:04 +0000 (15:52 +0200)]
tests/doctool: Better way of copying the .gir

12 years agoconfigure.ac: Add tar-pax to AM_INIT_AUTOMAKE
Tomeu Vizoso [Mon, 15 Aug 2011 13:50:45 +0000 (15:50 +0200)]
configure.ac: Add tar-pax to AM_INIT_AUTOMAKE

12 years agooutput namespace.class.methodname for python methods in the doctools
John (J5) Palmieri [Mon, 15 Aug 2011 13:27:05 +0000 (09:27 -0400)]
output namespace.class.methodname for python methods in the doctools

12 years agotests/doctool: Compare -expected directories instead of single files
Tomeu Vizoso [Mon, 15 Aug 2011 12:52:52 +0000 (14:52 +0200)]
tests/doctool: Compare -expected directories instead of single files

12 years agofix up Python doc backend to output correct names
John (J5) Palmieri [Mon, 15 Aug 2011 12:19:29 +0000 (08:19 -0400)]
fix up Python doc backend to output correct names

12 years agotests/doctool: Switch to test the mallard formatter
Tomeu Vizoso [Mon, 15 Aug 2011 12:04:03 +0000 (14:04 +0200)]
tests/doctool: Switch to test the mallard formatter

12 years agofirst pass at python backend for doc tools
John (J5) Palmieri [Mon, 15 Aug 2011 12:01:43 +0000 (08:01 -0400)]
first pass at python backend for doc tools

12 years agotests/doctool: Add the right -expected files to dist
Tomeu Vizoso [Mon, 15 Aug 2011 10:00:38 +0000 (12:00 +0200)]
tests/doctool: Add the right -expected files to dist

12 years agotests/doctool: Update expected files
Tomeu Vizoso [Mon, 15 Aug 2011 09:51:09 +0000 (11:51 +0200)]
tests/doctool: Update expected files

12 years agog-ir-doc-tool: Fix PEP-8 issues
Tomeu Vizoso [Mon, 15 Aug 2011 09:47:13 +0000 (11:47 +0200)]
g-ir-doc-tool: Fix PEP-8 issues

12 years agog-ir-doc-tool: print class declaration line in Python
Tomeu Vizoso [Sun, 14 Aug 2011 14:21:57 +0000 (16:21 +0200)]
g-ir-doc-tool: print class declaration line in Python

12 years agogiscanner/mallardwriter: Adding experimental Mallard output to g-ir-doc-tool
Shaun McCance [Sun, 14 Aug 2011 14:16:35 +0000 (10:16 -0400)]
giscanner/mallardwriter: Adding experimental Mallard output to g-ir-doc-tool

12 years agog-ir-doc-tool: Use namespace.class for Python
Tomeu Vizoso [Sun, 14 Aug 2011 13:15:31 +0000 (15:15 +0200)]
g-ir-doc-tool: Use namespace.class for Python

12 years agog-ir-doc-tool: Ignore for now properties with no known type
Tomeu Vizoso [Sun, 14 Aug 2011 12:24:31 +0000 (14:24 +0200)]
g-ir-doc-tool: Ignore for now properties with no known type

12 years agog-ir-doc-tool: Use the array type when rendering [element-type]
Tomeu Vizoso [Sun, 14 Aug 2011 12:17:33 +0000 (14:17 +0200)]
g-ir-doc-tool: Use the array type when rendering [element-type]

12 years agog-ir-doc-tool: Add -expected test for Python docbook
Tomeu Vizoso [Sun, 14 Aug 2011 09:10:14 +0000 (11:10 +0200)]
g-ir-doc-tool: Add -expected test for Python docbook

12 years agog-ir-scanner: Stop going up the hierarchy once we reach GObject
Tomeu Vizoso [Mon, 15 Aug 2011 09:34:20 +0000 (11:34 +0200)]
g-ir-scanner: Stop going up the hierarchy once we reach GObject

12 years agoMake sure we have UNINSTALLED_INTROSPECTION_SRCDIR when running tests
Tomeu Vizoso [Mon, 15 Aug 2011 09:32:07 +0000 (11:32 +0200)]
Make sure we have UNINSTALLED_INTROSPECTION_SRCDIR when running tests

12 years agoRegress-1.0-expected: Update for previous change
Colin Walters [Mon, 15 Aug 2011 08:22:01 +0000 (04:22 -0400)]
Regress-1.0-expected: Update for previous change

12 years agoannotationparser: Don't eat lines that look like parameters outside param list
Colin Walters [Sun, 14 Aug 2011 09:42:53 +0000 (05:42 -0400)]
annotationparser: Don't eat lines that look like parameters outside param list

If we're done parsing parameters, previously we would simply eat lines that looked like
    @foo: blah blah

Example is in gtkcssprovider.c.

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

12 years agoRecognize constructors ending in 'newv'
Torsten Schönfeld [Sat, 13 Aug 2011 14:32:48 +0000 (16:32 +0200)]
Recognize constructors ending in 'newv'

Like gtk_list_store_newv and gtk_tree_store_newv.

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

12 years agoMerge remote-tracking branch 'origin/gir-docbook'
Johan Dahlin [Sat, 13 Aug 2011 17:42:05 +0000 (14:42 -0300)]
Merge remote-tracking branch 'origin/gir-docbook'

Conflicts:
.gitignore
tests/scanner/Regress-1.0-expected.gir

12 years agoTry harder to preserve c:type
Johan Dahlin [Sat, 13 Aug 2011 17:36:53 +0000 (14:36 -0300)]
Try harder to preserve c:type

When we replace a type using annotation we should keep
the ctype of the original type.

12 years agoMake sure signal works when there isn't one specified
Johan Dahlin [Sat, 13 Aug 2011 15:45:12 +0000 (12:45 -0300)]
Make sure signal works when there isn't one specified

12 years agoMake sure signal works when there isn't one specified
Johan Dahlin [Sat, 13 Aug 2011 15:45:12 +0000 (12:45 -0300)]
Make sure signal works when there isn't one specified

12 years agog-ir-doc-tool: Add support for varargs
Tomeu Vizoso [Sat, 13 Aug 2011 15:33:46 +0000 (17:33 +0200)]
g-ir-doc-tool: Add support for varargs

12 years agotests/doctool: Updated -expected to match the code in the repo
Tomeu Vizoso [Sat, 13 Aug 2011 14:40:54 +0000 (16:40 +0200)]
tests/doctool: Updated -expected to match the code in the repo

12 years agoAdd signal flags
Johan Dahlin [Sat, 13 Aug 2011 14:21:05 +0000 (11:21 -0300)]
Add signal flags

This adds all GSignalFlags into the gir.

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

12 years agoUpdate gitignore
Johan Dahlin [Sat, 13 Aug 2011 14:15:32 +0000 (11:15 -0300)]
Update gitignore

12 years agog-ir-doc-tool: Add alias elements (typedef)
Tomeu Vizoso [Sat, 13 Aug 2011 14:13:41 +0000 (16:13 +0200)]
g-ir-doc-tool: Add alias elements (typedef)

12 years agoAdd signal flags
Johan Dahlin [Sat, 13 Aug 2011 13:35:13 +0000 (10:35 -0300)]
Add signal flags

This adds all GSignalFlags into the gir.

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

12 years agoannotationparser: Only accept certain tags
Colin Walters [Sat, 13 Aug 2011 13:35:10 +0000 (09:35 -0400)]
annotationparser: Only accept certain tags

Previously we were eating any line form "* [A-Za-z]: " as a tag,
but this is a problem since e.g. gtk/gtk/gtkcssprovder.c had literal
CSS e.g. block: which erroneously matched.

Fix this by only accepting particular tags, similar to what gtk-doc
does (although we accept a superset, e.g. transfer too).

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

12 years agoUpdate gitignore
Johan Dahlin [Sat, 13 Aug 2011 13:35:08 +0000 (10:35 -0300)]
Update gitignore

12 years agoremove the flat struct array test and replace with object pointer array test
John (J5) Palmieri [Sat, 13 Aug 2011 13:18:18 +0000 (09:18 -0400)]
remove the flat struct array test and replace with object pointer array test

12 years agoUpdate expected after rebase
Johan Dahlin [Sat, 13 Aug 2011 13:11:15 +0000 (10:11 -0300)]
Update expected after rebase

12 years agoMove doctool over to common.mk
Johan Dahlin [Sat, 13 Aug 2011 13:06:49 +0000 (10:06 -0300)]
Move doctool over to common.mk

12 years agoUpdate .gitignore
Johan Dahlin [Sat, 13 Aug 2011 13:00:02 +0000 (10:00 -0300)]
Update .gitignore

12 years agoscanner: add a moved_to property to backcompat functions
Torsten Schönfeld [Sat, 13 Aug 2011 10:45:14 +0000 (12:45 +0200)]
scanner: add a moved_to property to backcompat functions

Use it to remove backcompat copies of functions that non introspectable
anyway.

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

12 years agoscanner: handle static methods on all types
Torsten Schönfeld [Sat, 13 Aug 2011 10:00:00 +0000 (12:00 +0200)]
scanner: handle static methods on all types

Instead of just handling static methods for classes, handle them for:

  - Records and boxed
  - Unions
  - Interfaces

Based on a patch by Owen Taylor.

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

12 years agoAvoid broken emacs syntax highlightning
Johan Dahlin [Sat, 13 Aug 2011 12:39:47 +0000 (09:39 -0300)]
Avoid broken emacs syntax highlightning

12 years agoscanner: Don't throw away blank lines in the docs
Colin Walters [Fri, 12 Aug 2011 10:01:56 +0000 (06:01 -0400)]
scanner: Don't throw away blank lines in the docs

For generating documentation, we actually want to preserve these.

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

12 years agoAdd g_irepository_find_by_error_domain()
Dan Winship [Thu, 19 May 2011 21:46:36 +0000 (17:46 -0400)]
Add g_irepository_find_by_error_domain()

Add a method to look up a GIEnumInfo given its associated error quark.

Based on a patch from Colin Walters.

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

12 years agoSwitch to storing string form of error quarks
Dan Winship [Thu, 19 May 2011 20:21:13 +0000 (16:21 -0400)]
Switch to storing string form of error quarks

Instead of storing the name of the function to call to get the
error quark, store the string form of the error quark, which
we derive from the introspection binary during scanning.

Update EnumBlob and GIEnumInfo to include the new information.

This will allow determining a back-mapping from error quark
to error domain without having to dlsym() and call all the
known error quark functions.

Based on earlier patches from Owen Taylor and Maxim Ermilov.

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

12 years agoDeprecate ErrorDomain
Dan Winship [Thu, 19 May 2011 20:12:03 +0000 (16:12 -0400)]
Deprecate ErrorDomain

The previous ErrorDomain blob was never actually scanned or used, and
it was kind of a lame API conceptually.

To keep some compatibility, rather than removing the enumeration
values, rename them to _INVALID, and don't bump the typelib version.
This should in theory allow a new libgirepository to read an old
typelib.

Based on a patch from Colin Walters

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

12 years agogirepository: fix some doc comment syntax
Dan Winship [Fri, 12 Aug 2011 15:10:06 +0000 (11:10 -0400)]
girepository: fix some doc comment syntax

12 years agoAdd Regress method for a closure taking and returning a GVariant
Martin Pitt [Fri, 12 Aug 2011 07:57:41 +0000 (09:57 +0200)]
Add Regress method for a closure taking and returning a GVariant

12 years agoAutomatically turn Gdk.Rectangle gtype into cairo.RectangleInt
Pavel Holejsovsky [Tue, 2 Aug 2011 05:41:54 +0000 (07:41 +0200)]
Automatically turn Gdk.Rectangle gtype into cairo.RectangleInt

Gdk.Rectangle is 'boxed alias', which is not currently weel supported
by g-i.  Work around by transforming Gdk.Rectangle gtype into
cairo.RectangleInt.

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

12 years agog-ir-doc-tool: Add structs (no fields yet) and thus fix arguments links
Tomeu Vizoso [Sat, 13 Aug 2011 12:31:10 +0000 (14:31 +0200)]
g-ir-doc-tool: Add structs (no fields yet) and thus fix arguments links

12 years agog-ir-doc-tool: Use same link ids as gtk-doc-mkdb does
Tomeu Vizoso [Sat, 13 Aug 2011 09:58:18 +0000 (11:58 +0200)]
g-ir-doc-tool: Use same link ids as gtk-doc-mkdb does

12 years agog-ir-doc-tool: Move out the * from the return value link
Tomeu Vizoso [Sat, 13 Aug 2011 09:12:01 +0000 (11:12 +0200)]
g-ir-doc-tool: Move out the * from the return value link

12 years agog-ir-doc-tool: Move the * out the type link
Tomeu Vizoso [Sat, 13 Aug 2011 08:43:39 +0000 (10:43 +0200)]
g-ir-doc-tool: Move the * out the type link

12 years agoscanner: Don't throw away blank lines in the docs
Colin Walters [Fri, 12 Aug 2011 10:01:56 +0000 (06:01 -0400)]
scanner: Don't throw away blank lines in the docs

For generating documentation, we actually want to preserve these.

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

13 years agog-ir-doctool: Add annotations (some)
Tomeu Vizoso [Fri, 12 Aug 2011 15:16:35 +0000 (17:16 +0200)]
g-ir-doctool: Add annotations (some)

13 years agoAdd g_irepository_find_by_error_domain()
Dan Winship [Thu, 19 May 2011 21:46:36 +0000 (17:46 -0400)]
Add g_irepository_find_by_error_domain()

Add a method to look up a GIEnumInfo given its associated error quark.

Based on a patch from Colin Walters.

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

13 years agoSwitch to storing string form of error quarks
Dan Winship [Thu, 19 May 2011 20:21:13 +0000 (16:21 -0400)]
Switch to storing string form of error quarks

Instead of storing the name of the function to call to get the
error quark, store the string form of the error quark, which
we derive from the introspection binary during scanning.

Update EnumBlob and GIEnumInfo to include the new information.

This will allow determining a back-mapping from error quark
to error domain without having to dlsym() and call all the
known error quark functions.

Based on earlier patches from Owen Taylor and Maxim Ermilov.

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

13 years agoDeprecate ErrorDomain
Dan Winship [Thu, 19 May 2011 20:12:03 +0000 (16:12 -0400)]
Deprecate ErrorDomain

The previous ErrorDomain blob was never actually scanned or used, and
it was kind of a lame API conceptually.

To keep some compatibility, rather than removing the enumeration
values, rename them to _INVALID, and don't bump the typelib version.
This should in theory allow a new libgirepository to read an old
typelib.

Based on a patch from Colin Walters

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

13 years agogirepository: fix some doc comment syntax
Dan Winship [Fri, 12 Aug 2011 15:10:06 +0000 (11:10 -0400)]
girepository: fix some doc comment syntax

13 years agog-ir-doc-tool: Generate parameter list in the detail
Tomeu Vizoso [Fri, 12 Aug 2011 13:19:36 +0000 (15:19 +0200)]
g-ir-doc-tool: Generate parameter list in the detail

13 years agotests/doctool: use GIRepository gir instead of Regress
Tomeu Vizoso [Fri, 12 Aug 2011 08:52:01 +0000 (10:52 +0200)]
tests/doctool: use GIRepository gir instead of Regress

13 years agoAdd Regress method for a closure taking and returning a GVariant
Martin Pitt [Fri, 12 Aug 2011 07:57:41 +0000 (09:57 +0200)]
Add Regress method for a closure taking and returning a GVariant

13 years agog-ir-doc-tool: Add DOCTYPE
Tomeu Vizoso [Thu, 11 Aug 2011 16:43:11 +0000 (18:43 +0200)]
g-ir-doc-tool: Add DOCTYPE

13 years agotests/doctool: Sync -expected.xml
Tomeu Vizoso [Thu, 11 Aug 2011 15:25:21 +0000 (17:25 +0200)]
tests/doctool: Sync -expected.xml

13 years ago[docbook] Print out element types of arrays, lists and hashtables.
Laszlo Pandy [Thu, 11 Aug 2011 15:14:26 +0000 (17:14 +0200)]
[docbook] Print out element types of arrays, lists and hashtables.

13 years agotests/doctool: Add an echo while building the docbook
Tomeu Vizoso [Thu, 11 Aug 2011 14:51:37 +0000 (16:51 +0200)]
tests/doctool: Add an echo while building the docbook

13 years agog-ir-doc-tool: Generate a <refentry> element at the top of chapters
Tomeu Vizoso [Thu, 11 Aug 2011 14:50:33 +0000 (16:50 +0200)]
g-ir-doc-tool: Generate a <refentry> element at the top of chapters

13 years agog-ir-doctool: Fix a PEP-8 issue
Tomeu Vizoso [Thu, 11 Aug 2011 13:47:41 +0000 (15:47 +0200)]
g-ir-doctool: Fix a PEP-8 issue

13 years agoAdd a way to check for unintended effects of changes in g-ir-doctool
Tomeu Vizoso [Thu, 11 Aug 2011 13:46:31 +0000 (15:46 +0200)]
Add a way to check for unintended effects of changes in g-ir-doctool

13 years ago[doctool] Add local object hierarchy and stubs for props and signal details.
Laszlo Pandy [Thu, 11 Aug 2011 14:30:03 +0000 (16:30 +0200)]
[doctool] Add local object hierarchy and stubs for props and signal details.

13 years agoAutomatically turn Gdk.Rectangle gtype into cairo.RectangleInt
Pavel Holejsovsky [Tue, 2 Aug 2011 05:41:54 +0000 (07:41 +0200)]
Automatically turn Gdk.Rectangle gtype into cairo.RectangleInt

Gdk.Rectangle is 'boxed alias', which is not currently weel supported
by g-i.  Work around by transforming Gdk.Rectangle gtype into
cairo.RectangleInt.

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

13 years ago[docbook] Allow formatter to change page name.
Laszlo Pandy [Thu, 11 Aug 2011 13:36:23 +0000 (15:36 +0200)]
[docbook] Allow formatter to change page name.