summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Disable more of the build if gtk-doc is disabledJohan Dahlin2009-02-272-2/+6
|
* Add --all option to g-ir-generateAndreas Rottmann2009-02-271-1/+18
| | | | | | | | | Add --all option, which is intended to show some information not usually included in the GIR. Currently, it shows the size of structs and unions. Signed-off-by: Andreas Rottmann <a.rottmann@gmx.at>
* Additions to "Everything" test namespaceAndreas Rottmann2009-02-272-0/+116
| | | | | | | Add a signal and a "bare" member (i.e. a member without getter/setter) to TestObj. Signed-off-by: Andreas Rottmann <a.rottmann@gmx.at>
* Revert "Bug 557383 - Virtual function support"Colin Walters2009-02-267-76/+35
| | | | | | | This reverts commit 4470a24e8cf3827efaddcfe240c3271cf1a0d6c0. Needs more work as it turns out, we need to figure out the binding story.
* Bug 573306 – Relax callback grouping detection rulesAndreas Rottmann2009-02-261-4/+4
| | | | | | | | Make the callback grouping heuristic more lax: consider all pointer parameters ending in 'data' to be the user_data parameter (instead of requiring an exact 'user_data' name). Signed-off-by: Andreas Rottmann <a.rottmann@gmx.at>
* Merge branch 'bug557383-vfuncs'Colin Walters2009-02-267-35/+76
|\
| * Bug 557383 - Virtual function supportColin Walters2009-02-267-35/+76
| | | | | | | | | | | | | | In order to determine whether a method is virtual, by default we look at the class table to find a callback field. This should be fairly reliable, but we may also later need annotations to more finely control this in the case of a name clash with a signal.
* | Don't assume _pkgconfig_packages is set.Johan Dahlin2009-02-261-0/+4
|/ | | | | This fixes a cache issue where the pickle in the cache doesn't have self._pkgconfig_packages set in its instance
* Bug 572434 - Associate interfaces with their C structuresColin Walters2009-02-2524-93/+160
| | | | | | | | Similar to GObject class structs, we pair up GInterfaces with their C structures. Also, move some GLib-specific things into glibast.py, and make the naming more generic.
* Bug 555964 - Parse floating-point #definesColin Walters2009-02-258-7/+50
| | | | | | Previously we just supported int and string, add double to this. Technically we should probably differentiate between float and double, but it's not likely to be very useful in practice to do so.
* Merge commit 'origin'Johan Dahlin2009-02-2514-15/+84
|\
| * Handle multiple arguments for $CCColin Walters2009-02-251-1/+2
| | | | | | | | This makes the dumper not fail for people who set $CC to e.g. "distcc gcc".
| * Bug 572790 - Don't register #defines from .c files as constantsColin Walters2009-02-2410-4/+45
| | | | | | | | | | We keep track of the source filename for every symbol. This enables us to later filter symbols based on that name.
| * Bug 572965 – Allow generic marshaller to be called without parametersJohan Bilien2009-02-242-8/+34
| | | | | | | | | | girepository/ginvoke.c: handle the case where n_param_values == 0. tests/invoke/genericmarshaller.c: add a test case for this.
| * Bug 561604 - Don't fail on va_list*Colin Walters2009-02-232-1/+2
| | | | | | | | | | gvariant uses va_list *; we were previously skipping va_list, we should skip indirect variants as well.
| * Punt on building with older gtk-doc; version skew in gtk-doc.make makes ↵Colin Walters2009-02-233-15/+1
| | | | | | | | | | | | patching hard We'll just require 1.12, which is the version fixed to work with shave.
| * shave fix: Patch gtk-doc.make if we don't have it yetColin Walters2009-02-232-0/+14
| | | | | | | | This fixes the build with gtk-doc enabled.
* | Fix a typo, reel -> realJohan Dahlin2009-02-251-5/+5
|/
* Do not include yyoutput in the generated lexerJohan Dahlin2009-02-211-0/+2
| | | | | Avoids a compilation warning (unused function) in the generated lexer output.
* Handle the return value to fwrite properlyJohan Dahlin2009-02-211-1/+9
|
* Fix warnings pointed out by GCCJohan Dahlin2009-02-204-11/+16
|
* Be less verboseJohan Dahlin2009-02-203-15/+7
|
* Mention that we're generating a GIRJohan Dahlin2009-02-201-0/+1
|
* Reformat the output to fit shaveJohan Dahlin2009-02-202-6/+5
|
* Disable a UTF-8 warning per defaultJohan Dahlin2009-02-201-0/+2
|
* Update .gitignore for gtk-docJohan Dahlin2009-02-201-0/+4
|
* Use shave to reduce compiling outputJohan Dahlin2009-02-2010-15/+203
| | | | Which let's us focus on the important warnings.
* typelib building: Compress 5 arguments for g_ir_node_build_typelibColin Walters2009-02-203-99/+67
| | | | | This makes it easier to add more over time without changing lots of unrelated code.
* Bug 572423 - Support --c-include argument for specifying C headersColin Walters2009-02-205-17/+35
| | | | | This option is for specifying inside the .gir what C header files should be included by C consumers (as opposed to parsed by the scanner).
* Send in an empty list instead of None.Johan Dahlin2009-02-201-0/+2
|
* giscanner: Set Python exceptions on type errors instead of g_assertColin Walters2009-02-191-7/+17
| | | | This gives us nice stack traces.
* Improve type checkingJohan Dahlin2009-02-191-0/+3
|
* Add a hall of shame commentJohan Dahlin2009-02-191-0/+3
|
* Bug 572075 - Make the scanner work with static and convenience librariesOwen W. Taylor2009-02-193-13/+49
| | | | | | | | | | | | | | | | | We need to reference the get_type() functions we are going to dlsym or otherwise the linker may not include them in the introspection binary. giscanner/dumper.py: Accept a list of _get_type() functions and write an array referencing them into the introspection binary. giscanner/glibtransformer.py: Break parsing into too stages - the stage where we compute the _get_type() functions and the stage where we invoke the introspection binary. tools/g-ir-scanner: Pass _get_type() functions from the scanner when creating the introspection binary. http://bugzilla.gnome.org/show_bug.cgi?id=572075
* Remove gtk-doc.m4, should be installed by autogenColin Walters2009-02-191-43/+0
|
* Further cleanup for commented-out Union discriminator handlingColin Walters2009-02-191-6/+1
|
* Bug 563382 - Define PATH_MAX if not availableColin Walters2009-02-191-0/+3
| | | | | This fixes the build on Hurd. If anyone ever actually uses Hurd with filenames longer than 4096, they can open a new bug.
* Fix bad merge introduced in commit b006d50Colin Walters2009-02-191-3/+8
|
* Bug 571373 - Add padding to typelib objectsColin Walters2009-02-182-13/+36
| | | | | | Expand various typelib objects to ensure we have at least 16 bits left for each one to add another string indirection or directory offset, and also that we have at least a few bits for more flags.
* Bug 571373 - Remove hardcoded sizes/offsets in girnode.cColin Walters2009-02-181-73/+82
| | | | | | Where appropriate we now use G_STRUCT_OFFSET and sizeof() instead of hardcoded integers. Add comments for some special cases.
* Bug 571373 - Remove hardcoded offsets in ginfo.cColin Walters2009-02-181-4/+6
| | | | | In a few places we had hardcoded sizes for accessing structure members and computing into variable size arrays. Remove those.
* Bug 571373 - Consistently use sizeof () inside gtypelib and girmoduleColin Walters2009-02-182-37/+37
| | | | | This not only makes it easier to change these structures, it becomes clearer exactly what each magic number is just for reference.
* Bug 571373 - Move typelib docs from typelib-format.txt into girepository.hColin Walters2009-02-185-1232/+585
| | | | | | typelib-format.txt was growing out of date; a good solution to this is to move it closer to the code it's documenting. By doing this we also gain the ability to use gtk-doc on it.
* Fix SUBDIRS order, call gnome-autogen.sh with COMMON_DOC_BUILDColin Walters2009-02-182-2/+2
| | | | The latter option seems to be what others are doing, so we do too.
* gtk-doc fixes: Require 1.10, fix --name-space argument typo, change Typelib ↵Colin Walters2009-02-183-2/+3
| | | | section title
* Remove generated tmpl/ directory; we will use inline section commentsColin Walters2009-02-189-2496/+0
| | | | | | | The gtk-doc manual suggests using inline comments: http://library.gnome.org/devel/gtk-doc-manual/stable/documenting.html.en So we'll do that.
* Various gtk-doc fixes: only require 1.11, remove generated files, add docs ↵Colin Walters2009-02-185-1877/+4
| | | | | | | | | | to SUBDIRS The gtk-doc introductory commit introduced some generated files; remove those. We apparently only require 1.11, so downgrade to that. Finally, the docs directory was missing from the toplevel SUBDIRS.
* Followup to bug 567906 - Redo option filtering logic to be a bit cleanerColin Walters2009-02-171-10/+11
| | | | | This was suggested during a refactoring of the affected code for bug 567906.
* Bug 571483 - Sort toplevel .gir entriesColin Walters2009-02-178-741/+757
| | | | This ensures we're stable on a macro level.
* Merge branch 'master' of ssh://walters@git.gnome.org/git/gobject-introspectionColin Walters2009-02-176-2/+55
|\