Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | scanner: internals cleanup: Key more things off Namespace | Colin Walters | 2013-02-24 | 7 | -10/+0 |
| | | | | | | | | | | | The .gir format has a weird legacy where stuff like the includes are outside of the <namespace>. But conceptually they're tied together, so let's start reflecting this in the code. This way we can just pass around and look at a Namespace object instead of a 4-tuple of (namespace, includes, c_includes, pkg_config). https://bugzilla.gnome.org/show_bug.cgi?id=694593 | ||||
* | doctool: Use builtin namespace walker | Colin Walters | 2013-02-24 | 1 | -1/+1 |
| | | | | | | Rather than hand-rolling our own. This ensures we traverse all nodes. https://bugzilla.gnome.org/show_bug.cgi?id=694593 | ||||
* | scanner: Synthesize argument names if we don't see one | Colin Walters | 2013-02-24 | 3 | -9/+9 |
| | | | | | | | While this is a bit lame, we need to do something. We preserve the warning message. https://bugzilla.gnome.org/show_bug.cgi?id=694593 | ||||
* | test/gimarshallingtests.c: Fix build on C89 compilers | Chun-wei Fan | 2013-02-23 | 1 | -2/+4 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=694426 | ||||
* | Install utility.[hc] | Martin Pitt | 2013-02-20 | 1 | -1/+1 |
| | | | | These are used by foo.[hc] and required to build Regress.gir. | ||||
* | Ship missing header files for tests/warn/ check | Martin Pitt | 2013-02-20 | 1 | -1/+1 |
| | |||||
* | tests: Be compatible with Automake 1.11, 1.12 and 1.13, and the future, ↵ | Colin Walters | 2013-02-19 | 2 | -3/+13 |
| | | | | | | | | hopefully Automake only sees it as one test now, but eh, who cares. https://bugzilla.gnome.org/show_bug.cgi?id=694198 | ||||
* | tests: Be compatible with both Automake 1.12 and 1.13 | Colin Walters | 2013-02-19 | 1 | -2/+1 |
| | | | | | | | Revert to using the serial test driver, as that's the easiest path for now, unless we generated a binary to run each warn test. https://bugzilla.gnome.org/693539 | ||||
* | tests: Add RegressTestReferenceEnum to the doc tests | Jasper St. Pierre | 2013-02-18 | 3 | -0/+127 |
| | | | | I really messed this one up :( | ||||
* | sourcescanner: Make sure to mark constants as set | Jasper St. Pierre | 2013-02-18 | 1 | -0/+15 |
| | | | | This fixes complex constants. | ||||
* | sourcescanner: Fix symbolic references in enum members | Jasper St. Pierre | 2013-02-16 | 2 | -15/+24 |
| | | | | | | | We need to copy the source symbols, otherwise we'll overwrite their values. This isn't good. https://bugzilla.gnome.org/show_bug.cgi?id=693939 | ||||
* | docwriter: Use the fully-qualified name for functions and methods | Jasper St. Pierre | 2013-02-15 | 367 | -367/+367 |
| | |||||
* | doctool: Use format_xref to format some links to pages | Jasper St. Pierre | 2013-02-15 | 1247 | -1413/+1417 |
| | | | | | | We don't do a full 100% conversion for all link tags, yet, because I don't want to break too much here. This may come later. | ||||
* | doctool: Make sure to add "new" | Jasper St. Pierre | 2013-02-15 | 15 | -15/+15 |
| | |||||
* | doctool: Don't put curly braces around the construct props if there are none | Jasper St. Pierre | 2013-02-15 | 11 | -22/+11 |
| | |||||
* | doctool: Don't link to the namespace from the namespace page | Jasper St. Pierre | 2013-02-15 | 3 | -6/+3 |
| | |||||
* | tests: Clean up doc generation tests | Jasper St. Pierre | 2013-02-15 | 1 | -3/+0 |
| | | | | We no longer have to mkdir -p | ||||
* | docwriter: Don't render constants for now | Jasper St. Pierre | 2013-02-15 | 54 | -1353/+0 |
| | | | | | | Clutter has thousands of keysym constants, and until we get them all on one page, this is just tons of tiny files that are just noise. | ||||
* | doctool: Remove an extra <p> in the signals | Jasper St. Pierre | 2013-02-15 | 8 | -8/+8 |
| | |||||
* | doctool: Remove the ctype from the signal return value | Jasper St. Pierre | 2013-02-14 | 8 | -8/+8 |
| | | | | WTF was this here for? | ||||
* | doctool: Add an link for signal methods | Jasper St. Pierre | 2013-02-14 | 38 | -38/+38 |
| | |||||
* | doctool: Fix Gjs class signature | Jasper St. Pierre | 2013-02-14 | 15 | -30/+77 |
| | |||||
* | doctool: Gjs doesn't have extra signal parameters | Jasper St. Pierre | 2013-02-14 | 19 | -171/+19 |
| | |||||
* | doctool: Fix use of <dl> tag in templates | Jasper St. Pierre | 2013-02-14 | 952 | -5712/+9482 |
| | | | | This isn't legal Mallard | ||||
* | docwriter: Skip non-introspectable nodes in introspectable languages | Jasper St. Pierre | 2013-02-14 | 44 | -1912/+0 |
| | |||||
* | docwriter: Format list types as if they are arrays | Jasper St. Pierre | 2013-02-14 | 41 | -77/+77 |
| | | | | Language bindings don't actually care | ||||
* | tests/scanner: add Regress-1.0-*-expected to EXTRA_DIST | Rico Tzschichholz | 2013-02-12 | 1 | -1/+4 |
| | |||||
* | tests: Use Regress GIR for doctool | Jasper St. Pierre | 2013-02-11 | 1368 | -1243/+54726 |
| | | | | | | This makes us test a lot more functionality in the doc tool, and removes the need to have a lot of different test libraries, and different test infrastructure. | ||||
* | docwriter: Skip lots of special kinds of parameters | Jasper St. Pierre | 2013-02-11 | 1 | -13/+1 |
| | | | | Gjs ignores all of these when constructing function signatures. | ||||
* | docwriter: Define a new formatter method for getting params | Jasper St. Pierre | 2013-02-11 | 3 | -1/+7 |
| | | | | | | | | This will let us gracefully skip over parameters that aren't exposed by specific language bindings. It also fixes a bug in the C/Python documentation where we weren't iterating over the right parameters. | ||||
* | transformer: Ensure that types aren't resolved if we can't find them | Jasper St. Pierre | 2013-02-07 | 1 | -0/+9 |
| | | | | | | | | This ensures that things can't try to reference undefined/invalid types without emitting warnings, and that users need to include other GIRs at build time if they want to reference another type. https://bugzilla.gnome.org/show_bug.cgi?id=693098 | ||||
* | annotation: Fix invalid type | Jasper St. Pierre | 2013-02-07 | 2 | -4/+3 |
| | | | | | | | I'm quite sure this is a typo rather than an intended thing. This will gain a test and a warning soon. https://bugzilla.gnome.org/show_bug.cgi?id=693098 | ||||
* | transformer: Warn on unnamed params in declarations | Jasper St. Pierre | 2013-02-07 | 1 | -0/+20 |
| | | | | | | | These params are unannotatable and undocumentable. They really should not be allowed. https://bugzilla.gnome.org/show_bug.cgi?id=693098 | ||||
* | warningtester: Sort the list of warnings | Jasper St. Pierre | 2013-02-07 | 1 | -0/+3 |
| | | | | | | | | This means that we can simply put all warnings at the bottom, unrelated to the order that they're emitted in the code, keeping line numbers more stable. https://bugzilla.gnome.org/show_bug.cgi?id=693098 | ||||
* | tests: Move do_moo to warnlib | Jasper St. Pierre | 2013-02-07 | 6 | -60/+100 |
| | | | | | | | | We want to warn on unnamed params in declarations to ensure that all functions are bindable. Thus, we need to move a test containing unnamed params to WarnLib so it can be tested. https://bugzilla.gnome.org/show_bug.cgi?id=693098 | ||||
* | tests: Move TestInherit into Regress | Jasper St. Pierre | 2013-02-07 | 4 | -36/+132 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=693097 | ||||
* | tests: Move Foo into Regress | Jasper St. Pierre | 2013-02-07 | 4 | -483/+1909 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=693097 | ||||
* | tests: Move Annotation into Regress | Jasper St. Pierre | 2013-02-07 | 5 | -1267/+1268 |
| | | | | | | | The goal here is to have one master library for testing lots of edge cases for GIRs rather than lots of individual libraries. https://bugzilla.gnome.org/show_bug.cgi?id=693097 | ||||
* | tests: Support warning tests in modern automake | Jasper St. Pierre | 2013-02-07 | 1 | -1/+2 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=693096 | ||||
* | tests: Update Makefile.am | Jasper St. Pierre | 2013-02-07 | 1 | -1/+1 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=693096 | ||||
* | gimarshalingtests: fix spelling mistake in new vfunc object helpers | Simon Feltman | 2013-02-06 | 2 | -13/+13 |
| | |||||
* | doctool: Move signal/vfunc templates to extend function.tmpl | Jasper St. Pierre | 2013-02-01 | 2 | -2/+19 |
| | |||||
* | doctool: Update templates to include the actual instance parameter | Jasper St. Pierre | 2013-02-01 | 3 | -10/+8 |
| | | | | Rather than fabricating one with a fake name. | ||||
* | mallardwriter: Fix code for self-parameter forcing | Jasper St. Pierre | 2013-02-01 | 1 | -2/+2 |
| | |||||
* | doc-examples-obj: Rename @self to @obj in doc_examples_obj_method | Jasper St. Pierre | 2013-02-01 | 5 | -7/+7 |
| | | | | This will be used to test Python "self" parameter forcing. | ||||
* | ast: Allow lookup of the instance parameter by name | Jasper St. Pierre | 2013-02-01 | 4 | -4/+8 |
| | | | | | This will be used by the doctool to properly identify the instance parameter. | ||||
* | doc-examples-obj: Fix documentation for doc_examples_obj_method | Jasper St. Pierre | 2013-02-01 | 4 | -4/+5 |
| | | | | | | We need to properly document the first argument, here. We don't actually iterate over the instance parameter yet, so this will just affect the documentation for @first_arg. | ||||
* | doctool: Switch to UI v1.0 | Jasper St. Pierre | 2013-02-01 | 36 | -92/+87 |
| | | | | This is to shut yelp up about experimental UI and expanded. | ||||
* | doctool: Initial import of a Gjs language that we support | Jasper St. Pierre | 2013-02-01 | 13 | -2/+546 |
| | | | | Copy/pasted from Python. | ||||
* | ast: Make sure to export c:type for signals and properties | Jasper St. Pierre | 2013-02-01 | 3 | -39/+39 |
| |