Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | docwriter: Define a new formatter method for getting params | Jasper St. Pierre | 2013-02-11 | 11 | -30/+48 |
| | | | | | | | | 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. | ||||
* | doctool: Don't use zip(range(L)) | Jasper St. Pierre | 2013-02-11 | 10 | -15/+15 |
| | | | | | Instead, remove it entirely (since we don't need the index) or instead use enumerate(). | ||||
* | docmain: Support an include path for GIRs | Jasper St. Pierre | 2013-02-11 | 1 | -0/+4 |
| | | | | | We need this to replace the test infrastructure so it can find Utility-1.0.gir | ||||
* | build: Enable g-ir-doctool if mako is found | Colin Walters | 2013-02-11 | 1 | -4/+10 |
| | | | | Let's lift it out of the disabled-by-default ghetto. | ||||
* | scanner: remove backcompat copies more safely | Torsten Schönfeld | 2013-02-10 | 3 | -4/+7 |
| | | | | | | | | Instead of modifying the namespace while we are iterating over it, which leads to nodes not being tested, set an 'internal_skipped' property on the function and read it in the GIR writer. https://bugzilla.gnome.org/show_bug.cgi?id=660698 | ||||
* | scanner: Fix use of undeclared variable in previous commit | Colin Walters | 2013-02-07 | 1 | -1/+1 |
| | | | | Fixes the NetworkManager build. | ||||
* | transformer: Ensure that types aren't resolved if we can't find them | Jasper St. Pierre | 2013-02-07 | 3 | -5/+36 |
| | | | | | | | | 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 | ||||
* | ast: Add a quick __repr__ to Field and Member | Jasper St. Pierre | 2013-02-07 | 1 | -0/+5 |
| | | | | | | Nothing too specific, just something to help with debugging. 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 | 2 | -5/+29 |
| | | | | | | | 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 | 5 | -37/+132 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=693097 | ||||
* | tests: Move Foo into Regress | Jasper St. Pierre | 2013-02-07 | 5 | -484/+1909 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=693097 | ||||
* | tests: Move Annotation into Regress | Jasper St. Pierre | 2013-02-07 | 6 | -1268/+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 | ||||
* | Update .gitignore | Jasper St. Pierre | 2013-02-07 | 1 | -0/+2 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=693096 | ||||
* | 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 |
| | |||||
* | build: Really fix make dist | Rico Tzschichholz | 2013-02-05 | 1 | -1/+1 |
| | |||||
* | build: Fix make dist | Rico Tzschichholz | 2013-02-05 | 1 | -1/+0 |
| | |||||
* | Update annotations from glib git | Martin Pitt | 2013-02-04 | 2 | -5/+227 |
| | |||||
* | doctool: Rebrand mallardwriter as docwriter | Jasper St. Pierre | 2013-02-01 | 3 | -11/+11 |
| | | | | | We eventually want to stop using Mallard as a documentation language. Rationale incoming when I convert all templates back to DocBook. | ||||
* | giscanner: Add a new quick hack module for scanning section files | Jasper St. Pierre | 2013-02-01 | 2 | -0/+79 |
| | | | | This will be used to group symbols into documentation sections. | ||||
* | doctool: Move signal/vfunc templates to extend function.tmpl | Jasper St. Pierre | 2013-02-01 | 5 | -25/+24 |
| | |||||
* | doctool: Update templates to include the actual instance parameter | Jasper St. Pierre | 2013-02-01 | 6 | -58/+27 |
| | | | | Rather than fabricating one with a fake name. | ||||
* | mallardwriter: Fix code for self-parameter forcing | Jasper St. Pierre | 2013-02-01 | 2 | -3/+3 |
| | |||||
* | 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 | 5 | -5/+9 |
| | | | | | 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. | ||||
* | ast: Add a new all_parameters property to Callable | Jasper St. Pierre | 2013-02-01 | 1 | -0/+8 |
| | | | | | This will be used by the doctool to show the self parameter in C and Python docs. | ||||
* | doctool: Switch to UI v1.0 | Jasper St. Pierre | 2013-02-01 | 39 | -102/+97 |
| | | | | 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 | 26 | -3/+786 |
| | | | | Copy/pasted from Python. | ||||
* | ast: Make sure to export c:type for signals and properties | Jasper St. Pierre | 2013-02-01 | 4 | -40/+41 |
| | |||||
* | mallardwriter: Clean up node filtering | Jasper St. Pierre | 2013-02-01 | 1 | -7/+15 |
| | | | | | Instead of checking strings, pass this to the Formatter, which is really mostly about language semantics now. | ||||
* | mallardwriter: Don't set content for links | Jasper St. Pierre | 2013-02-01 | 7 | -13/+11 |
| | | | | These are set automatically. | ||||
* | mallardwriter: Use xmlwriter for xrefs | Jasper St. Pierre | 2013-02-01 | 2 | -17/+23 |
| | |||||
* | doctool: Use a base template for all node kinds that make sense | Jasper St. Pierre | 2013-02-01 | 10 | -127/+84 |
| | |||||
* | doctool: Rename templates to exclude mallard/the language | Jasper St. Pierre | 2013-02-01 | 34 | -50/+49 |
| | | | | | | | | | As templates are in their own directory and segregated into language already, this is sort of repeating the issue. At the same time, always explicitly use relative ("./") or absolute ("/") lookups for templates. We want to eventually have base templates to share between languages, so to do so without namespace clashes makes sense. | ||||
* | mallardwriter: Use lookup_typenode to look up a Type node | Jasper St. Pierre | 2013-02-01 | 1 | -1/+1 |
| | | | | Functions that do what we want? What a concept! | ||||
* | mallardwriter: Simply use the parent page name for nested pages | Jasper St. Pierre | 2013-02-01 | 1 | -7/+4 |
| | | | | | If we have a parent page, we might as well use it so that parent names are consistent across pages. | ||||
* | mallardwriter: Don't use function symbols for vfuncs/signals | Jasper St. Pierre | 2013-02-01 | 1 | -1/+4 |
| | |||||
* | doctool: Use definition lists instead of tables | Jasper St. Pierre | 2013-02-01 | 19 | -254/+146 |
| | |||||
* | doctool: Define a standard order of items for all pages | Jasper St. Pierre | 2013-02-01 | 36 | -72/+190 |
| | |||||
* | doctool: Use a base template for all pages | Jasper St. Pierre | 2013-02-01 | 45 | -287/+335 |
| | |||||
* | tests: Don't remove the built doctool directories if we're done | Jasper St. Pierre | 2013-02-01 | 1 | -2/+2 |
| | |||||
* | tests: Ignore whitespace differences in template comparisons | Jasper St. Pierre | 2013-02-01 | 1 | -2/+2 |
| | | | | | Adding more Mako code to reduce duplicate code will add newlines to the output. Ignore these. | ||||
* | doctool: Use a standard title for both links and for page titles | Jasper St. Pierre | 2013-02-01 | 28 | -28/+28 |
| | |||||
* | mallardwriter: Fix format_page_name for Namespace | Jasper St. Pierre | 2013-02-01 | 1 | -2/+4 |
| | | | | Namespace doesn't have a namespace member. | ||||
* | doctool: Switch to a computed page_style for all page templates | Jasper St. Pierre | 2013-02-01 | 35 | -45/+37 |
| | | | | | This is a quick cleanup before we inherit from a common template for all pages. |