platform/upstream/gobject-introspection.git
16 years agoBug 552376: scanner generates wrong names for enum members when there's no
Lucas Rocha [Sat, 11 Oct 2008 14:42:32 +0000 (14:42 +0000)]
Bug 552376: scanner generates wrong names for enum members when there's no

2008-10-11  Lucas Rocha  <lucasr@gnome.org>

Bug 552376: scanner generates wrong names for enum members when
there's no defined gtype.

* giscanner/utils.py (strip_common_prefix): Always strip common
prefix exactly up to the last "_", and not beyond.
* tests/scanner/foo.h (FooEnumNoType): add FOO_ENUM_NEUF. The point
here is that the first character after the last '_' should should be
the same as the character in the same position on the type name.
* tests/scanner/foo-expected.gir: test that

svn path=/trunk/; revision=664

16 years agoWhitespace
Johan Dahlin [Sat, 11 Oct 2008 14:19:19 +0000 (14:19 +0000)]
Whitespace

svn path=/trunk/; revision=663

16 years agoBug 555293: append library_paths to LPATH env variable to work around a
Lucas Rocha [Fri, 10 Oct 2008 21:24:32 +0000 (21:24 +0000)]
Bug 555293: append library_paths to LPATH env variable to work around a

2008-10-10  Lucas Rocha  <lucasr@gnome.org>

Bug 555293: append library_paths to LPATH env variable to work
around a bug in find_library when using ldconfig.

* tools/g-ir-scanner (main): ditto.

svn path=/trunk/; revision=662

16 years agofix regression on invoke test case by making sure we load the global
Lucas Rocha [Thu, 9 Oct 2008 16:44:11 +0000 (16:44 +0000)]
fix regression on invoke test case by making sure we load the global

2008-10-09  Lucas Rocha  <lucasr@gnome.org>

* girepository/girepository.c (register_internal): fix regression on
invoke test case by making sure we load the global module in the
typelib when dealing with inline typelibs.
* girepository/gtypelib.c: a couple of coding style fixes.

svn path=/trunk/; revision=661

16 years agoBug 555294: Add support for multiple shared libraries per typelib.
Lucas Rocha [Tue, 7 Oct 2008 21:25:01 +0000 (21:25 +0000)]
Bug 555294: Add support for multiple shared libraries per typelib.

2008-10-06  Lucas Rocha  <lucasr@gnome.org>

Bug 555294: Add support for multiple shared libraries per typelib.

* girepository/ginvoke.c (g_function_info_invoke),
girepository/ginfo.c(g_registered_type_info_get_g_type): use
g_typelib_symbol instead of g_module_symbol.
* girepository/girepository.h: remove g_typelib_set_module and add
g_typelib_symbol.
* girepository/gtypelib.[ch] (find_some_symbol, _g_typelib_init,
g_typelib_new_from_memory, g_typelib_new_from_const_memory,
g_typelib_free, g_typelib_symbol): chnage GTypeLib to hold a list of
modules instead of just one. The symbol lookup is now abstracted
behind g_typelib_symbol which tries to find the passed symbol name in
one of its modules.
* giscanner/girwriter.py, tools/g-ir-scanner: change scanner to read
and write shared_library attribute as a comma-separated list of libs.

svn path=/trunk/; revision=660

16 years agoParse length= annotation as a parameter name, not a raw int.
Colin Walters [Mon, 6 Oct 2008 18:58:46 +0000 (18:58 +0000)]
Parse length= annotation as a parameter name, not a raw int.

svn path=/trunk/; revision=659

16 years agoAdd missing annotation_object_get_type, fix up expected GIR
Colin Walters [Sat, 4 Oct 2008 20:01:19 +0000 (20:01 +0000)]
Add missing annotation_object_get_type, fix up expected GIR

svn path=/trunk/; revision=658

16 years agoChangeLog
Colin Walters [Fri, 3 Oct 2008 19:30:20 +0000 (19:30 +0000)]
ChangeLog

svn path=/trunk/; revision=657

16 years agoExtend coverage of boxed struct/union test cases
Colin Walters [Fri, 3 Oct 2008 19:30:17 +0000 (19:30 +0000)]
Extend coverage of boxed struct/union test cases

svn path=/trunk/; revision=656

16 years agoGLibBoxed is a valid registered type
Colin Walters [Fri, 3 Oct 2008 19:30:16 +0000 (19:30 +0000)]
GLibBoxed is a valid registered type

svn path=/trunk/; revision=655

16 years agoMerge branch 'bug551744-boxed-ctors'
Colin Walters [Fri, 3 Oct 2008 19:30:12 +0000 (19:30 +0000)]
Merge branch 'bug551744-boxed-ctors'

svn path=/trunk/; revision=654

16 years agoChangeLog
Colin Walters [Fri, 3 Oct 2008 17:18:18 +0000 (17:18 +0000)]
ChangeLog

svn path=/trunk/; revision=653

16 years agoAvoid resolving types as we create them, do it all at once at the end
Colin Walters [Fri, 3 Oct 2008 17:18:15 +0000 (17:18 +0000)]
Avoid resolving types as we create them, do it all at once at the end

Also resolve types for object fields

svn path=/trunk/; revision=652

16 years agofix the last parameter of GLibEnumMember constructor as it should be the
Lucas Rocha [Fri, 3 Oct 2008 17:09:40 +0000 (17:09 +0000)]
fix the last parameter of GLibEnumMember constructor as it should be the

2008-10-03  Lucas Rocha  <lucasr@gnome.org>

* giscanner/girwriter.py (_parser_member): fix the last parameter of
GLibEnumMember constructor as it should be the enum member nick.

svn path=/trunk/; revision=651

16 years agoChangeLog
Colin Walters [Thu, 2 Oct 2008 21:24:26 +0000 (21:24 +0000)]
ChangeLog

svn path=/trunk/; revision=650

16 years agoUse g_alloca, suggested by Havoc Pennington
Colin Walters [Thu, 2 Oct 2008 21:24:24 +0000 (21:24 +0000)]
Use g_alloca, suggested by Havoc Pennington

svn path=/trunk/; revision=649

16 years agoMerge; delete object param for varargs too
Colin Walters [Thu, 2 Oct 2008 21:24:23 +0000 (21:24 +0000)]
Merge; delete object param for varargs too

svn path=/trunk/; revision=648

16 years agoMerge branch 'bug552961-methods/wip'
Colin Walters [Thu, 2 Oct 2008 21:24:20 +0000 (21:24 +0000)]
Merge branch 'bug552961-methods/wip'

svn path=/trunk/; revision=647

16 years ago Bug 554490: g-ir-scanner gets confused by '\\'
Dan Winship [Thu, 2 Oct 2008 16:21:40 +0000 (16:21 +0000)]
Bug 554490: g-ir-scanner gets confused by '\\'

* giscanner/scannerlexer.l (chartext, stringtext): fix use of
backslashes so it will correctly parse '\\' and "\\"

* tests/scanner/annotation.c: add a use of '\\' to make sure that
this stays fixed

* giscanner/glibtransformer.py (GLibTransformer.count_type): typo

svn path=/trunk/; revision=646

16 years agoChangeLog
Colin Walters [Thu, 2 Oct 2008 14:07:45 +0000 (14:07 +0000)]
ChangeLog

svn path=/trunk/; revision=645

16 years agoRemove debug print
Colin Walters [Thu, 2 Oct 2008 14:07:42 +0000 (14:07 +0000)]
Remove debug print

svn path=/trunk/; revision=644

16 years agoMerge branch 'bug552393-varargs'
Colin Walters [Thu, 2 Oct 2008 14:07:38 +0000 (14:07 +0000)]
Merge branch 'bug552393-varargs'

svn path=/trunk/; revision=643

16 years agoChangeLog
Colin Walters [Thu, 2 Oct 2008 13:25:52 +0000 (13:25 +0000)]
ChangeLog

svn path=/trunk/; revision=642

16 years agoBug 554632: Create type tag for GType
Colin Walters [Thu, 2 Oct 2008 13:25:46 +0000 (13:25 +0000)]
Bug 554632: Create type tag for GType

svn path=/trunk/; revision=641

16 years ago Bug 554521: scanner generates wrong names for enum members with
Dan Winship [Thu, 2 Oct 2008 13:15:09 +0000 (13:15 +0000)]
Bug 554521: scanner generates wrong names for enum members with
full type name prefix

* giscanner/utils.py (strip_common_prefix): Fix this to strip the
right amount when the entire "first" string is a prefix of
"second"

* tests/scanner/foo.h (FooEnumFullname):
* tests/scanner/foo-expected.gir: test that

svn path=/trunk/; revision=640

16 years agoChangeLog
Colin Walters [Mon, 29 Sep 2008 19:03:47 +0000 (19:03 +0000)]
ChangeLog

svn path=/trunk/; revision=639

16 years agoEnsure we always have types for container nodes
Colin Walters [Mon, 29 Sep 2008 19:03:46 +0000 (19:03 +0000)]
Ensure we always have types for container nodes

svn path=/trunk/; revision=638

16 years agoRework to use recursive XML
Colin Walters [Mon, 29 Sep 2008 19:03:44 +0000 (19:03 +0000)]
Rework to use recursive XML

svn path=/trunk/; revision=637

16 years agoAlso use name as ctype name for resolving array components
Colin Walters [Mon, 29 Sep 2008 19:03:42 +0000 (19:03 +0000)]
Also use name as ctype name for resolving array components

svn path=/trunk/; revision=636

16 years agoMake length= work
Colin Walters [Mon, 29 Sep 2008 19:03:40 +0000 (19:03 +0000)]
Make length= work

svn path=/trunk/; revision=635

16 years agoWrite out list and map types, parse 'array' annotation
Colin Walters [Mon, 29 Sep 2008 19:03:37 +0000 (19:03 +0000)]
Write out list and map types, parse 'array' annotation

svn path=/trunk/; revision=634

16 years agoSome work on arrays
Colin Walters [Mon, 29 Sep 2008 19:03:35 +0000 (19:03 +0000)]
Some work on arrays

svn path=/trunk/; revision=633

16 years agoEnsure constructor returns are always most concrete type
Colin Walters [Sun, 28 Sep 2008 04:05:29 +0000 (04:05 +0000)]
Ensure constructor returns are always most concrete type

This makes things a bit easier for binding writers - the
superclass returns are only a C convenience.

svn path=/trunk/; revision=632

16 years agoAdd g-ir-scanner --inject
Colin Walters [Sat, 27 Sep 2008 22:00:52 +0000 (22:00 +0000)]
Add g-ir-scanner --inject

svn path=/trunk/; revision=631

16 years agoRename similarly-named function just for clarity
Colin Walters [Sat, 27 Sep 2008 22:00:48 +0000 (22:00 +0000)]
Rename similarly-named function just for clarity

svn path=/trunk/; revision=630

16 years agoChangeLog
Colin Walters [Thu, 25 Sep 2008 22:34:00 +0000 (22:34 +0000)]
ChangeLog

svn path=/trunk/; revision=629

16 years agoRemove non-repository types from GIR
Colin Walters [Thu, 25 Sep 2008 22:33:57 +0000 (22:33 +0000)]
Remove non-repository types from GIR

* giscanner/ast.py: The canonical name is 'utf8', not
'string'.
* giscanner/glibast.py: A few more glib type mappings.
* girepository/girparser.c: We only parse repository types.
* tests/*.gir: Update.

svn path=/trunk/; revision=628

16 years agoBug 552564: Map guchar to uint8
Colin Walters [Thu, 25 Sep 2008 20:47:02 +0000 (20:47 +0000)]
Bug 552564: Map guchar to uint8

svn path=/trunk/; revision=627

16 years agoUse symbolic names for type tags instead of hardcoded integers
Colin Walters [Tue, 23 Sep 2008 22:18:06 +0000 (22:18 +0000)]
Use symbolic names for type tags instead of hardcoded integers

svn path=/trunk/; revision=626

16 years agoChangeLog
Colin Walters [Tue, 23 Sep 2008 18:20:28 +0000 (18:20 +0000)]
ChangeLog

svn path=/trunk/; revision=625

16 years agoMerge branch 'bug552566-timet/wip'
Colin Walters [Tue, 23 Sep 2008 18:20:25 +0000 (18:20 +0000)]
Merge branch 'bug552566-timet/wip'

svn path=/trunk/; revision=624

16 years agoRemove dbeug print
Colin Walters [Sat, 20 Sep 2008 00:11:42 +0000 (00:11 +0000)]
Remove dbeug print

svn path=/trunk/; revision=623

16 years agoChangeLog
Colin Walters [Sat, 20 Sep 2008 00:03:42 +0000 (00:03 +0000)]
ChangeLog

svn path=/trunk/; revision=622

16 years agoBug 552390: Handle capitialization like "DBus" more robustly
Colin Walters [Sat, 20 Sep 2008 00:03:38 +0000 (00:03 +0000)]
Bug 552390: Handle capitialization like "DBus" more robustly

The to_underscores function was designed for use against prefixed
names; we need a separate function which will convert names like
DBusFoo into dbus_foo, not d_bus_foo.

svn path=/trunk/; revision=621

16 years agoStrengthen check for interface vs basic types
Colin Walters [Fri, 19 Sep 2008 23:43:38 +0000 (23:43 +0000)]
Strengthen check for interface vs basic types

Previously we were just checking "reserved", but to be more correct
we should check whether reserved2 is zero as well because it is
possible for offsets to have reserved = 0 but reserved2 != 0.

svn path=/trunk/; revision=620

16 years agoExplode immediately if we don't recognize a type
Colin Walters [Fri, 19 Sep 2008 23:43:33 +0000 (23:43 +0000)]
Explode immediately if we don't recognize a type

svn path=/trunk/; revision=619

16 years agoFix indentation
Colin Walters [Fri, 19 Sep 2008 18:54:50 +0000 (18:54 +0000)]
Fix indentation

svn path=/trunk/; revision=618

16 years agoChangeLog
Colin Walters [Fri, 19 Sep 2008 16:16:22 +0000 (16:16 +0000)]
ChangeLog

svn path=/trunk/; revision=617

16 years agoAdd check to make sure we're not hitting out unresolved types
Colin Walters [Fri, 19 Sep 2008 16:16:18 +0000 (16:16 +0000)]
Add check to make sure we're not hitting out unresolved types

svn path=/trunk/; revision=616

16 years agoValidate the "this" argument for methods
Colin Walters [Fri, 19 Sep 2008 14:55:20 +0000 (14:55 +0000)]
Validate the "this" argument for methods

svn path=/trunk/; revision=615

16 years agoRemove heuristic matching of methods to classes based on prefix
Colin Walters [Fri, 19 Sep 2008 14:55:17 +0000 (14:55 +0000)]
Remove heuristic matching of methods to classes based on prefix

It was a broken hack that dated from when we handled underscoring
and capitalization conventions less well.

svn path=/trunk/; revision=614

16 years agoChangeLog
Colin Walters [Fri, 19 Sep 2008 02:24:10 +0000 (02:24 +0000)]
ChangeLog

svn path=/trunk/; revision=613

16 years agoBug 522384: Use SHLIB_SUFFIX intead of G_MODULE_SUFFIX for Darwin
Colin Walters [Fri, 19 Sep 2008 02:24:05 +0000 (02:24 +0000)]
Bug 522384: Use SHLIB_SUFFIX intead of G_MODULE_SUFFIX for Darwin

On Darwin, the suffix for installed shared libraries (.dylib) is
different from loadable modules (.so).  We use a bit of magic shell
script from Behdad Esfahbod to figure out the right suffix.

svn path=/trunk/; revision=612

16 years agoDon't add spurious * if type is pointer; the is_pointer flag is enough
Colin Walters [Tue, 16 Sep 2008 19:44:30 +0000 (19:44 +0000)]
Don't add spurious * if type is pointer; the is_pointer flag is enough

svn path=/trunk/; revision=611

16 years agoPrint out "any" for VOID+pointer, not "none"
Colin Walters [Tue, 16 Sep 2008 19:44:26 +0000 (19:44 +0000)]
Print out "any" for VOID+pointer, not "none"

* tools/generate.c: Print out "any" for VOID+pointer,
not "none"

svn path=/trunk/; revision=610

16 years agoAdd type_qualifier to SourceType.__members__
Johan Dahlin [Mon, 15 Sep 2008 20:09:26 +0000 (20:09 +0000)]
Add type_qualifier to SourceType.__members__

svn path=/trunk/; revision=609

16 years agoAdd a wrapper for type_qualifier as well.
Johan Dahlin [Mon, 15 Sep 2008 20:07:36 +0000 (20:07 +0000)]
Add a wrapper for type_qualifier as well.

2008-09-15  Johan Dahlin  <johan@gnome.org>

    * giscanner/sourcescanner.py (SourceType.type_qualifier): Add
    a wrapper for type_qualifier as well.

svn path=/trunk/; revision=608

16 years agoRemove debug print
Colin Walters [Mon, 15 Sep 2008 18:45:02 +0000 (18:45 +0000)]
Remove debug print

svn path=/trunk/; revision=607

16 years agoFix up deprecated parsing - this commit went missing
Colin Walters [Mon, 15 Sep 2008 18:39:45 +0000 (18:39 +0000)]
Fix up deprecated parsing - this commit went missing

svn path=/trunk/; revision=606

16 years agoFix up previous deprecated commit for review comments
Colin Walters [Mon, 15 Sep 2008 14:53:05 +0000 (14:53 +0000)]
Fix up previous deprecated commit for review comments

svn path=/trunk/; revision=605

16 years agomerge
Colin Walters [Mon, 15 Sep 2008 14:46:58 +0000 (14:46 +0000)]
merge

svn path=/trunk/; revision=604

16 years agoBug 552065: Add deprecation information to GIR
Colin Walters [Mon, 15 Sep 2008 14:46:19 +0000 (14:46 +0000)]
Bug 552065: Add deprecation information to GIR

* giscanner/ast.py: Add deprecation attributes.
* giscanner/girwriter.py: Write out deprecation data.
* girepository/girparser.c: Relax parsing; deprecated
attribute now includes freeform string.
* giscanner/scannerlexer.l: Parse Deprecated.
* giscanner/transformer.py: Look for deprecated attribute
on functions.
* tests/scanner/*: Add a Deprecated test.

svn path=/trunk/; revision=603

16 years agoUse $(EXEEXT).
Tor Lillqvist [Sun, 14 Sep 2008 20:33:33 +0000 (20:33 +0000)]
Use $(EXEEXT).

2008-09-14  Tor Lillqvist  <tml@novell.com>

* tests/scanner/Makefile.am (%.typelib): Use $(EXEEXT).

svn path=/trunk/; revision=602

16 years agoChangeLog
Colin Walters [Sun, 14 Sep 2008 19:36:45 +0000 (19:36 +0000)]
ChangeLog

svn path=/trunk/; revision=601

16 years agoBug 552067: Ignore functions with leading _
Colin Walters [Sun, 14 Sep 2008 19:36:43 +0000 (19:36 +0000)]
Bug 552067: Ignore functions with leading _

* giscanner/glibtransformer.py: Ignore functions with
leading '_'.

svn path=/trunk/; revision=600

16 years agoChangeLog
Colin Walters [Sat, 13 Sep 2008 01:16:56 +0000 (01:16 +0000)]
ChangeLog

svn path=/trunk/; revision=599

16 years agoAccept Gtk.Type as GType
Colin Walters [Sat, 13 Sep 2008 01:16:52 +0000 (01:16 +0000)]
Accept Gtk.Type as GType

* giscanner/glibtransformer.py: Accept Gtk.Type as GType;
this is a legacy alias.

svn path=/trunk/; revision=598

16 years agoChangeLog
Colin Walters [Sat, 13 Sep 2008 01:10:36 +0000 (01:10 +0000)]
ChangeLog

svn path=/trunk/; revision=597

16 years agoBind pid_t to INT for vte
Colin Walters [Sat, 13 Sep 2008 01:10:33 +0000 (01:10 +0000)]
Bind pid_t to INT for vte

svn path=/trunk/; revision=596

16 years agoChangeLog
Colin Walters [Sat, 13 Sep 2008 00:12:36 +0000 (00:12 +0000)]
ChangeLog

svn path=/trunk/; revision=595

16 years agoParse c:type for boxed records/unions; try resolving types using the GType names.
Colin Walters [Sat, 13 Sep 2008 00:12:34 +0000 (00:12 +0000)]
Parse c:type for boxed records/unions; try resolving types using the GType names.

* giscanner/girparser.py: Parse c:type for boxed records/unions.
* giscanner/glibast.py: Avoid overwriting ctype.
* giscsanner/transformer.py: Try resolving types using the GType names.

svn path=/trunk/; revision=594

16 years agoChangeLog
Colin Walters [Fri, 12 Sep 2008 22:44:31 +0000 (22:44 +0000)]
ChangeLog

svn path=/trunk/; revision=593

16 years agoAdd --xpath-assertions option to g-ir-scanner
Colin Walters [Fri, 12 Sep 2008 22:44:29 +0000 (22:44 +0000)]
Add --xpath-assertions option to g-ir-scanner

* giscanner/minixpath.py: Code to run an "XPath"
assertion against an XML tree, taken from
gir-repository/gir/tests.py.
* giscanner/Makefile.am: Ship it.
* tools/g-ir-scanner: Add --xpath-assertions option.
* gir/GLib-assertions.txt: Add a few assertions.
* gir/Makefile.am: Run them.

svn path=/trunk/; revision=592

16 years agohttp://bugzilla.gnome.org/show_bug.cgi?id=551737
Colin Walters [Thu, 11 Sep 2008 16:38:21 +0000 (16:38 +0000)]
http://bugzilla.gnome.org/show_bug.cgi?id=551737

2008-09-11  Colin Walters  <walters@verbum.org>

http://bugzilla.gnome.org/show_bug.cgi?id=551737

* giscanner/transformer.py: Fix strip_namespace_func to only strip
prefix if it ends with _.  Tweak callback stripping to determine
based on presence of _ whether we need to use strip_namespace_func
or strip_namespace_object.

svn path=/trunk/; revision=591

16 years agoBug 551737: Fix missing "g" in callback names in Gio
Colin Walters [Thu, 11 Sep 2008 16:38:19 +0000 (16:38 +0000)]
Bug 551737: Fix missing "g" in callback names in Gio

* giscanner/transformer.py: Fix strip_namespace_func to only strip
prefix if it ends with _.  Tweak callback stripping to determine
based on presence of _ whether we need to use strip_namespace_func
or strip_namespace_object.

svn path=/trunk/; revision=590

16 years agoWether => Whether
Owen Taylor [Tue, 9 Sep 2008 04:06:57 +0000 (04:06 +0000)]
Wether => Whether

2008-09-09  Owen Taylor  <otaylor@redhat.com>

        * docs/typelib-format.txt: Wether => Whether

svn path=/trunk/; revision=589

16 years agoChangeLog
Colin Walters [Mon, 8 Sep 2008 22:24:12 +0000 (22:24 +0000)]
ChangeLog

svn path=/trunk/; revision=588

16 years agoWrite out and parse full GObject property information (readable, writable, etc)
Colin Walters [Mon, 8 Sep 2008 22:24:09 +0000 (22:24 +0000)]
Write out and parse full GObject property information (readable, writable, etc)

* girepository/girparser.c: Default to "readable" for properties.
* giscanner/ast.py: Add readable, writable etc.
* giscanner/girwriter.py: Writ them.
* giscanner/glibtransformer.py: Inspect them.
* tests/*: Update.

svn path=/trunk/; revision=587

16 years agoChangeLog
Colin Walters [Sun, 7 Sep 2008 22:24:39 +0000 (22:24 +0000)]
ChangeLog

svn path=/trunk/; revision=586

16 years agoAdd comment about g_thread_init call
Colin Walters [Sun, 7 Sep 2008 22:24:37 +0000 (22:24 +0000)]
Add comment about g_thread_init call

svn path=/trunk/; revision=585

16 years agoChangeLog
Colin Walters [Sun, 7 Sep 2008 22:10:39 +0000 (22:10 +0000)]
ChangeLog

svn path=/trunk/; revision=584

16 years agoCall g_thread_init to make libsoup happy
Colin Walters [Sun, 7 Sep 2008 22:10:37 +0000 (22:10 +0000)]
Call g_thread_init to make libsoup happy

* giscanner/cgobject.py: Also call g_thread_init.

svn path=/trunk/; revision=583

16 years agoChangeLog
Colin Walters [Sun, 7 Sep 2008 22:06:53 +0000 (22:06 +0000)]
ChangeLog

svn path=/trunk/; revision=582

16 years agoDon't strip prefix before stripping namespace for unions either
Colin Walters [Sun, 7 Sep 2008 22:06:51 +0000 (22:06 +0000)]
Don't strip prefix before stripping namespace for unions either

* giscanner/transformer.py: Fix regression by not
stripping prefix before stripping namespace for unions
either.

svn path=/trunk/; revision=581

16 years agoChangeLog
Colin Walters [Sun, 7 Sep 2008 01:45:34 +0000 (01:45 +0000)]
ChangeLog

svn path=/trunk/; revision=580

16 years agoChangeLog
Colin Walters [Sun, 7 Sep 2008 01:45:32 +0000 (01:45 +0000)]
ChangeLog

svn path=/trunk/; revision=579

16 years agoStrip namespace GnomeKeyring -> gnome_keyring_
Colin Walters [Sun, 7 Sep 2008 01:45:29 +0000 (01:45 +0000)]
Strip namespace GnomeKeyring -> gnome_keyring_

* giscanner/transformer.py: If a namespace contains
multiple caps, try stripping both gnomekeyring_ and
gnome_keyring_.

svn path=/trunk/; revision=578

16 years agoBug 551162 – giscanner does not recognize asm and __asm__ Patch by Jani
Johan Dahlin [Sat, 6 Sep 2008 22:12:14 +0000 (22:12 +0000)]
Bug 551162 – giscanner does not recognize asm and __asm__ Patch by Jani

2008-09-07  Johan Dahlin  <johan@gnome.org>

    Bug 551162 – giscanner does not recognize asm and __asm__
    * giscanner/scannerlexer.l:
    Patch by Jani Monoses.

svn path=/trunk/; revision=577

16 years agoChangeLog
Colin Walters [Sat, 6 Sep 2008 20:33:53 +0000 (20:33 +0000)]
ChangeLog

svn path=/trunk/; revision=576

16 years agoAllow both union and struct to be boxed or not
Colin Walters [Sat, 6 Sep 2008 20:33:51 +0000 (20:33 +0000)]
Allow both union and struct to be boxed or not

* girepository/girnode.c: Allow gtype_name
and gtype_init in struct and union.
* girepository/girparser.c: Parse glib:
boxed bits for both structure and union.
* girepository/gtypelib.c: Don't barf
if structure is boxed.
* giscanner/girparser.py: Parse new XML
format.
* giscanner/girwriter.py: Write out new
XML format.
* giscanner/glibast.py: Define new classes
which are both Boxed and Struct/Union, as
well as an "Other" for everything else.
* giscanner/glibtransformer.py: Handle
boxed types specially; we try to merge
them with a struct/union if one exists,
otherwise fall back to generic boxed.
* tests/*: Update.
* tools/generate.c: Write out new format.

svn path=/trunk/; revision=575

16 years agoInclude stdlib.h
Johan Dahlin [Sat, 6 Sep 2008 18:39:06 +0000 (18:39 +0000)]
Include stdlib.h

2008-09-06  Johan Dahlin  <johan@gnome.org>

    * giscanner/grealpath.h: Include stdlib.h

svn path=/trunk/; revision=574

16 years agoRemove leading %
Johan Dahlin [Sat, 6 Sep 2008 18:38:28 +0000 (18:38 +0000)]
Remove leading %

2008-09-06  Johan Dahlin  <johan@gnome.org>

    * docs/g-ir-generate.1: Remove leading %

svn path=/trunk/; revision=573

16 years agoChangeLog
Colin Walters [Mon, 1 Sep 2008 18:54:04 +0000 (18:54 +0000)]
ChangeLog

svn path=/trunk/; revision=572

16 years agoLook in c:type to determine pointer nature
Colin Walters [Mon, 1 Sep 2008 18:52:34 +0000 (18:52 +0000)]
Look in c:type to determine pointer nature

* girepository/girparser.c: Look at c:type to determine
whether or not an item is a pointer.

svn path=/trunk/; revision=571

16 years agoSet PYTHONPATH so the scanner can run even if you didn't install anything.
Johan Dahlin [Mon, 1 Sep 2008 13:45:56 +0000 (13:45 +0000)]
Set PYTHONPATH so the scanner can run even if you didn't install anything.

2008-09-01  Johan Dahlin  <johan@gnome.org>

    * tests/scanner/Makefile.am:
    Set PYTHONPATH so the scanner can run
    even if you didn't install anything.

svn path=/trunk/; revision=570

16 years agoPost-release version bump
Johan Dahlin [Mon, 1 Sep 2008 07:38:49 +0000 (07:38 +0000)]
Post-release version bump

2008-09-01  Johan Dahlin  <johan@gnome.org>

    * configure.ac:
    Post-release version bump

svn path=/trunk/; revision=569

16 years ago=== 0.5.0 === GOBJECT_INTROSPECTION_0_5_0
Johan Dahlin [Mon, 1 Sep 2008 07:34:33 +0000 (07:34 +0000)]
=== 0.5.0 ===
2008-09-01  Johan Dahlin  <johan@gnome.org>

    * NEWS: Update

svn path=/trunk/; revision=567

16 years agoChangeLog
Colin Walters [Mon, 1 Sep 2008 03:04:57 +0000 (03:04 +0000)]
ChangeLog

svn path=/trunk/; revision=566

16 years agoBlacklist marshaling functions
Colin Walters [Mon, 1 Sep 2008 03:04:55 +0000 (03:04 +0000)]
Blacklist marshaling functions

* giscanner/glibtransformer.py: Blacklist marshaling
functions

svn path=/trunk/; revision=565

16 years agoChangeLog trailing whitespace
Colin Walters [Sun, 31 Aug 2008 22:21:43 +0000 (22:21 +0000)]
ChangeLog trailing whitespace

svn path=/trunk/; revision=564