gobject-introspection 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +7 -7
- data/ext/gobject-introspection/rb-gi-argument.c +28 -3
- data/ext/gobject-introspection/rb-gi-constructor-info.c +6 -1
- data/ext/gobject-introspection/rb-gi-function-info.c +29 -4
- data/ext/gobject-introspection/rb-gi-loader.c +19 -3
- data/ext/gobject-introspection/rb-gi-struct-info.c +28 -16
- data/lib/2.0/gobject_introspection.so +0 -0
- data/lib/gobject-introspection/callable-info.rb +16 -7
- data/lib/gobject-introspection/loader.rb +47 -19
- data/test/test-object-info.rb +1 -1
- data/test/test-signal-info.rb +2 -2
- data/test/test-struct-info.rb +1 -1
- data/vendor/local/bin/g-ir-compiler.exe +0 -0
- data/vendor/local/bin/g-ir-generate.exe +0 -0
- data/vendor/local/bin/libgirepository-1.0-1.dll +0 -0
- data/vendor/local/include/gobject-introspection-1.0/giarginfo.h +30 -0
- data/vendor/local/include/gobject-introspection-1.0/gibaseinfo.h +31 -0
- data/vendor/local/include/gobject-introspection-1.0/gicallableinfo.h +36 -0
- data/vendor/local/include/gobject-introspection-1.0/giconstantinfo.h +12 -0
- data/vendor/local/include/gobject-introspection-1.0/gienuminfo.h +26 -0
- data/vendor/local/include/gobject-introspection-1.0/gifieldinfo.h +19 -0
- data/vendor/local/include/gobject-introspection-1.0/gifunctioninfo.h +23 -0
- data/vendor/local/include/gobject-introspection-1.0/giinterfaceinfo.h +38 -0
- data/vendor/local/include/gobject-introspection-1.0/giobjectinfo.h +72 -2
- data/vendor/local/include/gobject-introspection-1.0/gipropertyinfo.h +12 -0
- data/vendor/local/include/gobject-introspection-1.0/giregisteredtypeinfo.h +11 -0
- data/vendor/local/include/gobject-introspection-1.0/girepository.h +68 -8
- data/vendor/local/include/gobject-introspection-1.0/girffi.h +25 -1
- data/vendor/local/include/gobject-introspection-1.0/gisignalinfo.h +12 -0
- data/vendor/local/include/gobject-introspection-1.0/gistructinfo.h +24 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypeinfo.h +31 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypelib.h +25 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypes.h +84 -13
- data/vendor/local/include/gobject-introspection-1.0/giunioninfo.h +27 -0
- data/vendor/local/include/gobject-introspection-1.0/giversionmacros.h +128 -0
- data/vendor/local/include/gobject-introspection-1.0/givfuncinfo.h +17 -0
- data/vendor/local/lib/girepository-1.0/GIRepository-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/GLib-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/GObject-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Gio-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/libxml2-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/win32-1.0.typelib +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.py +5 -4
- data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.py +1865 -913
- data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/ast.py +49 -16
- data/vendor/local/lib/gobject-introspection/giscanner/ast.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/ast.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/cachestore.py +10 -4
- data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.py +202 -0
- data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/codegen.py +32 -1
- data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.py +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.py +305 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/callback.tmpl +4 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/field.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/function.tmpl +8 -9
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/interface.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/callback.tmpl +27 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/class.tmpl +17 -5
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/enum.tmpl +8 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/field.tmpl +9 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/function.tmpl +12 -13
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/interface.tmpl +17 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/property.tmpl +3 -4
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/signal.tmpl +10 -9
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/vfunc.tmpl +7 -7
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl +27 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl +5 -4
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/field.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/function.tmpl +8 -14
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/interface.tmpl +16 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/property.tmpl +2 -3
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/signal.tmpl +6 -7
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/vfunc.tmpl +7 -13
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/base.tmpl +10 -19
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/class.tmpl +24 -3
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/namespace.tmpl +4 -7
- data/vendor/local/lib/gobject-introspection/giscanner/docwriter.py +375 -61
- data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/dumper.py +43 -75
- data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.py +1 -20
- data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/girparser.py +33 -15
- data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/girwriter.py +51 -22
- data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.py +285 -254
- data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/message.py +41 -25
- data/vendor/local/lib/gobject-introspection/giscanner/message.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/message.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/scannermain.py +67 -15
- data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/shlibs.py +10 -6
- data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.py +14 -8
- data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.py +16 -2
- data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/transformer.py +150 -169
- data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/utils.py +64 -3
- data/vendor/local/lib/gobject-introspection/giscanner/utils.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/utils.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.py +5 -44
- data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyo +0 -0
- data/vendor/local/lib/libgirepository-1.0.a +0 -0
- data/vendor/local/lib/libgirepository-1.0.dll.a +0 -0
- data/vendor/local/lib/libgirepository-1.0.la +1 -1
- data/vendor/local/lib/pkgconfig/gobject-introspection-1.0.pc +4 -4
- data/vendor/local/lib/pkgconfig/gobject-introspection-no-export-1.0.pc +5 -5
- data/vendor/local/share/gir-1.0/GIRepository-2.0.gir +352 -143
- data/vendor/local/share/gir-1.0/GLib-2.0.gir +6402 -3872
- data/vendor/local/share/gir-1.0/GModule-2.0.gir +42 -24
- data/vendor/local/share/gir-1.0/GObject-2.0.gir +1543 -887
- data/vendor/local/share/gir-1.0/Gio-2.0.gir +10859 -3705
- data/vendor/local/share/gobject-introspection-1.0/tests/annotation.c +10 -14
- data/vendor/local/share/gobject-introspection-1.0/tests/annotation.h +112 -9
- data/vendor/local/share/gobject-introspection-1.0/tests/drawable.c +2 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/drawable.h +11 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/everything.c +106 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/everything.h +107 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/foo.c +3 -3
- data/vendor/local/share/gobject-introspection-1.0/tests/foo.h +145 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.c +166 -10
- data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.h +790 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/gitestmacros.h +10 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/regress.c +79 -28
- data/vendor/local/share/gobject-introspection-1.0/tests/regress.h +462 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/utility.c +2 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/utility.h +7 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.c +14 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.h +10 -0
- data/vendor/local/share/man/man1/g-ir-compiler.1 +1 -10
- metadata +38 -23
- data/lib/1.9/gobject_introspection.so +0 -0
- data/lib/2.1/gobject_introspection.so +0 -0
@@ -3,7 +3,8 @@
|
|
3
3
|
<synopsis><code>
|
4
4
|
from gi.repository import ${namespace.name}
|
5
5
|
|
6
|
-
${formatter.to_underscores(node
|
6
|
+
${formatter.to_underscores(node).lower()} = ${namespace.name}.${node.name}(\
|
7
|
+
% if isinstance(node, (ast.Class, ast.Interface)):
|
7
8
|
% for ix, property_ in enumerate(node.properties):
|
8
9
|
% if property_.construct or property_.construct_only or property_.writable:
|
9
10
|
<link xref='${namespace.name}.${node.name}-${property_.name}'>${property_.name.replace('-', '_')}</link>=value\
|
@@ -12,6 +13,6 @@ ${formatter.to_underscores(node.name).lower()} = ${namespace.name}.${node.name}(
|
|
12
13
|
% endif
|
13
14
|
% endif
|
14
15
|
% endfor
|
15
|
-
|
16
|
-
|
17
|
-
|
16
|
+
% endif
|
17
|
+
)
|
18
|
+
</code></synopsis></%block>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<api:type>${formatter.format_type(node.retval.type) | x}</api:type>
|
7
7
|
</api:returns>
|
8
8
|
<api:name>${node.symbol}</api:name>
|
9
|
-
% for arg in formatter.
|
9
|
+
% for arg in formatter.get_in_parameters(node):
|
10
10
|
% if arg.type.ctype == '<varargs>':
|
11
11
|
<api:varargs/>
|
12
12
|
% else:
|
@@ -19,24 +19,18 @@
|
|
19
19
|
</api:function>
|
20
20
|
</%block>
|
21
21
|
<%block name="synopsis">
|
22
|
-
<synopsis><code mime="text/x-python">
|
23
|
-
% if formatter.
|
24
|
-
@accepts(
|
25
|
-
${', '.join((formatter.format_type(arg.type) for arg in formatter.get_parameters(node)))}\
|
26
|
-
)
|
22
|
+
<synopsis><code mime="text/x-python">
|
23
|
+
% if formatter.get_in_parameters(node):
|
24
|
+
@accepts(${', '.join((formatter.format_type(arg.type) for arg in formatter.get_in_parameters(node)))})
|
27
25
|
% endif
|
28
26
|
@returns(${formatter.format_type(node.retval.type) | x})
|
29
|
-
def
|
30
|
-
${node.name}(\
|
31
|
-
${', '.join((formatter.format_parameter_name(node, arg) for arg in formatter.get_parameters(node)))}\
|
32
|
-
):
|
27
|
+
def ${node.name}(${', '.join((formatter.format_parameter_name(node, arg) for arg in formatter.get_in_parameters(node)))}):
|
33
28
|
# Python wrapper for ${node.symbol}()
|
34
|
-
</code></synopsis>
|
35
|
-
</%block>
|
29
|
+
</code></synopsis></%block>
|
36
30
|
<%block name="details">
|
37
|
-
% if formatter.
|
31
|
+
% if formatter.get_in_parameters(node) or node.retval:
|
38
32
|
<terms>
|
39
|
-
% for ix, arg in enumerate(formatter.
|
33
|
+
% for ix, arg in enumerate(formatter.get_in_parameters(node)):
|
40
34
|
<item>
|
41
35
|
<title><code>${formatter.format_parameter_name(node, arg)}</code></title>
|
42
36
|
${formatter.format(node, arg.doc)}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<%inherit file="/class.tmpl"/>
|
2
|
+
<%block name="synopsis">
|
3
|
+
<synopsis><code>
|
4
|
+
from gi.repository import ${namespace.name}
|
5
|
+
|
6
|
+
${formatter.to_underscores(node).lower()} = ${namespace.name}.${node.name}(\
|
7
|
+
% for ix, property_ in enumerate(node.properties):
|
8
|
+
% if property_.construct or property_.construct_only or property_.writable:
|
9
|
+
<link xref='${namespace.name}.${node.name}-${property_.name}'>${property_.name.replace('-', '_')}</link>=value\
|
10
|
+
% if ix != len(node.properties) - 1:
|
11
|
+
, \
|
12
|
+
% endif
|
13
|
+
% endif
|
14
|
+
% endfor
|
15
|
+
)\
|
16
|
+
</code></synopsis></%block>
|
@@ -4,7 +4,6 @@
|
|
4
4
|
<title type="link" role="topic">${node.name}</title>
|
5
5
|
</%block>
|
6
6
|
<%block name="synopsis">
|
7
|
-
<synopsis><code mime="text/x-python">
|
7
|
+
<synopsis><code mime="text/x-python">
|
8
8
|
"${node.name}" ${formatter.format_type(node.type)} : ${formatter.format_property_flags(node)}
|
9
|
-
</code></synopsis>
|
10
|
-
</%block>
|
9
|
+
</code></synopsis></%block>
|
@@ -4,21 +4,20 @@
|
|
4
4
|
<title type="link" role="topic">${node.name}</title>
|
5
5
|
</%block>
|
6
6
|
<%block name="synopsis">
|
7
|
-
<synopsis><code mime="text/x-python">
|
8
|
-
def callback(${formatter.to_underscores(node.parent
|
9
|
-
% for arg in formatter.
|
7
|
+
<synopsis><code mime="text/x-python">
|
8
|
+
def callback(${formatter.to_underscores(node.parent).lower()}, \
|
9
|
+
% for arg in formatter.get_in_parameters(node):
|
10
10
|
${arg.argname}, \
|
11
11
|
% endfor
|
12
12
|
user_param1, ...)
|
13
|
-
</code></synopsis>
|
14
|
-
</%block>
|
13
|
+
</code></synopsis></%block>
|
15
14
|
<%block name="details">
|
16
15
|
<terms>
|
17
16
|
<item>
|
18
|
-
<title><code>${formatter.to_underscores(node.parent
|
17
|
+
<title><code>${formatter.to_underscores(node.parent).lower()}</code></title>
|
19
18
|
<p>instance of ${formatter.format_xref(node.parent)} that is emitting the signal</p>
|
20
19
|
</item>
|
21
|
-
% for arg in formatter.
|
20
|
+
% for arg in formatter.get_in_parameters(node):
|
22
21
|
<item>
|
23
22
|
<title><code>${arg.argname}</code></title>
|
24
23
|
${formatter.format(node, arg.doc)}
|
@@ -1,22 +1,16 @@
|
|
1
1
|
<%inherit file="/base.tmpl"/>
|
2
2
|
<%block name="synopsis">
|
3
|
-
<synopsis><code mime="text/x-python">
|
4
|
-
% if formatter.
|
5
|
-
@accepts(
|
6
|
-
${', '.join((formatter.format_type(arg.type) for arg in formatter.get_parameters(node)))}\
|
7
|
-
)
|
3
|
+
<synopsis><code mime="text/x-python">
|
4
|
+
% if formatter.get_in_parameters(node):
|
5
|
+
@accepts(${', '.join((formatter.format_type(arg.type) for arg in formatter.get_in_parameters(node)))})
|
8
6
|
% endif
|
9
7
|
@returns(${formatter.format_type(node.retval.type) | x})
|
10
|
-
def
|
11
|
-
|
12
|
-
${', '.join((arg.argname for arg in formatter.get_parameters(node)))}\
|
13
|
-
):
|
14
|
-
</code></synopsis>
|
15
|
-
</%block>
|
8
|
+
def do_${node.name}(${', '.join((arg.argname for arg in formatter.get_in_parameters(node)))}):
|
9
|
+
</code></synopsis></%block>
|
16
10
|
<%block name="details">
|
17
|
-
% if formatter.
|
11
|
+
% if formatter.get_in_parameters(node) or node.retval:
|
18
12
|
<terms>
|
19
|
-
% for arg in formatter.
|
13
|
+
% for arg in formatter.get_in_parameters(node):
|
20
14
|
<item>
|
21
15
|
<title><code>${arg.argname}</code></title>
|
22
16
|
${formatter.format(node, arg.doc)}
|
@@ -6,24 +6,15 @@
|
|
6
6
|
xmlns="http://projectmallard.org/1.0/"
|
7
7
|
xmlns:api="http://projectmallard.org/experimental/api/"
|
8
8
|
xmlns:ui="http://projectmallard.org/1.0/ui/">
|
9
|
-
<info>
|
10
|
-
|
11
|
-
|
12
|
-
</%block>
|
9
|
+
<info><%block name="info">
|
10
|
+
${formatter.format_xref(node.parent, type="guide", group=page_kind)}
|
11
|
+
</%block>\
|
13
12
|
</info>
|
14
|
-
<title><%block name="title">${formatter.format_page_name(node)}</%block></title>
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
% if node.version:
|
22
|
-
<p>Since ${node.version}</p>
|
23
|
-
% endif
|
24
|
-
</%block>
|
25
|
-
<%block name="details">
|
26
|
-
</%block>
|
27
|
-
<%block name="links">
|
28
|
-
</%block>
|
13
|
+
<title><%block name="title">${formatter.format_page_name(node)}</%block></title><%block name="synopsis"></%block><%block name="doc">
|
14
|
+
${formatter.format(node, node.doc)}
|
15
|
+
</%block><%block name="since_version">\
|
16
|
+
% if node.version:
|
17
|
+
<p>Since ${node.version}</p>\
|
18
|
+
% endif
|
19
|
+
</%block><%block name="details"></%block><%block name="links"></%block>
|
29
20
|
</page>
|
@@ -1,6 +1,7 @@
|
|
1
1
|
<%! page_type="guide" %>\
|
2
2
|
<%inherit file="/base.tmpl"/>
|
3
3
|
<%block name="details">
|
4
|
+
% if isinstance(node, ast.Class):
|
4
5
|
<synopsis>
|
5
6
|
<title>Hierarchy</title>
|
6
7
|
<tree>
|
@@ -13,8 +14,23 @@
|
|
13
14
|
% endfor
|
14
15
|
</tree>
|
15
16
|
</synopsis>
|
17
|
+
% elif isinstance(node, ast.Interface):
|
18
|
+
<synopsis>
|
19
|
+
<title>Prerequisites</title>
|
20
|
+
<p>${node.name} requires ${formatter.format_prerequisites(node)}</p>
|
21
|
+
</synopsis>
|
22
|
+
<synopsis>
|
23
|
+
<title>Known Implementations</title>
|
24
|
+
<p>${formatter.format_known_implementations(node)}</p>
|
25
|
+
</synopsis>
|
26
|
+
% endif
|
16
27
|
</%block>
|
17
|
-
<%block name="links"
|
28
|
+
<%block name="links">\
|
29
|
+
<links type="topic" ui:expanded="true"
|
30
|
+
api:type="function" api:mime="${formatter.mime_type}"
|
31
|
+
groups="constructor" style="linklist">
|
32
|
+
<title>Constructors</title>
|
33
|
+
</links>
|
18
34
|
<links type="topic" ui:expanded="true"
|
19
35
|
api:type="function" api:mime="${formatter.mime_type}"
|
20
36
|
groups="method" style="linklist">
|
@@ -23,8 +39,9 @@
|
|
23
39
|
<links type="topic" ui:expanded="true"
|
24
40
|
api:type="function" api:mime="${formatter.mime_type}"
|
25
41
|
groups="function" style="linklist">
|
26
|
-
<title>Functions</title>
|
42
|
+
<title>Static Functions</title>
|
27
43
|
</links>
|
44
|
+
% if isinstance(node, (ast.Class, ast.Interface)):
|
28
45
|
<links type="topic" ui:expanded="true" groups="property" style="linklist">
|
29
46
|
<title>Properties</title>
|
30
47
|
</links>
|
@@ -34,7 +51,11 @@
|
|
34
51
|
<links type="topic" ui:expanded="true" groups="vfunc" style="linklist">
|
35
52
|
<title>Virtual functions</title>
|
36
53
|
</links>
|
54
|
+
% endif
|
55
|
+
<links type="topic" ui:expanded="true" groups="field" style="linklist">
|
56
|
+
<title>Fields</title>
|
57
|
+
</links>
|
37
58
|
<links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist">
|
38
59
|
<title>Other</title>
|
39
|
-
</links
|
60
|
+
</links>\
|
40
61
|
</%block>
|
@@ -1,11 +1,9 @@
|
|
1
1
|
<%! page_type="guide" %>\
|
2
2
|
<%inherit file="/base.tmpl"/>
|
3
|
-
<%block name="doc">
|
4
|
-
|
5
|
-
<%block name="info">
|
6
|
-
</%block>
|
3
|
+
<%block name="doc"></%block>
|
4
|
+
<%block name="info"></%block>
|
7
5
|
<%block name="links">
|
8
|
-
<links type="topic" ui:expanded="true" groups="class" style="linklist">
|
6
|
+
<links type="topic" ui:expanded="true" groups="class interface" style="linklist">
|
9
7
|
<title>Classes</title>
|
10
8
|
</links>
|
11
9
|
<links type="topic" ui:expanded="true" groups="function" style="linklist">
|
@@ -15,5 +13,4 @@
|
|
15
13
|
<title>Other</title>
|
16
14
|
</links>
|
17
15
|
</%block>
|
18
|
-
<%block name="since_version">
|
19
|
-
</%block>
|
16
|
+
<%block name="since_version"></%block>
|