summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 1.35.4GOBJECT_INTROSPECTION_1_35_4Colin Walters2013-01-151-1/+1
|
* tests: Fix compiler warningsMartin Pitt2013-01-153-7/+7
| | | | | Fix (void) function declarations that occur with -Wstrict-prototypes, and the g_param_spec_get_name() which drops the const from its argument.
* gimarshallingtests: Add method taking a GParamSpec argumentMartin Pitt2013-01-142-2/+14
| | | | | | | Add gi_marshalling_tests_param_spec_in_bool(), supplementing the already existing tests for a GParamSpec out argument and return value. https://bugzilla.gnome.org/show_bug.cgi?id=682355
* Update annotations from glib gitMartin Pitt2013-01-142-50/+50
|
* gimarshallingtests: Add boxed GList propertyMartin Pitt2013-01-142-0/+34
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=684059
* gimarshallingtests: Add string_ to boxed structureVadim Rutkovsky2013-01-112-3/+8
| | | | | | Co-Authored-By: Martin Pitt <martinpitt@gnome.org> https://bugzilla.gnome.org/show_bug.cgi?id=678401
* girepository: gchar is a signed typeMartin Pitt2013-01-112-1/+57
| | | | | | | gchar is signed, not unsigned. Add "guchar" alias as unsigned for completeness (but usually it appears as guint8). https://bugzilla.gnome.org/show_bug.cgi?id=691524
* gimarshallingtests: Add vfunc with an array outputPaolo Borelli2013-01-112-0/+20
| | | | | | Add vfunc_array_out_param to GIMarshallingTestsObjectClass. https://bugzilla.gnome.org/show_bug.cgi?id=690851
* giscanner: emit a warning when we fail to parse a GTK-Doc comment blockDieter Verfaillie2013-01-091-1/+7
| | | | | | | | | | | Instead of going down with a for the user inexplicable backtrace, emit a warning asking said user to file a bug including the comment block in question. Thanks to Alexandre Rostovtsev <tetromino@gentoo.org> for proposing something similar in bug #690850 https://bugzilla.gnome.org/show_bug.cgi?id=690850
* tests: add invalid identifier test caseDieter Verfaillie2013-01-091-0/+18
| | | | | | | | | | | This comment block, as found in the wild via https://bugzilla.gnome.org/show_bug.cgi?id=690850 has a couple of elements to make it an interesting test case: - a colon on the first line - stuff between parens on the first line but it still isn't a valid identifier. Add it here anyway to make sure we don't regress.
* giscanner: Don't fail on empty GTK-Doc comment blocksDieter Verfaillie2013-01-092-11/+22
| | | | | | | | | | A completely empty GTK-Doc comment block (/**\n*/) resulted in an unfriendly backtrace, complaining about an "AttributeError: 'NoneType' object has no attribute 'comment'" This fixes the issue and adds a test case. https://bugzilla.gnome.org/show_bug.cgi?id=690850
* mallardwriter: Improve type formatting for PythonJasper St. Pierre2013-01-096-18/+42
| | | | | | Rather than use the glib names like gint/gchar and friends, use the Python type names. Right now, this is Python 2, but we'll soon be introducing a special Python 3 formatter.
* doc: Put documentation templates into their own directoriesJasper St. Pierre2013-01-0920-20/+22
| | | | | | Instead of cluttering up the giscanner directory, put templates into their own files, with each language having its own templates in its own directory for comfort.
* doc: Clean up signature generation a bit moreJasper St. Pierre2013-01-092-24/+4
| | | | | Use join and a genexp instead of manual comma tracking to make our lives just a little easier.
* doc: Add self to methods in the Python declarationsJasper St. Pierre2013-01-092-1/+4
|
* doc: Make the Python declarations look a tiny bit nicerJasper St. Pierre2013-01-095-5/+10
| | | | | Add a colon after the def, and add a comment describing what this is a wrapper for.
* mallardwriter: Use a TemplateLookup for grabbing templatesJasper St. Pierre2013-01-091-10/+15
| | | | | | This removes us from the need to do path manipulation, and also allows templates to include or import helpers from another with the <%include/> or <%namespace/> helper control tags.
* mallardwriter: Add support for parametersJasper St. Pierre2013-01-099-10/+47
| | | | | | | Support the inline @my_parameter syntax, and translate it to <code>my_parameter</code>, as Mallard doesn't have anything more fancy than that. For Python, where we omit the first parameter of methods like that automatically, force to "self".
* mallardwriter: Rearrange definitions to match scanner orderJasper St. Pierre2013-01-091-4/+4
|
* mallardwriter: Pass the parent node around for inline formattingJasper St. Pierre2013-01-0916-48/+48
| | | | This will be used for @param detection.
* mallardwriter: Consolidate xref building and page naming codeJasper St. Pierre2013-01-091-8/+23
| | | | Simple code cleanups.
* mallardwriter: Remove the namespace argument from the processorsJasper St. Pierre2013-01-091-10/+8
| | | | This can be more accurately retrieved off of the node itself in all cases.
* mallardwriter: Put process_other with the rest of the processorsJasper St. Pierre2013-01-091-3/+3
| | | | Simple cleanup
* mallardwriter: Use the node's namespaceJasper St. Pierre2013-01-091-7/+9
| | | | This should now be correct in all cases.
* .gitignore: Ignore most .page filesJasper St. Pierre2013-01-091-2/+2
| | | | | | | | While testing g-ir-doctool, it's common to generate a directory full of a large number of small .page files inside the source directory, which slows down git a lot while searching for untracked files. Ignore the .page files for now, so git doesn't have to look in its database for every one.
* .gitignore: Add WarnLibJasper St. Pierre2013-01-091-0/+1
|
* build: Fix previous commitColin Walters2013-01-071-3/+1
|
* Clean up cairo handling somewhatColin Walters2013-01-074-20/+38
| | | | | | | | | | | | I'm building on RHEL6 which doesn't have cairo-gobject. Now, we tried to support this in that 'make' would succeed, but 'make check' would blow up. This patch allows more of 'make check' to succeed - I just need to figure out how to make the diff against the -expected.gir work. What's more important though, is this will allow gjs to also #define _GI_DISABLE_CAIRO.
* build: Properly export g_interface_info_find_signalTorsten Schönfeld2013-01-071-0/+1
| | | | It was missing from girepository.symbols.
* Update annotations from glib gitRico Tzschichholz2013-01-042-12/+133
|
* Regress: Add signal returning a GArrayMartin Pitt2013-01-042-0/+33
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=690514
* Makefile-gir: Fix indentationJasper St. Pierre2013-01-021-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=691030
* tests/annotationparser: Drop Python API usage down to 2.6, not 2.7Colin Walters2012-12-301-8/+8
| | | | | .iterfind() is new in 2.7, but we claim 2.6 support, as I use on RHEL6.
* gimarshallingtests: Add test for value array of boxed structsMartin Pitt2012-12-182-0/+14
| | | | | | | | We already have tests for "array of simple structs" (gi_marshalling_tests_array_simple_struct_in) and "array of pointers to boxed structs" (gi_marshalling_tests_array_struct_in), but were missing "array of boxed structs", which reproduces https://bugzilla.gnome.org/show_bug.cgi?id=656312
* Automatically install pre-commit hookMartin Pitt2012-12-181-4/+1
| | | | | | | | Instead of telling the user to do so and failing, we can just install the hook ourselves. This saves the user some trouble and more importantly avoids breaking tests in jhbuild continuous integration setups. https://bugzilla.gnome.org/show_bug.cgi?id=686388
* Release 1.35.3GOBJECT_INTROSPECTION_1_35_3Colin Walters2012-12-181-1/+1
|
* gimarshallingtests:: Add test for returning a caller-allocated GArrayGonzalo Odiard2012-12-172-0/+18
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=690041
* repo: Drop deprecated GStaticMutex usageColin Walters2012-12-171-6/+6
| | | | In favor of GOnce, since we just want initialize-once semantics.
* Use python-config instead of assuming include and library pathsMartin Pitt2012-12-171-13/+2
| | | | | | | | | Call $PYTHON-config to determine include and library paths and linker flags instead of making assumptions about them. Also drop the unused PYTHON_LIB_LOC macro. https://bugzilla.gnome.org/show_bug.cgi?id=690347
* Update annotations from glib gitRico Tzschichholz2012-12-163-29/+155
|
* common.mk: escape $CC in quotesPeter Hutterer2012-12-121-1/+1
| | | | | | | | If CC is defined at "ccache gcc", the expanded command ends up as: env PATH=... CC=ccache gcc PYTHONPATH=... ./g-ir-scanner causing compilation errors. https://bugzilla.gnome.org/show_bug.cgi?id=690074
* scanner: Warn if we're missing (element-type) for GPtrArrayColin Walters2012-12-103-1/+10
| | | | | | | | | | For background, See https://bugzilla.gnome.org/show_bug.cgi?id=629682 See https://bugzilla.gnome.org/show_bug.cgi?id=689871 Basically we should emit a warning here. https://bugzilla.gnome.org/show_bug.cgi?id=689998
* Update annotations from glib gitRico Tzschichholz2012-12-053-14/+134
|
* build: Include tests/scanner/annotationparser/* to EXTRA_DISTRico Tzschichholz2012-12-051-0/+49
|
* tests: Fix up WarnLib build, remove accidental additions to regress.cColin Walters2012-12-053-15/+33
| | | | Previous WarnLib commit was broken.
* build: Use -Bsymbolic-functions by default if availableColin Walters2012-12-052-1/+25
| | | | | | | | | While we have much larger performance problems right now, using -Bsymbolic-functions to avoid internal PLT indirection is an easy win. This is the same code that both GLib and GTK+ have. https://bugzilla.gnome.org/show_bug.cgi?id=689456
* tests: don't fake Automake silent modeDieter Verfaillie2012-12-031-2/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=689570
* tests: fix incremental buildDieter Verfaillie2012-12-032-2/+3
| | | | | | | | Running make multiple times caused "mkdir" to complain that it could not create those directories because they where already there... https://bugzilla.gnome.org/show_bug.cgi?id=689570
* WarnLib: New library for testing API that emits warningsColin Walters2012-12-024-1/+60
| | | | | | | | | | | Both GIMarshallingTests and Regress right now use --warn-error; but in some cases (e.g. GErrors without a corresponding enum), we still want bindings to support the functionality. So add this new library where we can add C API that emits introspection warnings. https://bugzilla.gnome.org/show_bug.cgi?id=689488
* scanner: Parse comments with */ not on a new line, but emit a warningDieter Verfaillie2012-12-024-8/+75
| | | | | | We don't know how many apps do this, but at least ibus had one. https://bugzilla.gnome.org/show_bug.cgi?id=689354