Skip to content

Commit 6383a18

Browse files
committed
1. Correspondence of "nogil" definition
2. fix examples codes(use __main__) (Reference : https://docs.python.org/3.6/library/multiprocessing.html#module-multiprocessing#programming-guidelines) 3. Changed the rename at cimport to the following. pcl_(prefix) prefix rules : Common -> cmn features -> ftr filter -> fil kdtree -> kdt KeyPoint -> kp pcl_range_image -> rim Octree -> oct registration -> reg SampleConsensus -> sac Search -> sch Segmentation -> seg surface -> srf Visualization -> vis (Since there is no naming rule, it is temporarily set.) 4. Add CI test target ・Python3.6 + Vsual Studio 2017 ・Python2.7 + Vsual Studio 2015(Not supported)
1 parent 31bec3e commit 6383a18

84 files changed

Lines changed: 1847 additions & 9514 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/build.bat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
@ECHO OFF
22

33
sphinx-intl build
4-
make clean html
4+
make clean html
5+
rem jp?
6+
rem make clean LANGUAGE=jp gettext html

docs/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
# language = None
9494
language = 'en'
9595
# language = 'ja'
96+
# locale_dirs = ['locale']
9697

9798
# There are two options for replacing |today|: either, you set today to some
9899
# non-false value, then it is used:

docs/source/locale/ja/LC_MESSAGES/compatibility.po

Lines changed: 37 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,32 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2015, Preferred Networks, inc. and Preferred Infrastructure,
3-
# inc.
2+
# Copyright (C) 2017, Tooru Oonuma.
43
# This file is distributed under the same license as the python-pcl package.
5-
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2018.
65
#
76
#, fuzzy
87
msgid ""
98
msgstr ""
10-
"Project-Id-Version: python-pcl 0.0.1.dev0\n"
9+
"Project-Id-Version: python-pcl 0.3\n"
1110
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2017-07-28 11:33+0900\n"
11+
"POT-Creation-Date: 2018-10-15 16:12+0900\n"
1312
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1413
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1514
"Language-Team: LANGUAGE <LL@li.org>\n"
1615
"MIME-Version: 1.0\n"
1716
"Content-Type: text/plain; charset=utf-8\n"
1817
"Content-Transfer-Encoding: 8bit\n"
19-
"Generated-By: Babel 2.4.0\n"
18+
"Generated-By: Babel 2.6.0\n"
2019

2120
#: ../../source/compatibility.rst:2
2221
msgid "API Compatibility Policy"
23-
msgstr "API互換性ポリシー"
22+
msgstr "API互換性ポリシー"
2423

2524
#: ../../source/compatibility.rst:4
2625
msgid ""
27-
"This document expresses the design policy on compatibilities of pcl-"
28-
"python APIs. Development team should obey this policy on deciding to add,"
29-
" extend, and change APIs and their behaviors."
30-
msgstr "このドキュメントは、python-pcl APIの互換性に関する設計方針を表しています。 開発チームは、APIとその振る舞いの追加、拡張、変更を決定する際にこの方針に従うべきです。"
26+
"This document expresses the design policy on compatibilities of python-"
27+
"pcl APIs. Development team should obey this policy on deciding to add, "
28+
"extend, and change APIs and their behaviors."
29+
msgstr "このドキュメントは、python-pcl APIの互換性に関する設計方針を表しています。 開発チームは、APIとその振る舞いの追加、拡張、変更を決定する際にこの方針に従うべきです。"
3130

3231
#: ../../source/compatibility.rst:7
3332
msgid ""
@@ -37,51 +36,51 @@ msgid ""
3736
"before creating pull requests that contain changes on the interface. Note"
3837
" that this document may contain ambiguities on the level of supported "
3938
"compatibilities."
40-
msgstr "このドキュメントは、ユーザーと開発者の両方のために書かれています。 ユーザーは、この文書に基づいてコード内のpython-pcl実装の依存関係のレベルを決定できます。 開発者は、インタフェースの変更を含むプル要求を作成する前に、このドキュメントを読む必要があります。 このドキュメントには、サポートされている互換性のレベルに関するあいまい性が含まれていることに注意してください。"
39+
msgstr "このドキュメントは、ユーザーと開発者の両方のために書かれています。 ユーザーは、この文書に基づいてコード内のpython-pcl実装の依存関係のレベルを決定できます。 開発者は、インタフェースの変更を含むプル要求を作成する前に、このドキュメントを読む必要があります。 このドキュメントには、サポートされている互換性のレベルに関するあいまい性が含まれていることに注意してください。"
4140

4241
#: ../../source/compatibility.rst:14
4342
msgid "Versioning and Backward Compatibilities"
44-
msgstr "バージョン管理と下位互換性について"
43+
msgstr "バージョン管理と下位互換性について"
4544

4645
#: ../../source/compatibility.rst:16
4746
msgid ""
4847
"The updates of python-pcl are classified into three levels: major, minor,"
4948
" and revision. These types have distinct levels of backward "
5049
"compatibilities."
51-
msgstr "python-pclの更新は、メジャー、マイナー、リビジョンの3つのレベルに分類されます。 これらのタイプには、後方互換性の異なるレベルがあります。"
50+
msgstr "python-pclの更新は、メジャー、マイナー、リビジョンの3つのレベルに分類されます。 これらのタイプには、後方互換性の異なるレベルがあります。"
5251

5352
#: ../../source/compatibility.rst:19
5453
msgid ""
5554
"**Major update** contains disruptive changes that break the backward "
5655
"compatibility."
57-
msgstr "メジャーアップデートには、下位互換性を損なう破壊的な変更が含まれています。"
56+
msgstr "メジャーアップデートには、下位互換性を損なう破壊的な変更が含まれています。"
5857

5958
#: ../../source/compatibility.rst:20
6059
msgid ""
6160
"**Minor update** contains addition and extension to the APIs keeping the "
6261
"supported backward compatibility."
63-
msgstr "マイナーアップデートには、サポートされている後方互換性を維持しながら、APIへの追加と拡張が含まれています。"
62+
msgstr "マイナーアップデートには、サポートされている後方互換性を維持しながら、APIへの追加と拡張が含まれています。"
6463

6564
#: ../../source/compatibility.rst:21
6665
msgid ""
6766
"**Revision update** contains improvements on the API implementations "
6867
"without changing any API specifications."
69-
msgstr "リビジョンの更新には、API仕様を変更することなく、API実装の改良が含まれています。"
68+
msgstr "リビジョンの更新には、API仕様を変更することなく、API実装の改良が含まれています。"
7069

7170
#: ../../source/compatibility.rst:23
7271
msgid ""
7372
"Note that we do not support full backward compatibility, which is almost "
7473
"infeasible for Python-based APIs, since there is no way to completely "
7574
"hide the implementation details."
76-
msgstr "完全な後方互換性はサポートしていないことに注意してください。これはPythonベースのAPIではほとんど実現不可能です。実装の詳細を完全に隠す方法がないからです。"
75+
msgstr "完全な後方互換性はサポートしていないことに注意してください。これはPythonベースのAPIではほとんど実現不可能です。実装の詳細を完全に隠す方法がないからです。"
7776

7877
#: ../../source/compatibility.rst:27
7978
msgid "Processes to Break Backward Compatibilities"
80-
msgstr "下位互換性を中断するプロセス"
79+
msgstr "下位互換性を中断するプロセス"
8180

8281
#: ../../source/compatibility.rst:30
8382
msgid "Deprecation, Dropping, and Its Preparation"
84-
msgstr "減価償却、減価償却およびその準備????"
83+
msgstr "減価償却、減価償却およびその準備????"
8584

8685
#: ../../source/compatibility.rst:32
8786
msgid ""
@@ -90,45 +89,45 @@ msgid ""
9089
"implementation is changed to fire deprecation warning (if possible). "
9190
"There should be another way to reimplement the same things previously "
9291
"written with the deprecated APIs."
93-
msgstr "すべてのAPIは、マイナーな更新で廃止される可能性があります。???そのような場合は、非推奨の注釈がAPIのドキュメントに追加され、APIの実装が廃止予定警告に変更されます(可能な場合)。 以前は廃止予定のAPIで書かれたものと同じものを再実装する別の方法があるはずです。???"
92+
msgstr "すべてのAPIは、マイナーな更新で廃止される可能性があります。???そのような場合は、非推奨の注釈がAPIのドキュメントに追加され、APIの実装が廃止予定警告に変更されます(可能な場合)。 以前は廃止予定のAPIで書かれたものと同じものを再実装する別の方法があるはずです。???"
9493

9594
#: ../../source/compatibility.rst:36
9695
msgid ""
9796
"Any APIs may be marked as *to be dropped in the future*. In such a case, "
9897
"the dropping is stated in the documentation with the major version number"
9998
" on which the API is planned to be dropped, and the API implementation is"
10099
" changed to fire the future warning (if possible)."
101-
msgstr "どんなAPIも将来、ドロップされるようにマークされるかもしれません。 そのような場合、APIが削除される予定のメジャーバージョン番号のドキュメントにドロップダウンが記載され、API実装が将来の警告を発するように変更されます(可能な場合)。"
100+
msgstr "どんなAPIも将来、ドロップされるようにマークされるかもしれません。 そのような場合、APIが削除される予定のメジャーバージョン番号のドキュメントにドロップダウンが記載され、API実装が将来の警告を発するように変更されます(可能な場合)。"
102101

103102
#: ../../source/compatibility.rst:39
104103
msgid "The actual dropping should be done through the following steps:"
105-
msgstr "実際の落下???は、以下の手順で行う必要があります"
104+
msgstr "実際の落下???は、以下の手順で行う必要があります"
106105

107106
#: ../../source/compatibility.rst:41
108107
msgid ""
109108
"Make the API deprecated. At this point, users should not need the "
110109
"deprecated API in their new application codes."
111-
msgstr "APIを非推奨にする。 この時点で、ユーザーは新しいアプリケーションコードで廃止予定APIを必要とすべきではありません。???"
110+
msgstr "APIを非推奨にする。 この時点で、ユーザーは新しいアプリケーションコードで廃止予定APIを必要とすべきではありません。???"
112111

113112
#: ../../source/compatibility.rst:43
114113
msgid ""
115114
"After that, mark the API as *to be dropped in the future*. It must be "
116115
"done in the minor update different from that of the deprecation."
117-
msgstr "その後、APIを今後削除するようにマークしてください。 これは、非推奨のものとは異なるマイナーアップデートで行う必要があります。"
116+
msgstr "その後、APIを今後削除するようにマークしてください。 これは、非推奨のものとは異なるマイナーアップデートで行う必要があります。"
118117

119118
#: ../../source/compatibility.rst:45
120119
msgid "At the major version announced in the above update, drop the API."
121-
msgstr "上記アップデートで発表されたメジャーバージョンでAPIを削除してください。"
120+
msgstr "上記アップデートで発表されたメジャーバージョンでAPIを削除してください。"
122121

123122
#: ../../source/compatibility.rst:47
124123
msgid ""
125124
"Consequently, it takes at least two minor versions to drop any APIs after"
126125
" the first deprecation."
127-
msgstr "したがって、最初の非推奨版の後にAPIを削除するには、少なくとも2つのマイナーバージョンが必要です。???"
126+
msgstr "したがって、最初の非推奨版の後にAPIを削除するには、少なくとも2つのマイナーバージョンが必要です。???"
128127

129128
#: ../../source/compatibility.rst:50
130129
msgid "API Changes and Its Preparation"
131-
msgstr "APIの変更とその準備"
130+
msgstr "APIの変更とその準備"
132131

133132
#: ../../source/compatibility.rst:52
134133
msgid ""
@@ -137,38 +136,38 @@ msgid ""
137136
"the documentation with the version number on which the API is planned to "
138137
"be changed, and the API implementation is changed to fire the future "
139138
"warning on the certain usages."
140-
msgstr "今後の互換性のない変更については、すべてのAPIに変更が加えられているとマークされることがあります。 そのような場合、APIの変更予定のバージョン番号のドキュメントに変更が記載され、APIの実装が変更されて特定の用途についての将来の警告が発生します。"
139+
msgstr "今後の互換性のない変更については、すべてのAPIに変更が加えられているとマークされることがあります。 そのような場合、APIの変更予定のバージョン番号のドキュメントに変更が記載され、APIの実装が変更されて特定の用途についての将来の警告が発生します。"
141140

142141
#: ../../source/compatibility.rst:55
143142
msgid "The actual change should be done in the following steps:"
144-
msgstr "実際の変更は、次の手順で行う必要があります。"
143+
msgstr "実際の変更は、次の手順で行う必要があります。"
145144

146145
#: ../../source/compatibility.rst:57
147146
msgid ""
148147
"Announce that the API will be changed in the future. At this point, the "
149148
"actual version of change need not be accurate."
150-
msgstr "APIが将来変更されることを発表します。 この時点で、実際の変更のバージョンは正確である必要はありません。"
149+
msgstr "APIが将来変更されることを発表します。 この時点で、実際の変更のバージョンは正確である必要はありません。"
151150

152151
#: ../../source/compatibility.rst:59
153152
msgid ""
154153
"After the announcement, mark the API as *to be changed in the future* "
155154
"with version number of planned changes. At this point, users should not "
156155
"use the marked API in their new application codes."
157-
msgstr "アナウンスの後、今後変更が予定されているバージョン番号でAPIを変更してください。 この時点で、ユーザーは新しいアプリケーションコードでマークされたAPIを使用しないでください。"
156+
msgstr "アナウンスの後、今後変更が予定されているバージョン番号でAPIを変更してください。 この時点で、ユーザーは新しいアプリケーションコードでマークされたAPIを使用しないでください。"
158157

159158
#: ../../source/compatibility.rst:61
160159
msgid "At the major update announced in the above update, change the API."
161-
msgstr "上記のアップデートで発表されたメジャーアップデートでは、APIを変更してください。"
160+
msgstr "上記のアップデートで発表されたメジャーアップデートでは、APIを変更してください。"
162161

163162
#: ../../source/compatibility.rst:65
164163
msgid "Supported Backward Compatibility"
165-
msgstr "サポートされている下位互換性"
164+
msgstr "サポートされている下位互換性"
166165

167166
#: ../../source/compatibility.rst:67
168167
msgid ""
169168
"This section defines backward compatibilities that minor updates must "
170169
"maintain."
171-
msgstr "このセクションでは、マイナーな更新が維持しなければならない後方互換性を定義します。"
170+
msgstr "このセクションでは、マイナーな更新が維持しなければならない後方互換性を定義します。"
172171

173172
#: ../../source/compatibility.rst:70
174173
msgid "Documented Interface"
@@ -181,14 +180,14 @@ msgid ""
181180
"compatibilities of documented features. In other words, codes only based "
182181
"on the documented features run correctly with minor/revision-updated "
183182
"versions."
184-
msgstr "python-pclには、公式のAPIドキュメントがあります。 多くのアプリケーションは、文書化された機能に基づいて記述することができます。 ドキュメント化された機能の後方互換性をサポートしています。 言い換えれば、文書化された機能のみに基づくコードは、マイナーバージョン/リビジョン更新バージョンで正しく動作します。"
183+
msgstr "python-pclには、公式のAPIドキュメントがあります。 多くのアプリケーションは、文書化された機能に基づいて記述することができます。 ドキュメント化された機能の後方互換性をサポートしています。 言い換えれば、文書化された機能のみに基づくコードは、マイナーバージョン/リビジョン更新バージョンで正しく動作します。"
185184

186185
#: ../../source/compatibility.rst:77
187186
msgid ""
188187
"Developers are encouraged to use apparent names for objects of "
189188
"implementation details. For example, attributes outside of the documented"
190189
" APIs should have one or more underscores at the prefix of their names."
191-
msgstr "開発者は実装の詳細のオブジェクトに明白な名前を使用することが推奨されます。 たとえば、文書化されたAPIの外部の属性は、名前の接頭辞に1つ以上のアンダースコアを持つ必要があります。???"
190+
msgstr "開発者は実装の詳細のオブジェクトに明白な名前を使用することが推奨されます。 たとえば、文書化されたAPIの外部の属性は、名前の接頭辞に1つ以上のアンダースコアを持つ必要があります。???"
192191

193192
#: ../../source/compatibility.rst:83
194193
msgid "Undocumented behaviors"
@@ -296,28 +295,11 @@ msgstr ""
296295

297296
#: ../../source/compatibility.rst:139
298297
msgid ""
299-
"Any changes of dependent libraries that force modifications on the "
300-
"existing environments must be done in major updates. Such changes include"
301-
" following cases:"
302-
msgstr ""
303-
304-
#: ../../source/compatibility.rst:142
305-
msgid ""
306-
"dropping supported versions of dependent libraries (e.g. dropping cuDNN "
307-
"v2)"
308-
msgstr ""
309-
310-
#: ../../source/compatibility.rst:143
311-
msgid "adding new mandatory dependencies (e.g. adding h5py to setup_requires)"
312-
msgstr ""
313-
314-
#: ../../source/compatibility.rst:145
315-
msgid ""
316298
"Supporting optional packages/libraries may be done in minor updates (e.g."
317299
" supporting h5py in optional features)."
318300
msgstr ""
319301

320-
#: ../../source/compatibility.rst:148
302+
#: ../../source/compatibility.rst:142
321303
msgid ""
322304
"The installation compatibility does not guarantee that all the features "
323305
"of python-pcl correctly run on supported environments. It may contain "

0 commit comments

Comments
 (0)