Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | scanner: Synthesize argument names if we don't see one | Colin Walters | 2013-02-26 | 1 | -6/+10 | |
| | | | | | | | 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 | |||||
* | dumper.py: Fix for Visual C++ usage | Chun-wei Fan | 2013-02-22 | 1 | -1/+6 | |
| | | | | | | | -Wno-deprecated-declarations is a compilation flag that causes builds of introspection files to fail on Visual C++ builds, so use -wd4996 instead when we are using Visual C++, which serves the same purpose of -Wno-deprecated-declarations with Visual C++. | |||||
* | sourcescanner: Copy over the unsignedness as well | Jasper St. Pierre | 2013-02-18 | 1 | -0/+1 | |
| | ||||||
* | sourcescanner: Make sure to mark constants as set | Jasper St. Pierre | 2013-02-18 | 1 | -3/+7 | |
| | | | | This fixes complex constants. | |||||
* | sourcescanner: Fix issues with double constants in the copy | Jasper St. Pierre | 2013-02-18 | 1 | -1/+1 | |
| | ||||||
* | sourcescanner: Fix symbolic references in enum members | Jasper St. Pierre | 2013-02-16 | 3 | -3/+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 | |||||
* | sourcescanner: Remove unused "id" field | Jasper St. Pierre | 2013-02-16 | 1 | -1/+0 | |
| | | | | 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 | 1 | -3/+3 | |
| | ||||||
* | doctool: Use format_xref to format some links to pages | Jasper St. Pierre | 2013-02-15 | 11 | -23/+11 | |
| | | | | | | 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. | |||||
* | docwriter: Add support for adding additional attrs to the xref writer | Jasper St. Pierre | 2013-02-15 | 1 | -3/+4 | |
| | ||||||
* | docwriter: Clean up make_page_id | Jasper St. Pierre | 2013-02-15 | 1 | -21/+8 | |
| | | | | Make it use a simple recursive technique similar to format_page_name. | |||||
* | ast: Fix indentation | Jasper St. Pierre | 2013-02-15 | 1 | -1/+1 | |
| | ||||||
* | ast: Fall back to the namespace for the parent of a Node | Jasper St. Pierre | 2013-02-15 | 1 | -0/+11 | |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=693876 | |||||
* | ast: Rename Class.parent to parent_type | Jasper St. Pierre | 2013-02-15 | 5 | -15/+15 | |
| | | | | | | | | | The eventual model I want to have is that .parent is the "container" of the node. In all the cases where we don't explicitly set the parent, this is the namespace, but having this under one field name would be a big cleanup for the docwriter. https://bugzilla.gnome.org/show_bug.cgi?id=693876 | |||||
* | girparser: Clean up code | Jasper St. Pierre | 2013-02-15 | 1 | -4/+4 | |
| | | | | | | This makes it only use kwargs https://bugzilla.gnome.org/show_bug.cgi?id=693876 | |||||
* | doctool: Make sure to add "new" | Jasper St. Pierre | 2013-02-15 | 1 | -1/+1 | |
| | ||||||
* | doctool: Don't put curly braces around the construct props if there are none | Jasper St. Pierre | 2013-02-15 | 1 | -2/+6 | |
| | ||||||
* | doctool: Don't link to the namespace from the namespace page | Jasper St. Pierre | 2013-02-15 | 1 | -0/+2 | |
| | ||||||
* | doctool: Rename page_style to page_kind | Jasper St. Pierre | 2013-02-15 | 5 | -10/+10 | |
| | ||||||
* | docmain: Create the output dir for us if it doesn't exist | Jasper St. Pierre | 2013-02-15 | 2 | -2/+6 | |
| | ||||||
* | docwriter: Don't render constants for now | Jasper St. Pierre | 2013-02-15 | 1 | -1/+4 | |
| | | | | | | 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 | 2 | -2/+2 | |
| | ||||||
* | doctool: Remove the ctype from the signal return value | Jasper St. Pierre | 2013-02-14 | 2 | -2/+2 | |
| | | | | WTF was this here for? | |||||
* | doctool: Add an link for signal methods | Jasper St. Pierre | 2013-02-14 | 2 | -2/+2 | |
| | ||||||
* | doctool: Fix Gjs class signature | Jasper St. Pierre | 2013-02-14 | 1 | -7/+4 | |
| | ||||||
* | doctool: Gjs doesn't have extra signal parameters | Jasper St. Pierre | 2013-02-14 | 1 | -9/+1 | |
| | ||||||
* | doctool: Fix use of <dl> tag in templates | Jasper St. Pierre | 2013-02-14 | 9 | -63/+104 | |
| | | | | This isn't legal Mallard | |||||
* | docwriter: Skip non-introspectable nodes in introspectable languages | Jasper St. Pierre | 2013-02-14 | 1 | -0/+3 | |
| | ||||||
* | docwriter: Introduce a base formatter for introspectable languages | Jasper St. Pierre | 2013-02-14 | 1 | -12/+10 | |
| | | | | | | Introspectable languages share a non-zero set of base semantics, so it will become easier to implement these shared semantics here, rather than copy-paste code. | |||||
* | docwriter: Format list types as if they are arrays | Jasper St. Pierre | 2013-02-14 | 1 | -2/+2 | |
| | | | | Language bindings don't actually care | |||||
* | giscanner: Suppress deprecation warnings when introspecting types | Stef Walter | 2013-02-13 | 1 | -0/+1 | |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=693742 | |||||
* | ast: Allow more options in unresolved_type | Jasper St. Pierre | 2013-02-11 | 1 | -0/+2 | |
| | | | | | | | If there's an unresolved type for an annotation, it's very likely it's using a target_giname. https://bugzilla.gnome.org/show_bug.cgi?id=693598 | |||||
* | docwriter: Support formatting of types without c:types | Jasper St. Pierre | 2013-02-11 | 1 | -1/+4 | |
| | | | | This can happen for properties/signals. | |||||
* | docwriter: Support varargs in parameter names | Jasper St. Pierre | 2013-02-11 | 1 | -1/+6 | |
| | ||||||
* | docwriter: Skip lots of special kinds of parameters | Jasper St. Pierre | 2013-02-11 | 1 | -1/+16 | |
| | | | | Gjs ignores all of these when constructing function signatures. | |||||
* | docwriter: Define a new formatter method for getting params | Jasper St. Pierre | 2013-02-11 | 8 | -29/+41 | |
| | | | | | | | | 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 | |||||
* | 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 | 2 | -5/+27 | |
| | | | | | | | | 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 | |||||
* | transformer: Warn on unnamed params in declarations | Jasper St. Pierre | 2013-02-07 | 1 | -5/+9 | |
| | | | | | | | These params are unannotatable and undocumentable. They really should not be allowed. https://bugzilla.gnome.org/show_bug.cgi?id=693098 | |||||
* | doctool: Rebrand mallardwriter as docwriter | Jasper St. Pierre | 2013-02-01 | 2 | -10/+10 | |
| | | | | | 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 | 1 | -0/+78 | |
| | | | | 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 | 3 | -23/+5 | |
| | ||||||
* | doctool: Update templates to include the actual instance parameter | Jasper St. Pierre | 2013-02-01 | 3 | -48/+19 | |
| | | | | Rather than fabricating one with a fake name. | |||||
* | mallardwriter: Fix code for self-parameter forcing | Jasper St. Pierre | 2013-02-01 | 1 | -1/+1 | |
| | ||||||
* | ast: Allow lookup of the instance parameter by name | Jasper St. Pierre | 2013-02-01 | 1 | -1/+1 | |
| | | | | | This will be used by the doctool to properly identify the instance parameter. | |||||
* | 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. |