STLExtract 1.0.0

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.
Files changed (1967) hide show
  1. data/.gitignore +14 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +66 -0
  5. data/Rakefile +2 -0
  6. data/STLExtract-0.0.1.gem +0 -0
  7. data/STLExtract.gemspec +23 -0
  8. data/Slic3r/Linux/bin/slic3r +0 -0
  9. data/Slic3r/Linux/dll/libGLU.so +1 -0
  10. data/Slic3r/Linux/dll/libGLU.so.1 +1 -0
  11. data/Slic3r/Linux/dll/libGLU.so.1.3.08004 +0 -0
  12. data/Slic3r/Linux/dll/libperl.so +0 -0
  13. data/Slic3r/Linux/dll/libwx_baseu-2.9.so +1 -0
  14. data/Slic3r/Linux/dll/libwx_baseu-2.9.so.3 +1 -0
  15. data/Slic3r/Linux/dll/libwx_baseu-2.9.so.3.0.0 +0 -0
  16. data/Slic3r/Linux/dll/libwx_baseu_net-2.9.so +1 -0
  17. data/Slic3r/Linux/dll/libwx_baseu_net-2.9.so.3 +1 -0
  18. data/Slic3r/Linux/dll/libwx_baseu_net-2.9.so.3.0.0 +0 -0
  19. data/Slic3r/Linux/dll/libwx_gtk2u_adv-2.9.so +1 -0
  20. data/Slic3r/Linux/dll/libwx_gtk2u_adv-2.9.so.3 +1 -0
  21. data/Slic3r/Linux/dll/libwx_gtk2u_adv-2.9.so.3.0.0 +0 -0
  22. data/Slic3r/Linux/dll/libwx_gtk2u_core-2.9.so +1 -0
  23. data/Slic3r/Linux/dll/libwx_gtk2u_core-2.9.so.3 +1 -0
  24. data/Slic3r/Linux/dll/libwx_gtk2u_core-2.9.so.3.0.0 +0 -0
  25. data/Slic3r/Linux/dll/libwx_gtk2u_gl-2.9.so +1 -0
  26. data/Slic3r/Linux/dll/libwx_gtk2u_gl-2.9.so.3 +1 -0
  27. data/Slic3r/Linux/dll/libwx_gtk2u_gl-2.9.so.3.0.0 +0 -0
  28. data/Slic3r/Linux/dll/libwx_gtk2u_html-2.9.so +1 -0
  29. data/Slic3r/Linux/dll/libwx_gtk2u_html-2.9.so.3 +1 -0
  30. data/Slic3r/Linux/dll/libwx_gtk2u_html-2.9.so.3.0.0 +0 -0
  31. data/Slic3r/Linux/lib/std/Authen/SASL.pm +130 -0
  32. data/Slic3r/Linux/lib/std/Authen/SASL/CRAM_MD5.pm +18 -0
  33. data/Slic3r/Linux/lib/std/Authen/SASL/EXTERNAL.pm +18 -0
  34. data/Slic3r/Linux/lib/std/Authen/SASL/Perl.pm +344 -0
  35. data/Slic3r/Linux/lib/std/Authen/SASL/Perl/ANONYMOUS.pm +93 -0
  36. data/Slic3r/Linux/lib/std/Authen/SASL/Perl/CRAM_MD5.pm +105 -0
  37. data/Slic3r/Linux/lib/std/Authen/SASL/Perl/DIGEST_MD5.pm +877 -0
  38. data/Slic3r/Linux/lib/std/Authen/SASL/Perl/EXTERNAL.pm +97 -0
  39. data/Slic3r/Linux/lib/std/Authen/SASL/Perl/GSSAPI.pm +375 -0
  40. data/Slic3r/Linux/lib/std/Authen/SASL/Perl/LOGIN.pm +216 -0
  41. data/Slic3r/Linux/lib/std/Authen/SASL/Perl/PLAIN.pm +182 -0
  42. data/Slic3r/Linux/lib/std/B.pm +1202 -0
  43. data/Slic3r/Linux/lib/std/B/Deparse.pm +4900 -0
  44. data/Slic3r/Linux/lib/std/CPAN/Config.pm +55 -0
  45. data/Slic3r/Linux/lib/std/Cava/Global.pm +20 -0
  46. data/Slic3r/Linux/lib/std/Cava/Project.pm +19 -0
  47. data/Slic3r/Linux/lib/std/Class/Accessor.pm +744 -0
  48. data/Slic3r/Linux/lib/std/Class/Method/Modifiers.pm +481 -0
  49. data/Slic3r/Linux/lib/std/Class/Struct.pm +636 -0
  50. data/Slic3r/Linux/lib/std/Class/XSAccessor.pm +326 -0
  51. data/Slic3r/Linux/lib/std/Class/XSAccessor/Heavy.pm +76 -0
  52. data/Slic3r/Linux/lib/std/Compress/Raw/Bzip2.pm +361 -0
  53. data/Slic3r/Linux/lib/std/Compress/Raw/Zlib.pm +1429 -0
  54. data/Slic3r/Linux/lib/std/Config.pm +110 -0
  55. data/Slic3r/Linux/lib/std/Config_git.pl +12 -0
  56. data/Slic3r/Linux/lib/std/Config_heavy.pl +1355 -0
  57. data/Slic3r/Linux/lib/std/Crypt/CBC.pm +1050 -0
  58. data/Slic3r/Linux/lib/std/Crypt/SSLeay.pm +457 -0
  59. data/Slic3r/Linux/lib/std/Crypt/SSLeay/CTX.pm +4 -0
  60. data/Slic3r/Linux/lib/std/Crypt/SSLeay/Conn.pm +4 -0
  61. data/Slic3r/Linux/lib/std/Crypt/SSLeay/Err.pm +4 -0
  62. data/Slic3r/Linux/lib/std/Crypt/SSLeay/MainContext.pm +42 -0
  63. data/Slic3r/Linux/lib/std/Crypt/SSLeay/X509.pm +26 -0
  64. data/Slic3r/Linux/lib/std/Cwd.pm +855 -0
  65. data/Slic3r/Linux/lib/std/Data/Dumper.pm +1306 -0
  66. data/Slic3r/Linux/lib/std/Data/UUID.pm +204 -0
  67. data/Slic3r/Linux/lib/std/Devel/GlobalDestruction.pm +110 -0
  68. data/Slic3r/Linux/lib/std/Digest/HMAC.pm +120 -0
  69. data/Slic3r/Linux/lib/std/Digest/HMAC_MD5.pm +71 -0
  70. data/Slic3r/Linux/lib/std/Digest/MD5.pm +376 -0
  71. data/Slic3r/Linux/lib/std/Digest/SHA.pm +701 -0
  72. data/Slic3r/Linux/lib/std/Digest/base.pm +100 -0
  73. data/Slic3r/Linux/lib/std/Encode.pm +977 -0
  74. data/Slic3r/Linux/lib/std/Encode/Alias.pm +384 -0
  75. data/Slic3r/Linux/lib/std/Encode/Byte.pm +120 -0
  76. data/Slic3r/Linux/lib/std/Encode/CJKConstants.pm +66 -0
  77. data/Slic3r/Linux/lib/std/Encode/CN.pm +74 -0
  78. data/Slic3r/Linux/lib/std/Encode/CN/HZ.pm +198 -0
  79. data/Slic3r/Linux/lib/std/Encode/Config.pm +170 -0
  80. data/Slic3r/Linux/lib/std/Encode/EBCDIC.pm +45 -0
  81. data/Slic3r/Linux/lib/std/Encode/Encoder.pm +253 -0
  82. data/Slic3r/Linux/lib/std/Encode/Encoding.pm +360 -0
  83. data/Slic3r/Linux/lib/std/Encode/GSM0338.pm +292 -0
  84. data/Slic3r/Linux/lib/std/Encode/Guess.pm +355 -0
  85. data/Slic3r/Linux/lib/std/Encode/JP.pm +95 -0
  86. data/Slic3r/Linux/lib/std/Encode/JP/H2Z.pm +176 -0
  87. data/Slic3r/Linux/lib/std/Encode/JP/JIS7.pm +165 -0
  88. data/Slic3r/Linux/lib/std/Encode/KR.pm +69 -0
  89. data/Slic3r/Linux/lib/std/Encode/KR/2022_KR.pm +81 -0
  90. data/Slic3r/Linux/lib/std/Encode/Locale.pm +348 -0
  91. data/Slic3r/Linux/lib/std/Encode/MIME/Header.pm +242 -0
  92. data/Slic3r/Linux/lib/std/Encode/MIME/Header/ISO_2022_JP.pm +131 -0
  93. data/Slic3r/Linux/lib/std/Encode/MIME/Name.pm +94 -0
  94. data/Slic3r/Linux/lib/std/Encode/Symbol.pm +44 -0
  95. data/Slic3r/Linux/lib/std/Encode/TW.pm +75 -0
  96. data/Slic3r/Linux/lib/std/Encode/Unicode.pm +270 -0
  97. data/Slic3r/Linux/lib/std/Encode/Unicode/UTF7.pm +130 -0
  98. data/Slic3r/Linux/lib/std/Errno.pm +282 -0
  99. data/Slic3r/Linux/lib/std/Fcntl.pm +186 -0
  100. data/Slic3r/Linux/lib/std/File/Basename.pm +402 -0
  101. data/Slic3r/Linux/lib/std/File/Glob.pm +437 -0
  102. data/Slic3r/Linux/lib/std/File/GlobMapper.pm +679 -0
  103. data/Slic3r/Linux/lib/std/File/Listing.pm +435 -0
  104. data/Slic3r/Linux/lib/std/File/Path.pm +981 -0
  105. data/Slic3r/Linux/lib/std/File/Spec.pm +339 -0
  106. data/Slic3r/Linux/lib/std/File/Spec/Cygwin.pm +160 -0
  107. data/Slic3r/Linux/lib/std/File/Spec/Epoc.pm +79 -0
  108. data/Slic3r/Linux/lib/std/File/Spec/Functions.pm +130 -0
  109. data/Slic3r/Linux/lib/std/File/Spec/Mac.pm +786 -0
  110. data/Slic3r/Linux/lib/std/File/Spec/OS2.pm +276 -0
  111. data/Slic3r/Linux/lib/std/File/Spec/Unix.pm +595 -0
  112. data/Slic3r/Linux/lib/std/File/Spec/VMS.pm +679 -0
  113. data/Slic3r/Linux/lib/std/File/Spec/Win32.pm +446 -0
  114. data/Slic3r/Linux/lib/std/File/Temp.pm +2452 -0
  115. data/Slic3r/Linux/lib/std/File/stat.pm +345 -0
  116. data/Slic3r/Linux/lib/std/FileHandle.pm +262 -0
  117. data/Slic3r/Linux/lib/std/Filter/Util/Call.pm +498 -0
  118. data/Slic3r/Linux/lib/std/FindBin.pm +209 -0
  119. data/Slic3r/Linux/lib/std/Getopt/Long.pm +2693 -0
  120. data/Slic3r/Linux/lib/std/Growl/GNTP.pm +595 -0
  121. data/Slic3r/Linux/lib/std/HTML/Entities.pm +483 -0
  122. data/Slic3r/Linux/lib/std/HTML/HeadParser.pm +310 -0
  123. data/Slic3r/Linux/lib/std/HTML/Parser.pm +1240 -0
  124. data/Slic3r/Linux/lib/std/HTTP/Config.pm +436 -0
  125. data/Slic3r/Linux/lib/std/HTTP/Cookies.pm +781 -0
  126. data/Slic3r/Linux/lib/std/HTTP/Cookies/Netscape.pm +114 -0
  127. data/Slic3r/Linux/lib/std/HTTP/Date.pm +388 -0
  128. data/Slic3r/Linux/lib/std/HTTP/Headers.pm +849 -0
  129. data/Slic3r/Linux/lib/std/HTTP/Headers/Util.pm +199 -0
  130. data/Slic3r/Linux/lib/std/HTTP/Message.pm +1107 -0
  131. data/Slic3r/Linux/lib/std/HTTP/Negotiate.pm +528 -0
  132. data/Slic3r/Linux/lib/std/HTTP/Request.pm +242 -0
  133. data/Slic3r/Linux/lib/std/HTTP/Request/Common.pm +514 -0
  134. data/Slic3r/Linux/lib/std/HTTP/Response.pm +638 -0
  135. data/Slic3r/Linux/lib/std/HTTP/Status.pm +267 -0
  136. data/Slic3r/Linux/lib/std/I18N/Langinfo.pm +191 -0
  137. data/Slic3r/Linux/lib/std/IO.pm +68 -0
  138. data/Slic3r/Linux/lib/std/IO/Compress/Adapter/Bzip2.pm +162 -0
  139. data/Slic3r/Linux/lib/std/IO/Compress/Adapter/Deflate.pm +165 -0
  140. data/Slic3r/Linux/lib/std/IO/Compress/Base.pm +981 -0
  141. data/Slic3r/Linux/lib/std/IO/Compress/Base/Common.pm +956 -0
  142. data/Slic3r/Linux/lib/std/IO/Compress/Bzip2.pm +758 -0
  143. data/Slic3r/Linux/lib/std/IO/Compress/Deflate.pm +930 -0
  144. data/Slic3r/Linux/lib/std/IO/Compress/Gzip.pm +1242 -0
  145. data/Slic3r/Linux/lib/std/IO/Compress/Gzip/Constants.pm +148 -0
  146. data/Slic3r/Linux/lib/std/IO/Compress/RawDeflate.pm +1017 -0
  147. data/Slic3r/Linux/lib/std/IO/Compress/Zlib/Constants.pm +77 -0
  148. data/Slic3r/Linux/lib/std/IO/Compress/Zlib/Extra.pm +198 -0
  149. data/Slic3r/Linux/lib/std/IO/Dir.pm +248 -0
  150. data/Slic3r/Linux/lib/std/IO/File.pm +204 -0
  151. data/Slic3r/Linux/lib/std/IO/Handle.pm +646 -0
  152. data/Slic3r/Linux/lib/std/IO/Pipe.pm +257 -0
  153. data/Slic3r/Linux/lib/std/IO/Seekable.pm +128 -0
  154. data/Slic3r/Linux/lib/std/IO/Select.pm +387 -0
  155. data/Slic3r/Linux/lib/std/IO/Socket.pm +540 -0
  156. data/Slic3r/Linux/lib/std/IO/Socket/INET.pm +464 -0
  157. data/Slic3r/Linux/lib/std/IO/Socket/SSL.pm +2456 -0
  158. data/Slic3r/Linux/lib/std/IO/Socket/UNIX.pm +143 -0
  159. data/Slic3r/Linux/lib/std/IO/Uncompress/Adapter/Bunzip2.pm +112 -0
  160. data/Slic3r/Linux/lib/std/IO/Uncompress/Adapter/Inflate.pm +158 -0
  161. data/Slic3r/Linux/lib/std/IO/Uncompress/Base.pm +1483 -0
  162. data/Slic3r/Linux/lib/std/IO/Uncompress/Bunzip2.pm +858 -0
  163. data/Slic3r/Linux/lib/std/IO/Uncompress/Gunzip.pm +1111 -0
  164. data/Slic3r/Linux/lib/std/IO/Uncompress/Inflate.pm +982 -0
  165. data/Slic3r/Linux/lib/std/IO/Uncompress/RawInflate.pm +1110 -0
  166. data/Slic3r/Linux/lib/std/Import/Into.pm +289 -0
  167. data/Slic3r/Linux/lib/std/LWP.pm +667 -0
  168. data/Slic3r/Linux/lib/std/LWP/Authen/Basic.pm +65 -0
  169. data/Slic3r/Linux/lib/std/LWP/Authen/Digest.pm +68 -0
  170. data/Slic3r/Linux/lib/std/LWP/Authen/Ntlm.pm +180 -0
  171. data/Slic3r/Linux/lib/std/LWP/ConnCache.pm +313 -0
  172. data/Slic3r/Linux/lib/std/LWP/MediaTypes.pm +280 -0
  173. data/Slic3r/Linux/lib/std/LWP/MemberMixin.pm +44 -0
  174. data/Slic3r/Linux/lib/std/LWP/Protocol.pm +291 -0
  175. data/Slic3r/Linux/lib/std/LWP/Protocol/GHTTP.pm +73 -0
  176. data/Slic3r/Linux/lib/std/LWP/Protocol/cpan.pm +72 -0
  177. data/Slic3r/Linux/lib/std/LWP/Protocol/data.pm +52 -0
  178. data/Slic3r/Linux/lib/std/LWP/Protocol/file.pm +146 -0
  179. data/Slic3r/Linux/lib/std/LWP/Protocol/ftp.pm +543 -0
  180. data/Slic3r/Linux/lib/std/LWP/Protocol/gopher.pm +213 -0
  181. data/Slic3r/Linux/lib/std/LWP/Protocol/http.pm +501 -0
  182. data/Slic3r/Linux/lib/std/LWP/Protocol/https.pm +132 -0
  183. data/Slic3r/Linux/lib/std/LWP/Protocol/loopback.pm +26 -0
  184. data/Slic3r/Linux/lib/std/LWP/Protocol/mailto.pm +183 -0
  185. data/Slic3r/Linux/lib/std/LWP/Protocol/nntp.pm +145 -0
  186. data/Slic3r/Linux/lib/std/LWP/Protocol/nogo.pm +24 -0
  187. data/Slic3r/Linux/lib/std/LWP/UserAgent.pm +1859 -0
  188. data/Slic3r/Linux/lib/std/List/Util.pm +433 -0
  189. data/Slic3r/Linux/lib/std/MIME/Base64.pm +188 -0
  190. data/Slic3r/Linux/lib/std/MIME/QuotedPrint.pm +114 -0
  191. data/Slic3r/Linux/lib/std/Mail/Address.pm +273 -0
  192. data/Slic3r/Linux/lib/std/Mail/Header.pm +637 -0
  193. data/Slic3r/Linux/lib/std/Mail/Internet.pm +546 -0
  194. data/Slic3r/Linux/lib/std/Mail/Mailer.pm +215 -0
  195. data/Slic3r/Linux/lib/std/Mail/Util.pm +149 -0
  196. data/Slic3r/Linux/lib/std/Math/BigFloat.pm +4493 -0
  197. data/Slic3r/Linux/lib/std/Math/BigFloat/Trace.pm +58 -0
  198. data/Slic3r/Linux/lib/std/Math/BigInt.pm +5284 -0
  199. data/Slic3r/Linux/lib/std/Math/BigInt/Calc.pm +2970 -0
  200. data/Slic3r/Linux/lib/std/Math/BigInt/CalcEmu.pm +329 -0
  201. data/Slic3r/Linux/lib/std/Math/BigInt/FastCalc.pm +112 -0
  202. data/Slic3r/Linux/lib/std/Math/BigInt/Trace.pm +47 -0
  203. data/Slic3r/Linux/lib/std/Math/Complex.pm +2093 -0
  204. data/Slic3r/Linux/lib/std/Math/Libm.pm +199 -0
  205. data/Slic3r/Linux/lib/std/Math/PlanePath.pm +2211 -0
  206. data/Slic3r/Linux/lib/std/Math/PlanePath/ArchimedeanChords.pm +686 -0
  207. data/Slic3r/Linux/lib/std/Math/PlanePath/Base/Digits.pm +389 -0
  208. data/Slic3r/Linux/lib/std/Math/PlanePath/Base/Generic.pm +242 -0
  209. data/Slic3r/Linux/lib/std/Math/PlanePath/Base/NSEW.pm +114 -0
  210. data/Slic3r/Linux/lib/std/Math/PlanePath/Flowsnake.pm +886 -0
  211. data/Slic3r/Linux/lib/std/Math/PlanePath/FlowsnakeCentres.pm +1018 -0
  212. data/Slic3r/Linux/lib/std/Math/PlanePath/HilbertCurve.pm +772 -0
  213. data/Slic3r/Linux/lib/std/Math/PlanePath/MultipleRings.pm +1715 -0
  214. data/Slic3r/Linux/lib/std/Math/PlanePath/OctagramSpiral.pm +469 -0
  215. data/Slic3r/Linux/lib/std/Math/PlanePath/SacksSpiral.pm +440 -0
  216. data/Slic3r/Linux/lib/std/Math/Trig.pm +768 -0
  217. data/Slic3r/Linux/lib/std/Method/Generate/Accessor.pm +652 -0
  218. data/Slic3r/Linux/lib/std/Method/Generate/BuildAll.pm +33 -0
  219. data/Slic3r/Linux/lib/std/Method/Generate/Constructor.pm +221 -0
  220. data/Slic3r/Linux/lib/std/Method/Generate/DemolishAll.pm +48 -0
  221. data/Slic3r/Linux/lib/std/Module/Runtime.pm +494 -0
  222. data/Slic3r/Linux/lib/std/Moo.pm +989 -0
  223. data/Slic3r/Linux/lib/std/Moo/HandleMoose.pm +210 -0
  224. data/Slic3r/Linux/lib/std/Moo/HandleMoose/FakeMetaClass.pm +21 -0
  225. data/Slic3r/Linux/lib/std/Moo/HandleMoose/_TypeMap.pm +72 -0
  226. data/Slic3r/Linux/lib/std/Moo/Object.pm +80 -0
  227. data/Slic3r/Linux/lib/std/Moo/Role.pm +475 -0
  228. data/Slic3r/Linux/lib/std/Moo/_Utils.pm +124 -0
  229. data/Slic3r/Linux/lib/std/Moo/_mro.pm +10 -0
  230. data/Slic3r/Linux/lib/std/Moo/sification.pm +22 -0
  231. data/Slic3r/Linux/lib/std/Mozilla/CA.pm +99 -0
  232. data/Slic3r/Linux/lib/std/Mozilla/CA/cacert.pem +3366 -0
  233. data/Slic3r/Linux/lib/std/Net/Cmd.pm +783 -0
  234. data/Slic3r/Linux/lib/std/Net/Config.pm +312 -0
  235. data/Slic3r/Linux/lib/std/Net/Domain.pm +347 -0
  236. data/Slic3r/Linux/lib/std/Net/FTP.pm +1829 -0
  237. data/Slic3r/Linux/lib/std/Net/FTP/A.pm +111 -0
  238. data/Slic3r/Linux/lib/std/Net/FTP/E.pm +8 -0
  239. data/Slic3r/Linux/lib/std/Net/FTP/I.pm +80 -0
  240. data/Slic3r/Linux/lib/std/Net/FTP/L.pm +8 -0
  241. data/Slic3r/Linux/lib/std/Net/FTP/dataconn.pm +124 -0
  242. data/Slic3r/Linux/lib/std/Net/HTTP.pm +279 -0
  243. data/Slic3r/Linux/lib/std/Net/HTTP/Methods.pm +593 -0
  244. data/Slic3r/Linux/lib/std/Net/HTTPS.pm +110 -0
  245. data/Slic3r/Linux/lib/std/Net/NNTP.pm +1140 -0
  246. data/Slic3r/Linux/lib/std/Net/Netrc.pm +325 -0
  247. data/Slic3r/Linux/lib/std/Net/SMTP.pm +867 -0
  248. data/Slic3r/Linux/lib/std/Net/SSL.pm +639 -0
  249. data/Slic3r/Linux/lib/std/Net/SSLeay.pm +2692 -0
  250. data/Slic3r/Linux/lib/std/OpenGL.pm +6288 -0
  251. data/Slic3r/Linux/lib/std/POSIX.pm +1037 -0
  252. data/Slic3r/Linux/lib/std/Params/Validate/XS.pm +51 -0
  253. data/Slic3r/Linux/lib/std/PerlIO.pm +332 -0
  254. data/Slic3r/Linux/lib/std/PerlIO/encoding.pm +53 -0
  255. data/Slic3r/Linux/lib/std/PerlIO/scalar.pm +41 -0
  256. data/Slic3r/Linux/lib/std/PerlIO/via.pm +243 -0
  257. data/Slic3r/Linux/lib/std/PerlIO/via/QuotedPrint.pm +94 -0
  258. data/Slic3r/Linux/lib/std/Pod/Escapes.pm +721 -0
  259. data/Slic3r/Linux/lib/std/Pod/InputObjects.pm +936 -0
  260. data/Slic3r/Linux/lib/std/Pod/Parser.pm +1829 -0
  261. data/Slic3r/Linux/lib/std/Pod/PlainText.pm +738 -0
  262. data/Slic3r/Linux/lib/std/Pod/Select.pm +746 -0
  263. data/Slic3r/Linux/lib/std/Pod/Simple.pm +1535 -0
  264. data/Slic3r/Linux/lib/std/Pod/Simple/BlackBox.pm +1930 -0
  265. data/Slic3r/Linux/lib/std/Pod/Simple/LinkSection.pm +174 -0
  266. data/Slic3r/Linux/lib/std/Pod/Simple/TiedOutFH.pm +105 -0
  267. data/Slic3r/Linux/lib/std/Pod/Simple/Transcode.pm +35 -0
  268. data/Slic3r/Linux/lib/std/Pod/Text.pm +886 -0
  269. data/Slic3r/Linux/lib/std/Pod/Usage.pm +730 -0
  270. data/Slic3r/Linux/lib/std/Role/Tiny.pm +698 -0
  271. data/Slic3r/Linux/lib/std/SVG.pm +341 -0
  272. data/Slic3r/Linux/lib/std/SVG/DOM.pm +804 -0
  273. data/Slic3r/Linux/lib/std/SVG/Element.pm +1649 -0
  274. data/Slic3r/Linux/lib/std/SVG/Extension.pm +458 -0
  275. data/Slic3r/Linux/lib/std/SVG/XML.pm +185 -0
  276. data/Slic3r/Linux/lib/std/Scalar/Util.pm +325 -0
  277. data/Slic3r/Linux/lib/std/SelectSaver.pm +54 -0
  278. data/Slic3r/Linux/lib/std/Slic3r.pm +180 -0
  279. data/Slic3r/Linux/lib/std/Slic3r/Build.pm +8 -0
  280. data/Slic3r/Linux/lib/std/Slic3r/Config.pm +456 -0
  281. data/Slic3r/Linux/lib/std/Slic3r/ExPolygon.pm +53 -0
  282. data/Slic3r/Linux/lib/std/Slic3r/Extruder.pm +52 -0
  283. data/Slic3r/Linux/lib/std/Slic3r/ExtrusionLoop.pm +12 -0
  284. data/Slic3r/Linux/lib/std/Slic3r/ExtrusionPath.pm +12 -0
  285. data/Slic3r/Linux/lib/std/Slic3r/ExtrusionPath/Collection.pm +5 -0
  286. data/Slic3r/Linux/lib/std/Slic3r/Fill.pm +259 -0
  287. data/Slic3r/Linux/lib/std/Slic3r/Fill/ArchimedeanChords.pm +7 -0
  288. data/Slic3r/Linux/lib/std/Slic3r/Fill/Base.pm +81 -0
  289. data/Slic3r/Linux/lib/std/Slic3r/Fill/Concentric.pm +65 -0
  290. data/Slic3r/Linux/lib/std/Slic3r/Fill/Flowsnake.pm +18 -0
  291. data/Slic3r/Linux/lib/std/Slic3r/Fill/HilbertCurve.pm +7 -0
  292. data/Slic3r/Linux/lib/std/Slic3r/Fill/Honeycomb.pm +128 -0
  293. data/Slic3r/Linux/lib/std/Slic3r/Fill/Line.pm +8 -0
  294. data/Slic3r/Linux/lib/std/Slic3r/Fill/OctagramSpiral.pm +9 -0
  295. data/Slic3r/Linux/lib/std/Slic3r/Fill/PlanePath.pm +61 -0
  296. data/Slic3r/Linux/lib/std/Slic3r/Fill/Rectilinear.pm +110 -0
  297. data/Slic3r/Linux/lib/std/Slic3r/Flow.pm +12 -0
  298. data/Slic3r/Linux/lib/std/Slic3r/Format/AMF.pm +122 -0
  299. data/Slic3r/Linux/lib/std/Slic3r/Format/AMF/Parser.pm +157 -0
  300. data/Slic3r/Linux/lib/std/Slic3r/Format/OBJ.pm +36 -0
  301. data/Slic3r/Linux/lib/std/Slic3r/Format/STL.pm +39 -0
  302. data/Slic3r/Linux/lib/std/Slic3r/GCode.pm +696 -0
  303. data/Slic3r/Linux/lib/std/Slic3r/GCode/ArcFitting.pm +242 -0
  304. data/Slic3r/Linux/lib/std/Slic3r/GCode/CoolingBuffer.pm +80 -0
  305. data/Slic3r/Linux/lib/std/Slic3r/GCode/Layer.pm +238 -0
  306. data/Slic3r/Linux/lib/std/Slic3r/GCode/MotionPlanner.pm +317 -0
  307. data/Slic3r/Linux/lib/std/Slic3r/GCode/PlaceholderParser.pm +83 -0
  308. data/Slic3r/Linux/lib/std/Slic3r/GCode/Reader.pm +72 -0
  309. data/Slic3r/Linux/lib/std/Slic3r/GCode/SpiralVase.pm +81 -0
  310. data/Slic3r/Linux/lib/std/Slic3r/GCode/VibrationLimit.pm +64 -0
  311. data/Slic3r/Linux/lib/std/Slic3r/GUI.pm +586 -0
  312. data/Slic3r/Linux/lib/std/Slic3r/GUI/AboutDialog.pm +110 -0
  313. data/Slic3r/Linux/lib/std/Slic3r/GUI/ConfigWizard.pm +373 -0
  314. data/Slic3r/Linux/lib/std/Slic3r/GUI/OptionsGroup.pm +504 -0
  315. data/Slic3r/Linux/lib/std/Slic3r/GUI/Plater.pm +1437 -0
  316. data/Slic3r/Linux/lib/std/Slic3r/GUI/Plater/ObjectCutDialog.pm +153 -0
  317. data/Slic3r/Linux/lib/std/Slic3r/GUI/Plater/ObjectPartsPanel.pm +268 -0
  318. data/Slic3r/Linux/lib/std/Slic3r/GUI/Plater/ObjectPreviewDialog.pm +30 -0
  319. data/Slic3r/Linux/lib/std/Slic3r/GUI/Plater/ObjectSettingsDialog.pm +175 -0
  320. data/Slic3r/Linux/lib/std/Slic3r/GUI/Plater/OverrideSettingsPanel.pm +137 -0
  321. data/Slic3r/Linux/lib/std/Slic3r/GUI/Preferences.pm +78 -0
  322. data/Slic3r/Linux/lib/std/Slic3r/GUI/PreviewCanvas.pm +506 -0
  323. data/Slic3r/Linux/lib/std/Slic3r/GUI/SimpleTab.pm +230 -0
  324. data/Slic3r/Linux/lib/std/Slic3r/GUI/SkeinPanel.pm +550 -0
  325. data/Slic3r/Linux/lib/std/Slic3r/GUI/Tab.pm +944 -0
  326. data/Slic3r/Linux/lib/std/Slic3r/Geometry.pm +753 -0
  327. data/Slic3r/Linux/lib/std/Slic3r/Geometry/Clipper.pm +13 -0
  328. data/Slic3r/Linux/lib/std/Slic3r/Layer.pm +76 -0
  329. data/Slic3r/Linux/lib/std/Slic3r/Layer/BridgeDetector.pm +277 -0
  330. data/Slic3r/Linux/lib/std/Slic3r/Layer/Region.pm +545 -0
  331. data/Slic3r/Linux/lib/std/Slic3r/Line.pm +21 -0
  332. data/Slic3r/Linux/lib/std/Slic3r/Model.pm +608 -0
  333. data/Slic3r/Linux/lib/std/Slic3r/Point.pm +10 -0
  334. data/Slic3r/Linux/lib/std/Slic3r/Polygon.pm +95 -0
  335. data/Slic3r/Linux/lib/std/Slic3r/Polyline.pm +40 -0
  336. data/Slic3r/Linux/lib/std/Slic3r/Print.pm +1146 -0
  337. data/Slic3r/Linux/lib/std/Slic3r/Print/Object.pm +1023 -0
  338. data/Slic3r/Linux/lib/std/Slic3r/Print/Region.pm +63 -0
  339. data/Slic3r/Linux/lib/std/Slic3r/Print/Simple.pm +108 -0
  340. data/Slic3r/Linux/lib/std/Slic3r/Print/State.pm +28 -0
  341. data/Slic3r/Linux/lib/std/Slic3r/Print/SupportMaterial.pm +862 -0
  342. data/Slic3r/Linux/lib/std/Slic3r/SVG.pm +142 -0
  343. data/Slic3r/Linux/lib/std/Slic3r/Surface.pm +15 -0
  344. data/Slic3r/Linux/lib/std/Slic3r/Test/SectionCut.pm +170 -0
  345. data/Slic3r/Linux/lib/std/Slic3r/TriangleMesh.pm +22 -0
  346. data/Slic3r/Linux/lib/std/Slic3r/XS.pm +205 -0
  347. data/Slic3r/Linux/lib/std/Socket.pm +804 -0
  348. data/Slic3r/Linux/lib/std/Storable.pm +1227 -0
  349. data/Slic3r/Linux/lib/std/Sub/Defer.pm +141 -0
  350. data/Slic3r/Linux/lib/std/Sub/Exporter/Progressive.pm +158 -0
  351. data/Slic3r/Linux/lib/std/Sub/Quote.pm +368 -0
  352. data/Slic3r/Linux/lib/std/Symbol.pm +170 -0
  353. data/Slic3r/Linux/lib/std/Term/Cap.pm +799 -0
  354. data/Slic3r/Linux/lib/std/Text/ParseWords.pm +294 -0
  355. data/Slic3r/Linux/lib/std/Thread/Queue.pm +476 -0
  356. data/Slic3r/Linux/lib/std/Tie/Handle.pm +201 -0
  357. data/Slic3r/Linux/lib/std/Tie/Hash.pm +268 -0
  358. data/Slic3r/Linux/lib/std/Tie/Hash/NamedCapture.pm +49 -0
  359. data/Slic3r/Linux/lib/std/Tie/StdHandle.pm +71 -0
  360. data/Slic3r/Linux/lib/std/Time/HiRes.pm +591 -0
  361. data/Slic3r/Linux/lib/std/Time/Local.pm +384 -0
  362. data/Slic3r/Linux/lib/std/Time/Zone.pm +291 -0
  363. data/Slic3r/Linux/lib/std/UNIVERSAL.pm +214 -0
  364. data/Slic3r/Linux/lib/std/URI.pm +1131 -0
  365. data/Slic3r/Linux/lib/std/URI/Escape.pm +208 -0
  366. data/Slic3r/Linux/lib/std/URI/Heuristic.pm +253 -0
  367. data/Slic3r/Linux/lib/std/URI/IRI.pm +44 -0
  368. data/Slic3r/Linux/lib/std/URI/QueryParam.pm +193 -0
  369. data/Slic3r/Linux/lib/std/URI/Split.pm +96 -0
  370. data/Slic3r/Linux/lib/std/URI/URL.pm +305 -0
  371. data/Slic3r/Linux/lib/std/URI/WithBase.pm +171 -0
  372. data/Slic3r/Linux/lib/std/URI/_foreign.pm +6 -0
  373. data/Slic3r/Linux/lib/std/URI/_generic.pm +252 -0
  374. data/Slic3r/Linux/lib/std/URI/_idna.pm +87 -0
  375. data/Slic3r/Linux/lib/std/URI/_ldap.pm +140 -0
  376. data/Slic3r/Linux/lib/std/URI/_login.pm +10 -0
  377. data/Slic3r/Linux/lib/std/URI/_punycode.pm +202 -0
  378. data/Slic3r/Linux/lib/std/URI/_query.pm +93 -0
  379. data/Slic3r/Linux/lib/std/URI/_segment.pm +20 -0
  380. data/Slic3r/Linux/lib/std/URI/_server.pm +162 -0
  381. data/Slic3r/Linux/lib/std/URI/_userpass.pm +51 -0
  382. data/Slic3r/Linux/lib/std/URI/data.pm +140 -0
  383. data/Slic3r/Linux/lib/std/URI/file.pm +328 -0
  384. data/Slic3r/Linux/lib/std/URI/file/Base.pm +80 -0
  385. data/Slic3r/Linux/lib/std/URI/file/FAT.pm +23 -0
  386. data/Slic3r/Linux/lib/std/URI/file/Mac.pm +120 -0
  387. data/Slic3r/Linux/lib/std/URI/file/OS2.pm +28 -0
  388. data/Slic3r/Linux/lib/std/URI/file/QNX.pm +18 -0
  389. data/Slic3r/Linux/lib/std/URI/file/Unix.pm +55 -0
  390. data/Slic3r/Linux/lib/std/URI/file/Win32.pm +84 -0
  391. data/Slic3r/Linux/lib/std/URI/ftp.pm +45 -0
  392. data/Slic3r/Linux/lib/std/URI/gopher.pm +94 -0
  393. data/Slic3r/Linux/lib/std/URI/http.pm +25 -0
  394. data/Slic3r/Linux/lib/std/URI/https.pm +9 -0
  395. data/Slic3r/Linux/lib/std/URI/ldap.pm +122 -0
  396. data/Slic3r/Linux/lib/std/URI/ldapi.pm +30 -0
  397. data/Slic3r/Linux/lib/std/URI/ldaps.pm +9 -0
  398. data/Slic3r/Linux/lib/std/URI/mailto.pm +72 -0
  399. data/Slic3r/Linux/lib/std/URI/mms.pm +8 -0
  400. data/Slic3r/Linux/lib/std/URI/news.pm +68 -0
  401. data/Slic3r/Linux/lib/std/URI/nntp.pm +6 -0
  402. data/Slic3r/Linux/lib/std/URI/pop.pm +68 -0
  403. data/Slic3r/Linux/lib/std/URI/rlogin.pm +7 -0
  404. data/Slic3r/Linux/lib/std/URI/rsync.pm +12 -0
  405. data/Slic3r/Linux/lib/std/URI/rtsp.pm +8 -0
  406. data/Slic3r/Linux/lib/std/URI/rtspu.pm +8 -0
  407. data/Slic3r/Linux/lib/std/URI/sip.pm +86 -0
  408. data/Slic3r/Linux/lib/std/URI/sips.pm +9 -0
  409. data/Slic3r/Linux/lib/std/URI/snews.pm +10 -0
  410. data/Slic3r/Linux/lib/std/URI/ssh.pm +11 -0
  411. data/Slic3r/Linux/lib/std/URI/telnet.pm +7 -0
  412. data/Slic3r/Linux/lib/std/URI/tn3270.pm +7 -0
  413. data/Slic3r/Linux/lib/std/URI/urn.pm +97 -0
  414. data/Slic3r/Linux/lib/std/URI/urn/isbn.pm +102 -0
  415. data/Slic3r/Linux/lib/std/URI/urn/oid.pm +18 -0
  416. data/Slic3r/Linux/lib/std/Wx.pm +394 -0
  417. data/Slic3r/Linux/lib/std/Wx/App.pm +54 -0
  418. data/Slic3r/Linux/lib/std/Wx/DND.pm +74 -0
  419. data/Slic3r/Linux/lib/std/Wx/DropSource.pm +33 -0
  420. data/Slic3r/Linux/lib/std/Wx/Event.pm +469 -0
  421. data/Slic3r/Linux/lib/std/Wx/GLCanvas.pm +84 -0
  422. data/Slic3r/Linux/lib/std/Wx/Grid.pm +128 -0
  423. data/Slic3r/Linux/lib/std/Wx/Html.pm +67 -0
  424. data/Slic3r/Linux/lib/std/Wx/Locale.pm +61 -0
  425. data/Slic3r/Linux/lib/std/Wx/Menu.pm +74 -0
  426. data/Slic3r/Linux/lib/std/Wx/Mini.pm +181 -0
  427. data/Slic3r/Linux/lib/std/Wx/Print.pm +56 -0
  428. data/Slic3r/Linux/lib/std/Wx/RadioBox.pm +53 -0
  429. data/Slic3r/Linux/lib/std/Wx/Timer.pm +56 -0
  430. data/Slic3r/Linux/lib/std/Wx/Wx_Exp.pm +9494 -0
  431. data/Slic3r/Linux/lib/std/XML/NamespaceSupport.pm +583 -0
  432. data/Slic3r/Linux/lib/std/XML/SAX.pm +379 -0
  433. data/Slic3r/Linux/lib/std/XML/SAX/Base.pm +3176 -0
  434. data/Slic3r/Linux/lib/std/XML/SAX/BuildSAXBase.pl +847 -0
  435. data/Slic3r/Linux/lib/std/XML/SAX/DocumentLocator.pm +134 -0
  436. data/Slic3r/Linux/lib/std/XML/SAX/Exception.pm +129 -0
  437. data/Slic3r/Linux/lib/std/XML/SAX/ExpatXS.pm +354 -0
  438. data/Slic3r/Linux/lib/std/XML/SAX/ExpatXS/Encoding.pm +184 -0
  439. data/Slic3r/Linux/lib/std/XML/SAX/ExpatXS/Preload.pm +288 -0
  440. data/Slic3r/Linux/lib/std/XML/SAX/ParserDetails.ini +16 -0
  441. data/Slic3r/Linux/lib/std/XML/SAX/ParserFactory.pm +230 -0
  442. data/Slic3r/Linux/lib/std/XML/SAX/PurePerl.pm +751 -0
  443. data/Slic3r/Linux/lib/std/XML/SAX/PurePerl/DTDDecls.pm +603 -0
  444. data/Slic3r/Linux/lib/std/XML/SAX/PurePerl/DebugHandler.pm +95 -0
  445. data/Slic3r/Linux/lib/std/XML/SAX/PurePerl/DocType.pm +180 -0
  446. data/Slic3r/Linux/lib/std/XML/SAX/PurePerl/EncodingDetect.pm +105 -0
  447. data/Slic3r/Linux/lib/std/XML/SAX/PurePerl/Exception.pm +67 -0
  448. data/Slic3r/Linux/lib/std/XML/SAX/PurePerl/NoUnicodeExt.pm +28 -0
  449. data/Slic3r/Linux/lib/std/XML/SAX/PurePerl/Productions.pm +147 -0
  450. data/Slic3r/Linux/lib/std/XML/SAX/PurePerl/Reader.pm +136 -0
  451. data/Slic3r/Linux/lib/std/XML/SAX/PurePerl/Reader/NoUnicodeExt.pm +25 -0
  452. data/Slic3r/Linux/lib/std/XML/SAX/PurePerl/Reader/Stream.pm +84 -0
  453. data/Slic3r/Linux/lib/std/XML/SAX/PurePerl/Reader/String.pm +78 -0
  454. data/Slic3r/Linux/lib/std/XML/SAX/PurePerl/Reader/URI.pm +57 -0
  455. data/Slic3r/Linux/lib/std/XML/SAX/PurePerl/Reader/UnicodeExt.pm +23 -0
  456. data/Slic3r/Linux/lib/std/XML/SAX/PurePerl/UnicodeExt.pm +22 -0
  457. data/Slic3r/Linux/lib/std/XML/SAX/PurePerl/XMLDecl.pm +129 -0
  458. data/Slic3r/Linux/lib/std/attributes.pm +490 -0
  459. data/Slic3r/Linux/lib/std/auto/B/B.so +0 -0
  460. data/Slic3r/Linux/lib/std/auto/Class/XSAccessor/XSAccessor.so +0 -0
  461. data/Slic3r/Linux/lib/std/auto/Compress/Raw/Bzip2/Bzip2.so +0 -0
  462. data/Slic3r/Linux/lib/std/auto/Compress/Raw/Bzip2/autosplit.ix +3 -0
  463. data/Slic3r/Linux/lib/std/auto/Compress/Raw/Zlib/Zlib.so +0 -0
  464. data/Slic3r/Linux/lib/std/auto/Compress/Raw/Zlib/autosplit.ix +3 -0
  465. data/Slic3r/Linux/lib/std/auto/Crypt/SSLeay/SSLeay.so +0 -0
  466. data/Slic3r/Linux/lib/std/auto/Cwd/Cwd.so +0 -0
  467. data/Slic3r/Linux/lib/std/auto/Data/Dumper/Dumper.so +0 -0
  468. data/Slic3r/Linux/lib/std/auto/Data/UUID/UUID.so +0 -0
  469. data/Slic3r/Linux/lib/std/auto/Digest/MD5/MD5.so +0 -0
  470. data/Slic3r/Linux/lib/std/auto/Digest/SHA/SHA.so +0 -0
  471. data/Slic3r/Linux/lib/std/auto/Encode/Byte/Byte.so +0 -0
  472. data/Slic3r/Linux/lib/std/auto/Encode/CN/CN.so +0 -0
  473. data/Slic3r/Linux/lib/std/auto/Encode/EBCDIC/EBCDIC.so +0 -0
  474. data/Slic3r/Linux/lib/std/auto/Encode/Encode.so +0 -0
  475. data/Slic3r/Linux/lib/std/auto/Encode/JP/JP.so +0 -0
  476. data/Slic3r/Linux/lib/std/auto/Encode/KR/KR.so +0 -0
  477. data/Slic3r/Linux/lib/std/auto/Encode/Symbol/Symbol.so +0 -0
  478. data/Slic3r/Linux/lib/std/auto/Encode/TW/TW.so +0 -0
  479. data/Slic3r/Linux/lib/std/auto/Encode/Unicode/Unicode.so +0 -0
  480. data/Slic3r/Linux/lib/std/auto/Fcntl/Fcntl.so +0 -0
  481. data/Slic3r/Linux/lib/std/auto/File/Glob/Glob.so +0 -0
  482. data/Slic3r/Linux/lib/std/auto/Filter/Util/Call/Call.so +0 -0
  483. data/Slic3r/Linux/lib/std/auto/HTML/Parser/Parser.so +0 -0
  484. data/Slic3r/Linux/lib/std/auto/I18N/Langinfo/Langinfo.so +0 -0
  485. data/Slic3r/Linux/lib/std/auto/IO/IO.so +0 -0
  486. data/Slic3r/Linux/lib/std/auto/List/Util/Util.so +0 -0
  487. data/Slic3r/Linux/lib/std/auto/MIME/Base64/Base64.so +0 -0
  488. data/Slic3r/Linux/lib/std/auto/Math/BigInt/FastCalc/FastCalc.so +0 -0
  489. data/Slic3r/Linux/lib/std/auto/Math/Libm/Libm.so +0 -0
  490. data/Slic3r/Linux/lib/std/auto/Math/Libm/autosplit.ix +3 -0
  491. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/SSLeay.so +0 -0
  492. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/autosplit.ix +78 -0
  493. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/debug_read.al +22 -0
  494. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/do_https.al +18 -0
  495. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/do_https2.al +13 -0
  496. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/do_https3.al +13 -0
  497. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/do_https4.al +12 -0
  498. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/do_httpx2.al +18 -0
  499. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/do_httpx3.al +43 -0
  500. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/do_httpx4.al +19 -0
  501. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/dump_peer_certificate.al +29 -0
  502. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/get_http.al +9 -0
  503. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/get_http3.al +9 -0
  504. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/get_http4.al +9 -0
  505. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/get_https.al +9 -0
  506. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/get_https3.al +9 -0
  507. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/get_https4.al +9 -0
  508. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/get_httpx.al +9 -0
  509. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/get_httpx3.al +9 -0
  510. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/get_httpx4.al +9 -0
  511. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/head_http.al +10 -0
  512. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/head_http3.al +10 -0
  513. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/head_http4.al +12 -0
  514. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/head_https.al +10 -0
  515. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/head_https3.al +10 -0
  516. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/head_https4.al +12 -0
  517. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/head_httpx.al +10 -0
  518. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/head_httpx3.al +10 -0
  519. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/head_httpx4.al +13 -0
  520. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/http_cat.al +34 -0
  521. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/https_cat.al +97 -0
  522. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/httpx_cat.al +18 -0
  523. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/make_form.al +25 -0
  524. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/make_headers.al +21 -0
  525. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/new_x_ctx.al +16 -0
  526. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/open_proxy_tcp_connection.al +31 -0
  527. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/open_tcp_connection.al +40 -0
  528. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/post_http.al +9 -0
  529. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/post_http3.al +9 -0
  530. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/post_http4.al +9 -0
  531. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/post_https.al +9 -0
  532. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/post_https3.al +9 -0
  533. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/post_https4.al +9 -0
  534. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/post_httpx.al +9 -0
  535. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/post_httpx3.al +9 -0
  536. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/post_httpx4.al +9 -0
  537. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/put_http.al +9 -0
  538. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/put_http3.al +9 -0
  539. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/put_http4.al +9 -0
  540. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/put_https.al +9 -0
  541. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/put_https3.al +9 -0
  542. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/put_https4.al +9 -0
  543. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/put_httpx.al +9 -0
  544. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/put_httpx3.al +9 -0
  545. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/put_httpx4.al +9 -0
  546. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/randomize.al +31 -0
  547. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/set_cert_and_key.al +23 -0
  548. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/set_proxy.al +16 -0
  549. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/set_server_cert_and_key.al +14 -0
  550. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/ssl_read_CRLF.al +10 -0
  551. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/ssl_read_all.al +28 -0
  552. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/ssl_read_until.al +95 -0
  553. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/ssl_write_CRLF.al +23 -0
  554. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/ssl_write_all.al +149 -0
  555. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/sslcat.al +99 -0
  556. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/tcp_read_CRLF.al +11 -0
  557. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/tcp_read_all.al +26 -0
  558. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/tcp_read_until.al +34 -0
  559. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/tcp_write_CRLF.al +23 -0
  560. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/tcp_write_all.al +36 -0
  561. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/tcpcat.al +37 -0
  562. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/tcpxcat.al +17 -0
  563. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/want_X509_lookup.al +15 -0
  564. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/want_nothing.al +16 -0
  565. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/want_read.al +9 -0
  566. data/Slic3r/Linux/lib/std/auto/Net/SSLeay/want_write.al +9 -0
  567. data/Slic3r/Linux/lib/std/auto/OpenGL/OpenGL.so +0 -0
  568. data/Slic3r/Linux/lib/std/auto/OpenGL/autosplit.ix +3 -0
  569. data/Slic3r/Linux/lib/std/auto/POSIX/POSIX.so +0 -0
  570. data/Slic3r/Linux/lib/std/auto/POSIX/SigAction/flags.al +9 -0
  571. data/Slic3r/Linux/lib/std/auto/POSIX/SigAction/handler.al +9 -0
  572. data/Slic3r/Linux/lib/std/auto/POSIX/SigAction/mask.al +9 -0
  573. data/Slic3r/Linux/lib/std/auto/POSIX/SigAction/new.al +11 -0
  574. data/Slic3r/Linux/lib/std/auto/POSIX/SigAction/safe.al +13 -0
  575. data/Slic3r/Linux/lib/std/auto/POSIX/SigRt/CLEAR.al +9 -0
  576. data/Slic3r/Linux/lib/std/auto/POSIX/SigRt/DELETE.al +9 -0
  577. data/Slic3r/Linux/lib/std/auto/POSIX/SigRt/EXISTS.al +9 -0
  578. data/Slic3r/Linux/lib/std/auto/POSIX/SigRt/FETCH.al +12 -0
  579. data/Slic3r/Linux/lib/std/auto/POSIX/SigRt/SCALAR.al +9 -0
  580. data/Slic3r/Linux/lib/std/auto/POSIX/SigRt/STORE.al +9 -0
  581. data/Slic3r/Linux/lib/std/auto/POSIX/SigRt/_check.al +15 -0
  582. data/Slic3r/Linux/lib/std/auto/POSIX/SigRt/_croak.al +13 -0
  583. data/Slic3r/Linux/lib/std/auto/POSIX/SigRt/_exist.al +14 -0
  584. data/Slic3r/Linux/lib/std/auto/POSIX/SigRt/_getsig.al +17 -0
  585. data/Slic3r/Linux/lib/std/auto/POSIX/SigRt/_init.al +14 -0
  586. data/Slic3r/Linux/lib/std/auto/POSIX/SigRt/new.al +17 -0
  587. data/Slic3r/Linux/lib/std/auto/POSIX/abs.al +13 -0
  588. data/Slic3r/Linux/lib/std/auto/POSIX/alarm.al +13 -0
  589. data/Slic3r/Linux/lib/std/auto/POSIX/assert.al +15 -0
  590. data/Slic3r/Linux/lib/std/auto/POSIX/atan2.al +13 -0
  591. data/Slic3r/Linux/lib/std/auto/POSIX/atexit.al +12 -0
  592. data/Slic3r/Linux/lib/std/auto/POSIX/atof.al +12 -0
  593. data/Slic3r/Linux/lib/std/auto/POSIX/atoi.al +12 -0
  594. data/Slic3r/Linux/lib/std/auto/POSIX/atol.al +12 -0
  595. data/Slic3r/Linux/lib/std/auto/POSIX/autosplit.ix +173 -0
  596. data/Slic3r/Linux/lib/std/auto/POSIX/bsearch.al +12 -0
  597. data/Slic3r/Linux/lib/std/auto/POSIX/calloc.al +12 -0
  598. data/Slic3r/Linux/lib/std/auto/POSIX/chdir.al +13 -0
  599. data/Slic3r/Linux/lib/std/auto/POSIX/chmod.al +13 -0
  600. data/Slic3r/Linux/lib/std/auto/POSIX/chown.al +13 -0
  601. data/Slic3r/Linux/lib/std/auto/POSIX/clearerr.al +12 -0
  602. data/Slic3r/Linux/lib/std/auto/POSIX/closedir.al +13 -0
  603. data/Slic3r/Linux/lib/std/auto/POSIX/cos.al +13 -0
  604. data/Slic3r/Linux/lib/std/auto/POSIX/creat.al +13 -0
  605. data/Slic3r/Linux/lib/std/auto/POSIX/div.al +12 -0
  606. data/Slic3r/Linux/lib/std/auto/POSIX/errno.al +13 -0
  607. data/Slic3r/Linux/lib/std/auto/POSIX/execl.al +12 -0
  608. data/Slic3r/Linux/lib/std/auto/POSIX/execle.al +12 -0
  609. data/Slic3r/Linux/lib/std/auto/POSIX/execlp.al +12 -0
  610. data/Slic3r/Linux/lib/std/auto/POSIX/execv.al +12 -0
  611. data/Slic3r/Linux/lib/std/auto/POSIX/execve.al +12 -0
  612. data/Slic3r/Linux/lib/std/auto/POSIX/execvp.al +12 -0
  613. data/Slic3r/Linux/lib/std/auto/POSIX/exit.al +13 -0
  614. data/Slic3r/Linux/lib/std/auto/POSIX/exp.al +13 -0
  615. data/Slic3r/Linux/lib/std/auto/POSIX/fabs.al +13 -0
  616. data/Slic3r/Linux/lib/std/auto/POSIX/fclose.al +12 -0
  617. data/Slic3r/Linux/lib/std/auto/POSIX/fcntl.al +13 -0
  618. data/Slic3r/Linux/lib/std/auto/POSIX/fdopen.al +12 -0
  619. data/Slic3r/Linux/lib/std/auto/POSIX/feof.al +12 -0
  620. data/Slic3r/Linux/lib/std/auto/POSIX/ferror.al +12 -0
  621. data/Slic3r/Linux/lib/std/auto/POSIX/fflush.al +12 -0
  622. data/Slic3r/Linux/lib/std/auto/POSIX/fgetc.al +12 -0
  623. data/Slic3r/Linux/lib/std/auto/POSIX/fgetpos.al +12 -0
  624. data/Slic3r/Linux/lib/std/auto/POSIX/fgets.al +12 -0
  625. data/Slic3r/Linux/lib/std/auto/POSIX/fileno.al +12 -0
  626. data/Slic3r/Linux/lib/std/auto/POSIX/fopen.al +12 -0
  627. data/Slic3r/Linux/lib/std/auto/POSIX/fork.al +13 -0
  628. data/Slic3r/Linux/lib/std/auto/POSIX/fprintf.al +12 -0
  629. data/Slic3r/Linux/lib/std/auto/POSIX/fputc.al +12 -0
  630. data/Slic3r/Linux/lib/std/auto/POSIX/fputs.al +12 -0
  631. data/Slic3r/Linux/lib/std/auto/POSIX/fread.al +12 -0
  632. data/Slic3r/Linux/lib/std/auto/POSIX/free.al +12 -0
  633. data/Slic3r/Linux/lib/std/auto/POSIX/freopen.al +12 -0
  634. data/Slic3r/Linux/lib/std/auto/POSIX/fscanf.al +12 -0
  635. data/Slic3r/Linux/lib/std/auto/POSIX/fseek.al +12 -0
  636. data/Slic3r/Linux/lib/std/auto/POSIX/fsetpos.al +12 -0
  637. data/Slic3r/Linux/lib/std/auto/POSIX/fstat.al +17 -0
  638. data/Slic3r/Linux/lib/std/auto/POSIX/fsync.al +12 -0
  639. data/Slic3r/Linux/lib/std/auto/POSIX/ftell.al +12 -0
  640. data/Slic3r/Linux/lib/std/auto/POSIX/fwrite.al +12 -0
  641. data/Slic3r/Linux/lib/std/auto/POSIX/getc.al +13 -0
  642. data/Slic3r/Linux/lib/std/auto/POSIX/getchar.al +13 -0
  643. data/Slic3r/Linux/lib/std/auto/POSIX/getegid.al +13 -0
  644. data/Slic3r/Linux/lib/std/auto/POSIX/getenv.al +13 -0
  645. data/Slic3r/Linux/lib/std/auto/POSIX/geteuid.al +13 -0
  646. data/Slic3r/Linux/lib/std/auto/POSIX/getgid.al +13 -0
  647. data/Slic3r/Linux/lib/std/auto/POSIX/getgrgid.al +13 -0
  648. data/Slic3r/Linux/lib/std/auto/POSIX/getgrnam.al +13 -0
  649. data/Slic3r/Linux/lib/std/auto/POSIX/getgroups.al +14 -0
  650. data/Slic3r/Linux/lib/std/auto/POSIX/getlogin.al +13 -0
  651. data/Slic3r/Linux/lib/std/auto/POSIX/getpgrp.al +13 -0
  652. data/Slic3r/Linux/lib/std/auto/POSIX/getpid.al +13 -0
  653. data/Slic3r/Linux/lib/std/auto/POSIX/getppid.al +13 -0
  654. data/Slic3r/Linux/lib/std/auto/POSIX/getpwnam.al +13 -0
  655. data/Slic3r/Linux/lib/std/auto/POSIX/getpwuid.al +13 -0
  656. data/Slic3r/Linux/lib/std/auto/POSIX/gets.al +13 -0
  657. data/Slic3r/Linux/lib/std/auto/POSIX/getuid.al +13 -0
  658. data/Slic3r/Linux/lib/std/auto/POSIX/gmtime.al +13 -0
  659. data/Slic3r/Linux/lib/std/auto/POSIX/isatty.al +13 -0
  660. data/Slic3r/Linux/lib/std/auto/POSIX/kill.al +13 -0
  661. data/Slic3r/Linux/lib/std/auto/POSIX/labs.al +12 -0
  662. data/Slic3r/Linux/lib/std/auto/POSIX/ldiv.al +12 -0
  663. data/Slic3r/Linux/lib/std/auto/POSIX/link.al +13 -0
  664. data/Slic3r/Linux/lib/std/auto/POSIX/load_imports.al +231 -0
  665. data/Slic3r/Linux/lib/std/auto/POSIX/localtime.al +13 -0
  666. data/Slic3r/Linux/lib/std/auto/POSIX/log.al +13 -0
  667. data/Slic3r/Linux/lib/std/auto/POSIX/longjmp.al +12 -0
  668. data/Slic3r/Linux/lib/std/auto/POSIX/malloc.al +12 -0
  669. data/Slic3r/Linux/lib/std/auto/POSIX/memchr.al +12 -0
  670. data/Slic3r/Linux/lib/std/auto/POSIX/memcmp.al +12 -0
  671. data/Slic3r/Linux/lib/std/auto/POSIX/memcpy.al +12 -0
  672. data/Slic3r/Linux/lib/std/auto/POSIX/memmove.al +12 -0
  673. data/Slic3r/Linux/lib/std/auto/POSIX/memset.al +12 -0
  674. data/Slic3r/Linux/lib/std/auto/POSIX/mkdir.al +13 -0
  675. data/Slic3r/Linux/lib/std/auto/POSIX/offsetof.al +12 -0
  676. data/Slic3r/Linux/lib/std/auto/POSIX/opendir.al +16 -0
  677. data/Slic3r/Linux/lib/std/auto/POSIX/perror.al +13 -0
  678. data/Slic3r/Linux/lib/std/auto/POSIX/pow.al +13 -0
  679. data/Slic3r/Linux/lib/std/auto/POSIX/printf.al +13 -0
  680. data/Slic3r/Linux/lib/std/auto/POSIX/putc.al +12 -0
  681. data/Slic3r/Linux/lib/std/auto/POSIX/putchar.al +12 -0
  682. data/Slic3r/Linux/lib/std/auto/POSIX/puts.al +12 -0
  683. data/Slic3r/Linux/lib/std/auto/POSIX/qsort.al +12 -0
  684. data/Slic3r/Linux/lib/std/auto/POSIX/raise.al +13 -0
  685. data/Slic3r/Linux/lib/std/auto/POSIX/rand.al +12 -0
  686. data/Slic3r/Linux/lib/std/auto/POSIX/readdir.al +13 -0
  687. data/Slic3r/Linux/lib/std/auto/POSIX/realloc.al +12 -0
  688. data/Slic3r/Linux/lib/std/auto/POSIX/redef.al +13 -0
  689. data/Slic3r/Linux/lib/std/auto/POSIX/remove.al +13 -0
  690. data/Slic3r/Linux/lib/std/auto/POSIX/rename.al +13 -0
  691. data/Slic3r/Linux/lib/std/auto/POSIX/rewind.al +13 -0
  692. data/Slic3r/Linux/lib/std/auto/POSIX/rewinddir.al +13 -0
  693. data/Slic3r/Linux/lib/std/auto/POSIX/rmdir.al +13 -0
  694. data/Slic3r/Linux/lib/std/auto/POSIX/scanf.al +12 -0
  695. data/Slic3r/Linux/lib/std/auto/POSIX/setbuf.al +12 -0
  696. data/Slic3r/Linux/lib/std/auto/POSIX/setjmp.al +12 -0
  697. data/Slic3r/Linux/lib/std/auto/POSIX/setvbuf.al +12 -0
  698. data/Slic3r/Linux/lib/std/auto/POSIX/siglongjmp.al +12 -0
  699. data/Slic3r/Linux/lib/std/auto/POSIX/sigsetjmp.al +12 -0
  700. data/Slic3r/Linux/lib/std/auto/POSIX/sin.al +13 -0
  701. data/Slic3r/Linux/lib/std/auto/POSIX/sleep.al +13 -0
  702. data/Slic3r/Linux/lib/std/auto/POSIX/sprintf.al +13 -0
  703. data/Slic3r/Linux/lib/std/auto/POSIX/sqrt.al +13 -0
  704. data/Slic3r/Linux/lib/std/auto/POSIX/srand.al +12 -0
  705. data/Slic3r/Linux/lib/std/auto/POSIX/sscanf.al +12 -0
  706. data/Slic3r/Linux/lib/std/auto/POSIX/stat.al +13 -0
  707. data/Slic3r/Linux/lib/std/auto/POSIX/strcat.al +12 -0
  708. data/Slic3r/Linux/lib/std/auto/POSIX/strchr.al +12 -0
  709. data/Slic3r/Linux/lib/std/auto/POSIX/strcmp.al +12 -0
  710. data/Slic3r/Linux/lib/std/auto/POSIX/strcpy.al +12 -0
  711. data/Slic3r/Linux/lib/std/auto/POSIX/strcspn.al +12 -0
  712. data/Slic3r/Linux/lib/std/auto/POSIX/strerror.al +14 -0
  713. data/Slic3r/Linux/lib/std/auto/POSIX/strlen.al +12 -0
  714. data/Slic3r/Linux/lib/std/auto/POSIX/strncat.al +12 -0
  715. data/Slic3r/Linux/lib/std/auto/POSIX/strncmp.al +12 -0
  716. data/Slic3r/Linux/lib/std/auto/POSIX/strncpy.al +12 -0
  717. data/Slic3r/Linux/lib/std/auto/POSIX/strpbrk.al +12 -0
  718. data/Slic3r/Linux/lib/std/auto/POSIX/strrchr.al +12 -0
  719. data/Slic3r/Linux/lib/std/auto/POSIX/strspn.al +12 -0
  720. data/Slic3r/Linux/lib/std/auto/POSIX/strstr.al +13 -0
  721. data/Slic3r/Linux/lib/std/auto/POSIX/strtok.al +12 -0
  722. data/Slic3r/Linux/lib/std/auto/POSIX/system.al +13 -0
  723. data/Slic3r/Linux/lib/std/auto/POSIX/time.al +13 -0
  724. data/Slic3r/Linux/lib/std/auto/POSIX/tmpfile.al +12 -0
  725. data/Slic3r/Linux/lib/std/auto/POSIX/tolower.al +13 -0
  726. data/Slic3r/Linux/lib/std/auto/POSIX/toupper.al +13 -0
  727. data/Slic3r/Linux/lib/std/auto/POSIX/umask.al +13 -0
  728. data/Slic3r/Linux/lib/std/auto/POSIX/ungetc.al +12 -0
  729. data/Slic3r/Linux/lib/std/auto/POSIX/unimpl.al +14 -0
  730. data/Slic3r/Linux/lib/std/auto/POSIX/unlink.al +13 -0
  731. data/Slic3r/Linux/lib/std/auto/POSIX/usage.al +13 -0
  732. data/Slic3r/Linux/lib/std/auto/POSIX/utime.al +13 -0
  733. data/Slic3r/Linux/lib/std/auto/POSIX/vfprintf.al +12 -0
  734. data/Slic3r/Linux/lib/std/auto/POSIX/vprintf.al +12 -0
  735. data/Slic3r/Linux/lib/std/auto/POSIX/vsprintf.al +12 -0
  736. data/Slic3r/Linux/lib/std/auto/POSIX/wait.al +13 -0
  737. data/Slic3r/Linux/lib/std/auto/POSIX/waitpid.al +13 -0
  738. data/Slic3r/Linux/lib/std/auto/Params/Validate/XS/XS.so +0 -0
  739. data/Slic3r/Linux/lib/std/auto/PerlIO/encoding/encoding.so +0 -0
  740. data/Slic3r/Linux/lib/std/auto/PerlIO/scalar/scalar.so +0 -0
  741. data/Slic3r/Linux/lib/std/auto/PerlIO/via/via.so +0 -0
  742. data/Slic3r/Linux/lib/std/auto/Slic3r/XS/XS.so +0 -0
  743. data/Slic3r/Linux/lib/std/auto/Socket/Socket.so +0 -0
  744. data/Slic3r/Linux/lib/std/auto/Storable/Storable.so +0 -0
  745. data/Slic3r/Linux/lib/std/auto/Tie/Hash/NamedCapture/NamedCapture.so +0 -0
  746. data/Slic3r/Linux/lib/std/auto/Time/HiRes/HiRes.so +0 -0
  747. data/Slic3r/Linux/lib/std/auto/Wx/DND/DND.so +0 -0
  748. data/Slic3r/Linux/lib/std/auto/Wx/GLCanvas/GLCanvas.so +0 -0
  749. data/Slic3r/Linux/lib/std/auto/Wx/Grid/Grid.so +0 -0
  750. data/Slic3r/Linux/lib/std/auto/Wx/Html/Html.so +0 -0
  751. data/Slic3r/Linux/lib/std/auto/Wx/Print/Print.so +0 -0
  752. data/Slic3r/Linux/lib/std/auto/Wx/Wx.so +0 -0
  753. data/Slic3r/Linux/lib/std/auto/XML/SAX/ExpatXS/ExpatXS.so +0 -0
  754. data/Slic3r/Linux/lib/std/auto/attributes/attributes.so +0 -0
  755. data/Slic3r/Linux/lib/std/auto/mro/mro.so +0 -0
  756. data/Slic3r/Linux/lib/std/auto/re/re.so +0 -0
  757. data/Slic3r/Linux/lib/std/auto/threads/shared/shared.so +0 -0
  758. data/Slic3r/Linux/lib/std/auto/threads/threads.so +0 -0
  759. data/Slic3r/Linux/lib/std/base.pm +265 -0
  760. data/Slic3r/Linux/lib/std/bytes.pm +100 -0
  761. data/Slic3r/Linux/lib/std/bytes_heavy.pl +40 -0
  762. data/Slic3r/Linux/lib/std/constant.pm +397 -0
  763. data/Slic3r/Linux/lib/std/constant/defer.pm +441 -0
  764. data/Slic3r/Linux/lib/std/encoding.pm +669 -0
  765. data/Slic3r/Linux/lib/std/encoding/warnings.pm +239 -0
  766. data/Slic3r/Linux/lib/std/feature.pm +249 -0
  767. data/Slic3r/Linux/lib/std/filetest.pm +117 -0
  768. data/Slic3r/Linux/lib/std/integer.pm +93 -0
  769. data/Slic3r/Linux/lib/std/less.pm +158 -0
  770. data/Slic3r/Linux/lib/std/mro.pm +363 -0
  771. data/Slic3r/Linux/lib/std/overload.pm +1701 -0
  772. data/Slic3r/Linux/lib/std/parent.pm +136 -0
  773. data/Slic3r/Linux/lib/std/re.pm +604 -0
  774. data/Slic3r/Linux/lib/std/slic3r.pl +491 -0
  775. data/Slic3r/Linux/lib/std/sort.pm +196 -0
  776. data/Slic3r/Linux/lib/std/strictures.pm +296 -0
  777. data/Slic3r/Linux/lib/std/threads.pm +1115 -0
  778. data/Slic3r/Linux/lib/std/threads/shared.pm +616 -0
  779. data/Slic3r/Linux/lib/std/unicore/Heavy.pl +3261 -0
  780. data/Slic3r/Linux/lib/std/unicore/To/Age.pl +1036 -0
  781. data/Slic3r/Linux/lib/std/unicore/To/Bc.pl +555 -0
  782. data/Slic3r/Linux/lib/std/unicore/To/Bmg.pl +375 -0
  783. data/Slic3r/Linux/lib/std/unicore/To/Digit.pl +433 -0
  784. data/Slic3r/Linux/lib/std/unicore/To/Dt.pl +759 -0
  785. data/Slic3r/Linux/lib/std/unicore/To/Ea.pl +245 -0
  786. data/Slic3r/Linux/lib/std/unicore/To/Fold.pl +1177 -0
  787. data/Slic3r/Linux/lib/std/unicore/To/GCB.pl +1177 -0
  788. data/Slic3r/Linux/lib/std/unicore/To/Gc.pl +2639 -0
  789. data/Slic3r/Linux/lib/std/unicore/To/Hst.pl +822 -0
  790. data/Slic3r/Linux/lib/std/unicore/To/Jg.pl +144 -0
  791. data/Slic3r/Linux/lib/std/unicore/To/Jt.pl +292 -0
  792. data/Slic3r/Linux/lib/std/unicore/To/Lb.pl +2195 -0
  793. data/Slic3r/Linux/lib/std/unicore/To/Lower.pl +1061 -0
  794. data/Slic3r/Linux/lib/std/unicore/To/NFCQC.pl +126 -0
  795. data/Slic3r/Linux/lib/std/unicore/To/NFDQC.pl +245 -0
  796. data/Slic3r/Linux/lib/std/unicore/To/NFKCCF.pl +9815 -0
  797. data/Slic3r/Linux/lib/std/unicore/To/NFKCQC.pl +265 -0
  798. data/Slic3r/Linux/lib/std/unicore/To/NFKDQC.pl +367 -0
  799. data/Slic3r/Linux/lib/std/unicore/To/Na1.pl +1996 -0
  800. data/Slic3r/Linux/lib/std/unicore/To/Nt.pl +198 -0
  801. data/Slic3r/Linux/lib/std/unicore/To/Nv.pl +1157 -0
  802. data/Slic3r/Linux/lib/std/unicore/To/SB.pl +1958 -0
  803. data/Slic3r/Linux/lib/std/unicore/To/Sc.pl +702 -0
  804. data/Slic3r/Linux/lib/std/unicore/To/Title.pl +1117 -0
  805. data/Slic3r/Linux/lib/std/unicore/To/Upper.pl +1144 -0
  806. data/Slic3r/Linux/lib/std/unicore/To/WB.pl +691 -0
  807. data/Slic3r/Linux/lib/std/unicore/To/_slc.pl +46 -0
  808. data/Slic3r/Linux/lib/std/unicore/To/_stc.pl +45 -0
  809. data/Slic3r/Linux/lib/std/unicore/To/_suc.pl +45 -0
  810. data/Slic3r/Linux/lib/std/unicore/lib/AHex/N.pl +16 -0
  811. data/Slic3r/Linux/lib/std/unicore/lib/AHex/Y.pl +15 -0
  812. data/Slic3r/Linux/lib/std/unicore/lib/Age/1_1.pl +300 -0
  813. data/Slic3r/Linux/lib/std/unicore/lib/Age/2_0.pl +41 -0
  814. data/Slic3r/Linux/lib/std/unicore/lib/Age/2_1.pl +14 -0
  815. data/Slic3r/Linux/lib/std/unicore/lib/Age/3_0.pl +133 -0
  816. data/Slic3r/Linux/lib/std/unicore/lib/Age/3_1.pl +48 -0
  817. data/Slic3r/Linux/lib/std/unicore/lib/Age/3_2.pl +71 -0
  818. data/Slic3r/Linux/lib/std/unicore/lib/Age/4_0.pl +89 -0
  819. data/Slic3r/Linux/lib/std/unicore/lib/Age/4_1.pl +98 -0
  820. data/Slic3r/Linux/lib/std/unicore/lib/Age/5_0.pl +47 -0
  821. data/Slic3r/Linux/lib/std/unicore/lib/Age/5_1.pl +101 -0
  822. data/Slic3r/Linux/lib/std/unicore/lib/Age/5_2.pl +102 -0
  823. data/Slic3r/Linux/lib/std/unicore/lib/Age/6_0.pl +118 -0
  824. data/Slic3r/Linux/lib/std/unicore/lib/Age/Unassign.pl +522 -0
  825. data/Slic3r/Linux/lib/std/unicore/lib/Alpha/N.pl +499 -0
  826. data/Slic3r/Linux/lib/std/unicore/lib/Alpha/Y.pl +498 -0
  827. data/Slic3r/Linux/lib/std/unicore/lib/Bc/AL.pl +30 -0
  828. data/Slic3r/Linux/lib/std/unicore/lib/Bc/AN.pl +17 -0
  829. data/Slic3r/Linux/lib/std/unicore/lib/Bc/B.pl +17 -0
  830. data/Slic3r/Linux/lib/std/unicore/lib/Bc/BN.pl +41 -0
  831. data/Slic3r/Linux/lib/std/unicore/lib/Bc/CS.pl +25 -0
  832. data/Slic3r/Linux/lib/std/unicore/lib/Bc/EN.pl +23 -0
  833. data/Slic3r/Linux/lib/std/unicore/lib/Bc/ES.pl +21 -0
  834. data/Slic3r/Linux/lib/std/unicore/lib/Bc/ET.pl +33 -0
  835. data/Slic3r/Linux/lib/std/unicore/lib/Bc/L.pl +358 -0
  836. data/Slic3r/Linux/lib/std/unicore/lib/Bc/LRE.pl +13 -0
  837. data/Slic3r/Linux/lib/std/unicore/lib/Bc/LRO.pl +13 -0
  838. data/Slic3r/Linux/lib/std/unicore/lib/Bc/NSM.pl +211 -0
  839. data/Slic3r/Linux/lib/std/unicore/lib/Bc/ON.pl +195 -0
  840. data/Slic3r/Linux/lib/std/unicore/lib/Bc/PDF.pl +13 -0
  841. data/Slic3r/Linux/lib/std/unicore/lib/Bc/R.pl +40 -0
  842. data/Slic3r/Linux/lib/std/unicore/lib/Bc/RLE.pl +13 -0
  843. data/Slic3r/Linux/lib/std/unicore/lib/Bc/RLO.pl +13 -0
  844. data/Slic3r/Linux/lib/std/unicore/lib/Bc/S.pl +15 -0
  845. data/Slic3r/Linux/lib/std/unicore/lib/Bc/WS.pl +20 -0
  846. data/Slic3r/Linux/lib/std/unicore/lib/BidiC/N.pl +15 -0
  847. data/Slic3r/Linux/lib/std/unicore/lib/BidiC/Y.pl +14 -0
  848. data/Slic3r/Linux/lib/std/unicore/lib/BidiM/N.pl +124 -0
  849. data/Slic3r/Linux/lib/std/unicore/lib/BidiM/Y.pl +123 -0
  850. data/Slic3r/Linux/lib/std/unicore/lib/Blk/ASCII.pl +13 -0
  851. data/Slic3r/Linux/lib/std/unicore/lib/Blk/AegeanNu.pl +13 -0
  852. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Alchemic.pl +13 -0
  853. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Alphabet.pl +13 -0
  854. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Ancient2.pl +13 -0
  855. data/Slic3r/Linux/lib/std/unicore/lib/Blk/AncientG.pl +13 -0
  856. data/Slic3r/Linux/lib/std/unicore/lib/Blk/AncientS.pl +13 -0
  857. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Arabic.pl +13 -0
  858. data/Slic3r/Linux/lib/std/unicore/lib/Blk/ArabicP2.pl +13 -0
  859. data/Slic3r/Linux/lib/std/unicore/lib/Blk/ArabicPr.pl +13 -0
  860. data/Slic3r/Linux/lib/std/unicore/lib/Blk/ArabicSu.pl +13 -0
  861. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Armenian.pl +13 -0
  862. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Arrows.pl +13 -0
  863. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Avestan.pl +13 -0
  864. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Balinese.pl +13 -0
  865. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Bamum.pl +13 -0
  866. data/Slic3r/Linux/lib/std/unicore/lib/Blk/BamumSup.pl +13 -0
  867. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Batak.pl +13 -0
  868. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Bengali.pl +13 -0
  869. data/Slic3r/Linux/lib/std/unicore/lib/Blk/BlockEle.pl +13 -0
  870. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Bopomof2.pl +13 -0
  871. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Bopomofo.pl +13 -0
  872. data/Slic3r/Linux/lib/std/unicore/lib/Blk/BoxDrawi.pl +13 -0
  873. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Brahmi.pl +13 -0
  874. data/Slic3r/Linux/lib/std/unicore/lib/Blk/BrailleP.pl +13 -0
  875. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Buginese.pl +13 -0
  876. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Buhid.pl +13 -0
  877. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Byzantin.pl +13 -0
  878. data/Slic3r/Linux/lib/std/unicore/lib/Blk/CJKComp2.pl +13 -0
  879. data/Slic3r/Linux/lib/std/unicore/lib/Blk/CJKComp3.pl +13 -0
  880. data/Slic3r/Linux/lib/std/unicore/lib/Blk/CJKComp4.pl +13 -0
  881. data/Slic3r/Linux/lib/std/unicore/lib/Blk/CJKCompa.pl +13 -0
  882. data/Slic3r/Linux/lib/std/unicore/lib/Blk/CJKRadic.pl +13 -0
  883. data/Slic3r/Linux/lib/std/unicore/lib/Blk/CJKStrok.pl +13 -0
  884. data/Slic3r/Linux/lib/std/unicore/lib/Blk/CJKSymbo.pl +13 -0
  885. data/Slic3r/Linux/lib/std/unicore/lib/Blk/CJKUnif2.pl +13 -0
  886. data/Slic3r/Linux/lib/std/unicore/lib/Blk/CJKUnif3.pl +13 -0
  887. data/Slic3r/Linux/lib/std/unicore/lib/Blk/CJKUnif4.pl +13 -0
  888. data/Slic3r/Linux/lib/std/unicore/lib/Blk/CJKUnif5.pl +13 -0
  889. data/Slic3r/Linux/lib/std/unicore/lib/Blk/CJKUnifi.pl +13 -0
  890. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Canadian.pl +13 -0
  891. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Carian.pl +13 -0
  892. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Cham.pl +13 -0
  893. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Cherokee.pl +13 -0
  894. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Combini2.pl +13 -0
  895. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Combini3.pl +13 -0
  896. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Combini4.pl +13 -0
  897. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Combinin.pl +13 -0
  898. data/Slic3r/Linux/lib/std/unicore/lib/Blk/CommonIn.pl +13 -0
  899. data/Slic3r/Linux/lib/std/unicore/lib/Blk/ControlP.pl +13 -0
  900. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Coptic.pl +13 -0
  901. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Counting.pl +13 -0
  902. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Cuneifo2.pl +13 -0
  903. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Cuneifor.pl +13 -0
  904. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Currency.pl +13 -0
  905. data/Slic3r/Linux/lib/std/unicore/lib/Blk/CypriotS.pl +13 -0
  906. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Cyrilli2.pl +13 -0
  907. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Cyrilli3.pl +13 -0
  908. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Cyrilli4.pl +13 -0
  909. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Cyrillic.pl +13 -0
  910. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Deseret.pl +13 -0
  911. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Devanag2.pl +13 -0
  912. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Devanaga.pl +13 -0
  913. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Dingbats.pl +13 -0
  914. data/Slic3r/Linux/lib/std/unicore/lib/Blk/DominoTi.pl +13 -0
  915. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Egyptian.pl +13 -0
  916. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Emoticon.pl +13 -0
  917. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Enclose2.pl +13 -0
  918. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Enclose3.pl +13 -0
  919. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Enclose4.pl +13 -0
  920. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Enclosed.pl +13 -0
  921. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Ethiopi2.pl +13 -0
  922. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Ethiopi3.pl +13 -0
  923. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Ethiopi4.pl +13 -0
  924. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Ethiopic.pl +13 -0
  925. data/Slic3r/Linux/lib/std/unicore/lib/Blk/GeneralP.pl +13 -0
  926. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Geometri.pl +13 -0
  927. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Georgia2.pl +13 -0
  928. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Georgian.pl +13 -0
  929. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Glagolit.pl +13 -0
  930. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Gothic.pl +13 -0
  931. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Greek.pl +13 -0
  932. data/Slic3r/Linux/lib/std/unicore/lib/Blk/GreekExt.pl +13 -0
  933. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Gujarati.pl +13 -0
  934. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Gurmukhi.pl +13 -0
  935. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Halfwidt.pl +13 -0
  936. data/Slic3r/Linux/lib/std/unicore/lib/Blk/HangulCo.pl +13 -0
  937. data/Slic3r/Linux/lib/std/unicore/lib/Blk/HangulJ2.pl +13 -0
  938. data/Slic3r/Linux/lib/std/unicore/lib/Blk/HangulJ3.pl +13 -0
  939. data/Slic3r/Linux/lib/std/unicore/lib/Blk/HangulJa.pl +13 -0
  940. data/Slic3r/Linux/lib/std/unicore/lib/Blk/HangulSy.pl +13 -0
  941. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Hanunoo.pl +13 -0
  942. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Hebrew.pl +13 -0
  943. data/Slic3r/Linux/lib/std/unicore/lib/Blk/HighPriv.pl +13 -0
  944. data/Slic3r/Linux/lib/std/unicore/lib/Blk/HighSurr.pl +13 -0
  945. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Hiragana.pl +13 -0
  946. data/Slic3r/Linux/lib/std/unicore/lib/Blk/IPAExten.pl +13 -0
  947. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Ideograp.pl +13 -0
  948. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Imperial.pl +13 -0
  949. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Inscrip2.pl +13 -0
  950. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Inscript.pl +13 -0
  951. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Javanese.pl +13 -0
  952. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Kaithi.pl +13 -0
  953. data/Slic3r/Linux/lib/std/unicore/lib/Blk/KanaSupp.pl +13 -0
  954. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Kanbun.pl +13 -0
  955. data/Slic3r/Linux/lib/std/unicore/lib/Blk/KangxiRa.pl +13 -0
  956. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Kannada.pl +13 -0
  957. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Katakan2.pl +13 -0
  958. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Katakana.pl +13 -0
  959. data/Slic3r/Linux/lib/std/unicore/lib/Blk/KayahLi.pl +13 -0
  960. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Kharosht.pl +13 -0
  961. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Khmer.pl +13 -0
  962. data/Slic3r/Linux/lib/std/unicore/lib/Blk/KhmerSym.pl +13 -0
  963. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Lao.pl +13 -0
  964. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Latin1.pl +13 -0
  965. data/Slic3r/Linux/lib/std/unicore/lib/Blk/LatinEx2.pl +13 -0
  966. data/Slic3r/Linux/lib/std/unicore/lib/Blk/LatinEx3.pl +13 -0
  967. data/Slic3r/Linux/lib/std/unicore/lib/Blk/LatinEx4.pl +13 -0
  968. data/Slic3r/Linux/lib/std/unicore/lib/Blk/LatinEx5.pl +13 -0
  969. data/Slic3r/Linux/lib/std/unicore/lib/Blk/LatinExt.pl +13 -0
  970. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Lepcha.pl +13 -0
  971. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Letterli.pl +13 -0
  972. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Limbu.pl +13 -0
  973. data/Slic3r/Linux/lib/std/unicore/lib/Blk/LinearBI.pl +13 -0
  974. data/Slic3r/Linux/lib/std/unicore/lib/Blk/LinearBS.pl +13 -0
  975. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Lisu.pl +13 -0
  976. data/Slic3r/Linux/lib/std/unicore/lib/Blk/LowSurro.pl +13 -0
  977. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Lycian.pl +13 -0
  978. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Lydian.pl +13 -0
  979. data/Slic3r/Linux/lib/std/unicore/lib/Blk/MahjongT.pl +13 -0
  980. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Malayala.pl +13 -0
  981. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Mandaic.pl +13 -0
  982. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Mathema2.pl +13 -0
  983. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Mathemat.pl +13 -0
  984. data/Slic3r/Linux/lib/std/unicore/lib/Blk/MeeteiMa.pl +13 -0
  985. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Miscell2.pl +13 -0
  986. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Miscell3.pl +13 -0
  987. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Miscell4.pl +13 -0
  988. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Miscell5.pl +13 -0
  989. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Miscell6.pl +13 -0
  990. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Miscella.pl +13 -0
  991. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Modifier.pl +13 -0
  992. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Mongolia.pl +13 -0
  993. data/Slic3r/Linux/lib/std/unicore/lib/Blk/MusicalS.pl +13 -0
  994. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Myanmar.pl +13 -0
  995. data/Slic3r/Linux/lib/std/unicore/lib/Blk/MyanmarE.pl +13 -0
  996. data/Slic3r/Linux/lib/std/unicore/lib/Blk/NKo.pl +13 -0
  997. data/Slic3r/Linux/lib/std/unicore/lib/Blk/NewTaiLu.pl +13 -0
  998. data/Slic3r/Linux/lib/std/unicore/lib/Blk/NoBlock.pl +45 -0
  999. data/Slic3r/Linux/lib/std/unicore/lib/Blk/NumberFo.pl +13 -0
  1000. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Ogham.pl +13 -0
  1001. data/Slic3r/Linux/lib/std/unicore/lib/Blk/OlChiki.pl +13 -0
  1002. data/Slic3r/Linux/lib/std/unicore/lib/Blk/OldItali.pl +13 -0
  1003. data/Slic3r/Linux/lib/std/unicore/lib/Blk/OldPersi.pl +13 -0
  1004. data/Slic3r/Linux/lib/std/unicore/lib/Blk/OldSouth.pl +13 -0
  1005. data/Slic3r/Linux/lib/std/unicore/lib/Blk/OldTurki.pl +13 -0
  1006. data/Slic3r/Linux/lib/std/unicore/lib/Blk/OpticalC.pl +13 -0
  1007. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Oriya.pl +13 -0
  1008. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Osmanya.pl +13 -0
  1009. data/Slic3r/Linux/lib/std/unicore/lib/Blk/PhagsPa.pl +13 -0
  1010. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Phaistos.pl +13 -0
  1011. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Phoenici.pl +13 -0
  1012. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Phoneti2.pl +13 -0
  1013. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Phonetic.pl +13 -0
  1014. data/Slic3r/Linux/lib/std/unicore/lib/Blk/PlayingC.pl +13 -0
  1015. data/Slic3r/Linux/lib/std/unicore/lib/Blk/PrivateU.pl +13 -0
  1016. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Rejang.pl +13 -0
  1017. data/Slic3r/Linux/lib/std/unicore/lib/Blk/RumiNume.pl +13 -0
  1018. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Runic.pl +13 -0
  1019. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Samarita.pl +13 -0
  1020. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Saurasht.pl +13 -0
  1021. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Shavian.pl +13 -0
  1022. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Sinhala.pl +13 -0
  1023. data/Slic3r/Linux/lib/std/unicore/lib/Blk/SmallFor.pl +13 -0
  1024. data/Slic3r/Linux/lib/std/unicore/lib/Blk/SpacingM.pl +13 -0
  1025. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Specials.pl +13 -0
  1026. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Sundanes.pl +13 -0
  1027. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Superscr.pl +13 -0
  1028. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Supplem2.pl +13 -0
  1029. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Supplem3.pl +13 -0
  1030. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Supplem4.pl +13 -0
  1031. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Supplem5.pl +13 -0
  1032. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Supplem6.pl +13 -0
  1033. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Suppleme.pl +13 -0
  1034. data/Slic3r/Linux/lib/std/unicore/lib/Blk/SylotiNa.pl +13 -0
  1035. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Syriac.pl +13 -0
  1036. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Tagalog.pl +13 -0
  1037. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Tagbanwa.pl +13 -0
  1038. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Tags.pl +13 -0
  1039. data/Slic3r/Linux/lib/std/unicore/lib/Blk/TaiLe.pl +13 -0
  1040. data/Slic3r/Linux/lib/std/unicore/lib/Blk/TaiTham.pl +13 -0
  1041. data/Slic3r/Linux/lib/std/unicore/lib/Blk/TaiViet.pl +13 -0
  1042. data/Slic3r/Linux/lib/std/unicore/lib/Blk/TaiXuanJ.pl +13 -0
  1043. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Tamil.pl +13 -0
  1044. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Telugu.pl +13 -0
  1045. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Thaana.pl +13 -0
  1046. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Thai.pl +13 -0
  1047. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Tibetan.pl +13 -0
  1048. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Tifinagh.pl +13 -0
  1049. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Transpor.pl +13 -0
  1050. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Ugaritic.pl +13 -0
  1051. data/Slic3r/Linux/lib/std/unicore/lib/Blk/UnifiedC.pl +13 -0
  1052. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Vai.pl +13 -0
  1053. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Variati2.pl +13 -0
  1054. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Variatio.pl +13 -0
  1055. data/Slic3r/Linux/lib/std/unicore/lib/Blk/VedicExt.pl +13 -0
  1056. data/Slic3r/Linux/lib/std/unicore/lib/Blk/Vertical.pl +13 -0
  1057. data/Slic3r/Linux/lib/std/unicore/lib/Blk/YiRadica.pl +13 -0
  1058. data/Slic3r/Linux/lib/std/unicore/lib/Blk/YiSyllab.pl +13 -0
  1059. data/Slic3r/Linux/lib/std/unicore/lib/Blk/YijingHe.pl +13 -0
  1060. data/Slic3r/Linux/lib/std/unicore/lib/CE/N.pl +46 -0
  1061. data/Slic3r/Linux/lib/std/unicore/lib/CE/Y.pl +45 -0
  1062. data/Slic3r/Linux/lib/std/unicore/lib/CI/N.pl +290 -0
  1063. data/Slic3r/Linux/lib/std/unicore/lib/CI/Y.pl +289 -0
  1064. data/Slic3r/Linux/lib/std/unicore/lib/CWCF/N.pl +590 -0
  1065. data/Slic3r/Linux/lib/std/unicore/lib/CWCF/Y.pl +589 -0
  1066. data/Slic3r/Linux/lib/std/unicore/lib/CWCM/N.pl +112 -0
  1067. data/Slic3r/Linux/lib/std/unicore/lib/CWCM/Y.pl +111 -0
  1068. data/Slic3r/Linux/lib/std/unicore/lib/CWKCF/N.pl +765 -0
  1069. data/Slic3r/Linux/lib/std/unicore/lib/CWKCF/Y.pl +764 -0
  1070. data/Slic3r/Linux/lib/std/unicore/lib/CWL/N.pl +579 -0
  1071. data/Slic3r/Linux/lib/std/unicore/lib/CWL/Y.pl +578 -0
  1072. data/Slic3r/Linux/lib/std/unicore/lib/CWT/N.pl +596 -0
  1073. data/Slic3r/Linux/lib/std/unicore/lib/CWT/Y.pl +595 -0
  1074. data/Slic3r/Linux/lib/std/unicore/lib/CWU/N.pl +595 -0
  1075. data/Slic3r/Linux/lib/std/unicore/lib/CWU/Y.pl +594 -0
  1076. data/Slic3r/Linux/lib/std/unicore/lib/Cased/N.pl +125 -0
  1077. data/Slic3r/Linux/lib/std/unicore/lib/Cased/Y.pl +124 -0
  1078. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/10.pl +13 -0
  1079. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/103.pl +13 -0
  1080. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/107.pl +13 -0
  1081. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/11.pl +13 -0
  1082. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/118.pl +13 -0
  1083. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/12.pl +13 -0
  1084. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/122.pl +13 -0
  1085. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/129.pl +13 -0
  1086. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/13.pl +13 -0
  1087. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/130.pl +15 -0
  1088. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/132.pl +13 -0
  1089. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/14.pl +13 -0
  1090. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/15.pl +13 -0
  1091. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/16.pl +13 -0
  1092. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/17.pl +13 -0
  1093. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/18.pl +14 -0
  1094. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/19.pl +13 -0
  1095. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/20.pl +13 -0
  1096. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/21.pl +13 -0
  1097. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/22.pl +13 -0
  1098. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/23.pl +13 -0
  1099. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/24.pl +13 -0
  1100. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/25.pl +13 -0
  1101. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/26.pl +13 -0
  1102. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/27.pl +13 -0
  1103. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/28.pl +13 -0
  1104. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/29.pl +13 -0
  1105. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/30.pl +14 -0
  1106. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/31.pl +14 -0
  1107. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/32.pl +14 -0
  1108. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/33.pl +13 -0
  1109. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/34.pl +13 -0
  1110. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/35.pl +13 -0
  1111. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/36.pl +13 -0
  1112. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/84.pl +13 -0
  1113. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/91.pl +13 -0
  1114. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/A.pl +96 -0
  1115. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/AL.pl +15 -0
  1116. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/AR.pl +16 -0
  1117. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/ATA.pl +13 -0
  1118. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/ATAR.pl +16 -0
  1119. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/ATB.pl +15 -0
  1120. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/ATBL.pl +13 -0
  1121. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/B.pl +71 -0
  1122. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/BL.pl +13 -0
  1123. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/BR.pl +16 -0
  1124. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/DA.pl +15 -0
  1125. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/DB.pl +16 -0
  1126. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/IS.pl +13 -0
  1127. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/KV.pl +13 -0
  1128. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/L.pl +13 -0
  1129. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/NK.pl +24 -0
  1130. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/NR.pl +135 -0
  1131. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/OV.pl +21 -0
  1132. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/R.pl +13 -0
  1133. data/Slic3r/Linux/lib/std/unicore/lib/Ccc/VR.pl +41 -0
  1134. data/Slic3r/Linux/lib/std/unicore/lib/CompEx/N.pl +87 -0
  1135. data/Slic3r/Linux/lib/std/unicore/lib/CompEx/Y.pl +86 -0
  1136. data/Slic3r/Linux/lib/std/unicore/lib/DI/N.pl +28 -0
  1137. data/Slic3r/Linux/lib/std/unicore/lib/DI/Y.pl +27 -0
  1138. data/Slic3r/Linux/lib/std/unicore/lib/Dash/N.pl +32 -0
  1139. data/Slic3r/Linux/lib/std/unicore/lib/Dash/Y.pl +31 -0
  1140. data/Slic3r/Linux/lib/std/unicore/lib/Dep/N.pl +22 -0
  1141. data/Slic3r/Linux/lib/std/unicore/lib/Dep/Y.pl +21 -0
  1142. data/Slic3r/Linux/lib/std/unicore/lib/Dia/N.pl +130 -0
  1143. data/Slic3r/Linux/lib/std/unicore/lib/Dia/Y.pl +129 -0
  1144. data/Slic3r/Linux/lib/std/unicore/lib/Dt/Com.pl +86 -0
  1145. data/Slic3r/Linux/lib/std/unicore/lib/Dt/Enc.pl +20 -0
  1146. data/Slic3r/Linux/lib/std/unicore/lib/Dt/Fin.pl +125 -0
  1147. data/Slic3r/Linux/lib/std/unicore/lib/Dt/Font.pl +46 -0
  1148. data/Slic3r/Linux/lib/std/unicore/lib/Dt/Fra.pl +15 -0
  1149. data/Slic3r/Linux/lib/std/unicore/lib/Dt/Init.pl +87 -0
  1150. data/Slic3r/Linux/lib/std/unicore/lib/Dt/Iso.pl +110 -0
  1151. data/Slic3r/Linux/lib/std/unicore/lib/Dt/Med.pl +66 -0
  1152. data/Slic3r/Linux/lib/std/unicore/lib/Dt/Nar.pl +18 -0
  1153. data/Slic3r/Linux/lib/std/unicore/lib/Dt/Nb.pl +17 -0
  1154. data/Slic3r/Linux/lib/std/unicore/lib/Dt/NonCanon.pl +161 -0
  1155. data/Slic3r/Linux/lib/std/unicore/lib/Dt/None.pl +362 -0
  1156. data/Slic3r/Linux/lib/std/unicore/lib/Dt/Sml.pl +15 -0
  1157. data/Slic3r/Linux/lib/std/unicore/lib/Dt/Sqr.pl +21 -0
  1158. data/Slic3r/Linux/lib/std/unicore/lib/Dt/Sub.pl +16 -0
  1159. data/Slic3r/Linux/lib/std/unicore/lib/Dt/Sup.pl +32 -0
  1160. data/Slic3r/Linux/lib/std/unicore/lib/Dt/Vert.pl +17 -0
  1161. data/Slic3r/Linux/lib/std/unicore/lib/Ea/A.pl +185 -0
  1162. data/Slic3r/Linux/lib/std/unicore/lib/Ea/F.pl +15 -0
  1163. data/Slic3r/Linux/lib/std/unicore/lib/Ea/H.pl +19 -0
  1164. data/Slic3r/Linux/lib/std/unicore/lib/Ea/N.pl +227 -0
  1165. data/Slic3r/Linux/lib/std/unicore/lib/Ea/Na.pl +19 -0
  1166. data/Slic3r/Linux/lib/std/unicore/lib/Ea/W.pl +49 -0
  1167. data/Slic3r/Linux/lib/std/unicore/lib/Ext/N.pl +33 -0
  1168. data/Slic3r/Linux/lib/std/unicore/lib/Ext/Y.pl +32 -0
  1169. data/Slic3r/Linux/lib/std/unicore/lib/GCB/CN.pl +32 -0
  1170. data/Slic3r/Linux/lib/std/unicore/lib/GCB/CR.pl +13 -0
  1171. data/Slic3r/Linux/lib/std/unicore/lib/GCB/EX.pl +227 -0
  1172. data/Slic3r/Linux/lib/std/unicore/lib/GCB/L.pl +14 -0
  1173. data/Slic3r/Linux/lib/std/unicore/lib/GCB/LF.pl +13 -0
  1174. data/Slic3r/Linux/lib/std/unicore/lib/GCB/LV.pl +411 -0
  1175. data/Slic3r/Linux/lib/std/unicore/lib/GCB/LVT.pl +411 -0
  1176. data/Slic3r/Linux/lib/std/unicore/lib/GCB/PP.pl +17 -0
  1177. data/Slic3r/Linux/lib/std/unicore/lib/GCB/SM.pl +125 -0
  1178. data/Slic3r/Linux/lib/std/unicore/lib/GCB/T.pl +14 -0
  1179. data/Slic3r/Linux/lib/std/unicore/lib/GCB/V.pl +14 -0
  1180. data/Slic3r/Linux/lib/std/unicore/lib/GCB/XX.pl +224 -0
  1181. data/Slic3r/Linux/lib/std/unicore/lib/Gc/C.pl +516 -0
  1182. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Cc.pl +14 -0
  1183. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Cf.pl +27 -0
  1184. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Cn.pl +513 -0
  1185. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Co.pl +15 -0
  1186. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Cs.pl +13 -0
  1187. data/Slic3r/Linux/lib/std/unicore/lib/Gc/L.pl +447 -0
  1188. data/Slic3r/Linux/lib/std/unicore/lib/Gc/LC.pl +122 -0
  1189. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Ll.pl +621 -0
  1190. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Lm.pl +61 -0
  1191. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Lo.pl +335 -0
  1192. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Lu.pl +615 -0
  1193. data/Slic3r/Linux/lib/std/unicore/lib/Gc/M.pl +205 -0
  1194. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Mc.pl +125 -0
  1195. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Me.pl +16 -0
  1196. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Mn.pl +215 -0
  1197. data/Slic3r/Linux/lib/std/unicore/lib/Gc/N.pl +95 -0
  1198. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Nl.pl +24 -0
  1199. data/Slic3r/Linux/lib/std/unicore/lib/Gc/No.pl +53 -0
  1200. data/Slic3r/Linux/lib/std/unicore/lib/Gc/P.pl +145 -0
  1201. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Pd.pl +27 -0
  1202. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Pe.pl +82 -0
  1203. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Pf.pl +22 -0
  1204. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Pi.pl +23 -0
  1205. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Po.pl +140 -0
  1206. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Ps.pl +84 -0
  1207. data/Slic3r/Linux/lib/std/unicore/lib/Gc/S.pl +220 -0
  1208. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Sc.pl +28 -0
  1209. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Sk.pl +39 -0
  1210. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Sm.pl +78 -0
  1211. data/Slic3r/Linux/lib/std/unicore/lib/Gc/So.pl +176 -0
  1212. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Z.pl +21 -0
  1213. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Zl.pl +13 -0
  1214. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Zp.pl +13 -0
  1215. data/Slic3r/Linux/lib/std/unicore/lib/Gc/Zs.pl +20 -0
  1216. data/Slic3r/Linux/lib/std/unicore/lib/GrBase/N.pl +609 -0
  1217. data/Slic3r/Linux/lib/std/unicore/lib/GrBase/Y.pl +608 -0
  1218. data/Slic3r/Linux/lib/std/unicore/lib/GrExt/N.pl +228 -0
  1219. data/Slic3r/Linux/lib/std/unicore/lib/Hex/N.pl +19 -0
  1220. data/Slic3r/Linux/lib/std/unicore/lib/Hex/Y.pl +18 -0
  1221. data/Slic3r/Linux/lib/std/unicore/lib/Hst/NA.pl +18 -0
  1222. data/Slic3r/Linux/lib/std/unicore/lib/Hyphen/N.pl +23 -0
  1223. data/Slic3r/Linux/lib/std/unicore/lib/Hyphen/Y.pl +22 -0
  1224. data/Slic3r/Linux/lib/std/unicore/lib/IDC/N.pl +527 -0
  1225. data/Slic3r/Linux/lib/std/unicore/lib/IDC/Y.pl +526 -0
  1226. data/Slic3r/Linux/lib/std/unicore/lib/IDS/N.pl +450 -0
  1227. data/Slic3r/Linux/lib/std/unicore/lib/IDS/Y.pl +449 -0
  1228. data/Slic3r/Linux/lib/std/unicore/lib/IDSB/N.pl +15 -0
  1229. data/Slic3r/Linux/lib/std/unicore/lib/IDSB/Y.pl +14 -0
  1230. data/Slic3r/Linux/lib/std/unicore/lib/IDST/N.pl +14 -0
  1231. data/Slic3r/Linux/lib/std/unicore/lib/IDST/Y.pl +13 -0
  1232. data/Slic3r/Linux/lib/std/unicore/lib/Ideo/N.pl +25 -0
  1233. data/Slic3r/Linux/lib/std/unicore/lib/Ideo/Y.pl +24 -0
  1234. data/Slic3r/Linux/lib/std/unicore/lib/In/2_0.pl +324 -0
  1235. data/Slic3r/Linux/lib/std/unicore/lib/In/2_1.pl +324 -0
  1236. data/Slic3r/Linux/lib/std/unicore/lib/In/3_0.pl +381 -0
  1237. data/Slic3r/Linux/lib/std/unicore/lib/In/3_1.pl +414 -0
  1238. data/Slic3r/Linux/lib/std/unicore/lib/In/3_2.pl +409 -0
  1239. data/Slic3r/Linux/lib/std/unicore/lib/In/4_0.pl +424 -0
  1240. data/Slic3r/Linux/lib/std/unicore/lib/In/4_1.pl +442 -0
  1241. data/Slic3r/Linux/lib/std/unicore/lib/In/5_0.pl +452 -0
  1242. data/Slic3r/Linux/lib/std/unicore/lib/In/5_1.pl +467 -0
  1243. data/Slic3r/Linux/lib/std/unicore/lib/In/5_2.pl +507 -0
  1244. data/Slic3r/Linux/lib/std/unicore/lib/In/6_0.pl +523 -0
  1245. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Ain.pl +16 -0
  1246. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Alaph.pl +13 -0
  1247. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Alef.pl +18 -0
  1248. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Beh.pl +17 -0
  1249. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Beth.pl +14 -0
  1250. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Burushas.pl +13 -0
  1251. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Dal.pl +16 -0
  1252. data/Slic3r/Linux/lib/std/unicore/lib/Jg/DalathRi.pl +15 -0
  1253. data/Slic3r/Linux/lib/std/unicore/lib/Jg/E.pl +13 -0
  1254. data/Slic3r/Linux/lib/std/unicore/lib/Jg/FarsiYeh.pl +16 -0
  1255. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Fe.pl +13 -0
  1256. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Feh.pl +15 -0
  1257. data/Slic3r/Linux/lib/std/unicore/lib/Jg/FinalSem.pl +13 -0
  1258. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Gaf.pl +17 -0
  1259. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Gamal.pl +14 -0
  1260. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Hah.pl +19 -0
  1261. data/Slic3r/Linux/lib/std/unicore/lib/Jg/He.pl +13 -0
  1262. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Heh.pl +13 -0
  1263. data/Slic3r/Linux/lib/std/unicore/lib/Jg/HehGoal.pl +13 -0
  1264. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Heth.pl +13 -0
  1265. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Kaf.pl +15 -0
  1266. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Kaph.pl +13 -0
  1267. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Khaph.pl +13 -0
  1268. data/Slic3r/Linux/lib/std/unicore/lib/Jg/KnottedH.pl +14 -0
  1269. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Lam.pl +15 -0
  1270. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Lamadh.pl +13 -0
  1271. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Meem.pl +14 -0
  1272. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Mim.pl +13 -0
  1273. data/Slic3r/Linux/lib/std/unicore/lib/Jg/NoJoinin.pl +26 -0
  1274. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Noon.pl +15 -0
  1275. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Nun.pl +13 -0
  1276. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Nya.pl +13 -0
  1277. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Pe.pl +13 -0
  1278. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Qaf.pl +15 -0
  1279. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Qaph.pl +13 -0
  1280. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Reh.pl +18 -0
  1281. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Reversed.pl +13 -0
  1282. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Sad.pl +15 -0
  1283. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Sadhe.pl +13 -0
  1284. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Seen.pl +19 -0
  1285. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Semkath.pl +13 -0
  1286. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Shin.pl +13 -0
  1287. data/Slic3r/Linux/lib/std/unicore/lib/Jg/SwashKaf.pl +13 -0
  1288. data/Slic3r/Linux/lib/std/unicore/lib/Jg/SyriacWa.pl +13 -0
  1289. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Tah.pl +14 -0
  1290. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Taw.pl +13 -0
  1291. data/Slic3r/Linux/lib/std/unicore/lib/Jg/TehMarb2.pl +13 -0
  1292. data/Slic3r/Linux/lib/std/unicore/lib/Jg/TehMarbu.pl +15 -0
  1293. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Teth.pl +13 -0
  1294. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Waw.pl +18 -0
  1295. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Yeh.pl +18 -0
  1296. data/Slic3r/Linux/lib/std/unicore/lib/Jg/YehBarre.pl +13 -0
  1297. data/Slic3r/Linux/lib/std/unicore/lib/Jg/YehWithT.pl +13 -0
  1298. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Yudh.pl +13 -0
  1299. data/Slic3r/Linux/lib/std/unicore/lib/Jg/YudhHe.pl +13 -0
  1300. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Zain.pl +13 -0
  1301. data/Slic3r/Linux/lib/std/unicore/lib/Jg/Zhain.pl +13 -0
  1302. data/Slic3r/Linux/lib/std/unicore/lib/JoinC/N.pl +14 -0
  1303. data/Slic3r/Linux/lib/std/unicore/lib/JoinC/Y.pl +13 -0
  1304. data/Slic3r/Linux/lib/std/unicore/lib/Jt/C.pl +15 -0
  1305. data/Slic3r/Linux/lib/std/unicore/lib/Jt/D.pl +41 -0
  1306. data/Slic3r/Linux/lib/std/unicore/lib/Jt/R.pl +40 -0
  1307. data/Slic3r/Linux/lib/std/unicore/lib/Jt/T.pl +226 -0
  1308. data/Slic3r/Linux/lib/std/unicore/lib/Jt/U.pl +231 -0
  1309. data/Slic3r/Linux/lib/std/unicore/lib/LOE/N.pl +18 -0
  1310. data/Slic3r/Linux/lib/std/unicore/lib/Lb/AI.pl +117 -0
  1311. data/Slic3r/Linux/lib/std/unicore/lib/Lb/AL.pl +576 -0
  1312. data/Slic3r/Linux/lib/std/unicore/lib/Lb/B2.pl +13 -0
  1313. data/Slic3r/Linux/lib/std/unicore/lib/Lb/BA.pl +74 -0
  1314. data/Slic3r/Linux/lib/std/unicore/lib/Lb/BB.pl +24 -0
  1315. data/Slic3r/Linux/lib/std/unicore/lib/Lb/BK.pl +14 -0
  1316. data/Slic3r/Linux/lib/std/unicore/lib/Lb/CB.pl +13 -0
  1317. data/Slic3r/Linux/lib/std/unicore/lib/Lb/CL.pl +91 -0
  1318. data/Slic3r/Linux/lib/std/unicore/lib/Lb/CM.pl +189 -0
  1319. data/Slic3r/Linux/lib/std/unicore/lib/Lb/CP.pl +14 -0
  1320. data/Slic3r/Linux/lib/std/unicore/lib/Lb/EX.pl +34 -0
  1321. data/Slic3r/Linux/lib/std/unicore/lib/Lb/GL.pl +23 -0
  1322. data/Slic3r/Linux/lib/std/unicore/lib/Lb/HY.pl +13 -0
  1323. data/Slic3r/Linux/lib/std/unicore/lib/Lb/ID.pl +85 -0
  1324. data/Slic3r/Linux/lib/std/unicore/lib/Lb/IN.pl +14 -0
  1325. data/Slic3r/Linux/lib/std/unicore/lib/Lb/IS.pl +22 -0
  1326. data/Slic3r/Linux/lib/std/unicore/lib/Lb/NL.pl +13 -0
  1327. data/Slic3r/Linux/lib/std/unicore/lib/Lb/NS.pl +49 -0
  1328. data/Slic3r/Linux/lib/std/unicore/lib/Lb/NU.pl +50 -0
  1329. data/Slic3r/Linux/lib/std/unicore/lib/Lb/OP.pl +91 -0
  1330. data/Slic3r/Linux/lib/std/unicore/lib/Lb/PO.pl +30 -0
  1331. data/Slic3r/Linux/lib/std/unicore/lib/Lb/PR.pl +31 -0
  1332. data/Slic3r/Linux/lib/std/unicore/lib/Lb/QU.pl +24 -0
  1333. data/Slic3r/Linux/lib/std/unicore/lib/Lb/SA.pl +49 -0
  1334. data/Slic3r/Linux/lib/std/unicore/lib/Lb/SG.pl +13 -0
  1335. data/Slic3r/Linux/lib/std/unicore/lib/Lb/SP.pl +13 -0
  1336. data/Slic3r/Linux/lib/std/unicore/lib/Lb/SY.pl +13 -0
  1337. data/Slic3r/Linux/lib/std/unicore/lib/Lb/WJ.pl +14 -0
  1338. data/Slic3r/Linux/lib/std/unicore/lib/Lb/XX.pl +505 -0
  1339. data/Slic3r/Linux/lib/std/unicore/lib/Lb/ZW.pl +13 -0
  1340. data/Slic3r/Linux/lib/std/unicore/lib/Lower/N.pl +625 -0
  1341. data/Slic3r/Linux/lib/std/unicore/lib/Lower/Y.pl +624 -0
  1342. data/Slic3r/Linux/lib/std/unicore/lib/Math/N.pl +119 -0
  1343. data/Slic3r/Linux/lib/std/unicore/lib/Math/Y.pl +118 -0
  1344. data/Slic3r/Linux/lib/std/unicore/lib/NChar/N.pl +30 -0
  1345. data/Slic3r/Linux/lib/std/unicore/lib/NChar/Y.pl +30 -0
  1346. data/Slic3r/Linux/lib/std/unicore/lib/NFCQC/Y.pl +118 -0
  1347. data/Slic3r/Linux/lib/std/unicore/lib/NFDQC/N.pl +239 -0
  1348. data/Slic3r/Linux/lib/std/unicore/lib/NFDQC/Y.pl +240 -0
  1349. data/Slic3r/Linux/lib/std/unicore/lib/NFKCQC/M.pl +46 -0
  1350. data/Slic3r/Linux/lib/std/unicore/lib/NFKCQC/N.pl +225 -0
  1351. data/Slic3r/Linux/lib/std/unicore/lib/NFKCQC/Y.pl +256 -0
  1352. data/Slic3r/Linux/lib/std/unicore/lib/NFKDQC/N.pl +361 -0
  1353. data/Slic3r/Linux/lib/std/unicore/lib/Nt/De.pl +50 -0
  1354. data/Slic3r/Linux/lib/std/unicore/lib/Nt/Di.pl +32 -0
  1355. data/Slic3r/Linux/lib/std/unicore/lib/Nt/Nu.pl +134 -0
  1356. data/Slic3r/Linux/lib/std/unicore/lib/Nv/0.pl +67 -0
  1357. data/Slic3r/Linux/lib/std/unicore/lib/Nv/1.pl +102 -0
  1358. data/Slic3r/Linux/lib/std/unicore/lib/Nv/10.pl +47 -0
  1359. data/Slic3r/Linux/lib/std/unicore/lib/Nv/100.pl +32 -0
  1360. data/Slic3r/Linux/lib/std/unicore/lib/Nv/1000.pl +28 -0
  1361. data/Slic3r/Linux/lib/std/unicore/lib/Nv/10000.pl +19 -0
  1362. data/Slic3r/Linux/lib/std/unicore/lib/Nv/100000.pl +13 -0
  1363. data/Slic3r/Linux/lib/std/unicore/lib/Nv/10000000.pl +14 -0
  1364. data/Slic3r/Linux/lib/std/unicore/lib/Nv/10000002.pl +13 -0
  1365. data/Slic3r/Linux/lib/std/unicore/lib/Nv/11.pl +18 -0
  1366. data/Slic3r/Linux/lib/std/unicore/lib/Nv/11_2.pl +13 -0
  1367. data/Slic3r/Linux/lib/std/unicore/lib/Nv/12.pl +18 -0
  1368. data/Slic3r/Linux/lib/std/unicore/lib/Nv/13.pl +16 -0
  1369. data/Slic3r/Linux/lib/std/unicore/lib/Nv/13_2.pl +13 -0
  1370. data/Slic3r/Linux/lib/std/unicore/lib/Nv/14.pl +16 -0
  1371. data/Slic3r/Linux/lib/std/unicore/lib/Nv/15.pl +16 -0
  1372. data/Slic3r/Linux/lib/std/unicore/lib/Nv/15_2.pl +13 -0
  1373. data/Slic3r/Linux/lib/std/unicore/lib/Nv/16.pl +17 -0
  1374. data/Slic3r/Linux/lib/std/unicore/lib/Nv/17.pl +17 -0
  1375. data/Slic3r/Linux/lib/std/unicore/lib/Nv/17_2.pl +13 -0
  1376. data/Slic3r/Linux/lib/std/unicore/lib/Nv/18.pl +17 -0
  1377. data/Slic3r/Linux/lib/std/unicore/lib/Nv/19.pl +17 -0
  1378. data/Slic3r/Linux/lib/std/unicore/lib/Nv/1_10.pl +13 -0
  1379. data/Slic3r/Linux/lib/std/unicore/lib/Nv/1_16.pl +15 -0
  1380. data/Slic3r/Linux/lib/std/unicore/lib/Nv/1_2.pl +21 -0
  1381. data/Slic3r/Linux/lib/std/unicore/lib/Nv/1_3.pl +16 -0
  1382. data/Slic3r/Linux/lib/std/unicore/lib/Nv/1_4.pl +21 -0
  1383. data/Slic3r/Linux/lib/std/unicore/lib/Nv/1_5.pl +13 -0
  1384. data/Slic3r/Linux/lib/std/unicore/lib/Nv/1_6.pl +14 -0
  1385. data/Slic3r/Linux/lib/std/unicore/lib/Nv/1_7.pl +13 -0
  1386. data/Slic3r/Linux/lib/std/unicore/lib/Nv/1_8.pl +17 -0
  1387. data/Slic3r/Linux/lib/std/unicore/lib/Nv/1_9.pl +13 -0
  1388. data/Slic3r/Linux/lib/std/unicore/lib/Nv/2.pl +105 -0
  1389. data/Slic3r/Linux/lib/std/unicore/lib/Nv/20.pl +30 -0
  1390. data/Slic3r/Linux/lib/std/unicore/lib/Nv/200.pl +14 -0
  1391. data/Slic3r/Linux/lib/std/unicore/lib/Nv/2000.pl +13 -0
  1392. data/Slic3r/Linux/lib/std/unicore/lib/Nv/20000.pl +13 -0
  1393. data/Slic3r/Linux/lib/std/unicore/lib/Nv/21.pl +13 -0
  1394. data/Slic3r/Linux/lib/std/unicore/lib/Nv/22.pl +13 -0
  1395. data/Slic3r/Linux/lib/std/unicore/lib/Nv/23.pl +13 -0
  1396. data/Slic3r/Linux/lib/std/unicore/lib/Nv/24.pl +13 -0
  1397. data/Slic3r/Linux/lib/std/unicore/lib/Nv/25.pl +13 -0
  1398. data/Slic3r/Linux/lib/std/unicore/lib/Nv/26.pl +13 -0
  1399. data/Slic3r/Linux/lib/std/unicore/lib/Nv/27.pl +13 -0
  1400. data/Slic3r/Linux/lib/std/unicore/lib/Nv/28.pl +13 -0
  1401. data/Slic3r/Linux/lib/std/unicore/lib/Nv/29.pl +13 -0
  1402. data/Slic3r/Linux/lib/std/unicore/lib/Nv/2_3.pl +17 -0
  1403. data/Slic3r/Linux/lib/std/unicore/lib/Nv/2_5.pl +13 -0
  1404. data/Slic3r/Linux/lib/std/unicore/lib/Nv/3.pl +103 -0
  1405. data/Slic3r/Linux/lib/std/unicore/lib/Nv/30.pl +22 -0
  1406. data/Slic3r/Linux/lib/std/unicore/lib/Nv/300.pl +15 -0
  1407. data/Slic3r/Linux/lib/std/unicore/lib/Nv/3000.pl +13 -0
  1408. data/Slic3r/Linux/lib/std/unicore/lib/Nv/30000.pl +13 -0
  1409. data/Slic3r/Linux/lib/std/unicore/lib/Nv/31.pl +13 -0
  1410. data/Slic3r/Linux/lib/std/unicore/lib/Nv/32.pl +13 -0
  1411. data/Slic3r/Linux/lib/std/unicore/lib/Nv/33.pl +13 -0
  1412. data/Slic3r/Linux/lib/std/unicore/lib/Nv/34.pl +13 -0
  1413. data/Slic3r/Linux/lib/std/unicore/lib/Nv/35.pl +13 -0
  1414. data/Slic3r/Linux/lib/std/unicore/lib/Nv/36.pl +13 -0
  1415. data/Slic3r/Linux/lib/std/unicore/lib/Nv/37.pl +13 -0
  1416. data/Slic3r/Linux/lib/std/unicore/lib/Nv/38.pl +13 -0
  1417. data/Slic3r/Linux/lib/std/unicore/lib/Nv/39.pl +13 -0
  1418. data/Slic3r/Linux/lib/std/unicore/lib/Nv/3_16.pl +15 -0
  1419. data/Slic3r/Linux/lib/std/unicore/lib/Nv/3_2.pl +13 -0
  1420. data/Slic3r/Linux/lib/std/unicore/lib/Nv/3_4.pl +18 -0
  1421. data/Slic3r/Linux/lib/std/unicore/lib/Nv/3_5.pl +13 -0
  1422. data/Slic3r/Linux/lib/std/unicore/lib/Nv/3_8.pl +13 -0
  1423. data/Slic3r/Linux/lib/std/unicore/lib/Nv/4.pl +97 -0
  1424. data/Slic3r/Linux/lib/std/unicore/lib/Nv/40.pl +21 -0
  1425. data/Slic3r/Linux/lib/std/unicore/lib/Nv/400.pl +14 -0
  1426. data/Slic3r/Linux/lib/std/unicore/lib/Nv/4000.pl +13 -0
  1427. data/Slic3r/Linux/lib/std/unicore/lib/Nv/40000.pl +13 -0
  1428. data/Slic3r/Linux/lib/std/unicore/lib/Nv/41.pl +13 -0
  1429. data/Slic3r/Linux/lib/std/unicore/lib/Nv/42.pl +13 -0
  1430. data/Slic3r/Linux/lib/std/unicore/lib/Nv/43.pl +13 -0
  1431. data/Slic3r/Linux/lib/std/unicore/lib/Nv/44.pl +13 -0
  1432. data/Slic3r/Linux/lib/std/unicore/lib/Nv/45.pl +13 -0
  1433. data/Slic3r/Linux/lib/std/unicore/lib/Nv/46.pl +13 -0
  1434. data/Slic3r/Linux/lib/std/unicore/lib/Nv/47.pl +13 -0
  1435. data/Slic3r/Linux/lib/std/unicore/lib/Nv/48.pl +13 -0
  1436. data/Slic3r/Linux/lib/std/unicore/lib/Nv/49.pl +13 -0
  1437. data/Slic3r/Linux/lib/std/unicore/lib/Nv/4_5.pl +13 -0
  1438. data/Slic3r/Linux/lib/std/unicore/lib/Nv/5.pl +97 -0
  1439. data/Slic3r/Linux/lib/std/unicore/lib/Nv/50.pl +28 -0
  1440. data/Slic3r/Linux/lib/std/unicore/lib/Nv/500.pl +20 -0
  1441. data/Slic3r/Linux/lib/std/unicore/lib/Nv/5000.pl +17 -0
  1442. data/Slic3r/Linux/lib/std/unicore/lib/Nv/50000.pl +16 -0
  1443. data/Slic3r/Linux/lib/std/unicore/lib/Nv/5_2.pl +13 -0
  1444. data/Slic3r/Linux/lib/std/unicore/lib/Nv/5_6.pl +14 -0
  1445. data/Slic3r/Linux/lib/std/unicore/lib/Nv/5_8.pl +13 -0
  1446. data/Slic3r/Linux/lib/std/unicore/lib/Nv/6.pl +90 -0
  1447. data/Slic3r/Linux/lib/std/unicore/lib/Nv/60.pl +17 -0
  1448. data/Slic3r/Linux/lib/std/unicore/lib/Nv/600.pl +14 -0
  1449. data/Slic3r/Linux/lib/std/unicore/lib/Nv/6000.pl +13 -0
  1450. data/Slic3r/Linux/lib/std/unicore/lib/Nv/60000.pl +13 -0
  1451. data/Slic3r/Linux/lib/std/unicore/lib/Nv/7.pl +87 -0
  1452. data/Slic3r/Linux/lib/std/unicore/lib/Nv/70.pl +17 -0
  1453. data/Slic3r/Linux/lib/std/unicore/lib/Nv/700.pl +14 -0
  1454. data/Slic3r/Linux/lib/std/unicore/lib/Nv/7000.pl +13 -0
  1455. data/Slic3r/Linux/lib/std/unicore/lib/Nv/70000.pl +13 -0
  1456. data/Slic3r/Linux/lib/std/unicore/lib/Nv/7_2.pl +13 -0
  1457. data/Slic3r/Linux/lib/std/unicore/lib/Nv/7_8.pl +13 -0
  1458. data/Slic3r/Linux/lib/std/unicore/lib/Nv/8.pl +84 -0
  1459. data/Slic3r/Linux/lib/std/unicore/lib/Nv/80.pl +17 -0
  1460. data/Slic3r/Linux/lib/std/unicore/lib/Nv/800.pl +14 -0
  1461. data/Slic3r/Linux/lib/std/unicore/lib/Nv/8000.pl +13 -0
  1462. data/Slic3r/Linux/lib/std/unicore/lib/Nv/80000.pl +13 -0
  1463. data/Slic3r/Linux/lib/std/unicore/lib/Nv/9.pl +86 -0
  1464. data/Slic3r/Linux/lib/std/unicore/lib/Nv/90.pl +18 -0
  1465. data/Slic3r/Linux/lib/std/unicore/lib/Nv/900.pl +15 -0
  1466. data/Slic3r/Linux/lib/std/unicore/lib/Nv/9000.pl +13 -0
  1467. data/Slic3r/Linux/lib/std/unicore/lib/Nv/90000.pl +13 -0
  1468. data/Slic3r/Linux/lib/std/unicore/lib/Nv/9_2.pl +13 -0
  1469. data/Slic3r/Linux/lib/std/unicore/lib/Nv/NaN.pl +170 -0
  1470. data/Slic3r/Linux/lib/std/unicore/lib/Nv/_1_2.pl +13 -0
  1471. data/Slic3r/Linux/lib/std/unicore/lib/OAlpha/N.pl +158 -0
  1472. data/Slic3r/Linux/lib/std/unicore/lib/OAlpha/Y.pl +157 -0
  1473. data/Slic3r/Linux/lib/std/unicore/lib/ODI/N.pl +23 -0
  1474. data/Slic3r/Linux/lib/std/unicore/lib/ODI/Y.pl +22 -0
  1475. data/Slic3r/Linux/lib/std/unicore/lib/OGrExt/N.pl +29 -0
  1476. data/Slic3r/Linux/lib/std/unicore/lib/OGrExt/Y.pl +28 -0
  1477. data/Slic3r/Linux/lib/std/unicore/lib/OIDC/N.pl +17 -0
  1478. data/Slic3r/Linux/lib/std/unicore/lib/OIDC/Y.pl +16 -0
  1479. data/Slic3r/Linux/lib/std/unicore/lib/OIDS/N.pl +16 -0
  1480. data/Slic3r/Linux/lib/std/unicore/lib/OIDS/Y.pl +15 -0
  1481. data/Slic3r/Linux/lib/std/unicore/lib/OLower/N.pl +26 -0
  1482. data/Slic3r/Linux/lib/std/unicore/lib/OLower/Y.pl +25 -0
  1483. data/Slic3r/Linux/lib/std/unicore/lib/OMath/N.pl +113 -0
  1484. data/Slic3r/Linux/lib/std/unicore/lib/OMath/Y.pl +112 -0
  1485. data/Slic3r/Linux/lib/std/unicore/lib/OUpper/N.pl +15 -0
  1486. data/Slic3r/Linux/lib/std/unicore/lib/OUpper/Y.pl +14 -0
  1487. data/Slic3r/Linux/lib/std/unicore/lib/PatSyn/N.pl +41 -0
  1488. data/Slic3r/Linux/lib/std/unicore/lib/PatSyn/Y.pl +40 -0
  1489. data/Slic3r/Linux/lib/std/unicore/lib/PatWS/N.pl +18 -0
  1490. data/Slic3r/Linux/lib/std/unicore/lib/PatWS/Y.pl +17 -0
  1491. data/Slic3r/Linux/lib/std/unicore/lib/Perl/Alnum.pl +521 -0
  1492. data/Slic3r/Linux/lib/std/unicore/lib/Perl/Any.pl +13 -0
  1493. data/Slic3r/Linux/lib/std/unicore/lib/Perl/Assigned.pl +513 -0
  1494. data/Slic3r/Linux/lib/std/unicore/lib/Perl/Blank.pl +21 -0
  1495. data/Slic3r/Linux/lib/std/unicore/lib/Perl/Graph.pl +518 -0
  1496. data/Slic3r/Linux/lib/std/unicore/lib/Perl/PerlSpac.pl +15 -0
  1497. data/Slic3r/Linux/lib/std/unicore/lib/Perl/PerlWord.pl +16 -0
  1498. data/Slic3r/Linux/lib/std/unicore/lib/Perl/PosixAln.pl +15 -0
  1499. data/Slic3r/Linux/lib/std/unicore/lib/Perl/PosixAlp.pl +14 -0
  1500. data/Slic3r/Linux/lib/std/unicore/lib/Perl/PosixBla.pl +14 -0
  1501. data/Slic3r/Linux/lib/std/unicore/lib/Perl/PosixCnt.pl +14 -0
  1502. data/Slic3r/Linux/lib/std/unicore/lib/Perl/PosixDig.pl +13 -0
  1503. data/Slic3r/Linux/lib/std/unicore/lib/Perl/PosixGra.pl +13 -0
  1504. data/Slic3r/Linux/lib/std/unicore/lib/Perl/PosixLow.pl +13 -0
  1505. data/Slic3r/Linux/lib/std/unicore/lib/Perl/PosixPri.pl +13 -0
  1506. data/Slic3r/Linux/lib/std/unicore/lib/Perl/PosixPun.pl +16 -0
  1507. data/Slic3r/Linux/lib/std/unicore/lib/Perl/PosixSpa.pl +14 -0
  1508. data/Slic3r/Linux/lib/std/unicore/lib/Perl/PosixUpp.pl +13 -0
  1509. data/Slic3r/Linux/lib/std/unicore/lib/Perl/Print.pl +515 -0
  1510. data/Slic3r/Linux/lib/std/unicore/lib/Perl/SpacePer.pl +24 -0
  1511. data/Slic3r/Linux/lib/std/unicore/lib/Perl/Title.pl +22 -0
  1512. data/Slic3r/Linux/lib/std/unicore/lib/Perl/VertSpac.pl +15 -0
  1513. data/Slic3r/Linux/lib/std/unicore/lib/Perl/Word.pl +526 -0
  1514. data/Slic3r/Linux/lib/std/unicore/lib/Perl/XPosixPu.pl +140 -0
  1515. data/Slic3r/Linux/lib/std/unicore/lib/Perl/_XBegin.pl +30 -0
  1516. data/Slic3r/Linux/lib/std/unicore/lib/Perl/_XExtend.pl +206 -0
  1517. data/Slic3r/Linux/lib/std/unicore/lib/Perl/_XLVLVTV.pl +15 -0
  1518. data/Slic3r/Linux/lib/std/unicore/lib/QMark/N.pl +25 -0
  1519. data/Slic3r/Linux/lib/std/unicore/lib/QMark/Y.pl +24 -0
  1520. data/Slic3r/Linux/lib/std/unicore/lib/Radical/N.pl +16 -0
  1521. data/Slic3r/Linux/lib/std/unicore/lib/Radical/Y.pl +15 -0
  1522. data/Slic3r/Linux/lib/std/unicore/lib/SB/AT.pl +16 -0
  1523. data/Slic3r/Linux/lib/std/unicore/lib/SB/CL.pl +53 -0
  1524. data/Slic3r/Linux/lib/std/unicore/lib/SB/EX.pl +207 -0
  1525. data/Slic3r/Linux/lib/std/unicore/lib/SB/FO.pl +28 -0
  1526. data/Slic3r/Linux/lib/std/unicore/lib/SB/LE.pl +362 -0
  1527. data/Slic3r/Linux/lib/std/unicore/lib/SB/LO.pl +623 -0
  1528. data/Slic3r/Linux/lib/std/unicore/lib/SB/SC.pl +31 -0
  1529. data/Slic3r/Linux/lib/std/unicore/lib/SB/SE.pl +14 -0
  1530. data/Slic3r/Linux/lib/std/unicore/lib/SB/ST.pl +56 -0
  1531. data/Slic3r/Linux/lib/std/unicore/lib/SB/Sp.pl +22 -0
  1532. data/Slic3r/Linux/lib/std/unicore/lib/SB/UP.pl +620 -0
  1533. data/Slic3r/Linux/lib/std/unicore/lib/SB/XX.pl +584 -0
  1534. data/Slic3r/Linux/lib/std/unicore/lib/SD/N.pl +44 -0
  1535. data/Slic3r/Linux/lib/std/unicore/lib/SD/Y.pl +43 -0
  1536. data/Slic3r/Linux/lib/std/unicore/lib/STerm/N.pl +60 -0
  1537. data/Slic3r/Linux/lib/std/unicore/lib/STerm/Y.pl +59 -0
  1538. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Arab.pl +31 -0
  1539. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Armi.pl +14 -0
  1540. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Armn.pl +17 -0
  1541. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Avst.pl +14 -0
  1542. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Bali.pl +14 -0
  1543. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Bamu.pl +14 -0
  1544. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Batk.pl +14 -0
  1545. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Beng.pl +26 -0
  1546. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Bopo.pl +15 -0
  1547. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Brah.pl +14 -0
  1548. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Bugi.pl +14 -0
  1549. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Buhd.pl +13 -0
  1550. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Cans.pl +14 -0
  1551. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Cari.pl +13 -0
  1552. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Cham.pl +16 -0
  1553. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Cher.pl +13 -0
  1554. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Copt.pl +15 -0
  1555. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Cprt.pl +18 -0
  1556. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Cyrl.pl +19 -0
  1557. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Deva.pl +18 -0
  1558. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Egyp.pl +13 -0
  1559. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Ethi.pl +44 -0
  1560. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Geor.pl +16 -0
  1561. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Glag.pl +14 -0
  1562. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Goth.pl +13 -0
  1563. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Grek.pl +45 -0
  1564. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Gujr.pl +26 -0
  1565. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Guru.pl +28 -0
  1566. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Han.pl +28 -0
  1567. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Hang.pl +26 -0
  1568. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Hano.pl +13 -0
  1569. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Hebr.pl +21 -0
  1570. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Hira.pl +16 -0
  1571. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Ital.pl +14 -0
  1572. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Java.pl +15 -0
  1573. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Kana.pl +20 -0
  1574. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Khar.pl +20 -0
  1575. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Khmr.pl +16 -0
  1576. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Knda.pl +26 -0
  1577. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Kthi.pl +13 -0
  1578. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Lana.pl +17 -0
  1579. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Lao.pl +30 -0
  1580. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Latn.pl +42 -0
  1581. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Lepc.pl +15 -0
  1582. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Limb.pl +17 -0
  1583. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Linb.pl +19 -0
  1584. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Lyci.pl +13 -0
  1585. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Lydi.pl +14 -0
  1586. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Mand.pl +14 -0
  1587. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Mlym.pl +23 -0
  1588. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Mong.pl +18 -0
  1589. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Mtei.pl +14 -0
  1590. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Mymr.pl +14 -0
  1591. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Nko.pl +13 -0
  1592. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Ogam.pl +13 -0
  1593. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Orkh.pl +13 -0
  1594. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Orya.pl +26 -0
  1595. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Osma.pl +14 -0
  1596. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Phag.pl +13 -0
  1597. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Phli.pl +14 -0
  1598. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Phnx.pl +14 -0
  1599. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Prti.pl +14 -0
  1600. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Rjng.pl +14 -0
  1601. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Runr.pl +14 -0
  1602. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Samr.pl +14 -0
  1603. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Saur.pl +14 -0
  1604. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Sinh.pl +23 -0
  1605. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Sund.pl +14 -0
  1606. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Sylo.pl +13 -0
  1607. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Syrc.pl +15 -0
  1608. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Tagb.pl +15 -0
  1609. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Tale.pl +14 -0
  1610. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Talu.pl +16 -0
  1611. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Taml.pl +28 -0
  1612. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Tavt.pl +14 -0
  1613. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Telu.pl +26 -0
  1614. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Tfng.pl +15 -0
  1615. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Tglg.pl +14 -0
  1616. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Thaa.pl +13 -0
  1617. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Thai.pl +14 -0
  1618. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Tibt.pl +19 -0
  1619. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Ugar.pl +14 -0
  1620. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Vai.pl +13 -0
  1621. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Xpeo.pl +14 -0
  1622. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Xsux.pl +15 -0
  1623. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Yi.pl +14 -0
  1624. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Zinh.pl +36 -0
  1625. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Zyyy.pl +181 -0
  1626. data/Slic3r/Linux/lib/std/unicore/lib/Sc/Zzzz.pl +511 -0
  1627. data/Slic3r/Linux/lib/std/unicore/lib/Space/N.pl +24 -0
  1628. data/Slic3r/Linux/lib/std/unicore/lib/Space/Y.pl +23 -0
  1629. data/Slic3r/Linux/lib/std/unicore/lib/Term/N.pl +80 -0
  1630. data/Slic3r/Linux/lib/std/unicore/lib/Term/Y.pl +79 -0
  1631. data/Slic3r/Linux/lib/std/unicore/lib/UIdeo/N.pl +25 -0
  1632. data/Slic3r/Linux/lib/std/unicore/lib/UIdeo/Y.pl +24 -0
  1633. data/Slic3r/Linux/lib/std/unicore/lib/Upper/N.pl +618 -0
  1634. data/Slic3r/Linux/lib/std/unicore/lib/Upper/Y.pl +617 -0
  1635. data/Slic3r/Linux/lib/std/unicore/lib/VS/N.pl +16 -0
  1636. data/Slic3r/Linux/lib/std/unicore/lib/VS/Y.pl +15 -0
  1637. data/Slic3r/Linux/lib/std/unicore/lib/WB/EX.pl +18 -0
  1638. data/Slic3r/Linux/lib/std/unicore/lib/WB/FO.pl +27 -0
  1639. data/Slic3r/Linux/lib/std/unicore/lib/WB/KA.pl +21 -0
  1640. data/Slic3r/Linux/lib/std/unicore/lib/WB/LE.pl +388 -0
  1641. data/Slic3r/Linux/lib/std/unicore/lib/WB/MB.pl +19 -0
  1642. data/Slic3r/Linux/lib/std/unicore/lib/WB/ML.pl +20 -0
  1643. data/Slic3r/Linux/lib/std/unicore/lib/WB/MN.pl +26 -0
  1644. data/Slic3r/Linux/lib/std/unicore/lib/WB/NL.pl +15 -0
  1645. data/Slic3r/Linux/lib/std/unicore/lib/WB/NU.pl +50 -0
  1646. data/Slic3r/Linux/lib/std/unicore/lib/WB/XX.pl +539 -0
  1647. data/Slic3r/Linux/lib/std/unicore/lib/XIDC/N.pl +534 -0
  1648. data/Slic3r/Linux/lib/std/unicore/lib/XIDC/Y.pl +533 -0
  1649. data/Slic3r/Linux/lib/std/unicore/lib/XIDS/N.pl +457 -0
  1650. data/Slic3r/Linux/lib/std/unicore/lib/XIDS/Y.pl +456 -0
  1651. data/Slic3r/Linux/lib/std/utf8.pm +214 -0
  1652. data/Slic3r/Linux/lib/std/utf8_heavy.pl +550 -0
  1653. data/Slic3r/Linux/lib/vrt/528ccea98cad02a5f453a7135f9ca183/package.lib +0 -0
  1654. data/Slic3r/Linux/lib/vrt/804f15d0b003b04c3feb68e47adacf8d/package.lib +1 -0
  1655. data/Slic3r/Linux/lib/vrt/fa119178d164dcf97f19aecc876231c0/package.lib +0 -0
  1656. data/Slic3r/Linux/res/Slic3r.icns +0 -0
  1657. data/Slic3r/Linux/res/Slic3r.ico +0 -0
  1658. data/Slic3r/Linux/res/Slic3r.png +0 -0
  1659. data/Slic3r/Linux/res/Slic3r_128px.png +0 -0
  1660. data/Slic3r/Linux/res/Slic3r_192px.png +0 -0
  1661. data/Slic3r/Linux/res/Slic3r_192px_transparent.png +0 -0
  1662. data/Slic3r/Linux/res/add.png +0 -0
  1663. data/Slic3r/Linux/res/arrow_out.png +0 -0
  1664. data/Slic3r/Linux/res/arrow_rotate_anticlockwise.png +0 -0
  1665. data/Slic3r/Linux/res/arrow_rotate_clockwise.png +0 -0
  1666. data/Slic3r/Linux/res/arrow_up.png +0 -0
  1667. data/Slic3r/Linux/res/box.png +0 -0
  1668. data/Slic3r/Linux/res/brick.png +0 -0
  1669. data/Slic3r/Linux/res/brick_add.png +0 -0
  1670. data/Slic3r/Linux/res/brick_delete.png +0 -0
  1671. data/Slic3r/Linux/res/brick_go.png +0 -0
  1672. data/Slic3r/Linux/res/bricks.png +0 -0
  1673. data/Slic3r/Linux/res/building.png +0 -0
  1674. data/Slic3r/Linux/res/bullet_black.png +0 -0
  1675. data/Slic3r/Linux/res/bullet_blue.png +0 -0
  1676. data/Slic3r/Linux/res/bullet_white.png +0 -0
  1677. data/Slic3r/Linux/res/cog.png +0 -0
  1678. data/Slic3r/Linux/res/cog_go.png +0 -0
  1679. data/Slic3r/Linux/res/cross.png +0 -0
  1680. data/Slic3r/Linux/res/delete.png +0 -0
  1681. data/Slic3r/Linux/res/disk.png +0 -0
  1682. data/Slic3r/Linux/res/error.png +0 -0
  1683. data/Slic3r/Linux/res/funnel.png +0 -0
  1684. data/Slic3r/Linux/res/hourglass.png +0 -0
  1685. data/Slic3r/Linux/res/layers.png +0 -0
  1686. data/Slic3r/Linux/res/note.png +0 -0
  1687. data/Slic3r/Linux/res/package.png +0 -0
  1688. data/Slic3r/Linux/res/package_green.png +0 -0
  1689. data/Slic3r/Linux/res/page_white_go.png +0 -0
  1690. data/Slic3r/Linux/res/plugin.png +0 -0
  1691. data/Slic3r/Linux/res/printer_empty.png +0 -0
  1692. data/Slic3r/Linux/res/shading.png +0 -0
  1693. data/Slic3r/Linux/res/shape_ungroup.png +0 -0
  1694. data/Slic3r/Linux/res/spool.png +0 -0
  1695. data/Slic3r/Linux/res/tag_blue.png +0 -0
  1696. data/Slic3r/Linux/res/time.png +0 -0
  1697. data/Slic3r/Linux/res/wrench.png +0 -0
  1698. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libperl.dylib +0 -0
  1699. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_baseu-2.9.3.0.0.dylib +0 -0
  1700. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_baseu-2.9.3.dylib +1 -0
  1701. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_baseu-2.9.dylib +1 -0
  1702. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_baseu_net-2.9.3.0.0.dylib +0 -0
  1703. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_baseu_net-2.9.3.dylib +1 -0
  1704. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_baseu_net-2.9.dylib +1 -0
  1705. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_osx_cocoau_adv-2.9.3.0.0.dylib +0 -0
  1706. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_osx_cocoau_adv-2.9.3.dylib +1 -0
  1707. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_osx_cocoau_adv-2.9.dylib +1 -0
  1708. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_osx_cocoau_core-2.9.3.0.0.dylib +0 -0
  1709. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_osx_cocoau_core-2.9.3.dylib +1 -0
  1710. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_osx_cocoau_core-2.9.dylib +1 -0
  1711. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_osx_cocoau_gl-2.9.3.0.0.dylib +0 -0
  1712. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_osx_cocoau_gl-2.9.3.dylib +1 -0
  1713. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_osx_cocoau_gl-2.9.dylib +1 -0
  1714. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_osx_cocoau_html-2.9.3.0.0.dylib +0 -0
  1715. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_osx_cocoau_html-2.9.3.dylib +1 -0
  1716. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_osx_cocoau_html-2.9.dylib +1 -0
  1717. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_osx_cocoau_media-2.9.3.0.0.dylib +0 -0
  1718. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_osx_cocoau_media-2.9.3.dylib +1 -0
  1719. data/Slic3r/Mac/Slic3r.app/Contents/Frameworks/libwx_osx_cocoau_media-2.9.dylib +1 -0
  1720. data/Slic3r/Mac/Slic3r.app/Contents/Info.plist +27 -0
  1721. data/Slic3r/Mac/Slic3r.app/Contents/MacOS/slic3r +0 -0
  1722. data/Slic3r/Mac/Slic3r.app/Contents/PkgInfo +1 -0
  1723. data/Slic3r/Mac/Slic3r.app/Contents/Resources/Slic3r.icns +0 -0
  1724. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/std/Mozilla/CA.pm +99 -0
  1725. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/std/Mozilla/CA/cacert.pem +3366 -0
  1726. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/std/XML/SAX/ParserDetails.ini +16 -0
  1727. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/00fe171e54eaa45f327269069a84261c/SHA.bundle +0 -0
  1728. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/01641a74022c3bbdcd3a4cd5ffa26f07/ExpatXS.bundle +0 -0
  1729. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/02275a9ba60dd2657ec564332cc8c8a6/mro.bundle +0 -0
  1730. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/0599c4249af65dd82091e4b41e75dcac/GLCanvas.bundle +0 -0
  1731. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/0b007f4858c19ac489b6482dc8d8e973/Base64.bundle +0 -0
  1732. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/11897113663a72e0cf3a40f86569d0d3/package.lib +437 -0
  1733. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/181b750c50b989ea215e0c9788700590/scalar.bundle +0 -0
  1734. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/18e56ac547628015c934d8e62b2e59fb/shared.bundle +0 -0
  1735. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/193e996343c27253990f34ec93d7ae14/XS.bundle +0 -0
  1736. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/1e7eafa7ded7f14757bba03f9721336f/MD5.bundle +0 -0
  1737. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/2203e7a3df69c390965a2aa240378b54/FastCalc.bundle +0 -0
  1738. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/3b0e1864ce168232981b0e0b6e4ba639/Zlib.bundle +0 -0
  1739. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/4219a41428dfbeccc0004f15dc4778d8/Unicode.bundle +0 -0
  1740. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/42c3d19347a691f255d231da3d91f1ab/package.lib +332 -0
  1741. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/446150103e8711b6887777b796b96e92/Storable.bundle +0 -0
  1742. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/471029ae61c0427e58f24ac9e5a0cca5/package.lib +41 -0
  1743. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/4b2be1b5f4e6e6643e35d2fcdd27000d/Fcntl.bundle +0 -0
  1744. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/4c8cb4098e6eacc0dda716777c02e08e/Print.bundle +0 -0
  1745. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/51a64b55f893bfcb317be27527adb1c6/XSAccessor.bundle +0 -0
  1746. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/528ccea98cad02a5f453a7135f9ca183/package.lib +0 -0
  1747. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/5abe14a55ea43955299905c968f6b868/NamedCapture.bundle +0 -0
  1748. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/5da723b19d0784844a5d9228c25b1022/IO.bundle +0 -0
  1749. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/5efcd6c8c536b3b2d25ffece18e6cc7f/Byte.bundle +0 -0
  1750. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/62d4f6d2fa13586d2f8d48e80fcaad8d/re.bundle +0 -0
  1751. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/65951cec1d16610098f09e209050a4e5/encoding.bundle +0 -0
  1752. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/72315e121508feb38a782d3bd60cf0e1/Encode.bundle +0 -0
  1753. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/72f45450977a0f098e76b5b1270fb1fa/TW.bundle +0 -0
  1754. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/74f1151ea68af8b93e28a8d7b59bc6f1/Util.bundle +0 -0
  1755. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/7a1d45f404be604381d8b95f374ecae2/POSIX.bundle +0 -0
  1756. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/7a9108dfb82f49ad15e339776671a0c9/KR.bundle +0 -0
  1757. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/7e549424075365bb7bac11a08b208145/XS.bundle +0 -0
  1758. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/7e7926fce7d528168853b8dab2c9ccd2/Socket.bundle +0 -0
  1759. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/804f15d0b003b04c3feb68e47adacf8d/package.lib +1 -0
  1760. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/826014915c535a7285f886166a778440/Cwd.bundle +0 -0
  1761. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/83e7bddbda22f4666134d95e35b3292e/Grid.bundle +0 -0
  1762. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/8efb4e8160ee47f9e953900fd189e72c/Symbol.bundle +0 -0
  1763. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/9077b3800b946e19da99a53a92321f77/JP.bundle +0 -0
  1764. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/9425135f44548a4e211eabfbba86fdf7/B.bundle +0 -0
  1765. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/94c9b361d23d6847d023b9e82acbc595/UUID.bundle +0 -0
  1766. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/953dbc6f080a921c10f4fb4adf0a6ea7/SealRequireHints.bundle +0 -0
  1767. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/9f303c03e9bb3b3307210ed1399034f4/Dumper.bundle +0 -0
  1768. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/a3809d03e71342d25daf495917654688/indirect.bundle +0 -0
  1769. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/a499207f115577de989dae697bccf1f7/via.bundle +0 -0
  1770. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/a4ff00c6243840a7c5a181800d0a0e9f/Glob.bundle +0 -0
  1771. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/a8a5488c950b4ae4ab726834ab1f4629/Parser.bundle +0 -0
  1772. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/a927c16eae43f6d2d1fcbca4288c2613/Bzip2.bundle +0 -0
  1773. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/b2467e1e23f7295c8b0e819807403777/Check.bundle +0 -0
  1774. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/b75af51104891e1861cf27a85a06248f/SSLeay.bundle +0 -0
  1775. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/c04409d610134c279178eaab1c0cd45e/multidimensional.bundle +0 -0
  1776. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/c37c19e69c64f01f83616050a4290081/filehandles.bundle +0 -0
  1777. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/c63ee2950efe3f9517034e269406a6f1/Call.bundle +0 -0
  1778. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/c8b43a9fa99c2589e0af3851636037ae/threads.bundle +0 -0
  1779. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/c9bc0bb4eaabb8b3b85268094134ae30/SSLeay.bundle +0 -0
  1780. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/cb9c4ab6b50a6ba6e9a1c58866acb842/HiRes.bundle +0 -0
  1781. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/d73dc34729c26340077a511c9aeae54c/Langinfo.bundle +0 -0
  1782. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/e0833c18d9957e5ef93fd12ea63dc88c/Libm.bundle +0 -0
  1783. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/e4596f5a53563fc95d87c9738c6ed3f1/attributes.bundle +0 -0
  1784. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/e69ac1437c1fe7ba8a391d4a6e017895/DND.bundle +0 -0
  1785. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/f0daa614fb85c8dc08ddd86ef81f8546/EBCDIC.bundle +0 -0
  1786. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/f3d865c9882d669a56d9890365558ef3/Wx.bundle +0 -0
  1787. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/f77494368a2754d99fc9ae63725241b9/CN.bundle +0 -0
  1788. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/f7b6e5c51850d9c5b8f9f118bf8c79e5/OpenGL.bundle +0 -0
  1789. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/fa119178d164dcf97f19aecc876231c0/package.lib +0 -0
  1790. data/Slic3r/Mac/Slic3r.app/Contents/Resources/lib/vrt/ff1c32bbf4efed322b40618fa6cc887f/Html.bundle +0 -0
  1791. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/Slic3r.icns +0 -0
  1792. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/Slic3r.ico +0 -0
  1793. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/Slic3r.png +0 -0
  1794. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/Slic3r_128px.png +0 -0
  1795. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/Slic3r_192px.png +0 -0
  1796. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/Slic3r_192px_transparent.png +0 -0
  1797. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/add.png +0 -0
  1798. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/arrow_out.png +0 -0
  1799. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/arrow_rotate_anticlockwise.png +0 -0
  1800. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/arrow_rotate_clockwise.png +0 -0
  1801. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/arrow_up.png +0 -0
  1802. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/box.png +0 -0
  1803. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/brick.png +0 -0
  1804. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/brick_add.png +0 -0
  1805. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/brick_delete.png +0 -0
  1806. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/brick_go.png +0 -0
  1807. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/bricks.png +0 -0
  1808. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/building.png +0 -0
  1809. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/bullet_black.png +0 -0
  1810. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/bullet_blue.png +0 -0
  1811. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/bullet_white.png +0 -0
  1812. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/cog.png +0 -0
  1813. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/cog_go.png +0 -0
  1814. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/cross.png +0 -0
  1815. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/delete.png +0 -0
  1816. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/disk.png +0 -0
  1817. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/error.png +0 -0
  1818. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/funnel.png +0 -0
  1819. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/hourglass.png +0 -0
  1820. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/layers.png +0 -0
  1821. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/note.png +0 -0
  1822. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/package.png +0 -0
  1823. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/package_green.png +0 -0
  1824. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/page_white_go.png +0 -0
  1825. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/plugin.png +0 -0
  1826. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/printer_empty.png +0 -0
  1827. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/shading.png +0 -0
  1828. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/shape_ungroup.png +0 -0
  1829. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/spool.png +0 -0
  1830. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/tag_blue.png +0 -0
  1831. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/time.png +0 -0
  1832. data/Slic3r/Mac/Slic3r.app/Contents/Resources/res/wrench.png +0 -0
  1833. data/Slic3r/Win/bin/cpfworkrt/cpfworkrt.manifest +8 -0
  1834. data/Slic3r/Win/bin/cpfworkrt/libgcc_s_sjlj-1.dll +0 -0
  1835. data/Slic3r/Win/bin/cpfworkrt/libstdc++-6.dll +0 -0
  1836. data/Slic3r/Win/bin/cpfworkrt/perl514.dll +0 -0
  1837. data/Slic3r/Win/cpfworkrt/cpfworkrt.manifest +8 -0
  1838. data/Slic3r/Win/cpfworkrt/libgcc_s_sjlj-1.dll +0 -0
  1839. data/Slic3r/Win/cpfworkrt/libstdc++-6.dll +0 -0
  1840. data/Slic3r/Win/cpfworkrt/perl514.dll +0 -0
  1841. data/Slic3r/Win/dll/cpwgui.exe +0 -0
  1842. data/Slic3r/Win/dll/wxbase293u_gcc_citrusperl.dll +0 -0
  1843. data/Slic3r/Win/dll/wxbase293u_net_gcc_citrusperl.dll +0 -0
  1844. data/Slic3r/Win/dll/wxmsw293u_adv_gcc_citrusperl.dll +0 -0
  1845. data/Slic3r/Win/dll/wxmsw293u_core_gcc_citrusperl.dll +0 -0
  1846. data/Slic3r/Win/dll/wxmsw293u_gl_gcc_citrusperl.dll +0 -0
  1847. data/Slic3r/Win/dll/wxmsw293u_html_gcc_citrusperl.dll +0 -0
  1848. data/Slic3r/Win/lib/std/Mozilla/CA.pm +99 -0
  1849. data/Slic3r/Win/lib/std/Mozilla/CA/cacert.pem +3366 -0
  1850. data/Slic3r/Win/lib/std/XML/SAX/ParserDetails.ini +16 -0
  1851. data/Slic3r/Win/lib/vrt/00065b3cc7c31741588c51da0ebf7cfc/Storable.dll +0 -0
  1852. data/Slic3r/Win/lib/vrt/0e211ef5300e42b7129e72ce6934dd03/File.dll +0 -0
  1853. data/Slic3r/Win/lib/vrt/11897113663a72e0cf3a40f86569d0d3/package.lib +437 -0
  1854. data/Slic3r/Win/lib/vrt/13887bf5057dfc645e73f9cbc2107b0b/shared.dll +0 -0
  1855. data/Slic3r/Win/lib/vrt/13b74231834b96c1b29d9bb7ff9fc803/XSAccessor.dll +0 -0
  1856. data/Slic3r/Win/lib/vrt/17a8fd354d07706b1d8e07133653aefe/Unicode.dll +0 -0
  1857. data/Slic3r/Win/lib/vrt/1ff31eb32e672b10095dc07142eda94e/Byte.dll +0 -0
  1858. data/Slic3r/Win/lib/vrt/212acdb3b0d578c6c31b6f5b102aaf9f/OpenGL.dll +0 -0
  1859. data/Slic3r/Win/lib/vrt/212acdb3b0d578c6c31b6f5b102aaf9f/freeglut.dll +0 -0
  1860. data/Slic3r/Win/lib/vrt/2b09d17ec43a6c01f265254b54d60739/Dumper.dll +0 -0
  1861. data/Slic3r/Win/lib/vrt/2ce0a6f8648060f015cf6b795bedf11d/SHA.dll +0 -0
  1862. data/Slic3r/Win/lib/vrt/3545b2d83c9d9a29194f9ab80ec5474b/Fcntl.dll +0 -0
  1863. data/Slic3r/Win/lib/vrt/38786f297f552b7038b60152ad9b90fc/ExpatXS.dll +0 -0
  1864. data/Slic3r/Win/lib/vrt/3d306f1634430f34d0521f8ea684e9ec/SSLeay.dll +0 -0
  1865. data/Slic3r/Win/lib/vrt/3ea9b1cd80f790518c416324dd069ebd/encoding.dll +0 -0
  1866. data/Slic3r/Win/lib/vrt/41c42900fc0d462e9a31e174ac8a654c/Html.dll +0 -0
  1867. data/Slic3r/Win/lib/vrt/42c3d19347a691f255d231da3d91f1ab/package.lib +332 -0
  1868. data/Slic3r/Win/lib/vrt/4699e2a2c6a572106b4070861d78c22a/Parser.dll +0 -0
  1869. data/Slic3r/Win/lib/vrt/46c688003f4a63abb5816f68b951f727/MD5.dll +0 -0
  1870. data/Slic3r/Win/lib/vrt/471029ae61c0427e58f24ac9e5a0cca5/package.lib +41 -0
  1871. data/Slic3r/Win/lib/vrt/49bdccea41102e6d90906b74653d30ab/HiRes.dll +0 -0
  1872. data/Slic3r/Win/lib/vrt/4c9065158b425703c56336bd7fd5bbf2/SSLeay.dll +0 -0
  1873. data/Slic3r/Win/lib/vrt/50e0982503943dcf3f001fc2d17d4075/JP.dll +0 -0
  1874. data/Slic3r/Win/lib/vrt/528ccea98cad02a5f453a7135f9ca183/package.lib +0 -0
  1875. data/Slic3r/Win/lib/vrt/6419170f57dff2f058fefa3f8f37c897/EBCDIC.dll +0 -0
  1876. data/Slic3r/Win/lib/vrt/655af4e236089eadb910a60a39fbe815/attributes.dll +0 -0
  1877. data/Slic3r/Win/lib/vrt/6c123a3a5b411759cc21a293df5bed0e/SealRequireHints.dll +0 -0
  1878. data/Slic3r/Win/lib/vrt/7ba0890aa8ff0eed7abb9f76181bd637/Console.dll +0 -0
  1879. data/Slic3r/Win/lib/vrt/7ef678fd3db32983bdf488c788a3a763/IO.dll +0 -0
  1880. data/Slic3r/Win/lib/vrt/804f15d0b003b04c3feb68e47adacf8d/package.lib +1 -0
  1881. data/Slic3r/Win/lib/vrt/8f7c428c727a7d81643b50b598197734/API.dll +0 -0
  1882. data/Slic3r/Win/lib/vrt/8fa3f50b03f9cb0203031cf516aa3973/B.dll +0 -0
  1883. data/Slic3r/Win/lib/vrt/9573d0f8956394a9448b7cb70a24fed3/CN.dll +0 -0
  1884. data/Slic3r/Win/lib/vrt/9a02fe0b6c8a35ffbf56e88f9910abeb/Base64.dll +0 -0
  1885. data/Slic3r/Win/lib/vrt/9cc90b876890f13970933c948cbb4b2e/Print.dll +0 -0
  1886. data/Slic3r/Win/lib/vrt/9d4869e43aaebbcbfc9baec70819f444/indirect.dll +0 -0
  1887. data/Slic3r/Win/lib/vrt/a3600f18eb88b7c4835e2438eeda19b1/Symbol.dll +0 -0
  1888. data/Slic3r/Win/lib/vrt/a3719ad0fa76c06423d0397090ec4ed9/Libm.dll +0 -0
  1889. data/Slic3r/Win/lib/vrt/a40249e26296df558fcddd2c8cbfb2f6/UUID.dll +0 -0
  1890. data/Slic3r/Win/lib/vrt/aa455d4af51625c2acacb6716c0a6e01/scalar.dll +0 -0
  1891. data/Slic3r/Win/lib/vrt/aa976c80169f479f0613ff5283377098/Win32.dll +0 -0
  1892. data/Slic3r/Win/lib/vrt/ad648dbf31179700b4efd00b04f50dab/multidimensional.dll +0 -0
  1893. data/Slic3r/Win/lib/vrt/b48cd6cc5170110b04444736f8ca1a04/mro.dll +0 -0
  1894. data/Slic3r/Win/lib/vrt/b6a5c6ef2abf4a7046bb88d7a8b220ff/GLCanvas.dll +0 -0
  1895. data/Slic3r/Win/lib/vrt/bd26fbb8f6447c2e98cf359976a3c1a7/POSIX.dll +0 -0
  1896. data/Slic3r/Win/lib/vrt/c23df991c561704a8913289bdfea9462/Zlib.dll +0 -0
  1897. data/Slic3r/Win/lib/vrt/c8786c44f0a905ffe6d5d8a4068a75c2/Call.dll +0 -0
  1898. data/Slic3r/Win/lib/vrt/cbbb6d80da8c62ee893a65195943b803/re.dll +0 -0
  1899. data/Slic3r/Win/lib/vrt/cbfee14465f0627fbadfcc84b97d402b/KR.dll +0 -0
  1900. data/Slic3r/Win/lib/vrt/cd0b5b2fa854963191ca9718e26a0abc/Grid.dll +0 -0
  1901. data/Slic3r/Win/lib/vrt/ceb3487499a2d7f0edbcc6aa0c0536c1/NamedCapture.dll +0 -0
  1902. data/Slic3r/Win/lib/vrt/cfbd454ca865af139a419af806f1d4c7/DND.dll +0 -0
  1903. data/Slic3r/Win/lib/vrt/cfcde55111d441748de61cc95acb240e/Check.dll +0 -0
  1904. data/Slic3r/Win/lib/vrt/d0b4c3dceefb5d08dbe60f0e68d0da76/filehandles.dll +0 -0
  1905. data/Slic3r/Win/lib/vrt/d9c3e3943b3f28bc1f09e2f713cc6afb/Glob.dll +0 -0
  1906. data/Slic3r/Win/lib/vrt/da3813f7e06d5ace75632aaf1738303a/Cwd.dll +0 -0
  1907. data/Slic3r/Win/lib/vrt/e29b9764cd99fd442815834972733f63/Encode.dll +0 -0
  1908. data/Slic3r/Win/lib/vrt/e51409fbea61e7f44156de0a7d61ce6e/FastCalc.dll +0 -0
  1909. data/Slic3r/Win/lib/vrt/eaa3f41565bf2fe58068d68f47a06165/Bzip2.dll +0 -0
  1910. data/Slic3r/Win/lib/vrt/eb8576fa2c159886e7f37945c9fb302c/Util.dll +0 -0
  1911. data/Slic3r/Win/lib/vrt/ef0a1b3a50dcc9984703f576320986af/Socket.dll +0 -0
  1912. data/Slic3r/Win/lib/vrt/efa78e66d1d123d9a6f5890b6ca9167a/TW.dll +0 -0
  1913. data/Slic3r/Win/lib/vrt/f490c3f60de8989339da70e91e2faf32/threads.dll +0 -0
  1914. data/Slic3r/Win/lib/vrt/f6025e058c0367c56e8eed568e60077b/Clone.dll +0 -0
  1915. data/Slic3r/Win/lib/vrt/f8d8299b70fb38b8f4ba594e6f23c91f/XS.dll +0 -0
  1916. data/Slic3r/Win/lib/vrt/fa119178d164dcf97f19aecc876231c0/package.lib +0 -0
  1917. data/Slic3r/Win/lib/vrt/fadbe2ebaf950eb9e5e3c3d65739aa92/via.dll +0 -0
  1918. data/Slic3r/Win/lib/vrt/fb078e7d1a272046eb7bd617bd3ed5c4/Wx.dll +0 -0
  1919. data/Slic3r/Win/lib/vrt/ffa8ccc0f7f886ba695e841a491bce9a/XS.dll +0 -0
  1920. data/Slic3r/Win/res/Slic3r.icns +0 -0
  1921. data/Slic3r/Win/res/Slic3r.ico +0 -0
  1922. data/Slic3r/Win/res/Slic3r.png +0 -0
  1923. data/Slic3r/Win/res/Slic3r_128px.png +0 -0
  1924. data/Slic3r/Win/res/Slic3r_192px.png +0 -0
  1925. data/Slic3r/Win/res/Slic3r_192px_transparent.png +0 -0
  1926. data/Slic3r/Win/res/add.png +0 -0
  1927. data/Slic3r/Win/res/arrow_out.png +0 -0
  1928. data/Slic3r/Win/res/arrow_rotate_anticlockwise.png +0 -0
  1929. data/Slic3r/Win/res/arrow_rotate_clockwise.png +0 -0
  1930. data/Slic3r/Win/res/arrow_up.png +0 -0
  1931. data/Slic3r/Win/res/box.png +0 -0
  1932. data/Slic3r/Win/res/brick.png +0 -0
  1933. data/Slic3r/Win/res/brick_add.png +0 -0
  1934. data/Slic3r/Win/res/brick_delete.png +0 -0
  1935. data/Slic3r/Win/res/brick_go.png +0 -0
  1936. data/Slic3r/Win/res/bricks.png +0 -0
  1937. data/Slic3r/Win/res/building.png +0 -0
  1938. data/Slic3r/Win/res/bullet_black.png +0 -0
  1939. data/Slic3r/Win/res/bullet_blue.png +0 -0
  1940. data/Slic3r/Win/res/bullet_white.png +0 -0
  1941. data/Slic3r/Win/res/cog.png +0 -0
  1942. data/Slic3r/Win/res/cog_go.png +0 -0
  1943. data/Slic3r/Win/res/cross.png +0 -0
  1944. data/Slic3r/Win/res/delete.png +0 -0
  1945. data/Slic3r/Win/res/disk.png +0 -0
  1946. data/Slic3r/Win/res/error.png +0 -0
  1947. data/Slic3r/Win/res/funnel.png +0 -0
  1948. data/Slic3r/Win/res/hourglass.png +0 -0
  1949. data/Slic3r/Win/res/layers.png +0 -0
  1950. data/Slic3r/Win/res/note.png +0 -0
  1951. data/Slic3r/Win/res/package.png +0 -0
  1952. data/Slic3r/Win/res/package_green.png +0 -0
  1953. data/Slic3r/Win/res/page_white_go.png +0 -0
  1954. data/Slic3r/Win/res/plugin.png +0 -0
  1955. data/Slic3r/Win/res/printer_empty.png +0 -0
  1956. data/Slic3r/Win/res/shading.png +0 -0
  1957. data/Slic3r/Win/res/shape_ungroup.png +0 -0
  1958. data/Slic3r/Win/res/spool.png +0 -0
  1959. data/Slic3r/Win/res/tag_blue.png +0 -0
  1960. data/Slic3r/Win/res/time.png +0 -0
  1961. data/Slic3r/Win/res/wrench.png +0 -0
  1962. data/Slic3r/Win/slic3r-console.exe +0 -0
  1963. data/Slic3r/Win/slic3r.exe +0 -0
  1964. data/Slic3r/Win/temp.txt +278 -0
  1965. data/lib/STLExtract.rb +155 -0
  1966. data/lib/STLExtract/version.rb +3 -0
  1967. metadata +2044 -0
@@ -0,0 +1,446 @@
1
+ package File::Spec::Win32;
2
+
3
+ use strict;
4
+
5
+ use vars qw(@ISA $VERSION);
6
+ require File::Spec::Unix;
7
+
8
+ $VERSION = '3.47';
9
+ $VERSION =~ tr/_//;
10
+
11
+ @ISA = qw(File::Spec::Unix);
12
+
13
+ # Some regexes we use for path splitting
14
+ my $DRIVE_RX = '[a-zA-Z]:';
15
+ my $UNC_RX = '(?:\\\\\\\\|//)[^\\\\/]+[\\\\/][^\\\\/]+';
16
+ my $VOL_RX = "(?:$DRIVE_RX|$UNC_RX)";
17
+
18
+
19
+ =head1 NAME
20
+
21
+ File::Spec::Win32 - methods for Win32 file specs
22
+
23
+ =head1 SYNOPSIS
24
+
25
+ require File::Spec::Win32; # Done internally by File::Spec if needed
26
+
27
+ =head1 DESCRIPTION
28
+
29
+ See File::Spec::Unix for a documentation of the methods provided
30
+ there. This package overrides the implementation of these methods, not
31
+ the semantics.
32
+
33
+ =over 4
34
+
35
+ =item devnull
36
+
37
+ Returns a string representation of the null device.
38
+
39
+ =cut
40
+
41
+ sub devnull {
42
+ return "nul";
43
+ }
44
+
45
+ sub rootdir { '\\' }
46
+
47
+
48
+ =item tmpdir
49
+
50
+ Returns a string representation of the first existing directory
51
+ from the following list:
52
+
53
+ $ENV{TMPDIR}
54
+ $ENV{TEMP}
55
+ $ENV{TMP}
56
+ SYS:/temp
57
+ C:\system\temp
58
+ C:/temp
59
+ /tmp
60
+ /
61
+
62
+ The SYS:/temp is preferred in Novell NetWare and the C:\system\temp
63
+ for Symbian (the File::Spec::Win32 is used also for those platforms).
64
+
65
+ If running under taint mode, and if the environment
66
+ variables are tainted, they are not used.
67
+
68
+ =cut
69
+
70
+ sub tmpdir {
71
+ my $tmpdir = $_[0]->_cached_tmpdir(qw(TMPDIR TEMP TMP));
72
+ return $tmpdir if defined $tmpdir;
73
+ $tmpdir = $_[0]->_tmpdir( map( $ENV{$_}, qw(TMPDIR TEMP TMP) ),
74
+ 'SYS:/temp',
75
+ 'C:\system\temp',
76
+ 'C:/temp',
77
+ '/tmp',
78
+ '/' );
79
+ $_[0]->_cache_tmpdir($tmpdir, qw(TMPDIR TEMP TMP));
80
+ }
81
+
82
+ =item case_tolerant
83
+
84
+ MSWin32 case-tolerance depends on GetVolumeInformation() $ouFsFlags == FS_CASE_SENSITIVE,
85
+ indicating the case significance when comparing file specifications.
86
+ Since XP FS_CASE_SENSITIVE is effectively disabled for the NT subsubsystem.
87
+ See http://cygwin.com/ml/cygwin/2007-07/msg00891.html
88
+ Default: 1
89
+
90
+ =cut
91
+
92
+ sub case_tolerant {
93
+ eval { require Win32API::File; } or return 1;
94
+ my $drive = shift || "C:";
95
+ my $osFsType = "\0"x256;
96
+ my $osVolName = "\0"x256;
97
+ my $ouFsFlags = 0;
98
+ Win32API::File::GetVolumeInformation($drive, $osVolName, 256, [], [], $ouFsFlags, $osFsType, 256 );
99
+ if ($ouFsFlags & Win32API::File::FS_CASE_SENSITIVE()) { return 0; }
100
+ else { return 1; }
101
+ }
102
+
103
+ =item file_name_is_absolute
104
+
105
+ As of right now, this returns 2 if the path is absolute with a
106
+ volume, 1 if it's absolute with no volume, 0 otherwise.
107
+
108
+ =cut
109
+
110
+ sub file_name_is_absolute {
111
+
112
+ my ($self,$file) = @_;
113
+
114
+ if ($file =~ m{^($VOL_RX)}o) {
115
+ my $vol = $1;
116
+ return ($vol =~ m{^$UNC_RX}o ? 2
117
+ : $file =~ m{^$DRIVE_RX[\\/]}o ? 2
118
+ : 0);
119
+ }
120
+ return $file =~ m{^[\\/]} ? 1 : 0;
121
+ }
122
+
123
+ =item catfile
124
+
125
+ Concatenate one or more directory names and a filename to form a
126
+ complete path ending with a filename
127
+
128
+ =cut
129
+
130
+ sub catfile {
131
+ shift;
132
+
133
+ # Legacy / compatibility support
134
+ #
135
+ shift, return _canon_cat( "/", @_ )
136
+ if $_[0] eq "";
137
+
138
+ # Compatibility with File::Spec <= 3.26:
139
+ # catfile('A:', 'foo') should return 'A:\foo'.
140
+ return _canon_cat( ($_[0].'\\'), @_[1..$#_] )
141
+ if $_[0] =~ m{^$DRIVE_RX\z}o;
142
+
143
+ return _canon_cat( @_ );
144
+ }
145
+
146
+ sub catdir {
147
+ shift;
148
+
149
+ # Legacy / compatibility support
150
+ #
151
+ return ""
152
+ unless @_;
153
+ shift, return _canon_cat( "/", @_ )
154
+ if $_[0] eq "";
155
+
156
+ # Compatibility with File::Spec <= 3.26:
157
+ # catdir('A:', 'foo') should return 'A:\foo'.
158
+ return _canon_cat( ($_[0].'\\'), @_[1..$#_] )
159
+ if $_[0] =~ m{^$DRIVE_RX\z}o;
160
+
161
+ return _canon_cat( @_ );
162
+ }
163
+
164
+ sub path {
165
+ my @path = split(';', $ENV{PATH});
166
+ s/"//g for @path;
167
+ @path = grep length, @path;
168
+ unshift(@path, ".");
169
+ return @path;
170
+ }
171
+
172
+ =item canonpath
173
+
174
+ No physical check on the filesystem, but a logical cleanup of a
175
+ path. On UNIX eliminated successive slashes and successive "/.".
176
+ On Win32 makes
177
+
178
+ dir1\dir2\dir3\..\..\dir4 -> \dir\dir4 and even
179
+ dir1\dir2\dir3\...\dir4 -> \dir\dir4
180
+
181
+ =cut
182
+
183
+ sub canonpath {
184
+ # Legacy / compatibility support
185
+ #
186
+ return $_[1] if !defined($_[1]) or $_[1] eq '';
187
+ return _canon_cat( $_[1] );
188
+ }
189
+
190
+ =item splitpath
191
+
192
+ ($volume,$directories,$file) = File::Spec->splitpath( $path );
193
+ ($volume,$directories,$file) = File::Spec->splitpath( $path,
194
+ $no_file );
195
+
196
+ Splits a path into volume, directory, and filename portions. Assumes that
197
+ the last file is a path unless the path ends in '\\', '\\.', '\\..'
198
+ or $no_file is true. On Win32 this means that $no_file true makes this return
199
+ ( $volume, $path, '' ).
200
+
201
+ Separators accepted are \ and /.
202
+
203
+ Volumes can be drive letters or UNC sharenames (\\server\share).
204
+
205
+ The results can be passed to L</catpath> to get back a path equivalent to
206
+ (usually identical to) the original path.
207
+
208
+ =cut
209
+
210
+ sub splitpath {
211
+ my ($self,$path, $nofile) = @_;
212
+ my ($volume,$directory,$file) = ('','','');
213
+ if ( $nofile ) {
214
+ $path =~
215
+ m{^ ( $VOL_RX ? ) (.*) }sox;
216
+ $volume = $1;
217
+ $directory = $2;
218
+ }
219
+ else {
220
+ $path =~
221
+ m{^ ( $VOL_RX ? )
222
+ ( (?:.*[\\/](?:\.\.?\Z(?!\n))?)? )
223
+ (.*)
224
+ }sox;
225
+ $volume = $1;
226
+ $directory = $2;
227
+ $file = $3;
228
+ }
229
+
230
+ return ($volume,$directory,$file);
231
+ }
232
+
233
+
234
+ =item splitdir
235
+
236
+ The opposite of L<catdir()|File::Spec/catdir>.
237
+
238
+ @dirs = File::Spec->splitdir( $directories );
239
+
240
+ $directories must be only the directory portion of the path on systems
241
+ that have the concept of a volume or that have path syntax that differentiates
242
+ files from directories.
243
+
244
+ Unlike just splitting the directories on the separator, leading empty and
245
+ trailing directory entries can be returned, because these are significant
246
+ on some OSs. So,
247
+
248
+ File::Spec->splitdir( "/a/b/c" );
249
+
250
+ Yields:
251
+
252
+ ( '', 'a', 'b', '', 'c', '' )
253
+
254
+ =cut
255
+
256
+ sub splitdir {
257
+ my ($self,$directories) = @_ ;
258
+ #
259
+ # split() likes to forget about trailing null fields, so here we
260
+ # check to be sure that there will not be any before handling the
261
+ # simple case.
262
+ #
263
+ if ( $directories !~ m|[\\/]\Z(?!\n)| ) {
264
+ return split( m|[\\/]|, $directories );
265
+ }
266
+ else {
267
+ #
268
+ # since there was a trailing separator, add a file name to the end,
269
+ # then do the split, then replace it with ''.
270
+ #
271
+ my( @directories )= split( m|[\\/]|, "${directories}dummy" ) ;
272
+ $directories[ $#directories ]= '' ;
273
+ return @directories ;
274
+ }
275
+ }
276
+
277
+
278
+ =item catpath
279
+
280
+ Takes volume, directory and file portions and returns an entire path. Under
281
+ Unix, $volume is ignored, and this is just like catfile(). On other OSs,
282
+ the $volume become significant.
283
+
284
+ =cut
285
+
286
+ sub catpath {
287
+ my ($self,$volume,$directory,$file) = @_;
288
+
289
+ # If it's UNC, make sure the glue separator is there, reusing
290
+ # whatever separator is first in the $volume
291
+ my $v;
292
+ $volume .= $v
293
+ if ( (($v) = $volume =~ m@^([\\/])[\\/][^\\/]+[\\/][^\\/]+\Z(?!\n)@s) &&
294
+ $directory =~ m@^[^\\/]@s
295
+ ) ;
296
+
297
+ $volume .= $directory ;
298
+
299
+ # If the volume is not just A:, make sure the glue separator is
300
+ # there, reusing whatever separator is first in the $volume if possible.
301
+ if ( $volume !~ m@^[a-zA-Z]:\Z(?!\n)@s &&
302
+ $volume =~ m@[^\\/]\Z(?!\n)@ &&
303
+ $file =~ m@[^\\/]@
304
+ ) {
305
+ $volume =~ m@([\\/])@ ;
306
+ my $sep = $1 ? $1 : '\\' ;
307
+ $volume .= $sep ;
308
+ }
309
+
310
+ $volume .= $file ;
311
+
312
+ return $volume ;
313
+ }
314
+
315
+ sub _same {
316
+ lc($_[1]) eq lc($_[2]);
317
+ }
318
+
319
+ sub rel2abs {
320
+ my ($self,$path,$base ) = @_;
321
+
322
+ my $is_abs = $self->file_name_is_absolute($path);
323
+
324
+ # Check for volume (should probably document the '2' thing...)
325
+ return $self->canonpath( $path ) if $is_abs == 2;
326
+
327
+ if ($is_abs) {
328
+ # It's missing a volume, add one
329
+ my $vol = ($self->splitpath( $self->_cwd() ))[0];
330
+ return $self->canonpath( $vol . $path );
331
+ }
332
+
333
+ if ( !defined( $base ) || $base eq '' ) {
334
+ require Cwd ;
335
+ $base = Cwd::getdcwd( ($self->splitpath( $path ))[0] ) if defined &Cwd::getdcwd ;
336
+ $base = $self->_cwd() unless defined $base ;
337
+ }
338
+ elsif ( ! $self->file_name_is_absolute( $base ) ) {
339
+ $base = $self->rel2abs( $base ) ;
340
+ }
341
+ else {
342
+ $base = $self->canonpath( $base ) ;
343
+ }
344
+
345
+ my ( $path_directories, $path_file ) =
346
+ ($self->splitpath( $path, 1 ))[1,2] ;
347
+
348
+ my ( $base_volume, $base_directories ) =
349
+ $self->splitpath( $base, 1 ) ;
350
+
351
+ $path = $self->catpath(
352
+ $base_volume,
353
+ $self->catdir( $base_directories, $path_directories ),
354
+ $path_file
355
+ ) ;
356
+
357
+ return $self->canonpath( $path ) ;
358
+ }
359
+
360
+ =back
361
+
362
+ =head2 Note For File::Spec::Win32 Maintainers
363
+
364
+ Novell NetWare inherits its File::Spec behaviour from File::Spec::Win32.
365
+
366
+ =head1 COPYRIGHT
367
+
368
+ Copyright (c) 2004,2007 by the Perl 5 Porters. All rights reserved.
369
+
370
+ This program is free software; you can redistribute it and/or modify
371
+ it under the same terms as Perl itself.
372
+
373
+ =head1 SEE ALSO
374
+
375
+ See L<File::Spec> and L<File::Spec::Unix>. This package overrides the
376
+ implementation of these methods, not the semantics.
377
+
378
+ =cut
379
+
380
+
381
+ sub _canon_cat # @path -> path
382
+ {
383
+ my ($first, @rest) = @_;
384
+
385
+ my $volume = $first =~ s{ \A ([A-Za-z]:) ([\\/]?) }{}x # drive letter
386
+ ? ucfirst( $1 ).( $2 ? "\\" : "" )
387
+ : $first =~ s{ \A (?:\\\\|//) ([^\\/]+)
388
+ (?: [\\/] ([^\\/]+) )?
389
+ [\\/]? }{}xs # UNC volume
390
+ ? "\\\\$1".( defined $2 ? "\\$2" : "" )."\\"
391
+ : $first =~ s{ \A [\\/] }{}x # root dir
392
+ ? "\\"
393
+ : "";
394
+ my $path = join "\\", $first, @rest;
395
+
396
+ $path =~ tr#\\/#\\\\#s; # xx/yy --> xx\yy & xx\\yy --> xx\yy
397
+
398
+ # xx/././yy --> xx/yy
399
+ $path =~ s{(?:
400
+ (?:\A|\\) # at begin or after a slash
401
+ \.
402
+ (?:\\\.)* # and more
403
+ (?:\\|\z) # at end or followed by slash
404
+ )+ # performance boost -- I do not know why
405
+ }{\\}gx;
406
+
407
+ # XXX I do not know whether more dots are supported by the OS supporting
408
+ # this ... annotation (NetWare or symbian but not MSWin32).
409
+ # Then .... could easily become ../../.. etc:
410
+ # Replace \.\.\. by (\.\.\.+) and substitute with
411
+ # { $1 . ".." . "\\.." x (length($2)-2) }gex
412
+ # ... --> ../..
413
+ $path =~ s{ (\A|\\) # at begin or after a slash
414
+ \.\.\.
415
+ (?=\\|\z) # at end or followed by slash
416
+ }{$1..\\..}gx;
417
+ # xx\yy\..\zz --> xx\zz
418
+ while ( $path =~ s{(?:
419
+ (?:\A|\\) # at begin or after a slash
420
+ [^\\]+ # rip this 'yy' off
421
+ \\\.\.
422
+ (?<!\A\.\.\\\.\.) # do *not* replace ^..\..
423
+ (?<!\\\.\.\\\.\.) # do *not* replace \..\..
424
+ (?:\\|\z) # at end or followed by slash
425
+ )+ # performance boost -- I do not know why
426
+ }{\\}sx ) {}
427
+
428
+ $path =~ s#\A\\##; # \xx --> xx NOTE: this is *not* root
429
+ $path =~ s#\\\z##; # xx\ --> xx
430
+
431
+ if ( $volume =~ m#\\\z# )
432
+ { # <vol>\.. --> <vol>\
433
+ $path =~ s{ \A # at begin
434
+ \.\.
435
+ (?:\\\.\.)* # and more
436
+ (?:\\|\z) # at end or followed by slash
437
+ }{}x;
438
+
439
+ return $1 # \\HOST\SHARE\ --> \\HOST\SHARE
440
+ if $path eq ""
441
+ and $volume =~ m#\A(\\\\.*)\\\z#s;
442
+ }
443
+ return $path ne "" || $volume ? $volume.$path : ".";
444
+ }
445
+
446
+ 1;
@@ -0,0 +1,2452 @@
1
+ package File::Temp;
2
+
3
+ =head1 NAME
4
+
5
+ File::Temp - return name and handle of a temporary file safely
6
+
7
+ =begin __INTERNALS
8
+
9
+ =head1 PORTABILITY
10
+
11
+ This section is at the top in order to provide easier access to
12
+ porters. It is not expected to be rendered by a standard pod
13
+ formatting tool. Please skip straight to the SYNOPSIS section if you
14
+ are not trying to port this module to a new platform.
15
+
16
+ This module is designed to be portable across operating systems and it
17
+ currently supports Unix, VMS, DOS, OS/2, Windows and Mac OS
18
+ (Classic). When porting to a new OS there are generally three main
19
+ issues that have to be solved:
20
+
21
+ =over 4
22
+
23
+ =item *
24
+
25
+ Can the OS unlink an open file? If it can not then the
26
+ C<_can_unlink_opened_file> method should be modified.
27
+
28
+ =item *
29
+
30
+ Are the return values from C<stat> reliable? By default all the
31
+ return values from C<stat> are compared when unlinking a temporary
32
+ file using the filename and the handle. Operating systems other than
33
+ unix do not always have valid entries in all fields. If C<unlink0> fails
34
+ then the C<stat> comparison should be modified accordingly.
35
+
36
+ =item *
37
+
38
+ Security. Systems that can not support a test for the sticky bit
39
+ on a directory can not use the MEDIUM and HIGH security tests.
40
+ The C<_can_do_level> method should be modified accordingly.
41
+
42
+ =back
43
+
44
+ =end __INTERNALS
45
+
46
+ =head1 SYNOPSIS
47
+
48
+ use File::Temp qw/ tempfile tempdir /;
49
+
50
+ $fh = tempfile();
51
+ ($fh, $filename) = tempfile();
52
+
53
+ ($fh, $filename) = tempfile( $template, DIR => $dir);
54
+ ($fh, $filename) = tempfile( $template, SUFFIX => '.dat');
55
+ ($fh, $filename) = tempfile( $template, TMPDIR => 1 );
56
+
57
+ binmode( $fh, ":utf8" );
58
+
59
+ $dir = tempdir( CLEANUP => 1 );
60
+ ($fh, $filename) = tempfile( DIR => $dir );
61
+
62
+ Object interface:
63
+
64
+ require File::Temp;
65
+ use File::Temp ();
66
+ use File::Temp qw/ :seekable /;
67
+
68
+ $fh = File::Temp->new();
69
+ $fname = $fh->filename;
70
+
71
+ $fh = File::Temp->new(TEMPLATE => $template);
72
+ $fname = $fh->filename;
73
+
74
+ $tmp = File::Temp->new( UNLINK => 0, SUFFIX => '.dat' );
75
+ print $tmp "Some data\n";
76
+ print "Filename is $tmp\n";
77
+ $tmp->seek( 0, SEEK_END );
78
+
79
+ The following interfaces are provided for compatibility with
80
+ existing APIs. They should not be used in new code.
81
+
82
+ MkTemp family:
83
+
84
+ use File::Temp qw/ :mktemp /;
85
+
86
+ ($fh, $file) = mkstemp( "tmpfileXXXXX" );
87
+ ($fh, $file) = mkstemps( "tmpfileXXXXXX", $suffix);
88
+
89
+ $tmpdir = mkdtemp( $template );
90
+
91
+ $unopened_file = mktemp( $template );
92
+
93
+ POSIX functions:
94
+
95
+ use File::Temp qw/ :POSIX /;
96
+
97
+ $file = tmpnam();
98
+ $fh = tmpfile();
99
+
100
+ ($fh, $file) = tmpnam();
101
+
102
+ Compatibility functions:
103
+
104
+ $unopened_file = File::Temp::tempnam( $dir, $pfx );
105
+
106
+ =head1 DESCRIPTION
107
+
108
+ C<File::Temp> can be used to create and open temporary files in a safe
109
+ way. There is both a function interface and an object-oriented
110
+ interface. The File::Temp constructor or the tempfile() function can
111
+ be used to return the name and the open filehandle of a temporary
112
+ file. The tempdir() function can be used to create a temporary
113
+ directory.
114
+
115
+ The security aspect of temporary file creation is emphasized such that
116
+ a filehandle and filename are returned together. This helps guarantee
117
+ that a race condition can not occur where the temporary file is
118
+ created by another process between checking for the existence of the
119
+ file and its opening. Additional security levels are provided to
120
+ check, for example, that the sticky bit is set on world writable
121
+ directories. See L<"safe_level"> for more information.
122
+
123
+ For compatibility with popular C library functions, Perl implementations of
124
+ the mkstemp() family of functions are provided. These are, mkstemp(),
125
+ mkstemps(), mkdtemp() and mktemp().
126
+
127
+ Additionally, implementations of the standard L<POSIX|POSIX>
128
+ tmpnam() and tmpfile() functions are provided if required.
129
+
130
+ Implementations of mktemp(), tmpnam(), and tempnam() are provided,
131
+ but should be used with caution since they return only a filename
132
+ that was valid when function was called, so cannot guarantee
133
+ that the file will not exist by the time the caller opens the filename.
134
+
135
+ Filehandles returned by these functions support the seekable methods.
136
+
137
+ =cut
138
+
139
+ # 5.6.0 gives us S_IWOTH, S_IWGRP, our and auto-vivifying filehandls
140
+ # People would like a version on 5.004 so give them what they want :-)
141
+ use 5.004;
142
+ use strict;
143
+ use Carp;
144
+ use File::Spec 0.8;
145
+ use File::Path qw/ rmtree /;
146
+ use Fcntl 1.03;
147
+ use IO::Seekable; # For SEEK_*
148
+ use Errno;
149
+ require VMS::Stdio if $^O eq 'VMS';
150
+
151
+ # pre-emptively load Carp::Heavy. If we don't when we run out of file
152
+ # handles and attempt to call croak() we get an error message telling
153
+ # us that Carp::Heavy won't load rather than an error telling us we
154
+ # have run out of file handles. We either preload croak() or we
155
+ # switch the calls to croak from _gettemp() to use die.
156
+ eval { require Carp::Heavy; };
157
+
158
+ # Need the Symbol package if we are running older perl
159
+ require Symbol if $] < 5.006;
160
+
161
+ ### For the OO interface
162
+ use base qw/ IO::Handle IO::Seekable /;
163
+ use overload '""' => "STRINGIFY", fallback => 1;
164
+
165
+ # use 'our' on v5.6.0
166
+ use vars qw($VERSION @EXPORT_OK %EXPORT_TAGS $DEBUG $KEEP_ALL);
167
+
168
+ $DEBUG = 0;
169
+ $KEEP_ALL = 0;
170
+
171
+ # We are exporting functions
172
+
173
+ use base qw/Exporter/;
174
+
175
+ # Export list - to allow fine tuning of export table
176
+
177
+ @EXPORT_OK = qw{
178
+ tempfile
179
+ tempdir
180
+ tmpnam
181
+ tmpfile
182
+ mktemp
183
+ mkstemp
184
+ mkstemps
185
+ mkdtemp
186
+ unlink0
187
+ cleanup
188
+ SEEK_SET
189
+ SEEK_CUR
190
+ SEEK_END
191
+ };
192
+
193
+ # Groups of functions for export
194
+
195
+ %EXPORT_TAGS = (
196
+ 'POSIX' => [qw/ tmpnam tmpfile /],
197
+ 'mktemp' => [qw/ mktemp mkstemp mkstemps mkdtemp/],
198
+ 'seekable' => [qw/ SEEK_SET SEEK_CUR SEEK_END /],
199
+ );
200
+
201
+ # add contents of these tags to @EXPORT
202
+ Exporter::export_tags('POSIX','mktemp','seekable');
203
+
204
+ # Version number
205
+
206
+ $VERSION = '0.22';
207
+
208
+ # This is a list of characters that can be used in random filenames
209
+
210
+ my @CHARS = (qw/ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
211
+ a b c d e f g h i j k l m n o p q r s t u v w x y z
212
+ 0 1 2 3 4 5 6 7 8 9 _
213
+ /);
214
+
215
+ # Maximum number of tries to make a temp file before failing
216
+
217
+ use constant MAX_TRIES => 1000;
218
+
219
+ # Minimum number of X characters that should be in a template
220
+ use constant MINX => 4;
221
+
222
+ # Default template when no template supplied
223
+
224
+ use constant TEMPXXX => 'X' x 10;
225
+
226
+ # Constants for the security level
227
+
228
+ use constant STANDARD => 0;
229
+ use constant MEDIUM => 1;
230
+ use constant HIGH => 2;
231
+
232
+ # OPENFLAGS. If we defined the flag to use with Sysopen here this gives
233
+ # us an optimisation when many temporary files are requested
234
+
235
+ my $OPENFLAGS = O_CREAT | O_EXCL | O_RDWR;
236
+ my $LOCKFLAG;
237
+
238
+ unless ($^O eq 'MacOS') {
239
+ for my $oflag (qw/ NOFOLLOW BINARY LARGEFILE NOINHERIT /) {
240
+ my ($bit, $func) = (0, "Fcntl::O_" . $oflag);
241
+ no strict 'refs';
242
+ $OPENFLAGS |= $bit if eval {
243
+ # Make sure that redefined die handlers do not cause problems
244
+ # e.g. CGI::Carp
245
+ local $SIG{__DIE__} = sub {};
246
+ local $SIG{__WARN__} = sub {};
247
+ $bit = &$func();
248
+ 1;
249
+ };
250
+ }
251
+ # Special case O_EXLOCK
252
+ $LOCKFLAG = eval {
253
+ local $SIG{__DIE__} = sub {};
254
+ local $SIG{__WARN__} = sub {};
255
+ &Fcntl::O_EXLOCK();
256
+ };
257
+ }
258
+
259
+ # On some systems the O_TEMPORARY flag can be used to tell the OS
260
+ # to automatically remove the file when it is closed. This is fine
261
+ # in most cases but not if tempfile is called with UNLINK=>0 and
262
+ # the filename is requested -- in the case where the filename is to
263
+ # be passed to another routine. This happens on windows. We overcome
264
+ # this by using a second open flags variable
265
+
266
+ my $OPENTEMPFLAGS = $OPENFLAGS;
267
+ unless ($^O eq 'MacOS') {
268
+ for my $oflag (qw/ TEMPORARY /) {
269
+ my ($bit, $func) = (0, "Fcntl::O_" . $oflag);
270
+ local($@);
271
+ no strict 'refs';
272
+ $OPENTEMPFLAGS |= $bit if eval {
273
+ # Make sure that redefined die handlers do not cause problems
274
+ # e.g. CGI::Carp
275
+ local $SIG{__DIE__} = sub {};
276
+ local $SIG{__WARN__} = sub {};
277
+ $bit = &$func();
278
+ 1;
279
+ };
280
+ }
281
+ }
282
+
283
+ # Private hash tracking which files have been created by each process id via the OO interface
284
+ my %FILES_CREATED_BY_OBJECT;
285
+
286
+ # INTERNAL ROUTINES - not to be used outside of package
287
+
288
+ # Generic routine for getting a temporary filename
289
+ # modelled on OpenBSD _gettemp() in mktemp.c
290
+
291
+ # The template must contain X's that are to be replaced
292
+ # with the random values
293
+
294
+ # Arguments:
295
+
296
+ # TEMPLATE - string containing the XXXXX's that is converted
297
+ # to a random filename and opened if required
298
+
299
+ # Optionally, a hash can also be supplied containing specific options
300
+ # "open" => if true open the temp file, else just return the name
301
+ # default is 0
302
+ # "mkdir"=> if true, we are creating a temp directory rather than tempfile
303
+ # default is 0
304
+ # "suffixlen" => number of characters at end of PATH to be ignored.
305
+ # default is 0.
306
+ # "unlink_on_close" => indicates that, if possible, the OS should remove
307
+ # the file as soon as it is closed. Usually indicates
308
+ # use of the O_TEMPORARY flag to sysopen.
309
+ # Usually irrelevant on unix
310
+ # "use_exlock" => Indicates that O_EXLOCK should be used. Default is true.
311
+
312
+ # Optionally a reference to a scalar can be passed into the function
313
+ # On error this will be used to store the reason for the error
314
+ # "ErrStr" => \$errstr
315
+
316
+ # "open" and "mkdir" can not both be true
317
+ # "unlink_on_close" is not used when "mkdir" is true.
318
+
319
+ # The default options are equivalent to mktemp().
320
+
321
+ # Returns:
322
+ # filehandle - open file handle (if called with doopen=1, else undef)
323
+ # temp name - name of the temp file or directory
324
+
325
+ # For example:
326
+ # ($fh, $name) = _gettemp($template, "open" => 1);
327
+
328
+ # for the current version, failures are associated with
329
+ # stored in an error string and returned to give the reason whilst debugging
330
+ # This routine is not called by any external function
331
+ sub _gettemp {
332
+
333
+ croak 'Usage: ($fh, $name) = _gettemp($template, OPTIONS);'
334
+ unless scalar(@_) >= 1;
335
+
336
+ # the internal error string - expect it to be overridden
337
+ # Need this in case the caller decides not to supply us a value
338
+ # need an anonymous scalar
339
+ my $tempErrStr;
340
+
341
+ # Default options
342
+ my %options = (
343
+ "open" => 0,
344
+ "mkdir" => 0,
345
+ "suffixlen" => 0,
346
+ "unlink_on_close" => 0,
347
+ "use_exlock" => 1,
348
+ "ErrStr" => \$tempErrStr,
349
+ );
350
+
351
+ # Read the template
352
+ my $template = shift;
353
+ if (ref($template)) {
354
+ # Use a warning here since we have not yet merged ErrStr
355
+ carp "File::Temp::_gettemp: template must not be a reference";
356
+ return ();
357
+ }
358
+
359
+ # Check that the number of entries on stack are even
360
+ if (scalar(@_) % 2 != 0) {
361
+ # Use a warning here since we have not yet merged ErrStr
362
+ carp "File::Temp::_gettemp: Must have even number of options";
363
+ return ();
364
+ }
365
+
366
+ # Read the options and merge with defaults
367
+ %options = (%options, @_) if @_;
368
+
369
+ # Make sure the error string is set to undef
370
+ ${$options{ErrStr}} = undef;
371
+
372
+ # Can not open the file and make a directory in a single call
373
+ if ($options{"open"} && $options{"mkdir"}) {
374
+ ${$options{ErrStr}} = "doopen and domkdir can not both be true\n";
375
+ return ();
376
+ }
377
+
378
+ # Find the start of the end of the Xs (position of last X)
379
+ # Substr starts from 0
380
+ my $start = length($template) - 1 - $options{"suffixlen"};
381
+
382
+ # Check that we have at least MINX x X (e.g. 'XXXX") at the end of the string
383
+ # (taking suffixlen into account). Any fewer is insecure.
384
+
385
+ # Do it using substr - no reason to use a pattern match since
386
+ # we know where we are looking and what we are looking for
387
+
388
+ if (substr($template, $start - MINX + 1, MINX) ne 'X' x MINX) {
389
+ ${$options{ErrStr}} = "The template must end with at least ".
390
+ MINX . " 'X' characters\n";
391
+ return ();
392
+ }
393
+
394
+ # Replace all the X at the end of the substring with a
395
+ # random character or just all the XX at the end of a full string.
396
+ # Do it as an if, since the suffix adjusts which section to replace
397
+ # and suffixlen=0 returns nothing if used in the substr directly
398
+ # and generate a full path from the template
399
+
400
+ my $path = _replace_XX($template, $options{"suffixlen"});
401
+
402
+
403
+ # Split the path into constituent parts - eventually we need to check
404
+ # whether the directory exists
405
+ # We need to know whether we are making a temp directory
406
+ # or a tempfile
407
+
408
+ my ($volume, $directories, $file);
409
+ my $parent; # parent directory
410
+ if ($options{"mkdir"}) {
411
+ # There is no filename at the end
412
+ ($volume, $directories, $file) = File::Spec->splitpath( $path, 1);
413
+
414
+ # The parent is then $directories without the last directory
415
+ # Split the directory and put it back together again
416
+ my @dirs = File::Spec->splitdir($directories);
417
+
418
+ # If @dirs only has one entry (i.e. the directory template) that means
419
+ # we are in the current directory
420
+ if ($#dirs == 0) {
421
+ $parent = File::Spec->curdir;
422
+ } else {
423
+
424
+ if ($^O eq 'VMS') { # need volume to avoid relative dir spec
425
+ $parent = File::Spec->catdir($volume, @dirs[0..$#dirs-1]);
426
+ $parent = 'sys$disk:[]' if $parent eq '';
427
+ } else {
428
+
429
+ # Put it back together without the last one
430
+ $parent = File::Spec->catdir(@dirs[0..$#dirs-1]);
431
+
432
+ # ...and attach the volume (no filename)
433
+ $parent = File::Spec->catpath($volume, $parent, '');
434
+ }
435
+
436
+ }
437
+
438
+ } else {
439
+
440
+ # Get rid of the last filename (use File::Basename for this?)
441
+ ($volume, $directories, $file) = File::Spec->splitpath( $path );
442
+
443
+ # Join up without the file part
444
+ $parent = File::Spec->catpath($volume,$directories,'');
445
+
446
+ # If $parent is empty replace with curdir
447
+ $parent = File::Spec->curdir
448
+ unless $directories ne '';
449
+
450
+ }
451
+
452
+ # Check that the parent directories exist
453
+ # Do this even for the case where we are simply returning a name
454
+ # not a file -- no point returning a name that includes a directory
455
+ # that does not exist or is not writable
456
+
457
+ unless (-e $parent) {
458
+ ${$options{ErrStr}} = "Parent directory ($parent) does not exist";
459
+ return ();
460
+ }
461
+ unless (-d $parent) {
462
+ ${$options{ErrStr}} = "Parent directory ($parent) is not a directory";
463
+ return ();
464
+ }
465
+
466
+ # Check the stickiness of the directory and chown giveaway if required
467
+ # If the directory is world writable the sticky bit
468
+ # must be set
469
+
470
+ if (File::Temp->safe_level == MEDIUM) {
471
+ my $safeerr;
472
+ unless (_is_safe($parent,\$safeerr)) {
473
+ ${$options{ErrStr}} = "Parent directory ($parent) is not safe ($safeerr)";
474
+ return ();
475
+ }
476
+ } elsif (File::Temp->safe_level == HIGH) {
477
+ my $safeerr;
478
+ unless (_is_verysafe($parent, \$safeerr)) {
479
+ ${$options{ErrStr}} = "Parent directory ($parent) is not safe ($safeerr)";
480
+ return ();
481
+ }
482
+ }
483
+
484
+
485
+ # Now try MAX_TRIES time to open the file
486
+ for (my $i = 0; $i < MAX_TRIES; $i++) {
487
+
488
+ # Try to open the file if requested
489
+ if ($options{"open"}) {
490
+ my $fh;
491
+
492
+ # If we are running before perl5.6.0 we can not auto-vivify
493
+ if ($] < 5.006) {
494
+ $fh = &Symbol::gensym;
495
+ }
496
+
497
+ # Try to make sure this will be marked close-on-exec
498
+ # XXX: Win32 doesn't respect this, nor the proper fcntl,
499
+ # but may have O_NOINHERIT. This may or may not be in Fcntl.
500
+ local $^F = 2;
501
+
502
+ # Attempt to open the file
503
+ my $open_success = undef;
504
+ if ( $^O eq 'VMS' and $options{"unlink_on_close"} && !$KEEP_ALL) {
505
+ # make it auto delete on close by setting FAB$V_DLT bit
506
+ $fh = VMS::Stdio::vmssysopen($path, $OPENFLAGS, 0600, 'fop=dlt');
507
+ $open_success = $fh;
508
+ } else {
509
+ my $flags = ( ($options{"unlink_on_close"} && !$KEEP_ALL) ?
510
+ $OPENTEMPFLAGS :
511
+ $OPENFLAGS );
512
+ $flags |= $LOCKFLAG if (defined $LOCKFLAG && $options{use_exlock});
513
+ $open_success = sysopen($fh, $path, $flags, 0600);
514
+ }
515
+ if ( $open_success ) {
516
+
517
+ # in case of odd umask force rw
518
+ chmod(0600, $path);
519
+
520
+ # Opened successfully - return file handle and name
521
+ return ($fh, $path);
522
+
523
+ } else {
524
+
525
+ # Error opening file - abort with error
526
+ # if the reason was anything but EEXIST
527
+ unless ($!{EEXIST}) {
528
+ ${$options{ErrStr}} = "Could not create temp file $path: $!";
529
+ return ();
530
+ }
531
+
532
+ # Loop round for another try
533
+
534
+ }
535
+ } elsif ($options{"mkdir"}) {
536
+
537
+ # Open the temp directory
538
+ if (mkdir( $path, 0700)) {
539
+ # in case of odd umask
540
+ chmod(0700, $path);
541
+
542
+ return undef, $path;
543
+ } else {
544
+
545
+ # Abort with error if the reason for failure was anything
546
+ # except EEXIST
547
+ unless ($!{EEXIST}) {
548
+ ${$options{ErrStr}} = "Could not create directory $path: $!";
549
+ return ();
550
+ }
551
+
552
+ # Loop round for another try
553
+
554
+ }
555
+
556
+ } else {
557
+
558
+ # Return true if the file can not be found
559
+ # Directory has been checked previously
560
+
561
+ return (undef, $path) unless -e $path;
562
+
563
+ # Try again until MAX_TRIES
564
+
565
+ }
566
+
567
+ # Did not successfully open the tempfile/dir
568
+ # so try again with a different set of random letters
569
+ # No point in trying to increment unless we have only
570
+ # 1 X say and the randomness could come up with the same
571
+ # file MAX_TRIES in a row.
572
+
573
+ # Store current attempt - in principal this implies that the
574
+ # 3rd time around the open attempt that the first temp file
575
+ # name could be generated again. Probably should store each
576
+ # attempt and make sure that none are repeated
577
+
578
+ my $original = $path;
579
+ my $counter = 0; # Stop infinite loop
580
+ my $MAX_GUESS = 50;
581
+
582
+ do {
583
+
584
+ # Generate new name from original template
585
+ $path = _replace_XX($template, $options{"suffixlen"});
586
+
587
+ $counter++;
588
+
589
+ } until ($path ne $original || $counter > $MAX_GUESS);
590
+
591
+ # Check for out of control looping
592
+ if ($counter > $MAX_GUESS) {
593
+ ${$options{ErrStr}} = "Tried to get a new temp name different to the previous value $MAX_GUESS times.\nSomething wrong with template?? ($template)";
594
+ return ();
595
+ }
596
+
597
+ }
598
+
599
+ # If we get here, we have run out of tries
600
+ ${ $options{ErrStr} } = "Have exceeded the maximum number of attempts ("
601
+ . MAX_TRIES . ") to open temp file/dir";
602
+
603
+ return ();
604
+
605
+ }
606
+
607
+ # Internal routine to replace the XXXX... with random characters
608
+ # This has to be done by _gettemp() every time it fails to
609
+ # open a temp file/dir
610
+
611
+ # Arguments: $template (the template with XXX),
612
+ # $ignore (number of characters at end to ignore)
613
+
614
+ # Returns: modified template
615
+
616
+ sub _replace_XX {
617
+
618
+ croak 'Usage: _replace_XX($template, $ignore)'
619
+ unless scalar(@_) == 2;
620
+
621
+ my ($path, $ignore) = @_;
622
+
623
+ # Do it as an if, since the suffix adjusts which section to replace
624
+ # and suffixlen=0 returns nothing if used in the substr directly
625
+ # Alternatively, could simply set $ignore to length($path)-1
626
+ # Don't want to always use substr when not required though.
627
+ my $end = ( $] >= 5.006 ? "\\z" : "\\Z" );
628
+
629
+ if ($ignore) {
630
+ substr($path, 0, - $ignore) =~ s/X(?=X*$end)/$CHARS[ int( rand( @CHARS ) ) ]/ge;
631
+ } else {
632
+ $path =~ s/X(?=X*$end)/$CHARS[ int( rand( @CHARS ) ) ]/ge;
633
+ }
634
+ return $path;
635
+ }
636
+
637
+ # Internal routine to force a temp file to be writable after
638
+ # it is created so that we can unlink it. Windows seems to occassionally
639
+ # force a file to be readonly when written to certain temp locations
640
+ sub _force_writable {
641
+ my $file = shift;
642
+ chmod 0600, $file;
643
+ }
644
+
645
+
646
+ # internal routine to check to see if the directory is safe
647
+ # First checks to see if the directory is not owned by the
648
+ # current user or root. Then checks to see if anyone else
649
+ # can write to the directory and if so, checks to see if
650
+ # it has the sticky bit set
651
+
652
+ # Will not work on systems that do not support sticky bit
653
+
654
+ #Args: directory path to check
655
+ # Optionally: reference to scalar to contain error message
656
+ # Returns true if the path is safe and false otherwise.
657
+ # Returns undef if can not even run stat() on the path
658
+
659
+ # This routine based on version written by Tom Christiansen
660
+
661
+ # Presumably, by the time we actually attempt to create the
662
+ # file or directory in this directory, it may not be safe
663
+ # anymore... Have to run _is_safe directly after the open.
664
+
665
+ sub _is_safe {
666
+
667
+ my $path = shift;
668
+ my $err_ref = shift;
669
+
670
+ # Stat path
671
+ my @info = stat($path);
672
+ unless (scalar(@info)) {
673
+ $$err_ref = "stat(path) returned no values";
674
+ return 0;
675
+ }
676
+ ;
677
+ return 1 if $^O eq 'VMS'; # owner delete control at file level
678
+
679
+ # Check to see whether owner is neither superuser (or a system uid) nor me
680
+ # Use the effective uid from the $> variable
681
+ # UID is in [4]
682
+ if ($info[4] > File::Temp->top_system_uid() && $info[4] != $>) {
683
+
684
+ Carp::cluck(sprintf "uid=$info[4] topuid=%s euid=$> path='$path'",
685
+ File::Temp->top_system_uid());
686
+
687
+ $$err_ref = "Directory owned neither by root nor the current user"
688
+ if ref($err_ref);
689
+ return 0;
690
+ }
691
+
692
+ # check whether group or other can write file
693
+ # use 066 to detect either reading or writing
694
+ # use 022 to check writability
695
+ # Do it with S_IWOTH and S_IWGRP for portability (maybe)
696
+ # mode is in info[2]
697
+ if (($info[2] & &Fcntl::S_IWGRP) || # Is group writable?
698
+ ($info[2] & &Fcntl::S_IWOTH) ) { # Is world writable?
699
+ # Must be a directory
700
+ unless (-d $path) {
701
+ $$err_ref = "Path ($path) is not a directory"
702
+ if ref($err_ref);
703
+ return 0;
704
+ }
705
+ # Must have sticky bit set
706
+ unless (-k $path) {
707
+ $$err_ref = "Sticky bit not set on $path when dir is group|world writable"
708
+ if ref($err_ref);
709
+ return 0;
710
+ }
711
+ }
712
+
713
+ return 1;
714
+ }
715
+
716
+ # Internal routine to check whether a directory is safe
717
+ # for temp files. Safer than _is_safe since it checks for
718
+ # the possibility of chown giveaway and if that is a possibility
719
+ # checks each directory in the path to see if it is safe (with _is_safe)
720
+
721
+ # If _PC_CHOWN_RESTRICTED is not set, does the full test of each
722
+ # directory anyway.
723
+
724
+ # Takes optional second arg as scalar ref to error reason
725
+
726
+ sub _is_verysafe {
727
+
728
+ # Need POSIX - but only want to bother if really necessary due to overhead
729
+ require POSIX;
730
+
731
+ my $path = shift;
732
+ print "_is_verysafe testing $path\n" if $DEBUG;
733
+ return 1 if $^O eq 'VMS'; # owner delete control at file level
734
+
735
+ my $err_ref = shift;
736
+
737
+ # Should Get the value of _PC_CHOWN_RESTRICTED if it is defined
738
+ # and If it is not there do the extensive test
739
+ local($@);
740
+ my $chown_restricted;
741
+ $chown_restricted = &POSIX::_PC_CHOWN_RESTRICTED()
742
+ if eval { &POSIX::_PC_CHOWN_RESTRICTED(); 1};
743
+
744
+ # If chown_resticted is set to some value we should test it
745
+ if (defined $chown_restricted) {
746
+
747
+ # Return if the current directory is safe
748
+ return _is_safe($path,$err_ref) if POSIX::sysconf( $chown_restricted );
749
+
750
+ }
751
+
752
+ # To reach this point either, the _PC_CHOWN_RESTRICTED symbol
753
+ # was not avialable or the symbol was there but chown giveaway
754
+ # is allowed. Either way, we now have to test the entire tree for
755
+ # safety.
756
+
757
+ # Convert path to an absolute directory if required
758
+ unless (File::Spec->file_name_is_absolute($path)) {
759
+ $path = File::Spec->rel2abs($path);
760
+ }
761
+
762
+ # Split directory into components - assume no file
763
+ my ($volume, $directories, undef) = File::Spec->splitpath( $path, 1);
764
+
765
+ # Slightly less efficient than having a function in File::Spec
766
+ # to chop off the end of a directory or even a function that
767
+ # can handle ../ in a directory tree
768
+ # Sometimes splitdir() returns a blank at the end
769
+ # so we will probably check the bottom directory twice in some cases
770
+ my @dirs = File::Spec->splitdir($directories);
771
+
772
+ # Concatenate one less directory each time around
773
+ foreach my $pos (0.. $#dirs) {
774
+ # Get a directory name
775
+ my $dir = File::Spec->catpath($volume,
776
+ File::Spec->catdir(@dirs[0.. $#dirs - $pos]),
777
+ ''
778
+ );
779
+
780
+ print "TESTING DIR $dir\n" if $DEBUG;
781
+
782
+ # Check the directory
783
+ return 0 unless _is_safe($dir,$err_ref);
784
+
785
+ }
786
+
787
+ return 1;
788
+ }
789
+
790
+
791
+
792
+ # internal routine to determine whether unlink works on this
793
+ # platform for files that are currently open.
794
+ # Returns true if we can, false otherwise.
795
+
796
+ # Currently WinNT, OS/2 and VMS can not unlink an opened file
797
+ # On VMS this is because the O_EXCL flag is used to open the
798
+ # temporary file. Currently I do not know enough about the issues
799
+ # on VMS to decide whether O_EXCL is a requirement.
800
+
801
+ sub _can_unlink_opened_file {
802
+
803
+ if ($^O eq 'MSWin32' || $^O eq 'os2' || $^O eq 'VMS' || $^O eq 'dos' || $^O eq 'MacOS') {
804
+ return 0;
805
+ } else {
806
+ return 1;
807
+ }
808
+
809
+ }
810
+
811
+ # internal routine to decide which security levels are allowed
812
+ # see safe_level() for more information on this
813
+
814
+ # Controls whether the supplied security level is allowed
815
+
816
+ # $cando = _can_do_level( $level )
817
+
818
+ sub _can_do_level {
819
+
820
+ # Get security level
821
+ my $level = shift;
822
+
823
+ # Always have to be able to do STANDARD
824
+ return 1 if $level == STANDARD;
825
+
826
+ # Currently, the systems that can do HIGH or MEDIUM are identical
827
+ if ( $^O eq 'MSWin32' || $^O eq 'os2' || $^O eq 'cygwin' || $^O eq 'dos' || $^O eq 'MacOS' || $^O eq 'mpeix') {
828
+ return 0;
829
+ } else {
830
+ return 1;
831
+ }
832
+
833
+ }
834
+
835
+ # This routine sets up a deferred unlinking of a specified
836
+ # filename and filehandle. It is used in the following cases:
837
+ # - Called by unlink0 if an opened file can not be unlinked
838
+ # - Called by tempfile() if files are to be removed on shutdown
839
+ # - Called by tempdir() if directories are to be removed on shutdown
840
+
841
+ # Arguments:
842
+ # _deferred_unlink( $fh, $fname, $isdir );
843
+ #
844
+ # - filehandle (so that it can be expclicitly closed if open
845
+ # - filename (the thing we want to remove)
846
+ # - isdir (flag to indicate that we are being given a directory)
847
+ # [and hence no filehandle]
848
+
849
+ # Status is not referred to since all the magic is done with an END block
850
+
851
+ {
852
+ # Will set up two lexical variables to contain all the files to be
853
+ # removed. One array for files, another for directories They will
854
+ # only exist in this block.
855
+
856
+ # This means we only have to set up a single END block to remove
857
+ # all files.
858
+
859
+ # in order to prevent child processes inadvertently deleting the parent
860
+ # temp files we use a hash to store the temp files and directories
861
+ # created by a particular process id.
862
+
863
+ # %files_to_unlink contains values that are references to an array of
864
+ # array references containing the filehandle and filename associated with
865
+ # the temp file.
866
+ my (%files_to_unlink, %dirs_to_unlink);
867
+
868
+ # Set up an end block to use these arrays
869
+ END {
870
+ local($., $@, $!, $^E, $?);
871
+ cleanup();
872
+ }
873
+
874
+ # Cleanup function. Always triggered on END but can be invoked
875
+ # manually.
876
+ sub cleanup {
877
+ if (!$KEEP_ALL) {
878
+ # Files
879
+ my @files = (exists $files_to_unlink{$$} ?
880
+ @{ $files_to_unlink{$$} } : () );
881
+ foreach my $file (@files) {
882
+ # close the filehandle without checking its state
883
+ # in order to make real sure that this is closed
884
+ # if its already closed then I dont care about the answer
885
+ # probably a better way to do this
886
+ close($file->[0]); # file handle is [0]
887
+
888
+ if (-f $file->[1]) { # file name is [1]
889
+ _force_writable( $file->[1] ); # for windows
890
+ unlink $file->[1] or warn "Error removing ".$file->[1];
891
+ }
892
+ }
893
+ # Dirs
894
+ my @dirs = (exists $dirs_to_unlink{$$} ?
895
+ @{ $dirs_to_unlink{$$} } : () );
896
+ foreach my $dir (@dirs) {
897
+ if (-d $dir) {
898
+ # Some versions of rmtree will abort if you attempt to remove
899
+ # the directory you are sitting in. We protect that and turn it
900
+ # into a warning. We do this because this occurs during
901
+ # cleanup and so can not be caught by the user.
902
+ eval { rmtree($dir, $DEBUG, 0); };
903
+ warn $@ if ($@ && $^W);
904
+ }
905
+ }
906
+
907
+ # clear the arrays
908
+ @{ $files_to_unlink{$$} } = ()
909
+ if exists $files_to_unlink{$$};
910
+ @{ $dirs_to_unlink{$$} } = ()
911
+ if exists $dirs_to_unlink{$$};
912
+ }
913
+ }
914
+
915
+
916
+ # This is the sub called to register a file for deferred unlinking
917
+ # This could simply store the input parameters and defer everything
918
+ # until the END block. For now we do a bit of checking at this
919
+ # point in order to make sure that (1) we have a file/dir to delete
920
+ # and (2) we have been called with the correct arguments.
921
+ sub _deferred_unlink {
922
+
923
+ croak 'Usage: _deferred_unlink($fh, $fname, $isdir)'
924
+ unless scalar(@_) == 3;
925
+
926
+ my ($fh, $fname, $isdir) = @_;
927
+
928
+ warn "Setting up deferred removal of $fname\n"
929
+ if $DEBUG;
930
+
931
+ # If we have a directory, check that it is a directory
932
+ if ($isdir) {
933
+
934
+ if (-d $fname) {
935
+
936
+ # Directory exists so store it
937
+ # first on VMS turn []foo into [.foo] for rmtree
938
+ $fname = VMS::Filespec::vmspath($fname) if $^O eq 'VMS';
939
+ $dirs_to_unlink{$$} = []
940
+ unless exists $dirs_to_unlink{$$};
941
+ push (@{ $dirs_to_unlink{$$} }, $fname);
942
+
943
+ } else {
944
+ carp "Request to remove directory $fname could not be completed since it does not exist!\n" if $^W;
945
+ }
946
+
947
+ } else {
948
+
949
+ if (-f $fname) {
950
+
951
+ # file exists so store handle and name for later removal
952
+ $files_to_unlink{$$} = []
953
+ unless exists $files_to_unlink{$$};
954
+ push(@{ $files_to_unlink{$$} }, [$fh, $fname]);
955
+
956
+ } else {
957
+ carp "Request to remove file $fname could not be completed since it is not there!\n" if $^W;
958
+ }
959
+
960
+ }
961
+
962
+ }
963
+
964
+
965
+ }
966
+
967
+ =head1 OBJECT-ORIENTED INTERFACE
968
+
969
+ This is the primary interface for interacting with
970
+ C<File::Temp>. Using the OO interface a temporary file can be created
971
+ when the object is constructed and the file can be removed when the
972
+ object is no longer required.
973
+
974
+ Note that there is no method to obtain the filehandle from the
975
+ C<File::Temp> object. The object itself acts as a filehandle. Also,
976
+ the object is configured such that it stringifies to the name of the
977
+ temporary file, and can be compared to a filename directly. The object
978
+ isa C<IO::Handle> and isa C<IO::Seekable> so all those methods are
979
+ available.
980
+
981
+ =over 4
982
+
983
+ =item B<new>
984
+
985
+ Create a temporary file object.
986
+
987
+ my $tmp = File::Temp->new();
988
+
989
+ by default the object is constructed as if C<tempfile>
990
+ was called without options, but with the additional behaviour
991
+ that the temporary file is removed by the object destructor
992
+ if UNLINK is set to true (the default).
993
+
994
+ Supported arguments are the same as for C<tempfile>: UNLINK
995
+ (defaulting to true), DIR, EXLOCK and SUFFIX. Additionally, the filename
996
+ template is specified using the TEMPLATE option. The OPEN option
997
+ is not supported (the file is always opened).
998
+
999
+ $tmp = File::Temp->new( TEMPLATE => 'tempXXXXX',
1000
+ DIR => 'mydir',
1001
+ SUFFIX => '.dat');
1002
+
1003
+ Arguments are case insensitive.
1004
+
1005
+ Can call croak() if an error occurs.
1006
+
1007
+ =cut
1008
+
1009
+ sub new {
1010
+ my $proto = shift;
1011
+ my $class = ref($proto) || $proto;
1012
+
1013
+ # read arguments and convert keys to upper case
1014
+ my %args = @_;
1015
+ %args = map { uc($_), $args{$_} } keys %args;
1016
+
1017
+ # see if they are unlinking (defaulting to yes)
1018
+ my $unlink = (exists $args{UNLINK} ? $args{UNLINK} : 1 );
1019
+ delete $args{UNLINK};
1020
+
1021
+ # template (store it in an array so that it will
1022
+ # disappear from the arg list of tempfile)
1023
+ my @template = ( exists $args{TEMPLATE} ? $args{TEMPLATE} : () );
1024
+ delete $args{TEMPLATE};
1025
+
1026
+ # Protect OPEN
1027
+ delete $args{OPEN};
1028
+
1029
+ # Open the file and retain file handle and file name
1030
+ my ($fh, $path) = tempfile( @template, %args );
1031
+
1032
+ print "Tmp: $fh - $path\n" if $DEBUG;
1033
+
1034
+ # Store the filename in the scalar slot
1035
+ ${*$fh} = $path;
1036
+
1037
+ # Cache the filename by pid so that the destructor can decide whether to remove it
1038
+ $FILES_CREATED_BY_OBJECT{$$}{$path} = 1;
1039
+
1040
+ # Store unlink information in hash slot (plus other constructor info)
1041
+ %{*$fh} = %args;
1042
+
1043
+ # create the object
1044
+ bless $fh, $class;
1045
+
1046
+ # final method-based configuration
1047
+ $fh->unlink_on_destroy( $unlink );
1048
+
1049
+ return $fh;
1050
+ }
1051
+
1052
+ =item B<newdir>
1053
+
1054
+ Create a temporary directory using an object oriented interface.
1055
+
1056
+ $dir = File::Temp->newdir();
1057
+
1058
+ By default the directory is deleted when the object goes out of scope.
1059
+
1060
+ Supports the same options as the C<tempdir> function. Note that directories
1061
+ created with this method default to CLEANUP => 1.
1062
+
1063
+ $dir = File::Temp->newdir( $template, %options );
1064
+
1065
+ =cut
1066
+
1067
+ sub newdir {
1068
+ my $self = shift;
1069
+
1070
+ # need to handle args as in tempdir because we have to force CLEANUP
1071
+ # default without passing CLEANUP to tempdir
1072
+ my $template = (scalar(@_) % 2 == 1 ? shift(@_) : undef );
1073
+ my %options = @_;
1074
+ my $cleanup = (exists $options{CLEANUP} ? $options{CLEANUP} : 1 );
1075
+
1076
+ delete $options{CLEANUP};
1077
+
1078
+ my $tempdir;
1079
+ if (defined $template) {
1080
+ $tempdir = tempdir( $template, %options );
1081
+ } else {
1082
+ $tempdir = tempdir( %options );
1083
+ }
1084
+ return bless { DIRNAME => $tempdir,
1085
+ CLEANUP => $cleanup,
1086
+ LAUNCHPID => $$,
1087
+ }, "File::Temp::Dir";
1088
+ }
1089
+
1090
+ =item B<filename>
1091
+
1092
+ Return the name of the temporary file associated with this object
1093
+ (if the object was created using the "new" constructor).
1094
+
1095
+ $filename = $tmp->filename;
1096
+
1097
+ This method is called automatically when the object is used as
1098
+ a string.
1099
+
1100
+ =cut
1101
+
1102
+ sub filename {
1103
+ my $self = shift;
1104
+ return ${*$self};
1105
+ }
1106
+
1107
+ sub STRINGIFY {
1108
+ my $self = shift;
1109
+ return $self->filename;
1110
+ }
1111
+
1112
+ =item B<dirname>
1113
+
1114
+ Return the name of the temporary directory associated with this
1115
+ object (if the object was created using the "newdir" constructor).
1116
+
1117
+ $dirname = $tmpdir->dirname;
1118
+
1119
+ This method is called automatically when the object is used in string context.
1120
+
1121
+ =item B<unlink_on_destroy>
1122
+
1123
+ Control whether the file is unlinked when the object goes out of scope.
1124
+ The file is removed if this value is true and $KEEP_ALL is not.
1125
+
1126
+ $fh->unlink_on_destroy( 1 );
1127
+
1128
+ Default is for the file to be removed.
1129
+
1130
+ =cut
1131
+
1132
+ sub unlink_on_destroy {
1133
+ my $self = shift;
1134
+ if (@_) {
1135
+ ${*$self}{UNLINK} = shift;
1136
+ }
1137
+ return ${*$self}{UNLINK};
1138
+ }
1139
+
1140
+ =item B<DESTROY>
1141
+
1142
+ When the object goes out of scope, the destructor is called. This
1143
+ destructor will attempt to unlink the file (using C<unlink1>)
1144
+ if the constructor was called with UNLINK set to 1 (the default state
1145
+ if UNLINK is not specified).
1146
+
1147
+ No error is given if the unlink fails.
1148
+
1149
+ If the object has been passed to a child process during a fork, the
1150
+ file will be deleted when the object goes out of scope in the parent.
1151
+
1152
+ For a temporary directory object the directory will be removed
1153
+ unless the CLEANUP argument was used in the constructor (and set to
1154
+ false) or C<unlink_on_destroy> was modified after creation.
1155
+
1156
+ If the global variable $KEEP_ALL is true, the file or directory
1157
+ will not be removed.
1158
+
1159
+ =cut
1160
+
1161
+ sub DESTROY {
1162
+ local($., $@, $!, $^E, $?);
1163
+ my $self = shift;
1164
+
1165
+ # Make sure we always remove the file from the global hash
1166
+ # on destruction. This prevents the hash from growing uncontrollably
1167
+ # and post-destruction there is no reason to know about the file.
1168
+ my $file = $self->filename;
1169
+ my $was_created_by_proc;
1170
+ if (exists $FILES_CREATED_BY_OBJECT{$$}{$file}) {
1171
+ $was_created_by_proc = 1;
1172
+ delete $FILES_CREATED_BY_OBJECT{$$}{$file};
1173
+ }
1174
+
1175
+ if (${*$self}{UNLINK} && !$KEEP_ALL) {
1176
+ print "# ---------> Unlinking $self\n" if $DEBUG;
1177
+
1178
+ # only delete if this process created it
1179
+ return unless $was_created_by_proc;
1180
+
1181
+ # The unlink1 may fail if the file has been closed
1182
+ # by the caller. This leaves us with the decision
1183
+ # of whether to refuse to remove the file or simply
1184
+ # do an unlink without test. Seems to be silly
1185
+ # to do this when we are trying to be careful
1186
+ # about security
1187
+ _force_writable( $file ); # for windows
1188
+ unlink1( $self, $file )
1189
+ or unlink($file);
1190
+ }
1191
+ }
1192
+
1193
+ =back
1194
+
1195
+ =head1 FUNCTIONS
1196
+
1197
+ This section describes the recommended interface for generating
1198
+ temporary files and directories.
1199
+
1200
+ =over 4
1201
+
1202
+ =item B<tempfile>
1203
+
1204
+ This is the basic function to generate temporary files.
1205
+ The behaviour of the file can be changed using various options:
1206
+
1207
+ $fh = tempfile();
1208
+ ($fh, $filename) = tempfile();
1209
+
1210
+ Create a temporary file in the directory specified for temporary
1211
+ files, as specified by the tmpdir() function in L<File::Spec>.
1212
+
1213
+ ($fh, $filename) = tempfile($template);
1214
+
1215
+ Create a temporary file in the current directory using the supplied
1216
+ template. Trailing `X' characters are replaced with random letters to
1217
+ generate the filename. At least four `X' characters must be present
1218
+ at the end of the template.
1219
+
1220
+ ($fh, $filename) = tempfile($template, SUFFIX => $suffix)
1221
+
1222
+ Same as previously, except that a suffix is added to the template
1223
+ after the `X' translation. Useful for ensuring that a temporary
1224
+ filename has a particular extension when needed by other applications.
1225
+ But see the WARNING at the end.
1226
+
1227
+ ($fh, $filename) = tempfile($template, DIR => $dir);
1228
+
1229
+ Translates the template as before except that a directory name
1230
+ is specified.
1231
+
1232
+ ($fh, $filename) = tempfile($template, TMPDIR => 1);
1233
+
1234
+ Equivalent to specifying a DIR of "File::Spec->tmpdir", writing the file
1235
+ into the same temporary directory as would be used if no template was
1236
+ specified at all.
1237
+
1238
+ ($fh, $filename) = tempfile($template, UNLINK => 1);
1239
+
1240
+ Return the filename and filehandle as before except that the file is
1241
+ automatically removed when the program exits (dependent on
1242
+ $KEEP_ALL). Default is for the file to be removed if a file handle is
1243
+ requested and to be kept if the filename is requested. In a scalar
1244
+ context (where no filename is returned) the file is always deleted
1245
+ either (depending on the operating system) on exit or when it is
1246
+ closed (unless $KEEP_ALL is true when the temp file is created).
1247
+
1248
+ Use the object-oriented interface if fine-grained control of when
1249
+ a file is removed is required.
1250
+
1251
+ If the template is not specified, a template is always
1252
+ automatically generated. This temporary file is placed in tmpdir()
1253
+ (L<File::Spec>) unless a directory is specified explicitly with the
1254
+ DIR option.
1255
+
1256
+ $fh = tempfile( DIR => $dir );
1257
+
1258
+ If called in scalar context, only the filehandle is returned and the
1259
+ file will automatically be deleted when closed on operating systems
1260
+ that support this (see the description of tmpfile() elsewhere in this
1261
+ document). This is the preferred mode of operation, as if you only
1262
+ have a filehandle, you can never create a race condition by fumbling
1263
+ with the filename. On systems that can not unlink an open file or can
1264
+ not mark a file as temporary when it is opened (for example, Windows
1265
+ NT uses the C<O_TEMPORARY> flag) the file is marked for deletion when
1266
+ the program ends (equivalent to setting UNLINK to 1). The C<UNLINK>
1267
+ flag is ignored if present.
1268
+
1269
+ (undef, $filename) = tempfile($template, OPEN => 0);
1270
+
1271
+ This will return the filename based on the template but
1272
+ will not open this file. Cannot be used in conjunction with
1273
+ UNLINK set to true. Default is to always open the file
1274
+ to protect from possible race conditions. A warning is issued
1275
+ if warnings are turned on. Consider using the tmpnam()
1276
+ and mktemp() functions described elsewhere in this document
1277
+ if opening the file is not required.
1278
+
1279
+ If the operating system supports it (for example BSD derived systems), the
1280
+ filehandle will be opened with O_EXLOCK (open with exclusive file lock).
1281
+ This can sometimes cause problems if the intention is to pass the filename
1282
+ to another system that expects to take an exclusive lock itself (such as
1283
+ DBD::SQLite) whilst ensuring that the tempfile is not reused. In this
1284
+ situation the "EXLOCK" option can be passed to tempfile. By default EXLOCK
1285
+ will be true (this retains compatibility with earlier releases).
1286
+
1287
+ ($fh, $filename) = tempfile($template, EXLOCK => 0);
1288
+
1289
+ Options can be combined as required.
1290
+
1291
+ Will croak() if there is an error.
1292
+
1293
+ =cut
1294
+
1295
+ sub tempfile {
1296
+
1297
+ # Can not check for argument count since we can have any
1298
+ # number of args
1299
+
1300
+ # Default options
1301
+ my %options = (
1302
+ "DIR" => undef, # Directory prefix
1303
+ "SUFFIX" => '', # Template suffix
1304
+ "UNLINK" => 0, # Do not unlink file on exit
1305
+ "OPEN" => 1, # Open file
1306
+ "TMPDIR" => 0, # Place tempfile in tempdir if template specified
1307
+ "EXLOCK" => 1, # Open file with O_EXLOCK
1308
+ );
1309
+
1310
+ # Check to see whether we have an odd or even number of arguments
1311
+ my $template = (scalar(@_) % 2 == 1 ? shift(@_) : undef);
1312
+
1313
+ # Read the options and merge with defaults
1314
+ %options = (%options, @_) if @_;
1315
+
1316
+ # First decision is whether or not to open the file
1317
+ if (! $options{"OPEN"}) {
1318
+
1319
+ warn "tempfile(): temporary filename requested but not opened.\nPossibly unsafe, consider using tempfile() with OPEN set to true\n"
1320
+ if $^W;
1321
+
1322
+ }
1323
+
1324
+ if ($options{"DIR"} and $^O eq 'VMS') {
1325
+
1326
+ # on VMS turn []foo into [.foo] for concatenation
1327
+ $options{"DIR"} = VMS::Filespec::vmspath($options{"DIR"});
1328
+ }
1329
+
1330
+ # Construct the template
1331
+
1332
+ # Have a choice of trying to work around the mkstemp/mktemp/tmpnam etc
1333
+ # functions or simply constructing a template and using _gettemp()
1334
+ # explicitly. Go for the latter
1335
+
1336
+ # First generate a template if not defined and prefix the directory
1337
+ # If no template must prefix the temp directory
1338
+ if (defined $template) {
1339
+ # End up with current directory if neither DIR not TMPDIR are set
1340
+ if ($options{"DIR"}) {
1341
+
1342
+ $template = File::Spec->catfile($options{"DIR"}, $template);
1343
+
1344
+ } elsif ($options{TMPDIR}) {
1345
+
1346
+ $template = File::Spec->catfile(File::Spec->tmpdir, $template );
1347
+
1348
+ }
1349
+
1350
+ } else {
1351
+
1352
+ if ($options{"DIR"}) {
1353
+
1354
+ $template = File::Spec->catfile($options{"DIR"}, TEMPXXX);
1355
+
1356
+ } else {
1357
+
1358
+ $template = File::Spec->catfile(File::Spec->tmpdir, TEMPXXX);
1359
+
1360
+ }
1361
+
1362
+ }
1363
+
1364
+ # Now add a suffix
1365
+ $template .= $options{"SUFFIX"};
1366
+
1367
+ # Determine whether we should tell _gettemp to unlink the file
1368
+ # On unix this is irrelevant and can be worked out after the file is
1369
+ # opened (simply by unlinking the open filehandle). On Windows or VMS
1370
+ # we have to indicate temporary-ness when we open the file. In general
1371
+ # we only want a true temporary file if we are returning just the
1372
+ # filehandle - if the user wants the filename they probably do not
1373
+ # want the file to disappear as soon as they close it (which may be
1374
+ # important if they want a child process to use the file)
1375
+ # For this reason, tie unlink_on_close to the return context regardless
1376
+ # of OS.
1377
+ my $unlink_on_close = ( wantarray ? 0 : 1);
1378
+
1379
+ # Create the file
1380
+ my ($fh, $path, $errstr);
1381
+ croak "Error in tempfile() using $template: $errstr"
1382
+ unless (($fh, $path) = _gettemp($template,
1383
+ "open" => $options{'OPEN'},
1384
+ "mkdir"=> 0 ,
1385
+ "unlink_on_close" => $unlink_on_close,
1386
+ "suffixlen" => length($options{'SUFFIX'}),
1387
+ "ErrStr" => \$errstr,
1388
+ "use_exlock" => $options{EXLOCK},
1389
+ ) );
1390
+
1391
+ # Set up an exit handler that can do whatever is right for the
1392
+ # system. This removes files at exit when requested explicitly or when
1393
+ # system is asked to unlink_on_close but is unable to do so because
1394
+ # of OS limitations.
1395
+ # The latter should be achieved by using a tied filehandle.
1396
+ # Do not check return status since this is all done with END blocks.
1397
+ _deferred_unlink($fh, $path, 0) if $options{"UNLINK"};
1398
+
1399
+ # Return
1400
+ if (wantarray()) {
1401
+
1402
+ if ($options{'OPEN'}) {
1403
+ return ($fh, $path);
1404
+ } else {
1405
+ return (undef, $path);
1406
+ }
1407
+
1408
+ } else {
1409
+
1410
+ # Unlink the file. It is up to unlink0 to decide what to do with
1411
+ # this (whether to unlink now or to defer until later)
1412
+ unlink0($fh, $path) or croak "Error unlinking file $path using unlink0";
1413
+
1414
+ # Return just the filehandle.
1415
+ return $fh;
1416
+ }
1417
+
1418
+
1419
+ }
1420
+
1421
+ =item B<tempdir>
1422
+
1423
+ This is the recommended interface for creation of temporary
1424
+ directories. By default the directory will not be removed on exit
1425
+ (that is, it won't be temporary; this behaviour can not be changed
1426
+ because of issues with backwards compatibility). To enable removal
1427
+ either use the CLEANUP option which will trigger removal on program
1428
+ exit, or consider using the "newdir" method in the object interface which
1429
+ will allow the directory to be cleaned up when the object goes out of
1430
+ scope.
1431
+
1432
+ The behaviour of the function depends on the arguments:
1433
+
1434
+ $tempdir = tempdir();
1435
+
1436
+ Create a directory in tmpdir() (see L<File::Spec|File::Spec>).
1437
+
1438
+ $tempdir = tempdir( $template );
1439
+
1440
+ Create a directory from the supplied template. This template is
1441
+ similar to that described for tempfile(). `X' characters at the end
1442
+ of the template are replaced with random letters to construct the
1443
+ directory name. At least four `X' characters must be in the template.
1444
+
1445
+ $tempdir = tempdir ( DIR => $dir );
1446
+
1447
+ Specifies the directory to use for the temporary directory.
1448
+ The temporary directory name is derived from an internal template.
1449
+
1450
+ $tempdir = tempdir ( $template, DIR => $dir );
1451
+
1452
+ Prepend the supplied directory name to the template. The template
1453
+ should not include parent directory specifications itself. Any parent
1454
+ directory specifications are removed from the template before
1455
+ prepending the supplied directory.
1456
+
1457
+ $tempdir = tempdir ( $template, TMPDIR => 1 );
1458
+
1459
+ Using the supplied template, create the temporary directory in
1460
+ a standard location for temporary files. Equivalent to doing
1461
+
1462
+ $tempdir = tempdir ( $template, DIR => File::Spec->tmpdir);
1463
+
1464
+ but shorter. Parent directory specifications are stripped from the
1465
+ template itself. The C<TMPDIR> option is ignored if C<DIR> is set
1466
+ explicitly. Additionally, C<TMPDIR> is implied if neither a template
1467
+ nor a directory are supplied.
1468
+
1469
+ $tempdir = tempdir( $template, CLEANUP => 1);
1470
+
1471
+ Create a temporary directory using the supplied template, but
1472
+ attempt to remove it (and all files inside it) when the program
1473
+ exits. Note that an attempt will be made to remove all files from
1474
+ the directory even if they were not created by this module (otherwise
1475
+ why ask to clean it up?). The directory removal is made with
1476
+ the rmtree() function from the L<File::Path|File::Path> module.
1477
+ Of course, if the template is not specified, the temporary directory
1478
+ will be created in tmpdir() and will also be removed at program exit.
1479
+
1480
+ Will croak() if there is an error.
1481
+
1482
+ =cut
1483
+
1484
+ # '
1485
+
1486
+ sub tempdir {
1487
+
1488
+ # Can not check for argument count since we can have any
1489
+ # number of args
1490
+
1491
+ # Default options
1492
+ my %options = (
1493
+ "CLEANUP" => 0, # Remove directory on exit
1494
+ "DIR" => '', # Root directory
1495
+ "TMPDIR" => 0, # Use tempdir with template
1496
+ );
1497
+
1498
+ # Check to see whether we have an odd or even number of arguments
1499
+ my $template = (scalar(@_) % 2 == 1 ? shift(@_) : undef );
1500
+
1501
+ # Read the options and merge with defaults
1502
+ %options = (%options, @_) if @_;
1503
+
1504
+ # Modify or generate the template
1505
+
1506
+ # Deal with the DIR and TMPDIR options
1507
+ if (defined $template) {
1508
+
1509
+ # Need to strip directory path if using DIR or TMPDIR
1510
+ if ($options{'TMPDIR'} || $options{'DIR'}) {
1511
+
1512
+ # Strip parent directory from the filename
1513
+ #
1514
+ # There is no filename at the end
1515
+ $template = VMS::Filespec::vmspath($template) if $^O eq 'VMS';
1516
+ my ($volume, $directories, undef) = File::Spec->splitpath( $template, 1);
1517
+
1518
+ # Last directory is then our template
1519
+ $template = (File::Spec->splitdir($directories))[-1];
1520
+
1521
+ # Prepend the supplied directory or temp dir
1522
+ if ($options{"DIR"}) {
1523
+
1524
+ $template = File::Spec->catdir($options{"DIR"}, $template);
1525
+
1526
+ } elsif ($options{TMPDIR}) {
1527
+
1528
+ # Prepend tmpdir
1529
+ $template = File::Spec->catdir(File::Spec->tmpdir, $template);
1530
+
1531
+ }
1532
+
1533
+ }
1534
+
1535
+ } else {
1536
+
1537
+ if ($options{"DIR"}) {
1538
+
1539
+ $template = File::Spec->catdir($options{"DIR"}, TEMPXXX);
1540
+
1541
+ } else {
1542
+
1543
+ $template = File::Spec->catdir(File::Spec->tmpdir, TEMPXXX);
1544
+
1545
+ }
1546
+
1547
+ }
1548
+
1549
+ # Create the directory
1550
+ my $tempdir;
1551
+ my $suffixlen = 0;
1552
+ if ($^O eq 'VMS') { # dir names can end in delimiters
1553
+ $template =~ m/([\.\]:>]+)$/;
1554
+ $suffixlen = length($1);
1555
+ }
1556
+ if ( ($^O eq 'MacOS') && (substr($template, -1) eq ':') ) {
1557
+ # dir name has a trailing ':'
1558
+ ++$suffixlen;
1559
+ }
1560
+
1561
+ my $errstr;
1562
+ croak "Error in tempdir() using $template: $errstr"
1563
+ unless ((undef, $tempdir) = _gettemp($template,
1564
+ "open" => 0,
1565
+ "mkdir"=> 1 ,
1566
+ "suffixlen" => $suffixlen,
1567
+ "ErrStr" => \$errstr,
1568
+ ) );
1569
+
1570
+ # Install exit handler; must be dynamic to get lexical
1571
+ if ( $options{'CLEANUP'} && -d $tempdir) {
1572
+ _deferred_unlink(undef, $tempdir, 1);
1573
+ }
1574
+
1575
+ # Return the dir name
1576
+ return $tempdir;
1577
+
1578
+ }
1579
+
1580
+ =back
1581
+
1582
+ =head1 MKTEMP FUNCTIONS
1583
+
1584
+ The following functions are Perl implementations of the
1585
+ mktemp() family of temp file generation system calls.
1586
+
1587
+ =over 4
1588
+
1589
+ =item B<mkstemp>
1590
+
1591
+ Given a template, returns a filehandle to the temporary file and the name
1592
+ of the file.
1593
+
1594
+ ($fh, $name) = mkstemp( $template );
1595
+
1596
+ In scalar context, just the filehandle is returned.
1597
+
1598
+ The template may be any filename with some number of X's appended
1599
+ to it, for example F</tmp/temp.XXXX>. The trailing X's are replaced
1600
+ with unique alphanumeric combinations.
1601
+
1602
+ Will croak() if there is an error.
1603
+
1604
+ =cut
1605
+
1606
+
1607
+
1608
+ sub mkstemp {
1609
+
1610
+ croak "Usage: mkstemp(template)"
1611
+ if scalar(@_) != 1;
1612
+
1613
+ my $template = shift;
1614
+
1615
+ my ($fh, $path, $errstr);
1616
+ croak "Error in mkstemp using $template: $errstr"
1617
+ unless (($fh, $path) = _gettemp($template,
1618
+ "open" => 1,
1619
+ "mkdir"=> 0 ,
1620
+ "suffixlen" => 0,
1621
+ "ErrStr" => \$errstr,
1622
+ ) );
1623
+
1624
+ if (wantarray()) {
1625
+ return ($fh, $path);
1626
+ } else {
1627
+ return $fh;
1628
+ }
1629
+
1630
+ }
1631
+
1632
+
1633
+ =item B<mkstemps>
1634
+
1635
+ Similar to mkstemp(), except that an extra argument can be supplied
1636
+ with a suffix to be appended to the template.
1637
+
1638
+ ($fh, $name) = mkstemps( $template, $suffix );
1639
+
1640
+ For example a template of C<testXXXXXX> and suffix of C<.dat>
1641
+ would generate a file similar to F<testhGji_w.dat>.
1642
+
1643
+ Returns just the filehandle alone when called in scalar context.
1644
+
1645
+ Will croak() if there is an error.
1646
+
1647
+ =cut
1648
+
1649
+ sub mkstemps {
1650
+
1651
+ croak "Usage: mkstemps(template, suffix)"
1652
+ if scalar(@_) != 2;
1653
+
1654
+
1655
+ my $template = shift;
1656
+ my $suffix = shift;
1657
+
1658
+ $template .= $suffix;
1659
+
1660
+ my ($fh, $path, $errstr);
1661
+ croak "Error in mkstemps using $template: $errstr"
1662
+ unless (($fh, $path) = _gettemp($template,
1663
+ "open" => 1,
1664
+ "mkdir"=> 0 ,
1665
+ "suffixlen" => length($suffix),
1666
+ "ErrStr" => \$errstr,
1667
+ ) );
1668
+
1669
+ if (wantarray()) {
1670
+ return ($fh, $path);
1671
+ } else {
1672
+ return $fh;
1673
+ }
1674
+
1675
+ }
1676
+
1677
+ =item B<mkdtemp>
1678
+
1679
+ Create a directory from a template. The template must end in
1680
+ X's that are replaced by the routine.
1681
+
1682
+ $tmpdir_name = mkdtemp($template);
1683
+
1684
+ Returns the name of the temporary directory created.
1685
+
1686
+ Directory must be removed by the caller.
1687
+
1688
+ Will croak() if there is an error.
1689
+
1690
+ =cut
1691
+
1692
+ #' # for emacs
1693
+
1694
+ sub mkdtemp {
1695
+
1696
+ croak "Usage: mkdtemp(template)"
1697
+ if scalar(@_) != 1;
1698
+
1699
+ my $template = shift;
1700
+ my $suffixlen = 0;
1701
+ if ($^O eq 'VMS') { # dir names can end in delimiters
1702
+ $template =~ m/([\.\]:>]+)$/;
1703
+ $suffixlen = length($1);
1704
+ }
1705
+ if ( ($^O eq 'MacOS') && (substr($template, -1) eq ':') ) {
1706
+ # dir name has a trailing ':'
1707
+ ++$suffixlen;
1708
+ }
1709
+ my ($junk, $tmpdir, $errstr);
1710
+ croak "Error creating temp directory from template $template\: $errstr"
1711
+ unless (($junk, $tmpdir) = _gettemp($template,
1712
+ "open" => 0,
1713
+ "mkdir"=> 1 ,
1714
+ "suffixlen" => $suffixlen,
1715
+ "ErrStr" => \$errstr,
1716
+ ) );
1717
+
1718
+ return $tmpdir;
1719
+
1720
+ }
1721
+
1722
+ =item B<mktemp>
1723
+
1724
+ Returns a valid temporary filename but does not guarantee
1725
+ that the file will not be opened by someone else.
1726
+
1727
+ $unopened_file = mktemp($template);
1728
+
1729
+ Template is the same as that required by mkstemp().
1730
+
1731
+ Will croak() if there is an error.
1732
+
1733
+ =cut
1734
+
1735
+ sub mktemp {
1736
+
1737
+ croak "Usage: mktemp(template)"
1738
+ if scalar(@_) != 1;
1739
+
1740
+ my $template = shift;
1741
+
1742
+ my ($tmpname, $junk, $errstr);
1743
+ croak "Error getting name to temp file from template $template: $errstr"
1744
+ unless (($junk, $tmpname) = _gettemp($template,
1745
+ "open" => 0,
1746
+ "mkdir"=> 0 ,
1747
+ "suffixlen" => 0,
1748
+ "ErrStr" => \$errstr,
1749
+ ) );
1750
+
1751
+ return $tmpname;
1752
+ }
1753
+
1754
+ =back
1755
+
1756
+ =head1 POSIX FUNCTIONS
1757
+
1758
+ This section describes the re-implementation of the tmpnam()
1759
+ and tmpfile() functions described in L<POSIX>
1760
+ using the mkstemp() from this module.
1761
+
1762
+ Unlike the L<POSIX|POSIX> implementations, the directory used
1763
+ for the temporary file is not specified in a system include
1764
+ file (C<P_tmpdir>) but simply depends on the choice of tmpdir()
1765
+ returned by L<File::Spec|File::Spec>. On some implementations this
1766
+ location can be set using the C<TMPDIR> environment variable, which
1767
+ may not be secure.
1768
+ If this is a problem, simply use mkstemp() and specify a template.
1769
+
1770
+ =over 4
1771
+
1772
+ =item B<tmpnam>
1773
+
1774
+ When called in scalar context, returns the full name (including path)
1775
+ of a temporary file (uses mktemp()). The only check is that the file does
1776
+ not already exist, but there is no guarantee that that condition will
1777
+ continue to apply.
1778
+
1779
+ $file = tmpnam();
1780
+
1781
+ When called in list context, a filehandle to the open file and
1782
+ a filename are returned. This is achieved by calling mkstemp()
1783
+ after constructing a suitable template.
1784
+
1785
+ ($fh, $file) = tmpnam();
1786
+
1787
+ If possible, this form should be used to prevent possible
1788
+ race conditions.
1789
+
1790
+ See L<File::Spec/tmpdir> for information on the choice of temporary
1791
+ directory for a particular operating system.
1792
+
1793
+ Will croak() if there is an error.
1794
+
1795
+ =cut
1796
+
1797
+ sub tmpnam {
1798
+
1799
+ # Retrieve the temporary directory name
1800
+ my $tmpdir = File::Spec->tmpdir;
1801
+
1802
+ croak "Error temporary directory is not writable"
1803
+ if $tmpdir eq '';
1804
+
1805
+ # Use a ten character template and append to tmpdir
1806
+ my $template = File::Spec->catfile($tmpdir, TEMPXXX);
1807
+
1808
+ if (wantarray() ) {
1809
+ return mkstemp($template);
1810
+ } else {
1811
+ return mktemp($template);
1812
+ }
1813
+
1814
+ }
1815
+
1816
+ =item B<tmpfile>
1817
+
1818
+ Returns the filehandle of a temporary file.
1819
+
1820
+ $fh = tmpfile();
1821
+
1822
+ The file is removed when the filehandle is closed or when the program
1823
+ exits. No access to the filename is provided.
1824
+
1825
+ If the temporary file can not be created undef is returned.
1826
+ Currently this command will probably not work when the temporary
1827
+ directory is on an NFS file system.
1828
+
1829
+ Will croak() if there is an error.
1830
+
1831
+ =cut
1832
+
1833
+ sub tmpfile {
1834
+
1835
+ # Simply call tmpnam() in a list context
1836
+ my ($fh, $file) = tmpnam();
1837
+
1838
+ # Make sure file is removed when filehandle is closed
1839
+ # This will fail on NFS
1840
+ unlink0($fh, $file)
1841
+ or return undef;
1842
+
1843
+ return $fh;
1844
+
1845
+ }
1846
+
1847
+ =back
1848
+
1849
+ =head1 ADDITIONAL FUNCTIONS
1850
+
1851
+ These functions are provided for backwards compatibility
1852
+ with common tempfile generation C library functions.
1853
+
1854
+ They are not exported and must be addressed using the full package
1855
+ name.
1856
+
1857
+ =over 4
1858
+
1859
+ =item B<tempnam>
1860
+
1861
+ Return the name of a temporary file in the specified directory
1862
+ using a prefix. The file is guaranteed not to exist at the time
1863
+ the function was called, but such guarantees are good for one
1864
+ clock tick only. Always use the proper form of C<sysopen>
1865
+ with C<O_CREAT | O_EXCL> if you must open such a filename.
1866
+
1867
+ $filename = File::Temp::tempnam( $dir, $prefix );
1868
+
1869
+ Equivalent to running mktemp() with $dir/$prefixXXXXXXXX
1870
+ (using unix file convention as an example)
1871
+
1872
+ Because this function uses mktemp(), it can suffer from race conditions.
1873
+
1874
+ Will croak() if there is an error.
1875
+
1876
+ =cut
1877
+
1878
+ sub tempnam {
1879
+
1880
+ croak 'Usage tempnam($dir, $prefix)' unless scalar(@_) == 2;
1881
+
1882
+ my ($dir, $prefix) = @_;
1883
+
1884
+ # Add a string to the prefix
1885
+ $prefix .= 'XXXXXXXX';
1886
+
1887
+ # Concatenate the directory to the file
1888
+ my $template = File::Spec->catfile($dir, $prefix);
1889
+
1890
+ return mktemp($template);
1891
+
1892
+ }
1893
+
1894
+ =back
1895
+
1896
+ =head1 UTILITY FUNCTIONS
1897
+
1898
+ Useful functions for dealing with the filehandle and filename.
1899
+
1900
+ =over 4
1901
+
1902
+ =item B<unlink0>
1903
+
1904
+ Given an open filehandle and the associated filename, make a safe
1905
+ unlink. This is achieved by first checking that the filename and
1906
+ filehandle initially point to the same file and that the number of
1907
+ links to the file is 1 (all fields returned by stat() are compared).
1908
+ Then the filename is unlinked and the filehandle checked once again to
1909
+ verify that the number of links on that file is now 0. This is the
1910
+ closest you can come to making sure that the filename unlinked was the
1911
+ same as the file whose descriptor you hold.
1912
+
1913
+ unlink0($fh, $path)
1914
+ or die "Error unlinking file $path safely";
1915
+
1916
+ Returns false on error but croaks() if there is a security
1917
+ anomaly. The filehandle is not closed since on some occasions this is
1918
+ not required.
1919
+
1920
+ On some platforms, for example Windows NT, it is not possible to
1921
+ unlink an open file (the file must be closed first). On those
1922
+ platforms, the actual unlinking is deferred until the program ends and
1923
+ good status is returned. A check is still performed to make sure that
1924
+ the filehandle and filename are pointing to the same thing (but not at
1925
+ the time the end block is executed since the deferred removal may not
1926
+ have access to the filehandle).
1927
+
1928
+ Additionally, on Windows NT not all the fields returned by stat() can
1929
+ be compared. For example, the C<dev> and C<rdev> fields seem to be
1930
+ different. Also, it seems that the size of the file returned by stat()
1931
+ does not always agree, with C<stat(FH)> being more accurate than
1932
+ C<stat(filename)>, presumably because of caching issues even when
1933
+ using autoflush (this is usually overcome by waiting a while after
1934
+ writing to the tempfile before attempting to C<unlink0> it).
1935
+
1936
+ Finally, on NFS file systems the link count of the file handle does
1937
+ not always go to zero immediately after unlinking. Currently, this
1938
+ command is expected to fail on NFS disks.
1939
+
1940
+ This function is disabled if the global variable $KEEP_ALL is true
1941
+ and an unlink on open file is supported. If the unlink is to be deferred
1942
+ to the END block, the file is still registered for removal.
1943
+
1944
+ This function should not be called if you are using the object oriented
1945
+ interface since the it will interfere with the object destructor deleting
1946
+ the file.
1947
+
1948
+ =cut
1949
+
1950
+ sub unlink0 {
1951
+
1952
+ croak 'Usage: unlink0(filehandle, filename)'
1953
+ unless scalar(@_) == 2;
1954
+
1955
+ # Read args
1956
+ my ($fh, $path) = @_;
1957
+
1958
+ cmpstat($fh, $path) or return 0;
1959
+
1960
+ # attempt remove the file (does not work on some platforms)
1961
+ if (_can_unlink_opened_file()) {
1962
+
1963
+ # return early (Without unlink) if we have been instructed to retain files.
1964
+ return 1 if $KEEP_ALL;
1965
+
1966
+ # XXX: do *not* call this on a directory; possible race
1967
+ # resulting in recursive removal
1968
+ croak "unlink0: $path has become a directory!" if -d $path;
1969
+ unlink($path) or return 0;
1970
+
1971
+ # Stat the filehandle
1972
+ my @fh = stat $fh;
1973
+
1974
+ print "Link count = $fh[3] \n" if $DEBUG;
1975
+
1976
+ # Make sure that the link count is zero
1977
+ # - Cygwin provides deferred unlinking, however,
1978
+ # on Win9x the link count remains 1
1979
+ # On NFS the link count may still be 1 but we cant know that
1980
+ # we are on NFS
1981
+ return ( $fh[3] == 0 or $^O eq 'cygwin' ? 1 : 0);
1982
+
1983
+ } else {
1984
+ _deferred_unlink($fh, $path, 0);
1985
+ return 1;
1986
+ }
1987
+
1988
+ }
1989
+
1990
+ =item B<cmpstat>
1991
+
1992
+ Compare C<stat> of filehandle with C<stat> of provided filename. This
1993
+ can be used to check that the filename and filehandle initially point
1994
+ to the same file and that the number of links to the file is 1 (all
1995
+ fields returned by stat() are compared).
1996
+
1997
+ cmpstat($fh, $path)
1998
+ or die "Error comparing handle with file";
1999
+
2000
+ Returns false if the stat information differs or if the link count is
2001
+ greater than 1. Calls croak if there is a security anomaly.
2002
+
2003
+ On certain platforms, for example Windows, not all the fields returned by stat()
2004
+ can be compared. For example, the C<dev> and C<rdev> fields seem to be
2005
+ different in Windows. Also, it seems that the size of the file
2006
+ returned by stat() does not always agree, with C<stat(FH)> being more
2007
+ accurate than C<stat(filename)>, presumably because of caching issues
2008
+ even when using autoflush (this is usually overcome by waiting a while
2009
+ after writing to the tempfile before attempting to C<unlink0> it).
2010
+
2011
+ Not exported by default.
2012
+
2013
+ =cut
2014
+
2015
+ sub cmpstat {
2016
+
2017
+ croak 'Usage: cmpstat(filehandle, filename)'
2018
+ unless scalar(@_) == 2;
2019
+
2020
+ # Read args
2021
+ my ($fh, $path) = @_;
2022
+
2023
+ warn "Comparing stat\n"
2024
+ if $DEBUG;
2025
+
2026
+ # Stat the filehandle - which may be closed if someone has manually
2027
+ # closed the file. Can not turn off warnings without using $^W
2028
+ # unless we upgrade to 5.006 minimum requirement
2029
+ my @fh;
2030
+ {
2031
+ local ($^W) = 0;
2032
+ @fh = stat $fh;
2033
+ }
2034
+ return unless @fh;
2035
+
2036
+ if ($fh[3] > 1 && $^W) {
2037
+ carp "unlink0: fstat found too many links; SB=@fh" if $^W;
2038
+ }
2039
+
2040
+ # Stat the path
2041
+ my @path = stat $path;
2042
+
2043
+ unless (@path) {
2044
+ carp "unlink0: $path is gone already" if $^W;
2045
+ return;
2046
+ }
2047
+
2048
+ # this is no longer a file, but may be a directory, or worse
2049
+ unless (-f $path) {
2050
+ confess "panic: $path is no longer a file: SB=@fh";
2051
+ }
2052
+
2053
+ # Do comparison of each member of the array
2054
+ # On WinNT dev and rdev seem to be different
2055
+ # depending on whether it is a file or a handle.
2056
+ # Cannot simply compare all members of the stat return
2057
+ # Select the ones we can use
2058
+ my @okstat = (0..$#fh); # Use all by default
2059
+ if ($^O eq 'MSWin32') {
2060
+ @okstat = (1,2,3,4,5,7,8,9,10);
2061
+ } elsif ($^O eq 'os2') {
2062
+ @okstat = (0, 2..$#fh);
2063
+ } elsif ($^O eq 'VMS') { # device and file ID are sufficient
2064
+ @okstat = (0, 1);
2065
+ } elsif ($^O eq 'dos') {
2066
+ @okstat = (0,2..7,11..$#fh);
2067
+ } elsif ($^O eq 'mpeix') {
2068
+ @okstat = (0..4,8..10);
2069
+ }
2070
+
2071
+ # Now compare each entry explicitly by number
2072
+ for (@okstat) {
2073
+ print "Comparing: $_ : $fh[$_] and $path[$_]\n" if $DEBUG;
2074
+ # Use eq rather than == since rdev, blksize, and blocks (6, 11,
2075
+ # and 12) will be '' on platforms that do not support them. This
2076
+ # is fine since we are only comparing integers.
2077
+ unless ($fh[$_] eq $path[$_]) {
2078
+ warn "Did not match $_ element of stat\n" if $DEBUG;
2079
+ return 0;
2080
+ }
2081
+ }
2082
+
2083
+ return 1;
2084
+ }
2085
+
2086
+ =item B<unlink1>
2087
+
2088
+ Similar to C<unlink0> except after file comparison using cmpstat, the
2089
+ filehandle is closed prior to attempting to unlink the file. This
2090
+ allows the file to be removed without using an END block, but does
2091
+ mean that the post-unlink comparison of the filehandle state provided
2092
+ by C<unlink0> is not available.
2093
+
2094
+ unlink1($fh, $path)
2095
+ or die "Error closing and unlinking file";
2096
+
2097
+ Usually called from the object destructor when using the OO interface.
2098
+
2099
+ Not exported by default.
2100
+
2101
+ This function is disabled if the global variable $KEEP_ALL is true.
2102
+
2103
+ Can call croak() if there is a security anomaly during the stat()
2104
+ comparison.
2105
+
2106
+ =cut
2107
+
2108
+ sub unlink1 {
2109
+ croak 'Usage: unlink1(filehandle, filename)'
2110
+ unless scalar(@_) == 2;
2111
+
2112
+ # Read args
2113
+ my ($fh, $path) = @_;
2114
+
2115
+ cmpstat($fh, $path) or return 0;
2116
+
2117
+ # Close the file
2118
+ close( $fh ) or return 0;
2119
+
2120
+ # Make sure the file is writable (for windows)
2121
+ _force_writable( $path );
2122
+
2123
+ # return early (without unlink) if we have been instructed to retain files.
2124
+ return 1 if $KEEP_ALL;
2125
+
2126
+ # remove the file
2127
+ return unlink($path);
2128
+ }
2129
+
2130
+ =item B<cleanup>
2131
+
2132
+ Calling this function will cause any temp files or temp directories
2133
+ that are registered for removal to be removed. This happens automatically
2134
+ when the process exits but can be triggered manually if the caller is sure
2135
+ that none of the temp files are required. This method can be registered as
2136
+ an Apache callback.
2137
+
2138
+ On OSes where temp files are automatically removed when the temp file
2139
+ is closed, calling this function will have no effect other than to remove
2140
+ temporary directories (which may include temporary files).
2141
+
2142
+ File::Temp::cleanup();
2143
+
2144
+ Not exported by default.
2145
+
2146
+ =back
2147
+
2148
+ =head1 PACKAGE VARIABLES
2149
+
2150
+ These functions control the global state of the package.
2151
+
2152
+ =over 4
2153
+
2154
+ =item B<safe_level>
2155
+
2156
+ Controls the lengths to which the module will go to check the safety of the
2157
+ temporary file or directory before proceeding.
2158
+ Options are:
2159
+
2160
+ =over 8
2161
+
2162
+ =item STANDARD
2163
+
2164
+ Do the basic security measures to ensure the directory exists and is
2165
+ writable, that temporary files are opened only if they do not already
2166
+ exist, and that possible race conditions are avoided. Finally the
2167
+ L<unlink0|"unlink0"> function is used to remove files safely.
2168
+
2169
+ =item MEDIUM
2170
+
2171
+ In addition to the STANDARD security, the output directory is checked
2172
+ to make sure that it is owned either by root or the user running the
2173
+ program. If the directory is writable by group or by other, it is then
2174
+ checked to make sure that the sticky bit is set.
2175
+
2176
+ Will not work on platforms that do not support the C<-k> test
2177
+ for sticky bit.
2178
+
2179
+ =item HIGH
2180
+
2181
+ In addition to the MEDIUM security checks, also check for the
2182
+ possibility of ``chown() giveaway'' using the L<POSIX|POSIX>
2183
+ sysconf() function. If this is a possibility, each directory in the
2184
+ path is checked in turn for safeness, recursively walking back to the
2185
+ root directory.
2186
+
2187
+ For platforms that do not support the L<POSIX|POSIX>
2188
+ C<_PC_CHOWN_RESTRICTED> symbol (for example, Windows NT) it is
2189
+ assumed that ``chown() giveaway'' is possible and the recursive test
2190
+ is performed.
2191
+
2192
+ =back
2193
+
2194
+ The level can be changed as follows:
2195
+
2196
+ File::Temp->safe_level( File::Temp::HIGH );
2197
+
2198
+ The level constants are not exported by the module.
2199
+
2200
+ Currently, you must be running at least perl v5.6.0 in order to
2201
+ run with MEDIUM or HIGH security. This is simply because the
2202
+ safety tests use functions from L<Fcntl|Fcntl> that are not
2203
+ available in older versions of perl. The problem is that the version
2204
+ number for Fcntl is the same in perl 5.6.0 and in 5.005_03 even though
2205
+ they are different versions.
2206
+
2207
+ On systems that do not support the HIGH or MEDIUM safety levels
2208
+ (for example Win NT or OS/2) any attempt to change the level will
2209
+ be ignored. The decision to ignore rather than raise an exception
2210
+ allows portable programs to be written with high security in mind
2211
+ for the systems that can support this without those programs failing
2212
+ on systems where the extra tests are irrelevant.
2213
+
2214
+ If you really need to see whether the change has been accepted
2215
+ simply examine the return value of C<safe_level>.
2216
+
2217
+ $newlevel = File::Temp->safe_level( File::Temp::HIGH );
2218
+ die "Could not change to high security"
2219
+ if $newlevel != File::Temp::HIGH;
2220
+
2221
+ =cut
2222
+
2223
+ {
2224
+ # protect from using the variable itself
2225
+ my $LEVEL = STANDARD;
2226
+ sub safe_level {
2227
+ my $self = shift;
2228
+ if (@_) {
2229
+ my $level = shift;
2230
+ if (($level != STANDARD) && ($level != MEDIUM) && ($level != HIGH)) {
2231
+ carp "safe_level: Specified level ($level) not STANDARD, MEDIUM or HIGH - ignoring\n" if $^W;
2232
+ } else {
2233
+ # Dont allow this on perl 5.005 or earlier
2234
+ if ($] < 5.006 && $level != STANDARD) {
2235
+ # Cant do MEDIUM or HIGH checks
2236
+ croak "Currently requires perl 5.006 or newer to do the safe checks";
2237
+ }
2238
+ # Check that we are allowed to change level
2239
+ # Silently ignore if we can not.
2240
+ $LEVEL = $level if _can_do_level($level);
2241
+ }
2242
+ }
2243
+ return $LEVEL;
2244
+ }
2245
+ }
2246
+
2247
+ =item TopSystemUID
2248
+
2249
+ This is the highest UID on the current system that refers to a root
2250
+ UID. This is used to make sure that the temporary directory is
2251
+ owned by a system UID (C<root>, C<bin>, C<sys> etc) rather than
2252
+ simply by root.
2253
+
2254
+ This is required since on many unix systems C</tmp> is not owned
2255
+ by root.
2256
+
2257
+ Default is to assume that any UID less than or equal to 10 is a root
2258
+ UID.
2259
+
2260
+ File::Temp->top_system_uid(10);
2261
+ my $topid = File::Temp->top_system_uid;
2262
+
2263
+ This value can be adjusted to reduce security checking if required.
2264
+ The value is only relevant when C<safe_level> is set to MEDIUM or higher.
2265
+
2266
+ =cut
2267
+
2268
+ {
2269
+ my $TopSystemUID = 10;
2270
+ $TopSystemUID = 197108 if $^O eq 'interix'; # "Administrator"
2271
+ sub top_system_uid {
2272
+ my $self = shift;
2273
+ if (@_) {
2274
+ my $newuid = shift;
2275
+ croak "top_system_uid: UIDs should be numeric"
2276
+ unless $newuid =~ /^\d+$/s;
2277
+ $TopSystemUID = $newuid;
2278
+ }
2279
+ return $TopSystemUID;
2280
+ }
2281
+ }
2282
+
2283
+ =item B<$KEEP_ALL>
2284
+
2285
+ Controls whether temporary files and directories should be retained
2286
+ regardless of any instructions in the program to remove them
2287
+ automatically. This is useful for debugging but should not be used in
2288
+ production code.
2289
+
2290
+ $File::Temp::KEEP_ALL = 1;
2291
+
2292
+ Default is for files to be removed as requested by the caller.
2293
+
2294
+ In some cases, files will only be retained if this variable is true
2295
+ when the file is created. This means that you can not create a temporary
2296
+ file, set this variable and expect the temp file to still be around
2297
+ when the program exits.
2298
+
2299
+ =item B<$DEBUG>
2300
+
2301
+ Controls whether debugging messages should be enabled.
2302
+
2303
+ $File::Temp::DEBUG = 1;
2304
+
2305
+ Default is for debugging mode to be disabled.
2306
+
2307
+ =back
2308
+
2309
+ =head1 WARNING
2310
+
2311
+ For maximum security, endeavour always to avoid ever looking at,
2312
+ touching, or even imputing the existence of the filename. You do not
2313
+ know that that filename is connected to the same file as the handle
2314
+ you have, and attempts to check this can only trigger more race
2315
+ conditions. It's far more secure to use the filehandle alone and
2316
+ dispense with the filename altogether.
2317
+
2318
+ If you need to pass the handle to something that expects a filename
2319
+ then, on a unix system, use C<"/dev/fd/" . fileno($fh)> for arbitrary
2320
+ programs, or more generally C<< "+<=&" . fileno($fh) >> for Perl
2321
+ programs. You will have to clear the close-on-exec bit on that file
2322
+ descriptor before passing it to another process.
2323
+
2324
+ use Fcntl qw/F_SETFD F_GETFD/;
2325
+ fcntl($tmpfh, F_SETFD, 0)
2326
+ or die "Can't clear close-on-exec flag on temp fh: $!\n";
2327
+
2328
+ =head2 Temporary files and NFS
2329
+
2330
+ Some problems are associated with using temporary files that reside
2331
+ on NFS file systems and it is recommended that a local filesystem
2332
+ is used whenever possible. Some of the security tests will most probably
2333
+ fail when the temp file is not local. Additionally, be aware that
2334
+ the performance of I/O operations over NFS will not be as good as for
2335
+ a local disk.
2336
+
2337
+ =head2 Forking
2338
+
2339
+ In some cases files created by File::Temp are removed from within an
2340
+ END block. Since END blocks are triggered when a child process exits
2341
+ (unless C<POSIX::_exit()> is used by the child) File::Temp takes care
2342
+ to only remove those temp files created by a particular process ID. This
2343
+ means that a child will not attempt to remove temp files created by the
2344
+ parent process.
2345
+
2346
+ If you are forking many processes in parallel that are all creating
2347
+ temporary files, you may need to reset the random number seed using
2348
+ srand(EXPR) in each child else all the children will attempt to walk
2349
+ through the same set of random file names and may well cause
2350
+ themselves to give up if they exceed the number of retry attempts.
2351
+
2352
+ =head2 Directory removal
2353
+
2354
+ Note that if you have chdir'ed into the temporary directory and it is
2355
+ subsequently cleaned up (either in the END block or as part of object
2356
+ destruction), then you will get a warning from File::Path::rmtree().
2357
+
2358
+ =head2 BINMODE
2359
+
2360
+ The file returned by File::Temp will have been opened in binary mode
2361
+ if such a mode is available. If that is not correct, use the C<binmode()>
2362
+ function to change the mode of the filehandle.
2363
+
2364
+ Note that you can modify the encoding of a file opened by File::Temp
2365
+ also by using C<binmode()>.
2366
+
2367
+ =head1 HISTORY
2368
+
2369
+ Originally began life in May 1999 as an XS interface to the system
2370
+ mkstemp() function. In March 2000, the OpenBSD mkstemp() code was
2371
+ translated to Perl for total control of the code's
2372
+ security checking, to ensure the presence of the function regardless of
2373
+ operating system and to help with portability. The module was shipped
2374
+ as a standard part of perl from v5.6.1.
2375
+
2376
+ =head1 SEE ALSO
2377
+
2378
+ L<POSIX/tmpnam>, L<POSIX/tmpfile>, L<File::Spec>, L<File::Path>
2379
+
2380
+ See L<IO::File> and L<File::MkTemp>, L<Apache::TempFile> for
2381
+ different implementations of temporary file handling.
2382
+
2383
+ See L<File::Tempdir> for an alternative object-oriented wrapper for
2384
+ the C<tempdir> function.
2385
+
2386
+ =head1 AUTHOR
2387
+
2388
+ Tim Jenness E<lt>tjenness@cpan.orgE<gt>
2389
+
2390
+ Copyright (C) 2007-2009 Tim Jenness.
2391
+ Copyright (C) 1999-2007 Tim Jenness and the UK Particle Physics and
2392
+ Astronomy Research Council. All Rights Reserved. This program is free
2393
+ software; you can redistribute it and/or modify it under the same
2394
+ terms as Perl itself.
2395
+
2396
+ Original Perl implementation loosely based on the OpenBSD C code for
2397
+ mkstemp(). Thanks to Tom Christiansen for suggesting that this module
2398
+ should be written and providing ideas for code improvements and
2399
+ security enhancements.
2400
+
2401
+ =cut
2402
+
2403
+ package File::Temp::Dir;
2404
+
2405
+ use File::Path qw/ rmtree /;
2406
+ use strict;
2407
+ use overload '""' => "STRINGIFY", fallback => 1;
2408
+
2409
+ # private class specifically to support tempdir objects
2410
+ # created by File::Temp->newdir
2411
+
2412
+ # ostensibly the same method interface as File::Temp but without
2413
+ # inheriting all the IO::Seekable methods and other cruft
2414
+
2415
+ # Read-only - returns the name of the temp directory
2416
+
2417
+ sub dirname {
2418
+ my $self = shift;
2419
+ return $self->{DIRNAME};
2420
+ }
2421
+
2422
+ sub STRINGIFY {
2423
+ my $self = shift;
2424
+ return $self->dirname;
2425
+ }
2426
+
2427
+ sub unlink_on_destroy {
2428
+ my $self = shift;
2429
+ if (@_) {
2430
+ $self->{CLEANUP} = shift;
2431
+ }
2432
+ return $self->{CLEANUP};
2433
+ }
2434
+
2435
+ sub DESTROY {
2436
+ my $self = shift;
2437
+ local($., $@, $!, $^E, $?);
2438
+ if ($self->unlink_on_destroy &&
2439
+ $$ == $self->{LAUNCHPID} && !$File::Temp::KEEP_ALL) {
2440
+ if (-d $self->{DIRNAME}) {
2441
+ # Some versions of rmtree will abort if you attempt to remove
2442
+ # the directory you are sitting in. We protect that and turn it
2443
+ # into a warning. We do this because this occurs during object
2444
+ # destruction and so can not be caught by the user.
2445
+ eval { rmtree($self->{DIRNAME}, $File::Temp::DEBUG, 0); };
2446
+ warn $@ if ($@ && $^W);
2447
+ }
2448
+ }
2449
+ }
2450
+
2451
+
2452
+ 1;