Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add gtk-doc supportJohan Dahlin2009-02-1228-43/+4875
| |
| * Add an empty ChangeLog to make autogen.sh quietJohan Dahlin2009-02-121-0/+0
| |
| * Push the tags to the remote host when doing the releaseJohan Dahlin2009-02-111-1/+1
| |
| * Rename ChangeLog to ChangeLog.pre-gitJohan Dahlin2009-02-111-0/+0
| |
| * Add a .gitignore fileJohan Dahlin2009-02-111-0/+84
| |
| * Add missing self parameterJohan Dahlin2009-02-111-1/+1
| | | | | | | | This is really why you shouldn't catch TypeError.
| * Update release-tag targetJohan Dahlin2009-02-111-6/+4
| |
* | Bug 567906 - Put pkg-config dependencies in .gir filesColin Walters2009-02-1112-72/+138
|/ | | | | | | | | | When generating a .gir file, we now first parse all of our .gir includes to pick up their <package> headers. Then, we merge that with the set of --pkg arguments passed to us, run pkg-config to gather the arguments, and finally save the merged pkg-config list to our new .gir file. This is useful for software which needs to map from .gir to pkg-config in a programmatic way.
* Remove trailing whitespaceJohan Dahlin2009-02-111-10/+10
|
* Bug 571248 - Ignore unknown elements in girparserColin Walters2009-02-113-12/+40
| | | | | | We want the gir to be extensible. svn path=/trunk/; revision=1096
* Bug 569633 – Typelib compiler fails with vararg callbacksRober Carr2009-02-104-11/+155
| | | | | | | | | | | 2009-02-10 Rober Carr <carrr@rpi.edu> Bug 569633 – Typelib compiler fails with vararg callbacks * girepository/girparser.c: Also filter out callback functions which take vararg arguments. svn path=/trunk/; revision=1095
* Rename namespace to namespace_ to make the header compilable with a C++ compilerJohan Dahlin2009-02-101-9/+9
| | | | svn path=/trunk/; revision=1094
* Forgot to update ChangeLog.Xan Lopez2009-02-091-0/+6
| | | | svn path=/trunk/; revision=1093
* g-ir-scanner.1: add information about include paths for source files.Xan Lopez2009-02-081-0/+6
| | | | svn path=/trunk/; revision=1092
* Add KeySym and KeyCode to xlib-2.0.gir.Owen Taylor2009-02-062-0/+7
| | | | | | | gir/xlib-2.0.gir: Add dummy definitions for KeySym and KeyCode to the dummy xlib-2.0.gir. svn path=/trunk/; revision=1091
* Make .tgir diffs fail the checkColin Walters2009-02-061-3/+5
| | | | svn path=/trunk/; revision=1090
* Remove extra space from foo-1.0-expected.tgirColin Walters2009-02-061-1/+1
| | | | svn path=/trunk/; revision=1089
* Bug 551738 - Associate classes with their structsColin Walters2009-02-0623-60/+211
| | | | | | | | | | | | | | | | | | | | | Inside glibtransformer, we now look at structures ending in "Class" and see if they have an associated GlibObject (i.e. a structure of the same name without the "Class" suffix). If found, pair them up. The .gir file for <class> gains an attribute denoting its associated class struct. Any <record> many now have a glib:is-class-struct-for annotation which tells which (if any) <class> for which it defines the layout. In the .typelib, we record the association between the class and its structure. Generic structures however just have a boolean saying whether they're a class struct. (Going from a generic class struct to its class should not be necessary). Finally, we expose GIRepository APIs to access both bits of information from the .typelib. svn path=/trunk/; revision=1088
* Bug 561360 - If we can't resolve parent class, use GObjectColin Walters2009-02-055-3/+108
| | | | | | This enables us to support "hidden" parent classes. svn path=/trunk/; revision=1087
* Bug 561604 - Add test case for skipping va_listColin Walters2009-02-052-0/+8
| | | | svn path=/trunk/; revision=1086
* girnode.c: Fix copy & paste errorColin Walters2009-02-051-1/+0
| | | | | | | This line is almost certainly a copy & paste error. It appears to be harmless, but it's better to not have it. svn path=/trunk/; revision=1085
* Add utility functions for invocing closures given a GICallableInfo usingJohan Dahlin2009-02-054-2/+164
| | | | | | | | | | | | | | | 2009-02-04 Johan Dahlin <jdahlin@async.com.br> * girepository/Makefile.am: * girepository/girffi.c (g_callable_info_get_ffi_arg_types), (g_callable_info_get_ffi_return_type), (g_callable_info_prepare_closure), (g_callable_info_free_closure): * girepository/girffi.h: Add utility functions for invocing closures given a GICallableInfo using libffi. svn path=/trunk/; revision=1084
* Remove outstanding FIXMEs for nested struct/unionColin Walters2009-02-041-2/+0
| | | | svn path=/trunk/; revision=1083
* Bug 555960 - Nested structs and unions (generation portion)Colin Walters2009-02-049-42/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch from Andreas Rottmann <a.rottmann@gmx.at>. * tests/scanner/utility.h (UtilityTaggedValue): Make the union member anonymous. (UtilityByte): New union typedef with an unnamed struct in it. * giscanner/transformer.py (Transformer._create_struct): Create unnamed structs for symbols with a None ident. (Transformer._create_union): Likewise. * giscanner/girwriter.py (GIRWriter._write_record): Allow name being None. (GIRWriter._write_union): Likewise. * girepository/girparser.c (start_struct): Allow a NULL name for non-toplevel structs. (start_union): Likewise. * tests/scanner/utility.h (UtilityTaggedValue): New struct typedef, which has a nested union member. * tests/scanner/utility-expected.gir: Adapted. * giscanner/transformer.py (Transformer._create_member): Create struct/union members if appropriate. (Transformer._create_struct, Transformer._create_union): Allow for structs/unions without a C type. * giscanner/glibtransformer.py (GLibTransformer._resolve_field): We don't need to resolve non-typef'd (GLibTransformer._resolve_field): Add cases for non-typedef'd struct/union "fields". * giscanner/girwriter.py (GIRWriter._write_record): Allow for records without a C type. (GIRWriter._write_field): structs and unions may appear in places where fields do. svn path=/trunk/; revision=1082
* Bug 555960 - nested structs and unionsColin Walters2009-02-042-67/+94
| | | | | | | | | | Patch from Andreas Rottmann <a.rottmann@gmx.at>. This change modifies the parser to hold a stack of nodes, instead of a single concept of "current" node. This allows the parser to recurse into nested nodes. svn path=/trunk/; revision=1081
* handle the special case for GObject, whose glib:get-type is listed asDan Winship2009-02-022-0/+8
| | | | | | | | * girepository/ginfo.c (g_registered_type_info_get_g_type): handle the special case for GObject, whose glib:get-type is listed as "intern". svn path=/trunk/; revision=1080
* Bug 569408, Bug 568680 - Scanner misses fields (at least in GObject.Object)Colin Walters2009-02-028-29/+82
| | | | | | | | The scanner misses all fields of the GObject struct -- there are no <field> children of the <class> element for GObject in the GIR. This of course yields wrong field offsets for all derived objects. svn path=/trunk/; revision=1079
* Bug 563469 – Arrays not treated correctly in struct offset calculationColin Walters2009-02-024-28/+92
| | | | | | | Arrays are currently not handled specially, and hence treated as pointers in giroffsets.c:get_field_size_alignment(), which is (obviously) wrong. svn path=/trunk/; revision=1078
* Undo revision 1075Robert Carr2009-01-293-84/+11
| | | | svn path=/trunk/; revision=1077
* Add xmlTextWriterPtr to libxml2-2.0 GIR. Robert Carr2009-01-291-0/+1
| | | | svn path=/trunk/; revision=1076
* post_filter_varargs_functions should also filter callbacks. Add tests ofRobert Carr2009-01-293-11/+84
| | | | | | | | * girepository/girparser.c: post_filter_varargs_functions should also filter callbacks. * tests/scanner/foo.h: Add tests of varargs callbacks. svn path=/trunk/; revision=1075
* add missing with_voidpJohan Bilien2009-01-282-0/+15
| | | | | | | | | 2009-01-28 Johan Bilien <jobi@via.ecp.fr> * tests/scanner/annotation-1.0-expected.gir: add missing with_voidp svn path=/trunk/; revision=1074
* Remove shared-library tags for these too.Johan Dahlin2009-01-288-7/+18
| | | | | | | | | | | | | | | | 2009-01-27 Johan Dahlin <jdahlin@async.com.br> * gir/cairo-1.0.gir: * gir/fontconfig-2.0.gir: * gir/freetype2-2.0.gir: * gir/libxml2-2.0.gir: * gir/xfixes-4.0.gir: * gir/xft-2.0.gir: * gir/xlib-2.0.gir: Remove shared-library tags for these too. svn path=/trunk/; revision=1073
* Remove shared-library which removes the build time dependency on mesa.Johan Dahlin2009-01-282-1/+7
| | | | | | | | | | | 2009-01-27 Johan Dahlin <jdahlin@async.com.br> * gir/GL-1.0.gir: Remove shared-library which removes the build time dependency on mesa. svn path=/trunk/; revision=1072
* Misc warning fixesDan Winship2009-01-277-8/+35
| | | | | | | | | | | | | | | | | | | | | | | * giscanner/scannerparser.y: Fix the "Ignoring non-UTF-8 constant string" error to print the right value. * tests/scanner/annotation.c (backslash_parsing_tester) (backslash_parsing_tester_2): make these non-static to avoid a warning. (annotation_object_string_out) (annotation_string_zero_terminated): fix return values * tests/scanner/annotation.h (annotation_object_with_voidp): prototype this * tests/scanner/gtkfrob.c: * tests/scanner/gtkfrob.h (gtk_frob_language_manager_get_default): fix prototype. (s/()/(void)/). * tools/compiler.c (format_output): fix signed/unsigned warning. Output a prototype for register_typelib() to avoid warnings later. svn path=/trunk/; revision=1071
* Add a couple of callback tests.Johan Dahlin2009-01-273-37/+116
| | | | | | | | | | | 2009-01-26 Johan Dahlin <jdahlin@async.com.br> * tests/everything/everything.c (test_callback): * tests/everything/everything.h: Add a couple of callback tests. svn path=/trunk/; revision=1070
* Remove trailing whitespaceJohan Dahlin2009-01-261-35/+42
| | | | svn path=/trunk/; revision=1069
* Only unref the repository if it's actually set.Johan Dahlin2009-01-262-1/+7
| | | | | | | | | | 2009-01-26 Johan Dahlin <jdahlin@async.com.br> * girepository/ginfo.c (g_base_info_unref): Only unref the repository if it's actually set. svn path=/trunk/; revision=1068
* Add cairo_path_t to cairo-1.0.gir, required for building clutter 0.9 girRobert Carr2009-01-241-0/+3
| | | | svn path=/trunk/; revision=1067
* Add an enum param test functionJohan Dahlin2009-01-233-0/+23
| | | | | | | | | | | | 2009-01-23 Johan Dahlin <jdahlin@async.com.br> * tests/everything/everything.c (test_enum_param): * tests/everything/everything.h: Add an enum param test function svn path=/trunk/; revision=1066
* Skip over both g_object_get_type and g_initially_unowned_get_typeColin Walters2009-01-221-0/+4
| | | | | | | g_object_get_type hasn't always been in GObject, we handle it internally elsewhere. svn path=/trunk/; revision=1065
* Use correct pkg-config arguments for each girColin Walters2009-01-221-4/+3
| | | | | | | | We should pass e.g. --pkg gobject-2.0 for GObject, and --pkg gio-2.0 for Gio to ensure that we're getting the right flags to the scanner, even though girepository itself depends on these libraries. svn path=/trunk/; revision=1064
* Post-release version bumpJohan Dahlin2009-01-222-1/+6
| | | | | | | | | | 2009-01-21 Johan Dahlin <jdahlin@async.com.br> * configure.ac: Post-release version bump svn path=/trunk/; revision=1063
* 0.6.2Johan Dahlin2009-01-222-0/+38
| | | | svn path=/trunk/; revision=1061
* Fix distcheckJohan Dahlin2009-01-221-0/+5
| | | | svn path=/trunk/; revision=1059
* Bug 562622 – Errordomains missingJohan Dahlin2009-01-229-5/+102
| | | | | | | | | | | | | | | | | | 2009-01-21 Johan Dahlin <jdahlin@async.com.br> Bug 562622 – Errordomains missing * giscanner/girwriter.py: * giscanner/glibast.py: * giscanner/glibtransformer.py: * tests/scanner/Makefile.am: * tests/scanner/foo-1.0-expected.gir: * tests/scanner/foo-1.0-expected.tgir: * tests/scanner/foo.c (foo_error_get_type), (foo_error_quark): * tests/scanner/foo.h: svn path=/trunk/; revision=1057
* Increase the buffer size to 1M, so gtkalias.h can be parsed.Johan Dahlin2009-01-202-1/+7
| | | | | | | | | | | 2009-01-20 Johan Dahlin <jdahlin@async.com.br> * giscanner/scannerlexer.l: Increase the buffer size to 1M, so gtkalias.h can be parsed. svn path=/trunk/; revision=1056
* When trying to map functions to structs, do not require a public structureJohan Dahlin2009-01-202-0/+9
| | | | | | | | | | | | 2009-01-20 Johan Dahlin <jdahlin@async.com.br> * giscanner/glibtransformer.py: When trying to map functions to structs, do not require a public structure to exist, should fix Gst gir generation in. svn path=/trunk/; revision=1055
* Bug 562615 – Struct methods missingJohan Dahlin2009-01-208-88/+99
| | | | | | | | | | | | | | | | | 2009-01-20 Johan Dahlin <jdahlin@async.com.br> Bug 562615 – Struct methods missing * giscanner/annotationparser.py: * giscanner/ast.py: * giscanner/girwriter.py: * giscanner/glibast.py: * giscanner/glibtransformer.py: * tests/scanner/foo-1.0-expected.gir: * tests/scanner/foo-1.0-expected.tgir: svn path=/trunk/; revision=1054
* Ugh, recurd->recordJohan Dahlin2009-01-201-11/+11
| | | | svn path=/trunk/; revision=1053