LangSC 2.2.2__tar.gz → 2.3.0__tar.gz
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.
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/__version__.py +1 -1
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/gpf.py +29 -23
- {langsc-2.2.2 → langsc-2.3.0/LangSC.egg-info}/PKG-INFO +3 -2
- langsc-2.3.0/LangSC.egg-info/SOURCES.txt +35 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC.egg-info/requires.txt +1 -0
- {langsc-2.2.2/LangSC.egg-info → langsc-2.3.0}/PKG-INFO +3 -2
- {langsc-2.2.2 → langsc-2.3.0}/setup.cfg +2 -3
- langsc-2.2.2/LangSC/Graph/Pathplan.dll +0 -0
- langsc-2.2.2/LangSC/Graph/cdt.dll +0 -0
- langsc-2.2.2/LangSC/Graph/cgraph.dll +0 -0
- langsc-2.2.2/LangSC/Graph/config6 +0 -273
- langsc-2.2.2/LangSC/Graph/dot.exe +0 -0
- langsc-2.2.2/LangSC/Graph/fontconfig.dll +0 -0
- langsc-2.2.2/LangSC/Graph/fontconfig_fix.dll +0 -0
- langsc-2.2.2/LangSC/Graph/freetype6.dll +0 -0
- langsc-2.2.2/LangSC/Graph/gvc.dll +0 -0
- langsc-2.2.2/LangSC/Graph/gvplugin_core.dll +0 -0
- langsc-2.2.2/LangSC/Graph/gvplugin_dot_layout.dll +0 -0
- langsc-2.2.2/LangSC/Graph/gvplugin_gd.dll +0 -0
- langsc-2.2.2/LangSC/Graph/gvplugin_pango.dll +0 -0
- langsc-2.2.2/LangSC/Graph/iconv.dll +0 -0
- langsc-2.2.2/LangSC/Graph/intl.dll +0 -0
- langsc-2.2.2/LangSC/Graph/jpeg62.dll +0 -0
- langsc-2.2.2/LangSC/Graph/libcairo-2.dll +0 -0
- langsc-2.2.2/LangSC/Graph/libexpat-1.dll +0 -0
- langsc-2.2.2/LangSC/Graph/libexpat.dll +0 -0
- langsc-2.2.2/LangSC/Graph/libfontconfig-1.dll +0 -0
- langsc-2.2.2/LangSC/Graph/libfreetype-6.dll +0 -0
- langsc-2.2.2/LangSC/Graph/libgdk_pixbuf-2.0-0.dll +0 -0
- langsc-2.2.2/LangSC/Graph/libglade-2.0-0.dll +0 -0
- langsc-2.2.2/LangSC/Graph/libglib-2.0-0.dll +0 -0
- langsc-2.2.2/LangSC/Graph/libgmodule-2.0-0.dll +0 -0
- langsc-2.2.2/LangSC/Graph/libgobject-2.0-0.dll +0 -0
- langsc-2.2.2/LangSC/Graph/libgthread-2.0-0.dll +0 -0
- langsc-2.2.2/LangSC/Graph/libgtkglext-win32-1.0-0.dll +0 -0
- langsc-2.2.2/LangSC/Graph/libpango-1.0-0.dll +0 -0
- langsc-2.2.2/LangSC/Graph/libpangocairo-1.0-0.dll +0 -0
- langsc-2.2.2/LangSC/Graph/libpangoft2-1.0-0.dll +0 -0
- langsc-2.2.2/LangSC/Graph/libpangowin32-1.0-0.dll +0 -0
- langsc-2.2.2/LangSC/Graph/libpng14-14.dll +0 -0
- langsc-2.2.2/LangSC/Graph/librsvg-2-2.dll +0 -0
- langsc-2.2.2/LangSC/Graph/libxml2.dll +0 -0
- langsc-2.2.2/LangSC/Graph/ltdl.dll +0 -0
- langsc-2.2.2/LangSC/Graph/zlib1.dll +0 -0
- langsc-2.2.2/LangSC.egg-info/SOURCES.txt +0 -72
- {langsc-2.2.2 → langsc-2.3.0}/LICENSE +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/BCCconfig.txt +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/GPFconfig.txt +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/Parser.lua +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/Segment.dat +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/__init__.py +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/_utils.py +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/base.lex +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/bcc.py +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/bcclib.dll +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/gpflib.dll +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/idxPOS.dat +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/jss.py +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/jsslib.dll +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/libbcclib.dylib +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/libbcclib.so +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/libgpflib.dylib +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/libgpflib.so +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/libjsslib.dylib +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC/libjsslib.so +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC.egg-info/dependency_links.txt +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC.egg-info/not-zip-safe +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/LangSC.egg-info/top_level.txt +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/MANIFEST.in +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/README.md +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/pyproject.toml +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/setup.py +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/tests/test_gpf_threadsafe.py +0 -0
- {langsc-2.2.2 → langsc-2.3.0}/tests/test_win_smoke.py +0 -0
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
# Keep __version__ a plain string literal: setup.cfg reads it statically via
|
|
3
3
|
# `version = attr: LangSC.__version__.__version__`, so it must stay AST-parseable
|
|
4
4
|
# (no computed expression) to avoid importing the package at build time.
|
|
5
|
-
__version__ = "2.
|
|
5
|
+
__version__ = "2.3.0"
|
|
6
6
|
|
|
7
7
|
VERSION = tuple(int(x) for x in __version__.split("."))
|
|
@@ -95,16 +95,17 @@ class GPF:
|
|
|
95
95
|
|
|
96
96
|
if OS == "Windows":
|
|
97
97
|
self.dll_close = win32api.FreeLibrary
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
else:
|
|
99
|
+
# Linux / macOS:通过 libc 的 dlclose 释放句柄
|
|
100
100
|
try:
|
|
101
101
|
stdlib = CDLL("")
|
|
102
102
|
except OSError:
|
|
103
|
-
stdlib = CDLL("libc.so")
|
|
103
|
+
stdlib = CDLL("libc.so" if OS == "Linux" else "libc.dylib")
|
|
104
104
|
self.dll_close = stdlib.dlclose
|
|
105
105
|
self.dll_close.argtypes = [c_void_p]
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
# 绘图默认字体:Graphviz 渲染中文需宿主机存在对应 CJK 字体。
|
|
107
|
+
# Windows 自带“仿宋/fangsong”;Linux 若缺中文字体会显示方框,
|
|
108
|
+
# 需安装 CJK 字体(如 fonts-wqy-zenhei / Noto Sans CJK)。
|
|
108
109
|
self._init_gpf_data(dataPath)
|
|
109
110
|
|
|
110
111
|
def __del__(self):
|
|
@@ -653,6 +654,26 @@ class GPF:
|
|
|
653
654
|
return True
|
|
654
655
|
return False
|
|
655
656
|
|
|
657
|
+
def _render_dot(self, dot_source, img, fmt=None):
|
|
658
|
+
"""用 pygraphviz(wheel 自带 Graphviz 二进制)将 DOT 渲染为图片。
|
|
659
|
+
|
|
660
|
+
跨 Windows / Linux / macOS,无需系统另装 Graphviz,替代原先只在
|
|
661
|
+
Windows 可用的 Graph/dot.exe 子进程调用。渲染中文需宿主机安装对应
|
|
662
|
+
CJK 字体(模板默认 fontname="fangsong"),否则中文会显示为方框。
|
|
663
|
+
"""
|
|
664
|
+
try:
|
|
665
|
+
import pygraphviz as pgv
|
|
666
|
+
except ImportError as e:
|
|
667
|
+
raise ImportError(
|
|
668
|
+
"绘图需要 pygraphviz(自带 Graphviz,跨平台)。"
|
|
669
|
+
"请执行: pip install pygraphviz"
|
|
670
|
+
) from e
|
|
671
|
+
if fmt is None:
|
|
672
|
+
ext = os.path.splitext(img)[1].lstrip(".").lower()
|
|
673
|
+
fmt = ext if ext else "png"
|
|
674
|
+
g = pgv.AGraph(string=dot_source)
|
|
675
|
+
g.draw(img, format=fmt, prog="dot")
|
|
676
|
+
|
|
656
677
|
# --- Index ---
|
|
657
678
|
|
|
658
679
|
def IndexFSA(self, rule_filename):
|
|
@@ -934,12 +955,7 @@ class GPF:
|
|
|
934
955
|
elif Type == "Tree":
|
|
935
956
|
DotInfo = self.ShowTree(Json)
|
|
936
957
|
|
|
937
|
-
|
|
938
|
-
print(DotInfo, file=Out)
|
|
939
|
-
Out.close()
|
|
940
|
-
Cmd = self.DotExe + " -Tpng " + " ./tmp.dot -o " + Img
|
|
941
|
-
os.system(Cmd)
|
|
942
|
-
os.remove("./tmp.dot")
|
|
958
|
+
self._render_dot(DotInfo, Img)
|
|
943
959
|
|
|
944
960
|
def UnitInfo(self, Unit):
|
|
945
961
|
Ret = Unit
|
|
@@ -968,12 +984,7 @@ class GPF:
|
|
|
968
984
|
Script += self.UnitInfo(Unit) + "->" + self.UnitInfo(K) + '[ label=" ' + K + ' "]' + "\n"
|
|
969
985
|
|
|
970
986
|
Script += '}' + "\n"
|
|
971
|
-
|
|
972
|
-
print(Script, file=Out)
|
|
973
|
-
Out.close()
|
|
974
|
-
Cmd = self.DotExe + " -Tpng " + " ./tmp.dot -o " + Img
|
|
975
|
-
os.system(Cmd)
|
|
976
|
-
os.remove("./tmp.dot")
|
|
987
|
+
self._render_dot(Script, Img)
|
|
977
988
|
|
|
978
989
|
def ShowRelation(self, Img="./gpf.png"):
|
|
979
990
|
self.ShowGrid(Img, True, True)
|
|
@@ -1022,12 +1033,7 @@ class GPF:
|
|
|
1022
1033
|
else:
|
|
1023
1034
|
Script += self.UnitInfo(U) + "->" + self.UnitInfo(H) + '[ label=" ' + Rel + ' "]' + "\n"
|
|
1024
1035
|
Script += '}' + "\n"
|
|
1025
|
-
|
|
1026
|
-
print(Script, file=Out)
|
|
1027
|
-
Out.close()
|
|
1028
|
-
Cmd = self.DotExe + " -Tpng " + " ./tmp.dot -o " + Img
|
|
1029
|
-
os.system(Cmd)
|
|
1030
|
-
os.remove("./tmp.dot")
|
|
1036
|
+
self._render_dot(Script, Img)
|
|
1031
1037
|
|
|
1032
1038
|
def GetJSUnitInfo(self, JS):
|
|
1033
1039
|
Att = ""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: LangSC
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: Language Structure Computation - GPF, BCC, and JSS unified package
|
|
5
5
|
Author: endongxun
|
|
6
6
|
Author-email: xunendong@gmail.com
|
|
@@ -12,10 +12,11 @@ Classifier: Operating System :: MacOS
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
|
14
14
|
Classifier: License :: OSI Approved :: MIT License
|
|
15
|
-
Requires-Python: >=3.
|
|
15
|
+
Requires-Python: >=3.10
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
18
|
Requires-Dist: pywin32; platform_system == "Windows"
|
|
19
|
+
Requires-Dist: pygraphviz
|
|
19
20
|
Requires-Dist: wordcloud
|
|
20
21
|
Requires-Dist: requests
|
|
21
22
|
Requires-Dist: chardet
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
MANIFEST.in
|
|
3
|
+
README.md
|
|
4
|
+
pyproject.toml
|
|
5
|
+
setup.cfg
|
|
6
|
+
setup.py
|
|
7
|
+
LangSC/BCCconfig.txt
|
|
8
|
+
LangSC/GPFconfig.txt
|
|
9
|
+
LangSC/Parser.lua
|
|
10
|
+
LangSC/Segment.dat
|
|
11
|
+
LangSC/__init__.py
|
|
12
|
+
LangSC/__version__.py
|
|
13
|
+
LangSC/_utils.py
|
|
14
|
+
LangSC/base.lex
|
|
15
|
+
LangSC/bcc.py
|
|
16
|
+
LangSC/bcclib.dll
|
|
17
|
+
LangSC/gpf.py
|
|
18
|
+
LangSC/gpflib.dll
|
|
19
|
+
LangSC/idxPOS.dat
|
|
20
|
+
LangSC/jss.py
|
|
21
|
+
LangSC/jsslib.dll
|
|
22
|
+
LangSC/libbcclib.dylib
|
|
23
|
+
LangSC/libbcclib.so
|
|
24
|
+
LangSC/libgpflib.dylib
|
|
25
|
+
LangSC/libgpflib.so
|
|
26
|
+
LangSC/libjsslib.dylib
|
|
27
|
+
LangSC/libjsslib.so
|
|
28
|
+
LangSC.egg-info/PKG-INFO
|
|
29
|
+
LangSC.egg-info/SOURCES.txt
|
|
30
|
+
LangSC.egg-info/dependency_links.txt
|
|
31
|
+
LangSC.egg-info/not-zip-safe
|
|
32
|
+
LangSC.egg-info/requires.txt
|
|
33
|
+
LangSC.egg-info/top_level.txt
|
|
34
|
+
tests/test_gpf_threadsafe.py
|
|
35
|
+
tests/test_win_smoke.py
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: LangSC
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: Language Structure Computation - GPF, BCC, and JSS unified package
|
|
5
5
|
Author: endongxun
|
|
6
6
|
Author-email: xunendong@gmail.com
|
|
@@ -12,10 +12,11 @@ Classifier: Operating System :: MacOS
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
|
14
14
|
Classifier: License :: OSI Approved :: MIT License
|
|
15
|
-
Requires-Python: >=3.
|
|
15
|
+
Requires-Python: >=3.10
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
18
|
Requires-Dist: pywin32; platform_system == "Windows"
|
|
19
|
+
Requires-Dist: pygraphviz
|
|
19
20
|
Requires-Dist: wordcloud
|
|
20
21
|
Requires-Dist: requests
|
|
21
22
|
Requires-Dist: chardet
|
|
@@ -22,15 +22,14 @@ include_package_data = True
|
|
|
22
22
|
packages = find:
|
|
23
23
|
install_requires =
|
|
24
24
|
pywin32; platform_system == "Windows"
|
|
25
|
+
pygraphviz
|
|
25
26
|
wordcloud
|
|
26
27
|
requests
|
|
27
28
|
chardet
|
|
28
|
-
python_requires = >= 3.
|
|
29
|
+
python_requires = >= 3.10
|
|
29
30
|
|
|
30
31
|
[options.package_data]
|
|
31
32
|
LangSC =
|
|
32
|
-
Graph/*.*
|
|
33
|
-
Graph/config6
|
|
34
33
|
gpflib.dll
|
|
35
34
|
bcclib.dll
|
|
36
35
|
jsslib.dll
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,273 +0,0 @@
|
|
|
1
|
-
# This file was generated by "dot -c" at time of install.
|
|
2
|
-
|
|
3
|
-
# You may temporarily disable a plugin by removing or commenting out
|
|
4
|
-
# a line in this file, or you can modify its "quality" value to affect
|
|
5
|
-
# default plugin selection.
|
|
6
|
-
|
|
7
|
-
# Manual edits to this file **will be lost** on upgrade.
|
|
8
|
-
|
|
9
|
-
gvplugin_core.dll core {
|
|
10
|
-
device {
|
|
11
|
-
dot:dot 1
|
|
12
|
-
gv:dot 1
|
|
13
|
-
canon:dot 1
|
|
14
|
-
plain:dot 1
|
|
15
|
-
plain-ext:dot 1
|
|
16
|
-
xdot:xdot 1
|
|
17
|
-
xdot1.2:xdot 1
|
|
18
|
-
xdot1.4:xdot 1
|
|
19
|
-
}
|
|
20
|
-
device {
|
|
21
|
-
fig:fig 1
|
|
22
|
-
}
|
|
23
|
-
device {
|
|
24
|
-
ismap:map 1
|
|
25
|
-
cmap:map 1
|
|
26
|
-
imap:map 1
|
|
27
|
-
cmapx:map 1
|
|
28
|
-
imap_np:map 1
|
|
29
|
-
cmapx_np:map 1
|
|
30
|
-
}
|
|
31
|
-
device {
|
|
32
|
-
ps:ps 1
|
|
33
|
-
ps2:ps 1
|
|
34
|
-
eps:ps 1
|
|
35
|
-
}
|
|
36
|
-
device {
|
|
37
|
-
svg:svg 1
|
|
38
|
-
svgz:svg 1
|
|
39
|
-
}
|
|
40
|
-
device {
|
|
41
|
-
tk:tk 1
|
|
42
|
-
}
|
|
43
|
-
device {
|
|
44
|
-
vml:vml 1
|
|
45
|
-
vmlz:vml 1
|
|
46
|
-
}
|
|
47
|
-
device {
|
|
48
|
-
pic:pic -1
|
|
49
|
-
}
|
|
50
|
-
device {
|
|
51
|
-
pov:pov 1
|
|
52
|
-
}
|
|
53
|
-
render {
|
|
54
|
-
dot 1
|
|
55
|
-
xdot 1
|
|
56
|
-
}
|
|
57
|
-
render {
|
|
58
|
-
fig 1
|
|
59
|
-
}
|
|
60
|
-
render {
|
|
61
|
-
map 1
|
|
62
|
-
}
|
|
63
|
-
render {
|
|
64
|
-
ps 1
|
|
65
|
-
}
|
|
66
|
-
render {
|
|
67
|
-
svg 1
|
|
68
|
-
}
|
|
69
|
-
render {
|
|
70
|
-
tk 1
|
|
71
|
-
}
|
|
72
|
-
render {
|
|
73
|
-
vml 1
|
|
74
|
-
}
|
|
75
|
-
render {
|
|
76
|
-
pic -1
|
|
77
|
-
}
|
|
78
|
-
render {
|
|
79
|
-
pov 1
|
|
80
|
-
}
|
|
81
|
-
loadimage {
|
|
82
|
-
png:svg 1
|
|
83
|
-
gif:svg 1
|
|
84
|
-
jpeg:svg 1
|
|
85
|
-
jpe:svg 1
|
|
86
|
-
jpg:svg 1
|
|
87
|
-
png:fig 1
|
|
88
|
-
gif:fig 1
|
|
89
|
-
jpeg:fig 1
|
|
90
|
-
jpe:fig 1
|
|
91
|
-
jpg:fig 1
|
|
92
|
-
png:vrml 1
|
|
93
|
-
gif:vrml 1
|
|
94
|
-
jpeg:vrml 1
|
|
95
|
-
jpe:vrml 1
|
|
96
|
-
jpg:vrml 1
|
|
97
|
-
eps:ps 1
|
|
98
|
-
ps:ps 1
|
|
99
|
-
(lib):ps 1
|
|
100
|
-
png:map 1
|
|
101
|
-
gif:map 1
|
|
102
|
-
jpeg:map 1
|
|
103
|
-
jpe:map 1
|
|
104
|
-
jpg:map 1
|
|
105
|
-
ps:map 1
|
|
106
|
-
eps:map 1
|
|
107
|
-
svg:map 1
|
|
108
|
-
png:dot 1
|
|
109
|
-
gif:dot 1
|
|
110
|
-
jpeg:dot 1
|
|
111
|
-
jpe:dot 1
|
|
112
|
-
jpg:dot 1
|
|
113
|
-
ps:dot 1
|
|
114
|
-
eps:dot 1
|
|
115
|
-
svg:dot 1
|
|
116
|
-
png:xdot 1
|
|
117
|
-
gif:xdot 1
|
|
118
|
-
jpeg:xdot 1
|
|
119
|
-
jpe:xdot 1
|
|
120
|
-
jpg:xdot 1
|
|
121
|
-
ps:xdot 1
|
|
122
|
-
eps:xdot 1
|
|
123
|
-
svg:xdot 1
|
|
124
|
-
svg:svg 1
|
|
125
|
-
png:vml 1
|
|
126
|
-
gif:vml 1
|
|
127
|
-
jpeg:vml 1
|
|
128
|
-
jpe:vml 1
|
|
129
|
-
jpg:vml 1
|
|
130
|
-
gif:tk 1
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
gvplugin_dot_layout.dll dot_layout {
|
|
134
|
-
layout {
|
|
135
|
-
dot 0
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
gvplugin_gd.dll gd {
|
|
139
|
-
render {
|
|
140
|
-
gd 1
|
|
141
|
-
}
|
|
142
|
-
render {
|
|
143
|
-
vrml 1
|
|
144
|
-
}
|
|
145
|
-
textlayout {
|
|
146
|
-
textlayout 2
|
|
147
|
-
}
|
|
148
|
-
loadimage {
|
|
149
|
-
gd:gd 1
|
|
150
|
-
gd2:gd 1
|
|
151
|
-
gif:gd 1
|
|
152
|
-
jpeg:gd 1
|
|
153
|
-
jpe:gd 1
|
|
154
|
-
jpg:gd 1
|
|
155
|
-
png:gd 1
|
|
156
|
-
gd:ps 1
|
|
157
|
-
#FAILS gd:lasi 1
|
|
158
|
-
gd2:ps 1
|
|
159
|
-
#FAILS gd2:lasi 1
|
|
160
|
-
gif:ps 1
|
|
161
|
-
#FAILS gif:lasi 1
|
|
162
|
-
jpeg:ps 1
|
|
163
|
-
jpg:ps 1
|
|
164
|
-
jpe:ps 1
|
|
165
|
-
#FAILS jpeg:lasi 1
|
|
166
|
-
#FAILS jpg:lasi 1
|
|
167
|
-
#FAILS jpe:lasi 1
|
|
168
|
-
png:ps 1
|
|
169
|
-
#FAILS png:lasi 1
|
|
170
|
-
gd:cairo 1
|
|
171
|
-
gd2:cairo 1
|
|
172
|
-
gif:cairo 1
|
|
173
|
-
jpeg:cairo 1
|
|
174
|
-
jpg:cairo 1
|
|
175
|
-
jpe:cairo 1
|
|
176
|
-
png:cairo -1
|
|
177
|
-
}
|
|
178
|
-
device {
|
|
179
|
-
gif:cairo 10
|
|
180
|
-
wbmp:cairo 5
|
|
181
|
-
jpe:cairo 5
|
|
182
|
-
jpeg:cairo 5
|
|
183
|
-
jpg:cairo 5
|
|
184
|
-
png:cairo 5
|
|
185
|
-
gd:cairo 5
|
|
186
|
-
gd2:cairo 5
|
|
187
|
-
}
|
|
188
|
-
device {
|
|
189
|
-
gif:gd 1
|
|
190
|
-
wbmp:gd 1
|
|
191
|
-
jpe:gd 1
|
|
192
|
-
jpeg:gd 1
|
|
193
|
-
jpg:gd 1
|
|
194
|
-
png:gd 1
|
|
195
|
-
gd:gd 1
|
|
196
|
-
gd2:gd 1
|
|
197
|
-
}
|
|
198
|
-
device {
|
|
199
|
-
vrml:vrml 1
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
gvplugin_gdiplus.dll gdiplus {
|
|
203
|
-
render {
|
|
204
|
-
gdiplus 1
|
|
205
|
-
}
|
|
206
|
-
textlayout {
|
|
207
|
-
textlayout 8
|
|
208
|
-
}
|
|
209
|
-
loadimage {
|
|
210
|
-
bmp:gdiplus 8
|
|
211
|
-
gif:gdiplus 8
|
|
212
|
-
jpe:gdiplus 8
|
|
213
|
-
jpeg:gdiplus 8
|
|
214
|
-
jpg:gdiplus 8
|
|
215
|
-
png:gdiplus 8
|
|
216
|
-
}
|
|
217
|
-
device {
|
|
218
|
-
metafile:gdiplus 8
|
|
219
|
-
bmp:gdiplus 8
|
|
220
|
-
emf:gdiplus 8
|
|
221
|
-
emfplus:gdiplus 8
|
|
222
|
-
gif:gdiplus 8
|
|
223
|
-
jpe:gdiplus 8
|
|
224
|
-
jpeg:gdiplus 8
|
|
225
|
-
jpg:gdiplus 8
|
|
226
|
-
png:gdiplus 8
|
|
227
|
-
tif:gdiplus 8
|
|
228
|
-
tiff:gdiplus 8
|
|
229
|
-
}
|
|
230
|
-
device {
|
|
231
|
-
bmp:cairo 8
|
|
232
|
-
gif:cairo 8
|
|
233
|
-
jpe:cairo 8
|
|
234
|
-
jpeg:cairo 8
|
|
235
|
-
jpg:cairo 8
|
|
236
|
-
png:cairo 8
|
|
237
|
-
tif:cairo 8
|
|
238
|
-
tiff:cairo 8
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
gvplugin_neato_layout.dll neato_layout {
|
|
242
|
-
layout {
|
|
243
|
-
neato 0
|
|
244
|
-
fdp 0
|
|
245
|
-
sfdp 0
|
|
246
|
-
twopi 0
|
|
247
|
-
circo 0
|
|
248
|
-
patchwork 0
|
|
249
|
-
osage 0
|
|
250
|
-
nop 0
|
|
251
|
-
nop1 0
|
|
252
|
-
nop2 0
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
gvplugin_pango.dll cairo {
|
|
256
|
-
render {
|
|
257
|
-
cairo 10
|
|
258
|
-
}
|
|
259
|
-
textlayout {
|
|
260
|
-
textlayout 10
|
|
261
|
-
}
|
|
262
|
-
loadimage {
|
|
263
|
-
png:cairo 1
|
|
264
|
-
#FAILS png:lasi 2
|
|
265
|
-
png:ps 2
|
|
266
|
-
}
|
|
267
|
-
device {
|
|
268
|
-
png:cairo 10
|
|
269
|
-
ps:cairo -10
|
|
270
|
-
pdf:cairo 10
|
|
271
|
-
svg:cairo -10
|
|
272
|
-
}
|
|
273
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
LICENSE
|
|
2
|
-
MANIFEST.in
|
|
3
|
-
README.md
|
|
4
|
-
pyproject.toml
|
|
5
|
-
setup.cfg
|
|
6
|
-
setup.py
|
|
7
|
-
LangSC/BCCconfig.txt
|
|
8
|
-
LangSC/GPFconfig.txt
|
|
9
|
-
LangSC/Parser.lua
|
|
10
|
-
LangSC/Segment.dat
|
|
11
|
-
LangSC/__init__.py
|
|
12
|
-
LangSC/__version__.py
|
|
13
|
-
LangSC/_utils.py
|
|
14
|
-
LangSC/base.lex
|
|
15
|
-
LangSC/bcc.py
|
|
16
|
-
LangSC/bcclib.dll
|
|
17
|
-
LangSC/gpf.py
|
|
18
|
-
LangSC/gpflib.dll
|
|
19
|
-
LangSC/idxPOS.dat
|
|
20
|
-
LangSC/jss.py
|
|
21
|
-
LangSC/jsslib.dll
|
|
22
|
-
LangSC/libbcclib.dylib
|
|
23
|
-
LangSC/libbcclib.so
|
|
24
|
-
LangSC/libgpflib.dylib
|
|
25
|
-
LangSC/libgpflib.so
|
|
26
|
-
LangSC/libjsslib.dylib
|
|
27
|
-
LangSC/libjsslib.so
|
|
28
|
-
LangSC.egg-info/PKG-INFO
|
|
29
|
-
LangSC.egg-info/SOURCES.txt
|
|
30
|
-
LangSC.egg-info/dependency_links.txt
|
|
31
|
-
LangSC.egg-info/not-zip-safe
|
|
32
|
-
LangSC.egg-info/requires.txt
|
|
33
|
-
LangSC.egg-info/top_level.txt
|
|
34
|
-
LangSC/Graph/Pathplan.dll
|
|
35
|
-
LangSC/Graph/cdt.dll
|
|
36
|
-
LangSC/Graph/cgraph.dll
|
|
37
|
-
LangSC/Graph/config6
|
|
38
|
-
LangSC/Graph/dot.exe
|
|
39
|
-
LangSC/Graph/fontconfig.dll
|
|
40
|
-
LangSC/Graph/fontconfig_fix.dll
|
|
41
|
-
LangSC/Graph/freetype6.dll
|
|
42
|
-
LangSC/Graph/gvc.dll
|
|
43
|
-
LangSC/Graph/gvplugin_core.dll
|
|
44
|
-
LangSC/Graph/gvplugin_dot_layout.dll
|
|
45
|
-
LangSC/Graph/gvplugin_gd.dll
|
|
46
|
-
LangSC/Graph/gvplugin_pango.dll
|
|
47
|
-
LangSC/Graph/iconv.dll
|
|
48
|
-
LangSC/Graph/intl.dll
|
|
49
|
-
LangSC/Graph/jpeg62.dll
|
|
50
|
-
LangSC/Graph/libcairo-2.dll
|
|
51
|
-
LangSC/Graph/libexpat-1.dll
|
|
52
|
-
LangSC/Graph/libexpat.dll
|
|
53
|
-
LangSC/Graph/libfontconfig-1.dll
|
|
54
|
-
LangSC/Graph/libfreetype-6.dll
|
|
55
|
-
LangSC/Graph/libgdk_pixbuf-2.0-0.dll
|
|
56
|
-
LangSC/Graph/libglade-2.0-0.dll
|
|
57
|
-
LangSC/Graph/libglib-2.0-0.dll
|
|
58
|
-
LangSC/Graph/libgmodule-2.0-0.dll
|
|
59
|
-
LangSC/Graph/libgobject-2.0-0.dll
|
|
60
|
-
LangSC/Graph/libgthread-2.0-0.dll
|
|
61
|
-
LangSC/Graph/libgtkglext-win32-1.0-0.dll
|
|
62
|
-
LangSC/Graph/libpango-1.0-0.dll
|
|
63
|
-
LangSC/Graph/libpangocairo-1.0-0.dll
|
|
64
|
-
LangSC/Graph/libpangoft2-1.0-0.dll
|
|
65
|
-
LangSC/Graph/libpangowin32-1.0-0.dll
|
|
66
|
-
LangSC/Graph/libpng14-14.dll
|
|
67
|
-
LangSC/Graph/librsvg-2-2.dll
|
|
68
|
-
LangSC/Graph/libxml2.dll
|
|
69
|
-
LangSC/Graph/ltdl.dll
|
|
70
|
-
LangSC/Graph/zlib1.dll
|
|
71
|
-
tests/test_gpf_threadsafe.py
|
|
72
|
-
tests/test_win_smoke.py
|
|
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
|