summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests: Use Regress GIR for doctoolJasper St. Pierre2013-02-111371-1245/+54733
| | | | | | 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: Support formatting of types without c:typesJasper St. Pierre2013-02-111-1/+4
| | | | This can happen for properties/signals.
* docwriter: Support varargs in parameter namesJasper St. Pierre2013-02-111-1/+6
|
* docwriter: Skip lots of special kinds of parametersJasper St. Pierre2013-02-112-14/+17
| | | | Gjs ignores all of these when constructing function signatures.
* docwriter: Define a new formatter method for getting paramsJasper St. Pierre2013-02-1111-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. Pierre2013-02-1110-15/+15
| | | | | Instead, remove it entirely (since we don't need the index) or instead use enumerate().
* docmain: Support an include path for GIRsJasper St. Pierre2013-02-111-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 foundColin Walters2013-02-111-4/+10
| | | | Let's lift it out of the disabled-by-default ghetto.
* scanner: remove backcompat copies more safelyTorsten Schönfeld2013-02-103-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 commitColin Walters2013-02-071-1/+1
| | | | Fixes the NetworkManager build.
* transformer: Ensure that types aren't resolved if we can't find themJasper St. Pierre2013-02-073-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 MemberJasper St. Pierre2013-02-071-0/+5
| | | | | | Nothing too specific, just something to help with debugging. https://bugzilla.gnome.org/show_bug.cgi?id=693098
* annotation: Fix invalid typeJasper St. Pierre2013-02-072-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 declarationsJasper St. Pierre2013-02-072-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 warningsJasper St. Pierre2013-02-071-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 warnlibJasper St. Pierre2013-02-076-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 RegressJasper St. Pierre2013-02-075-37/+132
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693097
* tests: Move Foo into RegressJasper St. Pierre2013-02-075-484/+1909
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693097
* tests: Move Annotation into RegressJasper St. Pierre2013-02-076-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 .gitignoreJasper St. Pierre2013-02-071-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693096
* tests: Support warning tests in modern automakeJasper St. Pierre2013-02-071-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693096
* tests: Update Makefile.amJasper St. Pierre2013-02-071-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693096
* gimarshalingtests: fix spelling mistake in new vfunc object helpersSimon Feltman2013-02-062-13/+13
|
* build: Really fix make distRico Tzschichholz2013-02-051-1/+1
|
* build: Fix make distRico Tzschichholz2013-02-051-1/+0
|
* Update annotations from glib gitMartin Pitt2013-02-042-5/+227
|
* doctool: Rebrand mallardwriter as docwriterJasper St. Pierre2013-02-013-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 filesJasper St. Pierre2013-02-012-0/+79
| | | | This will be used to group symbols into documentation sections.
* doctool: Move signal/vfunc templates to extend function.tmplJasper St. Pierre2013-02-015-25/+24
|
* doctool: Update templates to include the actual instance parameterJasper St. Pierre2013-02-016-58/+27
| | | | Rather than fabricating one with a fake name.
* mallardwriter: Fix code for self-parameter forcingJasper St. Pierre2013-02-012-3/+3
|
* doc-examples-obj: Rename @self to @obj in doc_examples_obj_methodJasper St. Pierre2013-02-015-7/+7
| | | | This will be used to test Python "self" parameter forcing.
* ast: Allow lookup of the instance parameter by nameJasper St. Pierre2013-02-015-5/+9
| | | | | This will be used by the doctool to properly identify the instance parameter.
* doc-examples-obj: Fix documentation for doc_examples_obj_methodJasper St. Pierre2013-02-014-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 CallableJasper St. Pierre2013-02-011-0/+8
| | | | | This will be used by the doctool to show the self parameter in C and Python docs.
* doctool: Switch to UI v1.0Jasper St. Pierre2013-02-0139-102/+97
| | | | This is to shut yelp up about experimental UI and expanded.
* doctool: Initial import of a Gjs language that we supportJasper St. Pierre2013-02-0126-3/+786
| | | | Copy/pasted from Python.
* ast: Make sure to export c:type for signals and propertiesJasper St. Pierre2013-02-014-40/+41
|
* mallardwriter: Clean up node filteringJasper St. Pierre2013-02-011-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 linksJasper St. Pierre2013-02-017-13/+11
| | | | These are set automatically.
* mallardwriter: Use xmlwriter for xrefsJasper St. Pierre2013-02-012-17/+23
|
* doctool: Use a base template for all node kinds that make senseJasper St. Pierre2013-02-0110-127/+84
|
* doctool: Rename templates to exclude mallard/the languageJasper St. Pierre2013-02-0134-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 nodeJasper St. Pierre2013-02-011-1/+1
| | | | Functions that do what we want? What a concept!
* mallardwriter: Simply use the parent page name for nested pagesJasper St. Pierre2013-02-011-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/signalsJasper St. Pierre2013-02-011-1/+4
|
* doctool: Use definition lists instead of tablesJasper St. Pierre2013-02-0119-254/+146
|
* doctool: Define a standard order of items for all pagesJasper St. Pierre2013-02-0136-72/+190
|
* doctool: Use a base template for all pagesJasper St. Pierre2013-02-0145-287/+335
|
* tests: Don't remove the built doctool directories if we're doneJasper St. Pierre2013-02-011-2/+2
|