summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* tests: Ignore whitespace differences in template comparisonsJasper St. Pierre2013-02-011-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 titlesJasper St. Pierre2013-02-0128-28/+28
|
* mallardwriter: Fix format_page_name for NamespaceJasper St. Pierre2013-02-011-2/+4
| | | | Namespace doesn't have a namespace member.
* doctool: Switch to a computed page_style for all page templatesJasper St. Pierre2013-02-0135-45/+37
| | | | | This is a quick cleanup before we inherit from a common template for all pages.
* mallardwriter: Remove unused importJasper St. Pierre2013-02-011-1/+0
|
* mallardwriter: Parse %ENUM_FIELDsJasper St. Pierre2013-02-015-18/+38
|
* mallardwriter: Use the same code to lookup fundamentals as the restJasper St. Pierre2013-02-015-11/+15
| | | | Also, put <code> blocks around fundamentals.
* mallardwriter: Use mkdtempJasper St. Pierre2013-02-011-1/+1
| | | | We should not litter /tmp
* girparser: Serialize and read back the instance_parameterJasper St. Pierre2013-02-0110-18/+474
| | | | | | | | g-ir-doc-tool wants to use the instance parameter to read docs and the parameter name, so it needs to be shuttled through the GIR. https://bugzilla.gnome.org/show_bug.cgi?id=693040
* girparser: Clean up passthrough handlingJasper St. Pierre2013-02-011-6/+4
| | | | | | | Instead of remembering to have to set unknown_depth, smarten up state_switch to do it for us. https://bugzilla.gnome.org/show_bug.cgi?id=693040
* girparser: Move <doc> handling to passthroughJasper St. Pierre2013-02-011-27/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693040
* giscanner: Apply standard annotations to constant valuesJasper St. Pierre2013-02-015-8/+16
| | | | | | | | | | While there's no particular reason I need to do this, there really isn't any reason to not do this, and it helps with doctool or whatever in the future if we want to document when a constant showed up. g-ir-compiler also keeps track of constant deprecations, so this fixes constants not ever being deprecated. https://bugzilla.gnome.org/show_bug.cgi?id=693040
* ast: Track enum/bitfield member parentsJasper St. Pierre2013-02-012-2/+9
| | | | | | | We need this for the doctool so that we can link to an enum definition when we reference one of the member values. https://bugzilla.gnome.org/show_bug.cgi?id=693040
* ast: Track enum members by symbolJasper St. Pierre2013-02-011-0/+3
| | | | | | | | | The doctool eventually wants to parse inline references to constant values like %GTK_TEXT_DIRECTION_LTR, so we need to have a way to look up the original symbol value for an enum member. https://bugzilla.gnome.org/show_bug.cgi?id=693040
* tests: %NULL-terminated is wrongJasper St. Pierre2013-02-013-3/+3
| | | | | | | | This translates into "None-terminated" in Python, which is bad. We should eventually strip this phrase entirely for certain languages with a prefilter. https://bugzilla.gnome.org/show_bug.cgi?id=693040
* Remove the insane pre-commit hookJasper St. Pierre2013-02-012-87/+0
| | | | | | I'm sick and tired of this. https://bugzilla.gnome.org/show_bug.cgi?id=693040
* Update .gitignoreJasper St. Pierre2013-02-011-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693040
* girparser: Remove unused methodJasper St. Pierre2013-02-011-3/+0
| | | | | | | pylint was complaining about the non-existent instance member, self._filename https://bugzilla.gnome.org/show_bug.cgi?id=693040
* gimarshallingtests: Add test helpers for marshaling of object argumentsSimon Feltman2013-01-302-0/+200
| | | | | | | | | | | | | | Add a number of vfuncs and methods which can be used for testing marshaling of objects with different combinations of ownership transference. An important part of these test vfuncs and methods is they do not pass object returns and arguments through them. Instead the methods return reference counts and floating attributes. This allows isolation and ensures any problem with round trip object marshaling does not obscure what should be tested from the perspective of C as the caller of a vfunc. Tests and vfuncs can then be written in any language with gi bindings. https://bugzilla.gnome.org/show_bug.cgi?id=687522