| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a big patch. You should probably remove your installation
tree to be cleaner.
* docs/typelib-format.txt: Add nsversion entry which holds
version of namespace.
* girepository/girepository.h: Add 'version' parameter to
g_irepository_require. This may be NULL. Normally
bindings should pass an explicit version though.
* girepository/girepository.c: Lots of infrastructure to
support versioning. Add some more documentation. Disallow
some usage of NULL namespaces.
* girepository/girmodule.c: Add version parameter.
* girepository/gtypelib.c: Update header size.
* giscanner/ast.py: Add version to Namespace.
* giscanner/girparser.py: Parse version attribute from
XML, pass to Namespace.
* giscanner/girwriter.py: Write out version parameter.
* giscanner/transformer.py: Clean up include registration.
* tests/*: Add version attribute.
* tests/invoke/invoke.c: Don't try looking up test before
it's loaded in repository.
* tools/generate.c: Output version parameter.
* gir/Makefile.am: Add 2.0 version to .gir files.
svn path=/trunk/; revision=677
|
|
|
|
| |
svn path=/trunk/; revision=674
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-11 Jürg Billeter <j@bitron.ch>
Bug 552374: Const strings should be identified in the gir.
* giscanner/transformer.py: support string memory management
* tests/scanner/foo.h: use char * and const char *
* tests/scanner/foo-expected.gir: test that
svn path=/trunk/; revision=670
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-11 Lucas Rocha <lucasr@gnome.org>
Bug 552370: add one more test for unsigned as a type, not as
a type qualifier.
* giscanner/ast.py: add 'uint' type name for 'unsigned'.
* test/scanner/foo.h: add function which uses unsigned as a type.
* test/scanner/foo-expected.gir: test that.
svn path=/trunk/; revision=668
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-11 Jürg Billeter <j@bitron.ch>
Bug 552370: unsigned not scanned properly
* giscanner/scannerparser.y: combine basic types such as unsigned
int and long long when scanning
* tests/scanner/foo-expected.gir:
* tests/scanner/foo.c: (foo_test_unsigned):
* tests/scanner/foo.h: test that
svn path=/trunk/; revision=666
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=656
|
|
|
|
| |
svn path=/trunk/; revision=654
|
|
|
|
| |
svn path=/trunk/; revision=648
|
|
|
|
| |
svn path=/trunk/; revision=647
|
|
|
|
| |
svn path=/trunk/; revision=643
|
|
|
|
| |
svn path=/trunk/; revision=641
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=634
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
svn path=/trunk/; revision=624
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
* giscanner/glibtransformer.py: Follow aliases to ensure
we don't get a constructor returning a basic type.
* giscanner/transformer.py: Add function to follow aliases.
* tests/ Update.
svn path=/trunk/; revision=556
|
|
|
|
|
|
|
|
| |
* giscanner/glibtransformer.py: Look for libtool
library in current directory
* tests/scanner - Update.
svn path=/trunk/; revision=547
|
|
|
|
|
|
|
|
|
|
| |
* giscanner/glibtransformer.py: Add some informative
logging messages in corner cases. Be sure we use
the most recent node set instead of a cache
when generating result set.
* tests/: Remove duplicated bits in expected girs
svn path=/trunk/; revision=523
|
|
|
|
| |
svn path=/trunk/; revision=495
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-25 Colin Walters <walters@verbum.org>
* giscanner/ast.py: Add interfaces property
to class.
* giscanner/girwriter.py: Write out implemented
interfaces.
* giscanner/glibtransformer.py: Introspect
implemented interfaces.
* tests/scanner/*: Make FooObject implement
FooInterface.
svn path=/trunk/; revision=491
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-22 Colin Walters <walters@verbum.org>
* girepository/girparser.c: Ignore <include>.
* giscanner/girparser.py: Parse them.
* giscanner/girwriter.py: Generate them.
* giscanner/transformer.py: Process <include>
recursively. Don't require full path for
includes, look in {$XDG_DATA_DIRS}/gir.
* tools/g-ir-scanner: Pass through includes.
* Makefile.am: Remove extra --include
args for scanner.
* *-expected.gir: Add expected includes.
svn path=/trunk/; revision=467
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-22 Colin Walters <walters@verbum.org>
* girepository/girparser.c: Pass through
recursive types. Avoid overwriting errors.
* giscanner/xmlwriter.py: Always write the
XML header.
* tests/*.gir: Adjust.
* tests/scanner/Makefile.am: Build typelibs,
and generate XML from those. Once we
have a good diff mechanism...
* tests/scanner/*-expected.gir: Add XML
header.
* tools/g-ir-scanner: Accept --typelib-xml
option.
* tools/generate.c: Better defaults for transfer.
svn path=/trunk/; revision=457
|
|
|
|
|
|
|
|
|
|
| |
2008-08-20 Colin Walters <walters@verbum.org>
* tests/scanner/*-expected.gir: Adjust for
added shared-library.
* giscanner/giwriter.py: Make pylint happy.
svn path=/trunk/; revision=428
|
|
|
|
|
|
|
|
| |
2008-08-20 Colin Walters <walters@verbum.org>
* tests/scanner/foo-expected.gir: Fix expected list type.
svn path=/trunk/; revision=419
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-20 Johan Dahlin <johan@gnome.org>
* gir/gio-2.0-good.gir:
* gir/glib-2.0-good.gir:
* gir/gobject-2.0-good.gir:
Regnerate
* giscanner/glibtransformer.py:
Do not delete Class structures, we need them in gdk/gtk.
* tests/scanner/drawable-expected.gir:
* tests/scanner/foo-expected.gir:
* tests/scanner/utility-expected.gir:
Update tests.
svn path=/trunk/; revision=414
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-20 Johan Dahlin <johan@gnome.org>
* tests/scanner/Makefile.am:
* tests/scanner/annotation-expected.gir:
* tests/scanner/annotation.c (annotation_object_class_init),
(annotation_object_init), (annotation_object_method),
(annotation_object_in), (annotation_object_out),
(annotation_object_inout), (annotation_object_inout2),
(annotation_object_inout3), (annotation_object_calleeowns),
(annotation_object_calleesowns), (annotation_object_get_strings),
(annotation_object_with_voidp), (annotation_object_get_objects),
(annotation_object_create_object), (annotation_object_allow_none):
* tests/scanner/annotation.h:
* tests/scanner/foo-expected.gir:
* tests/scanner/foo.c:
* tests/scanner/foo.h:
Split out annotation tests out of foo
svn path=/trunk/; revision=410
|
|
2008-08-20 Johan Dahlin <johan@gnome.org>
* tests/scanner/Foo-expected.gir:
* tests/scanner/Makefile.am:
* tests/scanner/foo-expected.gir:
* tests/scanner/foo-object.h:
* tests/scanner/foo.c:
Foo->foo, foo-object.h -> foo.h
svn path=/trunk/; revision=409
|