summaryrefslogtreecommitdiff
path: root/giscanner
Commit message (Collapse)AuthorAgeFilesLines
...
* scanner: Synthesize argument names if we don't see oneColin Walters2013-02-261-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++ usageChun-wei Fan2013-02-221-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 wellJasper St. Pierre2013-02-181-0/+1
|
* sourcescanner: Make sure to mark constants as setJasper St. Pierre2013-02-181-3/+7
| | | | This fixes complex constants.
* sourcescanner: Fix issues with double constants in the copyJasper St. Pierre2013-02-181-1/+1
|
* sourcescanner: Fix symbolic references in enum membersJasper St. Pierre2013-02-163-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" fieldJasper St. Pierre2013-02-161-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693939
* docwriter: Use the fully-qualified name for functions and methodsJasper St. Pierre2013-02-151-3/+3
|
* doctool: Use format_xref to format some links to pagesJasper St. Pierre2013-02-1511-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 writerJasper St. Pierre2013-02-151-3/+4
|
* docwriter: Clean up make_page_idJasper St. Pierre2013-02-151-21/+8
| | | | Make it use a simple recursive technique similar to format_page_name.
* ast: Fix indentationJasper St. Pierre2013-02-151-1/+1
|
* ast: Fall back to the namespace for the parent of a NodeJasper St. Pierre2013-02-151-0/+11
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693876
* ast: Rename Class.parent to parent_typeJasper St. Pierre2013-02-155-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 codeJasper St. Pierre2013-02-151-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. Pierre2013-02-151-1/+1
|
* doctool: Don't put curly braces around the construct props if there are noneJasper St. Pierre2013-02-151-2/+6
|
* doctool: Don't link to the namespace from the namespace pageJasper St. Pierre2013-02-151-0/+2
|
* doctool: Rename page_style to page_kindJasper St. Pierre2013-02-155-10/+10
|
* docmain: Create the output dir for us if it doesn't existJasper St. Pierre2013-02-152-2/+6
|
* docwriter: Don't render constants for nowJasper St. Pierre2013-02-151-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 signalsJasper St. Pierre2013-02-152-2/+2
|
* doctool: Remove the ctype from the signal return valueJasper St. Pierre2013-02-142-2/+2
| | | | WTF was this here for?
* doctool: Add an link for signal methodsJasper St. Pierre2013-02-142-2/+2
|
* doctool: Fix Gjs class signatureJasper St. Pierre2013-02-141-7/+4
|
* doctool: Gjs doesn't have extra signal parametersJasper St. Pierre2013-02-141-9/+1
|
* doctool: Fix use of <dl> tag in templatesJasper St. Pierre2013-02-149-63/+104
| | | | This isn't legal Mallard
* docwriter: Skip non-introspectable nodes in introspectable languagesJasper St. Pierre2013-02-141-0/+3
|
* docwriter: Introduce a base formatter for introspectable languagesJasper St. Pierre2013-02-141-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 arraysJasper St. Pierre2013-02-141-2/+2
| | | | Language bindings don't actually care
* giscanner: Suppress deprecation warnings when introspecting typesStef Walter2013-02-131-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693742
* ast: Allow more options in unresolved_typeJasper St. Pierre2013-02-111-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: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-111-1/+16
| | | | Gjs ignores all of these when constructing function signatures.
* docwriter: Define a new formatter method for getting paramsJasper St. Pierre2013-02-118-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. 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
* 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-072-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 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
* transformer: Warn on unnamed params in declarationsJasper St. Pierre2013-02-071-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 docwriterJasper St. Pierre2013-02-012-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 filesJasper St. Pierre2013-02-011-0/+78
| | | | This will be used to group symbols into documentation sections.
* doctool: Move signal/vfunc templates to extend function.tmplJasper St. Pierre2013-02-013-23/+5
|
* doctool: Update templates to include the actual instance parameterJasper St. Pierre2013-02-013-48/+19
| | | | Rather than fabricating one with a fake name.
* mallardwriter: Fix code for self-parameter forcingJasper St. Pierre2013-02-011-1/+1
|
* ast: Allow lookup of the instance parameter by nameJasper St. Pierre2013-02-011-1/+1
| | | | | This will be used by the doctool to properly identify the instance parameter.
* 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.