diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-03 06:58:53 -0500 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-11 12:34:53 -0500 |
commit | 86f7acf0f139a917e460db26872b5a4306fca8d2 (patch) | |
tree | 59d48ff2b928d3f08dc2e2d4c4e0359fe4e09c72 /tests | |
parent | 841a6cfefbb1954ce94c89009be736895b91699c (diff) | |
download | gobject-introspection-86f7acf0f139a917e460db26872b5a4306fca8d2.tar.gz |
tests: Use Regress GIR for doctool
This makes us test a lot more functionality in the doc tool, and
removes the need to have a lot of different test libraries, and
different test infrastructure.
Diffstat (limited to 'tests')
1368 files changed, 54726 insertions, 1243 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 676d485f..b4985b90 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,12 +1,6 @@ include $(top_srcdir)/common.mk SUBDIRS = . scanner repository offsets warn -DIST_SUBDIRS = $(SUBDIRS) -if BUILD_DOCTOOL -SUBDIRS += doctool -else -DIST_SUBDIRS += doctool -endif EXTRA_DIST= BUILT_SOURCES= diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-property-example.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-property-example.page deleted file mode 100644 index 90982bf2..00000000 --- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-property-example.page +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0"?> -<page id="DocExamples.Obj-property-example" - 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="DocExamples.Obj" group="property"/> - <title type="link" role="topic">property-example</title> - - </info> - <title>DocExamples.Obj:property-example</title> - - - - <p>This is an example of how to document a property.</p> - - - <p>Since 0.99</p> - - - - - -</page> diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page deleted file mode 100644 index 8502865c..00000000 --- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0"?> -<page id="DocExamples.Obj-signal-example" - 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="DocExamples.Obj" group="property"/> - <title type="link" role="topic">signal-example</title> - - </info> - <title>DocExamples.Obj::signal-example</title> - -<synopsis><code mime="text/x-csrc"> -void signal-example (guint int_param, - guint float_param, - gpointer pointer_param); -</code></synopsis> - - - <p>This is an example of how to document a signal.</p> - - - <p>Since 0.99</p> - - -<dl> -<dt><p>int_param :</p></dt> -<dd><p>a parameter of type int</p></dd> -<dt><p>float_param :</p></dt> -<dd><p>a parameter of type float</p></dd> -<dt><p>pointer_param :</p></dt> -<dd><p>A pointer to @obj's thingy -- pass <code>int_param</code> if you really want to.</p></dd> -<dt><p>Returns :</p></dt> -<dd></dd> -</dl> - - - -</page> diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page deleted file mode 100644 index b154b8de..00000000 --- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page +++ /dev/null @@ -1,82 +0,0 @@ -<?xml version="1.0"?> -<page id="DocExamples.Obj.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="DocExamples.Obj" group="method"/> - <api:function> - <api:returns> - <api:type>gboolean</api:type> - </api:returns> - <api:name>doc_examples_obj_method</api:name> - <api:arg> - <api:type>DocExamplesObj*</api:type> - <api:name>obj</api:name> - </api:arg> - <api:arg> - <api:type>gint</api:type> - <api:name>first_arg</api:name> - </api:arg> - <api:arg> - <api:type>gfloat</api:type> - <api:name>second_arg</api:name> - </api:arg> - <api:arg> - <api:type>gboolean</api:type> - <api:name>boolean_arg</api:name> - </api:arg> - <api:arg> - <api:type>gpointer</api:type> - <api:name>pointer_arg</api:name> - </api:arg> - <api:arg> - <api:type>gchar*</api:type> - <api:name>string</api:name> - </api:arg> - </api:function> - - </info> - <title>doc_examples_obj_method</title> - -<synopsis><code mime="text/x-csrc"> -gboolean doc_examples_obj_method (DocExamplesObj* obj, - gint first_arg, - gfloat second_arg, - gboolean boolean_arg, - gpointer pointer_arg, - gchar* string); -</code></synopsis> - - - <p>This is an example of how to document a method.</p><p>You should call this on a <link xref="DocExamples.Obj"/> that was -created with <link xref="DocExamples.Obj.new"/>, by passing it -in as <code>obj</code>.</p><p>This should be a %FALSEALARM.</p> - - - <p>Since 0.99</p> - - -<dl> -<dt><p>obj :</p></dt> -<dd><p>A <link xref="DocExamples.Obj"/>.</p></dd> -<dt><p>first_arg :</p></dt> -<dd><p>first argument</p></dd> -<dt><p>second_arg :</p></dt> -<dd><p>second argument</p></dd> -<dt><p>boolean_arg :</p></dt> -<dd><p>You should always pass <code>TRUE</code>.</p></dd> -<dt><p>pointer_arg :</p></dt> -<dd><p>If not <code>NULL</code>, do a thing. Pass <code>first_arg</code> if you want to sometimes. You can also pass <code>second_arg</code>, or even <code>boolean_arg</code>.</p></dd> -<dt><p>string :</p></dt> -<dd><p>A NUL-terminated string.</p></dd> -<dt><p>Returns :</p></dt> -<dd><p>Either <code>FALSE</code> or something <code>FALSE</code>-y.</p></dd> -</dl> - - - -</page> diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.static_method.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.static_method.page deleted file mode 100644 index 99345e0e..00000000 --- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.static_method.page +++ /dev/null @@ -1,45 +0,0 @@ -<?xml version="1.0"?> -<page id="DocExamples.Obj.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="DocExamples.Obj" group="function"/> - <api:function> - <api:returns> - <api:type>gboolean</api:type> - </api:returns> - <api:name>doc_examples_obj_static_method</api:name> - <api:arg> - <api:type>gint*</api:type> - <api:name>out_arg</api:name> - </api:arg> - </api:function> - - </info> - <title>doc_examples_obj_static_method</title> - -<synopsis><code mime="text/x-csrc"> -gboolean doc_examples_obj_static_method (gint* out_arg); -</code></synopsis> - - - <p>This is an example of a function with an out argument -and a return value.</p> - - - - -<dl> -<dt><p>out_arg :</p></dt> -<dd><p>a pointer to int, or <code>NULL</code> to ignore</p></dd> -<dt><p>Returns :</p></dt> -<dd><p><code>TRUE</code> if <code>out_arg</code> is valid, <code>FALSE</code> otherwise</p></dd> -</dl> - - - -</page> diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.callback_function.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.callback_function.page deleted file mode 100644 index 0688cbb9..00000000 --- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.callback_function.page +++ /dev/null @@ -1,60 +0,0 @@ -<?xml version="1.0"?> -<page id="DocExamples.callback_function" - 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>DocExamplesEnum</api:type> - </api:returns> - <api:name>doc_examples_callback_function</api:name> - <api:arg> - <api:type>DocExamplesCallback</api:type> - <api:name>callback</api:name> - </api:arg> - <api:arg> - <api:type>gpointer</api:type> - <api:name>user_data</api:name> - </api:arg> - <api:arg> - <api:type>GDestroyNotify</api:type> - <api:name>destroy_notify</api:name> - </api:arg> - </api:function> - - </info> - <title>doc_examples_callback_function</title> - -<synopsis><code mime="text/x-csrc"> -DocExamplesEnum doc_examples_callback_function (DocExamplesCallback callback, - gpointer user_data, - GDestroyNotify destroy_notify); -</code></synopsis> - - - <p>This is a function that takes a callback. Different languages -will expose this in different ways (e.g. Python keeps the -<code>user_data</code> parameter, while JS doesn't)</p> - - - - -<dl> -<dt><p>callback :</p></dt> -<dd><p>Just Call Me Maybe</p></dd> -<dt><p>user_data :</p></dt> -<dd><p>your stuff</p></dd> -<dt><p>destroy_notify :</p></dt> -<dd><p>how to get rid of <code>user_data</code></p></dd> -<dt><p>Returns :</p></dt> -<dd><p><link xref="DocExamples.Enum"/>.foo sometimes, <link xref="DocExamples.Enum"/>.bar other times.</p></dd> -</dl> - - - -</page> diff --git a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-property-example.page b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-property-example.page deleted file mode 100644 index 59d90f4d..00000000 --- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-property-example.page +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0"?> -<page id="DocExamples.Obj-property-example" - 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="DocExamples.Obj" group="property"/> - <title type="link" role="topic">property-example</title> - - </info> - <title>DocExamples.Obj:property-example</title> - -<synopsis><code mime="text/x-python"> -"property-example" {String: gint8} : Read / Write -</code></synopsis> - - - <p>This is an example of how to document a property.</p> - - - <p>Since 0.99</p> - - - - - -</page> diff --git a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-signal-example.page b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-signal-example.page deleted file mode 100644 index 074ccd2b..00000000 --- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-signal-example.page +++ /dev/null @@ -1,44 +0,0 @@ -<?xml version="1.0"?> -<page id="DocExamples.Obj-signal-example" - 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="DocExamples.Obj" group="signal"/> - <title type="link" role="topic">signal-example</title> - - </info> - <title>DocExamples.Obj::signal-example</title> - -<synopsis><code mime="text/x-python"> -function callback(obj, int_param:Number, float_param:Number, pointer_param:gpointer, user_param1, ...):void; -</code></synopsis> - - - <p>This is an example of how to document a signal.</p> - - - <p>Since 0.99</p> - - -<dl> -<dt><p>obj :</p></dt> -<dd><p>instance of DocExamples.Obj that is emitting the signal</p></dd> -<dt><p>int_param :</p></dt> -<dd><p>a parameter of type int</p></dd> -<dt><p>float_param :</p></dt> -<dd><p>a parameter of type float</p></dd> -<dt><p>pointer_param :</p></dt> -<dd><p>A pointer to @obj's thingy -- pass <code>int_param</code> if you really want to.</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/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.method.page b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.method.page deleted file mode 100644 index abe38df2..00000000 --- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.method.page +++ /dev/null @@ -1,73 +0,0 @@ -<?xml version="1.0"?> -<page id="DocExamples.Obj.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="DocExamples.Obj" group="method"/> - <api:function> - <api:returns> - <api:type>Boolean</api:type> - </api:returns> - <api:name>doc_examples_obj_method</api:name> - <api:arg> - <api:type>Number</api:type> - <api:name>first_arg</api:name> - </api:arg> - <api:arg> - <api:type>Number</api:type> - <api:name>second_arg</api:name> - </api:arg> - <api:arg> - <api:type>Boolean</api:type> - <api:name>boolean_arg</api:name> - </api:arg> - <api:arg> - <api:type>gpointer</api:type> - <api:name>pointer_arg</api:name> - </api:arg> - <api:arg> - <api:type>String</api:type> - <api:name>string</api:name> - </api:arg> - </api:function> - - </info> - <title>Obj.prototype.method</title> - -<synopsis><code mime="text/x-gjs"> -function method(first_arg:Number, second_arg:Number, boolean_arg:Boolean, pointer_arg:gpointer, string:String):Boolean { - // Gjs wrapper for doc_examples_obj_method() -} -</code></synopsis> - - - <p>This is an example of how to document a method.</p><p>You should call this on a <link xref="DocExamples.Obj"/> that was -created with <link xref="DocExamples.Obj.new"/>, by passing it -in as <code>obj</code>.</p><p>This should be a %FALSEALARM.</p> - - - <p>Since 0.99</p> - - -<dl> -<dt><p>first_arg :</p></dt> -<dd><p>first argument</p></dd> -<dt><p>second_arg :</p></dt> -<dd><p>second argument</p></dd> -<dt><p>boolean_arg :</p></dt> -<dd><p>You should always pass <code>true</code>.</p></dd> -<dt><p>pointer_arg :</p></dt> -<dd><p>If not <code>null</code>, do a thing. Pass <code>first_arg</code> if you want to sometimes. You can also pass <code>second_arg</code>, or even <code>boolean_arg</code>.</p></dd> -<dt><p>string :</p></dt> -<dd><p>A NUL-terminated string.</p></dd> -<dt><p>Returns :</p></dt> -<dd><p>Either <code>false</code> or something <code>false</code>-y.</p></dd> -</dl> - - - -</page> diff --git a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.static_method.page b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.static_method.page deleted file mode 100644 index fd9e1007..00000000 --- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.static_method.page +++ /dev/null @@ -1,47 +0,0 @@ -<?xml version="1.0"?> -<page id="DocExamples.Obj.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="DocExamples.Obj" group="function"/> - <api:function> - <api:returns> - <api:type>Boolean</api:type> - </api:returns> - <api:name>doc_examples_obj_static_method</api:name> - <api:arg> - <api:type>Number</api:type> - <api:name>out_arg</api:name> - </api:arg> - </api:function> - - </info> - <title>static_method</title> - -<synopsis><code mime="text/x-gjs"> -function static_method(out_arg:Number):Boolean { - // Gjs wrapper for doc_examples_obj_static_method() -} -</code></synopsis> - - - <p>This is an example of a function with an out argument -and a return value.</p> - - - - -<dl> -<dt><p>out_arg :</p></dt> -<dd><p>a pointer to int, or <code>null</code> to ignore</p></dd> -<dt><p>Returns :</p></dt> -<dd><p><code>true</code> if <code>out_arg</code> is valid, <code>false</code> otherwise</p></dd> -</dl> - - - -</page> diff --git a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.callback_function.page b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.callback_function.page deleted file mode 100644 index cb449c74..00000000 --- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.callback_function.page +++ /dev/null @@ -1,48 +0,0 @@ -<?xml version="1.0"?> -<page id="DocExamples.callback_function" - 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>DocExamples.Enum</api:type> - </api:returns> - <api:name>doc_examples_callback_function</api:name> - <api:arg> - <api:type>DocExamples.Callback</api:type> - <api:name>callback</api:name> - </api:arg> - </api:function> - - </info> - <title>callback_function</title> - -<synopsis><code mime="text/x-gjs"> -function callback_function(callback:DocExamples.Callback):DocExamples.Enum { - // Gjs wrapper for doc_examples_callback_function() -} -</code></synopsis> - - - <p>This is a function that takes a callback. Different languages -will expose this in different ways (e.g. Python keeps the -<code>user_data</code> parameter, while JS doesn't)</p> - - - - -<dl> -<dt><p>callback :</p></dt> -<dd><p>Just Call Me Maybe</p></dd> -<dt><p>Returns :</p></dt> -<dd><p><link xref="DocExamples.Enum"/>.foo sometimes, <link xref="DocExamples.Enum"/>.bar other times.</p></dd> -</dl> - - - -</page> diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-property-example.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-property-example.page deleted file mode 100644 index 98cafdf5..00000000 --- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-property-example.page +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0"?> -<page id="DocExamples.Obj-property-example" - 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="DocExamples.Obj" group="property"/> - <title type="link" role="topic">property-example</title> - - </info> - <title>DocExamples.Obj:property-example</title> - -<synopsis><code mime="text/x-python"> -"property-example" {unicode: gint8} : Read / Write -</code></synopsis> - - - <p>This is an example of how to document a property.</p> - - - <p>Since 0.99</p> - - - - - -</page> diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page deleted file mode 100644 index 1dc5d60d..00000000 --- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page +++ /dev/null @@ -1,44 +0,0 @@ -<?xml version="1.0"?> -<page id="DocExamples.Obj-signal-example" - 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="DocExamples.Obj" group="signal"/> - <title type="link" role="topic">signal-example</title> - - </info> - <title>DocExamples.Obj::signal-example</title> - -<synopsis><code mime="text/x-python"> -def callback(obj, int_param, float_param, pointer_param, user_param1, ...) -</code></synopsis> - - - <p>This is an example of how to document a signal.</p> - - - <p>Since 0.99</p> - - -<dl> -<dt><p>obj :</p></dt> -<dd><p>instance of DocExamples.Obj that is emitting the signal</p></dd> -<dt><p>int_param :</p></dt> -<dd><p>a parameter of type int</p></dd> -<dt><p>float_param :</p></dt> -<dd><p>a parameter of type float</p></dd> -<dt><p>pointer_param :</p></dt> -<dd><p>A pointer to @obj's thingy -- pass <code>int_param</code> if you really want to.</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/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page deleted file mode 100644 index 7b7c8fa0..00000000 --- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page +++ /dev/null @@ -1,80 +0,0 @@ -<?xml version="1.0"?> -<page id="DocExamples.Obj.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="DocExamples.Obj" group="method"/> - <api:function> - <api:returns> - <api:type>bool</api:type> - </api:returns> - <api:name>doc_examples_obj_method</api:name> - <api:arg> - <api:type>DocExamples.Obj</api:type> - <api:name>self</api:name> - </api:arg> - <api:arg> - <api:type>int</api:type> - <api:name>first_arg</api:name> - </api:arg> - <api:arg> - <api:type>float</api:type> - <api:name>second_arg</api:name> - </api:arg> - <api:arg> - <api:type>bool</api:type> - <api:name>boolean_arg</api:name> - </api:arg> - <api:arg> - <api:type>gpointer</api:type> - <api:name>pointer_arg</api:name> - </api:arg> - <api:arg> - <api:type>unicode</api:type> - <api:name>string</api:name> - </api:arg> - </api:function> - - </info> - <title>Obj.method</title> - -<synopsis><code mime="text/x-python"> -@accepts(DocExamples.Obj, int, float, bool, gpointer, unicode) -@returns(bool) -def method(self, first_arg, second_arg, boolean_arg, pointer_arg, string): - # Python wrapper for doc_examples_obj_method() -</code></synopsis> - - - <p>This is an example of how to document a method.</p><p>You should call this on a <link xref="DocExamples.Obj"/> that was -created with <link xref="DocExamples.Obj.new"/>, by passing it -in as <code>self</code>.</p><p>This should be a %FALSEALARM.</p> - - - <p>Since 0.99</p> - - -<dl> -<dt><p>self :</p></dt> -<dd><p>A <link xref="DocExamples.Obj"/>.</p></dd> -<dt><p>first_arg :</p></dt> -<dd><p>first argument</p></dd> -<dt><p>second_arg :</p></dt> -<dd><p>second argument</p></dd> -<dt><p>boolean_arg :</p></dt> -<dd><p>You should always pass <code>True</code>.</p></dd> -<dt><p>pointer_arg :</p></dt> -<dd><p>If not <code>None</code>, do a thing. Pass <code>first_arg</code> if you want to sometimes. You can also pass <code>second_arg</code>, or even <code>boolean_arg</code>.</p></dd> -<dt><p>string :</p></dt> -<dd><p>A NUL-terminated string.</p></dd> -<dt><p>Returns :</p></dt> -<dd><p>Either <code>False</code> or something <code>False</code>-y.</p></dd> -</dl> - - - -</page> diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.static_method.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.static_method.page deleted file mode 100644 index 6088a5e2..00000000 --- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.static_method.page +++ /dev/null @@ -1,48 +0,0 @@ -<?xml version="1.0"?> -<page id="DocExamples.Obj.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="DocExamples.Obj" group="function"/> - <api:function> - <api:returns> - <api:type>bool</api:type> - </api:returns> - <api:name>doc_examples_obj_static_method</api:name> - <api:arg> - <api:type>int</api:type> - <api:name>out_arg</api:name> - </api:arg> - </api:function> - - </info> - <title>Obj.static_method</title> - -<synopsis><code mime="text/x-python"> -@accepts(int) -@returns(bool) -def static_method(out_arg): - # Python wrapper for doc_examples_obj_static_method() -</code></synopsis> - - - <p>This is an example of a function with an out argument -and a return value.</p> - - - - -<dl> -<dt><p>out_arg :</p></dt> -<dd><p>a pointer to int, or <code>None</code> to ignore</p></dd> -<dt><p>Returns :</p></dt> -<dd><p><code>True</code> if <code>out_arg</code> is valid, <code>False</code> otherwise</p></dd> -</dl> - - - -</page> diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.callback_function.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.callback_function.page deleted file mode 100644 index 53f5861d..00000000 --- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.callback_function.page +++ /dev/null @@ -1,61 +0,0 @@ -<?xml version="1.0"?> -<page id="DocExamples.callback_function" - 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>DocExamples.Enum</api:type> - </api:returns> - <api:name>doc_examples_callback_function</api:name> - <api:arg> - <api:type>DocExamples.Callback</api:type> - <api:name>callback</api:name> - </api:arg> - <api:arg> - <api:type>gpointer</api:type> - <api:name>user_data</api:name> - </api:arg> - <api:arg> - <api:type>GLib.DestroyNotify</api:type> - <api:name>destroy_notify</api:name> - </api:arg> - </api:function> - - </info> - <title>callback_function</title> - -<synopsis><code mime="text/x-python"> -@accepts(DocExamples.Callback, gpointer, GLib.DestroyNotify) -@returns(DocExamples.Enum) -def callback_function(callback, user_data, destroy_notify): - # Python wrapper for doc_examples_callback_function() -</code></synopsis> - - - <p>This is a function that takes a callback. Different languages -will expose this in different ways (e.g. Python keeps the -<code>user_data</code> parameter, while JS doesn't)</p> - - - - -<dl> -<dt><p>callback :</p></dt> -<dd><p>Just Call Me Maybe</p></dd> -<dt><p>user_data :</p></dt> -<dd><p>your stuff</p></dd> -<dt><p>destroy_notify :</p></dt> -<dd><p>how to get rid of <code>user_data</code></p></dd> -<dt><p>Returns :</p></dt> -<dd><p><link xref="DocExamples.Enum"/>.foo sometimes, <link xref="DocExamples.Enum"/>.bar other times.</p></dd> -</dl> - - - -</page> diff --git a/tests/doctool/Makefile.am b/tests/doctool/Makefile.am deleted file mode 100644 index 4d2b9d7f..00000000 --- a/tests/doctool/Makefile.am +++ /dev/null @@ -1,60 +0,0 @@ -include $(top_srcdir)/common.mk -include $(top_srcdir)/Makefile.introspection - -INTROSPECTION_SCANNER_ARGS += --warn-all --warn-error -I. - -check_LTLIBRARIES = \ - libdocexamples.la - -AM_CFLAGS = $(GOBJECT_CFLAGS) -LIBS = $(GOBJECT_LIBS) - -libdocexamples_la_SOURCES = $(srcdir)/doc-examples-obj.c $(srcdir)/doc-examples-obj.h - -GIRS = -TYPELIBS = $(GIRS:.gir=.typelib) -INTROSPECTION_GIRS = $(GIRS) -CHECK_TARGETS = $(GIRS:.gir=-C.page.check) $(GIRS:.gir=-Python.page.check) $(GIRS:.gir=-Gjs.page.check) -MALLARD_DIRS = $(GIRS:.gir=-C) $(GIRS:.gir=-Python) $(GIRS:.gir=-Gjs) -EXPECTED_MALLARD_DIRS = $(MALLARD_DIRS:=-expected) -CLEANFILES = $(TYPELIBS) $(GIRS) -BUILT_SOURCES = $(MALLARD_DIRS) -EXTRA_DIST = $(EXPECTED_MALLARD_DIRS) - -DocExamples-1.0.gir: $(top_builddir)/Gio-2.0.gir libdocexamples.la -DocExamples_1_0_gir_LIBS = libdocexamples.la -DocExamples_1_0_gir_INCLUDES = cairo-1.0 Gio-2.0 -DocExamples_1_0_gir_FILES = $(libdocexamples_la_SOURCES) -#DocExamples_1_0_gir_SCANNERFLAGS = --c-include="regress.h" -GIRS += DocExamples-1.0.gir - -%-C: %.gir - $(AM_V_GEN) - $(AM_V_at)$(MKDIR_P) $*-C - $(AM_V_at)rm -f $*-C/*.page - $(AM_V_at)$(INTROSPECTION_DOCTOOL) --language C $*.gir -o $*-C/ - -%-Python: %.gir - $(AM_V_GEN) - $(AM_V_at)$(MKDIR_P) $*-Python - $(AM_V_at)rm -f $*-Python/*.page - $(AM_V_at)$(INTROSPECTION_DOCTOOL) --language Python $*.gir -o $*-Python/ - -%-Gjs: %.gir - $(AM_V_GEN) - $(AM_V_at)$(MKDIR_P) $*-Gjs - $(AM_V_at)rm -f $*-Gjs/*.page - $(AM_V_at)$(INTROSPECTION_DOCTOOL) --language Gjs $*.gir -o $*-Gjs/ - -%-C.page.check: %-C - @diff -u -w -B -U 10 $(srcdir)/$*-C-expected $*-C && echo " TEST $*-C" - -%-Python.page.check: %-Python - @diff -u -w -B -U 10 $(srcdir)/$*-Python-expected $*-Python && echo " TEST $*-Python" - -%-Gjs.page.check: %-Gjs - @diff -u -w -B -U 10 $(srcdir)/$*-Gjs-expected $*-Gjs && echo " TEST $*-Gjs" - -check-local: $(CHECK_TARGETS) $(TYPELIBS) -clean-local: - @rm -rf $(MALLARD_DIRS) diff --git a/tests/doctool/doc-examples-obj.c b/tests/doctool/doc-examples-obj.c deleted file mode 100644 index fff1aaa5..00000000 --- a/tests/doctool/doc-examples-obj.c +++ /dev/null @@ -1,203 +0,0 @@ -/* doc-examples-obj.c */ - -#include "doc-examples-obj.h" - -/** - * DocExamplesObj: - * - * This is an example of how to document a class - * - * This class has a signal: #DocExamplesObj::signal-example. - * - * And also has a property: #DocExamplesObj:property-example. - * - * Since: 0.99 - */ - -G_DEFINE_TYPE (DocExamplesObj, doc_examples_obj, G_TYPE_OBJECT) - -static void -doc_examples_obj_get_property (GObject *object, - guint property_id, - GValue *value, - GParamSpec *pspec) -{ - switch (property_id) - { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); - } -} - -static void -doc_examples_obj_set_property (GObject *object, - guint property_id, - const GValue *value, - GParamSpec *pspec) -{ - switch (property_id) - { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); - } -} - -static void -doc_examples_obj_class_init (DocExamplesObjClass *klass) -{ - GObjectClass *gobject_class = G_OBJECT_CLASS (klass); - GParamSpec *pspec; - - gobject_class->get_property = doc_examples_obj_get_property; - gobject_class->set_property = doc_examples_obj_set_property; - - /** - * DocExamplesObj::signal-example: - * @obj: - * @int_param: a parameter of type int - * @float_param: a parameter of type float - * @pointer_param: A pointer to @obj's thingy -- - * pass @int_param if you really want to. - * - * This is an example of how to document a signal. - * - * Since: 0.99 - */ - g_signal_new ("signal-example", - G_TYPE_FROM_CLASS (gobject_class), - G_SIGNAL_RUN_LAST, - 0, NULL, NULL, - NULL, - G_TYPE_NONE, 3, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_POINTER); - - /** - * DocExamplesObj:property-example: - * - * This is an example of how to document a property. - * - * Type: GLib.HashTable(utf8,gint8) - * Transfer: container - * - * Since: 0.99 - */ - pspec = g_param_spec_boxed ("property-example", - "Example property", - "A contained GHashTable", - G_TYPE_HASH_TABLE, - G_PARAM_READWRITE); - g_object_class_install_property (gobject_class, - 1, - pspec); -} - -static void -doc_examples_obj_init (DocExamplesObj *self) -{ - -} - -DocExamplesObj * -doc_examples_obj_new (void) -{ - return g_object_new (DOC_EXAMPLES_TYPE_OBJ, NULL); -} - -/** - * doc_examples_obj_method: - * @obj: A #DocExamplesObj. - * @first_arg: first argument - * @second_arg: second argument - * @boolean_arg: You should always pass %TRUE. - * @pointer_arg: (allow-none): If not %NULL, do a thing. - * Pass @first_arg if you want to sometimes. You can - * also pass @second_arg, or even @boolean_arg. - * @string: A NUL-terminated string. - * - * This is an example of how to document a method. - * - * You should call this on a #DocExamplesObj that was - * created with doc_examples_obj_new(), by passing it - * in as @obj. - * - * This should be a %FALSEALARM. - * - * Since: 0.99 - * - * Returns: Either %FALSE or something %FALSE-y. - */ -gboolean -doc_examples_obj_method (DocExamplesObj *obj, gint first_arg, gfloat second_arg, - gboolean boolean_arg, gpointer pointer_arg, gchar *string) -{ - return FALSE; -} - -/** - * doc_examples_obj_static_method: - * @out_arg: (out) (allow-none): a pointer to int, or %NULL to ignore - * - * This is an example of a function with an out argument - * and a return value. - * - * Returns: %TRUE if @out_arg is valid, %FALSE otherwise - */ -gboolean -doc_examples_obj_static_method (gint *out_arg) -{ - if (out_arg) - *out_arg = 42; - - return TRUE; -} - -/** - * doc_examples_array_function: - * @out_len: (out): the length of the returned array - * - * This function returns an array with an explicit length, - * and the length should be invisible in most introspected bindings. - * - * Returns: (array length=out_len) (transfer full): an array of numbers. - */ -gint * -doc_examples_array_function (gint *out_len) -{ - gint *array; - int i, n = 3; - - array = g_new(int, n); - for (i = 0; i < n; i++) - array[i] = i; - - *out_len = n; - return array; -} - -/** - * doc_examples_callback_function: - * @callback: Just Call Me Maybe - * @user_data: your stuff - * @destroy_notify: how to get rid of @user_data - * - * This is a function that takes a callback. Different languages - * will expose this in different ways (e.g. Python keeps the - * @user_data parameter, while JS doesn't) - * - * Returns: %DOC_EXAMPLES_FOO sometimes, %DOC_EXAMPLES_BAR - * other times. - */ -DocExamplesEnum -doc_examples_callback_function (DocExamplesCallback callback, - gpointer user_data, - GDestroyNotify destroy_notify) -{ - gchar *result; - - result = callback (42, 17); - g_free (result); - - if (user_data && destroy_notify) - destroy_notify (user_data); - - return DOC_EXAMPLES_FOO; -} diff --git a/tests/doctool/doc-examples-obj.h b/tests/doctool/doc-examples-obj.h deleted file mode 100644 index 543a8c29..00000000 --- a/tests/doctool/doc-examples-obj.h +++ /dev/null @@ -1,93 +0,0 @@ -/* doc-examples-obj.h */ - -#ifndef _DOC_EXAMPLES_OBJ_H -#define _DOC_EXAMPLES_OBJ_H - -#include <glib-object.h> - -G_BEGIN_DECLS - -#define DOC_EXAMPLES_TYPE_OBJ doc_examples_obj_get_type() - -#define DOC_EXAMPLES_OBJ(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST ((obj), \ - DOC_EXAMPLES_TYPE_OBJ, DocExamplesObj)) - -#define DOC_EXAMPLES_OBJ_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST ((klass), \ - DOC_EXAMPLES_TYPE_OBJ, DocExamplesObjClass)) - -#define DOC_EXAMPLES_IS_OBJ(obj) \ - (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \ - DOC_EXAMPLES_TYPE_OBJ)) - -#define DOC_EXAMPLES_IS_OBJ_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_TYPE ((klass), \ - DOC_EXAMPLES_TYPE_OBJ)) - -#define DOC_EXAMPLES_OBJ_GET_CLASS(obj) \ - (G_TYPE_INSTANCE_GET_CLASS ((obj), \ - DOC_EXAMPLES_TYPE_OBJ, DocExamplesObjClass)) - -typedef struct _DocExamplesObj DocExamplesObj; -typedef struct _DocExamplesObjClass DocExamplesObjClass; - -struct _DocExamplesObj -{ - GObject parent; -}; - -struct _DocExamplesObjClass -{ - GObjectClass parent_class; - - /** - * DocExamplesObjClass::vfunc: - * @self: - * @first_arg: first argument - * - * This is an example of how to document a vfunc. - * - * Since: 0.99 - */ - void (*vfunc) (DocExamplesObj *self, gint first_arg); -}; - -GType doc_examples_obj_get_type (void) G_GNUC_CONST; - -DocExamplesObj *doc_examples_obj_new (void); -gboolean doc_examples_obj_method (DocExamplesObj *obj, gint first_arg, gfloat second_arg, - gboolean boolean_arg, gpointer pointer_arg, gchar *string); - -gboolean doc_examples_obj_static_method (gint *out_arg); - -gint *doc_examples_array_function (gint *out_len); - -/** - * DocExamplesEnum: - * @DOC_EXAMPLES_FOO: a foo - * @DOC_EXAMPLES_BAR: a bar - * - * This is an example to document an enumeration. - */ -typedef enum { - DOC_EXAMPLES_FOO, - DOC_EXAMPLES_BAR -} DocExamplesEnum; - -/** - * DocExamplesCallback: - * @one: first parameter - * @two: second parameter - * - * Returns: something - */ -typedef gchar * (*DocExamplesCallback) (int one, int two); - -DocExamplesEnum doc_examples_callback_function (DocExamplesCallback callback, - gpointer user_data, - GDestroyNotify destroy_notify); - -G_END_DECLS - -#endif /* _DOC_EXAMPLES_OBJ_H */ diff --git a/tests/scanner/Makefile.am b/tests/scanner/Makefile.am index cf045082..e07bdd3e 100644 --- a/tests/scanner/Makefile.am +++ b/tests/scanner/Makefile.am @@ -146,7 +146,43 @@ Headeronly-1.0.gir: headeronly.h %.gir.check: %.gir @diff -u -U 10 $(srcdir)/$*-expected.gir $*.gir && echo " TEST $*.gir" -check-local: Headeronly-1.0.gir $(CHECKGIRS) $(TYPELIBS) +if BUILD_DOCTOOL +DOCGIRS = Regress-1.0.gir +CHECKDOCS = $(DOCGIRS:.gir=-C.page.check) $(DOCGIRS:.gir=-Python.page.check) $(DOCGIRS:.gir=-Gjs.page.check) +MALLARD_DIRS = $(DOCGIRS:.gir=-C) $(DOCGIRS:.gir=-Python) $(DOCGIRS:.gir=-Gjs) +EXPECTED_MALLARD_DIRS = $(MALLARD_DIRS:=-expected) + +%-C: %.gir + $(AM_V_GEN) + $(AM_V_at)$(MKDIR_P) $*-C + $(AM_V_at)rm -f $*-C/*.page + $(AM_V_at)$(INTROSPECTION_DOCTOOL) $(INTROSPECTION_DOCTOOL_ARGS) --language C $*.gir -o $*-C/ + +%-Python: %.gir + $(AM_V_GEN) + $(AM_V_at)$(MKDIR_P) $*-Python + $(AM_V_at)rm -f $*-Python/*.page + $(AM_V_at)$(INTROSPECTION_DOCTOOL) $(INTROSPECTION_DOCTOOL_ARGS) --language Python $*.gir -o $*-Python/ + +%-Gjs: %.gir + $(AM_V_GEN) + $(AM_V_at)$(MKDIR_P) $*-Gjs + $(AM_V_at)rm -f $*-Gjs/*.page + $(AM_V_at)$(INTROSPECTION_DOCTOOL) $(INTROSPECTION_DOCTOOL_ARGS) --language Gjs $*.gir -o $*-Gjs/ + +%-C.page.check: %-C + @diff -u -w -B -U 10 $(srcdir)/$*-C-expected $*-C && echo " TEST $*-C" + +%-Python.page.check: %-Python + @diff -u -w -B -U 10 $(srcdir)/$*-Python-expected $*-Python && echo " TEST $*-Python" + +%-Gjs.page.check: %-Gjs + @diff -u -w -B -U 10 $(srcdir)/$*-Gjs-expected $*-Gjs && echo " TEST $*-Gjs" +else +CHECKDOCS = +endif + +check-local: Headeronly-1.0.gir $(CHECKGIRS) $(CHECKDOCS) $(TYPELIBS) EXTRA_DIST += \ annotationparser/README \ diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.ANNOTATION_CALCULATED_DEFINE.page b/tests/scanner/Regress-1.0-C-expected/Regress.ANNOTATION_CALCULATED_DEFINE.page new file mode 100644 index 00000000..ebe71b0d --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.ANNOTATION_CALCULATED_LARGE.page b/tests/scanner/Regress-1.0-C-expected/Regress.ANNOTATION_CALCULATED_LARGE.page new file mode 100644 index 00000000..4b38cc01 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.ANNOTATION_CALCULATED_LARGE_DIV.page b/tests/scanner/Regress-1.0-C-expected/Regress.ANNOTATION_CALCULATED_LARGE_DIV.page new file mode 100644 index 00000000..d6c8e76a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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/doctool/DocExamples-1.0-C-expected/DocExamples.Enum.page b/tests/scanner/Regress-1.0-C-expected/Regress.ATestError.page index 6957f4b7..a2ab2ef9 100644 --- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Enum.page +++ b/tests/scanner/Regress-1.0-C-expected/Regress.ATestError.page @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<page id="DocExamples.Enum" +<page id="Regress.ATestError" type="guide" style="enum" xmlns="http://projectmallard.org/1.0/" @@ -10,11 +10,11 @@ <link type="guide" xref="index"/> </info> - <title>DocExamples.Enum</title> + <title>Regress.ATestError</title> - <p>This is an example to document an enumeration.</p> + diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AliasedTestBoxed.page b/tests/scanner/Regress-1.0-C-expected/Regress.AliasedTestBoxed.page new file mode 100644 index 00000000..2229245a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.AnnotationBitfield.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationBitfield.page new file mode 100644 index 00000000..8cbc8326 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.AnnotationCallback.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationCallback.page new file mode 100644 index 00000000..30f950c2 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.AnnotationForeachFunc.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationForeachFunc.page new file mode 100644 index 00000000..506ceffd --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.AnnotationListCallback.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationListCallback.page new file mode 100644 index 00000000..3f9409ed --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.AnnotationNotifyFunc.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationNotifyFunc.page new file mode 100644 index 00000000..b2dc717c --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.AnnotationObject-attribute-signal.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject-attribute-signal.page new file mode 100644 index 00000000..2e30a44e --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject-attribute-signal.page @@ -0,0 +1,38 @@ +<?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="property"/> + <title type="link" role="topic">attribute-signal</title> + + </info> + <title>Regress.AnnotationObject::attribute-signal</title> + +<synopsis><code mime="text/x-csrc"> +gchar* attribute-signal (gchar* arg1, + gchar* arg2); +</code></synopsis> + + + <p>This signal tests a signal with attributes.</p> + + + + +<dl> +<dt><p>arg1 :</p></dt> +<dd><p>a value</p></dd> +<dt><p>arg2 :</p></dt> +<dd><p>another value</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>the return value</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject-doc-empty-arg-parsing.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject-doc-empty-arg-parsing.page new file mode 100644 index 00000000..8f7a9de4 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject-doc-empty-arg-parsing.page @@ -0,0 +1,35 @@ +<?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="property"/> + <title type="link" role="topic">doc-empty-arg-parsing</title> + + </info> + <title>Regress.AnnotationObject::doc-empty-arg-parsing</title> + +<synopsis><code mime="text/x-csrc"> +void doc-empty-arg-parsing (gpointer arg1); +</code></synopsis> + + + <p>This signal tests an empty document argument (<code>arg1</code>)</p> + + + + +<dl> +<dt><p>arg1 :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject-function-property.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject-function-property.page new file mode 100644 index 00000000..88dae758 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject-function-property.page @@ -0,0 +1,26 @@ +<?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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject-list-signal.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject-list-signal.page new file mode 100644 index 00000000..f4e8868f --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject-list-signal.page @@ -0,0 +1,36 @@ +<?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="property"/> + <title type="link" role="topic">list-signal</title> + + </info> + <title>Regress.AnnotationObject::list-signal</title> + +<synopsis><code mime="text/x-csrc"> +void list-signal (gpointer list); +</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>list :</p></dt> +<dd><p>a list of strings</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject-string-property.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject-string-property.page new file mode 100644 index 00000000..bedc1445 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject-string-property.page @@ -0,0 +1,27 @@ +<?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> + + + + <p>This is a property which is a string</p> + + + <p>Since 1.0</p> + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject-string-signal.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject-string-signal.page new file mode 100644 index 00000000..71dbe0c4 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject-string-signal.page @@ -0,0 +1,37 @@ +<?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="property"/> + <title type="link" role="topic">string-signal</title> + + </info> + <title>Regress.AnnotationObject::string-signal</title> + +<synopsis><code mime="text/x-csrc"> +void string-signal (gpointer string); +</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>string :</p></dt> +<dd><p>a string</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject-tab-property.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject-tab-property.page new file mode 100644 index 00000000..1363f9ed --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject-tab-property.page @@ -0,0 +1,28 @@ +<?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> + + + + <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-C-expected/Regress.AnnotationObject.allow_none.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.allow_none.page new file mode 100644 index 00000000..ea33c695 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.allow_none.page @@ -0,0 +1,51 @@ +<?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*</api:type> + </api:returns> + <api:name>regress_annotation_object_allow_none</api:name> + <api:arg> + <api:type>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>const gchar*</api:type> + <api:name>somearg</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_allow_none</title> + +<synopsis><code mime="text/x-csrc"> +GObject* regress_annotation_object_allow_none (RegressAnnotationObject* object, + const gchar* somearg); +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<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-C-expected/Regress.AnnotationObject.calleeowns.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.calleeowns.page new file mode 100644 index 00000000..27b6b8ac --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.calleeowns.page @@ -0,0 +1,51 @@ +<?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>gint</api:type> + </api:returns> + <api:name>regress_annotation_object_calleeowns</api:name> + <api:arg> + <api:type>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>GObject**</api:type> + <api:name>toown</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_calleeowns</title> + +<synopsis><code mime="text/x-csrc"> +gint regress_annotation_object_calleeowns (RegressAnnotationObject* object, + GObject** toown); +</code></synopsis> + + + <p>This is a test for out arguments; GObject defaults to transfer</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>toown :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.calleesowns.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.calleesowns.page new file mode 100644 index 00000000..72e2e62b --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.calleesowns.page @@ -0,0 +1,58 @@ +<?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>gint</api:type> + </api:returns> + <api:name>regress_annotation_object_calleesowns</api:name> + <api:arg> + <api:type>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>GObject**</api:type> + <api:name>toown1</api:name> + </api:arg> + <api:arg> + <api:type>GObject**</api:type> + <api:name>toown2</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_calleesowns</title> + +<synopsis><code mime="text/x-csrc"> +gint regress_annotation_object_calleesowns (RegressAnnotationObject* object, + GObject** toown1, + GObject** toown2); +</code></synopsis> + + + <p>This is a test for out arguments, one transferred, other not</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>toown1 :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>toown2 :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.compute_sum.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.compute_sum.page new file mode 100644 index 00000000..825b4493 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.compute_sum.page @@ -0,0 +1,51 @@ +<?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>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>nums</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_compute_sum</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_object_compute_sum (RegressAnnotationObject* object, + int* nums); +</code></synopsis> + + + <p>Test taking a zero-terminated array</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>nums :</p></dt> +<dd><p>Sequence of numbers</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.compute_sum_n.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.compute_sum_n.page new file mode 100644 index 00000000..11333b5f --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.compute_sum_n.page @@ -0,0 +1,58 @@ +<?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>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>nums</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>n_nums</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_compute_sum_n</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_object_compute_sum_n (RegressAnnotationObject* object, + int* nums, + int n_nums); +</code></synopsis> + + + <p>Test taking an array with length parameter</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>nums :</p></dt> +<dd><p>Sequence of numbers that are zero-terminated</p></dd> +<dt><p>n_nums :</p></dt> +<dd><p>Length of number array</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.compute_sum_nz.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.compute_sum_nz.page new file mode 100644 index 00000000..7017be8e --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.compute_sum_nz.page @@ -0,0 +1,58 @@ +<?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>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>nums</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>n_nums</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_compute_sum_nz</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_object_compute_sum_nz (RegressAnnotationObject* object, + int* nums, + int n_nums); +</code></synopsis> + + + <p>Test taking a zero-terminated array with length parameter</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>nums :</p></dt> +<dd><p>Sequence of numbers that are zero-terminated</p></dd> +<dt><p>n_nums :</p></dt> +<dd><p>Length of number array</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.create_object.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.create_object.page new file mode 100644 index 00000000..cde56f8e --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.create_object.page @@ -0,0 +1,44 @@ +<?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*</api:type> + </api:returns> + <api:name>regress_annotation_object_create_object</api:name> + <api:arg> + <api:type>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_create_object</title> + +<synopsis><code mime="text/x-csrc"> +GObject* regress_annotation_object_create_object (RegressAnnotationObject* object); +</code></synopsis> + + + <p>Test returning a caller-owned object</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>The object</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.do_not_use.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.do_not_use.page new file mode 100644 index 00000000..2c5eaad9 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.do_not_use.page @@ -0,0 +1,44 @@ +<?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*</api:type> + </api:returns> + <api:name>regress_annotation_object_do_not_use</api:name> + <api:arg> + <api:type>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_do_not_use</title> + +<synopsis><code mime="text/x-csrc"> +GObject* regress_annotation_object_do_not_use (RegressAnnotationObject* object); +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p><code>NULL</code> always</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.extra_annos.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.extra_annos.page new file mode 100644 index 00000000..b1aa7aaa --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.extra_annos.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_extra_annos</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_object_extra_annos (RegressAnnotationObject* object); +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.foreach.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.foreach.page new file mode 100644 index 00000000..ba91139a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.foreach.page @@ -0,0 +1,58 @@ +<?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>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>RegressAnnotationForeachFunc</api:type> + <api:name>func</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_foreach</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_object_foreach (RegressAnnotationObject* object, + RegressAnnotationForeachFunc func, + gpointer user_data); +</code></synopsis> + + + <p>Test taking a call-scoped callback</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>func :</p></dt> +<dd><p>Callback to invoke</p></dd> +<dt><p>user_data :</p></dt> +<dd><p>Callback user data</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_hash.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_hash.page new file mode 100644 index 00000000..5a06e842 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_hash.page @@ -0,0 +1,45 @@ +<?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>GHashTable*</api:type> + </api:returns> + <api:name>regress_annotation_object_get_hash</api:name> + <api:arg> + <api:type>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_get_hash</title> + +<synopsis><code mime="text/x-csrc"> +GHashTable* regress_annotation_object_get_hash (RegressAnnotationObject* object); +</code></synopsis> + + + <p>This is a test for returning a hash table mapping strings to +objects.</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>hash table</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_objects.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_objects.page new file mode 100644 index 00000000..2e36a384 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_objects.page @@ -0,0 +1,46 @@ +<?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>GSList*</api:type> + </api:returns> + <api:name>regress_annotation_object_get_objects</api:name> + <api:arg> + <api:type>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_get_objects</title> + +<synopsis><code mime="text/x-csrc"> +GSList* regress_annotation_object_get_objects (RegressAnnotationObject* object); +</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>object :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>list of objects</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_strings.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_strings.page new file mode 100644 index 00000000..be29a584 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_strings.page @@ -0,0 +1,45 @@ +<?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>GList*</api:type> + </api:returns> + <api:name>regress_annotation_object_get_strings</api:name> + <api:arg> + <api:type>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_get_strings</title> + +<synopsis><code mime="text/x-csrc"> +GList* regress_annotation_object_get_strings (RegressAnnotationObject* object); +</code></synopsis> + + + <p>This is a test for returning a list of strings, where +each string needs to be freed.</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>list of strings</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.hidden_self.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.hidden_self.page new file mode 100644 index 00000000..8218f23d --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.hidden_self.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>gpointer</api:type> + <api:name>object</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_hidden_self</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_object_hidden_self (gpointer object); +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>A <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.in.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.in.page new file mode 100644 index 00000000..2795957d --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.in.page @@ -0,0 +1,51 @@ +<?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>gint</api:type> + </api:returns> + <api:name>regress_annotation_object_in</api:name> + <api:arg> + <api:type>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>inarg</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_in</title> + +<synopsis><code mime="text/x-csrc"> +gint regress_annotation_object_in (RegressAnnotationObject* object, + int* inarg); +</code></synopsis> + + + <p>This is a test for in arguments</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<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-C-expected/Regress.AnnotationObject.inout.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.inout.page new file mode 100644 index 00000000..09bc20da --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.inout.page @@ -0,0 +1,51 @@ +<?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>gint</api:type> + </api:returns> + <api:name>regress_annotation_object_inout</api:name> + <api:arg> + <api:type>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>inoutarg</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_inout</title> + +<synopsis><code mime="text/x-csrc"> +gint regress_annotation_object_inout (RegressAnnotationObject* object, + int* inoutarg); +</code></synopsis> + + + <p>This is a test for out arguments</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<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-C-expected/Regress.AnnotationObject.inout2.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.inout2.page new file mode 100644 index 00000000..4a95ff09 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.inout2.page @@ -0,0 +1,51 @@ +<?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>gint</api:type> + </api:returns> + <api:name>regress_annotation_object_inout2</api:name> + <api:arg> + <api:type>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>inoutarg</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_inout2</title> + +<synopsis><code mime="text/x-csrc"> +gint regress_annotation_object_inout2 (RegressAnnotationObject* object, + int* inoutarg); +</code></synopsis> + + + <p>This is a second test for out arguments</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<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-C-expected/Regress.AnnotationObject.inout3.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.inout3.page new file mode 100644 index 00000000..1af81705 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.inout3.page @@ -0,0 +1,51 @@ +<?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>gint</api:type> + </api:returns> + <api:name>regress_annotation_object_inout3</api:name> + <api:arg> + <api:type>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>inoutarg</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_inout3</title> + +<synopsis><code mime="text/x-csrc"> +gint regress_annotation_object_inout3 (RegressAnnotationObject* object, + int* inoutarg); +</code></synopsis> + + + <p>This is a 3th test for out arguments</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<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-C-expected/Regress.AnnotationObject.method.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.method.page new file mode 100644 index 00000000..793cf370 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.method.page @@ -0,0 +1,44 @@ +<?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>gint</api:type> + </api:returns> + <api:name>regress_annotation_object_method</api:name> + <api:arg> + <api:type>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_method</title> + +<synopsis><code mime="text/x-csrc"> +gint regress_annotation_object_method (RegressAnnotationObject* object); +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.notrans.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.notrans.page new file mode 100644 index 00000000..c8ba72cd --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.notrans.page @@ -0,0 +1,44 @@ +<?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*</api:type> + </api:returns> + <api:name>regress_annotation_object_notrans</api:name> + <api:arg> + <api:type>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_notrans</title> + +<synopsis><code mime="text/x-csrc"> +GObject* regress_annotation_object_notrans (RegressAnnotationObject* object); +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>An object, not referenced</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.out.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.out.page new file mode 100644 index 00000000..ec90d82b --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.out.page @@ -0,0 +1,51 @@ +<?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>gint</api:type> + </api:returns> + <api:name>regress_annotation_object_out</api:name> + <api:arg> + <api:type>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>outarg</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_out</title> + +<synopsis><code mime="text/x-csrc"> +gint regress_annotation_object_out (RegressAnnotationObject* object, + int* outarg); +</code></synopsis> + + + <p>This is a test for out arguments</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>outarg :</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/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.page index 9448bbb6..145996ec 100644 --- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.page +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.page @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<page id="DocExamples.Obj" +<page id="Regress.AnnotationObject" type="guide" style="class" xmlns="http://projectmallard.org/1.0/" @@ -10,14 +10,13 @@ <link type="guide" xref="index"/> </info> - <title>DocExamples.Obj</title> + <title>Regress.AnnotationObject</title> - <p>This is an example of how to document a class</p><p>This class has a signal: <link xref="DocExamples.Obj-signal-example"/>.</p><p>And also has a property: <link xref="DocExamples.Obj-property-example"/>.</p> + <p>This is an object used to test regress_annotations.</p> - <p>Since 0.99</p> <synopsis> @@ -26,7 +25,7 @@ <item> <code>GObject.Object</code> <item> - <code>DocExamples.Obj</code> + <code>Regress.AnnotationObject</code> </item> </item> </tree> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.parse_args.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.parse_args.page new file mode 100644 index 00000000..5282ab5d --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.parse_args.page @@ -0,0 +1,58 @@ +<?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>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>argc</api:name> + </api:arg> + <api:arg> + <api:type>char***</api:type> + <api:name>argv</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_parse_args</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_object_parse_args (RegressAnnotationObject* object, + int* argc, + char*** argv); +</code></synopsis> + + + <p>Test taking a zero-terminated array with length parameter</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>argc :</p></dt> +<dd><p>Length of the argument vector</p></dd> +<dt><p>argv :</p></dt> +<dd><p>Argument vector</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.set_data.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.set_data.page new file mode 100644 index 00000000..a52f0cc3 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.set_data.page @@ -0,0 +1,58 @@ +<?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>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>guchar*</api:type> + <api:name>data</api:name> + </api:arg> + <api:arg> + <api:type>gsize</api:type> + <api:name>length</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_set_data</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_object_set_data (RegressAnnotationObject* object, + guchar* data, + gsize length); +</code></synopsis> + + + <p>Test taking a guchar * with a length.</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>data :</p></dt> +<dd><p>The data</p></dd> +<dt><p>length :</p></dt> +<dd><p>Length of the data</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.set_data2.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.set_data2.page new file mode 100644 index 00000000..8c2be283 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.set_data2.page @@ -0,0 +1,58 @@ +<?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>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>gint8*</api:type> + <api:name>data</api:name> + </api:arg> + <api:arg> + <api:type>gsize</api:type> + <api:name>length</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_set_data2</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_object_set_data2 (RegressAnnotationObject* object, + gint8* data, + gsize length); +</code></synopsis> + + + <p>Test taking a gchar * with a length.</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>data :</p></dt> +<dd><p>The data</p></dd> +<dt><p>length :</p></dt> +<dd><p>Length of the data</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.set_data3.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.set_data3.page new file mode 100644 index 00000000..989bb1da --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.set_data3.page @@ -0,0 +1,59 @@ +<?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>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>guint8*</api:type> + <api:name>data</api:name> + </api:arg> + <api:arg> + <api:type>gsize</api:type> + <api:name>length</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_set_data3</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_object_set_data3 (RegressAnnotationObject* object, + guint8* data, + gsize length); +</code></synopsis> + + + <p>Test taking a gchar * with a length, overriding the array element +type.</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>data :</p></dt> +<dd><p>The data</p></dd> +<dt><p>length :</p></dt> +<dd><p>Length of the data</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.string_out.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.string_out.page new file mode 100644 index 00000000..8195d4aa --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.string_out.page @@ -0,0 +1,51 @@ +<?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>gboolean</api:type> + </api:returns> + <api:name>regress_annotation_object_string_out</api:name> + <api:arg> + <api:type>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>char**</api:type> + <api:name>str_out</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_string_out</title> + +<synopsis><code mime="text/x-csrc"> +gboolean regress_annotation_object_string_out (RegressAnnotationObject* object, + char** str_out); +</code></synopsis> + + + <p>Test returning a string as an out parameter</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>str_out :</p></dt> +<dd><p>string return value</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>some boolean</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.use_buffer.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.use_buffer.page new file mode 100644 index 00000000..8a8094ba --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.use_buffer.page @@ -0,0 +1,51 @@ +<?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>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>guchar*</api:type> + <api:name>bytes</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_use_buffer</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_object_use_buffer (RegressAnnotationObject* object, + guchar* bytes); +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>bytes :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.watch.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.watch.page new file mode 100644 index 00000000..c669d91a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.watch.page @@ -0,0 +1,59 @@ +<?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>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>RegressAnnotationForeachFunc</api:type> + <api:name>func</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_watch</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_object_watch (RegressAnnotationObject* object, + RegressAnnotationForeachFunc func, + gpointer user_data); +</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>object :</p></dt> +<dd><p>A <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>func :</p></dt> +<dd><p>The callback</p></dd> +<dt><p>user_data :</p></dt> +<dd><p>The callback data</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.watch_full.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.watch_full.page new file mode 100644 index 00000000..90500ccb --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.watch_full.page @@ -0,0 +1,65 @@ +<?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>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>RegressAnnotationForeachFunc</api:type> + <api:name>func</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + <api:arg> + <api:type>GDestroyNotify</api:type> + <api:name>destroy</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_watch_full</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_object_watch_full (RegressAnnotationObject* object, + RegressAnnotationForeachFunc func, + gpointer user_data, + GDestroyNotify destroy); +</code></synopsis> + + + <p>Test overriding via the "Rename To" regress_annotation.</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>A <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>func :</p></dt> +<dd><p>The callback</p></dd> +<dt><p>user_data :</p></dt> +<dd><p>The callback data</p></dd> +<dt><p>destroy :</p></dt> +<dd><p>Destroy notification</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.with_voidp.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.with_voidp.page new file mode 100644 index 00000000..287a0d22 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.with_voidp.page @@ -0,0 +1,51 @@ +<?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>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>void*</api:type> + <api:name>data</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_object_with_voidp</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_object_with_voidp (RegressAnnotationObject* object, + void* data); +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd></dd> +<dt><p>data :</p></dt> +<dd><p>Opaque pointer handle</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObjectClass.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObjectClass.page new file mode 100644 index 00000000..16e82e3a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObjectClass.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObjectClass" + type="topic" + 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.AnnotationObjectClass</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationStruct.page b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationStruct.page new file mode 100644 index 00000000..67f83e95 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationStruct.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationStruct" + type="topic" + 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-C-expected/Regress.DOUBLE_CONSTANT.page b/tests/scanner/Regress-1.0-C-expected/Regress.DOUBLE_CONSTANT.page new file mode 100644 index 00000000..b1aa32d8 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.FOO_DEFINE_SHOULD_BE_EXPOSED.page b/tests/scanner/Regress-1.0-C-expected/Regress.FOO_DEFINE_SHOULD_BE_EXPOSED.page new file mode 100644 index 00000000..357665de --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.FOO_PIE_IS_TASTY.page b/tests/scanner/Regress-1.0-C-expected/Regress.FOO_PIE_IS_TASTY.page new file mode 100644 index 00000000..7dc308a1 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.FOO_SUCCESS_INT.page b/tests/scanner/Regress-1.0-C-expected/Regress.FOO_SUCCESS_INT.page new file mode 100644 index 00000000..f20f426f --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.FooASingle.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooASingle.page new file mode 100644 index 00000000..d4646251 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooASingle.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooASingle" + type="guide" + 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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooAddressType.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooAddressType.page new file mode 100644 index 00000000..b98ce57c --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooAddressType.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooAddressType" + type="guide" + 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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooBRect.add.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooBRect.add.page new file mode 100644 index 00000000..b518be03 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooBRect.add.page @@ -0,0 +1,51 @@ +<?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>RegressFooBRect*</api:type> + <api:name>b1</api:name> + </api:arg> + <api:arg> + <api:type>RegressFooBRect*</api:type> + <api:name>b2</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_brect_add</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_brect_add (RegressFooBRect* b1, + RegressFooBRect* b2); +</code></synopsis> + + + + + + + +<dl> +<dt><p>b1 :</p></dt> +<dd></dd> +<dt><p>b2 :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooBRect.new.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooBRect.new.page new file mode 100644 index 00000000..6b1b2834 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooBRect.new.page @@ -0,0 +1,51 @@ +<?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>RegressFooBRect*</api:type> + </api:returns> + <api:name>regress_foo_brect_new</api:name> + <api:arg> + <api:type>double</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>double</api:type> + <api:name>y</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_brect_new</title> + +<synopsis><code mime="text/x-csrc"> +RegressFooBRect* regress_foo_brect_new (double x, + double y); +</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/doctool/DocExamples-1.0-C-expected/DocExamples.ObjClass.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooBRect.page index fe95df74..29268bee 100644 --- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.ObjClass.page +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooBRect.page @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<page id="DocExamples.ObjClass" +<page id="Regress.FooBRect" type="topic" style="record" xmlns="http://projectmallard.org/1.0/" @@ -10,7 +10,7 @@ <link type="guide" xref="index"/> </info> - <title>DocExamples.ObjClass</title> + <title>Regress.FooBRect</title> diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Callback.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooBUnion.page index 621485cf..63831e74 100644 --- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Callback.page +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooBUnion.page @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<page id="DocExamples.Callback" +<page id="Regress.FooBUnion" type="topic" style="default" xmlns="http://projectmallard.org/1.0/" @@ -10,7 +10,7 @@ <link type="guide" xref="index"/> </info> - <title>DocExamples.Callback</title> + <title>Regress.FooBUnion</title> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooBoxed.method.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooBoxed.method.page new file mode 100644 index 00000000..565e9669 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooBoxed.method.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>RegressFooBoxed*</api:type> + <api:name>boxed</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_boxed_method</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_boxed_method (RegressFooBoxed* boxed); +</code></synopsis> + + + + + + + +<dl> +<dt><p>boxed :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooBoxed.new.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooBoxed.new.page new file mode 100644 index 00000000..bfaaeb81 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooBoxed.new.page @@ -0,0 +1,38 @@ +<?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>RegressFooBoxed*</api:type> + </api:returns> + <api:name>regress_foo_boxed_new</api:name> + </api:function> + + </info> + <title>regress_foo_boxed_new</title> + +<synopsis><code mime="text/x-csrc"> +RegressFooBoxed* regress_foo_boxed_new (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooBoxed.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooBoxed.page new file mode 100644 index 00000000..11fe2818 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooBoxed.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooBoxed" + type="topic" + 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-C-expected/Regress.FooBuffer.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooBuffer.page new file mode 100644 index 00000000..1291cbfd --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooBuffer.page @@ -0,0 +1,61 @@ +<?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> + <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-csrc" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-csrc" + 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-C-expected/Regress.FooBuffer.some_method.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooBuffer.some_method.page new file mode 100644 index 00000000..937b6795 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooBuffer.some_method.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>RegressFooBuffer*</api:type> + <api:name>buffer</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_buffer_some_method</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_buffer_some_method (RegressFooBuffer* buffer); +</code></synopsis> + + + + + + + +<dl> +<dt><p>buffer :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Callback.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooCallback.page index 621485cf..241296e1 100644 --- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Callback.page +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooCallback.page @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<page id="DocExamples.Callback" +<page id="Regress.FooCallback" type="topic" style="default" xmlns="http://projectmallard.org/1.0/" @@ -10,7 +10,7 @@ <link type="guide" xref="index"/> </info> - <title>DocExamples.Callback</title> + <title>Regress.FooCallback</title> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooDBusData.method.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooDBusData.method.page new file mode 100644 index 00000000..1324acb0 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooDBusData.method.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>RegressFooDBusData*</api:type> + <api:name>dbusdata</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_dbus_data_method</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_dbus_data_method (RegressFooDBusData* dbusdata); +</code></synopsis> + + + + + + + +<dl> +<dt><p>dbusdata :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooDBusData.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooDBusData.page new file mode 100644 index 00000000..34bb11ea --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooDBusData.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooDBusData" + type="topic" + 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-C-expected/Regress.FooEnumFullname.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooEnumFullname.page new file mode 100644 index 00000000..6e9c360d --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooEnumFullname.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooEnumFullname" + type="guide" + 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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooEnumNoType.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooEnumNoType.page new file mode 100644 index 00000000..bf48cb96 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooEnumNoType.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooEnumNoType" + type="guide" + 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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooEnumType.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooEnumType.page new file mode 100644 index 00000000..9512104e --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooEnumType.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooEnumType" + type="guide" + 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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooError.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooError.page new file mode 100644 index 00000000..09ae5007 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooError.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooError" + type="guide" + 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> + + + + + + + + + + + +</page> diff --git a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Callback.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooEvent.page index 621485cf..0b77bcbb 100644 --- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Callback.page +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooEvent.page @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<page id="DocExamples.Callback" +<page id="Regress.FooEvent" type="topic" style="default" xmlns="http://projectmallard.org/1.0/" @@ -10,7 +10,7 @@ <link type="guide" xref="index"/> </info> - <title>DocExamples.Callback</title> + <title>Regress.FooEvent</title> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooEventAny.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooEventAny.page new file mode 100644 index 00000000..347c6514 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooEventAny.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooEventAny" + type="topic" + 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-C-expected/Regress.FooEventExpose.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooEventExpose.page new file mode 100644 index 00000000..a99a5d19 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooEventExpose.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooEventExpose" + type="topic" + 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-C-expected/Regress.FooFlagsNoType.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooFlagsNoType.page new file mode 100644 index 00000000..d4db757a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.FooFlagsType.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooFlagsType.page new file mode 100644 index 00000000..e4f3edef --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.FooForeignStruct.copy.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooForeignStruct.copy.page new file mode 100644 index 00000000..836cfe85 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooForeignStruct.copy.page @@ -0,0 +1,44 @@ +<?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>RegressFooForeignStruct*</api:type> + </api:returns> + <api:name>regress_foo_foreign_struct_copy</api:name> + <api:arg> + <api:type>RegressFooForeignStruct*</api:type> + <api:name>original</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_foreign_struct_copy</title> + +<synopsis><code mime="text/x-csrc"> +RegressFooForeignStruct* regress_foo_foreign_struct_copy (RegressFooForeignStruct* original); +</code></synopsis> + + + + + + + +<dl> +<dt><p>original :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooForeignStruct.new.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooForeignStruct.new.page new file mode 100644 index 00000000..710c5ef0 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooForeignStruct.new.page @@ -0,0 +1,38 @@ +<?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>RegressFooForeignStruct*</api:type> + </api:returns> + <api:name>regress_foo_foreign_struct_new</api:name> + </api:function> + + </info> + <title>regress_foo_foreign_struct_new</title> + +<synopsis><code mime="text/x-csrc"> +RegressFooForeignStruct* regress_foo_foreign_struct_new (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooForeignStruct.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooForeignStruct.page new file mode 100644 index 00000000..24082f81 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooForeignStruct.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooForeignStruct" + type="topic" + 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/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-vfunc.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooInterface-do_regress_foo.page index 7ff7e568..3a16ebc1 100644 --- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-vfunc.page +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooInterface-do_regress_foo.page @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<page id="DocExamples.Obj-vfunc" +<page id="Regress.FooInterface-do_regress_foo" type="topic" style="vfunc" xmlns="http://projectmallard.org/1.0/" @@ -7,28 +7,27 @@ xmlns:ui="http://projectmallard.org/1.0/ui/"> <info> - <link type="guide" xref="DocExamples.Obj" group="vfunc"/> + <link type="guide" xref="Regress.FooInterface" group="vfunc"/> </info> - <title>DocExamples.Obj::vfunc</title> + <title>Regress.FooInterface::do_regress_foo</title> <synopsis><code mime="text/x-csrc"> -void vfunc (DocExamplesObj* self, - gint first_arg); +void do_regress_foo (RegressFooInterface* self, + int x); </code></synopsis> - <p>This is an example of how to document a vfunc.</p> + - <p>Since 0.99</p> <dl> <dt><p>self :</p></dt> <dd></dd> -<dt><p>first_arg :</p></dt> -<dd><p>first argument</p></dd> +<dt><p>x :</p></dt> +<dd></dd> <dt><p>Returns :</p></dt> <dd></dd> </dl> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooInterface.do_regress_foo.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooInterface.do_regress_foo.page new file mode 100644 index 00000000..f655d167 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooInterface.do_regress_foo.page @@ -0,0 +1,51 @@ +<?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>RegressFooInterface*</api:type> + <api:name>iface</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_interface_do_regress_foo</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_interface_do_regress_foo (RegressFooInterface* iface, + int x); +</code></synopsis> + + + + + + + +<dl> +<dt><p>iface :</p></dt> +<dd></dd> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooInterface.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooInterface.page new file mode 100644 index 00000000..4682fdd2 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooInterface.page @@ -0,0 +1,55 @@ +<?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> + <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-csrc" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-csrc" + 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-C-expected/Regress.FooInterface.static_method.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooInterface.static_method.page new file mode 100644 index 00000000..009383fa --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_interface_static_method</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_interface_static_method (int x); +</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-C-expected/Regress.FooInterfaceIface.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooInterfaceIface.page new file mode 100644 index 00000000..5a02e944 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooInterfaceIface.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooInterfaceIface" + type="topic" + 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.FooInterfaceIface</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObject-hidden.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject-hidden.page new file mode 100644 index 00000000..a0266cd1 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject-hidden.page @@ -0,0 +1,26 @@ +<?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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObject-read_fn.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject-read_fn.page new file mode 100644 index 00000000..8efc5f1c --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject-read_fn.page @@ -0,0 +1,40 @@ +<?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="Regress.FooObject" group="vfunc"/> + + </info> + <title>Regress.FooObject::read_fn</title> + +<synopsis><code mime="text/x-csrc"> +void read_fn (RegressFooObject* object, + int offset, + int length); +</code></synopsis> + + + <p>Read some stuff.</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd></dd> +<dt><p>offset :</p></dt> +<dd><p>offset</p></dd> +<dt><p>length :</p></dt> +<dd><p>length</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObject-signal.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject-signal.page new file mode 100644 index 00000000..d7453603 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject-signal.page @@ -0,0 +1,38 @@ +<?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="property"/> + <title type="link" role="topic">signal</title> + + </info> + <title>Regress.FooObject::signal</title> + +<synopsis><code mime="text/x-csrc"> +gchar* signal (GObject object, + gpointer p0); +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd></dd> +<dt><p>p0 :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObject-string.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject-string.page new file mode 100644 index 00000000..4de4c9e8 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject-string.page @@ -0,0 +1,26 @@ +<?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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObject-virtual_method.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject-virtual_method.page new file mode 100644 index 00000000..8dc89fd5 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject-virtual_method.page @@ -0,0 +1,37 @@ +<?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="Regress.FooObject" group="vfunc"/> + + </info> + <title>Regress.FooObject::virtual_method</title> + +<synopsis><code mime="text/x-csrc"> +gboolean virtual_method (RegressFooObject* object, + int first_param); +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd></dd> +<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-C-expected/Regress.FooObject.a_global_method.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.a_global_method.page new file mode 100644 index 00000000..2f4e1b5b --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>UtilityObject*</api:type> + <api:name>obj</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_object_a_global_method</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_object_a_global_method (UtilityObject* obj); +</code></synopsis> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.append_new_stack_layer.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.append_new_stack_layer.page new file mode 100644 index 00000000..fb0c6582 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.append_new_stack_layer.page @@ -0,0 +1,51 @@ +<?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>RegressFooOtherObject*</api:type> + </api:returns> + <api:name>regress_foo_object_append_new_stack_layer</api:name> + <api:arg> + <api:type>RegressFooObject*</api:type> + <api:name>obj</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_object_append_new_stack_layer</title> + +<synopsis><code mime="text/x-csrc"> +RegressFooOtherObject* regress_foo_object_append_new_stack_layer (RegressFooObject* obj, + int x); +</code></synopsis> + + + <p>This shouldn't be scanned as a constructor.</p> + + + + +<dl> +<dt><p>obj :</p></dt> +<dd></dd> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.dup_name.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.dup_name.page new file mode 100644 index 00000000..3e0a8aaf --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.dup_name.page @@ -0,0 +1,44 @@ +<?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>char*</api:type> + </api:returns> + <api:name>regress_foo_object_dup_name</api:name> + <api:arg> + <api:type>RegressFooObject*</api:type> + <api:name>object</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_object_dup_name</title> + +<synopsis><code mime="text/x-csrc"> +char* regress_foo_object_dup_name (RegressFooObject* object); +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.external_type.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.external_type.page new file mode 100644 index 00000000..3d9138ee --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.external_type.page @@ -0,0 +1,44 @@ +<?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>UtilityObject*</api:type> + </api:returns> + <api:name>regress_foo_object_external_type</api:name> + <api:arg> + <api:type>RegressFooObject*</api:type> + <api:name>object</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_object_external_type</title> + +<synopsis><code mime="text/x-csrc"> +UtilityObject* regress_foo_object_external_type (RegressFooObject* object); +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>a <link xref="Regress.FooObject"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p><code>NULL</code> always</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.get_default.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.get_default.page new file mode 100644 index 00000000..201db735 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.get_default.page @@ -0,0 +1,39 @@ +<?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>RegressFooObject*</api:type> + </api:returns> + <api:name>regress_foo_object_get_default</api:name> + </api:function> + + </info> + <title>regress_foo_object_get_default</title> + +<synopsis><code mime="text/x-csrc"> +RegressFooObject* regress_foo_object_get_default (void); +</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-C-expected/Regress.FooObject.get_name.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.get_name.page new file mode 100644 index 00000000..d48725b3 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.get_name.page @@ -0,0 +1,44 @@ +<?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>const char*</api:type> + </api:returns> + <api:name>regress_foo_object_get_name</api:name> + <api:arg> + <api:type>RegressFooObject*</api:type> + <api:name>object</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_object_get_name</title> + +<synopsis><code mime="text/x-csrc"> +const char* regress_foo_object_get_name (RegressFooObject* object); +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.handle_glyph.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.handle_glyph.page new file mode 100644 index 00000000..19f19fa1 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.handle_glyph.page @@ -0,0 +1,51 @@ +<?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>RegressFooObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>UtilityGlyph</api:type> + <api:name>glyph</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_object_handle_glyph</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_object_handle_glyph (RegressFooObject* object, + UtilityGlyph glyph); +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd></dd> +<dt><p>glyph :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.is_it_time_yet.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.is_it_time_yet.page new file mode 100644 index 00000000..6aa3e829 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.is_it_time_yet.page @@ -0,0 +1,51 @@ +<?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>RegressFooObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>time_t</api:type> + <api:name>time</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_object_is_it_time_yet</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_object_is_it_time_yet (RegressFooObject* object, + time_t time); +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd></dd> +<dt><p>time :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.new.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.new.page new file mode 100644 index 00000000..b1d8ccba --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.new.page @@ -0,0 +1,38 @@ +<?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>RegressFooObject*</api:type> + </api:returns> + <api:name>regress_foo_object_new</api:name> + </api:function> + + </info> + <title>regress_foo_object_new</title> + +<synopsis><code mime="text/x-csrc"> +RegressFooObject* regress_foo_object_new (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.new_as_super.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.new_as_super.page new file mode 100644 index 00000000..7ab6a246 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.new_as_super.page @@ -0,0 +1,38 @@ +<?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*</api:type> + </api:returns> + <api:name>regress_foo_object_new_as_super</api:name> + </api:function> + + </info> + <title>regress_foo_object_new_as_super</title> + +<synopsis><code mime="text/x-csrc"> +GObject* regress_foo_object_new_as_super (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.new_cookie.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.new_cookie.page new file mode 100644 index 00000000..5d4766a9 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.new_cookie.page @@ -0,0 +1,51 @@ +<?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>RegressFooObjectCookie</api:type> + </api:returns> + <api:name>regress_foo_object_new_cookie</api:name> + <api:arg> + <api:type>RegressFooObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>const char*</api:type> + <api:name>target</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_object_new_cookie</title> + +<synopsis><code mime="text/x-csrc"> +RegressFooObjectCookie regress_foo_object_new_cookie (RegressFooObject* object, + const char* target); +</code></synopsis> + + + <p>Not sure why this test is here...</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd></dd> +<dt><p>target :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.page new file mode 100644 index 00000000..c79e0b71 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.page @@ -0,0 +1,58 @@ +<?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> + <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-csrc" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-csrc" + 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-C-expected/Regress.FooObject.read.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.read.page new file mode 100644 index 00000000..cff77113 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.read.page @@ -0,0 +1,58 @@ +<?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>RegressFooObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>offset</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>length</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_object_read</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_object_read (RegressFooObject* object, + int offset, + int length); +</code></synopsis> + + + <p>Read some stuff.</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>obj</p></dd> +<dt><p>offset :</p></dt> +<dd><p>offset</p></dd> +<dt><p>length :</p></dt> +<dd><p>length</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.skipped_method.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.skipped_method.page new file mode 100644 index 00000000..f82a16b0 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.skipped_method.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>RegressFooObject*</api:type> + <api:name>object</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_object_skipped_method</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_object_skipped_method (RegressFooObject* object); +</code></synopsis> + + + <p>This is only useful from C.</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>obj</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.static_meth.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.static_meth.page new file mode 100644 index 00000000..13e2427d --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.static_meth.page @@ -0,0 +1,38 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_foo_object_static_meth</api:name> + </api:function> + + </info> + <title>regress_foo_object_static_meth</title> + +<synopsis><code mime="text/x-csrc"> +int regress_foo_object_static_meth (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.take_all.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.take_all.page new file mode 100644 index 00000000..3d842cf6 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.take_all.page @@ -0,0 +1,55 @@ +<?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>RegressFooObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:varargs/> + </api:function> + + </info> + <title>regress_foo_object_take_all</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_object_take_all (RegressFooObject* object, + int x, + ...); +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd></dd> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>None :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.various.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.various.page new file mode 100644 index 00000000..82d3c189 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.various.page @@ -0,0 +1,58 @@ +<?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>RegressFooObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>void*</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>regress_foo_object_various</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_object_various (RegressFooObject* object, + void* data, + GType some_type); +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd></dd> +<dt><p>data :</p></dt> +<dd></dd> +<dt><p>some_type :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.virtual_method.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.virtual_method.page new file mode 100644 index 00000000..29a2c8cc --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObject.virtual_method.page @@ -0,0 +1,51 @@ +<?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>gboolean</api:type> + </api:returns> + <api:name>regress_foo_object_virtual_method</api:name> + <api:arg> + <api:type>RegressFooObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>first_param</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_object_virtual_method</title> + +<synopsis><code mime="text/x-csrc"> +gboolean regress_foo_object_virtual_method (RegressFooObject* object, + int first_param); +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd></dd> +<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-C-expected/Regress.FooObjectClass.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObjectClass.page new file mode 100644 index 00000000..c35a3bc1 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooObjectClass.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooObjectClass" + type="topic" + 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.FooObjectClass</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooObjectCookie.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooObjectCookie.page new file mode 100644 index 00000000..4d9cabc6 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.FooOtherObject.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooOtherObject.page new file mode 100644 index 00000000..0d080df3 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooOtherObject.page @@ -0,0 +1,58 @@ +<?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> + <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-csrc" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-csrc" + 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-C-expected/Regress.FooRectangle.add.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooRectangle.add.page new file mode 100644 index 00000000..483e04f4 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooRectangle.add.page @@ -0,0 +1,51 @@ +<?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>RegressFooRectangle*</api:type> + <api:name>r1</api:name> + </api:arg> + <api:arg> + <api:type>const RegressFooRectangle*</api:type> + <api:name>r2</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_rectangle_add</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_rectangle_add (RegressFooRectangle* r1, + const RegressFooRectangle* r2); +</code></synopsis> + + + + + + + +<dl> +<dt><p>r1 :</p></dt> +<dd><p>add to this rect</p></dd> +<dt><p>r2 :</p></dt> +<dd><p>source rectangle</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooRectangle.new.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooRectangle.new.page new file mode 100644 index 00000000..43d831e2 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooRectangle.new.page @@ -0,0 +1,66 @@ +<?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>RegressFooRectangle*</api:type> + </api:returns> + <api:name>regress_foo_rectangle_new</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>y</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>width</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>height</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_rectangle_new</title> + +<synopsis><code mime="text/x-csrc"> +RegressFooRectangle* regress_foo_rectangle_new (int x, + int y, + int width, + int height); +</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-C-expected/Regress.FooRectangle.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooRectangle.page new file mode 100644 index 00000000..3ea38d1e --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooRectangle.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooRectangle" + type="topic" + 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-C-expected/Regress.FooSkippable.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooSkippable.page new file mode 100644 index 00000000..3746d326 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooSkippable.page @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<page id="Regress.FooSkippable" + type="guide" + 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> + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooStackLayer.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooStackLayer.page new file mode 100644 index 00000000..049d3760 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooStackLayer.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooStackLayer" + type="guide" + 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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooStruct.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooStruct.page new file mode 100644 index 00000000..291133a8 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooStruct.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooStruct" + type="topic" + 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-C-expected/Regress.FooSubInterface-destroy-event.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterface-destroy-event.page new file mode 100644 index 00000000..131747d7 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterface-destroy-event.page @@ -0,0 +1,33 @@ +<?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="property"/> + <title type="link" role="topic">destroy-event</title> + + </info> + <title>Regress.FooSubInterface::destroy-event</title> + +<synopsis><code mime="text/x-csrc"> +void destroy-event (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterface-destroy_event.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterface-destroy_event.page new file mode 100644 index 00000000..2995ee80 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterface-destroy_event.page @@ -0,0 +1,34 @@ +<?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="Regress.FooSubInterface" group="vfunc"/> + + </info> + <title>Regress.FooSubInterface::destroy_event</title> + +<synopsis><code mime="text/x-csrc"> +void destroy_event (RegressFooSubInterface* self); +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterface-do_bar.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterface-do_bar.page new file mode 100644 index 00000000..aa72dd19 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterface-do_bar.page @@ -0,0 +1,34 @@ +<?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="Regress.FooSubInterface" group="vfunc"/> + + </info> + <title>Regress.FooSubInterface::do_bar</title> + +<synopsis><code mime="text/x-csrc"> +void do_bar (RegressFooSubInterface* self); +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterface-do_baz.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterface-do_baz.page new file mode 100644 index 00000000..777e47b1 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterface-do_baz.page @@ -0,0 +1,40 @@ +<?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="Regress.FooSubInterface" group="vfunc"/> + + </info> + <title>Regress.FooSubInterface::do_baz</title> + +<synopsis><code mime="text/x-csrc"> +void do_baz (RegressFooSubInterface* self, + GCallback callback, + gpointer user_data); +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>user_data :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterface.do_bar.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterface.do_bar.page new file mode 100644 index 00000000..f5d7541d --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterface.do_bar.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>RegressFooSubInterface*</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_sub_interface_do_bar</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_sub_interface_do_bar (RegressFooSubInterface* self); +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterface.do_baz.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterface.do_baz.page new file mode 100644 index 00000000..d3fbac44 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterface.do_baz.page @@ -0,0 +1,58 @@ +<?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>RegressFooSubInterface*</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>GCallback</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_sub_interface_do_baz</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_sub_interface_do_baz (RegressFooSubInterface* self, + GCallback callback, + gpointer user_data); +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>user_data :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterface.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterface.page new file mode 100644 index 00000000..4147580e --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterface.page @@ -0,0 +1,55 @@ +<?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> + <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-csrc" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-csrc" + 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-C-expected/Regress.FooSubInterfaceIface.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterfaceIface.page new file mode 100644 index 00000000..fc18c914 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubInterfaceIface.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooSubInterfaceIface" + type="topic" + 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.FooSubInterfaceIface</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooSubobject.new.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubobject.new.page new file mode 100644 index 00000000..86364052 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubobject.new.page @@ -0,0 +1,38 @@ +<?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>RegressFooSubobject*</api:type> + </api:returns> + <api:name>regress_foo_subobject_new</api:name> + </api:function> + + </info> + <title>regress_foo_subobject_new</title> + +<synopsis><code mime="text/x-csrc"> +RegressFooSubobject* regress_foo_subobject_new (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooSubobject.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubobject.page new file mode 100644 index 00000000..933b39a9 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubobject.page @@ -0,0 +1,61 @@ +<?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> + <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-csrc" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-csrc" + 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-C-expected/Regress.FooSubobjectClass.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubobjectClass.page new file mode 100644 index 00000000..d0e3e886 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooSubobjectClass.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooSubobjectClass" + type="topic" + 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.FooSubobjectClass</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooThingWithArray.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooThingWithArray.page new file mode 100644 index 00000000..facdc1c0 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooThingWithArray.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooThingWithArray" + type="topic" + 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-C-expected/Regress.FooUnion.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooUnion.page new file mode 100644 index 00000000..06d2e800 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.FooUtilityStruct.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooUtilityStruct.page new file mode 100644 index 00000000..e6943a07 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooUtilityStruct.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooUtilityStruct" + type="topic" + 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-C-expected/Regress.FooVarargsCallback.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooVarargsCallback.page new file mode 100644 index 00000000..d477638a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.FooXEvent.page b/tests/scanner/Regress-1.0-C-expected/Regress.FooXEvent.page new file mode 100644 index 00000000..18122490 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.GUINT64_CONSTANT.page b/tests/scanner/Regress-1.0-C-expected/Regress.GUINT64_CONSTANT.page new file mode 100644 index 00000000..9a0cd162 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.GUINT64_CONSTANTA.page b/tests/scanner/Regress-1.0-C-expected/Regress.GUINT64_CONSTANTA.page new file mode 100644 index 00000000..4faf765f --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.G_GINT64_CONSTANT.page b/tests/scanner/Regress-1.0-C-expected/Regress.G_GINT64_CONSTANT.page new file mode 100644 index 00000000..b4a66f69 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.INT_CONSTANT.page b/tests/scanner/Regress-1.0-C-expected/Regress.INT_CONSTANT.page new file mode 100644 index 00000000..e4df9a1e --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.IntSet.page b/tests/scanner/Regress-1.0-C-expected/Regress.IntSet.page new file mode 100644 index 00000000..e285bc28 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.LONG_STRING_CONSTANT.page b/tests/scanner/Regress-1.0-C-expected/Regress.LONG_STRING_CONSTANT.page new file mode 100644 index 00000000..3c0409a7 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.LikeGnomeKeyringPasswordSchema.page b/tests/scanner/Regress-1.0-C-expected/Regress.LikeGnomeKeyringPasswordSchema.page new file mode 100644 index 00000000..f2e64f04 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.LikeGnomeKeyringPasswordSchema.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.LikeGnomeKeyringPasswordSchema" + type="topic" + 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-C-expected/Regress.MAXUINT64.page b/tests/scanner/Regress-1.0-C-expected/Regress.MAXUINT64.page new file mode 100644 index 00000000..be1afd19 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.MININT64.page b/tests/scanner/Regress-1.0-C-expected/Regress.MININT64.page new file mode 100644 index 00000000..35c3e584 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.Mixed_Case_Constant.page b/tests/scanner/Regress-1.0-C-expected/Regress.Mixed_Case_Constant.page new file mode 100644 index 00000000..5ea8d9b0 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.NEGATIVE_INT_CONSTANT.page b/tests/scanner/Regress-1.0-C-expected/Regress.NEGATIVE_INT_CONSTANT.page new file mode 100644 index 00000000..576c690f --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.PtrArrayAlias.page b/tests/scanner/Regress-1.0-C-expected/Regress.PtrArrayAlias.page new file mode 100644 index 00000000..9af00b51 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.STRING_CONSTANT.page b/tests/scanner/Regress-1.0-C-expected/Regress.STRING_CONSTANT.page new file mode 100644 index 00000000..945ba986 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.SkippedStructure.page b/tests/scanner/Regress-1.0-C-expected/Regress.SkippedStructure.page new file mode 100644 index 00000000..2c6993d0 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.SkippedStructure.page @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<page id="Regress.SkippedStructure" + type="topic" + 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-C-expected/Regress.TestABCError.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestABCError.page new file mode 100644 index 00000000..2848aa31 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestABCError.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestABCError" + type="guide" + 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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxed.copy.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxed.copy.page new file mode 100644 index 00000000..5bd06bb3 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxed.copy.page @@ -0,0 +1,44 @@ +<?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>RegressTestBoxed*</api:type> + </api:returns> + <api:name>regress_test_boxed_copy</api:name> + <api:arg> + <api:type>RegressTestBoxed*</api:type> + <api:name>boxed</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_boxed_copy</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestBoxed* regress_test_boxed_copy (RegressTestBoxed* boxed); +</code></synopsis> + + + + + + + +<dl> +<dt><p>boxed :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxed.equals.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxed.equals.page new file mode 100644 index 00000000..073b44ba --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxed.equals.page @@ -0,0 +1,51 @@ +<?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>gboolean</api:type> + </api:returns> + <api:name>regress_test_boxed_equals</api:name> + <api:arg> + <api:type>RegressTestBoxed*</api:type> + <api:name>boxed</api:name> + </api:arg> + <api:arg> + <api:type>RegressTestBoxed*</api:type> + <api:name>other</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_boxed_equals</title> + +<synopsis><code mime="text/x-csrc"> +gboolean regress_test_boxed_equals (RegressTestBoxed* boxed, + RegressTestBoxed* other); +</code></synopsis> + + + + + + + +<dl> +<dt><p>boxed :</p></dt> +<dd></dd> +<dt><p>other :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxed.new.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxed.new.page new file mode 100644 index 00000000..ce4f17bc --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxed.new.page @@ -0,0 +1,38 @@ +<?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>RegressTestBoxed*</api:type> + </api:returns> + <api:name>regress_test_boxed_new</api:name> + </api:function> + + </info> + <title>regress_test_boxed_new</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestBoxed* regress_test_boxed_new (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxed.new_alternative_constructor1.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxed.new_alternative_constructor1.page new file mode 100644 index 00000000..7d4292aa --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxed.new_alternative_constructor1.page @@ -0,0 +1,44 @@ +<?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>RegressTestBoxed*</api:type> + </api:returns> + <api:name>regress_test_boxed_new_alternative_constructor1</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>i</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_boxed_new_alternative_constructor1</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestBoxed* regress_test_boxed_new_alternative_constructor1 (int i); +</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-C-expected/Regress.TestBoxed.new_alternative_constructor2.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxed.new_alternative_constructor2.page new file mode 100644 index 00000000..5ec33ccd --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxed.new_alternative_constructor2.page @@ -0,0 +1,51 @@ +<?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>RegressTestBoxed*</api:type> + </api:returns> + <api:name>regress_test_boxed_new_alternative_constructor2</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>i</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>j</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_boxed_new_alternative_constructor2</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestBoxed* regress_test_boxed_new_alternative_constructor2 (int i, + int j); +</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-C-expected/Regress.TestBoxed.new_alternative_constructor3.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxed.new_alternative_constructor3.page new file mode 100644 index 00000000..56b516ea --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxed.new_alternative_constructor3.page @@ -0,0 +1,44 @@ +<?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>RegressTestBoxed*</api:type> + </api:returns> + <api:name>regress_test_boxed_new_alternative_constructor3</api:name> + <api:arg> + <api:type>char*</api:type> + <api:name>s</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_boxed_new_alternative_constructor3</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestBoxed* regress_test_boxed_new_alternative_constructor3 (char* s); +</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-C-expected/Regress.TestBoxed.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxed.page new file mode 100644 index 00000000..090ce47c --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxed.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxed" + type="topic" + 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-C-expected/Regress.TestBoxedB.copy.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedB.copy.page new file mode 100644 index 00000000..99651128 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedB.copy.page @@ -0,0 +1,44 @@ +<?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>RegressTestBoxedB*</api:type> + </api:returns> + <api:name>regress_test_boxed_b_copy</api:name> + <api:arg> + <api:type>RegressTestBoxedB*</api:type> + <api:name>boxed</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_boxed_b_copy</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestBoxedB* regress_test_boxed_b_copy (RegressTestBoxedB* boxed); +</code></synopsis> + + + + + + + +<dl> +<dt><p>boxed :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedB.new.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedB.new.page new file mode 100644 index 00000000..5266692c --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedB.new.page @@ -0,0 +1,51 @@ +<?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>RegressTestBoxedB*</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>glong</api:type> + <api:name>some_long</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_boxed_b_new</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestBoxedB* regress_test_boxed_b_new (gint8 some_int8, + glong some_long); +</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-C-expected/Regress.TestBoxedB.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedB.page new file mode 100644 index 00000000..99160c62 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedB.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxedB" + type="topic" + 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-C-expected/Regress.TestBoxedC.new.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedC.new.page new file mode 100644 index 00000000..52ed3482 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedC.new.page @@ -0,0 +1,38 @@ +<?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>RegressTestBoxedC*</api:type> + </api:returns> + <api:name>regress_test_boxed_c_new</api:name> + </api:function> + + </info> + <title>regress_test_boxed_c_new</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestBoxedC* regress_test_boxed_c_new (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedC.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedC.page new file mode 100644 index 00000000..9a86486e --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedC.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxedC" + type="topic" + 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-C-expected/Regress.TestBoxedD.copy.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedD.copy.page new file mode 100644 index 00000000..fd21b483 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedD.copy.page @@ -0,0 +1,44 @@ +<?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>RegressTestBoxedD*</api:type> + </api:returns> + <api:name>regress_test_boxed_d_copy</api:name> + <api:arg> + <api:type>RegressTestBoxedD*</api:type> + <api:name>boxed</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_boxed_d_copy</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestBoxedD* regress_test_boxed_d_copy (RegressTestBoxedD* boxed); +</code></synopsis> + + + + + + + +<dl> +<dt><p>boxed :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedD.free.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedD.free.page new file mode 100644 index 00000000..c98b5f7a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedD.free.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>RegressTestBoxedD*</api:type> + <api:name>boxed</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_boxed_d_free</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_boxed_d_free (RegressTestBoxedD* boxed); +</code></synopsis> + + + + + + + +<dl> +<dt><p>boxed :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedD.get_magic.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedD.get_magic.page new file mode 100644 index 00000000..240ad4fc --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedD.get_magic.page @@ -0,0 +1,44 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_boxed_d_get_magic</api:name> + <api:arg> + <api:type>RegressTestBoxedD*</api:type> + <api:name>boxed</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_boxed_d_get_magic</title> + +<synopsis><code mime="text/x-csrc"> +int regress_test_boxed_d_get_magic (RegressTestBoxedD* boxed); +</code></synopsis> + + + + + + + +<dl> +<dt><p>boxed :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedD.new.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedD.new.page new file mode 100644 index 00000000..26ec2bbc --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedD.new.page @@ -0,0 +1,51 @@ +<?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>RegressTestBoxedD*</api:type> + </api:returns> + <api:name>regress_test_boxed_d_new</api:name> + <api:arg> + <api:type>const char*</api:type> + <api:name>a_string</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>a_int</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_boxed_d_new</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestBoxedD* regress_test_boxed_d_new (const char* a_string, + int a_int); +</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-C-expected/Regress.TestBoxedD.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedD.page new file mode 100644 index 00000000..84781659 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedD.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxedD" + type="topic" + 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-C-expected/Regress.TestCallback.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestCallback.page new file mode 100644 index 00000000..9a219e9e --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.TestCallbackArray.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestCallbackArray.page new file mode 100644 index 00000000..7ceb2e07 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.TestCallbackFull.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestCallbackFull.page new file mode 100644 index 00000000..3de1fbe8 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.TestCallbackGError.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestCallbackGError.page new file mode 100644 index 00000000..1f6f2bdb --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.TestCallbackHashtable.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestCallbackHashtable.page new file mode 100644 index 00000000..906947c1 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.TestCallbackOwnedGError.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestCallbackOwnedGError.page new file mode 100644 index 00000000..e7397a1b --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.TestCallbackUserData.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestCallbackUserData.page new file mode 100644 index 00000000..f3047cfd --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.TestDEFError.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestDEFError.page new file mode 100644 index 00000000..aa59b415 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestDEFError.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestDEFError" + type="guide" + 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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestEnum.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestEnum.page new file mode 100644 index 00000000..b48602f7 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestEnum.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestEnum" + type="guide" + 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> + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestEnumNoGEnum.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestEnumNoGEnum.page new file mode 100644 index 00000000..575270db --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestEnumNoGEnum.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestEnumNoGEnum" + type="guide" + 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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestEnumUnsigned.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestEnumUnsigned.page new file mode 100644 index 00000000..20296695 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestEnumUnsigned.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestEnumUnsigned" + type="guide" + 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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestError.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestError.page new file mode 100644 index 00000000..6be3dac2 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestError.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestError" + type="guide" + 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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestFlags.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestFlags.page new file mode 100644 index 00000000..d5451972 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.TestFloating.new.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestFloating.new.page new file mode 100644 index 00000000..14316be4 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestFloating.new.page @@ -0,0 +1,38 @@ +<?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>RegressTestFloating*</api:type> + </api:returns> + <api:name>regress_test_floating_new</api:name> + </api:function> + + </info> + <title>regress_test_floating_new</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestFloating* regress_test_floating_new (void); +</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-C-expected/Regress.TestFloating.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestFloating.page new file mode 100644 index 00000000..f1d98e71 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestFloating.page @@ -0,0 +1,61 @@ +<?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> + <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-csrc" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-csrc" + 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-C-expected/Regress.TestFloatingClass.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestFloatingClass.page new file mode 100644 index 00000000..143325f2 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestFloatingClass.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestFloatingClass" + type="topic" + 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.TestFloatingClass</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestFundamentalObject.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestFundamentalObject.page new file mode 100644 index 00000000..964f6914 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestFundamentalObject.page @@ -0,0 +1,55 @@ +<?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> + <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-csrc" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-csrc" + 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-C-expected/Regress.TestFundamentalObject.ref.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestFundamentalObject.ref.page new file mode 100644 index 00000000..c4b6afa9 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestFundamentalObject.ref.page @@ -0,0 +1,44 @@ +<?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>RegressTestFundamentalObject*</api:type> + </api:returns> + <api:name>regress_test_fundamental_object_ref</api:name> + <api:arg> + <api:type>RegressTestFundamentalObject*</api:type> + <api:name>fundamental_object</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_fundamental_object_ref</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestFundamentalObject* regress_test_fundamental_object_ref (RegressTestFundamentalObject* fundamental_object); +</code></synopsis> + + + + + + + +<dl> +<dt><p>fundamental_object :</p></dt> +<dd></dd> +<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-C-expected/Regress.TestFundamentalObject.unref.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestFundamentalObject.unref.page new file mode 100644 index 00000000..776c6f65 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestFundamentalObject.unref.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>RegressTestFundamentalObject*</api:type> + <api:name>fundamental_object</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_fundamental_object_unref</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_fundamental_object_unref (RegressTestFundamentalObject* fundamental_object); +</code></synopsis> + + + + + + + +<dl> +<dt><p>fundamental_object :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestFundamentalObjectClass.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestFundamentalObjectClass.page new file mode 100644 index 00000000..daedb670 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestFundamentalObjectClass.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestFundamentalObjectClass" + type="topic" + 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.TestFundamentalObjectClass</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestFundamentalObjectCopyFunction.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestFundamentalObjectCopyFunction.page new file mode 100644 index 00000000..dfd65cef --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.TestFundamentalObjectFinalizeFunction.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestFundamentalObjectFinalizeFunction.page new file mode 100644 index 00000000..2b9d965c --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.TestFundamentalSubObject.new.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestFundamentalSubObject.new.page new file mode 100644 index 00000000..26af86a6 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestFundamentalSubObject.new.page @@ -0,0 +1,44 @@ +<?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>RegressTestFundamentalSubObject*</api:type> + </api:returns> + <api:name>regress_test_fundamental_sub_object_new</api:name> + <api:arg> + <api:type>const char*</api:type> + <api:name>data</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_fundamental_sub_object_new</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestFundamentalSubObject* regress_test_fundamental_sub_object_new (const char* data); +</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-C-expected/Regress.TestFundamentalSubObject.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestFundamentalSubObject.page new file mode 100644 index 00000000..c8c1f039 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestFundamentalSubObject.page @@ -0,0 +1,58 @@ +<?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> + <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-csrc" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-csrc" + 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-C-expected/Regress.TestFundamentalSubObjectClass.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestFundamentalSubObjectClass.page new file mode 100644 index 00000000..77dd6bcc --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestFundamentalSubObjectClass.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestFundamentalSubObjectClass" + type="topic" + 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.TestFundamentalSubObjectClass</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestInheritDrawable.do_foo.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestInheritDrawable.do_foo.page new file mode 100644 index 00000000..35caeed4 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestInheritDrawable.do_foo.page @@ -0,0 +1,51 @@ +<?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>RegressTestInheritDrawable*</api:type> + <api:name>drawable</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_inherit_drawable_do_foo</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_inherit_drawable_do_foo (RegressTestInheritDrawable* drawable, + int x); +</code></synopsis> + + + + + + + +<dl> +<dt><p>drawable :</p></dt> +<dd></dd> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestInheritDrawable.do_foo_maybe_throw.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestInheritDrawable.do_foo_maybe_throw.page new file mode 100644 index 00000000..cdd27325 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestInheritDrawable.do_foo_maybe_throw.page @@ -0,0 +1,51 @@ +<?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>RegressTestInheritDrawable*</api:type> + <api:name>drawable</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_inherit_drawable_do_foo_maybe_throw</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_inherit_drawable_do_foo_maybe_throw (RegressTestInheritDrawable* drawable, + int x); +</code></synopsis> + + + + + + + +<dl> +<dt><p>drawable :</p></dt> +<dd></dd> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestInheritDrawable.get_origin.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestInheritDrawable.get_origin.page new file mode 100644 index 00000000..11f36004 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestInheritDrawable.get_origin.page @@ -0,0 +1,58 @@ +<?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:arg> + <api:type>RegressTestInheritDrawable*</api:type> + <api:name>drawable</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>y</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_inherit_drawable_get_origin</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_inherit_drawable_get_origin (RegressTestInheritDrawable* drawable, + int* x, + int* y); +</code></synopsis> + + + + + + + +<dl> +<dt><p>drawable :</p></dt> +<dd></dd> +<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-C-expected/Regress.TestInheritDrawable.get_size.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestInheritDrawable.get_size.page new file mode 100644 index 00000000..c3061a97 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestInheritDrawable.get_size.page @@ -0,0 +1,58 @@ +<?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:arg> + <api:type>RegressTestInheritDrawable*</api:type> + <api:name>drawable</api:name> + </api:arg> + <api:arg> + <api:type>guint*</api:type> + <api:name>width</api:name> + </api:arg> + <api:arg> + <api:type>guint*</api:type> + <api:name>height</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_inherit_drawable_get_size</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_inherit_drawable_get_size (RegressTestInheritDrawable* drawable, + guint* width, + guint* height); +</code></synopsis> + + + + + + + +<dl> +<dt><p>drawable :</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-C-expected/Regress.TestInheritDrawable.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestInheritDrawable.page new file mode 100644 index 00000000..9d50d65c --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestInheritDrawable.page @@ -0,0 +1,58 @@ +<?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> + <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-csrc" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-csrc" + 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-C-expected/Regress.TestInheritDrawableClass.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestInheritDrawableClass.page new file mode 100644 index 00000000..059c991c --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestInheritDrawableClass.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestInheritDrawableClass" + type="topic" + 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.TestInheritDrawableClass</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestInheritPixmapObjectClass.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestInheritPixmapObjectClass.page new file mode 100644 index 00000000..06e5eed4 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestInheritPixmapObjectClass.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestInheritPixmapObjectClass" + type="topic" + 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-C-expected/Regress.TestInterface.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestInterface.page new file mode 100644 index 00000000..1f823a24 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestInterface.page @@ -0,0 +1,55 @@ +<?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> + <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-csrc" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-csrc" + 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-C-expected/Regress.TestInterfaceIface.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestInterfaceIface.page new file mode 100644 index 00000000..536f0498 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestInterfaceIface.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestInterfaceIface" + type="topic" + 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.TestInterfaceIface</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-all.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-all.page new file mode 100644 index 00000000..01b45609 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-all.page @@ -0,0 +1,33 @@ +<?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="property"/> + <title type="link" role="topic">all</title> + + </info> + <title>Regress.TestObj::all</title> + +<synopsis><code mime="text/x-csrc"> +void all (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-allow_none_vfunc.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-allow_none_vfunc.page new file mode 100644 index 00000000..ad9d6c82 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-allow_none_vfunc.page @@ -0,0 +1,37 @@ +<?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="Regress.TestObj" group="vfunc"/> + + </info> + <title>Regress.TestObj::allow_none_vfunc</title> + +<synopsis><code mime="text/x-csrc"> +void allow_none_vfunc (RegressTestObj* obj, + RegressTestObj* two); +</code></synopsis> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd></dd> +<dt><p>two :</p></dt> +<dd><p>Another object</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-bare.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-bare.page new file mode 100644 index 00000000..103b5bcb --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-bare.page @@ -0,0 +1,26 @@ +<?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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-boxed.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-boxed.page new file mode 100644 index 00000000..c632b210 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-boxed.page @@ -0,0 +1,26 @@ +<?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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-cleanup.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-cleanup.page new file mode 100644 index 00000000..ecb33c42 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-cleanup.page @@ -0,0 +1,33 @@ +<?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="property"/> + <title type="link" role="topic">cleanup</title> + + </info> + <title>Regress.TestObj::cleanup</title> + +<synopsis><code mime="text/x-csrc"> +void cleanup (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-double.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-double.page new file mode 100644 index 00000000..a80b8041 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-double.page @@ -0,0 +1,26 @@ +<?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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-first.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-first.page new file mode 100644 index 00000000..ccdfb640 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-first.page @@ -0,0 +1,33 @@ +<?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="property"/> + <title type="link" role="topic">first</title> + + </info> + <title>Regress.TestObj::first</title> + +<synopsis><code mime="text/x-csrc"> +void first (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-float.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-float.page new file mode 100644 index 00000000..569b3e87 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-float.page @@ -0,0 +1,26 @@ +<?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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-gtype.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-gtype.page new file mode 100644 index 00000000..3956ea6e --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-gtype.page @@ -0,0 +1,26 @@ +<?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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-hash-table-old.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-hash-table-old.page new file mode 100644 index 00000000..7012f4eb --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-hash-table-old.page @@ -0,0 +1,26 @@ +<?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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-hash-table.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-hash-table.page new file mode 100644 index 00000000..4a3be638 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-hash-table.page @@ -0,0 +1,26 @@ +<?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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-int.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-int.page new file mode 100644 index 00000000..fdca28fd --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-int.page @@ -0,0 +1,26 @@ +<?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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-list-old.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-list-old.page new file mode 100644 index 00000000..38b1f7e1 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-list-old.page @@ -0,0 +1,26 @@ +<?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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-list.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-list.page new file mode 100644 index 00000000..17aa89b8 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-list.page @@ -0,0 +1,26 @@ +<?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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-matrix.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-matrix.page new file mode 100644 index 00000000..b17c04dd --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-matrix.page @@ -0,0 +1,39 @@ +<?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="Regress.TestObj" group="vfunc"/> + + </info> + <title>Regress.TestObj::matrix</title> + +<synopsis><code mime="text/x-csrc"> +int matrix (RegressTestObj* obj, + const char* somestr); +</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>obj :</p></dt> +<dd></dd> +<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-C-expected/Regress.TestObj-sig-with-array-prop.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-array-prop.page new file mode 100644 index 00000000..a9356cb3 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-array-prop.page @@ -0,0 +1,36 @@ +<?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="property"/> + <title type="link" role="topic">sig-with-array-prop</title> + + </info> + <title>Regress.TestObj::sig-with-array-prop</title> + +<synopsis><code mime="text/x-csrc"> +void sig-with-array-prop (guint* arr); +</code></synopsis> + + + <p>This test signal is like TelepathyGlib's + TpChannel:: group-members-changed-detailed:</p> + + + + +<dl> +<dt><p>arr :</p></dt> +<dd><p>numbers</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-foreign-struct.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-foreign-struct.page new file mode 100644 index 00000000..afe8466c --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-foreign-struct.page @@ -0,0 +1,35 @@ +<?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="property"/> + <title type="link" role="topic">sig-with-foreign-struct</title> + + </info> + <title>Regress.TestObj::sig-with-foreign-struct</title> + +<synopsis><code mime="text/x-csrc"> +void sig-with-foreign-struct (cairo_t cr); +</code></synopsis> + + + + + + + +<dl> +<dt><p>cr :</p></dt> +<dd><p>A cairo context.</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-hash-prop.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-hash-prop.page new file mode 100644 index 00000000..2c7e3f90 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-hash-prop.page @@ -0,0 +1,36 @@ +<?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="property"/> + <title type="link" role="topic">sig-with-hash-prop</title> + + </info> + <title>Regress.TestObj::sig-with-hash-prop</title> + +<synopsis><code mime="text/x-csrc"> +void sig-with-hash-prop (<map> hash); +</code></synopsis> + + + <p>This test signal is like TelepathyGlib's + TpAccount::status-changed</p> + + + + +<dl> +<dt><p>hash :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-int64-prop.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-int64-prop.page new file mode 100644 index 00000000..6a771a14 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-int64-prop.page @@ -0,0 +1,36 @@ +<?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="property"/> + <title type="link" role="topic">sig-with-int64-prop</title> + + </info> + <title>Regress.TestObj::sig-with-int64-prop</title> + +<synopsis><code mime="text/x-csrc"> +gint64 sig-with-int64-prop (gint64 i); +</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>i :</p></dt> +<dd><p>an integer</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-intarray-ret.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-intarray-ret.page new file mode 100644 index 00000000..135d052d --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-intarray-ret.page @@ -0,0 +1,35 @@ +<?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="property"/> + <title type="link" role="topic">sig-with-intarray-ret</title> + + </info> + <title>Regress.TestObj::sig-with-intarray-ret</title> + +<synopsis><code mime="text/x-csrc"> +None sig-with-intarray-ret (gint i); +</code></synopsis> + + + + + + + +<dl> +<dt><p>i :</p></dt> +<dd><p>an integer</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-obj.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-obj.page new file mode 100644 index 00000000..5aee822f --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-obj.page @@ -0,0 +1,36 @@ +<?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="property"/> + <title type="link" role="topic">sig-with-obj</title> + + </info> + <title>Regress.TestObj::sig-with-obj</title> + +<synopsis><code mime="text/x-csrc"> +void sig-with-obj (GObject obj); +</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>obj :</p></dt> +<dd><p>A newly created RegressTestObj</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-strv.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-strv.page new file mode 100644 index 00000000..c5fd2dd7 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-strv.page @@ -0,0 +1,35 @@ +<?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="property"/> + <title type="link" role="topic">sig-with-strv</title> + + </info> + <title>Regress.TestObj::sig-with-strv</title> + +<synopsis><code mime="text/x-csrc"> +void sig-with-strv (utf8* strs); +</code></synopsis> + + + <p>Test GStrv as a param.</p> + + + + +<dl> +<dt><p>strs :</p></dt> +<dd><p>strings</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-uint64-prop.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-uint64-prop.page new file mode 100644 index 00000000..25d6d5e7 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-uint64-prop.page @@ -0,0 +1,36 @@ +<?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="property"/> + <title type="link" role="topic">sig-with-uint64-prop</title> + + </info> + <title>Regress.TestObj::sig-with-uint64-prop</title> + +<synopsis><code mime="text/x-csrc"> +guint64 sig-with-uint64-prop (guint64 i); +</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>i :</p></dt> +<dd><p>an integer</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-string.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-string.page new file mode 100644 index 00000000..561f2da4 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-string.page @@ -0,0 +1,26 @@ +<?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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-test-with-static-scope-arg.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-test-with-static-scope-arg.page new file mode 100644 index 00000000..f0df5f3c --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-test-with-static-scope-arg.page @@ -0,0 +1,35 @@ +<?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="property"/> + <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-csrc"> +void test-with-static-scope-arg (RegressTestSimpleBoxedA object); +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-test.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-test.page new file mode 100644 index 00000000..29321412 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-test.page @@ -0,0 +1,33 @@ +<?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="property"/> + <title type="link" role="topic">test</title> + + </info> + <title>Regress.TestObj::test</title> + +<synopsis><code mime="text/x-csrc"> +void test (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.new.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.constructor.page index ceef763d..5cdc38db 100644 --- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.new.page +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.constructor.page @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<page id="DocExamples.Obj.new" +<page id="Regress.TestObj.constructor" type="topic" style="constructor" xmlns="http://projectmallard.org/1.0/" @@ -7,19 +7,19 @@ xmlns:ui="http://projectmallard.org/1.0/ui/"> <info> - <link type="guide" xref="DocExamples.Obj" group="constructor"/> + <link type="guide" xref="Regress.TestObj" group="constructor"/> <api:function> <api:returns> - <api:type>DocExamplesObj*</api:type> + <api:type>RegressTestObj*</api:type> </api:returns> - <api:name>doc_examples_obj_new</api:name> + <api:name>regress_constructor</api:name> </api:function> </info> - <title>doc_examples_obj_new</title> + <title>regress_constructor</title> <synopsis><code mime="text/x-csrc"> -DocExamplesObj* doc_examples_obj_new (void); +RegressTestObj* regress_constructor (void); </code></synopsis> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.do_matrix.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.do_matrix.page new file mode 100644 index 00000000..b54d35ad --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.do_matrix.page @@ -0,0 +1,53 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_obj_do_matrix</api:name> + <api:arg> + <api:type>RegressTestObj*</api:type> + <api:name>obj</api:name> + </api:arg> + <api:arg> + <api:type>const char*</api:type> + <api:name>somestr</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_do_matrix</title> + +<synopsis><code mime="text/x-csrc"> +int regress_test_obj_do_matrix (RegressTestObj* obj, + const char* somestr); +</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>obj :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/></p></dd> +<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-C-expected/Regress.TestObj.emit_sig_with_foreign_struct.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.emit_sig_with_foreign_struct.page new file mode 100644 index 00000000..677f1fc1 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.emit_sig_with_foreign_struct.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>RegressTestObj*</api:type> + <api:name>obj</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_emit_sig_with_foreign_struct</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_obj_emit_sig_with_foreign_struct (RegressTestObj* obj); +</code></synopsis> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.emit_sig_with_int64.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.emit_sig_with_int64.page new file mode 100644 index 00000000..2dc8a1b7 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.emit_sig_with_int64.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>RegressTestObj*</api:type> + <api:name>obj</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_emit_sig_with_int64</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_obj_emit_sig_with_int64 (RegressTestObj* obj); +</code></synopsis> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.emit_sig_with_obj.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.emit_sig_with_obj.page new file mode 100644 index 00000000..9d598f9c --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.emit_sig_with_obj.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>RegressTestObj*</api:type> + <api:name>obj</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_emit_sig_with_obj</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_obj_emit_sig_with_obj (RegressTestObj* obj); +</code></synopsis> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.emit_sig_with_uint64.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.emit_sig_with_uint64.page new file mode 100644 index 00000000..a3a89c18 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.emit_sig_with_uint64.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>RegressTestObj*</api:type> + <api:name>obj</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_emit_sig_with_uint64</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_obj_emit_sig_with_uint64 (RegressTestObj* obj); +</code></synopsis> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.forced_method.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.forced_method.page new file mode 100644 index 00000000..28fc6916 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.forced_method.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>RegressTestObj*</api:type> + <api:name>obj</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_forced_method</title> + +<synopsis><code mime="text/x-csrc"> +void regress_forced_method (RegressTestObj* obj); +</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-C-expected/Regress.TestObj.instance_method.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.instance_method.page new file mode 100644 index 00000000..2121ada1 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.instance_method.page @@ -0,0 +1,44 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_obj_instance_method</api:name> + <api:arg> + <api:type>RegressTestObj*</api:type> + <api:name>obj</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_instance_method</title> + +<synopsis><code mime="text/x-csrc"> +int regress_test_obj_instance_method (RegressTestObj* obj); +</code></synopsis> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.instance_method_callback.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.instance_method_callback.page new file mode 100644 index 00000000..7ea17662 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.instance_method_callback.page @@ -0,0 +1,51 @@ +<?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>RegressTestObj*</api:type> + <api:name>obj</api:name> + </api:arg> + <api:arg> + <api:type>RegressTestCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_instance_method_callback</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_obj_instance_method_callback (RegressTestObj* obj, + RegressTestCallback callback); +</code></synopsis> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd></dd> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.new.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.new.page new file mode 100644 index 00000000..1f5ca6d8 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.new.page @@ -0,0 +1,44 @@ +<?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>RegressTestObj*</api:type> + </api:returns> + <api:name>regress_test_obj_new</api:name> + <api:arg> + <api:type>RegressTestObj*</api:type> + <api:name>obj</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_new</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestObj* regress_test_obj_new (RegressTestObj* obj); +</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-C-expected/Regress.TestObj.new_callback.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.new_callback.page new file mode 100644 index 00000000..44f469db --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.new_callback.page @@ -0,0 +1,58 @@ +<?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>RegressTestObj*</api:type> + </api:returns> + <api:name>regress_test_obj_new_callback</api:name> + <api:arg> + <api:type>RegressTestCallbackUserData</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + <api:arg> + <api:type>GDestroyNotify</api:type> + <api:name>notify</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_new_callback</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestObj* regress_test_obj_new_callback (RegressTestCallbackUserData callback, + gpointer user_data, + GDestroyNotify notify); +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>user_data :</p></dt> +<dd></dd> +<dt><p>notify :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.new_from_file.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.new_from_file.page new file mode 100644 index 00000000..49f9c1f0 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.new_from_file.page @@ -0,0 +1,44 @@ +<?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>RegressTestObj*</api:type> + </api:returns> + <api:name>regress_test_obj_new_from_file</api:name> + <api:arg> + <api:type>const char*</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_new_from_file</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestObj* regress_test_obj_new_from_file (const char* x); +</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-C-expected/Regress.TestObj.null_out.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.null_out.page new file mode 100644 index 00000000..bd78434c --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.null_out.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>RegressTestObj**</api:type> + <api:name>obj</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_null_out</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_obj_null_out (RegressTestObj** obj); +</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-C-expected/Regress.TestObj.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.page new file mode 100644 index 00000000..fc54d988 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.page @@ -0,0 +1,58 @@ +<?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> + <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-csrc" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-csrc" + 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-C-expected/Regress.TestObj.set_bare.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.set_bare.page new file mode 100644 index 00000000..f1e9a131 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.set_bare.page @@ -0,0 +1,51 @@ +<?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>RegressTestObj*</api:type> + <api:name>obj</api:name> + </api:arg> + <api:arg> + <api:type>GObject*</api:type> + <api:name>bare</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_set_bare</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_obj_set_bare (RegressTestObj* obj, + GObject* bare); +</code></synopsis> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd></dd> +<dt><p>bare :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.skip_inout_param.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.skip_inout_param.page new file mode 100644 index 00000000..f46ec162 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.skip_inout_param.page @@ -0,0 +1,93 @@ +<?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>gboolean</api:type> + </api:returns> + <api:name>regress_test_obj_skip_inout_param</api:name> + <api:arg> + <api:type>RegressTestObj*</api:type> + <api:name>obj</api:name> + </api:arg> + <api:arg> + <api:type>gint</api:type> + <api:name>a</api:name> + </api:arg> + <api:arg> + <api:type>gint*</api:type> + <api:name>out_b</api:name> + </api:arg> + <api:arg> + <api:type>gdouble</api:type> + <api:name>c</api:name> + </api:arg> + <api:arg> + <api:type>gint*</api:type> + <api:name>inout_d</api:name> + </api:arg> + <api:arg> + <api:type>gint*</api:type> + <api:name>out_sum</api:name> + </api:arg> + <api:arg> + <api:type>gint</api:type> + <api:name>num1</api:name> + </api:arg> + <api:arg> + <api:type>gint</api:type> + <api:name>num2</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_skip_inout_param</title> + +<synopsis><code mime="text/x-csrc"> +gboolean regress_test_obj_skip_inout_param (RegressTestObj* obj, + gint a, + gint* out_b, + gdouble c, + gint* inout_d, + gint* out_sum, + gint num1, + gint num2); +</code></synopsis> + + + <p>Check that the out value is skipped</p> + + + + +<dl> +<dt><p>obj :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/>.</p></dd> +<dt><p>a :</p></dt> +<dd><p>Parameter.</p></dd> +<dt><p>out_b :</p></dt> +<dd><p>Return value.</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>out_sum :</p></dt> +<dd><p>Return value.</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-C-expected/Regress.TestObj.skip_out_param.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.skip_out_param.page new file mode 100644 index 00000000..77e1de3b --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.skip_out_param.page @@ -0,0 +1,93 @@ +<?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>gboolean</api:type> + </api:returns> + <api:name>regress_test_obj_skip_out_param</api:name> + <api:arg> + <api:type>RegressTestObj*</api:type> + <api:name>obj</api:name> + </api:arg> + <api:arg> + <api:type>gint</api:type> + <api:name>a</api:name> + </api:arg> + <api:arg> + <api:type>gint*</api:type> + <api:name>out_b</api:name> + </api:arg> + <api:arg> + <api:type>gdouble</api:type> + <api:name>c</api:name> + </api:arg> + <api:arg> + <api:type>gint*</api:type> + <api:name>inout_d</api:name> + </api:arg> + <api:arg> + <api:type>gint*</api:type> + <api:name>out_sum</api:name> + </api:arg> + <api:arg> + <api:type>gint</api:type> + <api:name>num1</api:name> + </api:arg> + <api:arg> + <api:type>gint</api:type> + <api:name>num2</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_skip_out_param</title> + +<synopsis><code mime="text/x-csrc"> +gboolean regress_test_obj_skip_out_param (RegressTestObj* obj, + gint a, + gint* out_b, + gdouble c, + gint* inout_d, + gint* out_sum, + gint num1, + gint num2); +</code></synopsis> + + + <p>Check that the out value is skipped</p> + + + + +<dl> +<dt><p>obj :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/>.</p></dd> +<dt><p>a :</p></dt> +<dd><p>Parameter.</p></dd> +<dt><p>out_b :</p></dt> +<dd><p>Return value.</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>out_sum :</p></dt> +<dd><p>Return value.</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-C-expected/Regress.TestObj.skip_param.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.skip_param.page new file mode 100644 index 00000000..ef5893c3 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.skip_param.page @@ -0,0 +1,93 @@ +<?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>gboolean</api:type> + </api:returns> + <api:name>regress_test_obj_skip_param</api:name> + <api:arg> + <api:type>RegressTestObj*</api:type> + <api:name>obj</api:name> + </api:arg> + <api:arg> + <api:type>gint</api:type> + <api:name>a</api:name> + </api:arg> + <api:arg> + <api:type>gint*</api:type> + <api:name>out_b</api:name> + </api:arg> + <api:arg> + <api:type>gdouble</api:type> + <api:name>c</api:name> + </api:arg> + <api:arg> + <api:type>gint*</api:type> + <api:name>inout_d</api:name> + </api:arg> + <api:arg> + <api:type>gint*</api:type> + <api:name>out_sum</api:name> + </api:arg> + <api:arg> + <api:type>gint</api:type> + <api:name>num1</api:name> + </api:arg> + <api:arg> + <api:type>gint</api:type> + <api:name>num2</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_skip_param</title> + +<synopsis><code mime="text/x-csrc"> +gboolean regress_test_obj_skip_param (RegressTestObj* obj, + gint a, + gint* out_b, + gdouble c, + gint* inout_d, + gint* out_sum, + gint num1, + gint num2); +</code></synopsis> + + + <p>Check that a parameter is skipped</p> + + + + +<dl> +<dt><p>obj :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/>.</p></dd> +<dt><p>a :</p></dt> +<dd><p>Parameter.</p></dd> +<dt><p>out_b :</p></dt> +<dd><p>Return value.</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>out_sum :</p></dt> +<dd><p>Return value.</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-C-expected/Regress.TestObj.skip_return_val.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.skip_return_val.page new file mode 100644 index 00000000..a463fe77 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.skip_return_val.page @@ -0,0 +1,93 @@ +<?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>gboolean</api:type> + </api:returns> + <api:name>regress_test_obj_skip_return_val</api:name> + <api:arg> + <api:type>RegressTestObj*</api:type> + <api:name>obj</api:name> + </api:arg> + <api:arg> + <api:type>gint</api:type> + <api:name>a</api:name> + </api:arg> + <api:arg> + <api:type>gint*</api:type> + <api:name>out_b</api:name> + </api:arg> + <api:arg> + <api:type>gdouble</api:type> + <api:name>c</api:name> + </api:arg> + <api:arg> + <api:type>gint*</api:type> + <api:name>inout_d</api:name> + </api:arg> + <api:arg> + <api:type>gint*</api:type> + <api:name>out_sum</api:name> + </api:arg> + <api:arg> + <api:type>gint</api:type> + <api:name>num1</api:name> + </api:arg> + <api:arg> + <api:type>gint</api:type> + <api:name>num2</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_skip_return_val</title> + +<synopsis><code mime="text/x-csrc"> +gboolean regress_test_obj_skip_return_val (RegressTestObj* obj, + gint a, + gint* out_b, + gdouble c, + gint* inout_d, + gint* out_sum, + gint num1, + gint num2); +</code></synopsis> + + + <p>Check that the return value is skipped</p> + + + + +<dl> +<dt><p>obj :</p></dt> +<dd><p>a <link xref="Regress.TestObj"/></p></dd> +<dt><p>a :</p></dt> +<dd><p>Parameter.</p></dd> +<dt><p>out_b :</p></dt> +<dd><p>A return value.</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>out_sum :</p></dt> +<dd><p>Return value.</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-C-expected/Regress.TestObj.skip_return_val_no_out.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.skip_return_val_no_out.page new file mode 100644 index 00000000..5ebe0f1a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.skip_return_val_no_out.page @@ -0,0 +1,52 @@ +<?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>gboolean</api:type> + </api:returns> + <api:name>regress_test_obj_skip_return_val_no_out</api:name> + <api:arg> + <api:type>RegressTestObj*</api:type> + <api:name>obj</api:name> + </api:arg> + <api:arg> + <api:type>gint</api:type> + <api:name>a</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_skip_return_val_no_out</title> + +<synopsis><code mime="text/x-csrc"> +gboolean regress_test_obj_skip_return_val_no_out (RegressTestObj* obj, + gint a); +</code></synopsis> + + + <p>Check that the return value is skipped. Succeed if a is nonzero, otherwise +raise an error.</p> + + + + +<dl> +<dt><p>obj :</p></dt> +<dd><p>a <link xref="Regress.TestObj"/></p></dd> +<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-C-expected/Regress.TestObj.static_method.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.static_method.page new file mode 100644 index 00000000..c27d88bf --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.static_method.page @@ -0,0 +1,44 @@ +<?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>double</api:type> + </api:returns> + <api:name>regress_test_obj_static_method</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_static_method</title> + +<synopsis><code mime="text/x-csrc"> +double regress_test_obj_static_method (int x); +</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-C-expected/Regress.TestObj.static_method_callback.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.static_method_callback.page new file mode 100644 index 00000000..74583ad6 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>RegressTestCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_static_method_callback</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_obj_static_method_callback (RegressTestCallback 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-C-expected/Regress.TestObj.torture_signature_0.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.torture_signature_0.page new file mode 100644 index 00000000..2ace5e18 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.torture_signature_0.page @@ -0,0 +1,86 @@ +<?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>RegressTestObj*</api:type> + <api:name>obj</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>double*</api:type> + <api:name>y</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>z</api:name> + </api:arg> + <api:arg> + <api:type>const char*</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>q</api:name> + </api:arg> + <api:arg> + <api:type>guint</api:type> + <api:name>m</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_torture_signature_0</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_obj_torture_signature_0 (RegressTestObj* obj, + int x, + double* y, + int* z, + const char* foo, + int* q, + guint m); +</code></synopsis> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/></p></dd> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>y :</p></dt> +<dd></dd> +<dt><p>z :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>q :</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-C-expected/Regress.TestObj.torture_signature_1.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.torture_signature_1.page new file mode 100644 index 00000000..aa31fb34 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.torture_signature_1.page @@ -0,0 +1,86 @@ +<?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>gboolean</api:type> + </api:returns> + <api:name>regress_test_obj_torture_signature_1</api:name> + <api:arg> + <api:type>RegressTestObj*</api:type> + <api:name>obj</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>double*</api:type> + <api:name>y</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>z</api:name> + </api:arg> + <api:arg> + <api:type>const char*</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>q</api:name> + </api:arg> + <api:arg> + <api:type>guint</api:type> + <api:name>m</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_obj_torture_signature_1</title> + +<synopsis><code mime="text/x-csrc"> +gboolean regress_test_obj_torture_signature_1 (RegressTestObj* obj, + int x, + double* y, + int* z, + const char* foo, + int* q, + guint m); +</code></synopsis> + + + <p>This function throws an error if m is odd.</p> + + + + +<dl> +<dt><p>obj :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/></p></dd> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>y :</p></dt> +<dd></dd> +<dt><p>z :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>q :</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-C-expected/Regress.TestObjClass.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObjClass.page new file mode 100644 index 00000000..93e56e8b --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObjClass.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestObjClass" + type="topic" + 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.TestObjClass</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestOtherError.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestOtherError.page new file mode 100644 index 00000000..1180b98a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestOtherError.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestOtherError" + type="guide" + 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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestPrivateEnum.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestPrivateEnum.page new file mode 100644 index 00000000..788441ac --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.TestPrivateStruct.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestPrivateStruct.page new file mode 100644 index 00000000..8ce8712a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestPrivateStruct.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestPrivateStruct" + type="topic" + 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-C-expected/Regress.TestSimpleBoxedA.const_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestSimpleBoxedA.const_return.page new file mode 100644 index 00000000..39a3877b --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestSimpleBoxedA.const_return.page @@ -0,0 +1,38 @@ +<?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>const RegressTestSimpleBoxedA*</api:type> + </api:returns> + <api:name>regress_test_simple_boxed_a_const_return</api:name> + </api:function> + + </info> + <title>regress_test_simple_boxed_a_const_return</title> + +<synopsis><code mime="text/x-csrc"> +const RegressTestSimpleBoxedA* regress_test_simple_boxed_a_const_return (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestSimpleBoxedA.copy.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestSimpleBoxedA.copy.page new file mode 100644 index 00000000..827e39ff --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestSimpleBoxedA.copy.page @@ -0,0 +1,44 @@ +<?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>RegressTestSimpleBoxedA*</api:type> + </api:returns> + <api:name>regress_test_simple_boxed_a_copy</api:name> + <api:arg> + <api:type>RegressTestSimpleBoxedA*</api:type> + <api:name>a</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_simple_boxed_a_copy</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestSimpleBoxedA* regress_test_simple_boxed_a_copy (RegressTestSimpleBoxedA* a); +</code></synopsis> + + + + + + + +<dl> +<dt><p>a :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestSimpleBoxedA.equals.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestSimpleBoxedA.equals.page new file mode 100644 index 00000000..4108bf91 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestSimpleBoxedA.equals.page @@ -0,0 +1,51 @@ +<?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>gboolean</api:type> + </api:returns> + <api:name>regress_test_simple_boxed_a_equals</api:name> + <api:arg> + <api:type>RegressTestSimpleBoxedA*</api:type> + <api:name>a</api:name> + </api:arg> + <api:arg> + <api:type>RegressTestSimpleBoxedA*</api:type> + <api:name>other_a</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_simple_boxed_a_equals</title> + +<synopsis><code mime="text/x-csrc"> +gboolean regress_test_simple_boxed_a_equals (RegressTestSimpleBoxedA* a, + RegressTestSimpleBoxedA* other_a); +</code></synopsis> + + + + + + + +<dl> +<dt><p>a :</p></dt> +<dd></dd> +<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-C-expected/Regress.TestSimpleBoxedA.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestSimpleBoxedA.page new file mode 100644 index 00000000..36459d33 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestSimpleBoxedA.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestSimpleBoxedA" + type="topic" + 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-C-expected/Regress.TestSimpleBoxedB.copy.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestSimpleBoxedB.copy.page new file mode 100644 index 00000000..0846cbe7 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestSimpleBoxedB.copy.page @@ -0,0 +1,44 @@ +<?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>RegressTestSimpleBoxedB*</api:type> + </api:returns> + <api:name>regress_test_simple_boxed_b_copy</api:name> + <api:arg> + <api:type>RegressTestSimpleBoxedB*</api:type> + <api:name>b</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_simple_boxed_b_copy</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestSimpleBoxedB* regress_test_simple_boxed_b_copy (RegressTestSimpleBoxedB* b); +</code></synopsis> + + + + + + + +<dl> +<dt><p>b :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestSimpleBoxedB.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestSimpleBoxedB.page new file mode 100644 index 00000000..e3c9fcbf --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestSimpleBoxedB.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestSimpleBoxedB" + type="topic" + 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-C-expected/Regress.TestSimpleCallback.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestSimpleCallback.page new file mode 100644 index 00000000..61bafb5f --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.TestStructA.clone.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructA.clone.page new file mode 100644 index 00000000..61f94308 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructA.clone.page @@ -0,0 +1,51 @@ +<?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:arg> + <api:type>RegressTestStructA*</api:type> + <api:name>a</api:name> + </api:arg> + <api:arg> + <api:type>RegressTestStructA*</api:type> + <api:name>a_out</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_struct_a_clone</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_struct_a_clone (RegressTestStructA* a, + RegressTestStructA* a_out); +</code></synopsis> + + + <p>Make a copy of a RegressTestStructA</p> + + + + +<dl> +<dt><p>a :</p></dt> +<dd><p>the structure</p></dd> +<dt><p>a_out :</p></dt> +<dd><p>the cloned structure</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestStructA.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructA.page new file mode 100644 index 00000000..0093ac8e --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructA.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructA" + type="topic" + 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-C-expected/Regress.TestStructA.parse.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructA.parse.page new file mode 100644 index 00000000..ef54d110 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructA.parse.page @@ -0,0 +1,51 @@ +<?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>RegressTestStructA*</api:type> + <api:name>a_out</api:name> + </api:arg> + <api:arg> + <api:type>const gchar*</api:type> + <api:name>string</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_struct_a_parse</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_struct_a_parse (RegressTestStructA* a_out, + const gchar* string); +</code></synopsis> + + + + + + + +<dl> +<dt><p>a_out :</p></dt> +<dd><p>the structure that is to be filled</p></dd> +<dt><p>string :</p></dt> +<dd><p>ignored</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestStructB.clone.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructB.clone.page new file mode 100644 index 00000000..4adde2a0 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructB.clone.page @@ -0,0 +1,51 @@ +<?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:arg> + <api:type>RegressTestStructB*</api:type> + <api:name>b</api:name> + </api:arg> + <api:arg> + <api:type>RegressTestStructB*</api:type> + <api:name>b_out</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_struct_b_clone</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_struct_b_clone (RegressTestStructB* b, + RegressTestStructB* b_out); +</code></synopsis> + + + <p>Make a copy of a RegressTestStructB</p> + + + + +<dl> +<dt><p>b :</p></dt> +<dd><p>the structure</p></dd> +<dt><p>b_out :</p></dt> +<dd><p>the cloned structure</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestStructB.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructB.page new file mode 100644 index 00000000..55d74f58 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructB.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructB" + type="topic" + 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-C-expected/Regress.TestStructC.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructC.page new file mode 100644 index 00000000..08e850eb --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructC.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructC" + type="topic" + 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-C-expected/Regress.TestStructD.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructD.page new file mode 100644 index 00000000..37c7b2a4 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructD.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructD" + type="topic" + 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-C-expected/Regress.TestStructE.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructE.page new file mode 100644 index 00000000..b3688e06 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructE.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructE" + type="topic" + 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-C-expected/Regress.TestStructE__some_union__union.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructE__some_union__union.page new file mode 100644 index 00000000..6f77035b --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.TestStructF.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructF.page new file mode 100644 index 00000000..d75ea66b --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructF.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructF" + type="topic" + 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-C-expected/Regress.TestStructFixedArray.frob.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructFixedArray.frob.page new file mode 100644 index 00000000..e3fb7736 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructFixedArray.frob.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>RegressTestStructFixedArray*</api:type> + <api:name>str</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_struct_fixed_array_frob</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_struct_fixed_array_frob (RegressTestStructFixedArray* str); +</code></synopsis> + + + + + + + +<dl> +<dt><p>str :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestStructFixedArray.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructFixedArray.page new file mode 100644 index 00000000..a18443c4 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestStructFixedArray.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructFixedArray" + type="topic" + 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-C-expected/Regress.TestSubObj.instance_method.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestSubObj.instance_method.page new file mode 100644 index 00000000..d32c0de2 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestSubObj.instance_method.page @@ -0,0 +1,44 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_sub_obj_instance_method</api:name> + <api:arg> + <api:type>RegressTestSubObj*</api:type> + <api:name>obj</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_sub_obj_instance_method</title> + +<synopsis><code mime="text/x-csrc"> +int regress_test_sub_obj_instance_method (RegressTestSubObj* obj); +</code></synopsis> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestSubObj.new.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestSubObj.new.page new file mode 100644 index 00000000..f8ca0d46 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestSubObj.new.page @@ -0,0 +1,38 @@ +<?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>RegressTestObj*</api:type> + </api:returns> + <api:name>regress_test_sub_obj_new</api:name> + </api:function> + + </info> + <title>regress_test_sub_obj_new</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestObj* regress_test_sub_obj_new (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestSubObj.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestSubObj.page new file mode 100644 index 00000000..f6488d83 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestSubObj.page @@ -0,0 +1,61 @@ +<?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> + <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-csrc" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-csrc" + 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-C-expected/Regress.TestSubObj.unset_bare.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestSubObj.unset_bare.page new file mode 100644 index 00000000..a34a25c3 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestSubObj.unset_bare.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>RegressTestSubObj*</api:type> + <api:name>obj</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_sub_obj_unset_bare</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_sub_obj_unset_bare (RegressTestSubObj* obj); +</code></synopsis> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestSubObjClass.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestSubObjClass.page new file mode 100644 index 00000000..6bbd999a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestSubObjClass.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestSubObjClass" + type="topic" + 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.TestSubObjClass</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestTypeGUInt64.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestTypeGUInt64.page new file mode 100644 index 00000000..d815a3fe --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.TestWi8021x-testbool.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestWi8021x-testbool.page new file mode 100644 index 00000000..d7333b88 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestWi8021x-testbool.page @@ -0,0 +1,26 @@ +<?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> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestWi8021x.get_testbool.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestWi8021x.get_testbool.page new file mode 100644 index 00000000..d54ed689 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestWi8021x.get_testbool.page @@ -0,0 +1,44 @@ +<?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>gboolean</api:type> + </api:returns> + <api:name>regress_test_wi_802_1x_get_testbool</api:name> + <api:arg> + <api:type>RegressTestWi8021x*</api:type> + <api:name>obj</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_wi_802_1x_get_testbool</title> + +<synopsis><code mime="text/x-csrc"> +gboolean regress_test_wi_802_1x_get_testbool (RegressTestWi8021x* obj); +</code></synopsis> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestWi8021x.new.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestWi8021x.new.page new file mode 100644 index 00000000..2c47b288 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestWi8021x.new.page @@ -0,0 +1,38 @@ +<?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>RegressTestWi8021x*</api:type> + </api:returns> + <api:name>regress_test_wi_802_1x_new</api:name> + </api:function> + + </info> + <title>regress_test_wi_802_1x_new</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestWi8021x* regress_test_wi_802_1x_new (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestWi8021x.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestWi8021x.page new file mode 100644 index 00000000..9b053187 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestWi8021x.page @@ -0,0 +1,58 @@ +<?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> + <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-csrc" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/x-csrc" + 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-C-expected/Regress.TestWi8021x.set_testbool.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestWi8021x.set_testbool.page new file mode 100644 index 00000000..a32a70ab --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestWi8021x.set_testbool.page @@ -0,0 +1,51 @@ +<?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>RegressTestWi8021x*</api:type> + <api:name>obj</api:name> + </api:arg> + <api:arg> + <api:type>gboolean</api:type> + <api:name>v</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_wi_802_1x_set_testbool</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_wi_802_1x_set_testbool (RegressTestWi8021x* obj, + gboolean v); +</code></synopsis> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd></dd> +<dt><p>v :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestWi8021x.static_method.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestWi8021x.static_method.page new file mode 100644 index 00000000..cabdd48a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestWi8021x.static_method.page @@ -0,0 +1,44 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_wi_802_1x_static_method</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_wi_802_1x_static_method</title> + +<synopsis><code mime="text/x-csrc"> +int regress_test_wi_802_1x_static_method (int x); +</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-C-expected/Regress.TestWi8021xClass.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestWi8021xClass.page new file mode 100644 index 00000000..071d9a6f --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestWi8021xClass.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestWi8021xClass" + type="topic" + 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.TestWi8021xClass</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.UTF8_CONSTANT.page b/tests/scanner/Regress-1.0-C-expected/Regress.UTF8_CONSTANT.page new file mode 100644 index 00000000..8f3f5324 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.VaListAlias.page b/tests/scanner/Regress-1.0-C-expected/Regress.VaListAlias.page new file mode 100644 index 00000000..bfd52d28 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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-C-expected/Regress.aliased_caller_alloc.page b/tests/scanner/Regress-1.0-C-expected/Regress.aliased_caller_alloc.page new file mode 100644 index 00000000..5f8b1ff3 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.aliased_caller_alloc.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>RegressAliasedTestBoxed*</api:type> + <api:name>boxed</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_aliased_caller_alloc</title> + +<synopsis><code mime="text/x-csrc"> +void regress_aliased_caller_alloc (RegressAliasedTestBoxed* boxed); +</code></synopsis> + + + + + + + +<dl> +<dt><p>boxed :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.annotation_attribute_func.page b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_attribute_func.page new file mode 100644 index 00000000..05102820 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_attribute_func.page @@ -0,0 +1,51 @@ +<?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>gint</api:type> + </api:returns> + <api:name>regress_annotation_attribute_func</api:name> + <api:arg> + <api:type>RegressAnnotationObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>const gchar*</api:type> + <api:name>data</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_attribute_func</title> + +<synopsis><code mime="text/x-csrc"> +gint regress_annotation_attribute_func (RegressAnnotationObject* object, + const gchar* data); +</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-C-expected/Regress.annotation_custom_destroy.page b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_custom_destroy.page new file mode 100644 index 00000000..337b2073 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_custom_destroy.page @@ -0,0 +1,59 @@ +<?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>RegressAnnotationCallback</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>RegressAnnotationNotifyFunc</api:type> + <api:name>destroy</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>data</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_custom_destroy</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_custom_destroy (RegressAnnotationCallback callback, + RegressAnnotationNotifyFunc destroy, + gpointer data); +</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> +<dt><p>destroy :</p></dt> +<dd></dd> +<dt><p>data :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.annotation_get_source_file.page b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_get_source_file.page new file mode 100644 index 00000000..6a1c7234 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_get_source_file.page @@ -0,0 +1,38 @@ +<?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>char*</api:type> + </api:returns> + <api:name>regress_annotation_get_source_file</api:name> + </api:function> + + </info> + <title>regress_annotation_get_source_file</title> + +<synopsis><code mime="text/x-csrc"> +char* regress_annotation_get_source_file (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>Source file</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.annotation_init.page b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_init.page new file mode 100644 index 00000000..4b471607 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_init.page @@ -0,0 +1,51 @@ +<?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>int*</api:type> + <api:name>argc</api:name> + </api:arg> + <api:arg> + <api:type>char***</api:type> + <api:name>argv</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_init</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_init (int* argc, + char*** argv); +</code></synopsis> + + + + + + + +<dl> +<dt><p>argc :</p></dt> +<dd><p>The number of args.</p></dd> +<dt><p>argv :</p></dt> +<dd><p>The arguments.</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.annotation_invalid_regress_annotation.page b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_invalid_regress_annotation.page new file mode 100644 index 00000000..4c485eac --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>int</api:type> + <api:name>foo</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_invalid_regress_annotation</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_invalid_regress_annotation (int foo); +</code></synopsis> + + + + + + + +<dl> +<dt><p>foo :</p></dt> +<dd><p>some text (e.g. example) or else</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.annotation_ptr_array.page b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_ptr_array.page new file mode 100644 index 00000000..496fcc5a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>GValue*</api:type> + <api:name>array</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_ptr_array</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_ptr_array (GValue* array); +</code></synopsis> + + + + + + + +<dl> +<dt><p>array :</p></dt> +<dd><p>the array</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.annotation_return_array.page b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_return_array.page new file mode 100644 index 00000000..1a345a50 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_return_array.page @@ -0,0 +1,44 @@ +<?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>utf8*</api:type> + </api:returns> + <api:name>regress_annotation_return_array</api:name> + <api:arg> + <api:type>int*</api:type> + <api:name>length</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_return_array</title> + +<synopsis><code mime="text/x-csrc"> +char** regress_annotation_return_array (int* length); +</code></synopsis> + + + + + + + +<dl> +<dt><p>length :</p></dt> +<dd><p>Number of return values</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>The return value</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.annotation_return_filename.page b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_return_filename.page new file mode 100644 index 00000000..968cfe17 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_return_filename.page @@ -0,0 +1,38 @@ +<?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>gchar*</api:type> + </api:returns> + <api:name>regress_annotation_return_filename</api:name> + </api:function> + + </info> + <title>regress_annotation_return_filename</title> + +<synopsis><code mime="text/x-csrc"> +gchar* regress_annotation_return_filename (void); +</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-C-expected/Regress.annotation_set_source_file.page b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_set_source_file.page new file mode 100644 index 00000000..663fd9db --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>char*</api:type> + <api:name>fname</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_set_source_file</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_set_source_file (char* fname); +</code></synopsis> + + + + + + + +<dl> +<dt><p>fname :</p></dt> +<dd><p>Source file</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.annotation_space_after_comment_bug631690.page b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_space_after_comment_bug631690.page new file mode 100644 index 00000000..a4d11d2e --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>regress_annotation_space_after_comment_bug631690</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_space_after_comment_bug631690 (void); +</code></synopsis> + + + <p>Explicitly test having a space after the ** here.</p> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.annotation_string_array_length.page b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_string_array_length.page new file mode 100644 index 00000000..520b473a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_string_array_length.page @@ -0,0 +1,51 @@ +<?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>guint</api:type> + <api:name>n_properties</api:name> + </api:arg> + <api:arg> + <api:type>utf8*</api:type> + <api:name>properties</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_string_array_length</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_string_array_length (guint n_properties, + utf8* properties); +</code></synopsis> + + + + + + + +<dl> +<dt><p>n_properties :</p></dt> +<dd></dd> +<dt><p>properties :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.annotation_string_zero_terminated.page b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_string_zero_terminated.page new file mode 100644 index 00000000..e90fa512 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_string_zero_terminated.page @@ -0,0 +1,38 @@ +<?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>utf8*</api:type> + </api:returns> + <api:name>regress_annotation_string_zero_terminated</api:name> + </api:function> + + </info> + <title>regress_annotation_string_zero_terminated</title> + +<synopsis><code mime="text/x-csrc"> +char** regress_annotation_string_zero_terminated (void); +</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-C-expected/Regress.annotation_string_zero_terminated_out.page b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_string_zero_terminated_out.page new file mode 100644 index 00000000..34293f00 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>char***</api:type> + <api:name>out</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_annotation_string_zero_terminated_out</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_string_zero_terminated_out (char*** out); +</code></synopsis> + + + + + + + +<dl> +<dt><p>out :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.annotation_test_parsing_bug630862.page b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_test_parsing_bug630862.page new file mode 100644 index 00000000..71013718 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_test_parsing_bug630862.page @@ -0,0 +1,38 @@ +<?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*</api:type> + </api:returns> + <api:name>regress_annotation_test_parsing_bug630862</api:name> + </api:function> + + </info> + <title>regress_annotation_test_parsing_bug630862</title> + +<synopsis><code mime="text/x-csrc"> +GObject* regress_annotation_test_parsing_bug630862 (void); +</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-C-expected/Regress.annotation_transfer_floating.page b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_transfer_floating.page new file mode 100644 index 00000000..1607c630 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_transfer_floating.page @@ -0,0 +1,38 @@ +<?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*</api:type> + </api:returns> + <api:name>regress_annotation_transfer_floating</api:name> + </api:function> + + </info> + <title>regress_annotation_transfer_floating</title> + +<synopsis><code mime="text/x-csrc"> +GObject* regress_annotation_transfer_floating (void); +</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-C-expected/Regress.annotation_versioned.page b/tests/scanner/Regress-1.0-C-expected/Regress.annotation_versioned.page new file mode 100644 index 00000000..a3a0fb71 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>regress_annotation_versioned</title> + +<synopsis><code mime="text/x-csrc"> +void regress_annotation_versioned (void); +</code></synopsis> + + + + + + <p>Since 0.6</p> + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.atest_error_quark.page b/tests/scanner/Regress-1.0-C-expected/Regress.atest_error_quark.page new file mode 100644 index 00000000..c5b4cb6e --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.atest_error_quark.page @@ -0,0 +1,38 @@ +<?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>GQuark</api:type> + </api:returns> + <api:name>regress_atest_error_quark</api:name> + </api:function> + + </info> + <title>regress_atest_error_quark</title> + +<synopsis><code mime="text/x-csrc"> +GQuark regress_atest_error_quark (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.foo_async_ready_callback.page b/tests/scanner/Regress-1.0-C-expected/Regress.foo_async_ready_callback.page new file mode 100644 index 00000000..f5ce6975 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.foo_async_ready_callback.page @@ -0,0 +1,58 @@ +<?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>GCancellable*</api:type> + <api:name>cancellable</api:name> + </api:arg> + <api:arg> + <api:type>GAsyncReadyCallback</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_async_ready_callback</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_async_ready_callback (GCancellable* cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +</code></synopsis> + + + + + + + +<dl> +<dt><p>cancellable :</p></dt> +<dd></dd> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>user_data :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.foo_destroy_notify_callback.page b/tests/scanner/Regress-1.0-C-expected/Regress.foo_destroy_notify_callback.page new file mode 100644 index 00000000..6158bf25 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.foo_destroy_notify_callback.page @@ -0,0 +1,58 @@ +<?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>RegressFooCallback</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>data</api:name> + </api:arg> + <api:arg> + <api:type>GDestroyNotify</api:type> + <api:name>destroy</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_destroy_notify_callback</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_destroy_notify_callback (RegressFooCallback callback, + gpointer data, + GDestroyNotify destroy); +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>data :</p></dt> +<dd></dd> +<dt><p>destroy :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.foo_init.page b/tests/scanner/Regress-1.0-C-expected/Regress.foo_init.page new file mode 100644 index 00000000..c3ed369c --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.foo_init.page @@ -0,0 +1,38 @@ +<?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>gint</api:type> + </api:returns> + <api:name>regress_foo_init</api:name> + </api:function> + + </info> + <title>regress_foo_init</title> + +<synopsis><code mime="text/x-csrc"> +gint regress_foo_init (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.foo_method_external_references.page b/tests/scanner/Regress-1.0-C-expected/Regress.foo_method_external_references.page new file mode 100644 index 00000000..07c9c6d1 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.foo_method_external_references.page @@ -0,0 +1,65 @@ +<?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>UtilityObject*</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>UtilityEnumType</api:type> + <api:name>e</api:name> + </api:arg> + <api:arg> + <api:type>UtilityFlagType</api:type> + <api:name>f</api:name> + </api:arg> + <api:arg> + <api:type>UtilityStruct</api:type> + <api:name>s</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_method_external_references</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_method_external_references (UtilityObject* object, + UtilityEnumType e, + UtilityFlagType f, + UtilityStruct s); +</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> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.foo_not_a_constructor_new.page b/tests/scanner/Regress-1.0-C-expected/Regress.foo_not_a_constructor_new.page new file mode 100644 index 00000000..d65bfa1a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.foo_not_a_constructor_new.page @@ -0,0 +1,39 @@ +<?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>RegressFooObject*</api:type> + </api:returns> + <api:name>regress_foo_not_a_constructor_new</api:name> + </api:function> + + </info> + <title>regress_foo_not_a_constructor_new</title> + +<synopsis><code mime="text/x-csrc"> +RegressFooObject* regress_foo_not_a_constructor_new (void); +</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-C-expected/Regress.foo_skip_me.page b/tests/scanner/Regress-1.0-C-expected/Regress.foo_skip_me.page new file mode 100644 index 00000000..8fb9d102 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>RegressFooSkippable</api:type> + <api:name>fs</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_skip_me</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_skip_me (RegressFooSkippable fs); +</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> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.foo_some_variant.page b/tests/scanner/Regress-1.0-C-expected/Regress.foo_some_variant.page new file mode 100644 index 00000000..0ed4e2f4 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.foo_some_variant.page @@ -0,0 +1,51 @@ +<?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>guint</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>regress_foo_some_variant</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_some_variant (guint x, + va_list args); +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>args :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.foo_some_variant_ptr.page b/tests/scanner/Regress-1.0-C-expected/Regress.foo_some_variant_ptr.page new file mode 100644 index 00000000..3755024d --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.foo_some_variant_ptr.page @@ -0,0 +1,51 @@ +<?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>guint</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>regress_foo_some_variant_ptr</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_some_variant_ptr (guint x, + va_list* args); +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>args :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_array.page b/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_array.page new file mode 100644 index 00000000..cf127cb0 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_array.page @@ -0,0 +1,38 @@ +<?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>utf8*</api:type> + </api:returns> + <api:name>regress_foo_test_array</api:name> + </api:function> + + </info> + <title>regress_foo_test_array</title> + +<synopsis><code mime="text/x-csrc"> +GArray* regress_foo_test_array (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_const_char_param.page b/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_const_char_param.page new file mode 100644 index 00000000..79c50cf2 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>const char*</api:type> + <api:name>param</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_test_const_char_param</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_test_const_char_param (const char* param); +</code></synopsis> + + + + + + + +<dl> +<dt><p>param :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_const_char_retval.page b/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_const_char_retval.page new file mode 100644 index 00000000..cb286e62 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_const_char_retval.page @@ -0,0 +1,38 @@ +<?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>const char*</api:type> + </api:returns> + <api:name>regress_foo_test_const_char_retval</api:name> + </api:function> + + </info> + <title>regress_foo_test_const_char_retval</title> + +<synopsis><code mime="text/x-csrc"> +const char* regress_foo_test_const_char_retval (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_const_struct_param.page b/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_const_struct_param.page new file mode 100644 index 00000000..be33c5ad --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>const RegressFooStruct*</api:type> + <api:name>param</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_test_const_struct_param</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_test_const_struct_param (const RegressFooStruct* param); +</code></synopsis> + + + + + + + +<dl> +<dt><p>param :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_const_struct_retval.page b/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_const_struct_retval.page new file mode 100644 index 00000000..783b248a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_const_struct_retval.page @@ -0,0 +1,38 @@ +<?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>const RegressFooStruct*</api:type> + </api:returns> + <api:name>regress_foo_test_const_struct_retval</api:name> + </api:function> + + </info> + <title>regress_foo_test_const_struct_retval</title> + +<synopsis><code mime="text/x-csrc"> +const RegressFooStruct* regress_foo_test_const_struct_retval (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_string_array.page b/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_string_array.page new file mode 100644 index 00000000..83881f67 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>char**</api:type> + <api:name>array</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_test_string_array</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_test_string_array (char** array); +</code></synopsis> + + + + + + + +<dl> +<dt><p>array :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_string_array_with_g.page b/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_string_array_with_g.page new file mode 100644 index 00000000..c3c45b12 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>gchar**</api:type> + <api:name>array</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_test_string_array_with_g</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_test_string_array_with_g (gchar** array); +</code></synopsis> + + + + + + + +<dl> +<dt><p>array :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_unsigned_qualifier.page b/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_unsigned_qualifier.page new file mode 100644 index 00000000..b3ded918 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>unsigned int</api:type> + <api:name>unsigned_param</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_test_unsigned_qualifier</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_test_unsigned_qualifier (unsigned int unsigned_param); +</code></synopsis> + + + + + + + +<dl> +<dt><p>unsigned_param :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_unsigned_type.page b/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_unsigned_type.page new file mode 100644 index 00000000..06100021 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>unsigned</api:type> + <api:name>unsigned_param</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_test_unsigned_type</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_test_unsigned_type (unsigned unsigned_param); +</code></synopsis> + + + + + + + +<dl> +<dt><p>unsigned_param :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_varargs_callback.page b/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_varargs_callback.page new file mode 100644 index 00000000..9024a14d --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_varargs_callback.page @@ -0,0 +1,51 @@ +<?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>gint</api:type> + <api:name>i</api:name> + </api:arg> + <api:arg> + <api:type>RegressFooVarargsCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_test_varargs_callback</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_test_varargs_callback (gint i, + RegressFooVarargsCallback callback); +</code></synopsis> + + + + + + + +<dl> +<dt><p>i :</p></dt> +<dd></dd> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_varargs_callback2.page b/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_varargs_callback2.page new file mode 100644 index 00000000..f89f5474 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>RegressFooVarargsCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_test_varargs_callback2</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_test_varargs_callback2 (RegressFooVarargsCallback 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-C-expected/Regress.foo_test_varargs_callback3.page b/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_varargs_callback3.page new file mode 100644 index 00000000..e34cfc75 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.foo_test_varargs_callback3.page @@ -0,0 +1,51 @@ +<?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>RegressFooVarargsCallback</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>RegressFooVarargsCallback</api:type> + <api:name>callback2</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_foo_test_varargs_callback3</title> + +<synopsis><code mime="text/x-csrc"> +void regress_foo_test_varargs_callback3 (RegressFooVarargsCallback callback, + RegressFooVarargsCallback callback2); +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>callback2 :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.func_obj_null_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.func_obj_null_in.page new file mode 100644 index 00000000..ebc6a7f1 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>RegressTestObj*</api:type> + <api:name>obj</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_func_obj_null_in</title> + +<synopsis><code mime="text/x-csrc"> +void regress_func_obj_null_in (RegressTestObj* obj); +</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-C-expected/Regress.global_get_flags_out.page b/tests/scanner/Regress-1.0-C-expected/Regress.global_get_flags_out.page new file mode 100644 index 00000000..407cb269 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.global_get_flags_out.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>RegressTestFlags*</api:type> + <api:name>v</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_global_get_flags_out</title> + +<synopsis><code mime="text/x-csrc"> +void regress_global_get_flags_out (RegressTestFlags* v); +</code></synopsis> + + + + + + + +<dl> +<dt><p>v :</p></dt> +<dd><p>A flags value</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.has_parameter_named_attrs.page b/tests/scanner/Regress-1.0-C-expected/Regress.has_parameter_named_attrs.page new file mode 100644 index 00000000..802f00f9 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.has_parameter_named_attrs.page @@ -0,0 +1,52 @@ +<?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>int</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>gpointer*</api:type> + <api:name>attributes</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_has_parameter_named_attrs</title> + +<synopsis><code mime="text/x-csrc"> +void regress_has_parameter_named_attrs (int foo, + gpointer* attributes); +</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> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.introspectable_via_alias.page b/tests/scanner/Regress-1.0-C-expected/Regress.introspectable_via_alias.page new file mode 100644 index 00000000..d769d5bc --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>RegressPtrArrayAlias*</api:type> + <api:name>data</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_introspectable_via_alias</title> + +<synopsis><code mime="text/x-csrc"> +void regress_introspectable_via_alias (RegressPtrArrayAlias* data); +</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-C-expected/Regress.not_introspectable_via_alias.page b/tests/scanner/Regress-1.0-C-expected/Regress.not_introspectable_via_alias.page new file mode 100644 index 00000000..263f7c8b --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>RegressVaListAlias</api:type> + <api:name>ok</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_not_introspectable_via_alias</title> + +<synopsis><code mime="text/x-csrc"> +void regress_not_introspectable_via_alias (RegressVaListAlias ok); +</code></synopsis> + + + + + + + +<dl> +<dt><p>ok :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.random_function_with_skipped_structure.page b/tests/scanner/Regress-1.0-C-expected/Regress.random_function_with_skipped_structure.page new file mode 100644 index 00000000..78ba1bcb --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.random_function_with_skipped_structure.page @@ -0,0 +1,58 @@ +<?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>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>RegressSkippedStructure*</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>double</api:type> + <api:name>v</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_random_function_with_skipped_structure</title> + +<synopsis><code mime="text/x-csrc"> +void regress_random_function_with_skipped_structure (int x, + RegressSkippedStructure* foo, + double v); +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>v :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.set_abort_on_error.page b/tests/scanner/Regress-1.0-C-expected/Regress.set_abort_on_error.page new file mode 100644 index 00000000..7ced7958 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>gboolean</api:type> + <api:name>abort_on_error</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_set_abort_on_error</title> + +<synopsis><code mime="text/x-csrc"> +void regress_set_abort_on_error (gboolean abort_on_error); +</code></synopsis> + + + + + + + +<dl> +<dt><p>abort_on_error :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_array_callback.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_callback.page new file mode 100644 index 00000000..c7a2b4a7 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_callback.page @@ -0,0 +1,44 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_array_callback</api:name> + <api:arg> + <api:type>RegressTestCallbackArray</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_array_callback</title> + +<synopsis><code mime="text/x-csrc"> +int regress_test_array_callback (RegressTestCallbackArray 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-C-expected/Regress.test_array_fixed_out_objects.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_fixed_out_objects.page new file mode 100644 index 00000000..016a967b --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_fixed_out_objects.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>RegressTestObj***</api:type> + <api:name>objs</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_array_fixed_out_objects</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_array_fixed_out_objects (RegressTestObj*** objs); +</code></synopsis> + + + + + + + +<dl> +<dt><p>objs :</p></dt> +<dd><p>An array of <link xref="Regress.TestObj"/></p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_array_fixed_size_int_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_fixed_size_int_in.page new file mode 100644 index 00000000..7b756725 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_fixed_size_int_in.page @@ -0,0 +1,44 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_array_fixed_size_int_in</api:name> + <api:arg> + <api:type>int*</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_array_fixed_size_int_in</title> + +<synopsis><code mime="text/x-csrc"> +int regress_test_array_fixed_size_int_in (int* ints); +</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-C-expected/Regress.test_array_fixed_size_int_out.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_fixed_size_int_out.page new file mode 100644 index 00000000..8d8dda52 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_fixed_size_int_out.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>int**</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_array_fixed_size_int_out</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_array_fixed_size_int_out (int** ints); +</code></synopsis> + + + + + + + +<dl> +<dt><p>ints :</p></dt> +<dd><p>a list of 5 integers ranging from 0 to 4</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_array_fixed_size_int_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_fixed_size_int_return.page new file mode 100644 index 00000000..6a67355e --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_fixed_size_int_return.page @@ -0,0 +1,38 @@ +<?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>int*</api:type> + </api:returns> + <api:name>regress_test_array_fixed_size_int_return</api:name> + </api:function> + + </info> + <title>regress_test_array_fixed_size_int_return</title> + +<synopsis><code mime="text/x-csrc"> +int* regress_test_array_fixed_size_int_return (void); +</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-C-expected/Regress.test_array_gint16_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_gint16_in.page new file mode 100644 index 00000000..087ea636 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_gint16_in.page @@ -0,0 +1,51 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_array_gint16_in</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_ints</api:name> + </api:arg> + <api:arg> + <api:type>gint16*</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_array_gint16_in</title> + +<synopsis><code mime="text/x-csrc"> +int regress_test_array_gint16_in (int n_ints, + gint16* ints); +</code></synopsis> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd></dd> +<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-C-expected/Regress.test_array_gint32_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_gint32_in.page new file mode 100644 index 00000000..88ef582f --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_gint32_in.page @@ -0,0 +1,51 @@ +<?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>int</api:type> + <api:name>n_ints</api:name> + </api:arg> + <api:arg> + <api:type>gint32*</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_array_gint32_in</title> + +<synopsis><code mime="text/x-csrc"> +gint32 regress_test_array_gint32_in (int n_ints, + gint32* ints); +</code></synopsis> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd></dd> +<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-C-expected/Regress.test_array_gint64_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_gint64_in.page new file mode 100644 index 00000000..0dd47fcc --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_gint64_in.page @@ -0,0 +1,51 @@ +<?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>gint64</api:type> + </api:returns> + <api:name>regress_test_array_gint64_in</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_ints</api:name> + </api:arg> + <api:arg> + <api:type>gint64*</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_array_gint64_in</title> + +<synopsis><code mime="text/x-csrc"> +gint64 regress_test_array_gint64_in (int n_ints, + gint64* ints); +</code></synopsis> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd></dd> +<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-C-expected/Regress.test_array_gint8_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_gint8_in.page new file mode 100644 index 00000000..32a5cb76 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_gint8_in.page @@ -0,0 +1,51 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_array_gint8_in</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_ints</api:name> + </api:arg> + <api:arg> + <api:type>gint8*</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_array_gint8_in</title> + +<synopsis><code mime="text/x-csrc"> +int regress_test_array_gint8_in (int n_ints, + gint8* ints); +</code></synopsis> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd></dd> +<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-C-expected/Regress.test_array_gtype_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_gtype_in.page new file mode 100644 index 00000000..178ccda4 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_gtype_in.page @@ -0,0 +1,51 @@ +<?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>char*</api:type> + </api:returns> + <api:name>regress_test_array_gtype_in</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_types</api:name> + </api:arg> + <api:arg> + <api:type>GType*</api:type> + <api:name>types</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_array_gtype_in</title> + +<synopsis><code mime="text/x-csrc"> +char* regress_test_array_gtype_in (int n_types, + GType* types); +</code></synopsis> + + + + + + + +<dl> +<dt><p>n_types :</p></dt> +<dd></dd> +<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-C-expected/Regress.test_array_int_full_out.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_int_full_out.page new file mode 100644 index 00000000..37413f21 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_int_full_out.page @@ -0,0 +1,44 @@ +<?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>int*</api:type> + </api:returns> + <api:name>regress_test_array_int_full_out</api:name> + <api:arg> + <api:type>int*</api:type> + <api:name>len</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_array_int_full_out</title> + +<synopsis><code mime="text/x-csrc"> +int* regress_test_array_int_full_out (int* len); +</code></synopsis> + + + + + + + +<dl> +<dt><p>len :</p></dt> +<dd><p>length of the returned array.</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>a new array of integers.</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_array_int_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_int_in.page new file mode 100644 index 00000000..f9ba58cf --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_int_in.page @@ -0,0 +1,51 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_array_int_in</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_ints</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_array_int_in</title> + +<synopsis><code mime="text/x-csrc"> +int regress_test_array_int_in (int n_ints, + int* ints); +</code></synopsis> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd></dd> +<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-C-expected/Regress.test_array_int_inout.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_int_inout.page new file mode 100644 index 00000000..b970df76 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_int_inout.page @@ -0,0 +1,51 @@ +<?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>int*</api:type> + <api:name>n_ints</api:name> + </api:arg> + <api:arg> + <api:type>int**</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_array_int_inout</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_array_int_inout (int* n_ints, + int** ints); +</code></synopsis> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd><p>the length of <code>ints</code></p></dd> +<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> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_array_int_none_out.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_int_none_out.page new file mode 100644 index 00000000..e341b8cc --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_int_none_out.page @@ -0,0 +1,44 @@ +<?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>int*</api:type> + </api:returns> + <api:name>regress_test_array_int_none_out</api:name> + <api:arg> + <api:type>int*</api:type> + <api:name>len</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_array_int_none_out</title> + +<synopsis><code mime="text/x-csrc"> +int* regress_test_array_int_none_out (int* len); +</code></synopsis> + + + + + + + +<dl> +<dt><p>len :</p></dt> +<dd><p>length of the returned array.</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>a static array of integers.</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_array_int_null_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_int_null_in.page new file mode 100644 index 00000000..9afb1ff1 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_int_null_in.page @@ -0,0 +1,51 @@ +<?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>int*</api:type> + <api:name>arr</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>len</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_array_int_null_in</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_array_int_null_in (int* arr, + int len); +</code></synopsis> + + + + + + + +<dl> +<dt><p>arr :</p></dt> +<dd></dd> +<dt><p>len :</p></dt> +<dd><p>length</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_array_int_null_out.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_int_null_out.page new file mode 100644 index 00000000..45ef84f1 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_int_null_out.page @@ -0,0 +1,51 @@ +<?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:arg> + <api:type>int**</api:type> + <api:name>arr</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>len</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_array_int_null_out</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_array_int_null_out (int** arr, + int* len); +</code></synopsis> + + + + + + + +<dl> +<dt><p>arr :</p></dt> +<dd></dd> +<dt><p>len :</p></dt> +<dd><p>length</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_array_int_out.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_int_out.page new file mode 100644 index 00000000..be18643d --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_int_out.page @@ -0,0 +1,51 @@ +<?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:arg> + <api:type>int*</api:type> + <api:name>n_ints</api:name> + </api:arg> + <api:arg> + <api:type>int**</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_array_int_out</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_array_int_out (int* n_ints, + int** ints); +</code></synopsis> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd><p>the length of <code>ints</code></p></dd> +<dt><p>ints :</p></dt> +<dd><p>a list of 5 integers, from 0 to 4 in consecutive order</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_async_ready_callback.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_async_ready_callback.page new file mode 100644 index 00000000..6e3421ac --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>GAsyncReadyCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_async_ready_callback</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_async_ready_callback (GAsyncReadyCallback 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-C-expected/Regress.test_boolean.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_boolean.page new file mode 100644 index 00000000..aada509b --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_boolean.page @@ -0,0 +1,44 @@ +<?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>gboolean</api:type> + </api:returns> + <api:name>regress_test_boolean</api:name> + <api:arg> + <api:type>gboolean</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_boolean</title> + +<synopsis><code mime="text/x-csrc"> +gboolean regress_test_boolean (gboolean in); +</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-C-expected/Regress.test_boolean_false.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_boolean_false.page new file mode 100644 index 00000000..2c84d1c8 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_boolean_false.page @@ -0,0 +1,44 @@ +<?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>gboolean</api:type> + </api:returns> + <api:name>regress_test_boolean_false</api:name> + <api:arg> + <api:type>gboolean</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_boolean_false</title> + +<synopsis><code mime="text/x-csrc"> +gboolean regress_test_boolean_false (gboolean in); +</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-C-expected/Regress.test_boolean_true.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_boolean_true.page new file mode 100644 index 00000000..7d1a9490 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_boolean_true.page @@ -0,0 +1,44 @@ +<?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>gboolean</api:type> + </api:returns> + <api:name>regress_test_boolean_true</api:name> + <api:arg> + <api:type>gboolean</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_boolean_true</title> + +<synopsis><code mime="text/x-csrc"> +gboolean regress_test_boolean_true (gboolean in); +</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-C-expected/Regress.test_cairo_context_full_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_cairo_context_full_return.page new file mode 100644 index 00000000..dfbc29a1 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_cairo_context_full_return.page @@ -0,0 +1,38 @@ +<?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_t*</api:type> + </api:returns> + <api:name>regress_test_cairo_context_full_return</api:name> + </api:function> + + </info> + <title>regress_test_cairo_context_full_return</title> + +<synopsis><code mime="text/x-csrc"> +cairo_t* regress_test_cairo_context_full_return (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_cairo_context_none_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_cairo_context_none_in.page new file mode 100644 index 00000000..63105798 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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_t*</api:type> + <api:name>context</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_cairo_context_none_in</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_cairo_context_none_in (cairo_t* context); +</code></synopsis> + + + + + + + +<dl> +<dt><p>context :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_cairo_surface_full_out.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_cairo_surface_full_out.page new file mode 100644 index 00000000..4ea5516d --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_cairo_surface_full_out.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>cairo_surface_t**</api:type> + <api:name>surface</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_cairo_surface_full_out</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_cairo_surface_full_out (cairo_surface_t** surface); +</code></synopsis> + + + + + + + +<dl> +<dt><p>surface :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_cairo_surface_full_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_cairo_surface_full_return.page new file mode 100644 index 00000000..0b15ce02 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_cairo_surface_full_return.page @@ -0,0 +1,38 @@ +<?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_t*</api:type> + </api:returns> + <api:name>regress_test_cairo_surface_full_return</api:name> + </api:function> + + </info> + <title>regress_test_cairo_surface_full_return</title> + +<synopsis><code mime="text/x-csrc"> +cairo_surface_t* regress_test_cairo_surface_full_return (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_cairo_surface_none_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_cairo_surface_none_in.page new file mode 100644 index 00000000..a1903ce2 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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_t*</api:type> + <api:name>surface</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_cairo_surface_none_in</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_cairo_surface_none_in (cairo_surface_t* surface); +</code></synopsis> + + + + + + + +<dl> +<dt><p>surface :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_cairo_surface_none_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_cairo_surface_none_return.page new file mode 100644 index 00000000..e99ecb4b --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_cairo_surface_none_return.page @@ -0,0 +1,38 @@ +<?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_t*</api:type> + </api:returns> + <api:name>regress_test_cairo_surface_none_return</api:name> + </api:function> + + </info> + <title>regress_test_cairo_surface_none_return</title> + +<synopsis><code mime="text/x-csrc"> +cairo_surface_t* regress_test_cairo_surface_none_return (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_callback.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_callback.page new file mode 100644 index 00000000..99a668ef --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_callback.page @@ -0,0 +1,44 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_callback</api:name> + <api:arg> + <api:type>RegressTestCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_callback</title> + +<synopsis><code mime="text/x-csrc"> +int regress_test_callback (RegressTestCallback 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-C-expected/Regress.test_callback_async.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_async.page new file mode 100644 index 00000000..f2891eda --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_async.page @@ -0,0 +1,51 @@ +<?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>RegressTestCallbackUserData</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_callback_async</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_callback_async (RegressTestCallbackUserData callback, + gpointer user_data); +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>user_data :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify.page new file mode 100644 index 00000000..6a365139 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify.page @@ -0,0 +1,59 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_callback_destroy_notify</api:name> + <api:arg> + <api:type>RegressTestCallbackUserData</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + <api:arg> + <api:type>GDestroyNotify</api:type> + <api:name>notify</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_callback_destroy_notify</title> + +<synopsis><code mime="text/x-csrc"> +int regress_test_callback_destroy_notify (RegressTestCallbackUserData callback, + gpointer user_data, + GDestroyNotify notify); +</code></synopsis> + + + <p>Notified - callback persists until a DestroyNotify delegate +is invoked.</p> + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>user_data :</p></dt> +<dd></dd> +<dt><p>notify :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify_no_user_data.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify_no_user_data.page new file mode 100644 index 00000000..148fc315 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify_no_user_data.page @@ -0,0 +1,52 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_callback_destroy_notify_no_user_data</api:name> + <api:arg> + <api:type>RegressTestCallbackUserData</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>GDestroyNotify</api:type> + <api:name>notify</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_callback_destroy_notify_no_user_data</title> + +<synopsis><code mime="text/x-csrc"> +int regress_test_callback_destroy_notify_no_user_data (RegressTestCallbackUserData callback, + GDestroyNotify notify); +</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>notify :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_thaw_async.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_thaw_async.page new file mode 100644 index 00000000..a666a332 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_thaw_async.page @@ -0,0 +1,38 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_callback_thaw_async</api:name> + </api:function> + + </info> + <title>regress_test_callback_thaw_async</title> + +<synopsis><code mime="text/x-csrc"> +int regress_test_callback_thaw_async (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_thaw_notifications.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_thaw_notifications.page new file mode 100644 index 00000000..0a4ce3d0 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_thaw_notifications.page @@ -0,0 +1,40 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_callback_thaw_notifications</api:name> + </api:function> + + </info> + <title>regress_test_callback_thaw_notifications</title> + +<synopsis><code mime="text/x-csrc"> +int regress_test_callback_thaw_notifications (void); +</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-C-expected/Regress.test_callback_user_data.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_user_data.page new file mode 100644 index 00000000..f577a5eb --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_user_data.page @@ -0,0 +1,52 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_callback_user_data</api:name> + <api:arg> + <api:type>RegressTestCallbackUserData</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_callback_user_data</title> + +<synopsis><code mime="text/x-csrc"> +int regress_test_callback_user_data (RegressTestCallbackUserData callback, + gpointer 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>user_data :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_closure.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_closure.page new file mode 100644 index 00000000..41b5d509 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_closure.page @@ -0,0 +1,44 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_closure</api:name> + <api:arg> + <api:type>GClosure*</api:type> + <api:name>closure</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_closure</title> + +<synopsis><code mime="text/x-csrc"> +int regress_test_closure (GClosure* 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-C-expected/Regress.test_closure_one_arg.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_closure_one_arg.page new file mode 100644 index 00000000..971f21e2 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_closure_one_arg.page @@ -0,0 +1,51 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_closure_one_arg</api:name> + <api:arg> + <api:type>GClosure*</api:type> + <api:name>closure</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>arg</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_closure_one_arg</title> + +<synopsis><code mime="text/x-csrc"> +int regress_test_closure_one_arg (GClosure* closure, + int 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-C-expected/Regress.test_closure_variant.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_closure_variant.page new file mode 100644 index 00000000..1f5a56a6 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_closure_variant.page @@ -0,0 +1,51 @@ +<?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>GVariant*</api:type> + </api:returns> + <api:name>regress_test_closure_variant</api:name> + <api:arg> + <api:type>GClosure*</api:type> + <api:name>closure</api:name> + </api:arg> + <api:arg> + <api:type>GVariant*</api:type> + <api:name>arg</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_closure_variant</title> + +<synopsis><code mime="text/x-csrc"> +GVariant* regress_test_closure_variant (GClosure* closure, + GVariant* arg); +</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-C-expected/Regress.test_date_in_gvalue.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_date_in_gvalue.page new file mode 100644 index 00000000..e606febe --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_date_in_gvalue.page @@ -0,0 +1,38 @@ +<?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>GValue*</api:type> + </api:returns> + <api:name>regress_test_date_in_gvalue</api:name> + </api:function> + + </info> + <title>regress_test_date_in_gvalue</title> + +<synopsis><code mime="text/x-csrc"> +GValue* regress_test_date_in_gvalue (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_def_error_quark.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_def_error_quark.page new file mode 100644 index 00000000..1fb55bed --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_def_error_quark.page @@ -0,0 +1,38 @@ +<?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>GQuark</api:type> + </api:returns> + <api:name>regress_test_def_error_quark</api:name> + </api:function> + + </info> + <title>regress_test_def_error_quark</title> + +<synopsis><code mime="text/x-csrc"> +GQuark regress_test_def_error_quark (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_double.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_double.page new file mode 100644 index 00000000..7384ecd6 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_double.page @@ -0,0 +1,44 @@ +<?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>gdouble</api:type> + </api:returns> + <api:name>regress_test_double</api:name> + <api:arg> + <api:type>gdouble</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_double</title> + +<synopsis><code mime="text/x-csrc"> +gdouble regress_test_double (gdouble in); +</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-C-expected/Regress.test_filename_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_filename_return.page new file mode 100644 index 00000000..e490ac3e --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_filename_return.page @@ -0,0 +1,38 @@ +<?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>GSList*</api:type> + </api:returns> + <api:name>regress_test_filename_return</api:name> + </api:function> + + </info> + <title>regress_test_filename_return</title> + +<synopsis><code mime="text/x-csrc"> +GSList* regress_test_filename_return (void); +</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-C-expected/Regress.test_float.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_float.page new file mode 100644 index 00000000..f50930da --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_float.page @@ -0,0 +1,44 @@ +<?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>gfloat</api:type> + </api:returns> + <api:name>regress_test_float</api:name> + <api:arg> + <api:type>gfloat</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_float</title> + +<synopsis><code mime="text/x-csrc"> +gfloat regress_test_float (gfloat in); +</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-C-expected/Regress.test_garray_container_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_garray_container_return.page new file mode 100644 index 00000000..23639759 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_garray_container_return.page @@ -0,0 +1,38 @@ +<?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>utf8*</api:type> + </api:returns> + <api:name>regress_test_garray_container_return</api:name> + </api:function> + + </info> + <title>regress_test_garray_container_return</title> + +<synopsis><code mime="text/x-csrc"> +GPtrArray* regress_test_garray_container_return (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_garray_full_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_garray_full_return.page new file mode 100644 index 00000000..a433bfaa --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_garray_full_return.page @@ -0,0 +1,38 @@ +<?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>utf8*</api:type> + </api:returns> + <api:name>regress_test_garray_full_return</api:name> + </api:function> + + </info> + <title>regress_test_garray_full_return</title> + +<synopsis><code mime="text/x-csrc"> +GPtrArray* regress_test_garray_full_return (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_gerror_callback.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_gerror_callback.page new file mode 100644 index 00000000..4aa5615e --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>RegressTestCallbackGError</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_gerror_callback</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_gerror_callback (RegressTestCallbackGError 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-C-expected/Regress.test_ghash_container_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_container_return.page new file mode 100644 index 00000000..fd291224 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_container_return.page @@ -0,0 +1,38 @@ +<?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>GHashTable*</api:type> + </api:returns> + <api:name>regress_test_ghash_container_return</api:name> + </api:function> + + </info> + <title>regress_test_ghash_container_return</title> + +<synopsis><code mime="text/x-csrc"> +GHashTable* regress_test_ghash_container_return (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_everything_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_everything_return.page new file mode 100644 index 00000000..4ad5cb53 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_everything_return.page @@ -0,0 +1,38 @@ +<?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>GHashTable*</api:type> + </api:returns> + <api:name>regress_test_ghash_everything_return</api:name> + </api:function> + + </info> + <title>regress_test_ghash_everything_return</title> + +<synopsis><code mime="text/x-csrc"> +GHashTable* regress_test_ghash_everything_return (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_gvalue_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_gvalue_in.page new file mode 100644 index 00000000..8708d8d1 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>GHashTable*</api:type> + <api:name>hash</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_ghash_gvalue_in</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_ghash_gvalue_in (GHashTable* hash); +</code></synopsis> + + + + + + + +<dl> +<dt><p>hash :</p></dt> +<dd><p>the hash table returned by <link xref="Regress.test_ghash_gvalue_return"/>.</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_gvalue_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_gvalue_return.page new file mode 100644 index 00000000..98682591 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_gvalue_return.page @@ -0,0 +1,38 @@ +<?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>GHashTable*</api:type> + </api:returns> + <api:name>regress_test_ghash_gvalue_return</api:name> + </api:function> + + </info> + <title>regress_test_ghash_gvalue_return</title> + +<synopsis><code mime="text/x-csrc"> +GHashTable* regress_test_ghash_gvalue_return (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_nested_everything_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_nested_everything_return.page new file mode 100644 index 00000000..8af4cbd7 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_nested_everything_return.page @@ -0,0 +1,38 @@ +<?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>GHashTable*</api:type> + </api:returns> + <api:name>regress_test_ghash_nested_everything_return</api:name> + </api:function> + + </info> + <title>regress_test_ghash_nested_everything_return</title> + +<synopsis><code mime="text/x-csrc"> +GHashTable* regress_test_ghash_nested_everything_return (void); +</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-C-expected/Regress.test_ghash_nested_everything_return2.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_nested_everything_return2.page new file mode 100644 index 00000000..8612e665 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_nested_everything_return2.page @@ -0,0 +1,39 @@ +<?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>GHashTable*</api:type> + </api:returns> + <api:name>regress_test_ghash_nested_everything_return2</api:name> + </api:function> + + </info> + <title>regress_test_ghash_nested_everything_return2</title> + +<synopsis><code mime="text/x-csrc"> +GHashTable* regress_test_ghash_nested_everything_return2 (void); +</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-C-expected/Regress.test_ghash_nothing_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_nothing_in.page new file mode 100644 index 00000000..8a21bbf2 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>const GHashTable*</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_ghash_nothing_in</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_ghash_nothing_in (const GHashTable* in); +</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-C-expected/Regress.test_ghash_nothing_in2.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_nothing_in2.page new file mode 100644 index 00000000..83f5c6e1 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>GHashTable*</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_ghash_nothing_in2</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_ghash_nothing_in2 (GHashTable* in); +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.array_function.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_nothing_return.page index c3dfc238..a0af756d 100644 --- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.array_function.page +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_nothing_return.page @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<page id="DocExamples.array_function" +<page id="Regress.test_ghash_nothing_return" type="topic" style="function" xmlns="http://projectmallard.org/1.0/" @@ -10,34 +10,27 @@ <link type="guide" xref="index" group="function"/> <api:function> <api:returns> - <api:type>gint*</api:type> + <api:type>const GHashTable*</api:type> </api:returns> - <api:name>doc_examples_array_function</api:name> - <api:arg> - <api:type>gint*</api:type> - <api:name>out_len</api:name> - </api:arg> + <api:name>regress_test_ghash_nothing_return</api:name> </api:function> </info> - <title>doc_examples_array_function</title> + <title>regress_test_ghash_nothing_return</title> <synopsis><code mime="text/x-csrc"> -gint* doc_examples_array_function (gint* out_len); +const GHashTable* regress_test_ghash_nothing_return (void); </code></synopsis> - <p>This function returns an array with an explicit length, -and the length should be invisible in most introspected bindings.</p> + <dl> -<dt><p>out_len :</p></dt> -<dd><p>the length of the returned array</p></dd> <dt><p>Returns :</p></dt> -<dd><p>an array of numbers.</p></dd> +<dd></dd> </dl> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_nothing_return2.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_nothing_return2.page new file mode 100644 index 00000000..8a5c7b35 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_nothing_return2.page @@ -0,0 +1,38 @@ +<?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>GHashTable*</api:type> + </api:returns> + <api:name>regress_test_ghash_nothing_return2</api:name> + </api:function> + + </info> + <title>regress_test_ghash_nothing_return2</title> + +<synopsis><code mime="text/x-csrc"> +GHashTable* regress_test_ghash_nothing_return2 (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_null_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_null_in.page new file mode 100644 index 00000000..fa7c04e9 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>const GHashTable*</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_ghash_null_in</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_ghash_null_in (const GHashTable* in); +</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-C-expected/Regress.test_ghash_null_out.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_null_out.page new file mode 100644 index 00000000..666fdf0c --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_null_out.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>const GHashTable**</api:type> + <api:name>out</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_ghash_null_out</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_ghash_null_out (const GHashTable** out); +</code></synopsis> + + + + + + + +<dl> +<dt><p>out :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_null_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_null_return.page new file mode 100644 index 00000000..d5c91540 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_ghash_null_return.page @@ -0,0 +1,38 @@ +<?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>const GHashTable*</api:type> + </api:returns> + <api:name>regress_test_ghash_null_return</api:name> + </api:function> + + </info> + <title>regress_test_ghash_null_return</title> + +<synopsis><code mime="text/x-csrc"> +const GHashTable* regress_test_ghash_null_return (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_glist_container_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_glist_container_return.page new file mode 100644 index 00000000..053fbd81 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_glist_container_return.page @@ -0,0 +1,38 @@ +<?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>GList*</api:type> + </api:returns> + <api:name>regress_test_glist_container_return</api:name> + </api:function> + + </info> + <title>regress_test_glist_container_return</title> + +<synopsis><code mime="text/x-csrc"> +GList* regress_test_glist_container_return (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_glist_everything_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_glist_everything_return.page new file mode 100644 index 00000000..05efc259 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_glist_everything_return.page @@ -0,0 +1,38 @@ +<?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>GList*</api:type> + </api:returns> + <api:name>regress_test_glist_everything_return</api:name> + </api:function> + + </info> + <title>regress_test_glist_everything_return</title> + +<synopsis><code mime="text/x-csrc"> +GList* regress_test_glist_everything_return (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_glist_nothing_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_glist_nothing_in.page new file mode 100644 index 00000000..cab2d96f --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>const GList*</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_glist_nothing_in</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_glist_nothing_in (const GList* in); +</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-C-expected/Regress.test_glist_nothing_in2.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_glist_nothing_in2.page new file mode 100644 index 00000000..ec306580 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>GList*</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_glist_nothing_in2</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_glist_nothing_in2 (GList* in); +</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-C-expected/Regress.test_glist_nothing_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_glist_nothing_return.page new file mode 100644 index 00000000..a5d436fe --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_glist_nothing_return.page @@ -0,0 +1,38 @@ +<?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>const GList*</api:type> + </api:returns> + <api:name>regress_test_glist_nothing_return</api:name> + </api:function> + + </info> + <title>regress_test_glist_nothing_return</title> + +<synopsis><code mime="text/x-csrc"> +const GList* regress_test_glist_nothing_return (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_glist_nothing_return2.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_glist_nothing_return2.page new file mode 100644 index 00000000..1af8f86f --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_glist_nothing_return2.page @@ -0,0 +1,38 @@ +<?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>GList*</api:type> + </api:returns> + <api:name>regress_test_glist_nothing_return2</api:name> + </api:function> + + </info> + <title>regress_test_glist_nothing_return2</title> + +<synopsis><code mime="text/x-csrc"> +GList* regress_test_glist_nothing_return2 (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_glist_null_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_glist_null_in.page new file mode 100644 index 00000000..c691426c --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>GSList*</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_glist_null_in</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_glist_null_in (GSList* in); +</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-C-expected/Regress.test_glist_null_out.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_glist_null_out.page new file mode 100644 index 00000000..11ae56f7 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_glist_null_out.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>GSList**</api:type> + <api:name>out_list</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_glist_null_out</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_glist_null_out (GSList** out_list); +</code></synopsis> + + + + + + + +<dl> +<dt><p>out_list :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_gslist_container_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_gslist_container_return.page new file mode 100644 index 00000000..3f238141 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_gslist_container_return.page @@ -0,0 +1,38 @@ +<?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>GSList*</api:type> + </api:returns> + <api:name>regress_test_gslist_container_return</api:name> + </api:function> + + </info> + <title>regress_test_gslist_container_return</title> + +<synopsis><code mime="text/x-csrc"> +GSList* regress_test_gslist_container_return (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_gslist_everything_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_gslist_everything_return.page new file mode 100644 index 00000000..8f9319ce --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_gslist_everything_return.page @@ -0,0 +1,38 @@ +<?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>GSList*</api:type> + </api:returns> + <api:name>regress_test_gslist_everything_return</api:name> + </api:function> + + </info> + <title>regress_test_gslist_everything_return</title> + +<synopsis><code mime="text/x-csrc"> +GSList* regress_test_gslist_everything_return (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_gslist_nothing_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_gslist_nothing_in.page new file mode 100644 index 00000000..22b3230b --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>const GSList*</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_gslist_nothing_in</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_gslist_nothing_in (const GSList* in); +</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-C-expected/Regress.test_gslist_nothing_in2.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_gslist_nothing_in2.page new file mode 100644 index 00000000..f4f3bfc2 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>GSList*</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_gslist_nothing_in2</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_gslist_nothing_in2 (GSList* in); +</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-C-expected/Regress.test_gslist_nothing_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_gslist_nothing_return.page new file mode 100644 index 00000000..8c68039a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_gslist_nothing_return.page @@ -0,0 +1,38 @@ +<?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>const GSList*</api:type> + </api:returns> + <api:name>regress_test_gslist_nothing_return</api:name> + </api:function> + + </info> + <title>regress_test_gslist_nothing_return</title> + +<synopsis><code mime="text/x-csrc"> +const GSList* regress_test_gslist_nothing_return (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_gslist_nothing_return2.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_gslist_nothing_return2.page new file mode 100644 index 00000000..38abfcf0 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_gslist_nothing_return2.page @@ -0,0 +1,38 @@ +<?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>GSList*</api:type> + </api:returns> + <api:name>regress_test_gslist_nothing_return2</api:name> + </api:function> + + </info> + <title>regress_test_gslist_nothing_return2</title> + +<synopsis><code mime="text/x-csrc"> +GSList* regress_test_gslist_nothing_return2 (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_gslist_null_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_gslist_null_in.page new file mode 100644 index 00000000..00bd6702 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>GSList*</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_gslist_null_in</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_gslist_null_in (GSList* in); +</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-C-expected/Regress.test_gslist_null_out.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_gslist_null_out.page new file mode 100644 index 00000000..efa4df62 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_gslist_null_out.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>GSList**</api:type> + <api:name>out_list</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_gslist_null_out</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_gslist_null_out (GSList** out_list); +</code></synopsis> + + + + + + + +<dl> +<dt><p>out_list :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_gtype.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_gtype.page new file mode 100644 index 00000000..c99a531a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_gtype.page @@ -0,0 +1,44 @@ +<?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>regress_test_gtype</title> + +<synopsis><code mime="text/x-csrc"> +GType regress_test_gtype (GType in); +</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-C-expected/Regress.test_gvariant_as.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_gvariant_as.page new file mode 100644 index 00000000..f884014f --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_gvariant_as.page @@ -0,0 +1,38 @@ +<?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>GVariant*</api:type> + </api:returns> + <api:name>regress_test_gvariant_as</api:name> + </api:function> + + </info> + <title>regress_test_gvariant_as</title> + +<synopsis><code mime="text/x-csrc"> +GVariant* regress_test_gvariant_as (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>New variant</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_gvariant_asv.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_gvariant_asv.page new file mode 100644 index 00000000..c39a003c --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_gvariant_asv.page @@ -0,0 +1,38 @@ +<?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>GVariant*</api:type> + </api:returns> + <api:name>regress_test_gvariant_asv</api:name> + </api:function> + + </info> + <title>regress_test_gvariant_asv</title> + +<synopsis><code mime="text/x-csrc"> +GVariant* regress_test_gvariant_asv (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>New variant</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_gvariant_i.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_gvariant_i.page new file mode 100644 index 00000000..58f1b970 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_gvariant_i.page @@ -0,0 +1,38 @@ +<?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>GVariant*</api:type> + </api:returns> + <api:name>regress_test_gvariant_i</api:name> + </api:function> + + </info> + <title>regress_test_gvariant_i</title> + +<synopsis><code mime="text/x-csrc"> +GVariant* regress_test_gvariant_i (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>New variant</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_gvariant_s.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_gvariant_s.page new file mode 100644 index 00000000..051a307c --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_gvariant_s.page @@ -0,0 +1,38 @@ +<?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>GVariant*</api:type> + </api:returns> + <api:name>regress_test_gvariant_s</api:name> + </api:function> + + </info> + <title>regress_test_gvariant_s</title> + +<synopsis><code mime="text/x-csrc"> +GVariant* regress_test_gvariant_s (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>New variant</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_gvariant_v.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_gvariant_v.page new file mode 100644 index 00000000..f1e8f7bd --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_gvariant_v.page @@ -0,0 +1,38 @@ +<?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>GVariant*</api:type> + </api:returns> + <api:name>regress_test_gvariant_v</api:name> + </api:function> + + </info> + <title>regress_test_gvariant_v</title> + +<synopsis><code mime="text/x-csrc"> +GVariant* regress_test_gvariant_v (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>New variant</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_hash_table_callback.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_hash_table_callback.page new file mode 100644 index 00000000..abbdbbb8 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_hash_table_callback.page @@ -0,0 +1,51 @@ +<?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>GHashTable*</api:type> + <api:name>data</api:name> + </api:arg> + <api:arg> + <api:type>RegressTestCallbackHashtable</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_hash_table_callback</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_hash_table_callback (GHashTable* data, + RegressTestCallbackHashtable 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> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_int.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_int.page new file mode 100644 index 00000000..2e271a52 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_int.page @@ -0,0 +1,44 @@ +<?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>gint</api:type> + </api:returns> + <api:name>regress_test_int</api:name> + <api:arg> + <api:type>gint</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_int</title> + +<synopsis><code mime="text/x-csrc"> +gint regress_test_int (gint in); +</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-C-expected/Regress.test_int16.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_int16.page new file mode 100644 index 00000000..6ee0059c --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_int16.page @@ -0,0 +1,44 @@ +<?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>regress_test_int16</title> + +<synopsis><code mime="text/x-csrc"> +gint16 regress_test_int16 (gint16 in); +</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-C-expected/Regress.test_int32.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_int32.page new file mode 100644 index 00000000..58ef340f --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_int32.page @@ -0,0 +1,44 @@ +<?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>regress_test_int32</title> + +<synopsis><code mime="text/x-csrc"> +gint32 regress_test_int32 (gint32 in); +</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-C-expected/Regress.test_int64.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_int64.page new file mode 100644 index 00000000..bfe12d60 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_int64.page @@ -0,0 +1,44 @@ +<?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>gint64</api:type> + </api:returns> + <api:name>regress_test_int64</api:name> + <api:arg> + <api:type>gint64</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_int64</title> + +<synopsis><code mime="text/x-csrc"> +gint64 regress_test_int64 (gint64 in); +</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-C-expected/Regress.test_int8.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_int8.page new file mode 100644 index 00000000..0b4b43ab --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_int8.page @@ -0,0 +1,44 @@ +<?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>regress_test_int8</title> + +<synopsis><code mime="text/x-csrc"> +gint8 regress_test_int8 (gint8 in); +</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-C-expected/Regress.test_int_out_utf8.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_int_out_utf8.page new file mode 100644 index 00000000..ae8ecfcd --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_int_out_utf8.page @@ -0,0 +1,51 @@ +<?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>int*</api:type> + <api:name>length</api:name> + </api:arg> + <api:arg> + <api:type>const char*</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_int_out_utf8</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_int_out_utf8 (int* length, + const char* in); +</code></synopsis> + + + + + + + +<dl> +<dt><p>length :</p></dt> +<dd></dd> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_int_value_arg.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_int_value_arg.page new file mode 100644 index 00000000..4fb211e0 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_int_value_arg.page @@ -0,0 +1,44 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_int_value_arg</api:name> + <api:arg> + <api:type>const GValue*</api:type> + <api:name>v</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_int_value_arg</title> + +<synopsis><code mime="text/x-csrc"> +int regress_test_int_value_arg (const GValue* v); +</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-C-expected/Regress.test_long.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_long.page new file mode 100644 index 00000000..638f066f --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_long.page @@ -0,0 +1,44 @@ +<?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>glong</api:type> + </api:returns> + <api:name>regress_test_long</api:name> + <api:arg> + <api:type>glong</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_long</title> + +<synopsis><code mime="text/x-csrc"> +glong regress_test_long (glong in); +</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-C-expected/Regress.test_multi_callback.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_multi_callback.page new file mode 100644 index 00000000..b0b16c5e --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_multi_callback.page @@ -0,0 +1,44 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_multi_callback</api:name> + <api:arg> + <api:type>RegressTestCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_multi_callback</title> + +<synopsis><code mime="text/x-csrc"> +int regress_test_multi_callback (RegressTestCallback 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-C-expected/Regress.test_multi_double_args.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_multi_double_args.page new file mode 100644 index 00000000..5dc68cb0 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_multi_double_args.page @@ -0,0 +1,58 @@ +<?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>gdouble</api:type> + <api:name>in</api:name> + </api:arg> + <api:arg> + <api:type>gdouble*</api:type> + <api:name>one</api:name> + </api:arg> + <api:arg> + <api:type>gdouble*</api:type> + <api:name>two</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_multi_double_args</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_multi_double_args (gdouble in, + gdouble* one, + gdouble* two); +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>one :</p></dt> +<dd></dd> +<dt><p>two :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_multiline_doc_comments.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_multiline_doc_comments.page new file mode 100644 index 00000000..439f66a7 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>regress_test_multiline_doc_comments</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_multiline_doc_comments (void); +</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> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_nested_parameter.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_nested_parameter.page new file mode 100644 index 00000000..30d6e07a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>int</api:type> + <api:name>a</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_nested_parameter</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_nested_parameter (int a); +</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> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_null_gerror_callback.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_null_gerror_callback.page new file mode 100644 index 00000000..995b82b5 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>RegressTestCallbackGError</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_null_gerror_callback</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_null_gerror_callback (RegressTestCallbackGError 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-C-expected/Regress.test_owned_gerror_callback.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_owned_gerror_callback.page new file mode 100644 index 00000000..0bb38c93 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>RegressTestCallbackOwnedGError</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_owned_gerror_callback</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_owned_gerror_callback (RegressTestCallbackOwnedGError 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-C-expected/Regress.test_short.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_short.page new file mode 100644 index 00000000..135cd706 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_short.page @@ -0,0 +1,44 @@ +<?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>regress_test_short</title> + +<synopsis><code mime="text/x-csrc"> +gshort regress_test_short (gshort in); +</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-C-expected/Regress.test_simple_callback.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_simple_callback.page new file mode 100644 index 00000000..8e844050 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>RegressTestSimpleCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_simple_callback</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_simple_callback (RegressTestSimpleCallback 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-C-expected/Regress.test_size.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_size.page new file mode 100644 index 00000000..cf24fbe9 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_size.page @@ -0,0 +1,44 @@ +<?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>regress_test_size</title> + +<synopsis><code mime="text/x-csrc"> +gsize regress_test_size (gsize in); +</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-C-expected/Regress.test_skip_unannotated_callback.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_skip_unannotated_callback.page new file mode 100644 index 00000000..9764aa94 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>RegressTestCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_skip_unannotated_callback</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_skip_unannotated_callback (RegressTestCallback 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> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_ssize.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_ssize.page new file mode 100644 index 00000000..232f21dd --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_ssize.page @@ -0,0 +1,44 @@ +<?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>regress_test_ssize</title> + +<synopsis><code mime="text/x-csrc"> +gssize regress_test_ssize (gssize in); +</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-C-expected/Regress.test_strv_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_strv_in.page new file mode 100644 index 00000000..c1d6ce40 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_strv_in.page @@ -0,0 +1,44 @@ +<?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>gboolean</api:type> + </api:returns> + <api:name>regress_test_strv_in</api:name> + <api:arg> + <api:type>char**</api:type> + <api:name>arr</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_strv_in</title> + +<synopsis><code mime="text/x-csrc"> +gboolean regress_test_strv_in (char** arr); +</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-C-expected/Regress.test_strv_in_gvalue.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_strv_in_gvalue.page new file mode 100644 index 00000000..0609b669 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_strv_in_gvalue.page @@ -0,0 +1,38 @@ +<?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>GValue*</api:type> + </api:returns> + <api:name>regress_test_strv_in_gvalue</api:name> + </api:function> + + </info> + <title>regress_test_strv_in_gvalue</title> + +<synopsis><code mime="text/x-csrc"> +GValue* regress_test_strv_in_gvalue (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_strv_out.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_strv_out.page new file mode 100644 index 00000000..dba053f4 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_strv_out.page @@ -0,0 +1,38 @@ +<?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>utf8*</api:type> + </api:returns> + <api:name>regress_test_strv_out</api:name> + </api:function> + + </info> + <title>regress_test_strv_out</title> + +<synopsis><code mime="text/x-csrc"> +char** regress_test_strv_out (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_strv_out_c.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_strv_out_c.page new file mode 100644 index 00000000..01e1c371 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_strv_out_c.page @@ -0,0 +1,38 @@ +<?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>utf8*</api:type> + </api:returns> + <api:name>regress_test_strv_out_c</api:name> + </api:function> + + </info> + <title>regress_test_strv_out_c</title> + +<synopsis><code mime="text/x-csrc"> +const char* const* regress_test_strv_out_c (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_strv_out_container.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_strv_out_container.page new file mode 100644 index 00000000..71b89c37 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_strv_out_container.page @@ -0,0 +1,38 @@ +<?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>utf8*</api:type> + </api:returns> + <api:name>regress_test_strv_out_container</api:name> + </api:function> + + </info> + <title>regress_test_strv_out_container</title> + +<synopsis><code mime="text/x-csrc"> +char** regress_test_strv_out_container (void); +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_strv_outarg.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_strv_outarg.page new file mode 100644 index 00000000..aea2dace --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_strv_outarg.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>char***</api:type> + <api:name>retp</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_strv_outarg</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_strv_outarg (char*** retp); +</code></synopsis> + + + + + + + +<dl> +<dt><p>retp :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_timet.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_timet.page new file mode 100644 index 00000000..2c31dccc --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_timet.page @@ -0,0 +1,44 @@ +<?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>time_t</api:type> + </api:returns> + <api:name>regress_test_timet</api:name> + <api:arg> + <api:type>time_t</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_timet</title> + +<synopsis><code mime="text/x-csrc"> +time_t regress_test_timet (time_t in); +</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-C-expected/Regress.test_torture_signature_0.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_torture_signature_0.page new file mode 100644 index 00000000..bcdbd35b --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_torture_signature_0.page @@ -0,0 +1,79 @@ +<?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>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>double*</api:type> + <api:name>y</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>z</api:name> + </api:arg> + <api:arg> + <api:type>const char*</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>q</api:name> + </api:arg> + <api:arg> + <api:type>guint</api:type> + <api:name>m</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_torture_signature_0</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_torture_signature_0 (int x, + double* y, + int* z, + const char* foo, + int* q, + guint m); +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>y :</p></dt> +<dd></dd> +<dt><p>z :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>q :</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-C-expected/Regress.test_torture_signature_1.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_torture_signature_1.page new file mode 100644 index 00000000..af54f3f6 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_torture_signature_1.page @@ -0,0 +1,79 @@ +<?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>gboolean</api:type> + </api:returns> + <api:name>regress_test_torture_signature_1</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>double*</api:type> + <api:name>y</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>z</api:name> + </api:arg> + <api:arg> + <api:type>const char*</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>q</api:name> + </api:arg> + <api:arg> + <api:type>guint</api:type> + <api:name>m</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_torture_signature_1</title> + +<synopsis><code mime="text/x-csrc"> +gboolean regress_test_torture_signature_1 (int x, + double* y, + int* z, + const char* foo, + int* q, + guint m); +</code></synopsis> + + + <p>This function throws an error if m is odd.</p> + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>y :</p></dt> +<dd></dd> +<dt><p>z :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>q :</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-C-expected/Regress.test_torture_signature_2.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_torture_signature_2.page new file mode 100644 index 00000000..145c44f3 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_torture_signature_2.page @@ -0,0 +1,100 @@ +<?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>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>RegressTestCallbackUserData</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + <api:arg> + <api:type>GDestroyNotify</api:type> + <api:name>notify</api:name> + </api:arg> + <api:arg> + <api:type>double*</api:type> + <api:name>y</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>z</api:name> + </api:arg> + <api:arg> + <api:type>const char*</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>int*</api:type> + <api:name>q</api:name> + </api:arg> + <api:arg> + <api:type>guint</api:type> + <api:name>m</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_torture_signature_2</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_torture_signature_2 (int x, + RegressTestCallbackUserData callback, + gpointer user_data, + GDestroyNotify notify, + double* y, + int* z, + const char* foo, + int* q, + guint m); +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>user_data :</p></dt> +<dd></dd> +<dt><p>notify :</p></dt> +<dd></dd> +<dt><p>y :</p></dt> +<dd></dd> +<dt><p>z :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>q :</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-C-expected/Regress.test_uint.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_uint.page new file mode 100644 index 00000000..aeed54f2 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_uint.page @@ -0,0 +1,44 @@ +<?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>guint</api:type> + </api:returns> + <api:name>regress_test_uint</api:name> + <api:arg> + <api:type>guint</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_uint</title> + +<synopsis><code mime="text/x-csrc"> +guint regress_test_uint (guint in); +</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-C-expected/Regress.test_uint16.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_uint16.page new file mode 100644 index 00000000..280a15f5 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_uint16.page @@ -0,0 +1,44 @@ +<?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>regress_test_uint16</title> + +<synopsis><code mime="text/x-csrc"> +guint16 regress_test_uint16 (guint16 in); +</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-C-expected/Regress.test_uint32.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_uint32.page new file mode 100644 index 00000000..dd0ef86f --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_uint32.page @@ -0,0 +1,44 @@ +<?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>regress_test_uint32</title> + +<synopsis><code mime="text/x-csrc"> +guint32 regress_test_uint32 (guint32 in); +</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-C-expected/Regress.test_uint64.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_uint64.page new file mode 100644 index 00000000..b4a8d643 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_uint64.page @@ -0,0 +1,44 @@ +<?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>guint64</api:type> + </api:returns> + <api:name>regress_test_uint64</api:name> + <api:arg> + <api:type>guint64</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_uint64</title> + +<synopsis><code mime="text/x-csrc"> +guint64 regress_test_uint64 (guint64 in); +</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-C-expected/Regress.test_uint8.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_uint8.page new file mode 100644 index 00000000..f482eb7f --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_uint8.page @@ -0,0 +1,44 @@ +<?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>regress_test_uint8</title> + +<synopsis><code mime="text/x-csrc"> +guint8 regress_test_uint8 (guint8 in); +</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-C-expected/Regress.test_ulong.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_ulong.page new file mode 100644 index 00000000..479ebe0b --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_ulong.page @@ -0,0 +1,44 @@ +<?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>gulong</api:type> + </api:returns> + <api:name>regress_test_ulong</api:name> + <api:arg> + <api:type>gulong</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_ulong</title> + +<synopsis><code mime="text/x-csrc"> +gulong regress_test_ulong (gulong in); +</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-C-expected/Regress.test_unichar.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_unichar.page new file mode 100644 index 00000000..ecafbe69 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_unichar.page @@ -0,0 +1,44 @@ +<?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>gunichar</api:type> + </api:returns> + <api:name>regress_test_unichar</api:name> + <api:arg> + <api:type>gunichar</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_unichar</title> + +<synopsis><code mime="text/x-csrc"> +gunichar regress_test_unichar (gunichar in); +</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-C-expected/Regress.test_unsigned_enum_param.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_unsigned_enum_param.page new file mode 100644 index 00000000..e5d5cb2a --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_unsigned_enum_param.page @@ -0,0 +1,44 @@ +<?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>const gchar*</api:type> + </api:returns> + <api:name>regress_test_unsigned_enum_param</api:name> + <api:arg> + <api:type>RegressTestEnumUnsigned</api:type> + <api:name>e</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_unsigned_enum_param</title> + +<synopsis><code mime="text/x-csrc"> +const gchar* regress_test_unsigned_enum_param (RegressTestEnumUnsigned e); +</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-C-expected/Regress.test_ushort.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_ushort.page new file mode 100644 index 00000000..0e04b87d --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_ushort.page @@ -0,0 +1,44 @@ +<?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>regress_test_ushort</title> + +<synopsis><code mime="text/x-csrc"> +gushort regress_test_ushort (gushort in); +</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-C-expected/Regress.test_utf8_const_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_utf8_const_in.page new file mode 100644 index 00000000..b4c5090c --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>const char*</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_utf8_const_in</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_utf8_const_in (const char* in); +</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-C-expected/Regress.test_utf8_const_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_utf8_const_return.page new file mode 100644 index 00000000..77ef0826 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_utf8_const_return.page @@ -0,0 +1,38 @@ +<?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>const char*</api:type> + </api:returns> + <api:name>regress_test_utf8_const_return</api:name> + </api:function> + + </info> + <title>regress_test_utf8_const_return</title> + +<synopsis><code mime="text/x-csrc"> +const char* regress_test_utf8_const_return (void); +</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-C-expected/Regress.test_utf8_inout.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_utf8_inout.page new file mode 100644 index 00000000..259e2323 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>char**</api:type> + <api:name>inout</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_utf8_inout</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_utf8_inout (char** inout); +</code></synopsis> + + + + + + + +<dl> +<dt><p>inout :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_utf8_nonconst_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_utf8_nonconst_return.page new file mode 100644 index 00000000..3b1ae5d1 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_utf8_nonconst_return.page @@ -0,0 +1,38 @@ +<?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>char*</api:type> + </api:returns> + <api:name>regress_test_utf8_nonconst_return</api:name> + </api:function> + + </info> + <title>regress_test_utf8_nonconst_return</title> + +<synopsis><code mime="text/x-csrc"> +char* regress_test_utf8_nonconst_return (void); +</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-C-expected/Regress.test_utf8_null_in.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_utf8_null_in.page new file mode 100644 index 00000000..a864ae1d --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>char*</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_utf8_null_in</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_utf8_null_in (char* in); +</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-C-expected/Regress.test_utf8_null_out.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_utf8_null_out.page new file mode 100644 index 00000000..ffd3147c --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_utf8_null_out.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>char**</api:type> + <api:name>char_out</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_utf8_null_out</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_utf8_null_out (char** char_out); +</code></synopsis> + + + + + + + +<dl> +<dt><p>char_out :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_utf8_out.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_utf8_out.page new file mode 100644 index 00000000..d2743eaf --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_utf8_out.page @@ -0,0 +1,44 @@ +<?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:arg> + <api:type>char**</api:type> + <api:name>out</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_utf8_out</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_utf8_out (char** out); +</code></synopsis> + + + + + + + +<dl> +<dt><p>out :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_utf8_out_nonconst_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_utf8_out_nonconst_return.page new file mode 100644 index 00000000..f8356aff --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_utf8_out_nonconst_return.page @@ -0,0 +1,44 @@ +<?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>char*</api:type> + </api:returns> + <api:name>regress_test_utf8_out_nonconst_return</api:name> + <api:arg> + <api:type>char**</api:type> + <api:name>out</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_utf8_out_nonconst_return</title> + +<synopsis><code mime="text/x-csrc"> +char* regress_test_utf8_out_nonconst_return (char** out); +</code></synopsis> + + + + + + + +<dl> +<dt><p>out :</p></dt> +<dd><p>a copy of "second"</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>a copy of "first"</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_utf8_out_out.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_utf8_out_out.page new file mode 100644 index 00000000..87ce92f8 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_utf8_out_out.page @@ -0,0 +1,51 @@ +<?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:arg> + <api:type>char**</api:type> + <api:name>out0</api:name> + </api:arg> + <api:arg> + <api:type>char**</api:type> + <api:name>out1</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_utf8_out_out</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_utf8_out_out (char** out0, + char** out1); +</code></synopsis> + + + + + + + +<dl> +<dt><p>out0 :</p></dt> +<dd><p>a copy of "first"</p></dd> +<dt><p>out1 :</p></dt> +<dd><p>a copy of "second"</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_value_get_fundamental_object.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_value_get_fundamental_object.page new file mode 100644 index 00000000..ec758d86 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_value_get_fundamental_object.page @@ -0,0 +1,44 @@ +<?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>RegressTestFundamentalObject*</api:type> + </api:returns> + <api:name>regress_test_value_get_fundamental_object</api:name> + <api:arg> + <api:type>const GValue*</api:type> + <api:name>value</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_value_get_fundamental_object</title> + +<synopsis><code mime="text/x-csrc"> +RegressTestFundamentalObject* regress_test_value_get_fundamental_object (const GValue* value); +</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-C-expected/Regress.test_value_return.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_value_return.page new file mode 100644 index 00000000..bcdbed57 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_value_return.page @@ -0,0 +1,44 @@ +<?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>const GValue*</api:type> + </api:returns> + <api:name>regress_test_value_return</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>i</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_value_return</title> + +<synopsis><code mime="text/x-csrc"> +const GValue* regress_test_value_return (int i); +</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-C-expected/Regress.test_value_set_fundamental_object.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_value_set_fundamental_object.page new file mode 100644 index 00000000..101443ed --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_value_set_fundamental_object.page @@ -0,0 +1,51 @@ +<?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>GValue*</api:type> + <api:name>value</api:name> + </api:arg> + <api:arg> + <api:type>RegressTestFundamentalObject*</api:type> + <api:name>fundamental_object</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_value_set_fundamental_object</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_value_set_fundamental_object (GValue* value, + RegressTestFundamentalObject* fundamental_object); +</code></synopsis> + + + + + + + +<dl> +<dt><p>value :</p></dt> +<dd></dd> +<dt><p>fundamental_object :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_versioning.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_versioning.page new file mode 100644 index 00000000..d426f0a4 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-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>regress_test_versioning</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_versioning (void); +</code></synopsis> + + + + + + <p>Since 1.32.1</p> + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/doctool/DocExamples-1.0-C-expected/index.page b/tests/scanner/Regress-1.0-C-expected/index.page index 1d89dedd..1d89dedd 100644 --- a/tests/doctool/DocExamples-1.0-C-expected/index.page +++ b/tests/scanner/Regress-1.0-C-expected/index.page 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/doctool/DocExamples-1.0-Python-expected/DocExamples.Enum.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.ATestError.page index a3e64bc5..dff139fd 100644 --- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Enum.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.ATestError.page @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<page id="DocExamples.Enum" +<page id="Regress.ATestError" type="topic" style="enum" xmlns="http://projectmallard.org/1.0/" @@ -10,20 +10,22 @@ <link type="guide" xref="index"/> </info> - <title>DocExamples.Enum</title> + <title>Regress.ATestError</title> - <p>This is an example to document an enumeration.</p> + <dl> -<dt><p>Enum.FOO :</p></dt> -<dd><p>a foo</p></dd> -<dt><p>Enum.BAR :</p></dt> -<dd><p>a bar</p></dd> +<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> 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/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.new.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBoxed.new.page index 2dab7439..edad8cdf 100644 --- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.new.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBoxed.new.page @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<page id="DocExamples.Obj.new" +<page id="Regress.FooBoxed.new" type="topic" style="constructor" xmlns="http://projectmallard.org/1.0/" @@ -7,20 +7,20 @@ xmlns:ui="http://projectmallard.org/1.0/ui/"> <info> - <link type="guide" xref="DocExamples.Obj" group="constructor"/> + <link type="guide" xref="Regress.FooBoxed" group="constructor"/> <api:function> <api:returns> - <api:type>DocExamples.Obj</api:type> + <api:type>Regress.FooBoxed</api:type> </api:returns> - <api:name>doc_examples_obj_new</api:name> + <api:name>regress_foo_boxed_new</api:name> </api:function> </info> - <title>Obj.new</title> + <title>FooBoxed.new</title> <synopsis><code mime="text/x-gjs"> -function new():DocExamples.Obj { - // Gjs wrapper for doc_examples_obj_new() +function new():Regress.FooBoxed { + // Gjs wrapper for regress_foo_boxed_new() } </code></synopsis> 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/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBuffer.page index 378f27d1..a3b5101c 100644 --- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBuffer.page @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<page id="DocExamples.Obj" +<page id="Regress.FooBuffer" type="guide" style="class" xmlns="http://projectmallard.org/1.0/" @@ -10,18 +10,17 @@ <link type="guide" xref="index"/> </info> - <title>DocExamples.Obj</title> + <title>Regress.FooBuffer</title> <synopsis><code> -from gi.repository import DocExamples +from gi.repository import Regress -obj = DocExamples.Obj(<link xref='DocExamples.Obj-property-example'>property_example</link>=value) </code></synopsis> +foo_buffer = Regress.FooBuffer() </code></synopsis> - <p>This is an example of how to document a class</p><p>This class has a signal: <link xref="DocExamples.Obj-signal-example"/>.</p><p>And also has a property: <link xref="DocExamples.Obj-property-example"/>.</p> + - <p>Since 0.99</p> <synopsis> @@ -30,7 +29,10 @@ obj = DocExamples.Obj(<link xref='DocExamples.Obj-property-example'>property_exa <item> <code>GObject.Object</code> <item> - <code>DocExamples.Obj</code> + <code>Regress.FooObject</code> + <item> + <code>Regress.FooBuffer</code> + </item> </item> </item> </tree> 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/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Enum.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumType.page index a3e64bc5..37510f5c 100644 --- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Enum.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumType.page @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<page id="DocExamples.Enum" +<page id="Regress.FooEnumType" type="topic" style="enum" xmlns="http://projectmallard.org/1.0/" @@ -10,20 +10,22 @@ <link type="guide" xref="index"/> </info> - <title>DocExamples.Enum</title> + <title>Regress.FooEnumType</title> - <p>This is an example to document an enumeration.</p> + <dl> -<dt><p>Enum.FOO :</p></dt> -<dd><p>a foo</p></dd> -<dt><p>Enum.BAR :</p></dt> -<dd><p>a bar</p></dd> +<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> 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/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-vfunc.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooInterface-do_regress_foo.page index 87c38e63..0148788f 100644 --- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-vfunc.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooInterface-do_regress_foo.page @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<page id="DocExamples.Obj-vfunc" +<page id="Regress.FooInterface-do_regress_foo" type="topic" style="vfunc" xmlns="http://projectmallard.org/1.0/" @@ -10,23 +10,22 @@ <link type="guide" xref="index"/> </info> - <title>DocExamples.Obj::vfunc</title> + <title>Regress.FooInterface::do_regress_foo</title> <synopsis><code mime="text/x-gjs"> -function vfunc_vfunc(first_arg:Number):void { +function vfunc_do_regress_foo(x:Number):void { } </code></synopsis> - <p>This is an example of how to document a vfunc.</p> + - <p>Since 0.99</p> <dl> -<dt><p>first_arg :</p></dt> -<dd><p>first argument</p></dd> +<dt><p>x :</p></dt> +<dd></dd> </dl> 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/doctool/DocExamples-1.0-Gjs-expected/DocExamples.array_function.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_fixed_size_int_in.page index 05583a26..9670d04e 100644 --- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.array_function.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_fixed_size_int_in.page @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<page id="DocExamples.array_function" +<page id="Regress.test_array_fixed_size_int_in" type="topic" style="function" xmlns="http://projectmallard.org/1.0/" @@ -10,36 +10,35 @@ <link type="guide" xref="index" group="function"/> <api:function> <api:returns> - <api:type>[Number]</api:type> + <api:type>Number</api:type> </api:returns> - <api:name>doc_examples_array_function</api:name> + <api:name>regress_test_array_fixed_size_int_in</api:name> <api:arg> - <api:type>Number</api:type> - <api:name>out_len</api:name> + <api:type>[Number]</api:type> + <api:name>ints</api:name> </api:arg> </api:function> </info> - <title>array_function</title> + <title>test_array_fixed_size_int_in</title> <synopsis><code mime="text/x-gjs"> -function array_function(out_len:Number):[Number] { - // Gjs wrapper for doc_examples_array_function() +function test_array_fixed_size_int_in(ints:[Number]):Number { + // Gjs wrapper for regress_test_array_fixed_size_int_in() } </code></synopsis> - <p>This function returns an array with an explicit length, -and the length should be invisible in most introspected bindings.</p> + <dl> -<dt><p>out_len :</p></dt> -<dd><p>the length of the returned array</p></dd> +<dt><p>ints :</p></dt> +<dd><p>a list of 5 integers</p></dd> <dt><p>Returns :</p></dt> -<dd><p>an array of numbers.</p></dd> +<dd><p>the sum of the items in <code>ints</code></p></dd> </dl> 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/doctool/DocExamples-1.0-Gjs-expected/index.page b/tests/scanner/Regress-1.0-Gjs-expected/index.page index 1d89dedd..1d89dedd 100644 --- a/tests/doctool/DocExamples-1.0-Gjs-expected/index.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/index.page diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.ANNOTATION_CALCULATED_DEFINE.page b/tests/scanner/Regress-1.0-Python-expected/Regress.ANNOTATION_CALCULATED_DEFINE.page new file mode 100644 index 00000000..ebe71b0d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.ANNOTATION_CALCULATED_LARGE.page b/tests/scanner/Regress-1.0-Python-expected/Regress.ANNOTATION_CALCULATED_LARGE.page new file mode 100644 index 00000000..4b38cc01 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.ANNOTATION_CALCULATED_LARGE_DIV.page b/tests/scanner/Regress-1.0-Python-expected/Regress.ANNOTATION_CALCULATED_LARGE_DIV.page new file mode 100644 index 00000000..d6c8e76a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.ATestError.page b/tests/scanner/Regress-1.0-Python-expected/Regress.ATestError.page new file mode 100644 index 00000000..dff139fd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.AliasedTestBoxed.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AliasedTestBoxed.page new file mode 100644 index 00000000..2229245a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.AnnotationBitfield.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationBitfield.page new file mode 100644 index 00000000..8cbc8326 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.AnnotationCallback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationCallback.page new file mode 100644 index 00000000..30f950c2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.AnnotationForeachFunc.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationForeachFunc.page new file mode 100644 index 00000000..506ceffd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.AnnotationListCallback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationListCallback.page new file mode 100644 index 00000000..3f9409ed --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.AnnotationNotifyFunc.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationNotifyFunc.page new file mode 100644 index 00000000..b2dc717c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.AnnotationObject-attribute-signal.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-attribute-signal.page new file mode 100644 index 00000000..221c269a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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"> +def callback(annotation_object, arg1, arg2, user_param1, ...) +</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-Python-expected/Regress.AnnotationObject-doc-empty-arg-parsing.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-doc-empty-arg-parsing.page new file mode 100644 index 00000000..03b488b2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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"> +def callback(annotation_object, arg1, user_param1, ...) +</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-Python-expected/Regress.AnnotationObject-function-property.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-function-property.page new file mode 100644 index 00000000..f526ea9b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.AnnotationObject-list-signal.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-list-signal.page new file mode 100644 index 00000000..d0da8d63 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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"> +def callback(annotation_object, list, user_param1, ...) +</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-Python-expected/Regress.AnnotationObject-string-property.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-string-property.page new file mode 100644 index 00000000..97391bc4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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" unicode : 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-Python-expected/Regress.AnnotationObject-string-signal.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-string-signal.page new file mode 100644 index 00000000..66e2ee60 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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"> +def callback(annotation_object, string, user_param1, ...) +</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-Python-expected/Regress.AnnotationObject-tab-property.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-tab-property.page new file mode 100644 index 00000000..db243c63 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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" unicode : 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-Python-expected/Regress.AnnotationObject.allow_none.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.allow_none.page new file mode 100644 index 00000000..7d94a776 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.allow_none.page @@ -0,0 +1,53 @@ +<?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>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>somearg</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.allow_none</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, unicode) +@returns(GObject.Object) +def allow_none(self, somearg): + # Python wrapper for regress_annotation_object_allow_none() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>somearg :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd><p><code>None</code> always</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleeowns.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleeowns.page new file mode 100644 index 00000000..157739d7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleeowns.page @@ -0,0 +1,53 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_annotation_object_calleeowns</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>GObject.Object</api:type> + <api:name>toown</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.calleeowns</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, GObject.Object) +@returns(int) +def calleeowns(self, toown): + # Python wrapper for regress_annotation_object_calleeowns() +</code></synopsis> + + + <p>This is a test for out arguments; GObject defaults to transfer</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>toown :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleesowns.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleesowns.page new file mode 100644 index 00000000..e9436824 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleesowns.page @@ -0,0 +1,59 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_annotation_object_calleesowns</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>GObject.Object</api:type> + <api:name>toown1</api:name> + </api:arg> + <api:arg> + <api:type>GObject.Object</api:type> + <api:name>toown2</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.calleesowns</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, GObject.Object, GObject.Object) +@returns(int) +def calleesowns(self, toown1, toown2): + # Python wrapper for regress_annotation_object_calleesowns() +</code></synopsis> + + + <p>This is a test for out arguments, one transferred, other not</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>toown1 :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>toown2 :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum.page new file mode 100644 index 00000000..31c8d37e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_annotation_object_compute_sum</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>[int]</api:type> + <api:name>nums</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.compute_sum</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, [int]) +@returns(none) +def compute_sum(self, nums): + # Python wrapper for regress_annotation_object_compute_sum() +</code></synopsis> + + + <p>Test taking a zero-terminated array</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>nums :</p></dt> +<dd><p>Sequence of numbers</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum_n.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum_n.page new file mode 100644 index 00000000..f017eb3a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum_n.page @@ -0,0 +1,57 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_annotation_object_compute_sum_n</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>[int]</api:type> + <api:name>nums</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>n_nums</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.compute_sum_n</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, [int], int) +@returns(none) +def compute_sum_n(self, nums, n_nums): + # Python wrapper for regress_annotation_object_compute_sum_n() +</code></synopsis> + + + <p>Test taking an array with length parameter</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>nums :</p></dt> +<dd><p>Sequence of numbers that are zero-terminated</p></dd> +<dt><p>n_nums :</p></dt> +<dd><p>Length of number array</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum_nz.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum_nz.page new file mode 100644 index 00000000..c7ae439f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum_nz.page @@ -0,0 +1,57 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_annotation_object_compute_sum_nz</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>[int]</api:type> + <api:name>nums</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>n_nums</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.compute_sum_nz</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, [int], int) +@returns(none) +def compute_sum_nz(self, nums, n_nums): + # Python wrapper for regress_annotation_object_compute_sum_nz() +</code></synopsis> + + + <p>Test taking a zero-terminated array with length parameter</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>nums :</p></dt> +<dd><p>Sequence of numbers that are zero-terminated</p></dd> +<dt><p>n_nums :</p></dt> +<dd><p>Length of number array</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.create_object.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.create_object.page new file mode 100644 index 00000000..66b74067 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.create_object.page @@ -0,0 +1,47 @@ +<?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:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.create_object</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject) +@returns(GObject.Object) +def create_object(self): + # Python wrapper for regress_annotation_object_create_object() +</code></synopsis> + + + <p>Test returning a caller-owned object</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>The object</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.do_not_use.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.do_not_use.page new file mode 100644 index 00000000..648dc52b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.do_not_use.page @@ -0,0 +1,47 @@ +<?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:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.do_not_use</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject) +@returns(GObject.Object) +def do_not_use(self): + # Python wrapper for regress_annotation_object_do_not_use() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p><code>None</code> always</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.extra_annos.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.extra_annos.page new file mode 100644 index 00000000..b3fa22dd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.extra_annos.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_annotation_object_extra_annos</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.extra_annos</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject) +@returns(none) +def extra_annos(self): + # Python wrapper for regress_annotation_object_extra_annos() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.foreach.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.foreach.page new file mode 100644 index 00000000..be20587c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.foreach.page @@ -0,0 +1,57 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_annotation_object_foreach</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Regress.AnnotationForeachFunc</api:type> + <api:name>func</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.foreach</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, Regress.AnnotationForeachFunc, gpointer) +@returns(none) +def foreach(self, func, user_data): + # Python wrapper for regress_annotation_object_foreach() +</code></synopsis> + + + <p>Test taking a call-scoped callback</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>func :</p></dt> +<dd><p>Callback to invoke</p></dd> +<dt><p>user_data :</p></dt> +<dd><p>Callback user data</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_hash.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_hash.page new file mode 100644 index 00000000..66d4b85c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_hash.page @@ -0,0 +1,48 @@ +<?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>{unicode: GObject.Object}</api:type> + </api:returns> + <api:name>regress_annotation_object_get_hash</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.get_hash</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject) +@returns({unicode: GObject.Object}) +def get_hash(self): + # Python 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>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>hash table</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_objects.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_objects.page new file mode 100644 index 00000000..4b0b3a05 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_objects.page @@ -0,0 +1,49 @@ +<?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:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.get_objects</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject) +@returns(<list>) +def get_objects(self): + # Python 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>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>list of objects</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_strings.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_strings.page new file mode 100644 index 00000000..818168ba --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_strings.page @@ -0,0 +1,48 @@ +<?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:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.get_strings</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject) +@returns(<list>) +def get_strings(self): + # Python 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>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>list of strings</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.hidden_self.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.hidden_self.page new file mode 100644 index 00000000..328a7bac --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.hidden_self.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_annotation_object_hidden_self</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.hidden_self</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject) +@returns(none) +def hidden_self(self): + # Python wrapper for regress_annotation_object_hidden_self() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>A <link xref="Regress.AnnotationObject"/></p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.in.page new file mode 100644 index 00000000..71a0aef1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.in.page @@ -0,0 +1,53 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_annotation_object_in</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>inarg</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.in</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, int) +@returns(int) +def in(self, inarg): + # Python wrapper for regress_annotation_object_in() +</code></synopsis> + + + <p>This is a test for in arguments</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<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-Python-expected/Regress.AnnotationObject.inout.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout.page new file mode 100644 index 00000000..7ddf3a7e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout.page @@ -0,0 +1,53 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_annotation_object_inout</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>inoutarg</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.inout</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, int) +@returns(int) +def inout(self, inoutarg): + # Python wrapper for regress_annotation_object_inout() +</code></synopsis> + + + <p>This is a test for out arguments</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<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-Python-expected/Regress.AnnotationObject.inout2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout2.page new file mode 100644 index 00000000..82056c3b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout2.page @@ -0,0 +1,53 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_annotation_object_inout2</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>inoutarg</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.inout2</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, int) +@returns(int) +def inout2(self, inoutarg): + # Python wrapper for regress_annotation_object_inout2() +</code></synopsis> + + + <p>This is a second test for out arguments</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<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-Python-expected/Regress.AnnotationObject.inout3.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout3.page new file mode 100644 index 00000000..45b89591 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout3.page @@ -0,0 +1,53 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_annotation_object_inout3</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>inoutarg</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.inout3</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, int) +@returns(int) +def inout3(self, inoutarg): + # Python wrapper for regress_annotation_object_inout3() +</code></synopsis> + + + <p>This is a 3th test for out arguments</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<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-Python-expected/Regress.AnnotationObject.method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.method.page new file mode 100644 index 00000000..bb23ba15 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.method.page @@ -0,0 +1,47 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_annotation_object_method</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject) +@returns(int) +def method(self): + # Python wrapper for regress_annotation_object_method() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.notrans.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.notrans.page new file mode 100644 index 00000000..73731e73 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.notrans.page @@ -0,0 +1,47 @@ +<?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:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.notrans</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject) +@returns(GObject.Object) +def notrans(self): + # Python wrapper for regress_annotation_object_notrans() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>An object, not referenced</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.out.page new file mode 100644 index 00000000..ba69737f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.out.page @@ -0,0 +1,53 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_annotation_object_out</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>outarg</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.out</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, int) +@returns(int) +def out(self, outarg): + # Python wrapper for regress_annotation_object_out() +</code></synopsis> + + + <p>This is a test for out arguments</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>outarg :</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-Python-expected/Regress.AnnotationObject.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.page new file mode 100644 index 00000000..94313a6f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + 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-Python-expected/Regress.AnnotationObject.parse_args.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.parse_args.page new file mode 100644 index 00000000..ac28c6fb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.parse_args.page @@ -0,0 +1,57 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_annotation_object_parse_args</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>argc</api:name> + </api:arg> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>argv</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.parse_args</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, int, [unicode]) +@returns(none) +def parse_args(self, argc, argv): + # Python wrapper for regress_annotation_object_parse_args() +</code></synopsis> + + + <p>Test taking a zero-terminated array with length parameter</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>argc :</p></dt> +<dd><p>Length of the argument vector</p></dd> +<dt><p>argv :</p></dt> +<dd><p>Argument vector</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data.page new file mode 100644 index 00000000..8f949161 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data.page @@ -0,0 +1,57 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_annotation_object_set_data</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>[guint8]</api:type> + <api:name>data</api:name> + </api:arg> + <api:arg> + <api:type>gsize</api:type> + <api:name>length</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.set_data</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, [guint8], gsize) +@returns(none) +def set_data(self, data, length): + # Python wrapper for regress_annotation_object_set_data() +</code></synopsis> + + + <p>Test taking a guchar * with a length.</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>data :</p></dt> +<dd><p>The data</p></dd> +<dt><p>length :</p></dt> +<dd><p>Length of the data</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data2.page new file mode 100644 index 00000000..70c3e62a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data2.page @@ -0,0 +1,57 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_annotation_object_set_data2</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>[gint8]</api:type> + <api:name>data</api:name> + </api:arg> + <api:arg> + <api:type>gsize</api:type> + <api:name>length</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.set_data2</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, [gint8], gsize) +@returns(none) +def set_data2(self, data, length): + # Python wrapper for regress_annotation_object_set_data2() +</code></synopsis> + + + <p>Test taking a gchar * with a length.</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>data :</p></dt> +<dd><p>The data</p></dd> +<dt><p>length :</p></dt> +<dd><p>Length of the data</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data3.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data3.page new file mode 100644 index 00000000..1a5bb115 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data3.page @@ -0,0 +1,58 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_annotation_object_set_data3</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>[guint8]</api:type> + <api:name>data</api:name> + </api:arg> + <api:arg> + <api:type>gsize</api:type> + <api:name>length</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.set_data3</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, [guint8], gsize) +@returns(none) +def set_data3(self, data, length): + # Python 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>self :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>data :</p></dt> +<dd><p>The data</p></dd> +<dt><p>length :</p></dt> +<dd><p>Length of the data</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.string_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.string_out.page new file mode 100644 index 00000000..5c02dbdb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.string_out.page @@ -0,0 +1,53 @@ +<?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>bool</api:type> + </api:returns> + <api:name>regress_annotation_object_string_out</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>str_out</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.string_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, unicode) +@returns(bool) +def string_out(self, str_out): + # Python wrapper for regress_annotation_object_string_out() +</code></synopsis> + + + <p>Test returning a string as an out parameter</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>str_out :</p></dt> +<dd><p>string return value</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>some boolean</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.use_buffer.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.use_buffer.page new file mode 100644 index 00000000..2e5bba23 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.use_buffer.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_annotation_object_use_buffer</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>guint8</api:type> + <api:name>bytes</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.use_buffer</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, guint8) +@returns(none) +def use_buffer(self, bytes): + # Python wrapper for regress_annotation_object_use_buffer() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>bytes :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.watch.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.watch.page new file mode 100644 index 00000000..87fbe044 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.watch.page @@ -0,0 +1,58 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_annotation_object_watch</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Regress.AnnotationForeachFunc</api:type> + <api:name>func</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.watch</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, Regress.AnnotationForeachFunc, gpointer) +@returns(none) +def watch(self, func, user_data): + # Python 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>self :</p></dt> +<dd><p>A <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>func :</p></dt> +<dd><p>The callback</p></dd> +<dt><p>user_data :</p></dt> +<dd><p>The callback data</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.watch_full.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.watch_full.page new file mode 100644 index 00000000..ced0ddcd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.watch_full.page @@ -0,0 +1,63 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_annotation_object_watch_full</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Regress.AnnotationForeachFunc</api:type> + <api:name>func</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + <api:arg> + <api:type>GLib.DestroyNotify</api:type> + <api:name>destroy</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.watch_full</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, Regress.AnnotationForeachFunc, gpointer, GLib.DestroyNotify) +@returns(none) +def watch_full(self, func, user_data, destroy): + # Python wrapper for regress_annotation_object_watch_full() +</code></synopsis> + + + <p>Test overriding via the "Rename To" regress_annotation.</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>A <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>func :</p></dt> +<dd><p>The callback</p></dd> +<dt><p>user_data :</p></dt> +<dd><p>The callback data</p></dd> +<dt><p>destroy :</p></dt> +<dd><p>Destroy notification</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.with_voidp.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.with_voidp.page new file mode 100644 index 00000000..086223d7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.with_voidp.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_annotation_object_with_voidp</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>data</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.with_voidp</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, gpointer) +@returns(none) +def with_voidp(self, data): + # Python wrapper for regress_annotation_object_with_voidp() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>data :</p></dt> +<dd><p>Opaque pointer handle</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationStruct.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationStruct.page new file mode 100644 index 00000000..edc9fd18 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.DOUBLE_CONSTANT.page b/tests/scanner/Regress-1.0-Python-expected/Regress.DOUBLE_CONSTANT.page new file mode 100644 index 00000000..b1aa32d8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FOO_DEFINE_SHOULD_BE_EXPOSED.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FOO_DEFINE_SHOULD_BE_EXPOSED.page new file mode 100644 index 00000000..357665de --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FOO_PIE_IS_TASTY.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FOO_PIE_IS_TASTY.page new file mode 100644 index 00000000..7dc308a1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FOO_SUCCESS_INT.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FOO_SUCCESS_INT.page new file mode 100644 index 00000000..f20f426f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooASingle.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooASingle.page new file mode 100644 index 00000000..34f1ed7c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooAddressType.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooAddressType.page new file mode 100644 index 00000000..2dafde03 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooBRect.add.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBRect.add.page new file mode 100644 index 00000000..8654fb42 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBRect.add.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_brect_add</api:name> + <api:arg> + <api:type>Regress.FooBRect</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Regress.FooBRect</api:type> + <api:name>b2</api:name> + </api:arg> + </api:function> + + </info> + <title>FooBRect.add</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooBRect, Regress.FooBRect) +@returns(none) +def add(self, b2): + # Python wrapper for regress_foo_brect_add() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>b2 :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooBRect.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBRect.page new file mode 100644 index 00000000..57e26525 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooBUnion.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBUnion.page new file mode 100644 index 00000000..63831e74 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooBoxed.method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBoxed.method.page new file mode 100644 index 00000000..b357ea2f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBoxed.method.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_boxed_method</api:name> + <api:arg> + <api:type>Regress.FooBoxed</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>FooBoxed.method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooBoxed) +@returns(none) +def method(self): + # Python wrapper for regress_foo_boxed_method() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooBoxed.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBoxed.page new file mode 100644 index 00000000..962300f3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBuffer.page index 12cfad8c..c93a1f7f 100644 --- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.page +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBuffer.page @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<page id="DocExamples.Obj" +<page id="Regress.FooBuffer" type="guide" style="class" xmlns="http://projectmallard.org/1.0/" @@ -10,18 +10,17 @@ <link type="guide" xref="index"/> </info> - <title>DocExamples.Obj</title> + <title>Regress.FooBuffer</title> <synopsis><code> -from gi.repository import DocExamples +from gi.repository import Regress -obj = DocExamples.Obj(<link xref='DocExamples.Obj-property-example'>property_example</link>=value) </code></synopsis> +foo_buffer = Regress.FooBuffer() </code></synopsis> - <p>This is an example of how to document a class</p><p>This class has a signal: <link xref="DocExamples.Obj-signal-example"/>.</p><p>And also has a property: <link xref="DocExamples.Obj-property-example"/>.</p> + - <p>Since 0.99</p> <synopsis> @@ -30,7 +29,10 @@ obj = DocExamples.Obj(<link xref='DocExamples.Obj-property-example'>property_exa <item> <code>GObject.Object</code> <item> - <code>DocExamples.Obj</code> + <code>Regress.FooObject</code> + <item> + <code>Regress.FooBuffer</code> + </item> </item> </item> </tree> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooBuffer.some_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBuffer.some_method.page new file mode 100644 index 00000000..472d16b7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBuffer.some_method.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_buffer_some_method</api:name> + <api:arg> + <api:type>Regress.FooBuffer</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>FooBuffer.some_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooBuffer) +@returns(none) +def some_method(self): + # Python wrapper for regress_foo_buffer_some_method() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooCallback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooCallback.page new file mode 100644 index 00000000..241296e1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooDBusData.method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooDBusData.method.page new file mode 100644 index 00000000..db6a6b05 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooDBusData.method.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_dbus_data_method</api:name> + <api:arg> + <api:type>Regress.FooDBusData</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>FooDBusData.method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooDBusData) +@returns(none) +def method(self): + # Python wrapper for regress_foo_dbus_data_method() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooDBusData.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooDBusData.page new file mode 100644 index 00000000..08ad0d2e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooEnumFullname.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumFullname.page new file mode 100644 index 00000000..a46070da --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooEnumNoType.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumNoType.page new file mode 100644 index 00000000..2313192d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooEnumType.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumType.page new file mode 100644 index 00000000..37510f5c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooError.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooError.page new file mode 100644 index 00000000..0877e7c8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooEvent.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEvent.page new file mode 100644 index 00000000..0b77bcbb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooEventAny.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEventAny.page new file mode 100644 index 00000000..45cd3a13 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooEventExpose.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEventExpose.page new file mode 100644 index 00000000..7e9ca7d4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooFlagsNoType.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooFlagsNoType.page new file mode 100644 index 00000000..d4db757a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooFlagsType.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooFlagsType.page new file mode 100644 index 00000000..e4f3edef --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooForeignStruct.copy.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooForeignStruct.copy.page new file mode 100644 index 00000000..8b7835fc --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooForeignStruct.copy.page @@ -0,0 +1,47 @@ +<?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:arg> + <api:type>Regress.FooForeignStruct</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>FooForeignStruct.copy</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooForeignStruct) +@returns(Regress.FooForeignStruct) +def copy(self): + # Python wrapper for regress_foo_foreign_struct_copy() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooForeignStruct.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooForeignStruct.page new file mode 100644 index 00000000..06c5793f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-vfunc.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface-do_regress_foo.page index 94fe8f67..b942b553 100644 --- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-vfunc.page +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface-do_regress_foo.page @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<page id="DocExamples.Obj-vfunc" +<page id="Regress.FooInterface-do_regress_foo" type="topic" style="vfunc" xmlns="http://projectmallard.org/1.0/" @@ -10,26 +10,25 @@ <link type="guide" xref="index"/> </info> - <title>DocExamples.Obj::vfunc</title> + <title>Regress.FooInterface::do_regress_foo</title> <synopsis><code mime="text/x-python"> -@accepts(DocExamples.Obj, int) +@accepts(Regress.FooInterface, int) @returns(none) -def do_vfunc(self, first_arg): +def do_do_regress_foo(self, x): </code></synopsis> - <p>This is an example of how to document a vfunc.</p> + - <p>Since 0.99</p> <dl> <dt><p>self :</p></dt> <dd></dd> -<dt><p>first_arg :</p></dt> -<dd><p>first argument</p></dd> +<dt><p>x :</p></dt> +<dd></dd> </dl> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface.do_regress_foo.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface.do_regress_foo.page new file mode 100644 index 00000000..60af8445 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface.do_regress_foo.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_interface_do_regress_foo</api:name> + <api:arg> + <api:type>Regress.FooInterface</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>FooInterface.do_regress_foo</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooInterface, int) +@returns(none) +def do_regress_foo(self, x): + # Python wrapper for regress_foo_interface_do_regress_foo() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>x :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface.page new file mode 100644 index 00000000..bc0b7df2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + 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-Python-expected/Regress.FooInterface.static_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface.static_method.page new file mode 100644 index 00000000..947a5e97 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface.static_method.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_interface_static_method</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>FooInterface.static_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(none) +def static_method(x): + # Python 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-Python-expected/Regress.FooObject-hidden.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-hidden.page new file mode 100644 index 00000000..b751ddb4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooObject-read_fn.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-read_fn.page new file mode 100644 index 00000000..a634e4e2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-read_fn.page @@ -0,0 +1,38 @@ +<?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-python"> +@accepts(Regress.FooObject, int, int) +@returns(none) +def do_read_fn(object, offset, length): +</code></synopsis> + + + <p>Read some stuff.</p> + + + + +<dl> +<dt><p>object :</p></dt> +<dd></dd> +<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-Python-expected/Regress.FooObject-signal.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-signal.page new file mode 100644 index 00000000..c663823d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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"> +def callback(foo_object, object, p0, user_param1, ...) +</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-Python-expected/Regress.FooObject-string.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-string.page new file mode 100644 index 00000000..ce48885e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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" unicode : Read / Write / Construct +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-virtual_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-virtual_method.page new file mode 100644 index 00000000..1ad7512f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-virtual_method.page @@ -0,0 +1,38 @@ +<?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-python"> +@accepts(Regress.FooObject, int) +@returns(bool) +def do_virtual_method(object, first_param): +</code></synopsis> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd></dd> +<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-Python-expected/Regress.FooObject.a_global_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.a_global_method.page new file mode 100644 index 00000000..6cb51386 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.a_global_method.page @@ -0,0 +1,45 @@ +<?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>none</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>FooObject.a_global_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Utility.Object) +@returns(none) +def a_global_method(obj): + # Python 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-Python-expected/Regress.FooObject.append_new_stack_layer.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.append_new_stack_layer.page new file mode 100644 index 00000000..a3e39f1c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.append_new_stack_layer.page @@ -0,0 +1,53 @@ +<?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>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>FooObject.append_new_stack_layer</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject, int) +@returns(Regress.FooOtherObject) +def append_new_stack_layer(self, x): + # Python wrapper for regress_foo_object_append_new_stack_layer() +</code></synopsis> + + + <p>This shouldn't be scanned as a constructor.</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.dup_name.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.dup_name.page new file mode 100644 index 00000000..a0237951 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.dup_name.page @@ -0,0 +1,47 @@ +<?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>unicode</api:type> + </api:returns> + <api:name>regress_foo_object_dup_name</api:name> + <api:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>FooObject.dup_name</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject) +@returns(unicode) +def dup_name(self): + # Python wrapper for regress_foo_object_dup_name() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.external_type.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.external_type.page new file mode 100644 index 00000000..48d5e591 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.external_type.page @@ -0,0 +1,47 @@ +<?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:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>FooObject.external_type</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject) +@returns(Utility.Object) +def external_type(self): + # Python wrapper for regress_foo_object_external_type() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="Regress.FooObject"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p><code>None</code> always</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.get_default.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.get_default.page new file mode 100644 index 00000000..b1208bdc --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>FooObject.get_default</title> + +<synopsis><code mime="text/x-python"> +@returns(Regress.FooSubobject) +def get_default(): + # Python 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-Python-expected/Regress.FooObject.get_name.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.get_name.page new file mode 100644 index 00000000..fc87e4a9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.get_name.page @@ -0,0 +1,47 @@ +<?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>unicode</api:type> + </api:returns> + <api:name>regress_foo_object_get_name</api:name> + <api:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>FooObject.get_name</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject) +@returns(unicode) +def get_name(self): + # Python wrapper for regress_foo_object_get_name() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.handle_glyph.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.handle_glyph.page new file mode 100644 index 00000000..20fea248 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.handle_glyph.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_object_handle_glyph</api:name> + <api:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Utility.Glyph</api:type> + <api:name>glyph</api:name> + </api:arg> + </api:function> + + </info> + <title>FooObject.handle_glyph</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject, Utility.Glyph) +@returns(none) +def handle_glyph(self, glyph): + # Python wrapper for regress_foo_object_handle_glyph() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>glyph :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.is_it_time_yet.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.is_it_time_yet.page new file mode 100644 index 00000000..3ee60dd2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.is_it_time_yet.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_object_is_it_time_yet</api:name> + <api:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>time</api:name> + </api:arg> + </api:function> + + </info> + <title>FooObject.is_it_time_yet</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject, int) +@returns(none) +def is_it_time_yet(self, time): + # Python wrapper for regress_foo_object_is_it_time_yet() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>time :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.new_cookie.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.new_cookie.page new file mode 100644 index 00000000..aadefdff --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.new_cookie.page @@ -0,0 +1,53 @@ +<?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>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>target</api:name> + </api:arg> + </api:function> + + </info> + <title>FooObject.new_cookie</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject, unicode) +@returns(Regress.FooObjectCookie) +def new_cookie(self, target): + # Python wrapper for regress_foo_object_new_cookie() +</code></synopsis> + + + <p>Not sure why this test is here...</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>target :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.page new file mode 100644 index 00000000..9a635381 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + 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-Python-expected/Regress.FooObject.read.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.read.page new file mode 100644 index 00000000..d3ec000f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.read.page @@ -0,0 +1,57 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_object_read</api:name> + <api:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>offset</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>length</api:name> + </api:arg> + </api:function> + + </info> + <title>FooObject.read</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject, int, int) +@returns(none) +def read(self, offset, length): + # Python wrapper for regress_foo_object_read() +</code></synopsis> + + + <p>Read some stuff.</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>obj</p></dd> +<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-Python-expected/Regress.FooObject.skipped_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.skipped_method.page new file mode 100644 index 00000000..7a56e3c9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.skipped_method.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_object_skipped_method</api:name> + <api:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>FooObject.skipped_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject) +@returns(none) +def skipped_method(self): + # Python wrapper for regress_foo_object_skipped_method() +</code></synopsis> + + + <p>This is only useful from C.</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>obj</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.static_meth.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.static_meth.page new file mode 100644 index 00000000..2212da02 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>int</api:type> + </api:returns> + <api:name>regress_foo_object_static_meth</api:name> + </api:function> + + </info> + <title>FooObject.static_meth</title> + +<synopsis><code mime="text/x-python"> +@returns(int) +def static_meth(): + # Python 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-Python-expected/Regress.FooObject.take_all.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.take_all.page new file mode 100644 index 00000000..be7b23f5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.take_all.page @@ -0,0 +1,54 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_object_take_all</api:name> + <api:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:varargs/> + </api:function> + + </info> + <title>FooObject.take_all</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject, int, <varargs>) +@returns(none) +def take_all(self, x, ...): + # Python wrapper for regress_foo_object_take_all() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>... :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.various.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.various.page new file mode 100644 index 00000000..702a6e85 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.various.page @@ -0,0 +1,57 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_object_various</api:name> + <api:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + <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.various</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject, gpointer, GType) +@returns(none) +def various(self, data, some_type): + # Python wrapper for regress_foo_object_various() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<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-Python-expected/Regress.FooObject.virtual_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.virtual_method.page new file mode 100644 index 00000000..68a94097 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.virtual_method.page @@ -0,0 +1,53 @@ +<?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>bool</api:type> + </api:returns> + <api:name>regress_foo_object_virtual_method</api:name> + <api:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>first_param</api:name> + </api:arg> + </api:function> + + </info> + <title>FooObject.virtual_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject, int) +@returns(bool) +def virtual_method(self, first_param): + # Python wrapper for regress_foo_object_virtual_method() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<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-Python-expected/Regress.FooObjectCookie.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObjectCookie.page new file mode 100644 index 00000000..4d9cabc6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooOtherObject.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooOtherObject.page new file mode 100644 index 00000000..111b2aca --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + 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-Python-expected/Regress.FooRectangle.add.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooRectangle.add.page new file mode 100644 index 00000000..ea8bf20c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooRectangle.add.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_rectangle_add</api:name> + <api:arg> + <api:type>Regress.FooRectangle</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Regress.FooRectangle</api:type> + <api:name>r2</api:name> + </api:arg> + </api:function> + + </info> + <title>FooRectangle.add</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooRectangle, Regress.FooRectangle) +@returns(none) +def add(self, r2): + # Python wrapper for regress_foo_rectangle_add() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>add to this rect</p></dd> +<dt><p>r2 :</p></dt> +<dd><p>source rectangle</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooRectangle.new.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooRectangle.new.page new file mode 100644 index 00000000..392f67ae --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooRectangle.new.page @@ -0,0 +1,66 @@ +<?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>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>y</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>width</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>height</api:name> + </api:arg> + </api:function> + + </info> + <title>FooRectangle.new</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, int, int, int) +@returns(Regress.FooRectangle) +def new(x, y, width, height): + # Python 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-Python-expected/Regress.FooRectangle.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooRectangle.page new file mode 100644 index 00000000..521a68bc --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooSkippable.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSkippable.page new file mode 100644 index 00000000..605ccf5b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooStackLayer.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooStackLayer.page new file mode 100644 index 00000000..83ca6a12 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooStruct.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooStruct.page new file mode 100644 index 00000000..4088a6c2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooSubInterface-destroy-event.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-destroy-event.page new file mode 100644 index 00000000..bb146abf --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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"> +def callback(foo_sub_interface, user_param1, ...) +</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-Python-expected/Regress.FooSubInterface-destroy_event.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-destroy_event.page new file mode 100644 index 00000000..5f014dfa --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-destroy_event.page @@ -0,0 +1,34 @@ +<?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-python"> +@accepts(Regress.FooSubInterface) +@returns(none) +def do_destroy_event(self): +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-do_bar.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-do_bar.page new file mode 100644 index 00000000..fd55d897 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-do_bar.page @@ -0,0 +1,34 @@ +<?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-python"> +@accepts(Regress.FooSubInterface) +@returns(none) +def do_do_bar(self): +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-do_baz.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-do_baz.page new file mode 100644 index 00000000..1078dfca --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-do_baz.page @@ -0,0 +1,38 @@ +<?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-python"> +@accepts(Regress.FooSubInterface, GObject.Callback, gpointer) +@returns(none) +def do_do_baz(self, callback, user_data): +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>user_data :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface.do_bar.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface.do_bar.page new file mode 100644 index 00000000..6be01ab8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface.do_bar.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_sub_interface_do_bar</api:name> + <api:arg> + <api:type>Regress.FooSubInterface</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>FooSubInterface.do_bar</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooSubInterface) +@returns(none) +def do_bar(self): + # Python wrapper for regress_foo_sub_interface_do_bar() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface.do_baz.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface.do_baz.page new file mode 100644 index 00000000..af759a15 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface.do_baz.page @@ -0,0 +1,57 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_sub_interface_do_baz</api:name> + <api:arg> + <api:type>Regress.FooSubInterface</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>GObject.Callback</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + </api:function> + + </info> + <title>FooSubInterface.do_baz</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooSubInterface, GObject.Callback, gpointer) +@returns(none) +def do_baz(self, callback, user_data): + # Python wrapper for regress_foo_sub_interface_do_baz() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>user_data :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface.page new file mode 100644 index 00000000..e4d936ab --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + 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-Python-expected/Regress.FooSubobject.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubobject.page new file mode 100644 index 00000000..c4e1ce26 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + 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-Python-expected/Regress.FooThingWithArray.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooThingWithArray.page new file mode 100644 index 00000000..7ae6ae56 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooUnion.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooUnion.page new file mode 100644 index 00000000..06d2e800 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooUtilityStruct.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooUtilityStruct.page new file mode 100644 index 00000000..0471b871 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooVarargsCallback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooVarargsCallback.page new file mode 100644 index 00000000..d477638a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.FooXEvent.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooXEvent.page new file mode 100644 index 00000000..18122490 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.GUINT64_CONSTANT.page b/tests/scanner/Regress-1.0-Python-expected/Regress.GUINT64_CONSTANT.page new file mode 100644 index 00000000..9a0cd162 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.GUINT64_CONSTANTA.page b/tests/scanner/Regress-1.0-Python-expected/Regress.GUINT64_CONSTANTA.page new file mode 100644 index 00000000..4faf765f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.G_GINT64_CONSTANT.page b/tests/scanner/Regress-1.0-Python-expected/Regress.G_GINT64_CONSTANT.page new file mode 100644 index 00000000..b4a66f69 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.INT_CONSTANT.page b/tests/scanner/Regress-1.0-Python-expected/Regress.INT_CONSTANT.page new file mode 100644 index 00000000..e4df9a1e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.IntSet.page b/tests/scanner/Regress-1.0-Python-expected/Regress.IntSet.page new file mode 100644 index 00000000..e285bc28 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.LONG_STRING_CONSTANT.page b/tests/scanner/Regress-1.0-Python-expected/Regress.LONG_STRING_CONSTANT.page new file mode 100644 index 00000000..3c0409a7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.LikeGnomeKeyringPasswordSchema.page b/tests/scanner/Regress-1.0-Python-expected/Regress.LikeGnomeKeyringPasswordSchema.page new file mode 100644 index 00000000..05362e5c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.MAXUINT64.page b/tests/scanner/Regress-1.0-Python-expected/Regress.MAXUINT64.page new file mode 100644 index 00000000..be1afd19 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.MININT64.page b/tests/scanner/Regress-1.0-Python-expected/Regress.MININT64.page new file mode 100644 index 00000000..35c3e584 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.Mixed_Case_Constant.page b/tests/scanner/Regress-1.0-Python-expected/Regress.Mixed_Case_Constant.page new file mode 100644 index 00000000..5ea8d9b0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.NEGATIVE_INT_CONSTANT.page b/tests/scanner/Regress-1.0-Python-expected/Regress.NEGATIVE_INT_CONSTANT.page new file mode 100644 index 00000000..576c690f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.PtrArrayAlias.page b/tests/scanner/Regress-1.0-Python-expected/Regress.PtrArrayAlias.page new file mode 100644 index 00000000..9af00b51 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.STRING_CONSTANT.page b/tests/scanner/Regress-1.0-Python-expected/Regress.STRING_CONSTANT.page new file mode 100644 index 00000000..945ba986 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.SkippedStructure.page b/tests/scanner/Regress-1.0-Python-expected/Regress.SkippedStructure.page new file mode 100644 index 00000000..2e67ac03 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestABCError.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestABCError.page new file mode 100644 index 00000000..fea8d58e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestBoxed.copy.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxed.copy.page new file mode 100644 index 00000000..489f3ffa --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxed.copy.page @@ -0,0 +1,47 @@ +<?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:arg> + <api:type>Regress.TestBoxed</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>TestBoxed.copy</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestBoxed) +@returns(Regress.TestBoxed) +def copy(self): + # Python wrapper for regress_test_boxed_copy() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxed.equals.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxed.equals.page new file mode 100644 index 00000000..68a19e07 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxed.equals.page @@ -0,0 +1,53 @@ +<?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>bool</api:type> + </api:returns> + <api:name>regress_test_boxed_equals</api:name> + <api:arg> + <api:type>Regress.TestBoxed</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Regress.TestBoxed</api:type> + <api:name>other</api:name> + </api:arg> + </api:function> + + </info> + <title>TestBoxed.equals</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestBoxed, Regress.TestBoxed) +@returns(bool) +def equals(self, other): + # Python wrapper for regress_test_boxed_equals() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>other :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxed.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxed.page new file mode 100644 index 00000000..c6792c50 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestBoxedB.copy.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedB.copy.page new file mode 100644 index 00000000..f770ecfe --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedB.copy.page @@ -0,0 +1,47 @@ +<?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:arg> + <api:type>Regress.TestBoxedB</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>TestBoxedB.copy</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestBoxedB) +@returns(Regress.TestBoxedB) +def copy(self): + # Python wrapper for regress_test_boxed_b_copy() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedB.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedB.page new file mode 100644 index 00000000..46cf7c15 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestBoxedC.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedC.page new file mode 100644 index 00000000..88dd1a4c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestBoxedD.copy.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.copy.page new file mode 100644 index 00000000..84a66e51 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.copy.page @@ -0,0 +1,47 @@ +<?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:arg> + <api:type>Regress.TestBoxedD</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>TestBoxedD.copy</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestBoxedD) +@returns(Regress.TestBoxedD) +def copy(self): + # Python wrapper for regress_test_boxed_d_copy() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.free.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.free.page new file mode 100644 index 00000000..5c37368c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.free.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_boxed_d_free</api:name> + <api:arg> + <api:type>Regress.TestBoxedD</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>TestBoxedD.free</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestBoxedD) +@returns(none) +def free(self): + # Python wrapper for regress_test_boxed_d_free() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.get_magic.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.get_magic.page new file mode 100644 index 00000000..af75b8f6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.get_magic.page @@ -0,0 +1,47 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_boxed_d_get_magic</api:name> + <api:arg> + <api:type>Regress.TestBoxedD</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>TestBoxedD.get_magic</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestBoxedD) +@returns(int) +def get_magic(self): + # Python wrapper for regress_test_boxed_d_get_magic() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.page new file mode 100644 index 00000000..17b3c79b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestCallback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallback.page new file mode 100644 index 00000000..9a219e9e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestCallbackArray.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackArray.page new file mode 100644 index 00000000..7ceb2e07 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestCallbackFull.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackFull.page new file mode 100644 index 00000000..3de1fbe8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestCallbackGError.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackGError.page new file mode 100644 index 00000000..1f6f2bdb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestCallbackHashtable.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackHashtable.page new file mode 100644 index 00000000..906947c1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestCallbackOwnedGError.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackOwnedGError.page new file mode 100644 index 00000000..e7397a1b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestCallbackUserData.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackUserData.page new file mode 100644 index 00000000..f3047cfd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestDEFError.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestDEFError.page new file mode 100644 index 00000000..b6f0eb88 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestEnum.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnum.page new file mode 100644 index 00000000..3de1bbf6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestEnumNoGEnum.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnumNoGEnum.page new file mode 100644 index 00000000..625c8703 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestEnumUnsigned.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnumUnsigned.page new file mode 100644 index 00000000..3069d8e3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestError.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestError.page new file mode 100644 index 00000000..57a21163 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestFlags.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFlags.page new file mode 100644 index 00000000..d5451972 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestFloating.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFloating.page new file mode 100644 index 00000000..87520bd8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + 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-Python-expected/Regress.TestFundamentalObject.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject.page new file mode 100644 index 00000000..af4623a2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + 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-Python-expected/Regress.TestFundamentalObject.ref.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject.ref.page new file mode 100644 index 00000000..243e8fdb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject.ref.page @@ -0,0 +1,47 @@ +<?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:arg> + <api:type>Regress.TestFundamentalObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>TestFundamentalObject.ref</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestFundamentalObject) +@returns(Regress.TestFundamentalObject) +def ref(self): + # Python wrapper for regress_test_fundamental_object_ref() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<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-Python-expected/Regress.TestFundamentalObject.unref.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject.unref.page new file mode 100644 index 00000000..eec1dbf7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject.unref.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_fundamental_object_unref</api:name> + <api:arg> + <api:type>Regress.TestFundamentalObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>TestFundamentalObject.unref</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestFundamentalObject) +@returns(none) +def unref(self): + # Python wrapper for regress_test_fundamental_object_unref() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObjectCopyFunction.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObjectCopyFunction.page new file mode 100644 index 00000000..dfd65cef --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestFundamentalObjectFinalizeFunction.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObjectFinalizeFunction.page new file mode 100644 index 00000000..2b9d965c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestFundamentalSubObject.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalSubObject.page new file mode 100644 index 00000000..6f3a246e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + 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-Python-expected/Regress.TestInheritDrawable.do_foo.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.do_foo.page new file mode 100644 index 00000000..5c97095e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.do_foo.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_inherit_drawable_do_foo</api:name> + <api:arg> + <api:type>Regress.TestInheritDrawable</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>TestInheritDrawable.do_foo</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestInheritDrawable, int) +@returns(none) +def do_foo(self, x): + # Python wrapper for regress_test_inherit_drawable_do_foo() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>x :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.do_foo_maybe_throw.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.do_foo_maybe_throw.page new file mode 100644 index 00000000..1e3d0419 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.do_foo_maybe_throw.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_inherit_drawable_do_foo_maybe_throw</api:name> + <api:arg> + <api:type>Regress.TestInheritDrawable</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>TestInheritDrawable.do_foo_maybe_throw</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestInheritDrawable, int) +@returns(none) +def do_foo_maybe_throw(self, x): + # Python wrapper for regress_test_inherit_drawable_do_foo_maybe_throw() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>x :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.get_origin.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.get_origin.page new file mode 100644 index 00000000..908bdec2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.get_origin.page @@ -0,0 +1,57 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_inherit_drawable_get_origin</api:name> + <api:arg> + <api:type>Regress.TestInheritDrawable</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>y</api:name> + </api:arg> + </api:function> + + </info> + <title>TestInheritDrawable.get_origin</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestInheritDrawable, int, int) +@returns(none) +def get_origin(self, x, y): + # Python wrapper for regress_test_inherit_drawable_get_origin() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>y :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.get_size.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.get_size.page new file mode 100644 index 00000000..f6bb0368 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.get_size.page @@ -0,0 +1,57 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_inherit_drawable_get_size</api:name> + <api:arg> + <api:type>Regress.TestInheritDrawable</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>width</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>height</api:name> + </api:arg> + </api:function> + + </info> + <title>TestInheritDrawable.get_size</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestInheritDrawable, int, int) +@returns(none) +def get_size(self, width, height): + # Python wrapper for regress_test_inherit_drawable_get_size() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>width :</p></dt> +<dd></dd> +<dt><p>height :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.page new file mode 100644 index 00000000..d7ed30bc --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + 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-Python-expected/Regress.TestInheritPixmapObjectClass.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritPixmapObjectClass.page new file mode 100644 index 00000000..deaeea50 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestInterface.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInterface.page new file mode 100644 index 00000000..454ff74f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + 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-Python-expected/Regress.TestObj-all.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-all.page new file mode 100644 index 00000000..1a1be536 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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"> +def callback(test_obj, user_param1, ...) +</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-Python-expected/Regress.TestObj-allow_none_vfunc.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-allow_none_vfunc.page new file mode 100644 index 00000000..3f72a491 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-allow_none_vfunc.page @@ -0,0 +1,36 @@ +<?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-python"> +@accepts(Regress.TestObj, Regress.TestObj) +@returns(none) +def do_allow_none_vfunc(obj, two): +</code></synopsis> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd></dd> +<dt><p>two :</p></dt> +<dd><p>Another object</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-bare.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-bare.page new file mode 100644 index 00000000..97c7ee68 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestObj-boxed.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-boxed.page new file mode 100644 index 00000000..e8706270 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestObj-cleanup.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-cleanup.page new file mode 100644 index 00000000..6c3bca29 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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"> +def callback(test_obj, user_param1, ...) +</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-Python-expected/Regress.TestObj-double.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-double.page new file mode 100644 index 00000000..8243a454 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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" float : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-first.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-first.page new file mode 100644 index 00000000..8a05f090 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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"> +def callback(test_obj, user_param1, ...) +</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-Python-expected/Regress.TestObj-float.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-float.page new file mode 100644 index 00000000..8ff32c00 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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" float : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-gtype.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-gtype.page new file mode 100644 index 00000000..b477bed4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestObj-hash-table-old.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-hash-table-old.page new file mode 100644 index 00000000..57d37ae5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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" {unicode: gint8} : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-hash-table.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-hash-table.page new file mode 100644 index 00000000..1c5a6eaf --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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" {unicode: gint8} : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-int.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-int.page new file mode 100644 index 00000000..18089ad7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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" int : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-list-old.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-list-old.page new file mode 100644 index 00000000..fe821889 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestObj-list.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-list.page new file mode 100644 index 00000000..30d452db --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestObj-matrix.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-matrix.page new file mode 100644 index 00000000..b41a4072 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-matrix.page @@ -0,0 +1,40 @@ +<?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-python"> +@accepts(Regress.TestObj, unicode) +@returns(int) +def do_matrix(obj, somestr): +</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>obj :</p></dt> +<dd></dd> +<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-Python-expected/Regress.TestObj-sig-with-array-prop.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-array-prop.page new file mode 100644 index 00000000..d326c878 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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"> +def callback(test_obj, arr, user_param1, ...) +</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-Python-expected/Regress.TestObj-sig-with-foreign-struct.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-foreign-struct.page new file mode 100644 index 00000000..38e632a0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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"> +def callback(test_obj, cr, user_param1, ...) +</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-Python-expected/Regress.TestObj-sig-with-hash-prop.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-hash-prop.page new file mode 100644 index 00000000..467f995f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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"> +def callback(test_obj, hash, user_param1, ...) +</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-Python-expected/Regress.TestObj-sig-with-int64-prop.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-int64-prop.page new file mode 100644 index 00000000..357847ba --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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"> +def callback(test_obj, i, user_param1, ...) +</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-Python-expected/Regress.TestObj-sig-with-intarray-ret.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-intarray-ret.page new file mode 100644 index 00000000..7f2bd5c6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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"> +def callback(test_obj, i, user_param1, ...) +</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-Python-expected/Regress.TestObj-sig-with-obj.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-obj.page new file mode 100644 index 00000000..a4106050 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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"> +def callback(test_obj, obj, user_param1, ...) +</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-Python-expected/Regress.TestObj-sig-with-strv.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-strv.page new file mode 100644 index 00000000..b6b5b25c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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"> +def callback(test_obj, strs, user_param1, ...) +</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-Python-expected/Regress.TestObj-sig-with-uint64-prop.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-uint64-prop.page new file mode 100644 index 00000000..5617c5c7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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"> +def callback(test_obj, i, user_param1, ...) +</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-Python-expected/Regress.TestObj-string.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-string.page new file mode 100644 index 00000000..345a8218 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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" unicode : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test-with-static-scope-arg.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test-with-static-scope-arg.page new file mode 100644 index 00000000..bdd3b3eb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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"> +def callback(test_obj, object, user_param1, ...) +</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-Python-expected/Regress.TestObj-test.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test.page new file mode 100644 index 00000000..74a74548 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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"> +def callback(test_obj, user_param1, ...) +</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-Python-expected/Regress.TestObj.do_matrix.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.do_matrix.page new file mode 100644 index 00000000..a7140188 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.do_matrix.page @@ -0,0 +1,55 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_obj_do_matrix</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>somestr</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.do_matrix</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, unicode) +@returns(int) +def do_matrix(self, somestr): + # Python 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>self :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/></p></dd> +<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-Python-expected/Regress.TestObj.emit_sig_with_foreign_struct.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_foreign_struct.page new file mode 100644 index 00000000..b0eafb02 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_foreign_struct.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_obj_emit_sig_with_foreign_struct</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.emit_sig_with_foreign_struct</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj) +@returns(none) +def emit_sig_with_foreign_struct(self): + # Python wrapper for regress_test_obj_emit_sig_with_foreign_struct() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_int64.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_int64.page new file mode 100644 index 00000000..86c6b93d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_int64.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_obj_emit_sig_with_int64</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.emit_sig_with_int64</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj) +@returns(none) +def emit_sig_with_int64(self): + # Python wrapper for regress_test_obj_emit_sig_with_int64() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_obj.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_obj.page new file mode 100644 index 00000000..ccd5ad82 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_obj.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_obj_emit_sig_with_obj</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.emit_sig_with_obj</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj) +@returns(none) +def emit_sig_with_obj(self): + # Python wrapper for regress_test_obj_emit_sig_with_obj() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_uint64.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_uint64.page new file mode 100644 index 00000000..e2f98768 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_uint64.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_obj_emit_sig_with_uint64</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.emit_sig_with_uint64</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj) +@returns(none) +def emit_sig_with_uint64(self): + # Python wrapper for regress_test_obj_emit_sig_with_uint64() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.forced_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.forced_method.page new file mode 100644 index 00000000..8cb577f9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.forced_method.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_forced_method</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.forced_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj) +@returns(none) +def forced_method(self): + # Python wrapper for regress_forced_method() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/></p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.instance_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.instance_method.page new file mode 100644 index 00000000..165c467e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.instance_method.page @@ -0,0 +1,47 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_obj_instance_method</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.instance_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj) +@returns(int) +def instance_method(self): + # Python wrapper for regress_test_obj_instance_method() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.instance_method_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.instance_method_callback.page new file mode 100644 index 00000000..e57bcb6d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.instance_method_callback.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_obj_instance_method_callback</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Regress.TestCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.instance_method_callback</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, Regress.TestCallback) +@returns(none) +def instance_method_callback(self, callback): + # Python wrapper for regress_test_obj_instance_method_callback() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.null_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.null_out.page new file mode 100644 index 00000000..24c015c8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.null_out.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_obj_null_out</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>obj</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.null_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj) +@returns(none) +def null_out(obj): + # Python wrapper for regress_test_obj_null_out() +</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-Python-expected/Regress.TestObj.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.page new file mode 100644 index 00000000..2da014f5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + 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-Python-expected/Regress.TestObj.set_bare.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.set_bare.page new file mode 100644 index 00000000..b4681739 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.set_bare.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_obj_set_bare</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>GObject.Object</api:type> + <api:name>bare</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.set_bare</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, GObject.Object) +@returns(none) +def set_bare(self, bare): + # Python wrapper for regress_test_obj_set_bare() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>bare :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_inout_param.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_inout_param.page new file mode 100644 index 00000000..21f9418f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_inout_param.page @@ -0,0 +1,89 @@ +<?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>bool</api:type> + </api:returns> + <api:name>regress_test_obj_skip_inout_param</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>a</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>out_b</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>c</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>inout_d</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>out_sum</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>num1</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>num2</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.skip_inout_param</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, int, int, float, int, int, int, int) +@returns(bool) +def skip_inout_param(self, a, out_b, c, inout_d, out_sum, num1, num2): + # Python wrapper for regress_test_obj_skip_inout_param() +</code></synopsis> + + + <p>Check that the out value is skipped</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/>.</p></dd> +<dt><p>a :</p></dt> +<dd><p>Parameter.</p></dd> +<dt><p>out_b :</p></dt> +<dd><p>Return value.</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>out_sum :</p></dt> +<dd><p>Return value.</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-Python-expected/Regress.TestObj.skip_out_param.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_out_param.page new file mode 100644 index 00000000..b8eab28e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_out_param.page @@ -0,0 +1,89 @@ +<?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>bool</api:type> + </api:returns> + <api:name>regress_test_obj_skip_out_param</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>a</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>out_b</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>c</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>inout_d</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>out_sum</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>num1</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>num2</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.skip_out_param</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, int, int, float, int, int, int, int) +@returns(bool) +def skip_out_param(self, a, out_b, c, inout_d, out_sum, num1, num2): + # Python wrapper for regress_test_obj_skip_out_param() +</code></synopsis> + + + <p>Check that the out value is skipped</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/>.</p></dd> +<dt><p>a :</p></dt> +<dd><p>Parameter.</p></dd> +<dt><p>out_b :</p></dt> +<dd><p>Return value.</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>out_sum :</p></dt> +<dd><p>Return value.</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-Python-expected/Regress.TestObj.skip_param.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_param.page new file mode 100644 index 00000000..57f91672 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_param.page @@ -0,0 +1,89 @@ +<?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>bool</api:type> + </api:returns> + <api:name>regress_test_obj_skip_param</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>a</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>out_b</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>c</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>inout_d</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>out_sum</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>num1</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>num2</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.skip_param</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, int, int, float, int, int, int, int) +@returns(bool) +def skip_param(self, a, out_b, c, inout_d, out_sum, num1, num2): + # Python wrapper for regress_test_obj_skip_param() +</code></synopsis> + + + <p>Check that a parameter is skipped</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/>.</p></dd> +<dt><p>a :</p></dt> +<dd><p>Parameter.</p></dd> +<dt><p>out_b :</p></dt> +<dd><p>Return value.</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>out_sum :</p></dt> +<dd><p>Return value.</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-Python-expected/Regress.TestObj.skip_return_val.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_return_val.page new file mode 100644 index 00000000..92d58ebd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_return_val.page @@ -0,0 +1,89 @@ +<?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>bool</api:type> + </api:returns> + <api:name>regress_test_obj_skip_return_val</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>a</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>out_b</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>c</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>inout_d</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>out_sum</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>num1</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>num2</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.skip_return_val</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, int, int, float, int, int, int, int) +@returns(bool) +def skip_return_val(self, a, out_b, c, inout_d, out_sum, num1, num2): + # Python wrapper for regress_test_obj_skip_return_val() +</code></synopsis> + + + <p>Check that the return value is skipped</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="Regress.TestObj"/></p></dd> +<dt><p>a :</p></dt> +<dd><p>Parameter.</p></dd> +<dt><p>out_b :</p></dt> +<dd><p>A return value.</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>out_sum :</p></dt> +<dd><p>Return value.</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-Python-expected/Regress.TestObj.skip_return_val_no_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_return_val_no_out.page new file mode 100644 index 00000000..5feb3153 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_return_val_no_out.page @@ -0,0 +1,54 @@ +<?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>bool</api:type> + </api:returns> + <api:name>regress_test_obj_skip_return_val_no_out</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>a</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.skip_return_val_no_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, int) +@returns(bool) +def skip_return_val_no_out(self, a): + # Python 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>self :</p></dt> +<dd><p>a <link xref="Regress.TestObj"/></p></dd> +<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-Python-expected/Regress.TestObj.static_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.static_method.page new file mode 100644 index 00000000..1294c2ad --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.static_method.page @@ -0,0 +1,47 @@ +<?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>float</api:type> + </api:returns> + <api:name>regress_test_obj_static_method</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.static_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(float) +def static_method(x): + # Python 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-Python-expected/Regress.TestObj.static_method_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.static_method_callback.page new file mode 100644 index 00000000..3d7d2645 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.static_method_callback.page @@ -0,0 +1,45 @@ +<?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>none</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>TestObj.static_method_callback</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestCallback) +@returns(none) +def static_method_callback(callback): + # Python 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-Python-expected/Regress.TestObj.torture_signature_0.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.torture_signature_0.page new file mode 100644 index 00000000..c4e4e774 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.torture_signature_0.page @@ -0,0 +1,81 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_obj_torture_signature_0</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>y</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>z</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>q</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>m</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.torture_signature_0</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, int, float, int, unicode, int, int) +@returns(none) +def torture_signature_0(self, x, y, z, foo, q, m): + # Python wrapper for regress_test_obj_torture_signature_0() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/></p></dd> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>y :</p></dt> +<dd></dd> +<dt><p>z :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>q :</p></dt> +<dd></dd> +<dt><p>m :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.torture_signature_1.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.torture_signature_1.page new file mode 100644 index 00000000..787a5c35 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.torture_signature_1.page @@ -0,0 +1,83 @@ +<?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>bool</api:type> + </api:returns> + <api:name>regress_test_obj_torture_signature_1</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>y</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>z</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>q</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>m</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.torture_signature_1</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, int, float, int, unicode, int, int) +@returns(bool) +def torture_signature_1(self, x, y, z, foo, q, m): + # Python wrapper for regress_test_obj_torture_signature_1() +</code></synopsis> + + + <p>This function throws an error if m is odd.</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/></p></dd> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>y :</p></dt> +<dd></dd> +<dt><p>z :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>q :</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-Python-expected/Regress.TestOtherError.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestOtherError.page new file mode 100644 index 00000000..1d907d24 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestPrivateEnum.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestPrivateEnum.page new file mode 100644 index 00000000..788441ac --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestPrivateStruct.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestPrivateStruct.page new file mode 100644 index 00000000..fa508137 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestSimpleBoxedA.const_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.const_return.page new file mode 100644 index 00000000..b4444d2e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>TestSimpleBoxedA.const_return</title> + +<synopsis><code mime="text/x-python"> +@returns(Regress.TestSimpleBoxedA) +def const_return(): + # Python 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-Python-expected/Regress.TestSimpleBoxedA.copy.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.copy.page new file mode 100644 index 00000000..4976e9ac --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.copy.page @@ -0,0 +1,47 @@ +<?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:arg> + <api:type>Regress.TestSimpleBoxedA</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>TestSimpleBoxedA.copy</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestSimpleBoxedA) +@returns(Regress.TestSimpleBoxedA) +def copy(self): + # Python wrapper for regress_test_simple_boxed_a_copy() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.equals.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.equals.page new file mode 100644 index 00000000..a9f6577e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.equals.page @@ -0,0 +1,53 @@ +<?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>bool</api:type> + </api:returns> + <api:name>regress_test_simple_boxed_a_equals</api:name> + <api:arg> + <api:type>Regress.TestSimpleBoxedA</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Regress.TestSimpleBoxedA</api:type> + <api:name>other_a</api:name> + </api:arg> + </api:function> + + </info> + <title>TestSimpleBoxedA.equals</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestSimpleBoxedA, Regress.TestSimpleBoxedA) +@returns(bool) +def equals(self, other_a): + # Python wrapper for regress_test_simple_boxed_a_equals() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<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-Python-expected/Regress.TestSimpleBoxedA.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.page new file mode 100644 index 00000000..2a8dd629 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestSimpleBoxedB.copy.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedB.copy.page new file mode 100644 index 00000000..c04d3cda --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedB.copy.page @@ -0,0 +1,47 @@ +<?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:arg> + <api:type>Regress.TestSimpleBoxedB</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>TestSimpleBoxedB.copy</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestSimpleBoxedB) +@returns(Regress.TestSimpleBoxedB) +def copy(self): + # Python wrapper for regress_test_simple_boxed_b_copy() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedB.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedB.page new file mode 100644 index 00000000..b775b867 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestSimpleCallback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleCallback.page new file mode 100644 index 00000000..61bafb5f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestStructA.clone.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructA.clone.page new file mode 100644 index 00000000..2b609bb4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructA.clone.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_struct_a_clone</api:name> + <api:arg> + <api:type>Regress.TestStructA</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Regress.TestStructA</api:type> + <api:name>a_out</api:name> + </api:arg> + </api:function> + + </info> + <title>TestStructA.clone</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestStructA, Regress.TestStructA) +@returns(none) +def clone(self, a_out): + # Python wrapper for regress_test_struct_a_clone() +</code></synopsis> + + + <p>Make a copy of a RegressTestStructA</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>the structure</p></dd> +<dt><p>a_out :</p></dt> +<dd><p>the cloned structure</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructA.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructA.page new file mode 100644 index 00000000..07b1752d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestStructA.parse.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructA.parse.page new file mode 100644 index 00000000..d18fcf7b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructA.parse.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_struct_a_parse</api:name> + <api:arg> + <api:type>Regress.TestStructA</api:type> + <api:name>a_out</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>string</api:name> + </api:arg> + </api:function> + + </info> + <title>TestStructA.parse</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestStructA, unicode) +@returns(none) +def parse(a_out, string): + # Python wrapper for regress_test_struct_a_parse() +</code></synopsis> + + + + + + + +<dl> +<dt><p>a_out :</p></dt> +<dd><p>the structure that is to be filled</p></dd> +<dt><p>string :</p></dt> +<dd><p>ignored</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructB.clone.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructB.clone.page new file mode 100644 index 00000000..2a95a23d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructB.clone.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_struct_b_clone</api:name> + <api:arg> + <api:type>Regress.TestStructB</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Regress.TestStructB</api:type> + <api:name>b_out</api:name> + </api:arg> + </api:function> + + </info> + <title>TestStructB.clone</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestStructB, Regress.TestStructB) +@returns(none) +def clone(self, b_out): + # Python wrapper for regress_test_struct_b_clone() +</code></synopsis> + + + <p>Make a copy of a RegressTestStructB</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>the structure</p></dd> +<dt><p>b_out :</p></dt> +<dd><p>the cloned structure</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructB.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructB.page new file mode 100644 index 00000000..b5b2ff3f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestStructC.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructC.page new file mode 100644 index 00000000..1db74ca2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestStructD.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructD.page new file mode 100644 index 00000000..cf224e3e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestStructE.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructE.page new file mode 100644 index 00000000..75684f3d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestStructE__some_union__union.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructE__some_union__union.page new file mode 100644 index 00000000..6f77035b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestStructF.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructF.page new file mode 100644 index 00000000..fe5e7bc6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestStructFixedArray.frob.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructFixedArray.frob.page new file mode 100644 index 00000000..ffd3fae0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructFixedArray.frob.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_struct_fixed_array_frob</api:name> + <api:arg> + <api:type>Regress.TestStructFixedArray</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>TestStructFixedArray.frob</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestStructFixedArray) +@returns(none) +def frob(self): + # Python wrapper for regress_test_struct_fixed_array_frob() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructFixedArray.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructFixedArray.page new file mode 100644 index 00000000..b5df5294 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestSubObj.instance_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSubObj.instance_method.page new file mode 100644 index 00000000..bc854f46 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSubObj.instance_method.page @@ -0,0 +1,47 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_sub_obj_instance_method</api:name> + <api:arg> + <api:type>Regress.TestSubObj</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>TestSubObj.instance_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestSubObj) +@returns(int) +def instance_method(self): + # Python wrapper for regress_test_sub_obj_instance_method() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestSubObj.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSubObj.page new file mode 100644 index 00000000..fef2f914 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + 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-Python-expected/Regress.TestSubObj.unset_bare.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSubObj.unset_bare.page new file mode 100644 index 00000000..fa4dcc1a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSubObj.unset_bare.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_sub_obj_unset_bare</api:name> + <api:arg> + <api:type>Regress.TestSubObj</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>TestSubObj.unset_bare</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestSubObj) +@returns(none) +def unset_bare(self): + # Python wrapper for regress_test_sub_obj_unset_bare() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestTypeGUInt64.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestTypeGUInt64.page new file mode 100644 index 00000000..d815a3fe --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.TestWi8021x-testbool.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x-testbool.page new file mode 100644 index 00000000..5846ac62 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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" bool : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.get_testbool.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.get_testbool.page new file mode 100644 index 00000000..c0bffe8a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.get_testbool.page @@ -0,0 +1,47 @@ +<?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>bool</api:type> + </api:returns> + <api:name>regress_test_wi_802_1x_get_testbool</api:name> + <api:arg> + <api:type>Regress.TestWi8021x</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>TestWi8021x.get_testbool</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestWi8021x) +@returns(bool) +def get_testbool(self): + # Python wrapper for regress_test_wi_802_1x_get_testbool() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.page new file mode 100644 index 00000000..67b7ecae --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + 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-Python-expected/Regress.TestWi8021x.set_testbool.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.set_testbool.page new file mode 100644 index 00000000..ae043639 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.set_testbool.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_wi_802_1x_set_testbool</api:name> + <api:arg> + <api:type>Regress.TestWi8021x</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>bool</api:type> + <api:name>v</api:name> + </api:arg> + </api:function> + + </info> + <title>TestWi8021x.set_testbool</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestWi8021x, bool) +@returns(none) +def set_testbool(self, v): + # Python wrapper for regress_test_wi_802_1x_set_testbool() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>v :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.static_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.static_method.page new file mode 100644 index 00000000..3c04ae74 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.static_method.page @@ -0,0 +1,47 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_wi_802_1x_static_method</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>TestWi8021x.static_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(int) +def static_method(x): + # Python 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-Python-expected/Regress.UTF8_CONSTANT.page b/tests/scanner/Regress-1.0-Python-expected/Regress.UTF8_CONSTANT.page new file mode 100644 index 00000000..8f3f5324 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.VaListAlias.page b/tests/scanner/Regress-1.0-Python-expected/Regress.VaListAlias.page new file mode 100644 index 00000000..bfd52d28 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-Python-expected/Regress.aliased_caller_alloc.page b/tests/scanner/Regress-1.0-Python-expected/Regress.aliased_caller_alloc.page new file mode 100644 index 00000000..f0476b84 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.aliased_caller_alloc.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_aliased_caller_alloc</api:name> + <api:arg> + <api:type>Regress.AliasedTestBoxed</api:type> + <api:name>boxed</api:name> + </api:arg> + </api:function> + + </info> + <title>aliased_caller_alloc</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AliasedTestBoxed) +@returns(none) +def aliased_caller_alloc(boxed): + # Python wrapper for regress_aliased_caller_alloc() +</code></synopsis> + + + + + + + +<dl> +<dt><p>boxed :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_attribute_func.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_attribute_func.page new file mode 100644 index 00000000..f48f724e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_attribute_func.page @@ -0,0 +1,53 @@ +<?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>int</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>unicode</api:type> + <api:name>data</api:name> + </api:arg> + </api:function> + + </info> + <title>annotation_attribute_func</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, unicode) +@returns(int) +def annotation_attribute_func(object, data): + # Python 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-Python-expected/Regress.annotation_custom_destroy.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_custom_destroy.page new file mode 100644 index 00000000..439bd57f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_custom_destroy.page @@ -0,0 +1,58 @@ +<?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>none</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:arg> + <api:type>Regress.AnnotationNotifyFunc</api:type> + <api:name>destroy</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>data</api:name> + </api:arg> + </api:function> + + </info> + <title>annotation_custom_destroy</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationCallback, Regress.AnnotationNotifyFunc, gpointer) +@returns(none) +def annotation_custom_destroy(callback, destroy, data): + # Python 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> +<dt><p>destroy :</p></dt> +<dd></dd> +<dt><p>data :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_get_source_file.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_get_source_file.page new file mode 100644 index 00000000..339ad90b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(filename) +def annotation_get_source_file(): + # Python 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-Python-expected/Regress.annotation_init.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_init.page new file mode 100644 index 00000000..0fc0f5c4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_init.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_annotation_init</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>argc</api:name> + </api:arg> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>argv</api:name> + </api:arg> + </api:function> + + </info> + <title>annotation_init</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, [unicode]) +@returns(none) +def annotation_init(argc, argv): + # Python wrapper for regress_annotation_init() +</code></synopsis> + + + + + + + +<dl> +<dt><p>argc :</p></dt> +<dd><p>The number of args.</p></dd> +<dt><p>argv :</p></dt> +<dd><p>The arguments.</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_invalid_regress_annotation.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_invalid_regress_annotation.page new file mode 100644 index 00000000..d173a8f2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_invalid_regress_annotation.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_annotation_invalid_regress_annotation</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>foo</api:name> + </api:arg> + </api:function> + + </info> + <title>annotation_invalid_regress_annotation</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(none) +def annotation_invalid_regress_annotation(foo): + # Python 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-Python-expected/Regress.annotation_ptr_array.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_ptr_array.page new file mode 100644 index 00000000..774a0181 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_ptr_array.page @@ -0,0 +1,45 @@ +<?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>none</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-python"> +@accepts([GObject.Value]) +@returns(none) +def annotation_ptr_array(array): + # Python 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-Python-expected/Regress.annotation_return_array.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_return_array.page new file mode 100644 index 00000000..5902fd07 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_return_array.page @@ -0,0 +1,47 @@ +<?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>[unicode]</api:type> + </api:returns> + <api:name>regress_annotation_return_array</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>length</api:name> + </api:arg> + </api:function> + + </info> + <title>annotation_return_array</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns([unicode]) +def annotation_return_array(length): + # Python wrapper for regress_annotation_return_array() +</code></synopsis> + + + + + + + +<dl> +<dt><p>length :</p></dt> +<dd><p>Number of return values</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>The return value</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_return_filename.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_return_filename.page new file mode 100644 index 00000000..961a4030 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(filename) +def annotation_return_filename(): + # Python 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-Python-expected/Regress.annotation_set_source_file.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_set_source_file.page new file mode 100644 index 00000000..67ab7414 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_set_source_file.page @@ -0,0 +1,45 @@ +<?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>none</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-python"> +@accepts(filename) +@returns(none) +def annotation_set_source_file(fname): + # Python 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-Python-expected/Regress.annotation_space_after_comment_bug631690.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_space_after_comment_bug631690.page new file mode 100644 index 00000000..4f718065 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>none</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-python"> +@returns(none) +def annotation_space_after_comment_bug631690(): + # Python 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-Python-expected/Regress.annotation_string_array_length.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_string_array_length.page new file mode 100644 index 00000000..a1f859a3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_string_array_length.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_annotation_string_array_length</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_properties</api:name> + </api:arg> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>properties</api:name> + </api:arg> + </api:function> + + </info> + <title>annotation_string_array_length</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, [unicode]) +@returns(none) +def annotation_string_array_length(n_properties, properties): + # Python wrapper for regress_annotation_string_array_length() +</code></synopsis> + + + + + + + +<dl> +<dt><p>n_properties :</p></dt> +<dd></dd> +<dt><p>properties :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_string_zero_terminated.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_string_zero_terminated.page new file mode 100644 index 00000000..7aff5099 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>[unicode]</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-python"> +@returns([unicode]) +def annotation_string_zero_terminated(): + # Python 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-Python-expected/Regress.annotation_string_zero_terminated_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_string_zero_terminated_out.page new file mode 100644 index 00000000..d7401ed5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_string_zero_terminated_out.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_annotation_string_zero_terminated_out</api:name> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>out</api:name> + </api:arg> + </api:function> + + </info> + <title>annotation_string_zero_terminated_out</title> + +<synopsis><code mime="text/x-python"> +@accepts([unicode]) +@returns(none) +def annotation_string_zero_terminated_out(out): + # Python 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-Python-expected/Regress.annotation_test_parsing_bug630862.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_test_parsing_bug630862.page new file mode 100644 index 00000000..60210394 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(GObject.Object) +def annotation_test_parsing_bug630862(): + # Python 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-Python-expected/Regress.annotation_transfer_floating.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_transfer_floating.page new file mode 100644 index 00000000..321cd92d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(GObject.Object) +def annotation_transfer_floating(): + # Python 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-Python-expected/Regress.annotation_versioned.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_versioned.page new file mode 100644 index 00000000..046fa115 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>none</api:type> + </api:returns> + <api:name>regress_annotation_versioned</api:name> + </api:function> + + </info> + <title>annotation_versioned</title> + +<synopsis><code mime="text/x-python"> +@returns(none) +def annotation_versioned(): + # Python wrapper for regress_annotation_versioned() +</code></synopsis> + + + + + + <p>Since 0.6</p> + + +<dl> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.atest_error_quark.page b/tests/scanner/Regress-1.0-Python-expected/Regress.atest_error_quark.page new file mode 100644 index 00000000..dcaa8148 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(GLib.Quark) +def atest_error_quark(): + # Python 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-Python-expected/Regress.foo_async_ready_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_async_ready_callback.page new file mode 100644 index 00000000..ef1f6142 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_async_ready_callback.page @@ -0,0 +1,57 @@ +<?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>none</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:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_async_ready_callback</title> + +<synopsis><code mime="text/x-python"> +@accepts(Gio.Cancellable, Gio.AsyncReadyCallback, gpointer) +@returns(none) +def foo_async_ready_callback(cancellable, callback, user_data): + # Python wrapper for regress_foo_async_ready_callback() +</code></synopsis> + + + + + + + +<dl> +<dt><p>cancellable :</p></dt> +<dd></dd> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>user_data :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_destroy_notify_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_destroy_notify_callback.page new file mode 100644 index 00000000..dad0e224 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_destroy_notify_callback.page @@ -0,0 +1,57 @@ +<?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>none</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:arg> + <api:type>gpointer</api:type> + <api:name>data</api:name> + </api:arg> + <api:arg> + <api:type>GLib.DestroyNotify</api:type> + <api:name>destroy</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_destroy_notify_callback</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooCallback, gpointer, GLib.DestroyNotify) +@returns(none) +def foo_destroy_notify_callback(callback, data, destroy): + # Python wrapper for regress_foo_destroy_notify_callback() +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>data :</p></dt> +<dd></dd> +<dt><p>destroy :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_init.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_init.page new file mode 100644 index 00000000..f7b916ef --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>int</api:type> + </api:returns> + <api:name>regress_foo_init</api:name> + </api:function> + + </info> + <title>foo_init</title> + +<synopsis><code mime="text/x-python"> +@returns(int) +def foo_init(): + # Python 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-Python-expected/Regress.foo_method_external_references.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_method_external_references.page new file mode 100644 index 00000000..ce521acb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_method_external_references.page @@ -0,0 +1,63 @@ +<?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>none</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-python"> +@accepts(Utility.Object, Utility.EnumType, Utility.FlagType, Utility.Struct) +@returns(none) +def foo_method_external_references(object, e, f, s): + # Python 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-Python-expected/Regress.foo_not_a_constructor_new.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_not_a_constructor_new.page new file mode 100644 index 00000000..d70d3375 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(Regress.FooObject) +def foo_not_a_constructor_new(): + # Python 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-Python-expected/Regress.foo_skip_me.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_skip_me.page new file mode 100644 index 00000000..8dc4a728 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_skip_me.page @@ -0,0 +1,46 @@ +<?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>none</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-python"> +@accepts(Regress.FooSkippable) +@returns(none) +def foo_skip_me(fs): + # Python 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-Python-expected/Regress.foo_some_variant.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_some_variant.page new file mode 100644 index 00000000..3933bebe --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_some_variant.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_some_variant</api:name> + <api:arg> + <api:type>int</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-python"> +@accepts(int, va_list) +@returns(none) +def foo_some_variant(x, args): + # Python 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-Python-expected/Regress.foo_some_variant_ptr.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_some_variant_ptr.page new file mode 100644 index 00000000..dbe2d598 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_some_variant_ptr.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_some_variant_ptr</api:name> + <api:arg> + <api:type>int</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-python"> +@accepts(int, va_list) +@returns(none) +def foo_some_variant_ptr(x, args): + # Python 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-Python-expected/Regress.foo_test_array.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_array.page new file mode 100644 index 00000000..c1c46521 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>[unicode]</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-python"> +@returns([unicode]) +def foo_test_array(): + # Python 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-Python-expected/Regress.foo_test_const_char_param.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_char_param.page new file mode 100644 index 00000000..61b2a569 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_char_param.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_test_const_char_param</api:name> + <api:arg> + <api:type>unicode</api:type> + <api:name>param</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_test_const_char_param</title> + +<synopsis><code mime="text/x-python"> +@accepts(unicode) +@returns(none) +def foo_test_const_char_param(param): + # Python 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-Python-expected/Regress.foo_test_const_char_retval.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_char_retval.page new file mode 100644 index 00000000..d3079e2e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>unicode</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-python"> +@returns(unicode) +def foo_test_const_char_retval(): + # Python 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-Python-expected/Regress.foo_test_const_struct_param.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_struct_param.page new file mode 100644 index 00000000..9c757d41 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_struct_param.page @@ -0,0 +1,45 @@ +<?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>none</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-python"> +@accepts(Regress.FooStruct) +@returns(none) +def foo_test_const_struct_param(param): + # Python 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-Python-expected/Regress.foo_test_const_struct_retval.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_struct_retval.page new file mode 100644 index 00000000..870cca02 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(Regress.FooStruct) +def foo_test_const_struct_retval(): + # Python 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-Python-expected/Regress.foo_test_string_array.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_string_array.page new file mode 100644 index 00000000..f5c7798f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_string_array.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_test_string_array</api:name> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>array</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_test_string_array</title> + +<synopsis><code mime="text/x-python"> +@accepts([unicode]) +@returns(none) +def foo_test_string_array(array): + # Python 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-Python-expected/Regress.foo_test_string_array_with_g.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_string_array_with_g.page new file mode 100644 index 00000000..4d46cef6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_string_array_with_g.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_test_string_array_with_g</api:name> + <api:arg> + <api:type>[unicode]</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-python"> +@accepts([unicode]) +@returns(none) +def foo_test_string_array_with_g(array): + # Python 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-Python-expected/Regress.foo_test_unsigned_qualifier.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_unsigned_qualifier.page new file mode 100644 index 00000000..8d795167 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_unsigned_qualifier.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_test_unsigned_qualifier</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>unsigned_param</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_test_unsigned_qualifier</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(none) +def foo_test_unsigned_qualifier(unsigned_param): + # Python 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-Python-expected/Regress.foo_test_unsigned_type.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_unsigned_type.page new file mode 100644 index 00000000..97672a0d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_unsigned_type.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_test_unsigned_type</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>unsigned_param</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_test_unsigned_type</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(none) +def foo_test_unsigned_type(unsigned_param): + # Python 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-Python-expected/Regress.foo_test_varargs_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_varargs_callback.page new file mode 100644 index 00000000..3b2f1f3c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_varargs_callback.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_foo_test_varargs_callback</api:name> + <api:arg> + <api:type>int</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-python"> +@accepts(int, Regress.FooVarargsCallback) +@returns(none) +def foo_test_varargs_callback(i, callback): + # Python 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-Python-expected/Regress.foo_test_varargs_callback2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_varargs_callback2.page new file mode 100644 index 00000000..3a20a84c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_varargs_callback2.page @@ -0,0 +1,45 @@ +<?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>none</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-python"> +@accepts(Regress.FooVarargsCallback) +@returns(none) +def foo_test_varargs_callback2(callback): + # Python 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-Python-expected/Regress.foo_test_varargs_callback3.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_varargs_callback3.page new file mode 100644 index 00000000..b2380f36 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_varargs_callback3.page @@ -0,0 +1,51 @@ +<?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>none</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-python"> +@accepts(Regress.FooVarargsCallback, Regress.FooVarargsCallback) +@returns(none) +def foo_test_varargs_callback3(callback, callback2): + # Python 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-Python-expected/Regress.func_obj_null_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.func_obj_null_in.page new file mode 100644 index 00000000..681f45b2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.func_obj_null_in.page @@ -0,0 +1,45 @@ +<?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>none</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-python"> +@accepts(Regress.TestObj) +@returns(none) +def func_obj_null_in(obj): + # Python 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-Python-expected/Regress.global_get_flags_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.global_get_flags_out.page new file mode 100644 index 00000000..816a722f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.global_get_flags_out.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_global_get_flags_out</api:name> + <api:arg> + <api:type>Regress.TestFlags</api:type> + <api:name>v</api:name> + </api:arg> + </api:function> + + </info> + <title>global_get_flags_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestFlags) +@returns(none) +def global_get_flags_out(v): + # Python wrapper for regress_global_get_flags_out() +</code></synopsis> + + + + + + + +<dl> +<dt><p>v :</p></dt> +<dd><p>A flags value</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.has_parameter_named_attrs.page b/tests/scanner/Regress-1.0-Python-expected/Regress.has_parameter_named_attrs.page new file mode 100644 index 00000000..ed405229 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.has_parameter_named_attrs.page @@ -0,0 +1,52 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_has_parameter_named_attrs</api:name> + <api:arg> + <api:type>int</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-python"> +@accepts(int, [guint32]) +@returns(none) +def has_parameter_named_attrs(foo, attributes): + # Python 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-Python-expected/Regress.introspectable_via_alias.page b/tests/scanner/Regress-1.0-Python-expected/Regress.introspectable_via_alias.page new file mode 100644 index 00000000..63ef956e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.introspectable_via_alias.page @@ -0,0 +1,45 @@ +<?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>none</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-python"> +@accepts(Regress.PtrArrayAlias) +@returns(none) +def introspectable_via_alias(data): + # Python 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-Python-expected/Regress.not_introspectable_via_alias.page b/tests/scanner/Regress-1.0-Python-expected/Regress.not_introspectable_via_alias.page new file mode 100644 index 00000000..174a8660 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.not_introspectable_via_alias.page @@ -0,0 +1,45 @@ +<?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>none</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-python"> +@accepts(Regress.VaListAlias) +@returns(none) +def not_introspectable_via_alias(ok): + # Python 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-Python-expected/Regress.random_function_with_skipped_structure.page b/tests/scanner/Regress-1.0-Python-expected/Regress.random_function_with_skipped_structure.page new file mode 100644 index 00000000..e175decd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.random_function_with_skipped_structure.page @@ -0,0 +1,57 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_random_function_with_skipped_structure</api:name> + <api:arg> + <api:type>int</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>float</api:type> + <api:name>v</api:name> + </api:arg> + </api:function> + + </info> + <title>random_function_with_skipped_structure</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, Regress.SkippedStructure, float) +@returns(none) +def random_function_with_skipped_structure(x, foo, v): + # Python 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-Python-expected/Regress.set_abort_on_error.page b/tests/scanner/Regress-1.0-Python-expected/Regress.set_abort_on_error.page new file mode 100644 index 00000000..aa725200 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.set_abort_on_error.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_set_abort_on_error</api:name> + <api:arg> + <api:type>bool</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-python"> +@accepts(bool) +@returns(none) +def set_abort_on_error(abort_on_error): + # Python 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-Python-expected/Regress.test_array_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_callback.page new file mode 100644 index 00000000..9a170d7d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_callback.page @@ -0,0 +1,47 @@ +<?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>int</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-python"> +@accepts(Regress.TestCallbackArray) +@returns(int) +def test_array_callback(callback): + # Python 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-Python-expected/Regress.test_array_fixed_out_objects.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_out_objects.page new file mode 100644 index 00000000..a5cb3976 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_out_objects.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_array_fixed_out_objects</api:name> + <api:arg> + <api:type>[Regress.TestObj]</api:type> + <api:name>objs</api:name> + </api:arg> + </api:function> + + </info> + <title>test_array_fixed_out_objects</title> + +<synopsis><code mime="text/x-python"> +@accepts([Regress.TestObj]) +@returns(none) +def test_array_fixed_out_objects(objs): + # Python wrapper for regress_test_array_fixed_out_objects() +</code></synopsis> + + + + + + + +<dl> +<dt><p>objs :</p></dt> +<dd><p>An array of <link xref="Regress.TestObj"/></p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_size_int_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_size_int_in.page new file mode 100644 index 00000000..de526c40 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_size_int_in.page @@ -0,0 +1,47 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_array_fixed_size_int_in</api:name> + <api:arg> + <api:type>[int]</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-python"> +@accepts([int]) +@returns(int) +def test_array_fixed_size_int_in(ints): + # Python 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-Python-expected/Regress.test_array_fixed_size_int_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_size_int_out.page new file mode 100644 index 00000000..9d7ec741 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_size_int_out.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_array_fixed_size_int_out</api:name> + <api:arg> + <api:type>[int]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>test_array_fixed_size_int_out</title> + +<synopsis><code mime="text/x-python"> +@accepts([int]) +@returns(none) +def test_array_fixed_size_int_out(ints): + # Python wrapper for regress_test_array_fixed_size_int_out() +</code></synopsis> + + + + + + + +<dl> +<dt><p>ints :</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-Python-expected/Regress.test_array_fixed_size_int_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_size_int_return.page new file mode 100644 index 00000000..bc33d6df --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>[int]</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-python"> +@returns([int]) +def test_array_fixed_size_int_return(): + # Python 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-Python-expected/Regress.test_array_gint16_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint16_in.page new file mode 100644 index 00000000..98f1e19e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint16_in.page @@ -0,0 +1,53 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_array_gint16_in</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_ints</api:name> + </api:arg> + <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-python"> +@accepts(int, [gint16]) +@returns(int) +def test_array_gint16_in(n_ints, ints): + # Python wrapper for regress_test_array_gint16_in() +</code></synopsis> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd></dd> +<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-Python-expected/Regress.test_array_gint32_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint32_in.page new file mode 100644 index 00000000..74fb671f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint32_in.page @@ -0,0 +1,53 @@ +<?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>int</api:type> + <api:name>n_ints</api:name> + </api:arg> + <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-python"> +@accepts(int, [gint32]) +@returns(gint32) +def test_array_gint32_in(n_ints, ints): + # Python wrapper for regress_test_array_gint32_in() +</code></synopsis> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd></dd> +<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-Python-expected/Regress.test_array_gint64_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint64_in.page new file mode 100644 index 00000000..0f2ad40b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint64_in.page @@ -0,0 +1,53 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_array_gint64_in</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_ints</api:name> + </api:arg> + <api:arg> + <api:type>[int]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>test_array_gint64_in</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, [int]) +@returns(int) +def test_array_gint64_in(n_ints, ints): + # Python wrapper for regress_test_array_gint64_in() +</code></synopsis> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd></dd> +<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-Python-expected/Regress.test_array_gint8_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint8_in.page new file mode 100644 index 00000000..4ad4fc7c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint8_in.page @@ -0,0 +1,53 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_array_gint8_in</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_ints</api:name> + </api:arg> + <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-python"> +@accepts(int, [gint8]) +@returns(int) +def test_array_gint8_in(n_ints, ints): + # Python wrapper for regress_test_array_gint8_in() +</code></synopsis> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd></dd> +<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-Python-expected/Regress.test_array_gtype_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gtype_in.page new file mode 100644 index 00000000..bc9057b0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gtype_in.page @@ -0,0 +1,53 @@ +<?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>unicode</api:type> + </api:returns> + <api:name>regress_test_array_gtype_in</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_types</api:name> + </api:arg> + <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-python"> +@accepts(int, [GType]) +@returns(unicode) +def test_array_gtype_in(n_types, types): + # Python wrapper for regress_test_array_gtype_in() +</code></synopsis> + + + + + + + +<dl> +<dt><p>n_types :</p></dt> +<dd></dd> +<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/doctool/DocExamples-1.0-Python-expected/DocExamples.array_function.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_full_out.page index 506e40f3..088ccfa2 100644 --- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.array_function.page +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_full_out.page @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<page id="DocExamples.array_function" +<page id="Regress.test_array_int_full_out" type="topic" style="function" xmlns="http://projectmallard.org/1.0/" @@ -12,35 +12,34 @@ <api:returns> <api:type>[int]</api:type> </api:returns> - <api:name>doc_examples_array_function</api:name> + <api:name>regress_test_array_int_full_out</api:name> <api:arg> <api:type>int</api:type> - <api:name>out_len</api:name> + <api:name>len</api:name> </api:arg> </api:function> </info> - <title>array_function</title> + <title>test_array_int_full_out</title> <synopsis><code mime="text/x-python"> @accepts(int) @returns([int]) -def array_function(out_len): - # Python wrapper for doc_examples_array_function() +def test_array_int_full_out(len): + # Python wrapper for regress_test_array_int_full_out() </code></synopsis> - <p>This function returns an array with an explicit length, -and the length should be invisible in most introspected bindings.</p> + <dl> -<dt><p>out_len :</p></dt> -<dd><p>the length of the returned array</p></dd> +<dt><p>len :</p></dt> +<dd><p>length of the returned array.</p></dd> <dt><p>Returns :</p></dt> -<dd><p>an array of numbers.</p></dd> +<dd><p>a new array of integers.</p></dd> </dl> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_in.page new file mode 100644 index 00000000..8bc291b1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_in.page @@ -0,0 +1,53 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_array_int_in</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_ints</api:name> + </api:arg> + <api:arg> + <api:type>[int]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>test_array_int_in</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, [int]) +@returns(int) +def test_array_int_in(n_ints, ints): + # Python wrapper for regress_test_array_int_in() +</code></synopsis> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd></dd> +<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-Python-expected/Regress.test_array_int_inout.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_inout.page new file mode 100644 index 00000000..881cc86e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_inout.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_array_int_inout</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_ints</api:name> + </api:arg> + <api:arg> + <api:type>[int]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>test_array_int_inout</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, [int]) +@returns(none) +def test_array_int_inout(n_ints, ints): + # Python wrapper for regress_test_array_int_inout() +</code></synopsis> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd><p>the length of <code>ints</code></p></dd> +<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-Python-expected/Regress.test_array_int_none_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_none_out.page new file mode 100644 index 00000000..39542be1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_none_out.page @@ -0,0 +1,47 @@ +<?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>[int]</api:type> + </api:returns> + <api:name>regress_test_array_int_none_out</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>len</api:name> + </api:arg> + </api:function> + + </info> + <title>test_array_int_none_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns([int]) +def test_array_int_none_out(len): + # Python wrapper for regress_test_array_int_none_out() +</code></synopsis> + + + + + + + +<dl> +<dt><p>len :</p></dt> +<dd><p>length of the returned array.</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>a static array of integers.</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_null_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_null_in.page new file mode 100644 index 00000000..1e8007f7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_null_in.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_array_int_null_in</api:name> + <api:arg> + <api:type>[int]</api:type> + <api:name>arr</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>len</api:name> + </api:arg> + </api:function> + + </info> + <title>test_array_int_null_in</title> + +<synopsis><code mime="text/x-python"> +@accepts([int], int) +@returns(none) +def test_array_int_null_in(arr, len): + # Python wrapper for regress_test_array_int_null_in() +</code></synopsis> + + + + + + + +<dl> +<dt><p>arr :</p></dt> +<dd></dd> +<dt><p>len :</p></dt> +<dd><p>length</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_null_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_null_out.page new file mode 100644 index 00000000..894a37e3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_null_out.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_array_int_null_out</api:name> + <api:arg> + <api:type>[int]</api:type> + <api:name>arr</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>len</api:name> + </api:arg> + </api:function> + + </info> + <title>test_array_int_null_out</title> + +<synopsis><code mime="text/x-python"> +@accepts([int], int) +@returns(none) +def test_array_int_null_out(arr, len): + # Python wrapper for regress_test_array_int_null_out() +</code></synopsis> + + + + + + + +<dl> +<dt><p>arr :</p></dt> +<dd></dd> +<dt><p>len :</p></dt> +<dd><p>length</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_out.page new file mode 100644 index 00000000..3bfad946 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_out.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_array_int_out</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_ints</api:name> + </api:arg> + <api:arg> + <api:type>[int]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>test_array_int_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, [int]) +@returns(none) +def test_array_int_out(n_ints, ints): + # Python wrapper for regress_test_array_int_out() +</code></synopsis> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd><p>the length of <code>ints</code></p></dd> +<dt><p>ints :</p></dt> +<dd><p>a list of 5 integers, from 0 to 4 in consecutive order</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_async_ready_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_async_ready_callback.page new file mode 100644 index 00000000..39a24a23 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_async_ready_callback.page @@ -0,0 +1,45 @@ +<?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>none</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-python"> +@accepts(Gio.AsyncReadyCallback) +@returns(none) +def test_async_ready_callback(callback): + # Python 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-Python-expected/Regress.test_boolean.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_boolean.page new file mode 100644 index 00000000..e7217be4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_boolean.page @@ -0,0 +1,47 @@ +<?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>bool</api:type> + </api:returns> + <api:name>regress_test_boolean</api:name> + <api:arg> + <api:type>bool</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_boolean</title> + +<synopsis><code mime="text/x-python"> +@accepts(bool) +@returns(bool) +def test_boolean(in): + # Python 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-Python-expected/Regress.test_boolean_false.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_boolean_false.page new file mode 100644 index 00000000..0f7783ab --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_boolean_false.page @@ -0,0 +1,47 @@ +<?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>bool</api:type> + </api:returns> + <api:name>regress_test_boolean_false</api:name> + <api:arg> + <api:type>bool</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_boolean_false</title> + +<synopsis><code mime="text/x-python"> +@accepts(bool) +@returns(bool) +def test_boolean_false(in): + # Python 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-Python-expected/Regress.test_boolean_true.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_boolean_true.page new file mode 100644 index 00000000..65fec5ed --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_boolean_true.page @@ -0,0 +1,47 @@ +<?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>bool</api:type> + </api:returns> + <api:name>regress_test_boolean_true</api:name> + <api:arg> + <api:type>bool</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_boolean_true</title> + +<synopsis><code mime="text/x-python"> +@accepts(bool) +@returns(bool) +def test_boolean_true(in): + # Python 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-Python-expected/Regress.test_cairo_context_full_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_context_full_return.page new file mode 100644 index 00000000..dfebfd05 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(cairo.Context) +def test_cairo_context_full_return(): + # Python 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-Python-expected/Regress.test_cairo_context_none_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_context_none_in.page new file mode 100644 index 00000000..922330df --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_context_none_in.page @@ -0,0 +1,45 @@ +<?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>none</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-python"> +@accepts(cairo.Context) +@returns(none) +def test_cairo_context_none_in(context): + # Python 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-Python-expected/Regress.test_cairo_surface_full_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_full_out.page new file mode 100644 index 00000000..1b32629a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_full_out.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_cairo_surface_full_out</api:name> + <api:arg> + <api:type>cairo.Surface</api:type> + <api:name>surface</api:name> + </api:arg> + </api:function> + + </info> + <title>test_cairo_surface_full_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(cairo.Surface) +@returns(none) +def test_cairo_surface_full_out(surface): + # Python wrapper for regress_test_cairo_surface_full_out() +</code></synopsis> + + + + + + + +<dl> +<dt><p>surface :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_full_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_full_return.page new file mode 100644 index 00000000..1cfa1513 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(cairo.Surface) +def test_cairo_surface_full_return(): + # Python 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-Python-expected/Regress.test_cairo_surface_none_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_none_in.page new file mode 100644 index 00000000..ad456c10 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_none_in.page @@ -0,0 +1,45 @@ +<?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>none</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-python"> +@accepts(cairo.Surface) +@returns(none) +def test_cairo_surface_none_in(surface): + # Python 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-Python-expected/Regress.test_cairo_surface_none_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_none_return.page new file mode 100644 index 00000000..4e5dd409 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(cairo.Surface) +def test_cairo_surface_none_return(): + # Python 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-Python-expected/Regress.test_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback.page new file mode 100644 index 00000000..5da4505b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback.page @@ -0,0 +1,47 @@ +<?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>int</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-python"> +@accepts(Regress.TestCallback) +@returns(int) +def test_callback(callback): + # Python 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-Python-expected/Regress.test_callback_async.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_async.page new file mode 100644 index 00000000..8ffd9661 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_async.page @@ -0,0 +1,51 @@ +<?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>none</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:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + </api:function> + + </info> + <title>test_callback_async</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestCallbackUserData, gpointer) +@returns(none) +def test_callback_async(callback, user_data): + # Python wrapper for regress_test_callback_async() +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>user_data :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_destroy_notify.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_destroy_notify.page new file mode 100644 index 00000000..fed66313 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_destroy_notify.page @@ -0,0 +1,60 @@ +<?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>int</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:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + <api:arg> + <api:type>GLib.DestroyNotify</api:type> + <api:name>notify</api:name> + </api:arg> + </api:function> + + </info> + <title>test_callback_destroy_notify</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestCallbackUserData, gpointer, GLib.DestroyNotify) +@returns(int) +def test_callback_destroy_notify(callback, user_data, notify): + # Python 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>user_data :</p></dt> +<dd></dd> +<dt><p>notify :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_destroy_notify_no_user_data.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_destroy_notify_no_user_data.page new file mode 100644 index 00000000..a343923a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_destroy_notify_no_user_data.page @@ -0,0 +1,54 @@ +<?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>int</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:arg> + <api:type>GLib.DestroyNotify</api:type> + <api:name>notify</api:name> + </api:arg> + </api:function> + + </info> + <title>test_callback_destroy_notify_no_user_data</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestCallbackUserData, GLib.DestroyNotify) +@returns(int) +def test_callback_destroy_notify_no_user_data(callback, notify): + # Python 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>notify :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_thaw_async.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_thaw_async.page new file mode 100644 index 00000000..459bd47d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>int</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-python"> +@returns(int) +def test_callback_thaw_async(): + # Python 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-Python-expected/Regress.test_callback_thaw_notifications.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_thaw_notifications.page new file mode 100644 index 00000000..24c45e90 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>int</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-python"> +@returns(int) +def test_callback_thaw_notifications(): + # Python 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-Python-expected/Regress.test_callback_user_data.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_user_data.page new file mode 100644 index 00000000..2b03a8fd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_user_data.page @@ -0,0 +1,54 @@ +<?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>int</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:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + </api:function> + + </info> + <title>test_callback_user_data</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestCallbackUserData, gpointer) +@returns(int) +def test_callback_user_data(callback, user_data): + # Python 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>user_data :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure.page new file mode 100644 index 00000000..a3290e54 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure.page @@ -0,0 +1,47 @@ +<?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>int</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-python"> +@accepts(GObject.Closure) +@returns(int) +def test_closure(closure): + # Python 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-Python-expected/Regress.test_closure_one_arg.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure_one_arg.page new file mode 100644 index 00000000..c766153c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure_one_arg.page @@ -0,0 +1,53 @@ +<?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>int</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>int</api:type> + <api:name>arg</api:name> + </api:arg> + </api:function> + + </info> + <title>test_closure_one_arg</title> + +<synopsis><code mime="text/x-python"> +@accepts(GObject.Closure, int) +@returns(int) +def test_closure_one_arg(closure, arg): + # Python 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-Python-expected/Regress.test_closure_variant.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure_variant.page new file mode 100644 index 00000000..2151555c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure_variant.page @@ -0,0 +1,53 @@ +<?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-python"> +@accepts(GObject.Closure, GLib.Variant) +@returns(GLib.Variant) +def test_closure_variant(closure, arg): + # Python 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-Python-expected/Regress.test_date_in_gvalue.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_date_in_gvalue.page new file mode 100644 index 00000000..7e9400e4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(GObject.Value) +def test_date_in_gvalue(): + # Python 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-Python-expected/Regress.test_def_error_quark.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_def_error_quark.page new file mode 100644 index 00000000..dc3c910a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(GLib.Quark) +def test_def_error_quark(): + # Python 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-Python-expected/Regress.test_double.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_double.page new file mode 100644 index 00000000..986f57a5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_double.page @@ -0,0 +1,47 @@ +<?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>float</api:type> + </api:returns> + <api:name>regress_test_double</api:name> + <api:arg> + <api:type>float</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_double</title> + +<synopsis><code mime="text/x-python"> +@accepts(float) +@returns(float) +def test_double(in): + # Python 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-Python-expected/Regress.test_filename_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_filename_return.page new file mode 100644 index 00000000..9b259bfd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(<list>) +def test_filename_return(): + # Python 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-Python-expected/Regress.test_float.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_float.page new file mode 100644 index 00000000..5b5bdb81 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_float.page @@ -0,0 +1,47 @@ +<?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>float</api:type> + </api:returns> + <api:name>regress_test_float</api:name> + <api:arg> + <api:type>float</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_float</title> + +<synopsis><code mime="text/x-python"> +@accepts(float) +@returns(float) +def test_float(in): + # Python 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-Python-expected/Regress.test_garray_container_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_garray_container_return.page new file mode 100644 index 00000000..132de1fa --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>[unicode]</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-python"> +@returns([unicode]) +def test_garray_container_return(): + # Python 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-Python-expected/Regress.test_garray_full_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_garray_full_return.page new file mode 100644 index 00000000..e7c1b0fc --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>[unicode]</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-python"> +@returns([unicode]) +def test_garray_full_return(): + # Python 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-Python-expected/Regress.test_gerror_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gerror_callback.page new file mode 100644 index 00000000..52ef85d3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gerror_callback.page @@ -0,0 +1,45 @@ +<?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>none</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-python"> +@accepts(Regress.TestCallbackGError) +@returns(none) +def test_gerror_callback(callback): + # Python 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-Python-expected/Regress.test_ghash_container_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_container_return.page new file mode 100644 index 00000000..676e6652 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>{unicode: unicode}</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-python"> +@returns({unicode: unicode}) +def test_ghash_container_return(): + # Python 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-Python-expected/Regress.test_ghash_everything_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_everything_return.page new file mode 100644 index 00000000..0cca64bc --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>{unicode: unicode}</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-python"> +@returns({unicode: unicode}) +def test_ghash_everything_return(): + # Python 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-Python-expected/Regress.test_ghash_gvalue_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_gvalue_in.page new file mode 100644 index 00000000..39c476b5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_gvalue_in.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_ghash_gvalue_in</api:name> + <api:arg> + <api:type>{unicode: 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-python"> +@accepts({unicode: GObject.Value}) +@returns(none) +def test_ghash_gvalue_in(hash): + # Python 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-Python-expected/Regress.test_ghash_gvalue_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_gvalue_return.page new file mode 100644 index 00000000..9a94e398 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>{unicode: 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-python"> +@returns({unicode: GObject.Value}) +def test_ghash_gvalue_return(): + # Python 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-Python-expected/Regress.test_ghash_nested_everything_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nested_everything_return.page new file mode 100644 index 00000000..6d0a2a7a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>{unicode: {unicode: unicode}}</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-python"> +@returns({unicode: {unicode: unicode}}) +def test_ghash_nested_everything_return(): + # Python 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-Python-expected/Regress.test_ghash_nested_everything_return2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nested_everything_return2.page new file mode 100644 index 00000000..a6837dad --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>{unicode: {unicode: unicode}}</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-python"> +@returns({unicode: {unicode: unicode}}) +def test_ghash_nested_everything_return2(): + # Python 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-Python-expected/Regress.test_ghash_nothing_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_in.page new file mode 100644 index 00000000..623aee60 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_in.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_ghash_nothing_in</api:name> + <api:arg> + <api:type>{unicode: unicode}</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_ghash_nothing_in</title> + +<synopsis><code mime="text/x-python"> +@accepts({unicode: unicode}) +@returns(none) +def test_ghash_nothing_in(in): + # Python 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-Python-expected/Regress.test_ghash_nothing_in2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_in2.page new file mode 100644 index 00000000..72e7c669 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_in2.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_ghash_nothing_in2</api:name> + <api:arg> + <api:type>{unicode: unicode}</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_ghash_nothing_in2</title> + +<synopsis><code mime="text/x-python"> +@accepts({unicode: unicode}) +@returns(none) +def test_ghash_nothing_in2(in): + # Python 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-Python-expected/Regress.test_ghash_nothing_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_return.page new file mode 100644 index 00000000..64438430 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>{unicode: unicode}</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-python"> +@returns({unicode: unicode}) +def test_ghash_nothing_return(): + # Python 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-Python-expected/Regress.test_ghash_nothing_return2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_return2.page new file mode 100644 index 00000000..5748c38a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>{unicode: unicode}</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-python"> +@returns({unicode: unicode}) +def test_ghash_nothing_return2(): + # Python 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-Python-expected/Regress.test_ghash_null_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_null_in.page new file mode 100644 index 00000000..5eff48f8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_null_in.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_ghash_null_in</api:name> + <api:arg> + <api:type>{unicode: unicode}</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_ghash_null_in</title> + +<synopsis><code mime="text/x-python"> +@accepts({unicode: unicode}) +@returns(none) +def test_ghash_null_in(in): + # Python 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-Python-expected/Regress.test_ghash_null_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_null_out.page new file mode 100644 index 00000000..a1c9b5bf --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_null_out.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_ghash_null_out</api:name> + <api:arg> + <api:type>{unicode: unicode}</api:type> + <api:name>out</api:name> + </api:arg> + </api:function> + + </info> + <title>test_ghash_null_out</title> + +<synopsis><code mime="text/x-python"> +@accepts({unicode: unicode}) +@returns(none) +def test_ghash_null_out(out): + # Python wrapper for regress_test_ghash_null_out() +</code></synopsis> + + + + + + + +<dl> +<dt><p>out :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_null_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_null_return.page new file mode 100644 index 00000000..0683dbed --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>{unicode: unicode}</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-python"> +@returns({unicode: unicode}) +def test_ghash_null_return(): + # Python 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-Python-expected/Regress.test_glist_container_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_container_return.page new file mode 100644 index 00000000..6963fb41 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(<list>) +def test_glist_container_return(): + # Python 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-Python-expected/Regress.test_glist_everything_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_everything_return.page new file mode 100644 index 00000000..7c1d2313 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(<list>) +def test_glist_everything_return(): + # Python 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-Python-expected/Regress.test_glist_nothing_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_in.page new file mode 100644 index 00000000..bb93930b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_in.page @@ -0,0 +1,45 @@ +<?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>none</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-python"> +@accepts(<list>) +@returns(none) +def test_glist_nothing_in(in): + # Python 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-Python-expected/Regress.test_glist_nothing_in2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_in2.page new file mode 100644 index 00000000..fa87b14c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_in2.page @@ -0,0 +1,45 @@ +<?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>none</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-python"> +@accepts(<list>) +@returns(none) +def test_glist_nothing_in2(in): + # Python 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-Python-expected/Regress.test_glist_nothing_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_return.page new file mode 100644 index 00000000..926d5f5f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(<list>) +def test_glist_nothing_return(): + # Python 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-Python-expected/Regress.test_glist_nothing_return2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_return2.page new file mode 100644 index 00000000..b6163879 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(<list>) +def test_glist_nothing_return2(): + # Python 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-Python-expected/Regress.test_glist_null_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_null_in.page new file mode 100644 index 00000000..4da827e9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_null_in.page @@ -0,0 +1,45 @@ +<?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>none</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-python"> +@accepts(<list>) +@returns(none) +def test_glist_null_in(in): + # Python 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-Python-expected/Regress.test_glist_null_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_null_out.page new file mode 100644 index 00000000..e96a9652 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_null_out.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_glist_null_out</api:name> + <api:arg> + <api:type><list></api:type> + <api:name>out_list</api:name> + </api:arg> + </api:function> + + </info> + <title>test_glist_null_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(<list>) +@returns(none) +def test_glist_null_out(out_list): + # Python wrapper for regress_test_glist_null_out() +</code></synopsis> + + + + + + + +<dl> +<dt><p>out_list :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_container_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_container_return.page new file mode 100644 index 00000000..e7ab5c11 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(<list>) +def test_gslist_container_return(): + # Python 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-Python-expected/Regress.test_gslist_everything_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_everything_return.page new file mode 100644 index 00000000..ea32632f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(<list>) +def test_gslist_everything_return(): + # Python 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-Python-expected/Regress.test_gslist_nothing_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_in.page new file mode 100644 index 00000000..1cbf247c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_in.page @@ -0,0 +1,45 @@ +<?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>none</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-python"> +@accepts(<list>) +@returns(none) +def test_gslist_nothing_in(in): + # Python 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-Python-expected/Regress.test_gslist_nothing_in2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_in2.page new file mode 100644 index 00000000..3325a41a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_in2.page @@ -0,0 +1,45 @@ +<?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>none</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-python"> +@accepts(<list>) +@returns(none) +def test_gslist_nothing_in2(in): + # Python 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-Python-expected/Regress.test_gslist_nothing_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_return.page new file mode 100644 index 00000000..0a4a5aaa --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(<list>) +def test_gslist_nothing_return(): + # Python 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-Python-expected/Regress.test_gslist_nothing_return2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_return2.page new file mode 100644 index 00000000..4fb5489f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(<list>) +def test_gslist_nothing_return2(): + # Python 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-Python-expected/Regress.test_gslist_null_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_null_in.page new file mode 100644 index 00000000..470a6fff --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_null_in.page @@ -0,0 +1,45 @@ +<?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>none</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-python"> +@accepts(<list>) +@returns(none) +def test_gslist_null_in(in): + # Python 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-Python-expected/Regress.test_gslist_null_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_null_out.page new file mode 100644 index 00000000..6c2dd5b4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_null_out.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_gslist_null_out</api:name> + <api:arg> + <api:type><list></api:type> + <api:name>out_list</api:name> + </api:arg> + </api:function> + + </info> + <title>test_gslist_null_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(<list>) +@returns(none) +def test_gslist_null_out(out_list): + # Python wrapper for regress_test_gslist_null_out() +</code></synopsis> + + + + + + + +<dl> +<dt><p>out_list :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_gtype.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gtype.page new file mode 100644 index 00000000..f98195ac --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gtype.page @@ -0,0 +1,47 @@ +<?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-python"> +@accepts(GType) +@returns(GType) +def test_gtype(in): + # Python 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-Python-expected/Regress.test_gvariant_as.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_as.page new file mode 100644 index 00000000..edd0a830 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(GLib.Variant) +def test_gvariant_as(): + # Python 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-Python-expected/Regress.test_gvariant_asv.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_asv.page new file mode 100644 index 00000000..2e9eeeb7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(GLib.Variant) +def test_gvariant_asv(): + # Python 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-Python-expected/Regress.test_gvariant_i.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_i.page new file mode 100644 index 00000000..c47377b5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(GLib.Variant) +def test_gvariant_i(): + # Python 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-Python-expected/Regress.test_gvariant_s.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_s.page new file mode 100644 index 00000000..dfd123f8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(GLib.Variant) +def test_gvariant_s(): + # Python 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-Python-expected/Regress.test_gvariant_v.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_v.page new file mode 100644 index 00000000..1f5d309e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(GLib.Variant) +def test_gvariant_v(): + # Python 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-Python-expected/Regress.test_hash_table_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_hash_table_callback.page new file mode 100644 index 00000000..6429848b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_hash_table_callback.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_hash_table_callback</api:name> + <api:arg> + <api:type>{unicode: int}</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-python"> +@accepts({unicode: int}, Regress.TestCallbackHashtable) +@returns(none) +def test_hash_table_callback(data, callback): + # Python 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-Python-expected/Regress.test_int.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int.page new file mode 100644 index 00000000..22c435f5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int.page @@ -0,0 +1,47 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_int</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_int</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(int) +def test_int(in): + # Python 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-Python-expected/Regress.test_int16.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int16.page new file mode 100644 index 00000000..6f0945af --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int16.page @@ -0,0 +1,47 @@ +<?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-python"> +@accepts(gint16) +@returns(gint16) +def test_int16(in): + # Python 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-Python-expected/Regress.test_int32.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int32.page new file mode 100644 index 00000000..8070a644 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int32.page @@ -0,0 +1,47 @@ +<?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-python"> +@accepts(gint32) +@returns(gint32) +def test_int32(in): + # Python 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-Python-expected/Regress.test_int64.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int64.page new file mode 100644 index 00000000..c9456ad6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int64.page @@ -0,0 +1,47 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_int64</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_int64</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(int) +def test_int64(in): + # Python 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-Python-expected/Regress.test_int8.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int8.page new file mode 100644 index 00000000..73c17498 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int8.page @@ -0,0 +1,47 @@ +<?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-python"> +@accepts(gint8) +@returns(gint8) +def test_int8(in): + # Python 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-Python-expected/Regress.test_int_out_utf8.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int_out_utf8.page new file mode 100644 index 00000000..9b5b728e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int_out_utf8.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_int_out_utf8</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>length</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_int_out_utf8</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, unicode) +@returns(none) +def test_int_out_utf8(length, in): + # Python wrapper for regress_test_int_out_utf8() +</code></synopsis> + + + + + + + +<dl> +<dt><p>length :</p></dt> +<dd></dd> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_int_value_arg.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int_value_arg.page new file mode 100644 index 00000000..2d6d569b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int_value_arg.page @@ -0,0 +1,47 @@ +<?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>int</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-python"> +@accepts(GObject.Value) +@returns(int) +def test_int_value_arg(v): + # Python 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-Python-expected/Regress.test_long.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_long.page new file mode 100644 index 00000000..3b56821e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_long.page @@ -0,0 +1,47 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_long</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_long</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(int) +def test_long(in): + # Python 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-Python-expected/Regress.test_multi_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_multi_callback.page new file mode 100644 index 00000000..ed15aba2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_multi_callback.page @@ -0,0 +1,47 @@ +<?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>int</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-python"> +@accepts(Regress.TestCallback) +@returns(int) +def test_multi_callback(callback): + # Python 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-Python-expected/Regress.test_multi_double_args.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_multi_double_args.page new file mode 100644 index 00000000..b781e796 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_multi_double_args.page @@ -0,0 +1,57 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_multi_double_args</api:name> + <api:arg> + <api:type>float</api:type> + <api:name>in</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>one</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>two</api:name> + </api:arg> + </api:function> + + </info> + <title>test_multi_double_args</title> + +<synopsis><code mime="text/x-python"> +@accepts(float, float, float) +@returns(none) +def test_multi_double_args(in, one, two): + # Python wrapper for regress_test_multi_double_args() +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>one :</p></dt> +<dd></dd> +<dt><p>two :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_multiline_doc_comments.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_multiline_doc_comments.page new file mode 100644 index 00000000..6cfdbcd6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>none</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-python"> +@returns(none) +def test_multiline_doc_comments(): + # Python 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-Python-expected/Regress.test_nested_parameter.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_nested_parameter.page new file mode 100644 index 00000000..571dd0a5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_nested_parameter.page @@ -0,0 +1,70 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_nested_parameter</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>a</api:name> + </api:arg> + </api:function> + + </info> + <title>test_nested_parameter</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(none) +def test_nested_parameter(a): + # Python 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-Python-expected/Regress.test_null_gerror_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_null_gerror_callback.page new file mode 100644 index 00000000..ce50e43e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_null_gerror_callback.page @@ -0,0 +1,45 @@ +<?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>none</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-python"> +@accepts(Regress.TestCallbackGError) +@returns(none) +def test_null_gerror_callback(callback): + # Python 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-Python-expected/Regress.test_owned_gerror_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_owned_gerror_callback.page new file mode 100644 index 00000000..93cd72fc --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_owned_gerror_callback.page @@ -0,0 +1,45 @@ +<?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>none</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-python"> +@accepts(Regress.TestCallbackOwnedGError) +@returns(none) +def test_owned_gerror_callback(callback): + # Python 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-Python-expected/Regress.test_short.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_short.page new file mode 100644 index 00000000..77ddd585 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_short.page @@ -0,0 +1,47 @@ +<?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-python"> +@accepts(gshort) +@returns(gshort) +def test_short(in): + # Python 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-Python-expected/Regress.test_simple_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_simple_callback.page new file mode 100644 index 00000000..241d0a86 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_simple_callback.page @@ -0,0 +1,45 @@ +<?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>none</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-python"> +@accepts(Regress.TestSimpleCallback) +@returns(none) +def test_simple_callback(callback): + # Python 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-Python-expected/Regress.test_size.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_size.page new file mode 100644 index 00000000..3496e370 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_size.page @@ -0,0 +1,47 @@ +<?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-python"> +@accepts(gsize) +@returns(gsize) +def test_size(in): + # Python 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-Python-expected/Regress.test_skip_unannotated_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_skip_unannotated_callback.page new file mode 100644 index 00000000..8dc6a486 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_skip_unannotated_callback.page @@ -0,0 +1,46 @@ +<?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>none</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-python"> +@accepts(Regress.TestCallback) +@returns(none) +def test_skip_unannotated_callback(callback): + # Python 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-Python-expected/Regress.test_ssize.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ssize.page new file mode 100644 index 00000000..6e61bc83 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ssize.page @@ -0,0 +1,47 @@ +<?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-python"> +@accepts(gssize) +@returns(gssize) +def test_ssize(in): + # Python 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-Python-expected/Regress.test_strv_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_in.page new file mode 100644 index 00000000..dee44c02 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_in.page @@ -0,0 +1,47 @@ +<?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>bool</api:type> + </api:returns> + <api:name>regress_test_strv_in</api:name> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>arr</api:name> + </api:arg> + </api:function> + + </info> + <title>test_strv_in</title> + +<synopsis><code mime="text/x-python"> +@accepts([unicode]) +@returns(bool) +def test_strv_in(arr): + # Python 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-Python-expected/Regress.test_strv_in_gvalue.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_in_gvalue.page new file mode 100644 index 00000000..ab03bda9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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-python"> +@returns(GObject.Value) +def test_strv_in_gvalue(): + # Python 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-Python-expected/Regress.test_strv_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_out.page new file mode 100644 index 00000000..e87d979f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>[unicode]</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-python"> +@returns([unicode]) +def test_strv_out(): + # Python 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-Python-expected/Regress.test_strv_out_c.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_out_c.page new file mode 100644 index 00000000..8d5a73a7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>[unicode]</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-python"> +@returns([unicode]) +def test_strv_out_c(): + # Python 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-Python-expected/Regress.test_strv_out_container.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_out_container.page new file mode 100644 index 00000000..feaf8c78 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>[unicode]</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-python"> +@returns([unicode]) +def test_strv_out_container(): + # Python 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-Python-expected/Regress.test_strv_outarg.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_outarg.page new file mode 100644 index 00000000..7cea6b43 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_outarg.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_strv_outarg</api:name> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>retp</api:name> + </api:arg> + </api:function> + + </info> + <title>test_strv_outarg</title> + +<synopsis><code mime="text/x-python"> +@accepts([unicode]) +@returns(none) +def test_strv_outarg(retp): + # Python wrapper for regress_test_strv_outarg() +</code></synopsis> + + + + + + + +<dl> +<dt><p>retp :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_timet.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_timet.page new file mode 100644 index 00000000..3e7637ec --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_timet.page @@ -0,0 +1,47 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_timet</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_timet</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(int) +def test_timet(in): + # Python 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-Python-expected/Regress.test_torture_signature_0.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_torture_signature_0.page new file mode 100644 index 00000000..542dc1f2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_torture_signature_0.page @@ -0,0 +1,75 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_torture_signature_0</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>y</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>z</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>q</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>m</api:name> + </api:arg> + </api:function> + + </info> + <title>test_torture_signature_0</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, float, int, unicode, int, int) +@returns(none) +def test_torture_signature_0(x, y, z, foo, q, m): + # Python wrapper for regress_test_torture_signature_0() +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>y :</p></dt> +<dd></dd> +<dt><p>z :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>q :</p></dt> +<dd></dd> +<dt><p>m :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_torture_signature_1.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_torture_signature_1.page new file mode 100644 index 00000000..333d386e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_torture_signature_1.page @@ -0,0 +1,77 @@ +<?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>bool</api:type> + </api:returns> + <api:name>regress_test_torture_signature_1</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>y</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>z</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>q</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>m</api:name> + </api:arg> + </api:function> + + </info> + <title>test_torture_signature_1</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, float, int, unicode, int, int) +@returns(bool) +def test_torture_signature_1(x, y, z, foo, q, m): + # Python 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>y :</p></dt> +<dd></dd> +<dt><p>z :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>q :</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-Python-expected/Regress.test_torture_signature_2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_torture_signature_2.page new file mode 100644 index 00000000..449793bb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_torture_signature_2.page @@ -0,0 +1,93 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_torture_signature_2</api:name> + <api:arg> + <api:type>int</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>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + <api:arg> + <api:type>GLib.DestroyNotify</api:type> + <api:name>notify</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>y</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>z</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>q</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>m</api:name> + </api:arg> + </api:function> + + </info> + <title>test_torture_signature_2</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, Regress.TestCallbackUserData, gpointer, GLib.DestroyNotify, float, int, unicode, int, int) +@returns(none) +def test_torture_signature_2(x, callback, user_data, notify, y, z, foo, q, m): + # Python 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>user_data :</p></dt> +<dd></dd> +<dt><p>notify :</p></dt> +<dd></dd> +<dt><p>y :</p></dt> +<dd></dd> +<dt><p>z :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>q :</p></dt> +<dd></dd> +<dt><p>m :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint.page new file mode 100644 index 00000000..84f702af --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint.page @@ -0,0 +1,47 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_uint</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_uint</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(int) +def test_uint(in): + # Python 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-Python-expected/Regress.test_uint16.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint16.page new file mode 100644 index 00000000..b8e444a0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint16.page @@ -0,0 +1,47 @@ +<?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-python"> +@accepts(guint16) +@returns(guint16) +def test_uint16(in): + # Python 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-Python-expected/Regress.test_uint32.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint32.page new file mode 100644 index 00000000..37da5482 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint32.page @@ -0,0 +1,47 @@ +<?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-python"> +@accepts(guint32) +@returns(guint32) +def test_uint32(in): + # Python 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-Python-expected/Regress.test_uint64.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint64.page new file mode 100644 index 00000000..b11cfbb2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint64.page @@ -0,0 +1,47 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_uint64</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_uint64</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(int) +def test_uint64(in): + # Python 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-Python-expected/Regress.test_uint8.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint8.page new file mode 100644 index 00000000..58f7817a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint8.page @@ -0,0 +1,47 @@ +<?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-python"> +@accepts(guint8) +@returns(guint8) +def test_uint8(in): + # Python 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-Python-expected/Regress.test_ulong.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ulong.page new file mode 100644 index 00000000..f94fff0d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ulong.page @@ -0,0 +1,47 @@ +<?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>int</api:type> + </api:returns> + <api:name>regress_test_ulong</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_ulong</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(int) +def test_ulong(in): + # Python 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-Python-expected/Regress.test_unichar.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_unichar.page new file mode 100644 index 00000000..363a5e33 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_unichar.page @@ -0,0 +1,47 @@ +<?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>unicode</api:type> + </api:returns> + <api:name>regress_test_unichar</api:name> + <api:arg> + <api:type>unicode</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_unichar</title> + +<synopsis><code mime="text/x-python"> +@accepts(unicode) +@returns(unicode) +def test_unichar(in): + # Python 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-Python-expected/Regress.test_unsigned_enum_param.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_unsigned_enum_param.page new file mode 100644 index 00000000..4e77143e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_unsigned_enum_param.page @@ -0,0 +1,47 @@ +<?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>unicode</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-python"> +@accepts(Regress.TestEnumUnsigned) +@returns(unicode) +def test_unsigned_enum_param(e): + # Python 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-Python-expected/Regress.test_ushort.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ushort.page new file mode 100644 index 00000000..2b0f0822 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ushort.page @@ -0,0 +1,47 @@ +<?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-python"> +@accepts(gushort) +@returns(gushort) +def test_ushort(in): + # Python 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-Python-expected/Regress.test_utf8_const_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_const_in.page new file mode 100644 index 00000000..36e992bb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_const_in.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_utf8_const_in</api:name> + <api:arg> + <api:type>unicode</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_utf8_const_in</title> + +<synopsis><code mime="text/x-python"> +@accepts(unicode) +@returns(none) +def test_utf8_const_in(in): + # Python 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-Python-expected/Regress.test_utf8_const_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_const_return.page new file mode 100644 index 00000000..9aef1f17 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>unicode</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-python"> +@returns(unicode) +def test_utf8_const_return(): + # Python 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-Python-expected/Regress.test_utf8_inout.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_inout.page new file mode 100644 index 00000000..c7c32ccc --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_inout.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_utf8_inout</api:name> + <api:arg> + <api:type>unicode</api:type> + <api:name>inout</api:name> + </api:arg> + </api:function> + + </info> + <title>test_utf8_inout</title> + +<synopsis><code mime="text/x-python"> +@accepts(unicode) +@returns(none) +def test_utf8_inout(inout): + # Python 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-Python-expected/Regress.test_utf8_nonconst_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_nonconst_return.page new file mode 100644 index 00000000..fd5de6a9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>unicode</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-python"> +@returns(unicode) +def test_utf8_nonconst_return(): + # Python 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-Python-expected/Regress.test_utf8_null_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_null_in.page new file mode 100644 index 00000000..c6aff047 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_null_in.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_utf8_null_in</api:name> + <api:arg> + <api:type>unicode</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_utf8_null_in</title> + +<synopsis><code mime="text/x-python"> +@accepts(unicode) +@returns(none) +def test_utf8_null_in(in): + # Python 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-Python-expected/Regress.test_utf8_null_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_null_out.page new file mode 100644 index 00000000..65b277af --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_null_out.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_utf8_null_out</api:name> + <api:arg> + <api:type>unicode</api:type> + <api:name>char_out</api:name> + </api:arg> + </api:function> + + </info> + <title>test_utf8_null_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(unicode) +@returns(none) +def test_utf8_null_out(char_out): + # Python wrapper for regress_test_utf8_null_out() +</code></synopsis> + + + + + + + +<dl> +<dt><p>char_out :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out.page new file mode 100644 index 00000000..7f73b8d0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out.page @@ -0,0 +1,45 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_utf8_out</api:name> + <api:arg> + <api:type>unicode</api:type> + <api:name>out</api:name> + </api:arg> + </api:function> + + </info> + <title>test_utf8_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(unicode) +@returns(none) +def test_utf8_out(out): + # Python wrapper for regress_test_utf8_out() +</code></synopsis> + + + + + + + +<dl> +<dt><p>out :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out_nonconst_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out_nonconst_return.page new file mode 100644 index 00000000..ed43d541 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out_nonconst_return.page @@ -0,0 +1,47 @@ +<?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>unicode</api:type> + </api:returns> + <api:name>regress_test_utf8_out_nonconst_return</api:name> + <api:arg> + <api:type>unicode</api:type> + <api:name>out</api:name> + </api:arg> + </api:function> + + </info> + <title>test_utf8_out_nonconst_return</title> + +<synopsis><code mime="text/x-python"> +@accepts(unicode) +@returns(unicode) +def test_utf8_out_nonconst_return(out): + # Python wrapper for regress_test_utf8_out_nonconst_return() +</code></synopsis> + + + + + + + +<dl> +<dt><p>out :</p></dt> +<dd><p>a copy of "second"</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>a copy of "first"</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out_out.page new file mode 100644 index 00000000..763053fa --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out_out.page @@ -0,0 +1,51 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_test_utf8_out_out</api:name> + <api:arg> + <api:type>unicode</api:type> + <api:name>out0</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>out1</api:name> + </api:arg> + </api:function> + + </info> + <title>test_utf8_out_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(unicode, unicode) +@returns(none) +def test_utf8_out_out(out0, out1): + # Python wrapper for regress_test_utf8_out_out() +</code></synopsis> + + + + + + + +<dl> +<dt><p>out0 :</p></dt> +<dd><p>a copy of "first"</p></dd> +<dt><p>out1 :</p></dt> +<dd><p>a copy of "second"</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_value_get_fundamental_object.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_value_get_fundamental_object.page new file mode 100644 index 00000000..2f13d40f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_value_get_fundamental_object.page @@ -0,0 +1,47 @@ +<?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-python"> +@accepts(GObject.Value) +@returns(Regress.TestFundamentalObject) +def test_value_get_fundamental_object(value): + # Python 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-Python-expected/Regress.test_value_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_value_return.page new file mode 100644 index 00000000..54aaaa66 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_value_return.page @@ -0,0 +1,47 @@ +<?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>int</api:type> + <api:name>i</api:name> + </api:arg> + </api:function> + + </info> + <title>test_value_return</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(GObject.Value) +def test_value_return(i): + # Python 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-Python-expected/Regress.test_value_set_fundamental_object.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_value_set_fundamental_object.page new file mode 100644 index 00000000..e1efb486 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_value_set_fundamental_object.page @@ -0,0 +1,51 @@ +<?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>none</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-python"> +@accepts(GObject.Value, Regress.TestFundamentalObject) +@returns(none) +def test_value_set_fundamental_object(value, fundamental_object): + # Python 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-Python-expected/Regress.test_versioning.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_versioning.page new file mode 100644 index 00000000..4a5cfd82 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-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>none</api:type> + </api:returns> + <api:name>regress_test_versioning</api:name> + </api:function> + + </info> + <title>test_versioning</title> + +<synopsis><code mime="text/x-python"> +@returns(none) +def test_versioning(): + # Python wrapper for regress_test_versioning() +</code></synopsis> + + + + + + <p>Since 1.32.1</p> + + +<dl> +</dl> + + + +</page> diff --git a/tests/doctool/DocExamples-1.0-Python-expected/index.page b/tests/scanner/Regress-1.0-Python-expected/index.page index 1d89dedd..1d89dedd 100644 --- a/tests/doctool/DocExamples-1.0-Python-expected/index.page +++ b/tests/scanner/Regress-1.0-Python-expected/index.page |