diff options
Diffstat (limited to 'tests/scanner/Regress-1.0-Gjs-expected')
452 files changed, 17996 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.ANNOTATION_CALCULATED_DEFINE.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.ANNOTATION_CALCULATED_DEFINE.page new file mode 100644 index 00000000..ebe71b0d --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.ANNOTATION_CALCULATED_DEFINE.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.ANNOTATION_CALCULATED_DEFINE" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.ANNOTATION_CALCULATED_DEFINE</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.ANNOTATION_CALCULATED_LARGE.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.ANNOTATION_CALCULATED_LARGE.page new file mode 100644 index 00000000..4b38cc01 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.ANNOTATION_CALCULATED_LARGE.page @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<page id="Regress.ANNOTATION_CALCULATED_LARGE" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.ANNOTATION_CALCULATED_LARGE</title> + + + + <p>Constant to define a calculated large value</p> + + + <p>Since 1.4</p> + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.ANNOTATION_CALCULATED_LARGE_DIV.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.ANNOTATION_CALCULATED_LARGE_DIV.page new file mode 100644 index 00000000..d6c8e76a --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.ANNOTATION_CALCULATED_LARGE_DIV.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.ANNOTATION_CALCULATED_LARGE_DIV" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.ANNOTATION_CALCULATED_LARGE_DIV</title> + + + + <p>Constant to define a calculated large value</p> + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.ATestError.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.ATestError.page new file mode 100644 index 00000000..dff139fd --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.ATestError.page @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<page id="Regress.ATestError" + type="topic" + style="enum" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.ATestError</title> + + + + + + + + +<dl> +<dt><p>ATestError.CODE0 :</p></dt> +<dd></dd> +<dt><p>ATestError.CODE1 :</p></dt> +<dd></dd> +<dt><p>ATestError.CODE2 :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AliasedTestBoxed.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AliasedTestBoxed.page new file mode 100644 index 00000000..2229245a --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AliasedTestBoxed.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.AliasedTestBoxed" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.AliasedTestBoxed</title> + + + + <p>Typedef TestBoxed to test caller-allocates correctness</p> + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationBitfield.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationBitfield.page new file mode 100644 index 00000000..8cbc8326 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationBitfield.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationBitfield" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.AnnotationBitfield</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationCallback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationCallback.page new file mode 100644 index 00000000..30f950c2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationCallback.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationCallback" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.AnnotationCallback</title> + + + + <p>This is a callback.</p> + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationForeachFunc.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationForeachFunc.page new file mode 100644 index 00000000..506ceffd --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationForeachFunc.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationForeachFunc" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.AnnotationForeachFunc</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationListCallback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationListCallback.page new file mode 100644 index 00000000..3f9409ed --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationListCallback.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationListCallback" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.AnnotationListCallback</title> + + + + <p>This is a callback taking a list.</p> + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationNotifyFunc.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationNotifyFunc.page new file mode 100644 index 00000000..b2dc717c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationNotifyFunc.page @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationNotifyFunc" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.AnnotationNotifyFunc</title> + + + + <p>This is a callback with a 'closure' argument that is not named +'user_data' and hence has to be annotated.</p> + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-attribute-signal.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-attribute-signal.page new file mode 100644 index 00000000..73f9cde8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-attribute-signal.page @@ -0,0 +1,43 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject-attribute-signal" + type="topic" + style="signal" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="signal"/> + <title type="link" role="topic">attribute-signal</title> + + </info> + <title>Regress.AnnotationObject::attribute-signal</title> + +<synopsis><code mime="text/x-python"> +function callback(annotation_object, arg1:String, arg2:String, user_param1, ...):String; +</code></synopsis> + + + <p>This signal tests a signal with attributes.</p> + + + + +<dl> +<dt><p>annotation_object :</p></dt> +<dd><p>instance of Regress.AnnotationObject that is emitting the signal</p></dd> +<dt><p>arg1 :</p></dt> +<dd><p>a value</p></dd> +<dt><p>arg2 :</p></dt> +<dd><p>another value</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +<dt><p>Returns :</p></dt> +<dd>gchar* <p>the return value</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-doc-empty-arg-parsing.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-doc-empty-arg-parsing.page new file mode 100644 index 00000000..178ce23c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-doc-empty-arg-parsing.page @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject-doc-empty-arg-parsing" + type="topic" + style="signal" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="signal"/> + <title type="link" role="topic">doc-empty-arg-parsing</title> + + </info> + <title>Regress.AnnotationObject::doc-empty-arg-parsing</title> + +<synopsis><code mime="text/x-python"> +function callback(annotation_object, arg1:gpointer, user_param1, ...):void; +</code></synopsis> + + + <p>This signal tests an empty document argument (<code>arg1</code>)</p> + + + + +<dl> +<dt><p>annotation_object :</p></dt> +<dd><p>instance of Regress.AnnotationObject that is emitting the signal</p></dd> +<dt><p>arg1 :</p></dt> +<dd></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-function-property.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-function-property.page new file mode 100644 index 00000000..f526ea9b --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-function-property.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject-function-property" + type="topic" + style="property" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="property"/> + <title type="link" role="topic">function-property</title> + + </info> + <title>Regress.AnnotationObject:function-property</title> + +<synopsis><code mime="text/x-python"> +"function-property" Regress.AnnotationCallback : Read / Write / Construct +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-list-signal.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-list-signal.page new file mode 100644 index 00000000..35d0edd1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-list-signal.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject-list-signal" + type="topic" + style="signal" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="signal"/> + <title type="link" role="topic">list-signal</title> + + </info> + <title>Regress.AnnotationObject::list-signal</title> + +<synopsis><code mime="text/x-python"> +function callback(annotation_object, list:<list>, user_param1, ...):void; +</code></synopsis> + + + <p>This is a signal which takes a list of strings, but it's not +known by GObject as it's only marked as G_TYPE_POINTER</p> + + + + +<dl> +<dt><p>annotation_object :</p></dt> +<dd><p>instance of Regress.AnnotationObject that is emitting the signal</p></dd> +<dt><p>list :</p></dt> +<dd><p>a list of strings</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-string-property.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-string-property.page new file mode 100644 index 00000000..b570a59c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-string-property.page @@ -0,0 +1,30 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject-string-property" + type="topic" + style="property" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="property"/> + <title type="link" role="topic">string-property</title> + + </info> + <title>Regress.AnnotationObject:string-property</title> + +<synopsis><code mime="text/x-python"> +"string-property" String : Read / Write / Construct +</code></synopsis> + + + <p>This is a property which is a string</p> + + + <p>Since 1.0</p> + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-string-signal.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-string-signal.page new file mode 100644 index 00000000..d8e9f6a8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-string-signal.page @@ -0,0 +1,41 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject-string-signal" + type="topic" + style="signal" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="signal"/> + <title type="link" role="topic">string-signal</title> + + </info> + <title>Regress.AnnotationObject::string-signal</title> + +<synopsis><code mime="text/x-python"> +function callback(annotation_object, string:String, user_param1, ...):void; +</code></synopsis> + + + <p>This is a signal which has a broken signal handler, +it says it's pointer but it's actually a string.</p> + + + <p>Since 1.0</p> + + +<dl> +<dt><p>annotation_object :</p></dt> +<dd><p>instance of Regress.AnnotationObject that is emitting the signal</p></dd> +<dt><p>string :</p></dt> +<dd><p>a string</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-tab-property.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-tab-property.page new file mode 100644 index 00000000..e52a728f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject-tab-property.page @@ -0,0 +1,31 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject-tab-property" + type="topic" + style="property" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="property"/> + <title type="link" role="topic">tab-property</title> + + </info> + <title>Regress.AnnotationObject:tab-property</title> + +<synopsis><code mime="text/x-python"> +"tab-property" String : Read / Write / Construct +</code></synopsis> + + + <p>This is a property regress_annotation intentionally indented with a mix +of tabs and strings to test the tab handling capabilities of the scanner.</p> + + + <p>Since 1.2</p> + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.allow_none.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.allow_none.page new file mode 100644 index 00000000..c54f0c3e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.allow_none.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.allow_none" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>GObject.Object</api:type> + </api:returns> + <api:name>regress_annotation_object_allow_none</api:name> + <api:arg> + <api:type>String</api:type> + <api:name>somearg</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.prototype.allow_none</title> + +<synopsis><code mime="text/x-gjs"> +function allow_none(somearg:String):GObject.Object { + // Gjs wrapper for regress_annotation_object_allow_none() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>somearg :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd><p><code>null</code> always</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.calleeowns.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.calleeowns.page new file mode 100644 index 00000000..a11fd19c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.calleeowns.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.calleeowns" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_annotation_object_calleeowns</api:name> + </api:function> + + </info> + <title>AnnotationObject.prototype.calleeowns</title> + +<synopsis><code mime="text/x-gjs"> +function calleeowns():Number { + // Gjs wrapper for regress_annotation_object_calleeowns() +} +</code></synopsis> + + + <p>This is a test for out arguments; GObject defaults to transfer</p> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.calleesowns.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.calleesowns.page new file mode 100644 index 00000000..df95d103 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.calleesowns.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.calleesowns" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_annotation_object_calleesowns</api:name> + </api:function> + + </info> + <title>AnnotationObject.prototype.calleesowns</title> + +<synopsis><code mime="text/x-gjs"> +function calleesowns():Number { + // Gjs wrapper for regress_annotation_object_calleesowns() +} +</code></synopsis> + + + <p>This is a test for out arguments, one transferred, other not</p> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.compute_sum.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.compute_sum.page new file mode 100644 index 00000000..5f930137 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.compute_sum.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.compute_sum" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_object_compute_sum</api:name> + <api:arg> + <api:type>[Number]</api:type> + <api:name>nums</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.prototype.compute_sum</title> + +<synopsis><code mime="text/x-gjs"> +function compute_sum(nums:[Number]):void { + // Gjs wrapper for regress_annotation_object_compute_sum() +} +</code></synopsis> + + + <p>Test taking a zero-terminated array</p> + + + + +<dl> +<dt><p>nums :</p></dt> +<dd><p>Sequence of numbers</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.compute_sum_n.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.compute_sum_n.page new file mode 100644 index 00000000..24e2a802 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.compute_sum_n.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.compute_sum_n" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_object_compute_sum_n</api:name> + <api:arg> + <api:type>[Number]</api:type> + <api:name>nums</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.prototype.compute_sum_n</title> + +<synopsis><code mime="text/x-gjs"> +function compute_sum_n(nums:[Number]):void { + // Gjs wrapper for regress_annotation_object_compute_sum_n() +} +</code></synopsis> + + + <p>Test taking an array with length parameter</p> + + + + +<dl> +<dt><p>nums :</p></dt> +<dd><p>Sequence of numbers that are zero-terminated</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.compute_sum_nz.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.compute_sum_nz.page new file mode 100644 index 00000000..02c501d9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.compute_sum_nz.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.compute_sum_nz" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_object_compute_sum_nz</api:name> + <api:arg> + <api:type>[Number]</api:type> + <api:name>nums</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.prototype.compute_sum_nz</title> + +<synopsis><code mime="text/x-gjs"> +function compute_sum_nz(nums:[Number]):void { + // Gjs wrapper for regress_annotation_object_compute_sum_nz() +} +</code></synopsis> + + + <p>Test taking a zero-terminated array with length parameter</p> + + + + +<dl> +<dt><p>nums :</p></dt> +<dd><p>Sequence of numbers that are zero-terminated</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.create_object.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.create_object.page new file mode 100644 index 00000000..4b2d104f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.create_object.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.create_object" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>GObject.Object</api:type> + </api:returns> + <api:name>regress_annotation_object_create_object</api:name> + </api:function> + + </info> + <title>AnnotationObject.prototype.create_object</title> + +<synopsis><code mime="text/x-gjs"> +function create_object():GObject.Object { + // Gjs wrapper for regress_annotation_object_create_object() +} +</code></synopsis> + + + <p>Test returning a caller-owned object</p> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>The object</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.do_not_use.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.do_not_use.page new file mode 100644 index 00000000..87249cf9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.do_not_use.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.do_not_use" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>GObject.Object</api:type> + </api:returns> + <api:name>regress_annotation_object_do_not_use</api:name> + </api:function> + + </info> + <title>AnnotationObject.prototype.do_not_use</title> + +<synopsis><code mime="text/x-gjs"> +function do_not_use():GObject.Object { + // Gjs wrapper for regress_annotation_object_do_not_use() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p><code>null</code> always</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.extra_annos.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.extra_annos.page new file mode 100644 index 00000000..ba06aea4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.extra_annos.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.extra_annos" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_object_extra_annos</api:name> + </api:function> + + </info> + <title>AnnotationObject.prototype.extra_annos</title> + +<synopsis><code mime="text/x-gjs"> +function extra_annos():void { + // Gjs wrapper for regress_annotation_object_extra_annos() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.foreach.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.foreach.page new file mode 100644 index 00000000..965297e8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.foreach.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.foreach" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_object_foreach</api:name> + <api:arg> + <api:type>Regress.AnnotationForeachFunc</api:type> + <api:name>func</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.prototype.foreach</title> + +<synopsis><code mime="text/x-gjs"> +function foreach(func:Regress.AnnotationForeachFunc):void { + // Gjs wrapper for regress_annotation_object_foreach() +} +</code></synopsis> + + + <p>Test taking a call-scoped callback</p> + + + + +<dl> +<dt><p>func :</p></dt> +<dd><p>Callback to invoke</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.get_hash.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.get_hash.page new file mode 100644 index 00000000..dbff0ad3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.get_hash.page @@ -0,0 +1,41 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.get_hash" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>{String: GObject.Object}</api:type> + </api:returns> + <api:name>regress_annotation_object_get_hash</api:name> + </api:function> + + </info> + <title>AnnotationObject.prototype.get_hash</title> + +<synopsis><code mime="text/x-gjs"> +function get_hash():{String: GObject.Object} { + // Gjs wrapper for regress_annotation_object_get_hash() +} +</code></synopsis> + + + <p>This is a test for returning a hash table mapping strings to +objects.</p> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>hash table</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.get_objects.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.get_objects.page new file mode 100644 index 00000000..4db2b5f1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.get_objects.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.get_objects" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>regress_annotation_object_get_objects</api:name> + </api:function> + + </info> + <title>AnnotationObject.prototype.get_objects</title> + +<synopsis><code mime="text/x-gjs"> +function get_objects():<list> { + // Gjs wrapper for regress_annotation_object_get_objects() +} +</code></synopsis> + + + <p>This is a test for returning a list of objects. +The list itself should be freed, but not the internal objects, +intentionally similar example to gtk_container_get_children</p> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>list of objects</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.get_strings.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.get_strings.page new file mode 100644 index 00000000..f12734f1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.get_strings.page @@ -0,0 +1,41 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.get_strings" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>regress_annotation_object_get_strings</api:name> + </api:function> + + </info> + <title>AnnotationObject.prototype.get_strings</title> + +<synopsis><code mime="text/x-gjs"> +function get_strings():<list> { + // Gjs wrapper for regress_annotation_object_get_strings() +} +</code></synopsis> + + + <p>This is a test for returning a list of strings, where +each string needs to be freed.</p> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>list of strings</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.hidden_self.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.hidden_self.page new file mode 100644 index 00000000..a59a446f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.hidden_self.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.hidden_self" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_object_hidden_self</api:name> + </api:function> + + </info> + <title>AnnotationObject.prototype.hidden_self</title> + +<synopsis><code mime="text/x-gjs"> +function hidden_self():void { + // Gjs wrapper for regress_annotation_object_hidden_self() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.in.page new file mode 100644 index 00000000..f9c8caef --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.in.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.in" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_annotation_object_in</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>inarg</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.prototype.in</title> + +<synopsis><code mime="text/x-gjs"> +function in(inarg:Number):Number { + // Gjs wrapper for regress_annotation_object_in() +} +</code></synopsis> + + + <p>This is a test for in arguments</p> + + + + +<dl> +<dt><p>inarg :</p></dt> +<dd><p>This is an argument test</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.inout.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.inout.page new file mode 100644 index 00000000..d2064f22 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.inout.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.inout" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_annotation_object_inout</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>inoutarg</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.prototype.inout</title> + +<synopsis><code mime="text/x-gjs"> +function inout(inoutarg:Number):Number { + // Gjs wrapper for regress_annotation_object_inout() +} +</code></synopsis> + + + <p>This is a test for out arguments</p> + + + + +<dl> +<dt><p>inoutarg :</p></dt> +<dd><p>This is an argument test</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.inout2.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.inout2.page new file mode 100644 index 00000000..a79e4d06 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.inout2.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.inout2" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_annotation_object_inout2</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>inoutarg</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.prototype.inout2</title> + +<synopsis><code mime="text/x-gjs"> +function inout2(inoutarg:Number):Number { + // Gjs wrapper for regress_annotation_object_inout2() +} +</code></synopsis> + + + <p>This is a second test for out arguments</p> + + + + +<dl> +<dt><p>inoutarg :</p></dt> +<dd><p>This is an argument test</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.inout3.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.inout3.page new file mode 100644 index 00000000..d421cbbb --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.inout3.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.inout3" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_annotation_object_inout3</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>inoutarg</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.prototype.inout3</title> + +<synopsis><code mime="text/x-gjs"> +function inout3(inoutarg:Number):Number { + // Gjs wrapper for regress_annotation_object_inout3() +} +</code></synopsis> + + + <p>This is a 3th test for out arguments</p> + + + + +<dl> +<dt><p>inoutarg :</p></dt> +<dd><p>This is an argument test</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.method.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.method.page new file mode 100644 index 00000000..93015f3c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.method.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.method" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_annotation_object_method</api:name> + </api:function> + + </info> + <title>AnnotationObject.prototype.method</title> + +<synopsis><code mime="text/x-gjs"> +function method():Number { + // Gjs wrapper for regress_annotation_object_method() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.notrans.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.notrans.page new file mode 100644 index 00000000..94f5173d --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.notrans.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.notrans" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>GObject.Object</api:type> + </api:returns> + <api:name>regress_annotation_object_notrans</api:name> + </api:function> + + </info> + <title>AnnotationObject.prototype.notrans</title> + +<synopsis><code mime="text/x-gjs"> +function notrans():GObject.Object { + // Gjs wrapper for regress_annotation_object_notrans() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>An object, not referenced</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.out.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.out.page new file mode 100644 index 00000000..227eacc4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.out.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.out" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_annotation_object_out</api:name> + </api:function> + + </info> + <title>AnnotationObject.prototype.out</title> + +<synopsis><code mime="text/x-gjs"> +function out():Number { + // Gjs wrapper for regress_annotation_object_out() +} +</code></synopsis> + + + <p>This is a test for out arguments</p> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.page new file mode 100644 index 00000000..8bcae31c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.page @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject" + type="guide" + style="class" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.AnnotationObject</title> + + <synopsis><code> +from gi.repository import Regress + +annotation_object = Regress.AnnotationObject(<link xref='Regress.AnnotationObject-function-property'>function_property</link>=value, <link xref='Regress.AnnotationObject-string-property'>string_property</link>=value, <link xref='Regress.AnnotationObject-tab-property'>tab_property</link>=value) </code></synopsis> + + + <p>This is an object used to test regress_annotations.</p> + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>GObject.Object</code> + <item> + <code>Regress.AnnotationObject</code> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.parse_args.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.parse_args.page new file mode 100644 index 00000000..6940eca1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.parse_args.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.parse_args" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_object_parse_args</api:name> + <api:arg> + <api:type>[String]</api:type> + <api:name>argv</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.prototype.parse_args</title> + +<synopsis><code mime="text/x-gjs"> +function parse_args(argv:[String]):void { + // Gjs wrapper for regress_annotation_object_parse_args() +} +</code></synopsis> + + + <p>Test taking a zero-terminated array with length parameter</p> + + + + +<dl> +<dt><p>argv :</p></dt> +<dd><p>Argument vector</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data.page new file mode 100644 index 00000000..6912c993 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.set_data" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_object_set_data</api:name> + <api:arg> + <api:type>[guint8]</api:type> + <api:name>data</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.prototype.set_data</title> + +<synopsis><code mime="text/x-gjs"> +function set_data(data:[guint8]):void { + // Gjs wrapper for regress_annotation_object_set_data() +} +</code></synopsis> + + + <p>Test taking a guchar * with a length.</p> + + + + +<dl> +<dt><p>data :</p></dt> +<dd><p>The data</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data2.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data2.page new file mode 100644 index 00000000..68185d5e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data2.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.set_data2" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_object_set_data2</api:name> + <api:arg> + <api:type>[gint8]</api:type> + <api:name>data</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.prototype.set_data2</title> + +<synopsis><code mime="text/x-gjs"> +function set_data2(data:[gint8]):void { + // Gjs wrapper for regress_annotation_object_set_data2() +} +</code></synopsis> + + + <p>Test taking a gchar * with a length.</p> + + + + +<dl> +<dt><p>data :</p></dt> +<dd><p>The data</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data3.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data3.page new file mode 100644 index 00000000..62dcf839 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data3.page @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.set_data3" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_object_set_data3</api:name> + <api:arg> + <api:type>[guint8]</api:type> + <api:name>data</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.prototype.set_data3</title> + +<synopsis><code mime="text/x-gjs"> +function set_data3(data:[guint8]):void { + // Gjs wrapper for regress_annotation_object_set_data3() +} +</code></synopsis> + + + <p>Test taking a gchar * with a length, overriding the array element +type.</p> + + + + +<dl> +<dt><p>data :</p></dt> +<dd><p>The data</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.string_out.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.string_out.page new file mode 100644 index 00000000..91f12525 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.string_out.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.string_out" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>Boolean</api:type> + </api:returns> + <api:name>regress_annotation_object_string_out</api:name> + </api:function> + + </info> + <title>AnnotationObject.prototype.string_out</title> + +<synopsis><code mime="text/x-gjs"> +function string_out():Boolean { + // Gjs wrapper for regress_annotation_object_string_out() +} +</code></synopsis> + + + <p>Test returning a string as an out parameter</p> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>some boolean</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.use_buffer.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.use_buffer.page new file mode 100644 index 00000000..1d61e1de --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.use_buffer.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.use_buffer" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_object_use_buffer</api:name> + <api:arg> + <api:type>guint8</api:type> + <api:name>bytes</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.prototype.use_buffer</title> + +<synopsis><code mime="text/x-gjs"> +function use_buffer(bytes:guint8):void { + // Gjs wrapper for regress_annotation_object_use_buffer() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>bytes :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.watch.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.watch.page new file mode 100644 index 00000000..085bf0a0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.watch.page @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.watch" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_object_watch</api:name> + <api:arg> + <api:type>Regress.AnnotationForeachFunc</api:type> + <api:name>func</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.prototype.watch</title> + +<synopsis><code mime="text/x-gjs"> +function watch(func:Regress.AnnotationForeachFunc):void { + // Gjs wrapper for regress_annotation_object_watch() +} +</code></synopsis> + + + <p>This is here just for the sake of being overriden by its +<link xref="Regress.AnnotationObject.watch_full"/>.</p> + + + + +<dl> +<dt><p>func :</p></dt> +<dd><p>The callback</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.watch_full.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.watch_full.page new file mode 100644 index 00000000..3fa6debd --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.watch_full.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.watch_full" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_object_watch_full</api:name> + <api:arg> + <api:type>Regress.AnnotationForeachFunc</api:type> + <api:name>func</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.prototype.watch_full</title> + +<synopsis><code mime="text/x-gjs"> +function watch_full(func:Regress.AnnotationForeachFunc):void { + // Gjs wrapper for regress_annotation_object_watch_full() +} +</code></synopsis> + + + <p>Test overriding via the "Rename To" regress_annotation.</p> + + + + +<dl> +<dt><p>func :</p></dt> +<dd><p>The callback</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.with_voidp.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.with_voidp.page new file mode 100644 index 00000000..5b0e46a9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.with_voidp.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.with_voidp" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_object_with_voidp</api:name> + <api:arg> + <api:type>gpointer</api:type> + <api:name>data</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.prototype.with_voidp</title> + +<synopsis><code mime="text/x-gjs"> +function with_voidp(data:gpointer):void { + // Gjs wrapper for regress_annotation_object_with_voidp() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>data :</p></dt> +<dd><p>Opaque pointer handle</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationStruct.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationStruct.page new file mode 100644 index 00000000..edc9fd18 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationStruct.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationStruct" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.AnnotationStruct</title> + + + + <p>This is a test of an array of object in an field of a struct.</p> + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.DOUBLE_CONSTANT.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.DOUBLE_CONSTANT.page new file mode 100644 index 00000000..b1aa32d8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.DOUBLE_CONSTANT.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.DOUBLE_CONSTANT" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.DOUBLE_CONSTANT</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FOO_DEFINE_SHOULD_BE_EXPOSED.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FOO_DEFINE_SHOULD_BE_EXPOSED.page new file mode 100644 index 00000000..357665de --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FOO_DEFINE_SHOULD_BE_EXPOSED.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FOO_DEFINE_SHOULD_BE_EXPOSED" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FOO_DEFINE_SHOULD_BE_EXPOSED</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FOO_PIE_IS_TASTY.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FOO_PIE_IS_TASTY.page new file mode 100644 index 00000000..7dc308a1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FOO_PIE_IS_TASTY.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FOO_PIE_IS_TASTY" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FOO_PIE_IS_TASTY</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FOO_SUCCESS_INT.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FOO_SUCCESS_INT.page new file mode 100644 index 00000000..f20f426f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FOO_SUCCESS_INT.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FOO_SUCCESS_INT" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FOO_SUCCESS_INT</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooASingle.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooASingle.page new file mode 100644 index 00000000..34f1ed7c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooASingle.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.FooASingle" + type="topic" + style="enum" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooASingle</title> + + + + + + + + +<dl> +<dt><p>FooASingle.FOO_SOME_SINGLE_ENUM :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooAddressType.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooAddressType.page new file mode 100644 index 00000000..2dafde03 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooAddressType.page @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<page id="Regress.FooAddressType" + type="topic" + style="enum" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooAddressType</title> + + + + + + + + +<dl> +<dt><p>FooAddressType.INVALID :</p></dt> +<dd></dd> +<dt><p>FooAddressType.IPV4 :</p></dt> +<dd></dd> +<dt><p>FooAddressType.IPV6 :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBRect.add.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBRect.add.page new file mode 100644 index 00000000..f46e101a --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBRect.add.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.FooBRect.add" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooBRect" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_brect_add</api:name> + <api:arg> + <api:type>Regress.FooBRect</api:type> + <api:name>b2</api:name> + </api:arg> + </api:function> + + </info> + <title>FooBRect.prototype.add</title> + +<synopsis><code mime="text/x-gjs"> +function add(b2:Regress.FooBRect):void { + // Gjs wrapper for regress_foo_brect_add() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>b2 :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBRect.new.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBRect.new.page new file mode 100644 index 00000000..66972b02 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBRect.new.page @@ -0,0 +1,52 @@ +<?xml version="1.0"?> +<page id="Regress.FooBRect.new" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooBRect" group="constructor"/> + <api:function> + <api:returns> + <api:type>Regress.FooBRect</api:type> + </api:returns> + <api:name>regress_foo_brect_new</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>y</api:name> + </api:arg> + </api:function> + + </info> + <title>FooBRect.new</title> + +<synopsis><code mime="text/x-gjs"> +function new(x:Number, y:Number):Regress.FooBRect { + // Gjs wrapper for regress_foo_brect_new() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>y :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBRect.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBRect.page new file mode 100644 index 00000000..57e26525 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBRect.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooBRect" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooBRect</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBUnion.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBUnion.page new file mode 100644 index 00000000..63831e74 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBUnion.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooBUnion" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooBUnion</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBoxed.method.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBoxed.method.page new file mode 100644 index 00000000..447c9913 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBoxed.method.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.FooBoxed.method" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooBoxed" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_boxed_method</api:name> + </api:function> + + </info> + <title>FooBoxed.prototype.method</title> + +<synopsis><code mime="text/x-gjs"> +function method():void { + // Gjs wrapper for regress_foo_boxed_method() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBoxed.new.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBoxed.new.page new file mode 100644 index 00000000..edad8cdf --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBoxed.new.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.FooBoxed.new" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooBoxed" group="constructor"/> + <api:function> + <api:returns> + <api:type>Regress.FooBoxed</api:type> + </api:returns> + <api:name>regress_foo_boxed_new</api:name> + </api:function> + + </info> + <title>FooBoxed.new</title> + +<synopsis><code mime="text/x-gjs"> +function new():Regress.FooBoxed { + // Gjs wrapper for regress_foo_boxed_new() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBoxed.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBoxed.page new file mode 100644 index 00000000..962300f3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBoxed.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooBoxed" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooBoxed</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBuffer.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBuffer.page new file mode 100644 index 00000000..a3b5101c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBuffer.page @@ -0,0 +1,65 @@ +<?xml version="1.0"?> +<page id="Regress.FooBuffer" + type="guide" + style="class" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooBuffer</title> + + <synopsis><code> +from gi.repository import Regress + +foo_buffer = Regress.FooBuffer() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>GObject.Object</code> + <item> + <code>Regress.FooObject</code> + <item> + <code>Regress.FooBuffer</code> + </item> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBuffer.some_method.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBuffer.some_method.page new file mode 100644 index 00000000..2a25e79a --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBuffer.some_method.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.FooBuffer.some_method" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooBuffer" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_buffer_some_method</api:name> + </api:function> + + </info> + <title>FooBuffer.prototype.some_method</title> + +<synopsis><code mime="text/x-gjs"> +function some_method():void { + // Gjs wrapper for regress_foo_buffer_some_method() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooCallback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooCallback.page new file mode 100644 index 00000000..241296e1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooCallback.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooCallback" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooCallback</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooDBusData.method.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooDBusData.method.page new file mode 100644 index 00000000..bbcd055b --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooDBusData.method.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.FooDBusData.method" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooDBusData" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_dbus_data_method</api:name> + </api:function> + + </info> + <title>FooDBusData.prototype.method</title> + +<synopsis><code mime="text/x-gjs"> +function method():void { + // Gjs wrapper for regress_foo_dbus_data_method() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooDBusData.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooDBusData.page new file mode 100644 index 00000000..08ad0d2e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooDBusData.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooDBusData" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooDBusData</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumFullname.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumFullname.page new file mode 100644 index 00000000..a46070da --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumFullname.page @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<page id="Regress.FooEnumFullname" + type="topic" + style="enum" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooEnumFullname</title> + + + + + + + + +<dl> +<dt><p>FooEnumFullname.ONE :</p></dt> +<dd></dd> +<dt><p>FooEnumFullname.TWO :</p></dt> +<dd></dd> +<dt><p>FooEnumFullname.THREE :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumNoType.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumNoType.page new file mode 100644 index 00000000..2313192d --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumNoType.page @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<page id="Regress.FooEnumNoType" + type="topic" + style="enum" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooEnumNoType</title> + + + + + + + + +<dl> +<dt><p>FooEnumNoType.UN :</p></dt> +<dd></dd> +<dt><p>FooEnumNoType.DEUX :</p></dt> +<dd></dd> +<dt><p>FooEnumNoType.TROIS :</p></dt> +<dd></dd> +<dt><p>FooEnumNoType.NEUF :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumType.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumType.page new file mode 100644 index 00000000..37510f5c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumType.page @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<page id="Regress.FooEnumType" + type="topic" + style="enum" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooEnumType</title> + + + + + + + + +<dl> +<dt><p>FooEnumType.ALPHA :</p></dt> +<dd></dd> +<dt><p>FooEnumType.BETA :</p></dt> +<dd></dd> +<dt><p>FooEnumType.DELTA :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooError.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooError.page new file mode 100644 index 00000000..0877e7c8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooError.page @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<page id="Regress.FooError" + type="topic" + style="enum" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooError</title> + + + + + + + + +<dl> +<dt><p>FooError.GOOD :</p></dt> +<dd></dd> +<dt><p>FooError.BAD :</p></dt> +<dd></dd> +<dt><p>FooError.UGLY :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEvent.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEvent.page new file mode 100644 index 00000000..0b77bcbb --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEvent.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooEvent" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooEvent</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEventAny.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEventAny.page new file mode 100644 index 00000000..45cd3a13 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEventAny.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooEventAny" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooEventAny</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEventExpose.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEventExpose.page new file mode 100644 index 00000000..7e9ca7d4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEventExpose.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooEventExpose" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooEventExpose</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooFlagsNoType.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooFlagsNoType.page new file mode 100644 index 00000000..d4db757a --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooFlagsNoType.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooFlagsNoType" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooFlagsNoType</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooFlagsType.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooFlagsType.page new file mode 100644 index 00000000..e4f3edef --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooFlagsType.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooFlagsType" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooFlagsType</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooForeignStruct.copy.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooForeignStruct.copy.page new file mode 100644 index 00000000..9a3af8c0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooForeignStruct.copy.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.FooForeignStruct.copy" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooForeignStruct" group="method"/> + <api:function> + <api:returns> + <api:type>Regress.FooForeignStruct</api:type> + </api:returns> + <api:name>regress_foo_foreign_struct_copy</api:name> + </api:function> + + </info> + <title>FooForeignStruct.prototype.copy</title> + +<synopsis><code mime="text/x-gjs"> +function copy():Regress.FooForeignStruct { + // Gjs wrapper for regress_foo_foreign_struct_copy() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooForeignStruct.new.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooForeignStruct.new.page new file mode 100644 index 00000000..3f9478af --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooForeignStruct.new.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.FooForeignStruct.new" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooForeignStruct" group="constructor"/> + <api:function> + <api:returns> + <api:type>Regress.FooForeignStruct</api:type> + </api:returns> + <api:name>regress_foo_foreign_struct_new</api:name> + </api:function> + + </info> + <title>FooForeignStruct.new</title> + +<synopsis><code mime="text/x-gjs"> +function new():Regress.FooForeignStruct { + // Gjs wrapper for regress_foo_foreign_struct_new() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooForeignStruct.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooForeignStruct.page new file mode 100644 index 00000000..06c5793f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooForeignStruct.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooForeignStruct" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooForeignStruct</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooInterface-do_regress_foo.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooInterface-do_regress_foo.page new file mode 100644 index 00000000..0148788f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooInterface-do_regress_foo.page @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<page id="Regress.FooInterface-do_regress_foo" + type="topic" + style="vfunc" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooInterface::do_regress_foo</title> + +<synopsis><code mime="text/x-gjs"> +function vfunc_do_regress_foo(x:Number):void { +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooInterface.do_regress_foo.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooInterface.do_regress_foo.page new file mode 100644 index 00000000..96cbe499 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooInterface.do_regress_foo.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.FooInterface.do_regress_foo" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooInterface" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_interface_do_regress_foo</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>FooInterface.prototype.do_regress_foo</title> + +<synopsis><code mime="text/x-gjs"> +function do_regress_foo(x:Number):void { + // Gjs wrapper for regress_foo_interface_do_regress_foo() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooInterface.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooInterface.page new file mode 100644 index 00000000..a195bb89 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooInterface.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.FooInterface" + type="guide" + style="class" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooInterface</title> + + <synopsis><code> +from gi.repository import Regress + +foo_interface = Regress.FooInterface() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>Regress.FooInterface</code> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooInterface.static_method.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooInterface.static_method.page new file mode 100644 index 00000000..ff890981 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooInterface.static_method.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.FooInterface.static_method" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooInterface" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_interface_static_method</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>static_method</title> + +<synopsis><code mime="text/x-gjs"> +function static_method(x:Number):void { + // Gjs wrapper for regress_foo_interface_static_method() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject-hidden.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject-hidden.page new file mode 100644 index 00000000..b751ddb4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject-hidden.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject-hidden" + type="topic" + style="property" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooObject" group="property"/> + <title type="link" role="topic">hidden</title> + + </info> + <title>Regress.FooObject:hidden</title> + +<synopsis><code mime="text/x-python"> +"hidden" None : Read / Write / Construct Only +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject-read_fn.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject-read_fn.page new file mode 100644 index 00000000..9c7b8ee5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject-read_fn.page @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject-read_fn" + type="topic" + style="vfunc" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooObject::read_fn</title> + +<synopsis><code mime="text/x-gjs"> +function vfunc_read_fn(offset:Number, length:Number):void { +} +</code></synopsis> + + + <p>Read some stuff.</p> + + + + +<dl> +<dt><p>offset :</p></dt> +<dd><p>offset</p></dd> +<dt><p>length :</p></dt> +<dd><p>length</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject-signal.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject-signal.page new file mode 100644 index 00000000..96617abc --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject-signal.page @@ -0,0 +1,43 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject-signal" + type="topic" + style="signal" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooObject" group="signal"/> + <title type="link" role="topic">signal</title> + + </info> + <title>Regress.FooObject::signal</title> + +<synopsis><code mime="text/x-python"> +function callback(foo_object, object:GObject.Object, p0:gpointer, user_param1, ...):String; +</code></synopsis> + + + + + + + +<dl> +<dt><p>foo_object :</p></dt> +<dd><p>instance of Regress.FooObject that is emitting the signal</p></dd> +<dt><p>object :</p></dt> +<dd></dd> +<dt><p>p0 :</p></dt> +<dd></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +<dt><p>Returns :</p></dt> +<dd>gchar* </dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject-string.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject-string.page new file mode 100644 index 00000000..d86283d8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject-string.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject-string" + type="topic" + style="property" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooObject" group="property"/> + <title type="link" role="topic">string</title> + + </info> + <title>Regress.FooObject:string</title> + +<synopsis><code mime="text/x-python"> +"string" String : Read / Write / Construct +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject-virtual_method.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject-virtual_method.page new file mode 100644 index 00000000..0608ce16 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject-virtual_method.page @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject-virtual_method" + type="topic" + style="vfunc" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooObject::virtual_method</title> + +<synopsis><code mime="text/x-gjs"> +function vfunc_virtual_method(first_param:Number):Boolean { +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>first_param :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.a_global_method.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.a_global_method.page new file mode 100644 index 00000000..ddc25bcc --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.a_global_method.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.a_global_method" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooObject" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_object_a_global_method</api:name> + <api:arg> + <api:type>Utility.Object</api:type> + <api:name>obj</api:name> + </api:arg> + </api:function> + + </info> + <title>a_global_method</title> + +<synopsis><code mime="text/x-gjs"> +function a_global_method(obj:Utility.Object):void { + // Gjs wrapper for regress_foo_object_a_global_method() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.append_new_stack_layer.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.append_new_stack_layer.page new file mode 100644 index 00000000..6929812e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.append_new_stack_layer.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.append_new_stack_layer" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooObject" group="method"/> + <api:function> + <api:returns> + <api:type>Regress.FooOtherObject</api:type> + </api:returns> + <api:name>regress_foo_object_append_new_stack_layer</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>FooObject.prototype.append_new_stack_layer</title> + +<synopsis><code mime="text/x-gjs"> +function append_new_stack_layer(x:Number):Regress.FooOtherObject { + // Gjs wrapper for regress_foo_object_append_new_stack_layer() +} +</code></synopsis> + + + <p>This shouldn't be scanned as a constructor.</p> + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.dup_name.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.dup_name.page new file mode 100644 index 00000000..078402a5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.dup_name.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.dup_name" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooObject" group="method"/> + <api:function> + <api:returns> + <api:type>String</api:type> + </api:returns> + <api:name>regress_foo_object_dup_name</api:name> + </api:function> + + </info> + <title>FooObject.prototype.dup_name</title> + +<synopsis><code mime="text/x-gjs"> +function dup_name():String { + // Gjs wrapper for regress_foo_object_dup_name() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.external_type.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.external_type.page new file mode 100644 index 00000000..9b037def --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.external_type.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.external_type" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooObject" group="method"/> + <api:function> + <api:returns> + <api:type>Utility.Object</api:type> + </api:returns> + <api:name>regress_foo_object_external_type</api:name> + </api:function> + + </info> + <title>FooObject.prototype.external_type</title> + +<synopsis><code mime="text/x-gjs"> +function external_type():Utility.Object { + // Gjs wrapper for regress_foo_object_external_type() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p><code>null</code> always</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.get_default.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.get_default.page new file mode 100644 index 00000000..733048bf --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.get_default.page @@ -0,0 +1,41 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.get_default" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooObject" group="function"/> + <api:function> + <api:returns> + <api:type>Regress.FooSubobject</api:type> + </api:returns> + <api:name>regress_foo_object_get_default</api:name> + </api:function> + + </info> + <title>get_default</title> + +<synopsis><code mime="text/x-gjs"> +function get_default():Regress.FooSubobject { + // Gjs wrapper for regress_foo_object_get_default() +} +</code></synopsis> + + + <p>This function is intended to match clutter_stage_get_default which +uses a C sugar return type.</p> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>The global <link xref="Regress.FooSubobject"/></p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.get_name.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.get_name.page new file mode 100644 index 00000000..175cfd1b --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.get_name.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.get_name" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooObject" group="method"/> + <api:function> + <api:returns> + <api:type>String</api:type> + </api:returns> + <api:name>regress_foo_object_get_name</api:name> + </api:function> + + </info> + <title>FooObject.prototype.get_name</title> + +<synopsis><code mime="text/x-gjs"> +function get_name():String { + // Gjs wrapper for regress_foo_object_get_name() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.handle_glyph.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.handle_glyph.page new file mode 100644 index 00000000..ecc5f33c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.handle_glyph.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.handle_glyph" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_object_handle_glyph</api:name> + <api:arg> + <api:type>Utility.Glyph</api:type> + <api:name>glyph</api:name> + </api:arg> + </api:function> + + </info> + <title>FooObject.prototype.handle_glyph</title> + +<synopsis><code mime="text/x-gjs"> +function handle_glyph(glyph:Utility.Glyph):void { + // Gjs wrapper for regress_foo_object_handle_glyph() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>glyph :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.is_it_time_yet.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.is_it_time_yet.page new file mode 100644 index 00000000..cf8374c8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.is_it_time_yet.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.is_it_time_yet" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_object_is_it_time_yet</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>time</api:name> + </api:arg> + </api:function> + + </info> + <title>FooObject.prototype.is_it_time_yet</title> + +<synopsis><code mime="text/x-gjs"> +function is_it_time_yet(time:Number):void { + // Gjs wrapper for regress_foo_object_is_it_time_yet() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>time :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.new.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.new.page new file mode 100644 index 00000000..ed357619 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.new.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.new" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooObject" group="constructor"/> + <api:function> + <api:returns> + <api:type>Regress.FooObject</api:type> + </api:returns> + <api:name>regress_foo_object_new</api:name> + </api:function> + + </info> + <title>FooObject.new</title> + +<synopsis><code mime="text/x-gjs"> +function new():Regress.FooObject { + // Gjs wrapper for regress_foo_object_new() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.new_as_super.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.new_as_super.page new file mode 100644 index 00000000..295cb68b --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.new_as_super.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.new_as_super" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooObject" group="constructor"/> + <api:function> + <api:returns> + <api:type>GObject.Object</api:type> + </api:returns> + <api:name>regress_foo_object_new_as_super</api:name> + </api:function> + + </info> + <title>FooObject.new_as_super</title> + +<synopsis><code mime="text/x-gjs"> +function new_as_super():GObject.Object { + // Gjs wrapper for regress_foo_object_new_as_super() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.new_cookie.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.new_cookie.page new file mode 100644 index 00000000..71c12ff5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.new_cookie.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.new_cookie" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooObject" group="method"/> + <api:function> + <api:returns> + <api:type>Regress.FooObjectCookie</api:type> + </api:returns> + <api:name>regress_foo_object_new_cookie</api:name> + <api:arg> + <api:type>String</api:type> + <api:name>target</api:name> + </api:arg> + </api:function> + + </info> + <title>FooObject.prototype.new_cookie</title> + +<synopsis><code mime="text/x-gjs"> +function new_cookie(target:String):Regress.FooObjectCookie { + // Gjs wrapper for regress_foo_object_new_cookie() +} +</code></synopsis> + + + <p>Not sure why this test is here...</p> + + + + +<dl> +<dt><p>target :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.page new file mode 100644 index 00000000..6a0810ef --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.page @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject" + type="guide" + style="class" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooObject</title> + + <synopsis><code> +from gi.repository import Regress + +foo_object = Regress.FooObject(<link xref='Regress.FooObject-hidden'>hidden</link>=value, <link xref='Regress.FooObject-string'>string</link>=value) </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>GObject.Object</code> + <item> + <code>Regress.FooObject</code> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.read.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.read.page new file mode 100644 index 00000000..a348b662 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.read.page @@ -0,0 +1,50 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.read" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_object_read</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>offset</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>length</api:name> + </api:arg> + </api:function> + + </info> + <title>FooObject.prototype.read</title> + +<synopsis><code mime="text/x-gjs"> +function read(offset:Number, length:Number):void { + // Gjs wrapper for regress_foo_object_read() +} +</code></synopsis> + + + <p>Read some stuff.</p> + + + + +<dl> +<dt><p>offset :</p></dt> +<dd><p>offset</p></dd> +<dt><p>length :</p></dt> +<dd><p>length</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.skipped_method.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.skipped_method.page new file mode 100644 index 00000000..b60c677e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.skipped_method.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.skipped_method" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_object_skipped_method</api:name> + </api:function> + + </info> + <title>FooObject.prototype.skipped_method</title> + +<synopsis><code mime="text/x-gjs"> +function skipped_method():void { + // Gjs wrapper for regress_foo_object_skipped_method() +} +</code></synopsis> + + + <p>This is only useful from C.</p> + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.static_meth.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.static_meth.page new file mode 100644 index 00000000..b9c4f204 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.static_meth.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.static_meth" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooObject" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_foo_object_static_meth</api:name> + </api:function> + + </info> + <title>static_meth</title> + +<synopsis><code mime="text/x-gjs"> +function static_meth():Number { + // Gjs wrapper for regress_foo_object_static_meth() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.take_all.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.take_all.page new file mode 100644 index 00000000..35c2a7e4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.take_all.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.take_all" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_object_take_all</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>x</api:name> + </api:arg> + <api:varargs/> + </api:function> + + </info> + <title>FooObject.prototype.take_all</title> + +<synopsis><code mime="text/x-gjs"> +function take_all(x:Number, None:<varargs>):void { + // Gjs wrapper for regress_foo_object_take_all() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>None :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.various.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.various.page new file mode 100644 index 00000000..cbe37447 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.various.page @@ -0,0 +1,50 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.various" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_object_various</api:name> + <api:arg> + <api:type>gpointer</api:type> + <api:name>data</api:name> + </api:arg> + <api:arg> + <api:type>GType</api:type> + <api:name>some_type</api:name> + </api:arg> + </api:function> + + </info> + <title>FooObject.prototype.various</title> + +<synopsis><code mime="text/x-gjs"> +function various(data:gpointer, some_type:GType):void { + // Gjs wrapper for regress_foo_object_various() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>data :</p></dt> +<dd></dd> +<dt><p>some_type :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.virtual_method.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.virtual_method.page new file mode 100644 index 00000000..fede11b4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.virtual_method.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.virtual_method" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooObject" group="method"/> + <api:function> + <api:returns> + <api:type>Boolean</api:type> + </api:returns> + <api:name>regress_foo_object_virtual_method</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>first_param</api:name> + </api:arg> + </api:function> + + </info> + <title>FooObject.prototype.virtual_method</title> + +<synopsis><code mime="text/x-gjs"> +function virtual_method(first_param:Number):Boolean { + // Gjs wrapper for regress_foo_object_virtual_method() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>first_param :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObjectCookie.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObjectCookie.page new file mode 100644 index 00000000..4d9cabc6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObjectCookie.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooObjectCookie" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooObjectCookie</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooOtherObject.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooOtherObject.page new file mode 100644 index 00000000..56e0fcbe --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooOtherObject.page @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<page id="Regress.FooOtherObject" + type="guide" + style="class" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooOtherObject</title> + + <synopsis><code> +from gi.repository import Regress + +foo_other_object = Regress.FooOtherObject() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>GObject.Object</code> + <item> + <code>Regress.FooOtherObject</code> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooRectangle.add.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooRectangle.add.page new file mode 100644 index 00000000..1fcc81b6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooRectangle.add.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.FooRectangle.add" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooRectangle" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_rectangle_add</api:name> + <api:arg> + <api:type>Regress.FooRectangle</api:type> + <api:name>r2</api:name> + </api:arg> + </api:function> + + </info> + <title>FooRectangle.prototype.add</title> + +<synopsis><code mime="text/x-gjs"> +function add(r2:Regress.FooRectangle):void { + // Gjs wrapper for regress_foo_rectangle_add() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>r2 :</p></dt> +<dd><p>source rectangle</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooRectangle.new.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooRectangle.new.page new file mode 100644 index 00000000..80a242d1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooRectangle.new.page @@ -0,0 +1,65 @@ +<?xml version="1.0"?> +<page id="Regress.FooRectangle.new" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooRectangle" group="function"/> + <api:function> + <api:returns> + <api:type>Regress.FooRectangle</api:type> + </api:returns> + <api:name>regress_foo_rectangle_new</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>y</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>width</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>height</api:name> + </api:arg> + </api:function> + + </info> + <title>new</title> + +<synopsis><code mime="text/x-gjs"> +function new(x:Number, y:Number, width:Number, height:Number):Regress.FooRectangle { + // Gjs wrapper for regress_foo_rectangle_new() +} +</code></synopsis> + + + <p>This is a C convenience constructor; we have to (skip) +it because it's not a boxed type.</p> + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>y :</p></dt> +<dd></dd> +<dt><p>width :</p></dt> +<dd></dd> +<dt><p>height :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooRectangle.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooRectangle.page new file mode 100644 index 00000000..521a68bc --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooRectangle.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooRectangle" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooRectangle</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSkippable.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSkippable.page new file mode 100644 index 00000000..605ccf5b --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSkippable.page @@ -0,0 +1,32 @@ +<?xml version="1.0"?> +<page id="Regress.FooSkippable" + type="topic" + style="enum" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooSkippable</title> + + + + <p>Some type that is only interesting from C and should not be +exposed to language bindings.</p> + + + + +<dl> +<dt><p>FooSkippable.ONE :</p></dt> +<dd><p>a skippable enum value</p></dd> +<dt><p>FooSkippable.TWO :</p></dt> +<dd><p>another skippable enum value</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooStackLayer.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooStackLayer.page new file mode 100644 index 00000000..83ca6a12 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooStackLayer.page @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<page id="Regress.FooStackLayer" + type="topic" + style="enum" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooStackLayer</title> + + + + + + + + +<dl> +<dt><p>FooStackLayer.DESKTOP :</p></dt> +<dd></dd> +<dt><p>FooStackLayer.BOTTOM :</p></dt> +<dd></dd> +<dt><p>FooStackLayer.NORMAL :</p></dt> +<dd></dd> +<dt><p>FooStackLayer.TOP :</p></dt> +<dd></dd> +<dt><p>FooStackLayer.DOCK :</p></dt> +<dd></dd> +<dt><p>FooStackLayer.FULLSCREEN :</p></dt> +<dd></dd> +<dt><p>FooStackLayer.FOCUSED_WINDOW :</p></dt> +<dd></dd> +<dt><p>FooStackLayer.OVERRIDE_REDIRECT :</p></dt> +<dd></dd> +<dt><p>FooStackLayer.LAST :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooStruct.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooStruct.page new file mode 100644 index 00000000..4088a6c2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooStruct.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooStruct" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooStruct</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface-destroy-event.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface-destroy-event.page new file mode 100644 index 00000000..f73adeb5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface-destroy-event.page @@ -0,0 +1,37 @@ +<?xml version="1.0"?> +<page id="Regress.FooSubInterface-destroy-event" + type="topic" + style="signal" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooSubInterface" group="signal"/> + <title type="link" role="topic">destroy-event</title> + + </info> + <title>Regress.FooSubInterface::destroy-event</title> + +<synopsis><code mime="text/x-python"> +function callback(foo_sub_interface, user_param1, ...):void; +</code></synopsis> + + + + + + + +<dl> +<dt><p>foo_sub_interface :</p></dt> +<dd><p>instance of Regress.FooSubInterface that is emitting the signal</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface-destroy_event.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface-destroy_event.page new file mode 100644 index 00000000..caa25fe1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface-destroy_event.page @@ -0,0 +1,31 @@ +<?xml version="1.0"?> +<page id="Regress.FooSubInterface-destroy_event" + type="topic" + style="vfunc" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooSubInterface::destroy_event</title> + +<synopsis><code mime="text/x-gjs"> +function vfunc_destroy_event():void { +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface-do_bar.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface-do_bar.page new file mode 100644 index 00000000..f3dbed54 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface-do_bar.page @@ -0,0 +1,31 @@ +<?xml version="1.0"?> +<page id="Regress.FooSubInterface-do_bar" + type="topic" + style="vfunc" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooSubInterface::do_bar</title> + +<synopsis><code mime="text/x-gjs"> +function vfunc_do_bar():void { +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface-do_baz.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface-do_baz.page new file mode 100644 index 00000000..59e09b4a --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface-do_baz.page @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<page id="Regress.FooSubInterface-do_baz" + type="topic" + style="vfunc" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooSubInterface::do_baz</title> + +<synopsis><code mime="text/x-gjs"> +function vfunc_do_baz(callback:GObject.Callback):void { +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface.do_bar.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface.do_bar.page new file mode 100644 index 00000000..e31cf574 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface.do_bar.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.FooSubInterface.do_bar" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooSubInterface" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_sub_interface_do_bar</api:name> + </api:function> + + </info> + <title>FooSubInterface.prototype.do_bar</title> + +<synopsis><code mime="text/x-gjs"> +function do_bar():void { + // Gjs wrapper for regress_foo_sub_interface_do_bar() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface.do_baz.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface.do_baz.page new file mode 100644 index 00000000..e0751860 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface.do_baz.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.FooSubInterface.do_baz" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooSubInterface" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_sub_interface_do_baz</api:name> + <api:arg> + <api:type>GObject.Callback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>FooSubInterface.prototype.do_baz</title> + +<synopsis><code mime="text/x-gjs"> +function do_baz(callback:GObject.Callback):void { + // Gjs wrapper for regress_foo_sub_interface_do_baz() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface.page new file mode 100644 index 00000000..3b093726 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.FooSubInterface" + type="guide" + style="class" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooSubInterface</title> + + <synopsis><code> +from gi.repository import Regress + +foo_sub_interface = Regress.FooSubInterface() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>Regress.FooSubInterface</code> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubobject.new.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubobject.new.page new file mode 100644 index 00000000..a2a244f6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubobject.new.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.FooSubobject.new" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.FooSubobject" group="constructor"/> + <api:function> + <api:returns> + <api:type>Regress.FooSubobject</api:type> + </api:returns> + <api:name>regress_foo_subobject_new</api:name> + </api:function> + + </info> + <title>FooSubobject.new</title> + +<synopsis><code mime="text/x-gjs"> +function new():Regress.FooSubobject { + // Gjs wrapper for regress_foo_subobject_new() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubobject.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubobject.page new file mode 100644 index 00000000..f3a8b6d7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubobject.page @@ -0,0 +1,65 @@ +<?xml version="1.0"?> +<page id="Regress.FooSubobject" + type="guide" + style="class" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooSubobject</title> + + <synopsis><code> +from gi.repository import Regress + +foo_subobject = Regress.FooSubobject() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>GObject.Object</code> + <item> + <code>Regress.FooObject</code> + <item> + <code>Regress.FooSubobject</code> + </item> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooThingWithArray.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooThingWithArray.page new file mode 100644 index 00000000..7ae6ae56 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooThingWithArray.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooThingWithArray" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooThingWithArray</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooUnion.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooUnion.page new file mode 100644 index 00000000..06d2e800 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooUnion.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooUnion" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooUnion</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooUtilityStruct.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooUtilityStruct.page new file mode 100644 index 00000000..0471b871 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooUtilityStruct.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooUtilityStruct" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooUtilityStruct</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooVarargsCallback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooVarargsCallback.page new file mode 100644 index 00000000..d477638a --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooVarargsCallback.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooVarargsCallback" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooVarargsCallback</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooXEvent.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooXEvent.page new file mode 100644 index 00000000..18122490 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooXEvent.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooXEvent" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.FooXEvent</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.GUINT64_CONSTANT.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.GUINT64_CONSTANT.page new file mode 100644 index 00000000..9a0cd162 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.GUINT64_CONSTANT.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.GUINT64_CONSTANT" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.GUINT64_CONSTANT</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.GUINT64_CONSTANTA.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.GUINT64_CONSTANTA.page new file mode 100644 index 00000000..4faf765f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.GUINT64_CONSTANTA.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.GUINT64_CONSTANTA" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.GUINT64_CONSTANTA</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.G_GINT64_CONSTANT.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.G_GINT64_CONSTANT.page new file mode 100644 index 00000000..b4a66f69 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.G_GINT64_CONSTANT.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.G_GINT64_CONSTANT" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.G_GINT64_CONSTANT</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.INT_CONSTANT.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.INT_CONSTANT.page new file mode 100644 index 00000000..e4df9a1e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.INT_CONSTANT.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.INT_CONSTANT" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.INT_CONSTANT</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.IntSet.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.IntSet.page new file mode 100644 index 00000000..e285bc28 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.IntSet.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.IntSet" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.IntSet</title> + + + + <p>Compatibility typedef, like telepathy-glib's TpIntSet</p> + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.LONG_STRING_CONSTANT.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.LONG_STRING_CONSTANT.page new file mode 100644 index 00000000..3c0409a7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.LONG_STRING_CONSTANT.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.LONG_STRING_CONSTANT" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.LONG_STRING_CONSTANT</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.LikeGnomeKeyringPasswordSchema.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.LikeGnomeKeyringPasswordSchema.page new file mode 100644 index 00000000..05362e5c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.LikeGnomeKeyringPasswordSchema.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.LikeGnomeKeyringPasswordSchema" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.LikeGnomeKeyringPasswordSchema</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.MAXUINT64.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.MAXUINT64.page new file mode 100644 index 00000000..be1afd19 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.MAXUINT64.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.MAXUINT64" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.MAXUINT64</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.MININT64.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.MININT64.page new file mode 100644 index 00000000..35c3e584 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.MININT64.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.MININT64" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.MININT64</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.Mixed_Case_Constant.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.Mixed_Case_Constant.page new file mode 100644 index 00000000..5ea8d9b0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.Mixed_Case_Constant.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.Mixed_Case_Constant" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.Mixed_Case_Constant</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.NEGATIVE_INT_CONSTANT.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.NEGATIVE_INT_CONSTANT.page new file mode 100644 index 00000000..576c690f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.NEGATIVE_INT_CONSTANT.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.NEGATIVE_INT_CONSTANT" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.NEGATIVE_INT_CONSTANT</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.PtrArrayAlias.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.PtrArrayAlias.page new file mode 100644 index 00000000..9af00b51 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.PtrArrayAlias.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.PtrArrayAlias" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.PtrArrayAlias</title> + + + + <p>Typedef'd GPtrArray for some reason</p> + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.STRING_CONSTANT.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.STRING_CONSTANT.page new file mode 100644 index 00000000..945ba986 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.STRING_CONSTANT.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.STRING_CONSTANT" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.STRING_CONSTANT</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.SkippedStructure.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.SkippedStructure.page new file mode 100644 index 00000000..2e67ac03 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.SkippedStructure.page @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<page id="Regress.SkippedStructure" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.SkippedStructure</title> + + + + <p>This should be skipped, and moreover, all function which +use it should be.</p> + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestABCError.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestABCError.page new file mode 100644 index 00000000..fea8d58e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestABCError.page @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<page id="Regress.TestABCError" + type="topic" + style="enum" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestABCError</title> + + + + + + + + +<dl> +<dt><p>TestABCError.CODE1 :</p></dt> +<dd></dd> +<dt><p>TestABCError.CODE2 :</p></dt> +<dd></dd> +<dt><p>TestABCError.CODE3 :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.copy.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.copy.page new file mode 100644 index 00000000..59c0701f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.copy.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxed.copy" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestBoxed" group="method"/> + <api:function> + <api:returns> + <api:type>Regress.TestBoxed</api:type> + </api:returns> + <api:name>regress_test_boxed_copy</api:name> + </api:function> + + </info> + <title>TestBoxed.prototype.copy</title> + +<synopsis><code mime="text/x-gjs"> +function copy():Regress.TestBoxed { + // Gjs wrapper for regress_test_boxed_copy() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.equals.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.equals.page new file mode 100644 index 00000000..4a4f394e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.equals.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxed.equals" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestBoxed" group="method"/> + <api:function> + <api:returns> + <api:type>Boolean</api:type> + </api:returns> + <api:name>regress_test_boxed_equals</api:name> + <api:arg> + <api:type>Regress.TestBoxed</api:type> + <api:name>other</api:name> + </api:arg> + </api:function> + + </info> + <title>TestBoxed.prototype.equals</title> + +<synopsis><code mime="text/x-gjs"> +function equals(other:Regress.TestBoxed):Boolean { + // Gjs wrapper for regress_test_boxed_equals() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>other :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.new.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.new.page new file mode 100644 index 00000000..72921e74 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.new.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxed.new" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestBoxed" group="constructor"/> + <api:function> + <api:returns> + <api:type>Regress.TestBoxed</api:type> + </api:returns> + <api:name>regress_test_boxed_new</api:name> + </api:function> + + </info> + <title>TestBoxed.new</title> + +<synopsis><code mime="text/x-gjs"> +function new():Regress.TestBoxed { + // Gjs wrapper for regress_test_boxed_new() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.new_alternative_constructor1.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.new_alternative_constructor1.page new file mode 100644 index 00000000..72c866f3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.new_alternative_constructor1.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxed.new_alternative_constructor1" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestBoxed" group="constructor"/> + <api:function> + <api:returns> + <api:type>Regress.TestBoxed</api:type> + </api:returns> + <api:name>regress_test_boxed_new_alternative_constructor1</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>i</api:name> + </api:arg> + </api:function> + + </info> + <title>TestBoxed.new_alternative_constructor1</title> + +<synopsis><code mime="text/x-gjs"> +function new_alternative_constructor1(i:Number):Regress.TestBoxed { + // Gjs wrapper for regress_test_boxed_new_alternative_constructor1() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>i :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.new_alternative_constructor2.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.new_alternative_constructor2.page new file mode 100644 index 00000000..e8e3cf91 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.new_alternative_constructor2.page @@ -0,0 +1,52 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxed.new_alternative_constructor2" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestBoxed" group="constructor"/> + <api:function> + <api:returns> + <api:type>Regress.TestBoxed</api:type> + </api:returns> + <api:name>regress_test_boxed_new_alternative_constructor2</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>i</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>j</api:name> + </api:arg> + </api:function> + + </info> + <title>TestBoxed.new_alternative_constructor2</title> + +<synopsis><code mime="text/x-gjs"> +function new_alternative_constructor2(i:Number, j:Number):Regress.TestBoxed { + // Gjs wrapper for regress_test_boxed_new_alternative_constructor2() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>i :</p></dt> +<dd></dd> +<dt><p>j :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.new_alternative_constructor3.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.new_alternative_constructor3.page new file mode 100644 index 00000000..1f516125 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.new_alternative_constructor3.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxed.new_alternative_constructor3" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestBoxed" group="constructor"/> + <api:function> + <api:returns> + <api:type>Regress.TestBoxed</api:type> + </api:returns> + <api:name>regress_test_boxed_new_alternative_constructor3</api:name> + <api:arg> + <api:type>String</api:type> + <api:name>s</api:name> + </api:arg> + </api:function> + + </info> + <title>TestBoxed.new_alternative_constructor3</title> + +<synopsis><code mime="text/x-gjs"> +function new_alternative_constructor3(s:String):Regress.TestBoxed { + // Gjs wrapper for regress_test_boxed_new_alternative_constructor3() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>s :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.page new file mode 100644 index 00000000..c6792c50 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxed" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestBoxed</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedB.copy.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedB.copy.page new file mode 100644 index 00000000..6fb2b3b0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedB.copy.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxedB.copy" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestBoxedB" group="method"/> + <api:function> + <api:returns> + <api:type>Regress.TestBoxedB</api:type> + </api:returns> + <api:name>regress_test_boxed_b_copy</api:name> + </api:function> + + </info> + <title>TestBoxedB.prototype.copy</title> + +<synopsis><code mime="text/x-gjs"> +function copy():Regress.TestBoxedB { + // Gjs wrapper for regress_test_boxed_b_copy() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedB.new.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedB.new.page new file mode 100644 index 00000000..dcf0105f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedB.new.page @@ -0,0 +1,52 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxedB.new" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestBoxedB" group="constructor"/> + <api:function> + <api:returns> + <api:type>Regress.TestBoxedB</api:type> + </api:returns> + <api:name>regress_test_boxed_b_new</api:name> + <api:arg> + <api:type>gint8</api:type> + <api:name>some_int8</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>some_long</api:name> + </api:arg> + </api:function> + + </info> + <title>TestBoxedB.new</title> + +<synopsis><code mime="text/x-gjs"> +function new(some_int8:gint8, some_long:Number):Regress.TestBoxedB { + // Gjs wrapper for regress_test_boxed_b_new() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>some_int8 :</p></dt> +<dd></dd> +<dt><p>some_long :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedB.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedB.page new file mode 100644 index 00000000..46cf7c15 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedB.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxedB" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestBoxedB</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedC.new.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedC.new.page new file mode 100644 index 00000000..2475baed --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedC.new.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxedC.new" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestBoxedC" group="constructor"/> + <api:function> + <api:returns> + <api:type>Regress.TestBoxedC</api:type> + </api:returns> + <api:name>regress_test_boxed_c_new</api:name> + </api:function> + + </info> + <title>TestBoxedC.new</title> + +<synopsis><code mime="text/x-gjs"> +function new():Regress.TestBoxedC { + // Gjs wrapper for regress_test_boxed_c_new() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedC.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedC.page new file mode 100644 index 00000000..88dd1a4c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedC.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxedC" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestBoxedC</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.copy.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.copy.page new file mode 100644 index 00000000..9b9e0cac --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.copy.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxedD.copy" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestBoxedD" group="method"/> + <api:function> + <api:returns> + <api:type>Regress.TestBoxedD</api:type> + </api:returns> + <api:name>regress_test_boxed_d_copy</api:name> + </api:function> + + </info> + <title>TestBoxedD.prototype.copy</title> + +<synopsis><code mime="text/x-gjs"> +function copy():Regress.TestBoxedD { + // Gjs wrapper for regress_test_boxed_d_copy() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.free.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.free.page new file mode 100644 index 00000000..1b96fd20 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.free.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxedD.free" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestBoxedD" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_boxed_d_free</api:name> + </api:function> + + </info> + <title>TestBoxedD.prototype.free</title> + +<synopsis><code mime="text/x-gjs"> +function free():void { + // Gjs wrapper for regress_test_boxed_d_free() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.get_magic.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.get_magic.page new file mode 100644 index 00000000..8b7bf9a5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.get_magic.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxedD.get_magic" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestBoxedD" group="method"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_boxed_d_get_magic</api:name> + </api:function> + + </info> + <title>TestBoxedD.prototype.get_magic</title> + +<synopsis><code mime="text/x-gjs"> +function get_magic():Number { + // Gjs wrapper for regress_test_boxed_d_get_magic() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.new.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.new.page new file mode 100644 index 00000000..0568050d --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.new.page @@ -0,0 +1,52 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxedD.new" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestBoxedD" group="constructor"/> + <api:function> + <api:returns> + <api:type>Regress.TestBoxedD</api:type> + </api:returns> + <api:name>regress_test_boxed_d_new</api:name> + <api:arg> + <api:type>String</api:type> + <api:name>a_string</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>a_int</api:name> + </api:arg> + </api:function> + + </info> + <title>TestBoxedD.new</title> + +<synopsis><code mime="text/x-gjs"> +function new(a_string:String, a_int:Number):Regress.TestBoxedD { + // Gjs wrapper for regress_test_boxed_d_new() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>a_string :</p></dt> +<dd></dd> +<dt><p>a_int :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.page new file mode 100644 index 00000000..17b3c79b --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxedD" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestBoxedD</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallback.page new file mode 100644 index 00000000..9a219e9e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallback.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestCallback" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestCallback</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackArray.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackArray.page new file mode 100644 index 00000000..7ceb2e07 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackArray.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestCallbackArray" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestCallbackArray</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackFull.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackFull.page new file mode 100644 index 00000000..3de1fbe8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackFull.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestCallbackFull" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestCallbackFull</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackGError.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackGError.page new file mode 100644 index 00000000..1f6f2bdb --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackGError.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestCallbackGError" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestCallbackGError</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackHashtable.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackHashtable.page new file mode 100644 index 00000000..906947c1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackHashtable.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestCallbackHashtable" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestCallbackHashtable</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackOwnedGError.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackOwnedGError.page new file mode 100644 index 00000000..e7397a1b --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackOwnedGError.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestCallbackOwnedGError" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestCallbackOwnedGError</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackUserData.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackUserData.page new file mode 100644 index 00000000..f3047cfd --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackUserData.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestCallbackUserData" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestCallbackUserData</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestDEFError.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestDEFError.page new file mode 100644 index 00000000..b6f0eb88 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestDEFError.page @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<page id="Regress.TestDEFError" + type="topic" + style="enum" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestDEFError</title> + + + + + + + + +<dl> +<dt><p>TestDEFError.CODE0 :</p></dt> +<dd></dd> +<dt><p>TestDEFError.CODE1 :</p></dt> +<dd></dd> +<dt><p>TestDEFError.CODE2 :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnum.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnum.page new file mode 100644 index 00000000..3de1bbf6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnum.page @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<page id="Regress.TestEnum" + type="topic" + style="enum" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestEnum</title> + + + + <p>By purpose, not all members have documentation</p> + + + + +<dl> +<dt><p>TestEnum.VALUE1 :</p></dt> +<dd><p>value 1</p></dd> +<dt><p>TestEnum.VALUE2 :</p></dt> +<dd><p>value 2</p></dd> +<dt><p>TestEnum.VALUE3 :</p></dt> +<dd></dd> +<dt><p>TestEnum.VALUE4 :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnumNoGEnum.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnumNoGEnum.page new file mode 100644 index 00000000..625c8703 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnumNoGEnum.page @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<page id="Regress.TestEnumNoGEnum" + type="topic" + style="enum" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestEnumNoGEnum</title> + + + + + + + + +<dl> +<dt><p>TestEnumNoGEnum.EVALUE1 :</p></dt> +<dd></dd> +<dt><p>TestEnumNoGEnum.EVALUE2 :</p></dt> +<dd></dd> +<dt><p>TestEnumNoGEnum.EVALUE3 :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnumUnsigned.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnumUnsigned.page new file mode 100644 index 00000000..3069d8e3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnumUnsigned.page @@ -0,0 +1,31 @@ +<?xml version="1.0"?> +<page id="Regress.TestEnumUnsigned" + type="topic" + style="enum" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestEnumUnsigned</title> + + + + + + + + +<dl> +<dt><p>TestEnumUnsigned.VALUE1 :</p></dt> +<dd></dd> +<dt><p>TestEnumUnsigned.VALUE2 :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestError.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestError.page new file mode 100644 index 00000000..57a21163 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestError.page @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<page id="Regress.TestError" + type="topic" + style="enum" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestError</title> + + + + + + + + +<dl> +<dt><p>TestError.CODE1 :</p></dt> +<dd></dd> +<dt><p>TestError.CODE2 :</p></dt> +<dd></dd> +<dt><p>TestError.CODE3 :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFlags.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFlags.page new file mode 100644 index 00000000..d5451972 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFlags.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestFlags" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestFlags</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFloating.new.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFloating.new.page new file mode 100644 index 00000000..889f5d1f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFloating.new.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestFloating.new" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestFloating" group="constructor"/> + <api:function> + <api:returns> + <api:type>Regress.TestFloating</api:type> + </api:returns> + <api:name>regress_test_floating_new</api:name> + </api:function> + + </info> + <title>TestFloating.new</title> + +<synopsis><code mime="text/x-gjs"> +function new():Regress.TestFloating { + // Gjs wrapper for regress_test_floating_new() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>A new floating <link xref="Regress.TestFloating"/></p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFloating.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFloating.page new file mode 100644 index 00000000..4f1c3233 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFloating.page @@ -0,0 +1,65 @@ +<?xml version="1.0"?> +<page id="Regress.TestFloating" + type="guide" + style="class" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestFloating</title> + + <synopsis><code> +from gi.repository import Regress + +test_floating = Regress.TestFloating() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>GObject.Object</code> + <item> + <code>GObject.InitiallyUnowned</code> + <item> + <code>Regress.TestFloating</code> + </item> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.page new file mode 100644 index 00000000..ee5ea928 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.TestFundamentalObject" + type="guide" + style="class" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestFundamentalObject</title> + + <synopsis><code> +from gi.repository import Regress + +test_fundamental_object = Regress.TestFundamentalObject() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>Regress.TestFundamentalObject</code> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.ref.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.ref.page new file mode 100644 index 00000000..c2c23f29 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.ref.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestFundamentalObject.ref" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestFundamentalObject" group="method"/> + <api:function> + <api:returns> + <api:type>Regress.TestFundamentalObject</api:type> + </api:returns> + <api:name>regress_test_fundamental_object_ref</api:name> + </api:function> + + </info> + <title>TestFundamentalObject.prototype.ref</title> + +<synopsis><code mime="text/x-gjs"> +function ref():Regress.TestFundamentalObject { + // Gjs wrapper for regress_test_fundamental_object_ref() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>A new <link xref="Regress.TestFundamentalObject"/></p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.unref.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.unref.page new file mode 100644 index 00000000..efeb0c3b --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.unref.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.TestFundamentalObject.unref" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestFundamentalObject" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_fundamental_object_unref</api:name> + </api:function> + + </info> + <title>TestFundamentalObject.prototype.unref</title> + +<synopsis><code mime="text/x-gjs"> +function unref():void { + // Gjs wrapper for regress_test_fundamental_object_unref() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObjectCopyFunction.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObjectCopyFunction.page new file mode 100644 index 00000000..dfd65cef --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObjectCopyFunction.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestFundamentalObjectCopyFunction" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestFundamentalObjectCopyFunction</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObjectFinalizeFunction.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObjectFinalizeFunction.page new file mode 100644 index 00000000..2b9d965c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObjectFinalizeFunction.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestFundamentalObjectFinalizeFunction" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestFundamentalObjectFinalizeFunction</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalSubObject.new.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalSubObject.new.page new file mode 100644 index 00000000..d9b958aa --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalSubObject.new.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.TestFundamentalSubObject.new" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestFundamentalSubObject" group="constructor"/> + <api:function> + <api:returns> + <api:type>Regress.TestFundamentalSubObject</api:type> + </api:returns> + <api:name>regress_test_fundamental_sub_object_new</api:name> + <api:arg> + <api:type>String</api:type> + <api:name>data</api:name> + </api:arg> + </api:function> + + </info> + <title>TestFundamentalSubObject.new</title> + +<synopsis><code mime="text/x-gjs"> +function new(data:String):Regress.TestFundamentalSubObject { + // Gjs wrapper for regress_test_fundamental_sub_object_new() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>data :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalSubObject.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalSubObject.page new file mode 100644 index 00000000..1418f6f7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalSubObject.page @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<page id="Regress.TestFundamentalSubObject" + type="guide" + style="class" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestFundamentalSubObject</title> + + <synopsis><code> +from gi.repository import Regress + +test_fundamental_sub_object = Regress.TestFundamentalSubObject() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>Regress.TestFundamentalObject</code> + <item> + <code>Regress.TestFundamentalSubObject</code> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritDrawable.do_foo.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritDrawable.do_foo.page new file mode 100644 index 00000000..11c87305 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritDrawable.do_foo.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.TestInheritDrawable.do_foo" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestInheritDrawable" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_inherit_drawable_do_foo</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>TestInheritDrawable.prototype.do_foo</title> + +<synopsis><code mime="text/x-gjs"> +function do_foo(x:Number):void { + // Gjs wrapper for regress_test_inherit_drawable_do_foo() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritDrawable.do_foo_maybe_throw.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritDrawable.do_foo_maybe_throw.page new file mode 100644 index 00000000..05917260 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritDrawable.do_foo_maybe_throw.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.TestInheritDrawable.do_foo_maybe_throw" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestInheritDrawable" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_inherit_drawable_do_foo_maybe_throw</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>TestInheritDrawable.prototype.do_foo_maybe_throw</title> + +<synopsis><code mime="text/x-gjs"> +function do_foo_maybe_throw(x:Number):void { + // Gjs wrapper for regress_test_inherit_drawable_do_foo_maybe_throw() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritDrawable.get_origin.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritDrawable.get_origin.page new file mode 100644 index 00000000..0c87efc9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritDrawable.get_origin.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.TestInheritDrawable.get_origin" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestInheritDrawable" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_inherit_drawable_get_origin</api:name> + </api:function> + + </info> + <title>TestInheritDrawable.prototype.get_origin</title> + +<synopsis><code mime="text/x-gjs"> +function get_origin():void { + // Gjs wrapper for regress_test_inherit_drawable_get_origin() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritDrawable.get_size.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritDrawable.get_size.page new file mode 100644 index 00000000..0fb936cc --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritDrawable.get_size.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.TestInheritDrawable.get_size" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestInheritDrawable" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_inherit_drawable_get_size</api:name> + </api:function> + + </info> + <title>TestInheritDrawable.prototype.get_size</title> + +<synopsis><code mime="text/x-gjs"> +function get_size():void { + // Gjs wrapper for regress_test_inherit_drawable_get_size() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritDrawable.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritDrawable.page new file mode 100644 index 00000000..e5622894 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritDrawable.page @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<page id="Regress.TestInheritDrawable" + type="guide" + style="class" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestInheritDrawable</title> + + <synopsis><code> +from gi.repository import Regress + +test_inherit_drawable = Regress.TestInheritDrawable() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>GObject.Object</code> + <item> + <code>Regress.TestInheritDrawable</code> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritPixmapObjectClass.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritPixmapObjectClass.page new file mode 100644 index 00000000..deaeea50 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritPixmapObjectClass.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestInheritPixmapObjectClass" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestInheritPixmapObjectClass</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInterface.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInterface.page new file mode 100644 index 00000000..09c9898a --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInterface.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.TestInterface" + type="guide" + style="class" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestInterface</title> + + <synopsis><code> +from gi.repository import Regress + +test_interface = Regress.TestInterface() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>Regress.TestInterface</code> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-all.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-all.page new file mode 100644 index 00000000..32565ee3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-all.page @@ -0,0 +1,37 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-all" + type="topic" + style="signal" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="signal"/> + <title type="link" role="topic">all</title> + + </info> + <title>Regress.TestObj::all</title> + +<synopsis><code mime="text/x-python"> +function callback(test_obj, user_param1, ...):void; +</code></synopsis> + + + + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-allow_none_vfunc.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-allow_none_vfunc.page new file mode 100644 index 00000000..f16bc29d --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-allow_none_vfunc.page @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-allow_none_vfunc" + type="topic" + style="vfunc" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestObj::allow_none_vfunc</title> + +<synopsis><code mime="text/x-gjs"> +function vfunc_allow_none_vfunc(two:Regress.TestObj):void { +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>two :</p></dt> +<dd><p>Another object</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-bare.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-bare.page new file mode 100644 index 00000000..97c7ee68 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-bare.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-bare" + type="topic" + style="property" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="property"/> + <title type="link" role="topic">bare</title> + + </info> + <title>Regress.TestObj:bare</title> + +<synopsis><code mime="text/x-python"> +"bare" GObject.Object : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-boxed.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-boxed.page new file mode 100644 index 00000000..e8706270 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-boxed.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-boxed" + type="topic" + style="property" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="property"/> + <title type="link" role="topic">boxed</title> + + </info> + <title>Regress.TestObj:boxed</title> + +<synopsis><code mime="text/x-python"> +"boxed" Regress.TestBoxed : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-cleanup.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-cleanup.page new file mode 100644 index 00000000..b9938f6a --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-cleanup.page @@ -0,0 +1,37 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-cleanup" + type="topic" + style="signal" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="signal"/> + <title type="link" role="topic">cleanup</title> + + </info> + <title>Regress.TestObj::cleanup</title> + +<synopsis><code mime="text/x-python"> +function callback(test_obj, user_param1, ...):void; +</code></synopsis> + + + + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-double.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-double.page new file mode 100644 index 00000000..df735051 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-double.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-double" + type="topic" + style="property" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="property"/> + <title type="link" role="topic">double</title> + + </info> + <title>Regress.TestObj:double</title> + +<synopsis><code mime="text/x-python"> +"double" Number : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-first.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-first.page new file mode 100644 index 00000000..ff33157e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-first.page @@ -0,0 +1,37 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-first" + type="topic" + style="signal" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="signal"/> + <title type="link" role="topic">first</title> + + </info> + <title>Regress.TestObj::first</title> + +<synopsis><code mime="text/x-python"> +function callback(test_obj, user_param1, ...):void; +</code></synopsis> + + + + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-float.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-float.page new file mode 100644 index 00000000..ea02ac24 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-float.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-float" + type="topic" + style="property" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="property"/> + <title type="link" role="topic">float</title> + + </info> + <title>Regress.TestObj:float</title> + +<synopsis><code mime="text/x-python"> +"float" Number : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-gtype.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-gtype.page new file mode 100644 index 00000000..b477bed4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-gtype.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-gtype" + type="topic" + style="property" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="property"/> + <title type="link" role="topic">gtype</title> + + </info> + <title>Regress.TestObj:gtype</title> + +<synopsis><code mime="text/x-python"> +"gtype" GType : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-hash-table-old.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-hash-table-old.page new file mode 100644 index 00000000..ca81a39a --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-hash-table-old.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-hash-table-old" + type="topic" + style="property" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="property"/> + <title type="link" role="topic">hash-table-old</title> + + </info> + <title>Regress.TestObj:hash-table-old</title> + +<synopsis><code mime="text/x-python"> +"hash-table-old" {String: gint8} : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-hash-table.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-hash-table.page new file mode 100644 index 00000000..abd64ea0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-hash-table.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-hash-table" + type="topic" + style="property" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="property"/> + <title type="link" role="topic">hash-table</title> + + </info> + <title>Regress.TestObj:hash-table</title> + +<synopsis><code mime="text/x-python"> +"hash-table" {String: gint8} : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-int.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-int.page new file mode 100644 index 00000000..88652345 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-int.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-int" + type="topic" + style="property" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="property"/> + <title type="link" role="topic">int</title> + + </info> + <title>Regress.TestObj:int</title> + +<synopsis><code mime="text/x-python"> +"int" Number : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-list-old.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-list-old.page new file mode 100644 index 00000000..fe821889 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-list-old.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-list-old" + type="topic" + style="property" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="property"/> + <title type="link" role="topic">list-old</title> + + </info> + <title>Regress.TestObj:list-old</title> + +<synopsis><code mime="text/x-python"> +"list-old" <list> : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-list.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-list.page new file mode 100644 index 00000000..30d452db --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-list.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-list" + type="topic" + style="property" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="property"/> + <title type="link" role="topic">list</title> + + </info> + <title>Regress.TestObj:list</title> + +<synopsis><code mime="text/x-python"> +"list" <list> : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-matrix.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-matrix.page new file mode 100644 index 00000000..4133baa8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-matrix.page @@ -0,0 +1,37 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-matrix" + type="topic" + style="vfunc" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestObj::matrix</title> + +<synopsis><code mime="text/x-gjs"> +function vfunc_matrix(somestr:String):Number { +} +</code></synopsis> + + + <p>This method is virtual. Notably its name differs from the virtual +slot name, which makes it useful for testing bindings handle this +case.</p> + + + + +<dl> +<dt><p>somestr :</p></dt> +<dd><p>Meaningless string</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-array-prop.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-array-prop.page new file mode 100644 index 00000000..d966ae2c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-array-prop.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-sig-with-array-prop" + type="topic" + style="signal" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="signal"/> + <title type="link" role="topic">sig-with-array-prop</title> + + </info> + <title>Regress.TestObj::sig-with-array-prop</title> + +<synopsis><code mime="text/x-python"> +function callback(test_obj, arr:[Number], user_param1, ...):void; +</code></synopsis> + + + <p>This test signal is like TelepathyGlib's + TpChannel:: group-members-changed-detailed:</p> + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>arr :</p></dt> +<dd><p>numbers</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-foreign-struct.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-foreign-struct.page new file mode 100644 index 00000000..8ffd0af2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-foreign-struct.page @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-sig-with-foreign-struct" + type="topic" + style="signal" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="signal"/> + <title type="link" role="topic">sig-with-foreign-struct</title> + + </info> + <title>Regress.TestObj::sig-with-foreign-struct</title> + +<synopsis><code mime="text/x-python"> +function callback(test_obj, cr:cairo.Context, user_param1, ...):void; +</code></synopsis> + + + + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>cr :</p></dt> +<dd><p>A cairo context.</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-hash-prop.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-hash-prop.page new file mode 100644 index 00000000..154181c4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-hash-prop.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-sig-with-hash-prop" + type="topic" + style="signal" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="signal"/> + <title type="link" role="topic">sig-with-hash-prop</title> + + </info> + <title>Regress.TestObj::sig-with-hash-prop</title> + +<synopsis><code mime="text/x-python"> +function callback(test_obj, hash:{String: GObject.Value}, user_param1, ...):void; +</code></synopsis> + + + <p>This test signal is like TelepathyGlib's + TpAccount::status-changed</p> + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>hash :</p></dt> +<dd></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-int64-prop.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-int64-prop.page new file mode 100644 index 00000000..beebb08a --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-int64-prop.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-sig-with-int64-prop" + type="topic" + style="signal" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="signal"/> + <title type="link" role="topic">sig-with-int64-prop</title> + + </info> + <title>Regress.TestObj::sig-with-int64-prop</title> + +<synopsis><code mime="text/x-python"> +function callback(test_obj, i:Number, user_param1, ...):Number; +</code></synopsis> + + + <p>You can use this with regress_test_obj_emit_sig_with_int64, or raise from +the introspection client langage.</p> + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>i :</p></dt> +<dd><p>an integer</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +<dt><p>Returns :</p></dt> +<dd>gint64 </dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-intarray-ret.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-intarray-ret.page new file mode 100644 index 00000000..cad30933 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-intarray-ret.page @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-sig-with-intarray-ret" + type="topic" + style="signal" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="signal"/> + <title type="link" role="topic">sig-with-intarray-ret</title> + + </info> + <title>Regress.TestObj::sig-with-intarray-ret</title> + +<synopsis><code mime="text/x-python"> +function callback(test_obj, i:Number, user_param1, ...):[Number]; +</code></synopsis> + + + + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>i :</p></dt> +<dd><p>an integer</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-obj.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-obj.page new file mode 100644 index 00000000..c56e7933 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-obj.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-sig-with-obj" + type="topic" + style="signal" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="signal"/> + <title type="link" role="topic">sig-with-obj</title> + + </info> + <title>Regress.TestObj::sig-with-obj</title> + +<synopsis><code mime="text/x-python"> +function callback(test_obj, obj:GObject.Object, user_param1, ...):void; +</code></synopsis> + + + <p>Test transfer none GObject as a param (tests refcounting). +Use with regress_test_obj_emit_sig_with_obj</p> + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>obj :</p></dt> +<dd><p>A newly created RegressTestObj</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-strv.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-strv.page new file mode 100644 index 00000000..9f4461dd --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-strv.page @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-sig-with-strv" + type="topic" + style="signal" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="signal"/> + <title type="link" role="topic">sig-with-strv</title> + + </info> + <title>Regress.TestObj::sig-with-strv</title> + +<synopsis><code mime="text/x-python"> +function callback(test_obj, strs:[String], user_param1, ...):void; +</code></synopsis> + + + <p>Test GStrv as a param.</p> + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>strs :</p></dt> +<dd><p>strings</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-uint64-prop.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-uint64-prop.page new file mode 100644 index 00000000..870aefa5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-uint64-prop.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-sig-with-uint64-prop" + type="topic" + style="signal" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="signal"/> + <title type="link" role="topic">sig-with-uint64-prop</title> + + </info> + <title>Regress.TestObj::sig-with-uint64-prop</title> + +<synopsis><code mime="text/x-python"> +function callback(test_obj, i:Number, user_param1, ...):Number; +</code></synopsis> + + + <p>You can use this with regress_test_obj_emit_sig_with_uint64, or raise from +the introspection client langage.</p> + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>i :</p></dt> +<dd><p>an integer</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +<dt><p>Returns :</p></dt> +<dd>guint64 </dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-string.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-string.page new file mode 100644 index 00000000..13f2b4b1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-string.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-string" + type="topic" + style="property" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="property"/> + <title type="link" role="topic">string</title> + + </info> + <title>Regress.TestObj:string</title> + +<synopsis><code mime="text/x-python"> +"string" String : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-test-with-static-scope-arg.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-test-with-static-scope-arg.page new file mode 100644 index 00000000..ee0ed943 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-test-with-static-scope-arg.page @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-test-with-static-scope-arg" + type="topic" + style="signal" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="signal"/> + <title type="link" role="topic">test-with-static-scope-arg</title> + + </info> + <title>Regress.TestObj::test-with-static-scope-arg</title> + +<synopsis><code mime="text/x-python"> +function callback(test_obj, object:Regress.TestSimpleBoxedA, user_param1, ...):void; +</code></synopsis> + + + + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>object :</p></dt> +<dd></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-test.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-test.page new file mode 100644 index 00000000..6180999b --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-test.page @@ -0,0 +1,37 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-test" + type="topic" + style="signal" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="signal"/> + <title type="link" role="topic">test</title> + + </info> + <title>Regress.TestObj::test</title> + +<synopsis><code mime="text/x-python"> +function callback(test_obj, user_param1, ...):void; +</code></synopsis> + + + + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.constructor.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.constructor.page new file mode 100644 index 00000000..b22362d6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.constructor.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.constructor" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="constructor"/> + <api:function> + <api:returns> + <api:type>Regress.TestObj</api:type> + </api:returns> + <api:name>regress_constructor</api:name> + </api:function> + + </info> + <title>TestObj.constructor</title> + +<synopsis><code mime="text/x-gjs"> +function constructor():Regress.TestObj { + // Gjs wrapper for regress_constructor() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.do_matrix.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.do_matrix.page new file mode 100644 index 00000000..1d35e44b --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.do_matrix.page @@ -0,0 +1,48 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.do_matrix" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="method"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_obj_do_matrix</api:name> + <api:arg> + <api:type>String</api:type> + <api:name>somestr</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.prototype.do_matrix</title> + +<synopsis><code mime="text/x-gjs"> +function do_matrix(somestr:String):Number { + // Gjs wrapper for regress_test_obj_do_matrix() +} +</code></synopsis> + + + <p>This method is virtual. Notably its name differs from the virtual +slot name, which makes it useful for testing bindings handle this +case.</p> + + + + +<dl> +<dt><p>somestr :</p></dt> +<dd><p>Meaningless string</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.emit_sig_with_foreign_struct.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.emit_sig_with_foreign_struct.page new file mode 100644 index 00000000..da6e8b22 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.emit_sig_with_foreign_struct.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.emit_sig_with_foreign_struct" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_obj_emit_sig_with_foreign_struct</api:name> + </api:function> + + </info> + <title>TestObj.prototype.emit_sig_with_foreign_struct</title> + +<synopsis><code mime="text/x-gjs"> +function emit_sig_with_foreign_struct():void { + // Gjs wrapper for regress_test_obj_emit_sig_with_foreign_struct() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.emit_sig_with_int64.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.emit_sig_with_int64.page new file mode 100644 index 00000000..4f54523f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.emit_sig_with_int64.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.emit_sig_with_int64" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_obj_emit_sig_with_int64</api:name> + </api:function> + + </info> + <title>TestObj.prototype.emit_sig_with_int64</title> + +<synopsis><code mime="text/x-gjs"> +function emit_sig_with_int64():void { + // Gjs wrapper for regress_test_obj_emit_sig_with_int64() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.emit_sig_with_obj.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.emit_sig_with_obj.page new file mode 100644 index 00000000..1bdcd9c3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.emit_sig_with_obj.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.emit_sig_with_obj" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_obj_emit_sig_with_obj</api:name> + </api:function> + + </info> + <title>TestObj.prototype.emit_sig_with_obj</title> + +<synopsis><code mime="text/x-gjs"> +function emit_sig_with_obj():void { + // Gjs wrapper for regress_test_obj_emit_sig_with_obj() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.emit_sig_with_uint64.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.emit_sig_with_uint64.page new file mode 100644 index 00000000..06b4bf52 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.emit_sig_with_uint64.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.emit_sig_with_uint64" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_obj_emit_sig_with_uint64</api:name> + </api:function> + + </info> + <title>TestObj.prototype.emit_sig_with_uint64</title> + +<synopsis><code mime="text/x-gjs"> +function emit_sig_with_uint64():void { + // Gjs wrapper for regress_test_obj_emit_sig_with_uint64() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.forced_method.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.forced_method.page new file mode 100644 index 00000000..abb6c63c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.forced_method.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.forced_method" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_forced_method</api:name> + </api:function> + + </info> + <title>TestObj.prototype.forced_method</title> + +<synopsis><code mime="text/x-gjs"> +function forced_method():void { + // Gjs wrapper for regress_forced_method() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.instance_method.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.instance_method.page new file mode 100644 index 00000000..aa903206 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.instance_method.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.instance_method" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="method"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_obj_instance_method</api:name> + </api:function> + + </info> + <title>TestObj.prototype.instance_method</title> + +<synopsis><code mime="text/x-gjs"> +function instance_method():Number { + // Gjs wrapper for regress_test_obj_instance_method() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.instance_method_callback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.instance_method_callback.page new file mode 100644 index 00000000..bd5ceaf3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.instance_method_callback.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.instance_method_callback" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_obj_instance_method_callback</api:name> + <api:arg> + <api:type>Regress.TestCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.prototype.instance_method_callback</title> + +<synopsis><code mime="text/x-gjs"> +function instance_method_callback(callback:Regress.TestCallback):void { + // Gjs wrapper for regress_test_obj_instance_method_callback() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.new.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.new.page new file mode 100644 index 00000000..a9df4838 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.new.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.new" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="constructor"/> + <api:function> + <api:returns> + <api:type>Regress.TestObj</api:type> + </api:returns> + <api:name>regress_test_obj_new</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>obj</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.new</title> + +<synopsis><code mime="text/x-gjs"> +function new(obj:Regress.TestObj):Regress.TestObj { + // Gjs wrapper for regress_test_obj_new() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/></p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.new_callback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.new_callback.page new file mode 100644 index 00000000..1af95263 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.new_callback.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.new_callback" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="constructor"/> + <api:function> + <api:returns> + <api:type>Regress.TestObj</api:type> + </api:returns> + <api:name>regress_test_obj_new_callback</api:name> + <api:arg> + <api:type>Regress.TestCallbackUserData</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.new_callback</title> + +<synopsis><code mime="text/x-gjs"> +function new_callback(callback:Regress.TestCallbackUserData):Regress.TestObj { + // Gjs wrapper for regress_test_obj_new_callback() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.new_from_file.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.new_from_file.page new file mode 100644 index 00000000..c12559a9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.new_from_file.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.new_from_file" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="constructor"/> + <api:function> + <api:returns> + <api:type>Regress.TestObj</api:type> + </api:returns> + <api:name>regress_test_obj_new_from_file</api:name> + <api:arg> + <api:type>String</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.new_from_file</title> + +<synopsis><code mime="text/x-gjs"> +function new_from_file(x:String):Regress.TestObj { + // Gjs wrapper for regress_test_obj_new_from_file() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.null_out.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.null_out.page new file mode 100644 index 00000000..f194391a --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.null_out.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.null_out" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_obj_null_out</api:name> + </api:function> + + </info> + <title>null_out</title> + +<synopsis><code mime="text/x-gjs"> +function null_out():void { + // Gjs wrapper for regress_test_obj_null_out() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.page new file mode 100644 index 00000000..7ee950e7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.page @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj" + type="guide" + style="class" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestObj</title> + + <synopsis><code> +from gi.repository import Regress + +test_obj = Regress.TestObj(<link xref='Regress.TestObj-bare'>bare</link>=value, <link xref='Regress.TestObj-boxed'>boxed</link>=value, <link xref='Regress.TestObj-double'>double</link>=value, <link xref='Regress.TestObj-float'>float</link>=value, <link xref='Regress.TestObj-gtype'>gtype</link>=value, <link xref='Regress.TestObj-hash-table'>hash_table</link>=value, <link xref='Regress.TestObj-hash-table-old'>hash_table_old</link>=value, <link xref='Regress.TestObj-int'>int</link>=value, <link xref='Regress.TestObj-list'>list</link>=value, <link xref='Regress.TestObj-list-old'>list_old</link>=value, <link xref='Regress.TestObj-string'>string</link>=value) </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>GObject.Object</code> + <item> + <code>Regress.TestObj</code> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.set_bare.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.set_bare.page new file mode 100644 index 00000000..3a963cad --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.set_bare.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.set_bare" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_obj_set_bare</api:name> + <api:arg> + <api:type>GObject.Object</api:type> + <api:name>bare</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.prototype.set_bare</title> + +<synopsis><code mime="text/x-gjs"> +function set_bare(bare:GObject.Object):void { + // Gjs wrapper for regress_test_obj_set_bare() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>bare :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_inout_param.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_inout_param.page new file mode 100644 index 00000000..200835be --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_inout_param.page @@ -0,0 +1,70 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.skip_inout_param" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="method"/> + <api:function> + <api:returns> + <api:type>Boolean</api:type> + </api:returns> + <api:name>regress_test_obj_skip_inout_param</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>a</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>c</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>inout_d</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>num1</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>num2</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.prototype.skip_inout_param</title> + +<synopsis><code mime="text/x-gjs"> +function skip_inout_param(a:Number, c:Number, inout_d:Number, num1:Number, num2:Number):Boolean { + // Gjs wrapper for regress_test_obj_skip_inout_param() +} +</code></synopsis> + + + <p>Check that the out value is skipped</p> + + + + +<dl> +<dt><p>a :</p></dt> +<dd><p>Parameter.</p></dd> +<dt><p>c :</p></dt> +<dd><p>Other parameter.</p></dd> +<dt><p>inout_d :</p></dt> +<dd><p>Will be incremented.</p></dd> +<dt><p>num1 :</p></dt> +<dd><p>Number.</p></dd> +<dt><p>num2 :</p></dt> +<dd><p>Number.</p></dd> +<dt><p>Returns :</p></dt> +<dd><p><code>true</code> if the call succeeds, <code>false</code> if @error is set.</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_out_param.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_out_param.page new file mode 100644 index 00000000..7ee261d9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_out_param.page @@ -0,0 +1,70 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.skip_out_param" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="method"/> + <api:function> + <api:returns> + <api:type>Boolean</api:type> + </api:returns> + <api:name>regress_test_obj_skip_out_param</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>a</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>c</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>inout_d</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>num1</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>num2</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.prototype.skip_out_param</title> + +<synopsis><code mime="text/x-gjs"> +function skip_out_param(a:Number, c:Number, inout_d:Number, num1:Number, num2:Number):Boolean { + // Gjs wrapper for regress_test_obj_skip_out_param() +} +</code></synopsis> + + + <p>Check that the out value is skipped</p> + + + + +<dl> +<dt><p>a :</p></dt> +<dd><p>Parameter.</p></dd> +<dt><p>c :</p></dt> +<dd><p>Other parameter.</p></dd> +<dt><p>inout_d :</p></dt> +<dd><p>Will be incremented.</p></dd> +<dt><p>num1 :</p></dt> +<dd><p>Number.</p></dd> +<dt><p>num2 :</p></dt> +<dd><p>Number.</p></dd> +<dt><p>Returns :</p></dt> +<dd><p><code>true</code> if the call succeeds, <code>false</code> if @error is set.</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_param.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_param.page new file mode 100644 index 00000000..8b5a6a76 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_param.page @@ -0,0 +1,70 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.skip_param" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="method"/> + <api:function> + <api:returns> + <api:type>Boolean</api:type> + </api:returns> + <api:name>regress_test_obj_skip_param</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>a</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>c</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>inout_d</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>num1</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>num2</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.prototype.skip_param</title> + +<synopsis><code mime="text/x-gjs"> +function skip_param(a:Number, c:Number, inout_d:Number, num1:Number, num2:Number):Boolean { + // Gjs wrapper for regress_test_obj_skip_param() +} +</code></synopsis> + + + <p>Check that a parameter is skipped</p> + + + + +<dl> +<dt><p>a :</p></dt> +<dd><p>Parameter.</p></dd> +<dt><p>c :</p></dt> +<dd><p>Other parameter.</p></dd> +<dt><p>inout_d :</p></dt> +<dd><p>Will be incremented.</p></dd> +<dt><p>num1 :</p></dt> +<dd><p>Number.</p></dd> +<dt><p>num2 :</p></dt> +<dd><p>Number.</p></dd> +<dt><p>Returns :</p></dt> +<dd><p><code>true</code> if the call succeeds, <code>false</code> if @error is set.</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_return_val.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_return_val.page new file mode 100644 index 00000000..e8aa83c8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_return_val.page @@ -0,0 +1,70 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.skip_return_val" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="method"/> + <api:function> + <api:returns> + <api:type>Boolean</api:type> + </api:returns> + <api:name>regress_test_obj_skip_return_val</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>a</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>c</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>inout_d</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>num1</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>num2</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.prototype.skip_return_val</title> + +<synopsis><code mime="text/x-gjs"> +function skip_return_val(a:Number, c:Number, inout_d:Number, num1:Number, num2:Number):Boolean { + // Gjs wrapper for regress_test_obj_skip_return_val() +} +</code></synopsis> + + + <p>Check that the return value is skipped</p> + + + + +<dl> +<dt><p>a :</p></dt> +<dd><p>Parameter.</p></dd> +<dt><p>c :</p></dt> +<dd><p>Other parameter.</p></dd> +<dt><p>inout_d :</p></dt> +<dd><p>Will be incremented.</p></dd> +<dt><p>num1 :</p></dt> +<dd><p>Number.</p></dd> +<dt><p>num2 :</p></dt> +<dd><p>Number.</p></dd> +<dt><p>Returns :</p></dt> +<dd><p><code>true</code> if the call succeeds, <code>false</code> if @error is set.</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_return_val_no_out.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_return_val_no_out.page new file mode 100644 index 00000000..875164b9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_return_val_no_out.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.skip_return_val_no_out" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="method"/> + <api:function> + <api:returns> + <api:type>Boolean</api:type> + </api:returns> + <api:name>regress_test_obj_skip_return_val_no_out</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>a</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.prototype.skip_return_val_no_out</title> + +<synopsis><code mime="text/x-gjs"> +function skip_return_val_no_out(a:Number):Boolean { + // Gjs wrapper for regress_test_obj_skip_return_val_no_out() +} +</code></synopsis> + + + <p>Check that the return value is skipped. Succeed if a is nonzero, otherwise +raise an error.</p> + + + + +<dl> +<dt><p>a :</p></dt> +<dd><p>Parameter.</p></dd> +<dt><p>Returns :</p></dt> +<dd><p><code>true</code> if the call succeeds, <code>false</code> if @error is set.</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.static_method.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.static_method.page new file mode 100644 index 00000000..53cbdd2e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.static_method.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.static_method" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_obj_static_method</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>static_method</title> + +<synopsis><code mime="text/x-gjs"> +function static_method(x:Number):Number { + // Gjs wrapper for regress_test_obj_static_method() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.static_method_callback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.static_method_callback.page new file mode 100644 index 00000000..a2b3868d --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.static_method_callback.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.static_method_callback" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_obj_static_method_callback</api:name> + <api:arg> + <api:type>Regress.TestCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>static_method_callback</title> + +<synopsis><code mime="text/x-gjs"> +function static_method_callback(callback:Regress.TestCallback):void { + // Gjs wrapper for regress_test_obj_static_method_callback() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.torture_signature_0.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.torture_signature_0.page new file mode 100644 index 00000000..01f97d61 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.torture_signature_0.page @@ -0,0 +1,56 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.torture_signature_0" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_obj_torture_signature_0</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>String</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>m</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.prototype.torture_signature_0</title> + +<synopsis><code mime="text/x-gjs"> +function torture_signature_0(x:Number, foo:String, m:Number):void { + // Gjs wrapper for regress_test_obj_torture_signature_0() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>m :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.torture_signature_1.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.torture_signature_1.page new file mode 100644 index 00000000..205b1a31 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.torture_signature_1.page @@ -0,0 +1,58 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.torture_signature_1" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestObj" group="method"/> + <api:function> + <api:returns> + <api:type>Boolean</api:type> + </api:returns> + <api:name>regress_test_obj_torture_signature_1</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>String</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>m</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.prototype.torture_signature_1</title> + +<synopsis><code mime="text/x-gjs"> +function torture_signature_1(x:Number, foo:String, m:Number):Boolean { + // Gjs wrapper for regress_test_obj_torture_signature_1() +} +</code></synopsis> + + + <p>This function throws an error if m is odd.</p> + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>m :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestOtherError.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestOtherError.page new file mode 100644 index 00000000..1d907d24 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestOtherError.page @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<page id="Regress.TestOtherError" + type="topic" + style="enum" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestOtherError</title> + + + + + + + + +<dl> +<dt><p>TestOtherError.CODE1 :</p></dt> +<dd></dd> +<dt><p>TestOtherError.CODE2 :</p></dt> +<dd></dd> +<dt><p>TestOtherError.CODE3 :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestPrivateEnum.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestPrivateEnum.page new file mode 100644 index 00000000..788441ac --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestPrivateEnum.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestPrivateEnum" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestPrivateEnum</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestPrivateStruct.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestPrivateStruct.page new file mode 100644 index 00000000..fa508137 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestPrivateStruct.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestPrivateStruct" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestPrivateStruct</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleBoxedA.const_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleBoxedA.const_return.page new file mode 100644 index 00000000..ab33fce3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleBoxedA.const_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestSimpleBoxedA.const_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestSimpleBoxedA" group="function"/> + <api:function> + <api:returns> + <api:type>Regress.TestSimpleBoxedA</api:type> + </api:returns> + <api:name>regress_test_simple_boxed_a_const_return</api:name> + </api:function> + + </info> + <title>const_return</title> + +<synopsis><code mime="text/x-gjs"> +function const_return():Regress.TestSimpleBoxedA { + // Gjs wrapper for regress_test_simple_boxed_a_const_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleBoxedA.copy.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleBoxedA.copy.page new file mode 100644 index 00000000..c4559527 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleBoxedA.copy.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestSimpleBoxedA.copy" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestSimpleBoxedA" group="method"/> + <api:function> + <api:returns> + <api:type>Regress.TestSimpleBoxedA</api:type> + </api:returns> + <api:name>regress_test_simple_boxed_a_copy</api:name> + </api:function> + + </info> + <title>TestSimpleBoxedA.prototype.copy</title> + +<synopsis><code mime="text/x-gjs"> +function copy():Regress.TestSimpleBoxedA { + // Gjs wrapper for regress_test_simple_boxed_a_copy() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleBoxedA.equals.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleBoxedA.equals.page new file mode 100644 index 00000000..de4ade80 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleBoxedA.equals.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.TestSimpleBoxedA.equals" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestSimpleBoxedA" group="method"/> + <api:function> + <api:returns> + <api:type>Boolean</api:type> + </api:returns> + <api:name>regress_test_simple_boxed_a_equals</api:name> + <api:arg> + <api:type>Regress.TestSimpleBoxedA</api:type> + <api:name>other_a</api:name> + </api:arg> + </api:function> + + </info> + <title>TestSimpleBoxedA.prototype.equals</title> + +<synopsis><code mime="text/x-gjs"> +function equals(other_a:Regress.TestSimpleBoxedA):Boolean { + // Gjs wrapper for regress_test_simple_boxed_a_equals() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>other_a :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleBoxedA.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleBoxedA.page new file mode 100644 index 00000000..2a8dd629 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleBoxedA.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestSimpleBoxedA" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestSimpleBoxedA</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleBoxedB.copy.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleBoxedB.copy.page new file mode 100644 index 00000000..695bed63 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleBoxedB.copy.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestSimpleBoxedB.copy" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestSimpleBoxedB" group="method"/> + <api:function> + <api:returns> + <api:type>Regress.TestSimpleBoxedB</api:type> + </api:returns> + <api:name>regress_test_simple_boxed_b_copy</api:name> + </api:function> + + </info> + <title>TestSimpleBoxedB.prototype.copy</title> + +<synopsis><code mime="text/x-gjs"> +function copy():Regress.TestSimpleBoxedB { + // Gjs wrapper for regress_test_simple_boxed_b_copy() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleBoxedB.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleBoxedB.page new file mode 100644 index 00000000..b775b867 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleBoxedB.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestSimpleBoxedB" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestSimpleBoxedB</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleCallback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleCallback.page new file mode 100644 index 00000000..61bafb5f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSimpleCallback.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestSimpleCallback" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestSimpleCallback</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructA.clone.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructA.clone.page new file mode 100644 index 00000000..8e50284e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructA.clone.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructA.clone" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestStructA" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_struct_a_clone</api:name> + </api:function> + + </info> + <title>TestStructA.prototype.clone</title> + +<synopsis><code mime="text/x-gjs"> +function clone():void { + // Gjs wrapper for regress_test_struct_a_clone() +} +</code></synopsis> + + + <p>Make a copy of a RegressTestStructA</p> + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructA.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructA.page new file mode 100644 index 00000000..07b1752d --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructA.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructA" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestStructA</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructA.parse.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructA.parse.page new file mode 100644 index 00000000..3577ad78 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructA.parse.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructA.parse" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestStructA" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_struct_a_parse</api:name> + <api:arg> + <api:type>String</api:type> + <api:name>string</api:name> + </api:arg> + </api:function> + + </info> + <title>parse</title> + +<synopsis><code mime="text/x-gjs"> +function parse(string:String):void { + // Gjs wrapper for regress_test_struct_a_parse() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>string :</p></dt> +<dd><p>ignored</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructB.clone.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructB.clone.page new file mode 100644 index 00000000..ce72cfd1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructB.clone.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructB.clone" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestStructB" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_struct_b_clone</api:name> + </api:function> + + </info> + <title>TestStructB.prototype.clone</title> + +<synopsis><code mime="text/x-gjs"> +function clone():void { + // Gjs wrapper for regress_test_struct_b_clone() +} +</code></synopsis> + + + <p>Make a copy of a RegressTestStructB</p> + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructB.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructB.page new file mode 100644 index 00000000..b5b2ff3f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructB.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructB" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestStructB</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructC.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructC.page new file mode 100644 index 00000000..1db74ca2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructC.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructC" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestStructC</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructD.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructD.page new file mode 100644 index 00000000..cf224e3e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructD.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructD" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestStructD</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructE.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructE.page new file mode 100644 index 00000000..75684f3d --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructE.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructE" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestStructE</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructE__some_union__union.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructE__some_union__union.page new file mode 100644 index 00000000..6f77035b --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructE__some_union__union.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructE__some_union__union" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestStructE__some_union__union</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructF.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructF.page new file mode 100644 index 00000000..fe5e7bc6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructF.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructF" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestStructF</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructFixedArray.frob.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructFixedArray.frob.page new file mode 100644 index 00000000..a72301a2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructFixedArray.frob.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructFixedArray.frob" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestStructFixedArray" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_struct_fixed_array_frob</api:name> + </api:function> + + </info> + <title>TestStructFixedArray.prototype.frob</title> + +<synopsis><code mime="text/x-gjs"> +function frob():void { + // Gjs wrapper for regress_test_struct_fixed_array_frob() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructFixedArray.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructFixedArray.page new file mode 100644 index 00000000..b5df5294 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructFixedArray.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructFixedArray" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestStructFixedArray</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSubObj.instance_method.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSubObj.instance_method.page new file mode 100644 index 00000000..d537cb6e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSubObj.instance_method.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestSubObj.instance_method" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestSubObj" group="method"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_sub_obj_instance_method</api:name> + </api:function> + + </info> + <title>TestSubObj.prototype.instance_method</title> + +<synopsis><code mime="text/x-gjs"> +function instance_method():Number { + // Gjs wrapper for regress_test_sub_obj_instance_method() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSubObj.new.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSubObj.new.page new file mode 100644 index 00000000..86fcd533 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSubObj.new.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestSubObj.new" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestSubObj" group="constructor"/> + <api:function> + <api:returns> + <api:type>Regress.TestObj</api:type> + </api:returns> + <api:name>regress_test_sub_obj_new</api:name> + </api:function> + + </info> + <title>TestSubObj.new</title> + +<synopsis><code mime="text/x-gjs"> +function new():Regress.TestObj { + // Gjs wrapper for regress_test_sub_obj_new() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSubObj.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSubObj.page new file mode 100644 index 00000000..fe84d57f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSubObj.page @@ -0,0 +1,65 @@ +<?xml version="1.0"?> +<page id="Regress.TestSubObj" + type="guide" + style="class" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestSubObj</title> + + <synopsis><code> +from gi.repository import Regress + +test_sub_obj = Regress.TestSubObj() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>GObject.Object</code> + <item> + <code>Regress.TestObj</code> + <item> + <code>Regress.TestSubObj</code> + </item> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSubObj.unset_bare.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSubObj.unset_bare.page new file mode 100644 index 00000000..391f291d --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSubObj.unset_bare.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.TestSubObj.unset_bare" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestSubObj" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_sub_obj_unset_bare</api:name> + </api:function> + + </info> + <title>TestSubObj.prototype.unset_bare</title> + +<synopsis><code mime="text/x-gjs"> +function unset_bare():void { + // Gjs wrapper for regress_test_sub_obj_unset_bare() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestTypeGUInt64.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestTypeGUInt64.page new file mode 100644 index 00000000..d815a3fe --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestTypeGUInt64.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestTypeGUInt64" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestTypeGUInt64</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x-testbool.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x-testbool.page new file mode 100644 index 00000000..7835ee50 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x-testbool.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestWi8021x-testbool" + type="topic" + style="property" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestWi8021x" group="property"/> + <title type="link" role="topic">testbool</title> + + </info> + <title>Regress.TestWi8021x:testbool</title> + +<synopsis><code mime="text/x-python"> +"testbool" Boolean : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x.get_testbool.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x.get_testbool.page new file mode 100644 index 00000000..e6bf3d37 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x.get_testbool.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestWi8021x.get_testbool" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestWi8021x" group="method"/> + <api:function> + <api:returns> + <api:type>Boolean</api:type> + </api:returns> + <api:name>regress_test_wi_802_1x_get_testbool</api:name> + </api:function> + + </info> + <title>TestWi8021x.prototype.get_testbool</title> + +<synopsis><code mime="text/x-gjs"> +function get_testbool():Boolean { + // Gjs wrapper for regress_test_wi_802_1x_get_testbool() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x.new.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x.new.page new file mode 100644 index 00000000..11f813db --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x.new.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestWi8021x.new" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestWi8021x" group="constructor"/> + <api:function> + <api:returns> + <api:type>Regress.TestWi8021x</api:type> + </api:returns> + <api:name>regress_test_wi_802_1x_new</api:name> + </api:function> + + </info> + <title>TestWi8021x.new</title> + +<synopsis><code mime="text/x-gjs"> +function new():Regress.TestWi8021x { + // Gjs wrapper for regress_test_wi_802_1x_new() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x.page new file mode 100644 index 00000000..2ea9c575 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x.page @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<page id="Regress.TestWi8021x" + type="guide" + style="class" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.TestWi8021x</title> + + <synopsis><code> +from gi.repository import Regress + +test_wi8021x = Regress.TestWi8021x(<link xref='Regress.TestWi8021x-testbool'>testbool</link>=value) </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>GObject.Object</code> + <item> + <code>Regress.TestWi8021x</code> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-gjs" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x.set_testbool.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x.set_testbool.page new file mode 100644 index 00000000..67356504 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x.set_testbool.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.TestWi8021x.set_testbool" + type="topic" + style="method" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestWi8021x" group="method"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_wi_802_1x_set_testbool</api:name> + <api:arg> + <api:type>Boolean</api:type> + <api:name>v</api:name> + </api:arg> + </api:function> + + </info> + <title>TestWi8021x.prototype.set_testbool</title> + +<synopsis><code mime="text/x-gjs"> +function set_testbool(v:Boolean):void { + // Gjs wrapper for regress_test_wi_802_1x_set_testbool() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>v :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x.static_method.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x.static_method.page new file mode 100644 index 00000000..632758a6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x.static_method.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.TestWi8021x.static_method" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="Regress.TestWi8021x" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_wi_802_1x_static_method</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>static_method</title> + +<synopsis><code mime="text/x-gjs"> +function static_method(x:Number):Number { + // Gjs wrapper for regress_test_wi_802_1x_static_method() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.UTF8_CONSTANT.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.UTF8_CONSTANT.page new file mode 100644 index 00000000..8f3f5324 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.UTF8_CONSTANT.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.UTF8_CONSTANT" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.UTF8_CONSTANT</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.VaListAlias.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.VaListAlias.page new file mode 100644 index 00000000..bfd52d28 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.VaListAlias.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.VaListAlias" + type="topic" + style="default" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Regress.VaListAlias</title> + + + + <p>Typedef'd va_list for additional reasons</p> + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.aliased_caller_alloc.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.aliased_caller_alloc.page new file mode 100644 index 00000000..fb7c16d0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.aliased_caller_alloc.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.aliased_caller_alloc" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_aliased_caller_alloc</api:name> + </api:function> + + </info> + <title>aliased_caller_alloc</title> + +<synopsis><code mime="text/x-gjs"> +function aliased_caller_alloc():void { + // Gjs wrapper for regress_aliased_caller_alloc() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_attribute_func.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_attribute_func.page new file mode 100644 index 00000000..1547d02c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_attribute_func.page @@ -0,0 +1,52 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_attribute_func" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_annotation_attribute_func</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>String</api:type> + <api:name>data</api:name> + </api:arg> + </api:function> + + </info> + <title>annotation_attribute_func</title> + +<synopsis><code mime="text/x-gjs"> +function annotation_attribute_func(object:Regress.AnnotationObject, data:String):Number { + // Gjs wrapper for regress_annotation_attribute_func() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>A <link xref="Regress.AnnotationObject"/>.</p></dd> +<dt><p>data :</p></dt> +<dd><p>Some data.</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>The return value.</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_custom_destroy.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_custom_destroy.page new file mode 100644 index 00000000..5c9042cc --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_custom_destroy.page @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_custom_destroy" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_custom_destroy</api:name> + <api:arg> + <api:type>Regress.AnnotationCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>annotation_custom_destroy</title> + +<synopsis><code mime="text/x-gjs"> +function annotation_custom_destroy(callback:Regress.AnnotationCallback):void { + // Gjs wrapper for regress_annotation_custom_destroy() +} +</code></synopsis> + + + <p>Test messing up the heuristic of closure/destroy-notification +detection, and fixing it via regress_annotations.</p> + + + + +<dl> +<dt><p>callback :</p></dt> +<dd><p>Destroy notification</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_get_source_file.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_get_source_file.page new file mode 100644 index 00000000..cb782e6a --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_get_source_file.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_get_source_file" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>filename</api:type> + </api:returns> + <api:name>regress_annotation_get_source_file</api:name> + </api:function> + + </info> + <title>annotation_get_source_file</title> + +<synopsis><code mime="text/x-gjs"> +function annotation_get_source_file():filename { + // Gjs wrapper for regress_annotation_get_source_file() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>Source file</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_init.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_init.page new file mode 100644 index 00000000..753a719d --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_init.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_init" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_init</api:name> + <api:arg> + <api:type>[String]</api:type> + <api:name>argv</api:name> + </api:arg> + </api:function> + + </info> + <title>annotation_init</title> + +<synopsis><code mime="text/x-gjs"> +function annotation_init(argv:[String]):void { + // Gjs wrapper for regress_annotation_init() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>argv :</p></dt> +<dd><p>The arguments.</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_invalid_regress_annotation.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_invalid_regress_annotation.page new file mode 100644 index 00000000..1d532dfb --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_invalid_regress_annotation.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_invalid_regress_annotation" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_invalid_regress_annotation</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>foo</api:name> + </api:arg> + </api:function> + + </info> + <title>annotation_invalid_regress_annotation</title> + +<synopsis><code mime="text/x-gjs"> +function annotation_invalid_regress_annotation(foo:Number):void { + // Gjs wrapper for regress_annotation_invalid_regress_annotation() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>foo :</p></dt> +<dd><p>some text (e.g. example) or else</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_ptr_array.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_ptr_array.page new file mode 100644 index 00000000..8c1805fd --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_ptr_array.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_ptr_array" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_ptr_array</api:name> + <api:arg> + <api:type>[GObject.Value]</api:type> + <api:name>array</api:name> + </api:arg> + </api:function> + + </info> + <title>annotation_ptr_array</title> + +<synopsis><code mime="text/x-gjs"> +function annotation_ptr_array(array:[GObject.Value]):void { + // Gjs wrapper for regress_annotation_ptr_array() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>array :</p></dt> +<dd><p>the array</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_return_array.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_return_array.page new file mode 100644 index 00000000..842bd600 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_return_array.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_return_array" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>[String]</api:type> + </api:returns> + <api:name>regress_annotation_return_array</api:name> + </api:function> + + </info> + <title>annotation_return_array</title> + +<synopsis><code mime="text/x-gjs"> +function annotation_return_array():[String] { + // Gjs wrapper for regress_annotation_return_array() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>The return value</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_return_filename.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_return_filename.page new file mode 100644 index 00000000..6790d9ff --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_return_filename.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_return_filename" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>filename</api:type> + </api:returns> + <api:name>regress_annotation_return_filename</api:name> + </api:function> + + </info> + <title>annotation_return_filename</title> + +<synopsis><code mime="text/x-gjs"> +function annotation_return_filename():filename { + // Gjs wrapper for regress_annotation_return_filename() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>An annotated filename</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_set_source_file.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_set_source_file.page new file mode 100644 index 00000000..151e84f6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_set_source_file.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_set_source_file" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_set_source_file</api:name> + <api:arg> + <api:type>filename</api:type> + <api:name>fname</api:name> + </api:arg> + </api:function> + + </info> + <title>annotation_set_source_file</title> + +<synopsis><code mime="text/x-gjs"> +function annotation_set_source_file(fname:filename):void { + // Gjs wrapper for regress_annotation_set_source_file() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>fname :</p></dt> +<dd><p>Source file</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_space_after_comment_bug631690.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_space_after_comment_bug631690.page new file mode 100644 index 00000000..de11fc5a --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_space_after_comment_bug631690.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_space_after_comment_bug631690" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_space_after_comment_bug631690</api:name> + </api:function> + + </info> + <title>annotation_space_after_comment_bug631690</title> + +<synopsis><code mime="text/x-gjs"> +function annotation_space_after_comment_bug631690():void { + // Gjs wrapper for regress_annotation_space_after_comment_bug631690() +} +</code></synopsis> + + + <p>Explicitly test having a space after the ** here.</p> + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_string_array_length.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_string_array_length.page new file mode 100644 index 00000000..f1bbd9c4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_string_array_length.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_string_array_length" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_string_array_length</api:name> + <api:arg> + <api:type>[String]</api:type> + <api:name>properties</api:name> + </api:arg> + </api:function> + + </info> + <title>annotation_string_array_length</title> + +<synopsis><code mime="text/x-gjs"> +function annotation_string_array_length(properties:[String]):void { + // Gjs wrapper for regress_annotation_string_array_length() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>properties :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_string_zero_terminated.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_string_zero_terminated.page new file mode 100644 index 00000000..00af2f16 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_string_zero_terminated.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_string_zero_terminated" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>[String]</api:type> + </api:returns> + <api:name>regress_annotation_string_zero_terminated</api:name> + </api:function> + + </info> + <title>annotation_string_zero_terminated</title> + +<synopsis><code mime="text/x-gjs"> +function annotation_string_zero_terminated():[String] { + // Gjs wrapper for regress_annotation_string_zero_terminated() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>The return value</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_string_zero_terminated_out.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_string_zero_terminated_out.page new file mode 100644 index 00000000..cf823b72 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_string_zero_terminated_out.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_string_zero_terminated_out" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_string_zero_terminated_out</api:name> + <api:arg> + <api:type>[String]</api:type> + <api:name>out</api:name> + </api:arg> + </api:function> + + </info> + <title>annotation_string_zero_terminated_out</title> + +<synopsis><code mime="text/x-gjs"> +function annotation_string_zero_terminated_out(out:[String]):void { + // Gjs wrapper for regress_annotation_string_zero_terminated_out() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>out :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_test_parsing_bug630862.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_test_parsing_bug630862.page new file mode 100644 index 00000000..8d954edd --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_test_parsing_bug630862.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_test_parsing_bug630862" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GObject.Object</api:type> + </api:returns> + <api:name>regress_annotation_test_parsing_bug630862</api:name> + </api:function> + + </info> + <title>annotation_test_parsing_bug630862</title> + +<synopsis><code mime="text/x-gjs"> +function annotation_test_parsing_bug630862():GObject.Object { + // Gjs wrapper for regress_annotation_test_parsing_bug630862() +} +</code></synopsis> + + + <p>See https://bugzilla.gnome.org/show_bug.cgi?id=630862</p> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>An object, note the colon:in here</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_transfer_floating.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_transfer_floating.page new file mode 100644 index 00000000..e2466681 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_transfer_floating.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_transfer_floating" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GObject.Object</api:type> + </api:returns> + <api:name>regress_annotation_transfer_floating</api:name> + </api:function> + + </info> + <title>annotation_transfer_floating</title> + +<synopsis><code mime="text/x-gjs"> +function annotation_transfer_floating():GObject.Object { + // Gjs wrapper for regress_annotation_transfer_floating() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>A floating object</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_versioned.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_versioned.page new file mode 100644 index 00000000..f5aafc26 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_versioned.page @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_versioned" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_annotation_versioned</api:name> + </api:function> + + </info> + <title>annotation_versioned</title> + +<synopsis><code mime="text/x-gjs"> +function annotation_versioned():void { + // Gjs wrapper for regress_annotation_versioned() +} +</code></synopsis> + + + + + + <p>Since 0.6</p> + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.atest_error_quark.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.atest_error_quark.page new file mode 100644 index 00000000..e72ee9b1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.atest_error_quark.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.atest_error_quark" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GLib.Quark</api:type> + </api:returns> + <api:name>regress_atest_error_quark</api:name> + </api:function> + + </info> + <title>atest_error_quark</title> + +<synopsis><code mime="text/x-gjs"> +function atest_error_quark():GLib.Quark { + // Gjs wrapper for regress_atest_error_quark() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_async_ready_callback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_async_ready_callback.page new file mode 100644 index 00000000..c3db813e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_async_ready_callback.page @@ -0,0 +1,50 @@ +<?xml version="1.0"?> +<page id="Regress.foo_async_ready_callback" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_async_ready_callback</api:name> + <api:arg> + <api:type>Gio.Cancellable</api:type> + <api:name>cancellable</api:name> + </api:arg> + <api:arg> + <api:type>Gio.AsyncReadyCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_async_ready_callback</title> + +<synopsis><code mime="text/x-gjs"> +function foo_async_ready_callback(cancellable:Gio.Cancellable, callback:Gio.AsyncReadyCallback):void { + // Gjs wrapper for regress_foo_async_ready_callback() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>cancellable :</p></dt> +<dd></dd> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_destroy_notify_callback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_destroy_notify_callback.page new file mode 100644 index 00000000..ac1b97d2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_destroy_notify_callback.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.foo_destroy_notify_callback" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_destroy_notify_callback</api:name> + <api:arg> + <api:type>Regress.FooCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_destroy_notify_callback</title> + +<synopsis><code mime="text/x-gjs"> +function foo_destroy_notify_callback(callback:Regress.FooCallback):void { + // Gjs wrapper for regress_foo_destroy_notify_callback() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_init.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_init.page new file mode 100644 index 00000000..242c00de --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_init.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.foo_init" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_foo_init</api:name> + </api:function> + + </info> + <title>foo_init</title> + +<synopsis><code mime="text/x-gjs"> +function foo_init():Number { + // Gjs wrapper for regress_foo_init() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_method_external_references.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_method_external_references.page new file mode 100644 index 00000000..e7f1c4f0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_method_external_references.page @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<page id="Regress.foo_method_external_references" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_method_external_references</api:name> + <api:arg> + <api:type>Utility.Object</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>Utility.EnumType</api:type> + <api:name>e</api:name> + </api:arg> + <api:arg> + <api:type>Utility.FlagType</api:type> + <api:name>f</api:name> + </api:arg> + <api:arg> + <api:type>Utility.Struct</api:type> + <api:name>s</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_method_external_references</title> + +<synopsis><code mime="text/x-gjs"> +function foo_method_external_references(object:Utility.Object, e:Utility.EnumType, f:Utility.FlagType, s:Utility.Struct):void { + // Gjs wrapper for regress_foo_method_external_references() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd></dd> +<dt><p>e :</p></dt> +<dd></dd> +<dt><p>f :</p></dt> +<dd></dd> +<dt><p>s :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_not_a_constructor_new.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_not_a_constructor_new.page new file mode 100644 index 00000000..7efaffcf --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_not_a_constructor_new.page @@ -0,0 +1,41 @@ +<?xml version="1.0"?> +<page id="Regress.foo_not_a_constructor_new" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Regress.FooObject</api:type> + </api:returns> + <api:name>regress_foo_not_a_constructor_new</api:name> + </api:function> + + </info> + <title>foo_not_a_constructor_new</title> + +<synopsis><code mime="text/x-gjs"> +function foo_not_a_constructor_new():Regress.FooObject { + // Gjs wrapper for regress_foo_not_a_constructor_new() +} +</code></synopsis> + + + <p>This should be scanned as a top-level function, and shouldn't cause +a "Can't find matching type for constructor" warning.</p> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_skip_me.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_skip_me.page new file mode 100644 index 00000000..1458b278 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_skip_me.page @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<page id="Regress.foo_skip_me" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_skip_me</api:name> + <api:arg> + <api:type>Regress.FooSkippable</api:type> + <api:name>fs</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_skip_me</title> + +<synopsis><code mime="text/x-gjs"> +function foo_skip_me(fs:Regress.FooSkippable):void { + // Gjs wrapper for regress_foo_skip_me() +} +</code></synopsis> + + + <p>Does something that's only interesting from C and should not be +exposed to language bindings.</p> + + + + +<dl> +<dt><p>fs :</p></dt> +<dd><p>a <link xref="Regress.FooSkippable"/></p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_some_variant.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_some_variant.page new file mode 100644 index 00000000..09740618 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_some_variant.page @@ -0,0 +1,50 @@ +<?xml version="1.0"?> +<page id="Regress.foo_some_variant" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_some_variant</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>va_list</api:type> + <api:name>args</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_some_variant</title> + +<synopsis><code mime="text/x-gjs"> +function foo_some_variant(x:Number, args:va_list):void { + // Gjs wrapper for regress_foo_some_variant() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>args :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_some_variant_ptr.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_some_variant_ptr.page new file mode 100644 index 00000000..d63650fc --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_some_variant_ptr.page @@ -0,0 +1,50 @@ +<?xml version="1.0"?> +<page id="Regress.foo_some_variant_ptr" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_some_variant_ptr</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>va_list</api:type> + <api:name>args</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_some_variant_ptr</title> + +<synopsis><code mime="text/x-gjs"> +function foo_some_variant_ptr(x:Number, args:va_list):void { + // Gjs wrapper for regress_foo_some_variant_ptr() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>args :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_array.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_array.page new file mode 100644 index 00000000..c77f18a5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_array.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_array" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>[String]</api:type> + </api:returns> + <api:name>regress_foo_test_array</api:name> + </api:function> + + </info> + <title>foo_test_array</title> + +<synopsis><code mime="text/x-gjs"> +function foo_test_array():[String] { + // Gjs wrapper for regress_foo_test_array() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_const_char_param.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_const_char_param.page new file mode 100644 index 00000000..c46680c2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_const_char_param.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_const_char_param" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_test_const_char_param</api:name> + <api:arg> + <api:type>String</api:type> + <api:name>param</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_test_const_char_param</title> + +<synopsis><code mime="text/x-gjs"> +function foo_test_const_char_param(param:String):void { + // Gjs wrapper for regress_foo_test_const_char_param() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>param :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_const_char_retval.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_const_char_retval.page new file mode 100644 index 00000000..f42f0a27 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_const_char_retval.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_const_char_retval" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>String</api:type> + </api:returns> + <api:name>regress_foo_test_const_char_retval</api:name> + </api:function> + + </info> + <title>foo_test_const_char_retval</title> + +<synopsis><code mime="text/x-gjs"> +function foo_test_const_char_retval():String { + // Gjs wrapper for regress_foo_test_const_char_retval() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_const_struct_param.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_const_struct_param.page new file mode 100644 index 00000000..9a104a7e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_const_struct_param.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_const_struct_param" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_test_const_struct_param</api:name> + <api:arg> + <api:type>Regress.FooStruct</api:type> + <api:name>param</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_test_const_struct_param</title> + +<synopsis><code mime="text/x-gjs"> +function foo_test_const_struct_param(param:Regress.FooStruct):void { + // Gjs wrapper for regress_foo_test_const_struct_param() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>param :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_const_struct_retval.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_const_struct_retval.page new file mode 100644 index 00000000..7a3295d9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_const_struct_retval.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_const_struct_retval" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Regress.FooStruct</api:type> + </api:returns> + <api:name>regress_foo_test_const_struct_retval</api:name> + </api:function> + + </info> + <title>foo_test_const_struct_retval</title> + +<synopsis><code mime="text/x-gjs"> +function foo_test_const_struct_retval():Regress.FooStruct { + // Gjs wrapper for regress_foo_test_const_struct_retval() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_string_array.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_string_array.page new file mode 100644 index 00000000..96239704 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_string_array.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_string_array" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_test_string_array</api:name> + <api:arg> + <api:type>[String]</api:type> + <api:name>array</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_test_string_array</title> + +<synopsis><code mime="text/x-gjs"> +function foo_test_string_array(array:[String]):void { + // Gjs wrapper for regress_foo_test_string_array() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>array :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_string_array_with_g.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_string_array_with_g.page new file mode 100644 index 00000000..872ed05f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_string_array_with_g.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_string_array_with_g" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_test_string_array_with_g</api:name> + <api:arg> + <api:type>[String]</api:type> + <api:name>array</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_test_string_array_with_g</title> + +<synopsis><code mime="text/x-gjs"> +function foo_test_string_array_with_g(array:[String]):void { + // Gjs wrapper for regress_foo_test_string_array_with_g() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>array :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_unsigned_qualifier.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_unsigned_qualifier.page new file mode 100644 index 00000000..8545e846 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_unsigned_qualifier.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_unsigned_qualifier" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_test_unsigned_qualifier</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>unsigned_param</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_test_unsigned_qualifier</title> + +<synopsis><code mime="text/x-gjs"> +function foo_test_unsigned_qualifier(unsigned_param:Number):void { + // Gjs wrapper for regress_foo_test_unsigned_qualifier() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>unsigned_param :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_unsigned_type.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_unsigned_type.page new file mode 100644 index 00000000..25bfbd94 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_unsigned_type.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_unsigned_type" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_test_unsigned_type</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>unsigned_param</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_test_unsigned_type</title> + +<synopsis><code mime="text/x-gjs"> +function foo_test_unsigned_type(unsigned_param:Number):void { + // Gjs wrapper for regress_foo_test_unsigned_type() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>unsigned_param :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_varargs_callback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_varargs_callback.page new file mode 100644 index 00000000..4ae258fa --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_varargs_callback.page @@ -0,0 +1,50 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_varargs_callback" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_test_varargs_callback</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>i</api:name> + </api:arg> + <api:arg> + <api:type>Regress.FooVarargsCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_test_varargs_callback</title> + +<synopsis><code mime="text/x-gjs"> +function foo_test_varargs_callback(i:Number, callback:Regress.FooVarargsCallback):void { + // Gjs wrapper for regress_foo_test_varargs_callback() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>i :</p></dt> +<dd></dd> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_varargs_callback2.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_varargs_callback2.page new file mode 100644 index 00000000..c65a8188 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_varargs_callback2.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_varargs_callback2" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_test_varargs_callback2</api:name> + <api:arg> + <api:type>Regress.FooVarargsCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_test_varargs_callback2</title> + +<synopsis><code mime="text/x-gjs"> +function foo_test_varargs_callback2(callback:Regress.FooVarargsCallback):void { + // Gjs wrapper for regress_foo_test_varargs_callback2() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_varargs_callback3.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_varargs_callback3.page new file mode 100644 index 00000000..56cc6c00 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_test_varargs_callback3.page @@ -0,0 +1,50 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_varargs_callback3" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_foo_test_varargs_callback3</api:name> + <api:arg> + <api:type>Regress.FooVarargsCallback</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>Regress.FooVarargsCallback</api:type> + <api:name>callback2</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_test_varargs_callback3</title> + +<synopsis><code mime="text/x-gjs"> +function foo_test_varargs_callback3(callback:Regress.FooVarargsCallback, callback2:Regress.FooVarargsCallback):void { + // Gjs wrapper for regress_foo_test_varargs_callback3() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>callback2 :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.func_obj_null_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.func_obj_null_in.page new file mode 100644 index 00000000..1b8cab1b --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.func_obj_null_in.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.func_obj_null_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_func_obj_null_in</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>obj</api:name> + </api:arg> + </api:function> + + </info> + <title>func_obj_null_in</title> + +<synopsis><code mime="text/x-gjs"> +function func_obj_null_in(obj:Regress.TestObj):void { + // Gjs wrapper for regress_func_obj_null_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/></p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.global_get_flags_out.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.global_get_flags_out.page new file mode 100644 index 00000000..df39d486 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.global_get_flags_out.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.global_get_flags_out" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_global_get_flags_out</api:name> + </api:function> + + </info> + <title>global_get_flags_out</title> + +<synopsis><code mime="text/x-gjs"> +function global_get_flags_out():void { + // Gjs wrapper for regress_global_get_flags_out() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.has_parameter_named_attrs.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.has_parameter_named_attrs.page new file mode 100644 index 00000000..39013096 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.has_parameter_named_attrs.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.has_parameter_named_attrs" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_has_parameter_named_attrs</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>[guint32]</api:type> + <api:name>attributes</api:name> + </api:arg> + </api:function> + + </info> + <title>has_parameter_named_attrs</title> + +<synopsis><code mime="text/x-gjs"> +function has_parameter_named_attrs(foo:Number, attributes:[guint32]):void { + // Gjs wrapper for regress_has_parameter_named_attrs() +} +</code></synopsis> + + + <p>This test case mirrors GnomeKeyringPasswordSchema from +libgnome-keyring.</p> + + + + +<dl> +<dt><p>foo :</p></dt> +<dd><p>some int</p></dd> +<dt><p>attributes :</p></dt> +<dd><p>list of attributes</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.introspectable_via_alias.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.introspectable_via_alias.page new file mode 100644 index 00000000..9d7f75de --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.introspectable_via_alias.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.introspectable_via_alias" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_introspectable_via_alias</api:name> + <api:arg> + <api:type>Regress.PtrArrayAlias</api:type> + <api:name>data</api:name> + </api:arg> + </api:function> + + </info> + <title>introspectable_via_alias</title> + +<synopsis><code mime="text/x-gjs"> +function introspectable_via_alias(data:Regress.PtrArrayAlias):void { + // Gjs wrapper for regress_introspectable_via_alias() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>data :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.not_introspectable_via_alias.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.not_introspectable_via_alias.page new file mode 100644 index 00000000..b1192a9d --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.not_introspectable_via_alias.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.not_introspectable_via_alias" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_not_introspectable_via_alias</api:name> + <api:arg> + <api:type>Regress.VaListAlias</api:type> + <api:name>ok</api:name> + </api:arg> + </api:function> + + </info> + <title>not_introspectable_via_alias</title> + +<synopsis><code mime="text/x-gjs"> +function not_introspectable_via_alias(ok:Regress.VaListAlias):void { + // Gjs wrapper for regress_not_introspectable_via_alias() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>ok :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.random_function_with_skipped_structure.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.random_function_with_skipped_structure.page new file mode 100644 index 00000000..5981e901 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.random_function_with_skipped_structure.page @@ -0,0 +1,56 @@ +<?xml version="1.0"?> +<page id="Regress.random_function_with_skipped_structure" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_random_function_with_skipped_structure</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>Regress.SkippedStructure</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>v</api:name> + </api:arg> + </api:function> + + </info> + <title>random_function_with_skipped_structure</title> + +<synopsis><code mime="text/x-gjs"> +function random_function_with_skipped_structure(x:Number, foo:Regress.SkippedStructure, v:Number):void { + // Gjs wrapper for regress_random_function_with_skipped_structure() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>v :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.set_abort_on_error.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.set_abort_on_error.page new file mode 100644 index 00000000..8d85040f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.set_abort_on_error.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.set_abort_on_error" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_set_abort_on_error</api:name> + <api:arg> + <api:type>Boolean</api:type> + <api:name>abort_on_error</api:name> + </api:arg> + </api:function> + + </info> + <title>set_abort_on_error</title> + +<synopsis><code mime="text/x-gjs"> +function set_abort_on_error(abort_on_error:Boolean):void { + // Gjs wrapper for regress_set_abort_on_error() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>abort_on_error :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_callback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_callback.page new file mode 100644 index 00000000..bf026dbb --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_callback.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_callback" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_array_callback</api:name> + <api:arg> + <api:type>Regress.TestCallbackArray</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>test_array_callback</title> + +<synopsis><code mime="text/x-gjs"> +function test_array_callback(callback:Regress.TestCallbackArray):Number { + // Gjs wrapper for regress_test_array_callback() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_fixed_out_objects.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_fixed_out_objects.page new file mode 100644 index 00000000..c560c5af --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_fixed_out_objects.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_fixed_out_objects" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_array_fixed_out_objects</api:name> + </api:function> + + </info> + <title>test_array_fixed_out_objects</title> + +<synopsis><code mime="text/x-gjs"> +function test_array_fixed_out_objects():void { + // Gjs wrapper for regress_test_array_fixed_out_objects() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_fixed_size_int_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_fixed_size_int_in.page new file mode 100644 index 00000000..9670d04e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_fixed_size_int_in.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_fixed_size_int_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_array_fixed_size_int_in</api:name> + <api:arg> + <api:type>[Number]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>test_array_fixed_size_int_in</title> + +<synopsis><code mime="text/x-gjs"> +function test_array_fixed_size_int_in(ints:[Number]):Number { + // Gjs wrapper for regress_test_array_fixed_size_int_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>ints :</p></dt> +<dd><p>a list of 5 integers</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>the sum of the items in <code>ints</code></p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_fixed_size_int_out.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_fixed_size_int_out.page new file mode 100644 index 00000000..e3519249 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_fixed_size_int_out.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_fixed_size_int_out" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_array_fixed_size_int_out</api:name> + </api:function> + + </info> + <title>test_array_fixed_size_int_out</title> + +<synopsis><code mime="text/x-gjs"> +function test_array_fixed_size_int_out():void { + // Gjs wrapper for regress_test_array_fixed_size_int_out() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_fixed_size_int_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_fixed_size_int_return.page new file mode 100644 index 00000000..7773cf28 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_fixed_size_int_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_fixed_size_int_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>[Number]</api:type> + </api:returns> + <api:name>regress_test_array_fixed_size_int_return</api:name> + </api:function> + + </info> + <title>test_array_fixed_size_int_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_array_fixed_size_int_return():[Number] { + // Gjs wrapper for regress_test_array_fixed_size_int_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>a list of 5 integers ranging from 0 to 4</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_gint16_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_gint16_in.page new file mode 100644 index 00000000..20a8fb15 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_gint16_in.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_gint16_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_array_gint16_in</api:name> + <api:arg> + <api:type>[gint16]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>test_array_gint16_in</title> + +<synopsis><code mime="text/x-gjs"> +function test_array_gint16_in(ints:[gint16]):Number { + // Gjs wrapper for regress_test_array_gint16_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>ints :</p></dt> +<dd><p>List of ints</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_gint32_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_gint32_in.page new file mode 100644 index 00000000..121a81f9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_gint32_in.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_gint32_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>gint32</api:type> + </api:returns> + <api:name>regress_test_array_gint32_in</api:name> + <api:arg> + <api:type>[gint32]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>test_array_gint32_in</title> + +<synopsis><code mime="text/x-gjs"> +function test_array_gint32_in(ints:[gint32]):gint32 { + // Gjs wrapper for regress_test_array_gint32_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>ints :</p></dt> +<dd><p>List of ints</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_gint64_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_gint64_in.page new file mode 100644 index 00000000..82652a5f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_gint64_in.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_gint64_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_array_gint64_in</api:name> + <api:arg> + <api:type>[Number]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>test_array_gint64_in</title> + +<synopsis><code mime="text/x-gjs"> +function test_array_gint64_in(ints:[Number]):Number { + // Gjs wrapper for regress_test_array_gint64_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>ints :</p></dt> +<dd><p>List of ints</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_gint8_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_gint8_in.page new file mode 100644 index 00000000..0ed3479c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_gint8_in.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_gint8_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_array_gint8_in</api:name> + <api:arg> + <api:type>[gint8]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>test_array_gint8_in</title> + +<synopsis><code mime="text/x-gjs"> +function test_array_gint8_in(ints:[gint8]):Number { + // Gjs wrapper for regress_test_array_gint8_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>ints :</p></dt> +<dd><p>List of ints</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_gtype_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_gtype_in.page new file mode 100644 index 00000000..e7acd2b9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_gtype_in.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_gtype_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>String</api:type> + </api:returns> + <api:name>regress_test_array_gtype_in</api:name> + <api:arg> + <api:type>[GType]</api:type> + <api:name>types</api:name> + </api:arg> + </api:function> + + </info> + <title>test_array_gtype_in</title> + +<synopsis><code mime="text/x-gjs"> +function test_array_gtype_in(types:[GType]):String { + // Gjs wrapper for regress_test_array_gtype_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>types :</p></dt> +<dd><p>List of types</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>string representation of provided types</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_full_out.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_full_out.page new file mode 100644 index 00000000..c7f8ddd6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_full_out.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_int_full_out" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>[Number]</api:type> + </api:returns> + <api:name>regress_test_array_int_full_out</api:name> + </api:function> + + </info> + <title>test_array_int_full_out</title> + +<synopsis><code mime="text/x-gjs"> +function test_array_int_full_out():[Number] { + // Gjs wrapper for regress_test_array_int_full_out() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>a new array of integers.</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_in.page new file mode 100644 index 00000000..9339276a --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_in.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_int_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_array_int_in</api:name> + <api:arg> + <api:type>[Number]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>test_array_int_in</title> + +<synopsis><code mime="text/x-gjs"> +function test_array_int_in(ints:[Number]):Number { + // Gjs wrapper for regress_test_array_int_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>ints :</p></dt> +<dd><p>List of ints</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_inout.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_inout.page new file mode 100644 index 00000000..4f1fc06d --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_inout.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_int_inout" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_array_int_inout</api:name> + <api:arg> + <api:type>[Number]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>test_array_int_inout</title> + +<synopsis><code mime="text/x-gjs"> +function test_array_int_inout(ints:[Number]):void { + // Gjs wrapper for regress_test_array_int_inout() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>ints :</p></dt> +<dd><p>a list of integers whose items will be increased by 1, except the first that will be dropped</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_none_out.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_none_out.page new file mode 100644 index 00000000..1c47a95a --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_none_out.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_int_none_out" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>[Number]</api:type> + </api:returns> + <api:name>regress_test_array_int_none_out</api:name> + </api:function> + + </info> + <title>test_array_int_none_out</title> + +<synopsis><code mime="text/x-gjs"> +function test_array_int_none_out():[Number] { + // Gjs wrapper for regress_test_array_int_none_out() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>a static array of integers.</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_null_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_null_in.page new file mode 100644 index 00000000..b37cb539 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_null_in.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_int_null_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_array_int_null_in</api:name> + <api:arg> + <api:type>[Number]</api:type> + <api:name>arr</api:name> + </api:arg> + </api:function> + + </info> + <title>test_array_int_null_in</title> + +<synopsis><code mime="text/x-gjs"> +function test_array_int_null_in(arr:[Number]):void { + // Gjs wrapper for regress_test_array_int_null_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>arr :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_null_out.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_null_out.page new file mode 100644 index 00000000..bdc8eabb --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_null_out.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_int_null_out" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_array_int_null_out</api:name> + </api:function> + + </info> + <title>test_array_int_null_out</title> + +<synopsis><code mime="text/x-gjs"> +function test_array_int_null_out():void { + // Gjs wrapper for regress_test_array_int_null_out() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_out.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_out.page new file mode 100644 index 00000000..987667f7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_out.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_int_out" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_array_int_out</api:name> + </api:function> + + </info> + <title>test_array_int_out</title> + +<synopsis><code mime="text/x-gjs"> +function test_array_int_out():void { + // Gjs wrapper for regress_test_array_int_out() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_async_ready_callback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_async_ready_callback.page new file mode 100644 index 00000000..c6ccd906 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_async_ready_callback.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_async_ready_callback" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_async_ready_callback</api:name> + <api:arg> + <api:type>Gio.AsyncReadyCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>test_async_ready_callback</title> + +<synopsis><code mime="text/x-gjs"> +function test_async_ready_callback(callback:Gio.AsyncReadyCallback):void { + // Gjs wrapper for regress_test_async_ready_callback() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_boolean.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_boolean.page new file mode 100644 index 00000000..9e505ac4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_boolean.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_boolean" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Boolean</api:type> + </api:returns> + <api:name>regress_test_boolean</api:name> + <api:arg> + <api:type>Boolean</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_boolean</title> + +<synopsis><code mime="text/x-gjs"> +function test_boolean(in:Boolean):Boolean { + // Gjs wrapper for regress_test_boolean() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_boolean_false.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_boolean_false.page new file mode 100644 index 00000000..3d3aec15 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_boolean_false.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_boolean_false" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Boolean</api:type> + </api:returns> + <api:name>regress_test_boolean_false</api:name> + <api:arg> + <api:type>Boolean</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_boolean_false</title> + +<synopsis><code mime="text/x-gjs"> +function test_boolean_false(in:Boolean):Boolean { + // Gjs wrapper for regress_test_boolean_false() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_boolean_true.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_boolean_true.page new file mode 100644 index 00000000..a25d7048 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_boolean_true.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_boolean_true" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Boolean</api:type> + </api:returns> + <api:name>regress_test_boolean_true</api:name> + <api:arg> + <api:type>Boolean</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_boolean_true</title> + +<synopsis><code mime="text/x-gjs"> +function test_boolean_true(in:Boolean):Boolean { + // Gjs wrapper for regress_test_boolean_true() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_context_full_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_context_full_return.page new file mode 100644 index 00000000..d51550e7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_context_full_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_cairo_context_full_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>cairo.Context</api:type> + </api:returns> + <api:name>regress_test_cairo_context_full_return</api:name> + </api:function> + + </info> + <title>test_cairo_context_full_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_cairo_context_full_return():cairo.Context { + // Gjs wrapper for regress_test_cairo_context_full_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_context_none_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_context_none_in.page new file mode 100644 index 00000000..b0f4f9b2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_context_none_in.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_cairo_context_none_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_cairo_context_none_in</api:name> + <api:arg> + <api:type>cairo.Context</api:type> + <api:name>context</api:name> + </api:arg> + </api:function> + + </info> + <title>test_cairo_context_none_in</title> + +<synopsis><code mime="text/x-gjs"> +function test_cairo_context_none_in(context:cairo.Context):void { + // Gjs wrapper for regress_test_cairo_context_none_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>context :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_full_out.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_full_out.page new file mode 100644 index 00000000..be96339d --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_full_out.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.test_cairo_surface_full_out" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_cairo_surface_full_out</api:name> + </api:function> + + </info> + <title>test_cairo_surface_full_out</title> + +<synopsis><code mime="text/x-gjs"> +function test_cairo_surface_full_out():void { + // Gjs wrapper for regress_test_cairo_surface_full_out() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_full_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_full_return.page new file mode 100644 index 00000000..be1ca3f1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_full_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_cairo_surface_full_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>cairo.Surface</api:type> + </api:returns> + <api:name>regress_test_cairo_surface_full_return</api:name> + </api:function> + + </info> + <title>test_cairo_surface_full_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_cairo_surface_full_return():cairo.Surface { + // Gjs wrapper for regress_test_cairo_surface_full_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_none_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_none_in.page new file mode 100644 index 00000000..e875ab1d --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_none_in.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_cairo_surface_none_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_cairo_surface_none_in</api:name> + <api:arg> + <api:type>cairo.Surface</api:type> + <api:name>surface</api:name> + </api:arg> + </api:function> + + </info> + <title>test_cairo_surface_none_in</title> + +<synopsis><code mime="text/x-gjs"> +function test_cairo_surface_none_in(surface:cairo.Surface):void { + // Gjs wrapper for regress_test_cairo_surface_none_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>surface :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_none_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_none_return.page new file mode 100644 index 00000000..cbfd688e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_none_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_cairo_surface_none_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>cairo.Surface</api:type> + </api:returns> + <api:name>regress_test_cairo_surface_none_return</api:name> + </api:function> + + </info> + <title>test_cairo_surface_none_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_cairo_surface_none_return():cairo.Surface { + // Gjs wrapper for regress_test_cairo_surface_none_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback.page new file mode 100644 index 00000000..a9db3a5a --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_callback" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_callback</api:name> + <api:arg> + <api:type>Regress.TestCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>test_callback</title> + +<synopsis><code mime="text/x-gjs"> +function test_callback(callback:Regress.TestCallback):Number { + // Gjs wrapper for regress_test_callback() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback_async.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback_async.page new file mode 100644 index 00000000..f9db1242 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback_async.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_callback_async" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_callback_async</api:name> + <api:arg> + <api:type>Regress.TestCallbackUserData</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>test_callback_async</title> + +<synopsis><code mime="text/x-gjs"> +function test_callback_async(callback:Regress.TestCallbackUserData):void { + // Gjs wrapper for regress_test_callback_async() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback_destroy_notify.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback_destroy_notify.page new file mode 100644 index 00000000..3e0c93e3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback_destroy_notify.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_callback_destroy_notify" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_callback_destroy_notify</api:name> + <api:arg> + <api:type>Regress.TestCallbackUserData</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>test_callback_destroy_notify</title> + +<synopsis><code mime="text/x-gjs"> +function test_callback_destroy_notify(callback:Regress.TestCallbackUserData):Number { + // Gjs wrapper for regress_test_callback_destroy_notify() +} +</code></synopsis> + + + <p>Notified - callback persists until a DestroyNotify delegate +is invoked.</p> + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback_destroy_notify_no_user_data.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback_destroy_notify_no_user_data.page new file mode 100644 index 00000000..a009729e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback_destroy_notify_no_user_data.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_callback_destroy_notify_no_user_data" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_callback_destroy_notify_no_user_data</api:name> + <api:arg> + <api:type>Regress.TestCallbackUserData</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>test_callback_destroy_notify_no_user_data</title> + +<synopsis><code mime="text/x-gjs"> +function test_callback_destroy_notify_no_user_data(callback:Regress.TestCallbackUserData):Number { + // Gjs wrapper for regress_test_callback_destroy_notify_no_user_data() +} +</code></synopsis> + + + <p>Adds a scope notified callback with no user data. This can invoke an error +condition in bindings which needs to be tested.</p> + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback_thaw_async.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback_thaw_async.page new file mode 100644 index 00000000..10d2088b --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback_thaw_async.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_callback_thaw_async" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_callback_thaw_async</api:name> + </api:function> + + </info> + <title>test_callback_thaw_async</title> + +<synopsis><code mime="text/x-gjs"> +function test_callback_thaw_async():Number { + // Gjs wrapper for regress_test_callback_thaw_async() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback_thaw_notifications.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback_thaw_notifications.page new file mode 100644 index 00000000..49c482ca --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback_thaw_notifications.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_callback_thaw_notifications" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_callback_thaw_notifications</api:name> + </api:function> + + </info> + <title>test_callback_thaw_notifications</title> + +<synopsis><code mime="text/x-gjs"> +function test_callback_thaw_notifications():Number { + // Gjs wrapper for regress_test_callback_thaw_notifications() +} +</code></synopsis> + + + <p>Invokes all callbacks installed by #test_callback_destroy_notify(), +adding up their return values, and removes them, invoking the +corresponding destroy notfications.</p> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>Sum of the return values of the invoked callbacks.</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback_user_data.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback_user_data.page new file mode 100644 index 00000000..c17015a1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_callback_user_data.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_callback_user_data" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_callback_user_data</api:name> + <api:arg> + <api:type>Regress.TestCallbackUserData</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>test_callback_user_data</title> + +<synopsis><code mime="text/x-gjs"> +function test_callback_user_data(callback:Regress.TestCallbackUserData):Number { + // Gjs wrapper for regress_test_callback_user_data() +} +</code></synopsis> + + + <p>Call - callback parameter persists for the duration of the method +call and can be released on return.</p> + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure.page new file mode 100644 index 00000000..23347814 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_closure" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_closure</api:name> + <api:arg> + <api:type>GObject.Closure</api:type> + <api:name>closure</api:name> + </api:arg> + </api:function> + + </info> + <title>test_closure</title> + +<synopsis><code mime="text/x-gjs"> +function test_closure(closure:GObject.Closure):Number { + // Gjs wrapper for regress_test_closure() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>closure :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure_one_arg.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure_one_arg.page new file mode 100644 index 00000000..71d015b6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure_one_arg.page @@ -0,0 +1,52 @@ +<?xml version="1.0"?> +<page id="Regress.test_closure_one_arg" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_closure_one_arg</api:name> + <api:arg> + <api:type>GObject.Closure</api:type> + <api:name>closure</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>arg</api:name> + </api:arg> + </api:function> + + </info> + <title>test_closure_one_arg</title> + +<synopsis><code mime="text/x-gjs"> +function test_closure_one_arg(closure:GObject.Closure, arg:Number):Number { + // Gjs wrapper for regress_test_closure_one_arg() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>closure :</p></dt> +<dd></dd> +<dt><p>arg :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure_variant.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure_variant.page new file mode 100644 index 00000000..f0d84088 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure_variant.page @@ -0,0 +1,52 @@ +<?xml version="1.0"?> +<page id="Regress.test_closure_variant" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GLib.Variant</api:type> + </api:returns> + <api:name>regress_test_closure_variant</api:name> + <api:arg> + <api:type>GObject.Closure</api:type> + <api:name>closure</api:name> + </api:arg> + <api:arg> + <api:type>GLib.Variant</api:type> + <api:name>arg</api:name> + </api:arg> + </api:function> + + </info> + <title>test_closure_variant</title> + +<synopsis><code mime="text/x-gjs"> +function test_closure_variant(closure:GObject.Closure, arg:GLib.Variant):GLib.Variant { + // Gjs wrapper for regress_test_closure_variant() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>closure :</p></dt> +<dd><p>GClosure which takes one GVariant and returns a GVariant</p></dd> +<dt><p>arg :</p></dt> +<dd><p>a GVariant passed as argument to <code>closure</code></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>the return value of <code>closure</code></p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_date_in_gvalue.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_date_in_gvalue.page new file mode 100644 index 00000000..1bbead66 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_date_in_gvalue.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_date_in_gvalue" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GObject.Value</api:type> + </api:returns> + <api:name>regress_test_date_in_gvalue</api:name> + </api:function> + + </info> + <title>test_date_in_gvalue</title> + +<synopsis><code mime="text/x-gjs"> +function test_date_in_gvalue():GObject.Value { + // Gjs wrapper for regress_test_date_in_gvalue() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_def_error_quark.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_def_error_quark.page new file mode 100644 index 00000000..c93ebefd --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_def_error_quark.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_def_error_quark" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GLib.Quark</api:type> + </api:returns> + <api:name>regress_test_def_error_quark</api:name> + </api:function> + + </info> + <title>test_def_error_quark</title> + +<synopsis><code mime="text/x-gjs"> +function test_def_error_quark():GLib.Quark { + // Gjs wrapper for regress_test_def_error_quark() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_double.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_double.page new file mode 100644 index 00000000..3074d369 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_double.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_double" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_double</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_double</title> + +<synopsis><code mime="text/x-gjs"> +function test_double(in:Number):Number { + // Gjs wrapper for regress_test_double() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_filename_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_filename_return.page new file mode 100644 index 00000000..1b316534 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_filename_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_filename_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>regress_test_filename_return</api:name> + </api:function> + + </info> + <title>test_filename_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_filename_return():<list> { + // Gjs wrapper for regress_test_filename_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>list of strings</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_float.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_float.page new file mode 100644 index 00000000..e255ede8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_float.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_float" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_float</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_float</title> + +<synopsis><code mime="text/x-gjs"> +function test_float(in:Number):Number { + // Gjs wrapper for regress_test_float() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_garray_container_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_garray_container_return.page new file mode 100644 index 00000000..996d9d1c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_garray_container_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_garray_container_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>[String]</api:type> + </api:returns> + <api:name>regress_test_garray_container_return</api:name> + </api:function> + + </info> + <title>test_garray_container_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_garray_container_return():[String] { + // Gjs wrapper for regress_test_garray_container_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_garray_full_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_garray_full_return.page new file mode 100644 index 00000000..9b9bfbe4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_garray_full_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_garray_full_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>[String]</api:type> + </api:returns> + <api:name>regress_test_garray_full_return</api:name> + </api:function> + + </info> + <title>test_garray_full_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_garray_full_return():[String] { + // Gjs wrapper for regress_test_garray_full_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gerror_callback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gerror_callback.page new file mode 100644 index 00000000..f34a4220 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gerror_callback.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_gerror_callback" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_gerror_callback</api:name> + <api:arg> + <api:type>Regress.TestCallbackGError</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>test_gerror_callback</title> + +<synopsis><code mime="text/x-gjs"> +function test_gerror_callback(callback:Regress.TestCallbackGError):void { + // Gjs wrapper for regress_test_gerror_callback() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_container_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_container_return.page new file mode 100644 index 00000000..46f1663d --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_container_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_container_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>{String: String}</api:type> + </api:returns> + <api:name>regress_test_ghash_container_return</api:name> + </api:function> + + </info> + <title>test_ghash_container_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_ghash_container_return():{String: String} { + // Gjs wrapper for regress_test_ghash_container_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_everything_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_everything_return.page new file mode 100644 index 00000000..863d3a6e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_everything_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_everything_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>{String: String}</api:type> + </api:returns> + <api:name>regress_test_ghash_everything_return</api:name> + </api:function> + + </info> + <title>test_ghash_everything_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_ghash_everything_return():{String: String} { + // Gjs wrapper for regress_test_ghash_everything_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_gvalue_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_gvalue_in.page new file mode 100644 index 00000000..629039dc --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_gvalue_in.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_gvalue_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_ghash_gvalue_in</api:name> + <api:arg> + <api:type>{String: GObject.Value}</api:type> + <api:name>hash</api:name> + </api:arg> + </api:function> + + </info> + <title>test_ghash_gvalue_in</title> + +<synopsis><code mime="text/x-gjs"> +function test_ghash_gvalue_in(hash:{String: GObject.Value}):void { + // Gjs wrapper for regress_test_ghash_gvalue_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>hash :</p></dt> +<dd><p>the hash table returned by <link xref="Regress.test_ghash_gvalue_return"/>.</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_gvalue_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_gvalue_return.page new file mode 100644 index 00000000..881fc772 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_gvalue_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_gvalue_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>{String: GObject.Value}</api:type> + </api:returns> + <api:name>regress_test_ghash_gvalue_return</api:name> + </api:function> + + </info> + <title>test_ghash_gvalue_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_ghash_gvalue_return():{String: GObject.Value} { + // Gjs wrapper for regress_test_ghash_gvalue_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_nested_everything_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_nested_everything_return.page new file mode 100644 index 00000000..a7503357 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_nested_everything_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_nested_everything_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>{String: {String: String}}</api:type> + </api:returns> + <api:name>regress_test_ghash_nested_everything_return</api:name> + </api:function> + + </info> + <title>test_ghash_nested_everything_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_ghash_nested_everything_return():{String: {String: String}} { + // Gjs wrapper for regress_test_ghash_nested_everything_return() +} +</code></synopsis> + + + <p>Specify nested parameterized types directly with the (type ) annotation.</p> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_nested_everything_return2.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_nested_everything_return2.page new file mode 100644 index 00000000..ec6d7128 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_nested_everything_return2.page @@ -0,0 +1,41 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_nested_everything_return2" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>{String: {String: String}}</api:type> + </api:returns> + <api:name>regress_test_ghash_nested_everything_return2</api:name> + </api:function> + + </info> + <title>test_ghash_nested_everything_return2</title> + +<synopsis><code mime="text/x-gjs"> +function test_ghash_nested_everything_return2():{String: {String: String}} { + // Gjs wrapper for regress_test_ghash_nested_everything_return2() +} +</code></synopsis> + + + <p>Another way of specifying nested parameterized types: using the +element-type annotation.</p> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_nothing_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_nothing_in.page new file mode 100644 index 00000000..d54a6594 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_nothing_in.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_nothing_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_ghash_nothing_in</api:name> + <api:arg> + <api:type>{String: String}</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_ghash_nothing_in</title> + +<synopsis><code mime="text/x-gjs"> +function test_ghash_nothing_in(in:{String: String}):void { + // Gjs wrapper for regress_test_ghash_nothing_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_nothing_in2.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_nothing_in2.page new file mode 100644 index 00000000..a6d376e1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_nothing_in2.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_nothing_in2" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_ghash_nothing_in2</api:name> + <api:arg> + <api:type>{String: String}</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_ghash_nothing_in2</title> + +<synopsis><code mime="text/x-gjs"> +function test_ghash_nothing_in2(in:{String: String}):void { + // Gjs wrapper for regress_test_ghash_nothing_in2() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_nothing_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_nothing_return.page new file mode 100644 index 00000000..5e18e086 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_nothing_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_nothing_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>{String: String}</api:type> + </api:returns> + <api:name>regress_test_ghash_nothing_return</api:name> + </api:function> + + </info> + <title>test_ghash_nothing_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_ghash_nothing_return():{String: String} { + // Gjs wrapper for regress_test_ghash_nothing_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_nothing_return2.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_nothing_return2.page new file mode 100644 index 00000000..fe99a700 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_nothing_return2.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_nothing_return2" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>{String: String}</api:type> + </api:returns> + <api:name>regress_test_ghash_nothing_return2</api:name> + </api:function> + + </info> + <title>test_ghash_nothing_return2</title> + +<synopsis><code mime="text/x-gjs"> +function test_ghash_nothing_return2():{String: String} { + // Gjs wrapper for regress_test_ghash_nothing_return2() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_null_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_null_in.page new file mode 100644 index 00000000..f984cc68 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_null_in.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_null_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_ghash_null_in</api:name> + <api:arg> + <api:type>{String: String}</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_ghash_null_in</title> + +<synopsis><code mime="text/x-gjs"> +function test_ghash_null_in(in:{String: String}):void { + // Gjs wrapper for regress_test_ghash_null_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_null_out.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_null_out.page new file mode 100644 index 00000000..e4c1583d --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_null_out.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_null_out" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_ghash_null_out</api:name> + </api:function> + + </info> + <title>test_ghash_null_out</title> + +<synopsis><code mime="text/x-gjs"> +function test_ghash_null_out():void { + // Gjs wrapper for regress_test_ghash_null_out() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_null_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_null_return.page new file mode 100644 index 00000000..60c23f56 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_null_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_null_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>{String: String}</api:type> + </api:returns> + <api:name>regress_test_ghash_null_return</api:name> + </api:function> + + </info> + <title>test_ghash_null_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_ghash_null_return():{String: String} { + // Gjs wrapper for regress_test_ghash_null_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_container_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_container_return.page new file mode 100644 index 00000000..f1c08c40 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_container_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_glist_container_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>regress_test_glist_container_return</api:name> + </api:function> + + </info> + <title>test_glist_container_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_glist_container_return():<list> { + // Gjs wrapper for regress_test_glist_container_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_everything_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_everything_return.page new file mode 100644 index 00000000..d54c8884 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_everything_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_glist_everything_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>regress_test_glist_everything_return</api:name> + </api:function> + + </info> + <title>test_glist_everything_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_glist_everything_return():<list> { + // Gjs wrapper for regress_test_glist_everything_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_nothing_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_nothing_in.page new file mode 100644 index 00000000..b041b94d --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_nothing_in.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_glist_nothing_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_glist_nothing_in</api:name> + <api:arg> + <api:type><list></api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_glist_nothing_in</title> + +<synopsis><code mime="text/x-gjs"> +function test_glist_nothing_in(in:<list>):void { + // Gjs wrapper for regress_test_glist_nothing_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_nothing_in2.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_nothing_in2.page new file mode 100644 index 00000000..c5a7d9b3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_nothing_in2.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_glist_nothing_in2" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_glist_nothing_in2</api:name> + <api:arg> + <api:type><list></api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_glist_nothing_in2</title> + +<synopsis><code mime="text/x-gjs"> +function test_glist_nothing_in2(in:<list>):void { + // Gjs wrapper for regress_test_glist_nothing_in2() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_nothing_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_nothing_return.page new file mode 100644 index 00000000..2a0af9f9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_nothing_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_glist_nothing_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>regress_test_glist_nothing_return</api:name> + </api:function> + + </info> + <title>test_glist_nothing_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_glist_nothing_return():<list> { + // Gjs wrapper for regress_test_glist_nothing_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_nothing_return2.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_nothing_return2.page new file mode 100644 index 00000000..4c2a63cd --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_nothing_return2.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_glist_nothing_return2" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>regress_test_glist_nothing_return2</api:name> + </api:function> + + </info> + <title>test_glist_nothing_return2</title> + +<synopsis><code mime="text/x-gjs"> +function test_glist_nothing_return2():<list> { + // Gjs wrapper for regress_test_glist_nothing_return2() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_null_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_null_in.page new file mode 100644 index 00000000..4579c800 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_null_in.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_glist_null_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_glist_null_in</api:name> + <api:arg> + <api:type><list></api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_glist_null_in</title> + +<synopsis><code mime="text/x-gjs"> +function test_glist_null_in(in:<list>):void { + // Gjs wrapper for regress_test_glist_null_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_null_out.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_null_out.page new file mode 100644 index 00000000..5b82c2e4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_glist_null_out.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.test_glist_null_out" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_glist_null_out</api:name> + </api:function> + + </info> + <title>test_glist_null_out</title> + +<synopsis><code mime="text/x-gjs"> +function test_glist_null_out():void { + // Gjs wrapper for regress_test_glist_null_out() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_container_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_container_return.page new file mode 100644 index 00000000..14334e03 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_container_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_gslist_container_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>regress_test_gslist_container_return</api:name> + </api:function> + + </info> + <title>test_gslist_container_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_gslist_container_return():<list> { + // Gjs wrapper for regress_test_gslist_container_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_everything_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_everything_return.page new file mode 100644 index 00000000..d9746870 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_everything_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_gslist_everything_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>regress_test_gslist_everything_return</api:name> + </api:function> + + </info> + <title>test_gslist_everything_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_gslist_everything_return():<list> { + // Gjs wrapper for regress_test_gslist_everything_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_nothing_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_nothing_in.page new file mode 100644 index 00000000..9379cef6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_nothing_in.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_gslist_nothing_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_gslist_nothing_in</api:name> + <api:arg> + <api:type><list></api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_gslist_nothing_in</title> + +<synopsis><code mime="text/x-gjs"> +function test_gslist_nothing_in(in:<list>):void { + // Gjs wrapper for regress_test_gslist_nothing_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_nothing_in2.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_nothing_in2.page new file mode 100644 index 00000000..87607bc7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_nothing_in2.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_gslist_nothing_in2" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_gslist_nothing_in2</api:name> + <api:arg> + <api:type><list></api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_gslist_nothing_in2</title> + +<synopsis><code mime="text/x-gjs"> +function test_gslist_nothing_in2(in:<list>):void { + // Gjs wrapper for regress_test_gslist_nothing_in2() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_nothing_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_nothing_return.page new file mode 100644 index 00000000..79637032 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_nothing_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_gslist_nothing_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>regress_test_gslist_nothing_return</api:name> + </api:function> + + </info> + <title>test_gslist_nothing_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_gslist_nothing_return():<list> { + // Gjs wrapper for regress_test_gslist_nothing_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_nothing_return2.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_nothing_return2.page new file mode 100644 index 00000000..761b7b67 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_nothing_return2.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_gslist_nothing_return2" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>regress_test_gslist_nothing_return2</api:name> + </api:function> + + </info> + <title>test_gslist_nothing_return2</title> + +<synopsis><code mime="text/x-gjs"> +function test_gslist_nothing_return2():<list> { + // Gjs wrapper for regress_test_gslist_nothing_return2() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_null_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_null_in.page new file mode 100644 index 00000000..928f1d30 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_null_in.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_gslist_null_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_gslist_null_in</api:name> + <api:arg> + <api:type><list></api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_gslist_null_in</title> + +<synopsis><code mime="text/x-gjs"> +function test_gslist_null_in(in:<list>):void { + // Gjs wrapper for regress_test_gslist_null_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_null_out.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_null_out.page new file mode 100644 index 00000000..a25e08e9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gslist_null_out.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.test_gslist_null_out" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_gslist_null_out</api:name> + </api:function> + + </info> + <title>test_gslist_null_out</title> + +<synopsis><code mime="text/x-gjs"> +function test_gslist_null_out():void { + // Gjs wrapper for regress_test_gslist_null_out() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gtype.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gtype.page new file mode 100644 index 00000000..9adb3fad --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gtype.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_gtype" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GType</api:type> + </api:returns> + <api:name>regress_test_gtype</api:name> + <api:arg> + <api:type>GType</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_gtype</title> + +<synopsis><code mime="text/x-gjs"> +function test_gtype(in:GType):GType { + // Gjs wrapper for regress_test_gtype() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_as.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_as.page new file mode 100644 index 00000000..8558a6bd --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_as.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_gvariant_as" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GLib.Variant</api:type> + </api:returns> + <api:name>regress_test_gvariant_as</api:name> + </api:function> + + </info> + <title>test_gvariant_as</title> + +<synopsis><code mime="text/x-gjs"> +function test_gvariant_as():GLib.Variant { + // Gjs wrapper for regress_test_gvariant_as() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>New variant</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_asv.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_asv.page new file mode 100644 index 00000000..2671f72e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_asv.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_gvariant_asv" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GLib.Variant</api:type> + </api:returns> + <api:name>regress_test_gvariant_asv</api:name> + </api:function> + + </info> + <title>test_gvariant_asv</title> + +<synopsis><code mime="text/x-gjs"> +function test_gvariant_asv():GLib.Variant { + // Gjs wrapper for regress_test_gvariant_asv() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>New variant</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_i.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_i.page new file mode 100644 index 00000000..e54e6221 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_i.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_gvariant_i" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GLib.Variant</api:type> + </api:returns> + <api:name>regress_test_gvariant_i</api:name> + </api:function> + + </info> + <title>test_gvariant_i</title> + +<synopsis><code mime="text/x-gjs"> +function test_gvariant_i():GLib.Variant { + // Gjs wrapper for regress_test_gvariant_i() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>New variant</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_s.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_s.page new file mode 100644 index 00000000..61cf1e7c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_s.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_gvariant_s" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GLib.Variant</api:type> + </api:returns> + <api:name>regress_test_gvariant_s</api:name> + </api:function> + + </info> + <title>test_gvariant_s</title> + +<synopsis><code mime="text/x-gjs"> +function test_gvariant_s():GLib.Variant { + // Gjs wrapper for regress_test_gvariant_s() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>New variant</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_v.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_v.page new file mode 100644 index 00000000..3cecce56 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_v.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_gvariant_v" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GLib.Variant</api:type> + </api:returns> + <api:name>regress_test_gvariant_v</api:name> + </api:function> + + </info> + <title>test_gvariant_v</title> + +<synopsis><code mime="text/x-gjs"> +function test_gvariant_v():GLib.Variant { + // Gjs wrapper for regress_test_gvariant_v() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>New variant</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_hash_table_callback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_hash_table_callback.page new file mode 100644 index 00000000..67790100 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_hash_table_callback.page @@ -0,0 +1,50 @@ +<?xml version="1.0"?> +<page id="Regress.test_hash_table_callback" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_hash_table_callback</api:name> + <api:arg> + <api:type>{String: Number}</api:type> + <api:name>data</api:name> + </api:arg> + <api:arg> + <api:type>Regress.TestCallbackHashtable</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>test_hash_table_callback</title> + +<synopsis><code mime="text/x-gjs"> +function test_hash_table_callback(data:{String: Number}, callback:Regress.TestCallbackHashtable):void { + // Gjs wrapper for regress_test_hash_table_callback() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>data :</p></dt> +<dd><p>GHashTable that gets passed to callback</p></dd> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int.page new file mode 100644 index 00000000..5007da2f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_int" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_int</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_int</title> + +<synopsis><code mime="text/x-gjs"> +function test_int(in:Number):Number { + // Gjs wrapper for regress_test_int() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int16.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int16.page new file mode 100644 index 00000000..16a4a0b2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int16.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_int16" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>gint16</api:type> + </api:returns> + <api:name>regress_test_int16</api:name> + <api:arg> + <api:type>gint16</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_int16</title> + +<synopsis><code mime="text/x-gjs"> +function test_int16(in:gint16):gint16 { + // Gjs wrapper for regress_test_int16() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int32.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int32.page new file mode 100644 index 00000000..e8ecc278 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int32.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_int32" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>gint32</api:type> + </api:returns> + <api:name>regress_test_int32</api:name> + <api:arg> + <api:type>gint32</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_int32</title> + +<synopsis><code mime="text/x-gjs"> +function test_int32(in:gint32):gint32 { + // Gjs wrapper for regress_test_int32() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int64.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int64.page new file mode 100644 index 00000000..16851bbd --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int64.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_int64" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_int64</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_int64</title> + +<synopsis><code mime="text/x-gjs"> +function test_int64(in:Number):Number { + // Gjs wrapper for regress_test_int64() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int8.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int8.page new file mode 100644 index 00000000..c4f86698 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int8.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_int8" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>gint8</api:type> + </api:returns> + <api:name>regress_test_int8</api:name> + <api:arg> + <api:type>gint8</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_int8</title> + +<synopsis><code mime="text/x-gjs"> +function test_int8(in:gint8):gint8 { + // Gjs wrapper for regress_test_int8() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int_out_utf8.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int_out_utf8.page new file mode 100644 index 00000000..3f1aac0d --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int_out_utf8.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_int_out_utf8" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_int_out_utf8</api:name> + <api:arg> + <api:type>String</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_int_out_utf8</title> + +<synopsis><code mime="text/x-gjs"> +function test_int_out_utf8(in:String):void { + // Gjs wrapper for regress_test_int_out_utf8() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int_value_arg.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int_value_arg.page new file mode 100644 index 00000000..a7fc7317 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int_value_arg.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_int_value_arg" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_int_value_arg</api:name> + <api:arg> + <api:type>GObject.Value</api:type> + <api:name>v</api:name> + </api:arg> + </api:function> + + </info> + <title>test_int_value_arg</title> + +<synopsis><code mime="text/x-gjs"> +function test_int_value_arg(v:GObject.Value):Number { + // Gjs wrapper for regress_test_int_value_arg() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>v :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_long.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_long.page new file mode 100644 index 00000000..fb7aa3f4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_long.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_long" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_long</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_long</title> + +<synopsis><code mime="text/x-gjs"> +function test_long(in:Number):Number { + // Gjs wrapper for regress_test_long() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_multi_callback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_multi_callback.page new file mode 100644 index 00000000..56fc3228 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_multi_callback.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_multi_callback" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_multi_callback</api:name> + <api:arg> + <api:type>Regress.TestCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>test_multi_callback</title> + +<synopsis><code mime="text/x-gjs"> +function test_multi_callback(callback:Regress.TestCallback):Number { + // Gjs wrapper for regress_test_multi_callback() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_multi_double_args.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_multi_double_args.page new file mode 100644 index 00000000..5a699956 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_multi_double_args.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_multi_double_args" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_multi_double_args</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_multi_double_args</title> + +<synopsis><code mime="text/x-gjs"> +function test_multi_double_args(in:Number):void { + // Gjs wrapper for regress_test_multi_double_args() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_multiline_doc_comments.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_multiline_doc_comments.page new file mode 100644 index 00000000..21e97a2f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_multiline_doc_comments.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.test_multiline_doc_comments" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_multiline_doc_comments</api:name> + </api:function> + + </info> + <title>test_multiline_doc_comments</title> + +<synopsis><code mime="text/x-gjs"> +function test_multiline_doc_comments():void { + // Gjs wrapper for regress_test_multiline_doc_comments() +} +</code></synopsis> + + + <p>This is a function.</p><p>It has multiple lines in the documentation.</p><p>The sky is blue.</p><p>You will give me your credit card number.</p> + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_nested_parameter.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_nested_parameter.page new file mode 100644 index 00000000..087a2482 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_nested_parameter.page @@ -0,0 +1,69 @@ +<?xml version="1.0"?> +<page id="Regress.test_nested_parameter" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_nested_parameter</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>a</api:name> + </api:arg> + </api:function> + + </info> + <title>test_nested_parameter</title> + +<synopsis><code mime="text/x-gjs"> +function test_nested_parameter(a:Number):void { + // Gjs wrapper for regress_test_nested_parameter() +} +</code></synopsis> + + + <p><informaltable> + <tgroup cols="3"> + <thead> + <row> + <entry>Syntax</entry> + <entry>Explanation</entry> + <entry>Examples</entry> + </row> + </thead> + <tbody> + <row> + <entry>rgb(@r, @g, @b)</entry> + <entry>An opaque color; @r, @g, @b can be either integers between + 0 and 255 or percentages</entry> + <entry><literallayout>rgb(128, 10, 54) +rgb(20%, 30%, 0%)</literallayout></entry> + </row> + <row> + <entry>rgba(@r, @g, @b, <code>a</code>)</entry> + <entry>A translucent color; @r, @g, @b are as in the previous row, + <code>a</code> is a floating point number between 0 and 1</entry> + <entry><literallayout>rgba(255, 255, 0, 0.5)</literallayout></entry> + </row> + </tbody> + </tgroup> +</informaltable></p><p>What we're testing here is that the scanner ignores the <code>a</code> nested inside XML.</p> + + + + +<dl> +<dt><p>a :</p></dt> +<dd><p>An integer</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_null_gerror_callback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_null_gerror_callback.page new file mode 100644 index 00000000..632be614 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_null_gerror_callback.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_null_gerror_callback" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_null_gerror_callback</api:name> + <api:arg> + <api:type>Regress.TestCallbackGError</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>test_null_gerror_callback</title> + +<synopsis><code mime="text/x-gjs"> +function test_null_gerror_callback(callback:Regress.TestCallbackGError):void { + // Gjs wrapper for regress_test_null_gerror_callback() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_owned_gerror_callback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_owned_gerror_callback.page new file mode 100644 index 00000000..5266607c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_owned_gerror_callback.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_owned_gerror_callback" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_owned_gerror_callback</api:name> + <api:arg> + <api:type>Regress.TestCallbackOwnedGError</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>test_owned_gerror_callback</title> + +<synopsis><code mime="text/x-gjs"> +function test_owned_gerror_callback(callback:Regress.TestCallbackOwnedGError):void { + // Gjs wrapper for regress_test_owned_gerror_callback() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_short.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_short.page new file mode 100644 index 00000000..ade0d1ec --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_short.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_short" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>gshort</api:type> + </api:returns> + <api:name>regress_test_short</api:name> + <api:arg> + <api:type>gshort</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_short</title> + +<synopsis><code mime="text/x-gjs"> +function test_short(in:gshort):gshort { + // Gjs wrapper for regress_test_short() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_simple_callback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_simple_callback.page new file mode 100644 index 00000000..1c44d090 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_simple_callback.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_simple_callback" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_simple_callback</api:name> + <api:arg> + <api:type>Regress.TestSimpleCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>test_simple_callback</title> + +<synopsis><code mime="text/x-gjs"> +function test_simple_callback(callback:Regress.TestSimpleCallback):void { + // Gjs wrapper for regress_test_simple_callback() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_size.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_size.page new file mode 100644 index 00000000..eead974e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_size.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_size" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>gsize</api:type> + </api:returns> + <api:name>regress_test_size</api:name> + <api:arg> + <api:type>gsize</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_size</title> + +<synopsis><code mime="text/x-gjs"> +function test_size(in:gsize):gsize { + // Gjs wrapper for regress_test_size() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_skip_unannotated_callback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_skip_unannotated_callback.page new file mode 100644 index 00000000..0107162b --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_skip_unannotated_callback.page @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<page id="Regress.test_skip_unannotated_callback" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_skip_unannotated_callback</api:name> + <api:arg> + <api:type>Regress.TestCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>test_skip_unannotated_callback</title> + +<synopsis><code mime="text/x-gjs"> +function test_skip_unannotated_callback(callback:Regress.TestCallback):void { + // Gjs wrapper for regress_test_skip_unannotated_callback() +} +</code></synopsis> + + + <p>Should not emit a warning: +https://bugzilla.gnome.org/show_bug.cgi?id=685399</p> + + + + +<dl> +<dt><p>callback :</p></dt> +<dd><p>No annotation here</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ssize.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ssize.page new file mode 100644 index 00000000..53c93808 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ssize.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_ssize" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>gssize</api:type> + </api:returns> + <api:name>regress_test_ssize</api:name> + <api:arg> + <api:type>gssize</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_ssize</title> + +<synopsis><code mime="text/x-gjs"> +function test_ssize(in:gssize):gssize { + // Gjs wrapper for regress_test_ssize() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_in.page new file mode 100644 index 00000000..ab2afcab --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_in.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_strv_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Boolean</api:type> + </api:returns> + <api:name>regress_test_strv_in</api:name> + <api:arg> + <api:type>[String]</api:type> + <api:name>arr</api:name> + </api:arg> + </api:function> + + </info> + <title>test_strv_in</title> + +<synopsis><code mime="text/x-gjs"> +function test_strv_in(arr:[String]):Boolean { + // Gjs wrapper for regress_test_strv_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>arr :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_in_gvalue.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_in_gvalue.page new file mode 100644 index 00000000..8a025d32 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_in_gvalue.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_strv_in_gvalue" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GObject.Value</api:type> + </api:returns> + <api:name>regress_test_strv_in_gvalue</api:name> + </api:function> + + </info> + <title>test_strv_in_gvalue</title> + +<synopsis><code mime="text/x-gjs"> +function test_strv_in_gvalue():GObject.Value { + // Gjs wrapper for regress_test_strv_in_gvalue() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_out.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_out.page new file mode 100644 index 00000000..b9273dd9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_out.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_strv_out" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>[String]</api:type> + </api:returns> + <api:name>regress_test_strv_out</api:name> + </api:function> + + </info> + <title>test_strv_out</title> + +<synopsis><code mime="text/x-gjs"> +function test_strv_out():[String] { + // Gjs wrapper for regress_test_strv_out() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_out_c.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_out_c.page new file mode 100644 index 00000000..b7854212 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_out_c.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_strv_out_c" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>[String]</api:type> + </api:returns> + <api:name>regress_test_strv_out_c</api:name> + </api:function> + + </info> + <title>test_strv_out_c</title> + +<synopsis><code mime="text/x-gjs"> +function test_strv_out_c():[String] { + // Gjs wrapper for regress_test_strv_out_c() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_out_container.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_out_container.page new file mode 100644 index 00000000..dcf19318 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_out_container.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_strv_out_container" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>[String]</api:type> + </api:returns> + <api:name>regress_test_strv_out_container</api:name> + </api:function> + + </info> + <title>test_strv_out_container</title> + +<synopsis><code mime="text/x-gjs"> +function test_strv_out_container():[String] { + // Gjs wrapper for regress_test_strv_out_container() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_outarg.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_outarg.page new file mode 100644 index 00000000..a465b61d --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_outarg.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.test_strv_outarg" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_strv_outarg</api:name> + </api:function> + + </info> + <title>test_strv_outarg</title> + +<synopsis><code mime="text/x-gjs"> +function test_strv_outarg():void { + // Gjs wrapper for regress_test_strv_outarg() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_timet.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_timet.page new file mode 100644 index 00000000..f75c9ad9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_timet.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_timet" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_timet</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_timet</title> + +<synopsis><code mime="text/x-gjs"> +function test_timet(in:Number):Number { + // Gjs wrapper for regress_test_timet() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_torture_signature_0.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_torture_signature_0.page new file mode 100644 index 00000000..269f16ac --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_torture_signature_0.page @@ -0,0 +1,56 @@ +<?xml version="1.0"?> +<page id="Regress.test_torture_signature_0" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_torture_signature_0</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>String</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>m</api:name> + </api:arg> + </api:function> + + </info> + <title>test_torture_signature_0</title> + +<synopsis><code mime="text/x-gjs"> +function test_torture_signature_0(x:Number, foo:String, m:Number):void { + // Gjs wrapper for regress_test_torture_signature_0() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>m :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_torture_signature_1.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_torture_signature_1.page new file mode 100644 index 00000000..7951588f --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_torture_signature_1.page @@ -0,0 +1,58 @@ +<?xml version="1.0"?> +<page id="Regress.test_torture_signature_1" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Boolean</api:type> + </api:returns> + <api:name>regress_test_torture_signature_1</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>String</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>m</api:name> + </api:arg> + </api:function> + + </info> + <title>test_torture_signature_1</title> + +<synopsis><code mime="text/x-gjs"> +function test_torture_signature_1(x:Number, foo:String, m:Number):Boolean { + // Gjs wrapper for regress_test_torture_signature_1() +} +</code></synopsis> + + + <p>This function throws an error if m is odd.</p> + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>m :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_torture_signature_2.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_torture_signature_2.page new file mode 100644 index 00000000..4504cf42 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_torture_signature_2.page @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<page id="Regress.test_torture_signature_2" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_torture_signature_2</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>Regress.TestCallbackUserData</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>String</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>m</api:name> + </api:arg> + </api:function> + + </info> + <title>test_torture_signature_2</title> + +<synopsis><code mime="text/x-gjs"> +function test_torture_signature_2(x:Number, callback:Regress.TestCallbackUserData, foo:String, m:Number):void { + // Gjs wrapper for regress_test_torture_signature_2() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>m :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_uint.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_uint.page new file mode 100644 index 00000000..0c514f34 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_uint.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_uint" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_uint</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_uint</title> + +<synopsis><code mime="text/x-gjs"> +function test_uint(in:Number):Number { + // Gjs wrapper for regress_test_uint() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_uint16.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_uint16.page new file mode 100644 index 00000000..dc0601f8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_uint16.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_uint16" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>guint16</api:type> + </api:returns> + <api:name>regress_test_uint16</api:name> + <api:arg> + <api:type>guint16</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_uint16</title> + +<synopsis><code mime="text/x-gjs"> +function test_uint16(in:guint16):guint16 { + // Gjs wrapper for regress_test_uint16() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_uint32.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_uint32.page new file mode 100644 index 00000000..282967df --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_uint32.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_uint32" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>guint32</api:type> + </api:returns> + <api:name>regress_test_uint32</api:name> + <api:arg> + <api:type>guint32</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_uint32</title> + +<synopsis><code mime="text/x-gjs"> +function test_uint32(in:guint32):guint32 { + // Gjs wrapper for regress_test_uint32() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_uint64.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_uint64.page new file mode 100644 index 00000000..ec408e66 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_uint64.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_uint64" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_uint64</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_uint64</title> + +<synopsis><code mime="text/x-gjs"> +function test_uint64(in:Number):Number { + // Gjs wrapper for regress_test_uint64() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_uint8.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_uint8.page new file mode 100644 index 00000000..77ac3334 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_uint8.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_uint8" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>guint8</api:type> + </api:returns> + <api:name>regress_test_uint8</api:name> + <api:arg> + <api:type>guint8</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_uint8</title> + +<synopsis><code mime="text/x-gjs"> +function test_uint8(in:guint8):guint8 { + // Gjs wrapper for regress_test_uint8() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ulong.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ulong.page new file mode 100644 index 00000000..4eb5f81d --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ulong.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_ulong" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_ulong</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_ulong</title> + +<synopsis><code mime="text/x-gjs"> +function test_ulong(in:Number):Number { + // Gjs wrapper for regress_test_ulong() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_unichar.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_unichar.page new file mode 100644 index 00000000..23a78300 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_unichar.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_unichar" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>String</api:type> + </api:returns> + <api:name>regress_test_unichar</api:name> + <api:arg> + <api:type>String</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_unichar</title> + +<synopsis><code mime="text/x-gjs"> +function test_unichar(in:String):String { + // Gjs wrapper for regress_test_unichar() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_unsigned_enum_param.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_unsigned_enum_param.page new file mode 100644 index 00000000..0bbc1735 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_unsigned_enum_param.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_unsigned_enum_param" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>String</api:type> + </api:returns> + <api:name>regress_test_unsigned_enum_param</api:name> + <api:arg> + <api:type>Regress.TestEnumUnsigned</api:type> + <api:name>e</api:name> + </api:arg> + </api:function> + + </info> + <title>test_unsigned_enum_param</title> + +<synopsis><code mime="text/x-gjs"> +function test_unsigned_enum_param(e:Regress.TestEnumUnsigned):String { + // Gjs wrapper for regress_test_unsigned_enum_param() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>e :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ushort.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ushort.page new file mode 100644 index 00000000..3a7b2607 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ushort.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_ushort" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>gushort</api:type> + </api:returns> + <api:name>regress_test_ushort</api:name> + <api:arg> + <api:type>gushort</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_ushort</title> + +<synopsis><code mime="text/x-gjs"> +function test_ushort(in:gushort):gushort { + // Gjs wrapper for regress_test_ushort() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_const_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_const_in.page new file mode 100644 index 00000000..9bfb3fd9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_const_in.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_utf8_const_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_utf8_const_in</api:name> + <api:arg> + <api:type>String</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_utf8_const_in</title> + +<synopsis><code mime="text/x-gjs"> +function test_utf8_const_in(in:String):void { + // Gjs wrapper for regress_test_utf8_const_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_const_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_const_return.page new file mode 100644 index 00000000..d8c76555 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_const_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_utf8_const_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>String</api:type> + </api:returns> + <api:name>regress_test_utf8_const_return</api:name> + </api:function> + + </info> + <title>test_utf8_const_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_utf8_const_return():String { + // Gjs wrapper for regress_test_utf8_const_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>UTF-8 string</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_inout.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_inout.page new file mode 100644 index 00000000..df85d8a8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_inout.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_utf8_inout" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_utf8_inout</api:name> + <api:arg> + <api:type>String</api:type> + <api:name>inout</api:name> + </api:arg> + </api:function> + + </info> + <title>test_utf8_inout</title> + +<synopsis><code mime="text/x-gjs"> +function test_utf8_inout(inout:String):void { + // Gjs wrapper for regress_test_utf8_inout() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>inout :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_nonconst_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_nonconst_return.page new file mode 100644 index 00000000..d4a00847 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_nonconst_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_utf8_nonconst_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>String</api:type> + </api:returns> + <api:name>regress_test_utf8_nonconst_return</api:name> + </api:function> + + </info> + <title>test_utf8_nonconst_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_utf8_nonconst_return():String { + // Gjs wrapper for regress_test_utf8_nonconst_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>UTF-8 string</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_null_in.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_null_in.page new file mode 100644 index 00000000..15c583bd --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_null_in.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_utf8_null_in" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_utf8_null_in</api:name> + <api:arg> + <api:type>String</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_utf8_null_in</title> + +<synopsis><code mime="text/x-gjs"> +function test_utf8_null_in(in:String):void { + // Gjs wrapper for regress_test_utf8_null_in() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_null_out.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_null_out.page new file mode 100644 index 00000000..af8db3af --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_null_out.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.test_utf8_null_out" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_utf8_null_out</api:name> + </api:function> + + </info> + <title>test_utf8_null_out</title> + +<synopsis><code mime="text/x-gjs"> +function test_utf8_null_out():void { + // Gjs wrapper for regress_test_utf8_null_out() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_out.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_out.page new file mode 100644 index 00000000..9692dc6b --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_out.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.test_utf8_out" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_utf8_out</api:name> + </api:function> + + </info> + <title>test_utf8_out</title> + +<synopsis><code mime="text/x-gjs"> +function test_utf8_out():void { + // Gjs wrapper for regress_test_utf8_out() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_out_nonconst_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_out_nonconst_return.page new file mode 100644 index 00000000..4e2cf0ed --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_out_nonconst_return.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.test_utf8_out_nonconst_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>String</api:type> + </api:returns> + <api:name>regress_test_utf8_out_nonconst_return</api:name> + </api:function> + + </info> + <title>test_utf8_out_nonconst_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_utf8_out_nonconst_return():String { + // Gjs wrapper for regress_test_utf8_out_nonconst_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>a copy of "first"</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_out_out.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_out_out.page new file mode 100644 index 00000000..43e35d1c --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_utf8_out_out.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.test_utf8_out_out" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_utf8_out_out</api:name> + </api:function> + + </info> + <title>test_utf8_out_out</title> + +<synopsis><code mime="text/x-gjs"> +function test_utf8_out_out():void { + // Gjs wrapper for regress_test_utf8_out_out() +} +</code></synopsis> + + + + + + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_value_get_fundamental_object.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_value_get_fundamental_object.page new file mode 100644 index 00000000..e3b85a80 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_value_get_fundamental_object.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_value_get_fundamental_object" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Regress.TestFundamentalObject</api:type> + </api:returns> + <api:name>regress_test_value_get_fundamental_object</api:name> + <api:arg> + <api:type>GObject.Value</api:type> + <api:name>value</api:name> + </api:arg> + </api:function> + + </info> + <title>test_value_get_fundamental_object</title> + +<synopsis><code mime="text/x-gjs"> +function test_value_get_fundamental_object(value:GObject.Value):Regress.TestFundamentalObject { + // Gjs wrapper for regress_test_value_get_fundamental_object() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>value :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_value_return.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_value_return.page new file mode 100644 index 00000000..542af0ba --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_value_return.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_value_return" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GObject.Value</api:type> + </api:returns> + <api:name>regress_test_value_return</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>i</api:name> + </api:arg> + </api:function> + + </info> + <title>test_value_return</title> + +<synopsis><code mime="text/x-gjs"> +function test_value_return(i:Number):GObject.Value { + // Gjs wrapper for regress_test_value_return() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>i :</p></dt> +<dd><p>an int</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>the int wrapped in a GValue.</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_value_set_fundamental_object.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_value_set_fundamental_object.page new file mode 100644 index 00000000..1c8b445e --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_value_set_fundamental_object.page @@ -0,0 +1,50 @@ +<?xml version="1.0"?> +<page id="Regress.test_value_set_fundamental_object" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_value_set_fundamental_object</api:name> + <api:arg> + <api:type>GObject.Value</api:type> + <api:name>value</api:name> + </api:arg> + <api:arg> + <api:type>Regress.TestFundamentalObject</api:type> + <api:name>fundamental_object</api:name> + </api:arg> + </api:function> + + </info> + <title>test_value_set_fundamental_object</title> + +<synopsis><code mime="text/x-gjs"> +function test_value_set_fundamental_object(value:GObject.Value, fundamental_object:Regress.TestFundamentalObject):void { + // Gjs wrapper for regress_test_value_set_fundamental_object() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>value :</p></dt> +<dd></dd> +<dt><p>fundamental_object :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_versioning.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_versioning.page new file mode 100644 index 00000000..d3cfc1d4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_versioning.page @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<page id="Regress.test_versioning" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_versioning</api:name> + </api:function> + + </info> + <title>test_versioning</title> + +<synopsis><code mime="text/x-gjs"> +function test_versioning():void { + // Gjs wrapper for regress_test_versioning() +} +</code></synopsis> + + + + + + <p>Since 1.32.1</p> + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/index.page b/tests/scanner/Regress-1.0-Gjs-expected/index.page new file mode 100644 index 00000000..1d89dedd --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/index.page @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<page id="index" + type="guide" + style="namespace" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link type="guide" xref="index"/> + + </info> + <title>Index</title> + + + + + + + + + + <links type="topic" ui:expanded="true" groups="class" style="linklist"> + <title>Classes</title> + </links> + <links type="topic" ui:expanded="true" groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> |