krpctools 0.5.2__zip → 0.5.4__zip
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {krpctools-0.5.2 → krpctools-0.5.4}/CHANGES.txt +6 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/PKG-INFO +1 -1
- krpctools-0.5.4/VERSION.txt +1 -0
- krpctools-0.5.4/krpctools/bin/Google.Protobuf.dll +0 -0
- krpctools-0.5.4/krpctools/bin/KRPC.Core.dll +0 -0
- krpctools-0.5.2/krpctools/bin/KRPC.xml → krpctools-0.5.4/krpctools/bin/KRPC.Core.xml +907 -172
- krpctools-0.5.4/krpctools/bin/KRPC.IO.Ports.dll +0 -0
- krpctools-0.5.4/krpctools/bin/ServiceDefinitions.exe +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/bin/System.Core.dll +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/bin/System.Xml.dll +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/bin/System.dll +0 -0
- krpctools-0.5.2/krpctools/bin/TestServer-0.5.2.zip → krpctools-0.5.4/krpctools/bin/TestServer-0.5.4.zip +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/bin/mscorlib.dll +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/clientgen/python.tmpl +2 -2
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/servicedefs/__init__.py +15 -2
- krpctools-0.5.4/krpctools/version.py +1 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools.egg-info/PKG-INFO +1 -1
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools.egg-info/SOURCES.txt +4 -3
- krpctools-0.5.2/VERSION.txt +0 -1
- krpctools-0.5.2/krpctools/bin/Google.Protobuf.dll +0 -0
- krpctools-0.5.2/krpctools/bin/KRPC.dll +0 -0
- krpctools-0.5.2/krpctools/bin/ServiceDefinitions.exe +0 -0
- krpctools-0.5.2/krpctools/version.py +0 -1
- {krpctools-0.5.2 → krpctools-0.5.4}/COPYING +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/LICENSE +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/MANIFEST.in +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/README.txt +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/__init__.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/bin/NDesk.Options.dll +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/bin/Newtonsoft.Json.dll +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/bin/System.IO.dll +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/bin/System.Runtime.dll +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/clientgen/__init__.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/clientgen/cnano.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/clientgen/cnano.tmpl +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/clientgen/cpp.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/clientgen/cpp.tmpl +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/clientgen/csharp.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/clientgen/csharp.tmpl +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/clientgen/docparser.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/clientgen/generator.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/clientgen/java.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/clientgen/java.tmpl +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/clientgen/python.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/docgen/__init__.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/docgen/cnano.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/docgen/cnano.tmpl +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/docgen/cpp.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/docgen/cpp.tmpl +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/docgen/csharp.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/docgen/csharp.tmpl +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/docgen/docgen.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/docgen/domain.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/docgen/extensions.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/docgen/java.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/docgen/java.tmpl +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/docgen/lua.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/docgen/lua.tmpl +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/docgen/nodes.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/docgen/python.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/docgen/python.tmpl +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/docgen/utils.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/lang/__init__.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/lang/cnano.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/lang/cpp.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/lang/csharp.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/lang/java.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/lang/language.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/lang/lua.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/lang/python.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/Empty.json +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/TestService.json +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/__init__.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/clientgen-Empty-cnano.txt +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/clientgen-Empty-cpp.txt +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/clientgen-Empty-csharp.txt +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/clientgen-Empty-java.txt +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/clientgen-TestService-cnano.txt +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/clientgen-TestService-cpp.txt +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/clientgen-TestService-csharp.txt +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/clientgen-TestService-java.txt +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/clientgentest.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/docgen-Empty-cnano.rst +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/docgen-Empty-cpp.rst +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/docgen-Empty-csharp.rst +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/docgen-Empty-java.rst +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/docgen-Empty-lua.rst +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/docgen-Empty-python.rst +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/docgen-TestService-cnano.rst +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/docgen-TestService-cpp.rst +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/docgen-TestService-csharp.rst +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/docgen-TestService-java.rst +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/docgen-TestService-lua.rst +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/docgen-TestService-python.rst +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/docgentest.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/test_clientgen_cnano.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/test_clientgen_cpp.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/test_clientgen_csharp.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/test_clientgen_java.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/test_docgen_cnano.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/test_docgen_cpp.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/test_docgen_csharp.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/test_docgen_java.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/test_docgen_lua.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/test/test_docgen_python.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools/utils.py +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools.egg-info/dependency_links.txt +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools.egg-info/entry_points.txt +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools.egg-info/requires.txt +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/krpctools.egg-info/top_level.txt +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/setup.cfg +0 -0
- {krpctools-0.5.2 → krpctools-0.5.4}/setup.py +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -27,8 +27,8 @@ class {{enum_name}}(DocEnum):
|
|
|
27
27
|
{% if enumeration.documentation %}{{ enumeration.documentation | indent(width=4) }}
|
|
28
28
|
{% endif %}
|
|
29
29
|
{% for enum_value in enumeration['values'] %}
|
|
30
|
-
{{enum_value['name']}} = {{enum_value['value']}}{% if enum_value.documentation %}, {{ enum_value.documentation }}
|
|
31
|
-
|
|
30
|
+
{{enum_value['name']}} = {{enum_value['value']}}{% if enum_value.documentation %}, {{ enum_value.documentation }}{% endif %}
|
|
31
|
+
|
|
32
32
|
{% endfor %}
|
|
33
33
|
|
|
34
34
|
|
|
@@ -53,7 +53,6 @@ def servicedefs(ksp, service, assemblies):
|
|
|
53
53
|
if not os.path.exists(ksp):
|
|
54
54
|
raise RuntimeError('Kerbal Space Program directory does not exist.')
|
|
55
55
|
|
|
56
|
-
# TODO: delete when done
|
|
57
56
|
bindir = tempfile.mkdtemp(prefix='krpc-servicedefs-')
|
|
58
57
|
tmpout = bindir+'/out.json'
|
|
59
58
|
|
|
@@ -70,7 +69,18 @@ def servicedefs(ksp, service, assemblies):
|
|
|
70
69
|
ksp_dlls = [
|
|
71
70
|
'Assembly-CSharp.dll',
|
|
72
71
|
'Assembly-CSharp-firstpass.dll',
|
|
73
|
-
'UnityEngine.dll'
|
|
72
|
+
'UnityEngine.dll',
|
|
73
|
+
'UnityEngine.AnimationModule.dll',
|
|
74
|
+
'UnityEngine.AssetBundleModule.dll',
|
|
75
|
+
'UnityEngine.CoreModule.dll',
|
|
76
|
+
'UnityEngine.IMGUIModule.dll',
|
|
77
|
+
'UnityEngine.InputLegacyModule.dll',
|
|
78
|
+
'UnityEngine.ScreenCaptureModule.dll',
|
|
79
|
+
'UnityEngine.SharedInternalsModule.dll',
|
|
80
|
+
'UnityEngine.TextRenderingModule.dll',
|
|
81
|
+
'UnityEngine.UI.dll',
|
|
82
|
+
'UnityEngine.UIModule.dll',
|
|
83
|
+
'UnityEngine.UnityWebRequestWWWModule.dll',
|
|
74
84
|
]
|
|
75
85
|
ksp_data = 'KSP_Data/Managed'
|
|
76
86
|
if not os.path.exists(os.path.join(ksp, ksp_data)):
|
|
@@ -85,11 +95,14 @@ def servicedefs(ksp, service, assemblies):
|
|
|
85
95
|
'--output=%s' % tmpout, service] + assemblies,
|
|
86
96
|
stderr=subprocess.STDOUT)
|
|
87
97
|
except subprocess.CalledProcessError as ex:
|
|
98
|
+
shutil.rmtree(bindir)
|
|
88
99
|
raise RuntimeError(ex.output) from ex
|
|
89
100
|
|
|
90
101
|
with open(tmpout, 'r') as fp:
|
|
91
102
|
return fp.read()
|
|
92
103
|
|
|
104
|
+
shutil.rmtree(bindir)
|
|
105
|
+
|
|
93
106
|
|
|
94
107
|
if __name__ == '__main__':
|
|
95
108
|
main()
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '0.5.4'
|
|
@@ -15,8 +15,9 @@ krpctools.egg-info/entry_points.txt
|
|
|
15
15
|
krpctools.egg-info/requires.txt
|
|
16
16
|
krpctools.egg-info/top_level.txt
|
|
17
17
|
krpctools/bin/Google.Protobuf.dll
|
|
18
|
-
krpctools/bin/KRPC.dll
|
|
19
|
-
krpctools/bin/KRPC.xml
|
|
18
|
+
krpctools/bin/KRPC.Core.dll
|
|
19
|
+
krpctools/bin/KRPC.Core.xml
|
|
20
|
+
krpctools/bin/KRPC.IO.Ports.dll
|
|
20
21
|
krpctools/bin/NDesk.Options.dll
|
|
21
22
|
krpctools/bin/Newtonsoft.Json.dll
|
|
22
23
|
krpctools/bin/ServiceDefinitions.exe
|
|
@@ -25,7 +26,7 @@ krpctools/bin/System.IO.dll
|
|
|
25
26
|
krpctools/bin/System.Runtime.dll
|
|
26
27
|
krpctools/bin/System.Xml.dll
|
|
27
28
|
krpctools/bin/System.dll
|
|
28
|
-
krpctools/bin/TestServer-0.5.
|
|
29
|
+
krpctools/bin/TestServer-0.5.4.zip
|
|
29
30
|
krpctools/bin/mscorlib.dll
|
|
30
31
|
krpctools/clientgen/__init__.py
|
|
31
32
|
krpctools/clientgen/cnano.py
|
krpctools-0.5.2/VERSION.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.5.2
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '0.5.2'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|