ruby-dcl 1.7.1 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (307) hide show
  1. checksums.yaml +4 -4
  2. data/{ChangeLog → .ChangeLog.until20150318} +0 -0
  3. data/LICENSE.txt +1 -1
  4. data/Rakefile +7 -11
  5. data/demo/gokuraku/hop/hop.rb +1 -1
  6. data/demo/gokuraku/jump/jump1.rb +1 -1
  7. data/demo/gokuraku/jump/jump2.rb +1 -1
  8. data/demo/gokuraku/layout/lay1.rb +1 -1
  9. data/demo/gokuraku/layout/lay2.rb +1 -1
  10. data/demo/gokuraku/step/step0.rb +1 -1
  11. data/demo/gokuraku/step/step1.rb +1 -1
  12. data/demo/gokuraku/step/step2.rb +1 -1
  13. data/demo/gokuraku/u1d/u1d1.rb +1 -1
  14. data/demo/gokuraku/u1d/u1d2.rb +1 -1
  15. data/demo/gokuraku/u2d/u2d1.rb +1 -1
  16. data/demo/gokuraku/u2d/u2d2.rb +1 -1
  17. data/demo/gokuraku/u2d/u2d3.rb +1 -1
  18. data/demo/gokuraku/u2d/u2d4.rb +1 -1
  19. data/demo/grph1/scpack/scpkt2.rb +1 -1
  20. data/demo/grph1/scpack/scpkt3.rb +1 -1
  21. data/demo/grph1/scpack/scpkt6.rb +1 -1
  22. data/demo/grph1/scpack/scpkt7.rb +1 -1
  23. data/demo/grph1/scpack/scpkt8.rb +1 -1
  24. data/demo/grph1/sgpack/sgfont.rb +1 -1
  25. data/demo/grph1/sgpack/sgfonz.rb +1 -1
  26. data/demo/grph1/sgpack/sgksx1.rb +1 -1
  27. data/demo/grph1/sgpack/sgksx2.rb +1 -1
  28. data/demo/grph1/sgpack/sgksx3.rb +1 -1
  29. data/demo/grph1/sgpack/sglidx.rb +1 -1
  30. data/demo/grph1/sgpack/sgltyp.rb +1 -1
  31. data/demo/grph1/sgpack/sgpk01.rb +1 -1
  32. data/demo/grph1/sgpack/sgpk02.rb +1 -1
  33. data/demo/grph1/sgpack/sgpk03.rb +1 -1
  34. data/demo/grph1/sgpack/sgpk04.rb +1 -1
  35. data/demo/grph1/sgpack/sgpk05.rb +1 -1
  36. data/demo/grph1/sgpack/sgpk06.rb +1 -1
  37. data/demo/grph1/sgpack/sgpk07.rb +1 -1
  38. data/demo/grph1/sgpack/sgpk08.rb +1 -1
  39. data/demo/grph1/sgpack/sgpk09.rb +1 -1
  40. data/demo/grph1/sgpack/sgpk10.rb +1 -1
  41. data/demo/grph1/sgpack/sgtclr.rb +1 -1
  42. data/demo/grph1/sgpack/sgtone.rb +1 -1
  43. data/demo/grph1/sgpack/sgtonz.rb +1 -1
  44. data/demo/grph1/slpack/slpk01.rb +1 -1
  45. data/demo/grph1/slpack/slpk02.rb +1 -1
  46. data/demo/grph1/slpack/slpk03.rb +1 -1
  47. data/demo/grph1/slpack/slpk04.rb +1 -1
  48. data/demo/grph2/grpack/grpk01.rb +1 -1
  49. data/demo/grph2/ucpack/ucpk01.rb +1 -1
  50. data/demo/grph2/ucpack/ucpk02.rb +1 -1
  51. data/demo/grph2/udegpk/u2df01.rb +1 -1
  52. data/demo/grph2/udegpk/u2df02.rb +1 -1
  53. data/demo/grph2/udegpk/u2df03.rb +1 -1
  54. data/demo/grph2/udegpk/u2df04.rb +1 -1
  55. data/demo/grph2/udegpk/u2df05.rb +1 -1
  56. data/demo/grph2/udegpk/u2df06.rb +1 -1
  57. data/demo/grph2/udegpk/u2df07.rb +1 -1
  58. data/demo/grph2/udegpk/u2df08.rb +1 -1
  59. data/demo/grph2/uipack/uipk01.rb +1 -1
  60. data/demo/grph2/uipack/uipk02.rb +1 -1
  61. data/demo/grph2/ulpack/ulpk01.rb +1 -1
  62. data/demo/grph2/ulpack/ulpk01n.rb +1 -1
  63. data/demo/grph2/ulpack/ulpk02.rb +1 -1
  64. data/demo/grph2/ulpack/ulpk02n.rb +1 -1
  65. data/demo/grph2/umpack/test01.rb +1 -1
  66. data/demo/grph2/umpack/test02.rb +1 -1
  67. data/demo/grph2/umpack/test03.rb +1 -1
  68. data/demo/grph2/umpack/test04.rb +1 -1
  69. data/demo/grph2/umpack/test05.rb +1 -1
  70. data/demo/grph2/umpack/test06.rb +1 -1
  71. data/demo/grph2/umpack/test07.rb +1 -1
  72. data/demo/grph2/umpack/test08.rb +1 -1
  73. data/demo/grph2/umpack/umpk01.rb +1 -1
  74. data/demo/grph2/umpack/umpk02.rb +1 -1
  75. data/demo/grph2/umpack/umpk03.rb +1 -1
  76. data/demo/grph2/umpack/umpk04.rb +1 -1
  77. data/demo/grph2/umpack/umpk05.rb +1 -1
  78. data/demo/grph2/uspack/uspk01.rb +1 -1
  79. data/demo/grph2/uspack/uspk02.rb +1 -1
  80. data/demo/grph2/uspack/uspk03.rb +1 -1
  81. data/demo/grph2/uspack/uspk04.rb +1 -1
  82. data/demo/grph2/uspack/uspk05.rb +1 -1
  83. data/demo/grph2/uspack/uspk06.rb +1 -1
  84. data/demo/grph2/uspack/uspk07.rb +1 -1
  85. data/demo/grph2/uspack/uspk08.rb +1 -1
  86. data/demo/grph2/uspack/uspk09.rb +1 -1
  87. data/demo/grph2/uspack/uspk10.rb +1 -1
  88. data/demo/grph2/uspack/uspk11.rb +1 -1
  89. data/demo/grph2/uspack/uspk12.rb +1 -1
  90. data/demo/grph2/uupack/uupk01.rb +1 -1
  91. data/demo/grph2/uupack/uupk02.rb +1 -1
  92. data/demo/grph2/uupack/uupk03.rb +1 -1
  93. data/demo/grph2/uupack/uupk04.rb +1 -1
  94. data/demo/grph2/uupack/uupk05.rb +1 -1
  95. data/demo/grph2/uupack/uupk06.rb +1 -1
  96. data/demo/grph2/uupack/uupk07.rb +1 -1
  97. data/demo/grph2/uxyzpk/uxyz01.rb +1 -1
  98. data/demo/grph2/uxyzpk/uxyz02.rb +1 -1
  99. data/demo/grph2/uxyzpk/uxyz03.rb +1 -1
  100. data/demo/grph2/uxyzpk/uxyz04.rb +1 -1
  101. data/demo/grph2/uxyzpk/uxyz05.rb +1 -1
  102. data/demo/grph2/uxyzpk/uxyz06.rb +1 -1
  103. data/demo/grph2/uxyzpk/uxyz07.rb +1 -1
  104. data/demo/grph2/uxyzpk/uxyz08.rb +1 -1
  105. data/demo/grph2/uxyzpk/uxyz09.rb +1 -1
  106. data/demo/grph2/uxyzpk/uxyz10.rb +1 -1
  107. data/demo/grph2/ximage/ximg01.rb +1 -1
  108. data/demo/math1/clsplib/cslb01.rb +1 -1
  109. data/demo/math2/fftlib/fftl01.rb +1 -1
  110. data/demo/math2/fftlib/fftl02.rb +1 -1
  111. data/demo/math2/intrlib/intr01.rb +1 -1
  112. data/demo/math2/rnmlib/rnml01.rb +1 -1
  113. data/demo/math2/vstlib/vstl01.rb +1 -1
  114. data/demo/math2/vstlib/vstl02.rb +1 -1
  115. data/demo/rakuraku/color/color1.rb +1 -1
  116. data/demo/rakuraku/color/color2.rb +1 -1
  117. data/demo/rakuraku/color/color3.rb +1 -1
  118. data/demo/rakuraku/kihon/kihon1.rb +1 -1
  119. data/demo/rakuraku/kihon/kihon2.rb +1 -1
  120. data/demo/rakuraku/kihon/kihon3.rb +1 -1
  121. data/demo/rakuraku/kihon/kihon4.rb +1 -1
  122. data/demo/rakuraku/kihon/kihon5.rb +1 -1
  123. data/demo/rakuraku/kihon/kihon6.rb +1 -1
  124. data/demo/rakuraku/kihon/kihon7.rb +1 -1
  125. data/demo/rakuraku/kihon/kihon8.rb +1 -1
  126. data/demo/rakuraku/kihon/kihon9.rb +1 -1
  127. data/demo/rakuraku/kihon/kihona.rb +1 -1
  128. data/demo/rakuraku/kihon/kihonb.rb +1 -1
  129. data/demo/rakuraku/kihon/kihonc.rb +1 -1
  130. data/demo/rakuraku/layout/lay1.rb +1 -1
  131. data/demo/rakuraku/layout/lay2.rb +1 -1
  132. data/demo/rakuraku/layout/lay3.rb +1 -1
  133. data/demo/rakuraku/map3d/map3d1.rb +1 -1
  134. data/demo/rakuraku/map3d/map3d2.rb +1 -1
  135. data/demo/rakuraku/map3d/map3d3.rb +1 -1
  136. data/demo/rakuraku/map3d/map3d4.rb +1 -1
  137. data/demo/rakuraku/map3d/map3d5.rb +1 -1
  138. data/demo/rakuraku/miss/miss1.rb +1 -1
  139. data/demo/rakuraku/miss/miss2.rb +1 -1
  140. data/demo/rakuraku/quick/quick1.rb +1 -1
  141. data/demo/rakuraku/quick/quick2.rb +1 -1
  142. data/demo/rakuraku/quick/quick3.rb +1 -1
  143. data/demo/rakuraku/quick/quick4.rb +1 -1
  144. data/demo/rakuraku/quick/quick5.rb +1 -1
  145. data/demo/rakuraku/u2d/u2d1.rb +1 -1
  146. data/demo/rakuraku/u2d/u2d2.rb +1 -1
  147. data/demo/rakuraku/u2d/u2d3.rb +1 -1
  148. data/demo/rakuraku/u2d/u2d4.rb +1 -1
  149. data/demo/rakuraku/u2d/u2d5.rb +1 -1
  150. data/demo/rakuraku/u2d/u2d6.rb +1 -1
  151. data/demo/rakuraku/u2d/u2d7.rb +1 -1
  152. data/demo/rakuraku/uspack/uspac1.rb +1 -1
  153. data/demo/rakuraku/uspack/uspac2.rb +1 -1
  154. data/demo/rakuraku/uspack/uspac3.rb +1 -1
  155. data/demo/rakuraku/uspack/uspac4.rb +1 -1
  156. data/demo/rakuraku/uxyz/uxyz1.rb +1 -1
  157. data/demo/rakuraku/uxyz/uxyz2.rb +1 -1
  158. data/demo/rakuraku/uxyz/uxyz3.rb +1 -1
  159. data/demo/rakuraku/uxyz/uxyz4.rb +1 -1
  160. data/demo/rakuraku/uxyz/uxyz5.rb +1 -1
  161. data/demo/rakuraku/uxyz/uxyz6.rb +1 -1
  162. data/demo/rakuraku/uxyz/uxyz7.rb +1 -1
  163. data/demo/rakuraku/uxyz/uxyz8.rb +1 -1
  164. data/ext/numru/dcl_cary2obj.c +28 -23
  165. data/ext/numru/dcl_obj2cary.c +8 -4
  166. data/ext/numru/dcl_rubydcloriginal.c +14 -4
  167. data/ext/numru/extconf.rb +9 -51
  168. data/ext/numru/grph1_csgi.c +9 -5
  169. data/ext/numru/grph1_scpack.c +9 -5
  170. data/ext/numru/grph1_sgpack.c +9 -5
  171. data/ext/numru/grph1_slpack.c +9 -5
  172. data/ext/numru/grph1_stpack.c +9 -5
  173. data/ext/numru/grph1_swpack.c +69 -5
  174. data/ext/numru/grph2_grpack.c +9 -5
  175. data/ext/numru/grph2_ucpack.c +9 -5
  176. data/ext/numru/grph2_udpack.c +9 -5
  177. data/ext/numru/grph2_uepack.c +9 -5
  178. data/ext/numru/grph2_ugpack.c +9 -5
  179. data/ext/numru/grph2_uhpack.c +9 -5
  180. data/ext/numru/grph2_uipack.c +9 -5
  181. data/ext/numru/grph2_ulpack.c +9 -5
  182. data/ext/numru/grph2_umpack.c +9 -5
  183. data/ext/numru/grph2_uspack.c +9 -5
  184. data/ext/numru/grph2_uupack.c +9 -5
  185. data/ext/numru/grph2_uvpack.c +9 -5
  186. data/ext/numru/grph2_uwpack.c +9 -5
  187. data/ext/numru/grph2_uxpack.c +9 -5
  188. data/ext/numru/grph2_uypack.c +9 -5
  189. data/ext/numru/grph2_uzpack.c +9 -5
  190. data/ext/numru/init.c +202 -0
  191. data/ext/numru/init.c.default +7 -0
  192. data/ext/numru/math1_blklib.c +9 -5
  193. data/ext/numru/math1_chrlib.c +9 -5
  194. data/ext/numru/math1_clsplib.c +9 -5
  195. data/ext/numru/math1_fnclib.c +9 -5
  196. data/ext/numru/math1_gnmlib.c +9 -5
  197. data/ext/numru/math1_gt2dlib.c +9 -5
  198. data/ext/numru/math1_ifalib.c +9 -5
  199. data/ext/numru/math1_indxlib.c +9 -5
  200. data/ext/numru/math1_intlib.c +9 -5
  201. data/ext/numru/math1_lrllib.c +9 -5
  202. data/ext/numru/math1_maplib.c +9 -5
  203. data/ext/numru/math1_oslib.c +9 -5
  204. data/ext/numru/math1_rfalib.c +9 -5
  205. data/ext/numru/math1_rfblib.c +9 -5
  206. data/ext/numru/math1_sublib.c +9 -5
  207. data/ext/numru/math1_syslib.c +9 -5
  208. data/ext/numru/math1_vialib.c +9 -5
  209. data/ext/numru/math1_viblib.c +9 -5
  210. data/ext/numru/math1_vralib.c +9 -5
  211. data/ext/numru/math1_vrblib.c +9 -5
  212. data/ext/numru/math1_xfclib.c +9 -5
  213. data/ext/numru/math2_fftlib.c +9 -5
  214. data/ext/numru/math2_intrlib.c +9 -5
  215. data/ext/numru/math2_rnmlib.c +9 -5
  216. data/ext/numru/math2_shtlib.c +9 -5
  217. data/ext/numru/math2_vstlib.c +9 -5
  218. data/ext/numru/misc1_chnlib.c +9 -5
  219. data/ext/numru/misc1_datelib.c +9 -5
  220. data/ext/numru/misc1_fmtlib.c +9 -5
  221. data/ext/numru/misc1_misclib.c +9 -5
  222. data/ext/numru/misc1_randlib.c +9 -5
  223. data/ext/numru/misc1_timelib.c +9 -5
  224. data/lib/numru/dcl.rb +6 -5580
  225. data/lib/numru/dcl/dcl.rb +5591 -0
  226. data/lib/numru/dcl/version.rb +5 -0
  227. data/ruby-dcl-bigmem.gemspec +36 -0
  228. data/ruby-dcl.gemspec +10 -9
  229. metadata +17 -93
  230. data/.gitignore +0 -13
  231. data/.rspec +0 -2
  232. data/.travis.yml +0 -3
  233. data/GenWrapper/cproto2init.rb +0 -41
  234. data/GenWrapper/dcl_narrayed_funcs.rb +0 -181
  235. data/GenWrapper/dcl_rb_footing +0 -29
  236. data/GenWrapper/dcl_rb_heading +0 -123
  237. data/GenWrapper/def.rb +0 -20
  238. data/GenWrapper/elim_ary_size.rb +0 -398
  239. data/GenWrapper/etc/p_header +0 -64
  240. data/GenWrapper/pparse.rb +0 -137
  241. data/GenWrapper/proto/grph1_00 +0 -17
  242. data/GenWrapper/proto/grph1_csgi.fp +0 -27
  243. data/GenWrapper/proto/grph1_scpack.fp +0 -442
  244. data/GenWrapper/proto/grph1_sgpack.fp +0 -1772
  245. data/GenWrapper/proto/grph1_slpack.fp +0 -316
  246. data/GenWrapper/proto/grph1_stpack.fp +0 -455
  247. data/GenWrapper/proto/grph1_swpack.fp +0 -826
  248. data/GenWrapper/proto/grph2_00 +0 -16
  249. data/GenWrapper/proto/grph2_grpack.fp +0 -139
  250. data/GenWrapper/proto/grph2_ucpack.fp +0 -522
  251. data/GenWrapper/proto/grph2_udpack.fp +0 -692
  252. data/GenWrapper/proto/grph2_uepack.fp +0 -601
  253. data/GenWrapper/proto/grph2_ugpack.fp +0 -436
  254. data/GenWrapper/proto/grph2_uhpack.fp +0 -246
  255. data/GenWrapper/proto/grph2_uipack.fp +0 -508
  256. data/GenWrapper/proto/grph2_ulpack.fp +0 -516
  257. data/GenWrapper/proto/grph2_umpack.fp +0 -676
  258. data/GenWrapper/proto/grph2_uspack.fp +0 -989
  259. data/GenWrapper/proto/grph2_uupack.fp +0 -663
  260. data/GenWrapper/proto/grph2_uvpack.fp +0 -246
  261. data/GenWrapper/proto/grph2_uwpack.fp +0 -203
  262. data/GenWrapper/proto/grph2_uxpack.fp +0 -295
  263. data/GenWrapper/proto/grph2_uypack.fp +0 -295
  264. data/GenWrapper/proto/grph2_uzpack.fp +0 -574
  265. data/GenWrapper/proto/math1_00 +0 -12
  266. data/GenWrapper/proto/math1_blklib.fp +0 -58
  267. data/GenWrapper/proto/math1_chrlib.fp +0 -83
  268. data/GenWrapper/proto/math1_clsplib.fp +0 -74
  269. data/GenWrapper/proto/math1_fnclib.fp +0 -79
  270. data/GenWrapper/proto/math1_gnmlib.fp +0 -118
  271. data/GenWrapper/proto/math1_gt2dlib.fp +0 -144
  272. data/GenWrapper/proto/math1_ifalib.fp +0 -123
  273. data/GenWrapper/proto/math1_indxlib.fp +0 -222
  274. data/GenWrapper/proto/math1_intlib.fp +0 -46
  275. data/GenWrapper/proto/math1_lrllib.fp +0 -276
  276. data/GenWrapper/proto/math1_maplib.fp +0 -24
  277. data/GenWrapper/proto/math1_oslib.fp +0 -28
  278. data/GenWrapper/proto/math1_rfalib.fp +0 -420
  279. data/GenWrapper/proto/math1_rfblib.fp +0 -51
  280. data/GenWrapper/proto/math1_sublib.fp +0 -60
  281. data/GenWrapper/proto/math1_syslib.fp +0 -767
  282. data/GenWrapper/proto/math1_vialib.fp +0 -339
  283. data/GenWrapper/proto/math1_viblib.fp +0 -264
  284. data/GenWrapper/proto/math1_vralib.fp +0 -339
  285. data/GenWrapper/proto/math1_vrblib.fp +0 -264
  286. data/GenWrapper/proto/math1_xfclib.fp +0 -68
  287. data/GenWrapper/proto/math2_00 +0 -12
  288. data/GenWrapper/proto/math2_fftlib.fp +0 -803
  289. data/GenWrapper/proto/math2_intrlib.fp +0 -32
  290. data/GenWrapper/proto/math2_odelib.fp_notused +0 -568
  291. data/GenWrapper/proto/math2_rnmlib.fp +0 -54
  292. data/GenWrapper/proto/math2_shtlib.fp +0 -1292
  293. data/GenWrapper/proto/math2_vstlib.fp +0 -84
  294. data/GenWrapper/proto/misc1_00 +0 -17
  295. data/GenWrapper/proto/misc1_chnlib.fp +0 -47
  296. data/GenWrapper/proto/misc1_datelib.fp +0 -352
  297. data/GenWrapper/proto/misc1_fmtlib.fp +0 -19
  298. data/GenWrapper/proto/misc1_misclib.fp +0 -26
  299. data/GenWrapper/proto/misc1_randlib.fp +0 -50
  300. data/GenWrapper/proto/misc1_timelib.fp +0 -151
  301. data/GenWrapper/proto2c.rb +0 -13
  302. data/GenWrapper/prototype.rb +0 -209
  303. data/GenWrapper/util.rb +0 -9
  304. data/GenWrapper/variable.rb +0 -671
  305. data/ToDo +0 -2
  306. data/bin/console +0 -14
  307. data/bin/setup +0 -7
@@ -0,0 +1,5 @@
1
+ module NumRu
2
+ module DCL
3
+ VERSION = "1.8.0"
4
+ end
5
+ end
@@ -0,0 +1,36 @@
1
+ # coding: utf-8
2
+ require "rubygems" unless defined?(Gem)
3
+
4
+ lib = File.expand_path('../lib', __FILE__)
5
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6
+ require 'numru/dcl/version'
7
+
8
+ genwrapper_extfile = Dir::glob('ext/**/*.c')
9
+ genwrapper_libfile = Dir::glob('lib/**/*.rb')
10
+ filelist = `git ls-files | egrep -v '^GenWrapper|^.git|^ToDo'`.split("\n")
11
+ filelist.concat(genwrapper_extfile)
12
+ filelist.concat(genwrapper_libfile)
13
+ filelist.uniq!
14
+
15
+ Gem::Specification.new do |spec|
16
+ spec.name = "ruby-dcl-bigmem"
17
+ spec.version = NumRu::DCL::VERSION
18
+ spec.authors = ["T. Horinouchi", "K. Kuroi", "K. Goto"\
19
+ ,"S. Nishizawa", "T. Koshiro",'GFD Dennou Club']
20
+ spec.email = ["eriko@gfd-dennou.org"]
21
+
22
+ spec.summary = %q{one-to-one interface to the DCL graphic library}
23
+ spec.description = %q{RubyDCL is a ruby interface to the scientific graphic library DCL. It supports all the subroutines and functions in DCL on a one-to-one basis. }
24
+ spec.homepage = 'http://www.gfd-dennou.org/arch/ruby/products/ruby-dcl/'
25
+ spec.licenses = ["BSD-2-Clause"]
26
+
27
+ spec.files = filelist
28
+ spec.test_files = spec.files.grep(%r{^demo/})
29
+ spec.require_paths = ["ext","lib"]
30
+ spec.extensions << "ext/numru/extconf.rb"
31
+
32
+ spec.required_ruby_version = Gem::Requirement.new(">= 1.6")
33
+ spec.add_runtime_dependency(%q<narray-bigmem>)
34
+ spec.add_runtime_dependency(%q<narray_miss-bigmem>, [">= 0"])
35
+ spec.add_development_dependency(%q<gtk2>, [">= 0"])
36
+ end
@@ -3,7 +3,14 @@ require "rubygems" unless defined?(Gem)
3
3
 
4
4
  lib = File.expand_path('../lib', __FILE__)
5
5
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6
- require "numru/dcl"
6
+ require 'numru/dcl/version'
7
+
8
+ genwrapper_extfile = Dir::glob('ext/**/*.c')
9
+ genwrapper_libfile = Dir::glob('lib/**/*.rb')
10
+ filelist = `git ls-files | egrep -v '^GenWrapper|^.git|^ToDo'`.split("\n")
11
+ filelist.concat(genwrapper_extfile)
12
+ filelist.concat(genwrapper_libfile)
13
+ filelist.uniq!
7
14
 
8
15
  Gem::Specification.new do |spec|
9
16
  spec.name = "ruby-dcl"
@@ -12,18 +19,12 @@ Gem::Specification.new do |spec|
12
19
  ,"S. Nishizawa", "T. Koshiro",'GFD Dennou Club']
13
20
  spec.email = ["eriko@gfd-dennou.org"]
14
21
 
15
- #if spec.respond_to?(:metadata)
16
- # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com' to prevent pushes to rubygems.org, or delete to allow pushes to any server."
17
- #end
18
-
19
22
  spec.summary = %q{one-to-one interface to the DCL graphic library}
20
23
  spec.description = %q{RubyDCL is a ruby interface to the scientific graphic library DCL. It supports all the subroutines and functions in DCL on a one-to-one basis. }
21
24
  spec.homepage = 'http://www.gfd-dennou.org/arch/ruby/products/ruby-dcl/'
22
- spec.licenses = ["GFD Dennou Club"]
25
+ spec.licenses = ["BSD-2-Clause"]
23
26
 
24
- spec.files = `git ls-files -z`.split("\x0")
25
- #spec.bindir = "exe"
26
- #spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
+ spec.files = filelist
27
28
  spec.test_files = spec.files.grep(%r{^demo/})
28
29
  spec.require_paths = ["ext","lib"]
29
30
  spec.extensions << "ext/numru/extconf.rb"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-dcl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - T. Horinouchi
@@ -13,48 +13,48 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2015-03-18 00:00:00.000000000 Z
16
+ date: 2016-06-22 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: narray
20
20
  requirement: !ruby/object:Gem::Requirement
21
21
  requirements:
22
- - - '>='
22
+ - - ">="
23
23
  - !ruby/object:Gem::Version
24
24
  version: 0.5.5
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
28
28
  requirements:
29
- - - '>='
29
+ - - ">="
30
30
  - !ruby/object:Gem::Version
31
31
  version: 0.5.5
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: narray_miss
34
34
  requirement: !ruby/object:Gem::Requirement
35
35
  requirements:
36
- - - '>='
36
+ - - ">="
37
37
  - !ruby/object:Gem::Version
38
38
  version: '0'
39
39
  type: :runtime
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
42
42
  requirements:
43
- - - '>='
43
+ - - ">="
44
44
  - !ruby/object:Gem::Version
45
45
  version: '0'
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: gtk2
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  requirements:
50
- - - '>='
50
+ - - ">="
51
51
  - !ruby/object:Gem::Version
52
52
  version: '0'
53
53
  type: :development
54
54
  prerelease: false
55
55
  version_requirements: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - '>='
57
+ - - ">="
58
58
  - !ruby/object:Gem::Version
59
59
  version: '0'
60
60
  description: 'RubyDCL is a ruby interface to the scientific graphic library DCL. It
@@ -66,91 +66,11 @@ extensions:
66
66
  - ext/numru/extconf.rb
67
67
  extra_rdoc_files: []
68
68
  files:
69
- - .gitignore
70
- - .rspec
71
- - .travis.yml
72
- - ChangeLog
69
+ - ".ChangeLog.until20150318"
73
70
  - Gemfile
74
- - GenWrapper/Makefile
75
- - GenWrapper/cproto2init.rb
76
- - GenWrapper/dcl_narrayed_funcs.rb
77
- - GenWrapper/dcl_rb_footing
78
- - GenWrapper/dcl_rb_heading
79
- - GenWrapper/def.rb
80
- - GenWrapper/elim_ary_size.rb
81
- - GenWrapper/etc/p_header
82
- - GenWrapper/pparse.rb
83
- - GenWrapper/proto/Makefile
84
- - GenWrapper/proto/grph1_00
85
- - GenWrapper/proto/grph1_csgi.fp
86
- - GenWrapper/proto/grph1_scpack.fp
87
- - GenWrapper/proto/grph1_sgpack.fp
88
- - GenWrapper/proto/grph1_slpack.fp
89
- - GenWrapper/proto/grph1_stpack.fp
90
- - GenWrapper/proto/grph1_swpack.fp
91
- - GenWrapper/proto/grph2_00
92
- - GenWrapper/proto/grph2_grpack.fp
93
- - GenWrapper/proto/grph2_ucpack.fp
94
- - GenWrapper/proto/grph2_udpack.fp
95
- - GenWrapper/proto/grph2_uepack.fp
96
- - GenWrapper/proto/grph2_ugpack.fp
97
- - GenWrapper/proto/grph2_uhpack.fp
98
- - GenWrapper/proto/grph2_uipack.fp
99
- - GenWrapper/proto/grph2_ulpack.fp
100
- - GenWrapper/proto/grph2_umpack.fp
101
- - GenWrapper/proto/grph2_uspack.fp
102
- - GenWrapper/proto/grph2_uupack.fp
103
- - GenWrapper/proto/grph2_uvpack.fp
104
- - GenWrapper/proto/grph2_uwpack.fp
105
- - GenWrapper/proto/grph2_uxpack.fp
106
- - GenWrapper/proto/grph2_uypack.fp
107
- - GenWrapper/proto/grph2_uzpack.fp
108
- - GenWrapper/proto/math1_00
109
- - GenWrapper/proto/math1_blklib.fp
110
- - GenWrapper/proto/math1_chrlib.fp
111
- - GenWrapper/proto/math1_clsplib.fp
112
- - GenWrapper/proto/math1_fnclib.fp
113
- - GenWrapper/proto/math1_gnmlib.fp
114
- - GenWrapper/proto/math1_gt2dlib.fp
115
- - GenWrapper/proto/math1_ifalib.fp
116
- - GenWrapper/proto/math1_indxlib.fp
117
- - GenWrapper/proto/math1_intlib.fp
118
- - GenWrapper/proto/math1_lrllib.fp
119
- - GenWrapper/proto/math1_maplib.fp
120
- - GenWrapper/proto/math1_oslib.fp
121
- - GenWrapper/proto/math1_rfalib.fp
122
- - GenWrapper/proto/math1_rfblib.fp
123
- - GenWrapper/proto/math1_sublib.fp
124
- - GenWrapper/proto/math1_syslib.fp
125
- - GenWrapper/proto/math1_vialib.fp
126
- - GenWrapper/proto/math1_viblib.fp
127
- - GenWrapper/proto/math1_vralib.fp
128
- - GenWrapper/proto/math1_vrblib.fp
129
- - GenWrapper/proto/math1_xfclib.fp
130
- - GenWrapper/proto/math2_00
131
- - GenWrapper/proto/math2_fftlib.fp
132
- - GenWrapper/proto/math2_intrlib.fp
133
- - GenWrapper/proto/math2_odelib.fp_notused
134
- - GenWrapper/proto/math2_rnmlib.fp
135
- - GenWrapper/proto/math2_shtlib.fp
136
- - GenWrapper/proto/math2_vstlib.fp
137
- - GenWrapper/proto/misc1_00
138
- - GenWrapper/proto/misc1_chnlib.fp
139
- - GenWrapper/proto/misc1_datelib.fp
140
- - GenWrapper/proto/misc1_fmtlib.fp
141
- - GenWrapper/proto/misc1_misclib.fp
142
- - GenWrapper/proto/misc1_randlib.fp
143
- - GenWrapper/proto/misc1_timelib.fp
144
- - GenWrapper/proto2c.rb
145
- - GenWrapper/prototype.rb
146
- - GenWrapper/util.rb
147
- - GenWrapper/variable.rb
148
71
  - LICENSE.txt
149
72
  - README
150
73
  - Rakefile
151
- - ToDo
152
- - bin/console
153
- - bin/setup
154
74
  - demo/gokuraku/hop/hop.rb
155
75
  - demo/gokuraku/jump/jump1.rb
156
76
  - demo/gokuraku/jump/jump2.rb
@@ -355,6 +275,7 @@ files:
355
275
  - ext/numru/grph2_uxpack.c
356
276
  - ext/numru/grph2_uypack.c
357
277
  - ext/numru/grph2_uzpack.c
278
+ - ext/numru/init.c
358
279
  - ext/numru/init.c.default
359
280
  - ext/numru/math1_blklib.c
360
281
  - ext/numru/math1_chrlib.c
@@ -389,13 +310,16 @@ files:
389
310
  - ext/numru/misc1_randlib.c
390
311
  - ext/numru/misc1_timelib.c
391
312
  - lib/numru/dcl.rb
313
+ - lib/numru/dcl/dcl.rb
314
+ - lib/numru/dcl/version.rb
392
315
  - obsolete/README
393
316
  - obsolete/dcl_ext.html
394
317
  - obsolete/dcl_ext.rb
318
+ - ruby-dcl-bigmem.gemspec
395
319
  - ruby-dcl.gemspec
396
320
  homepage: http://www.gfd-dennou.org/arch/ruby/products/ruby-dcl/
397
321
  licenses:
398
- - GFD Dennou Club
322
+ - BSD-2-Clause
399
323
  metadata: {}
400
324
  post_install_message:
401
325
  rdoc_options: []
@@ -404,17 +328,17 @@ require_paths:
404
328
  - lib
405
329
  required_ruby_version: !ruby/object:Gem::Requirement
406
330
  requirements:
407
- - - '>='
331
+ - - ">="
408
332
  - !ruby/object:Gem::Version
409
333
  version: '1.6'
410
334
  required_rubygems_version: !ruby/object:Gem::Requirement
411
335
  requirements:
412
- - - '>='
336
+ - - ">="
413
337
  - !ruby/object:Gem::Version
414
338
  version: '0'
415
339
  requirements: []
416
340
  rubyforge_project:
417
- rubygems_version: 2.4.6
341
+ rubygems_version: 2.2.2
418
342
  signing_key:
419
343
  specification_version: 4
420
344
  summary: one-to-one interface to the DCL graphic library
data/.gitignore DELETED
@@ -1,13 +0,0 @@
1
- *.[oa]
2
- *~
3
- *.so
4
- *.log
5
- Makefile
6
- /.bundle/
7
- /.yardoc
8
- /Gemfile.lock
9
- /_yardoc/
10
- /coverage/
11
- /pkg/
12
- /spec/reports/
13
- /tmp/
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --format documentation
2
- --color
@@ -1,3 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.0.0
@@ -1,41 +0,0 @@
1
- # Program: cproto2init.rb
2
- # 2000/11/20 Takeshi Horinouchi
3
- # Usage:
4
- #
5
- # % ruby cproto2init.rb cprotofile
6
- #
7
- # Here, cprotofile is the name of the C program obtained by,
8
- # for example,
9
- #
10
- # ruby proto2c.rb grph2_grpack.fp > grph2_grpack.c
11
- #
12
- # The package name is determined from the file name such as
13
- # 'grph2_grpack'.
14
-
15
- package = $*[0].gsub(/.*\//,'').sub(/\..*/,'') # remove directory name
16
- # and suffix
17
- print("void\n","init_",package,"(mDCL)\n","VALUE mDCL;\n","{\n")
18
-
19
- macro_dclver = false
20
-
21
- while (line=gets)
22
- case line
23
- when /^static VALUE/
24
- funcdef = gets.chop
25
- func = funcdef.sub(/\(.*$/,'')
26
- nargs = funcdef.delete('^,').length
27
- method = func.sub(/dcl_/,'')
28
- print(' rb_define_module_function(mDCL, "',method,
29
- '", ',func,", ",nargs,");\n")
30
- when /^#if *DCLVER/
31
- macro_dclver = true
32
- print line
33
- when /^#endif/
34
- if macro_dclver
35
- print line
36
- macro_dclver = false
37
- end
38
- end
39
- end
40
-
41
- print "}\n"
@@ -1,181 +0,0 @@
1
- # -*- C -*-
2
- # USAGE: ruby dcl_narray_funcs.rb
3
- # --> creates ../dcl_narray_funcs.c
4
-
5
- require "erb"
6
-
7
- erbsrc = <<EOS
8
- <% rr2rr_funcs = %w[ stftrf stitrf stfpr2 stipr2 mpfcyl mpicyl mpfmer mpimer mpfmwd mpimwd mpfmwl mpimwl mpfhmr mpihmr mpfek6 mpiek6 mpfktd mpiktd mpfcon mpicon mpfcoa mpicoa mpfcoc mpicoc mpfbon mpibon mpfotg mpiotg mpfpst mpipst mpfazm mpiazm mpfaza mpiaza ct2pc ct2cp ct2ec ct2bc ct2hc ct2ch ]
9
- %>
10
- /*
11
- * Original methods of Ruby-DCL
12
- *
13
- * Alert: DO NOT EDIT THIS FILE!!!
14
- * This file was automatically generated by GenWrapper/dcl_narray_funcs.rb
15
- */
16
-
17
- #include <stdio.h>
18
- #include "ruby.h"
19
- #include "libtinyf2c.h"
20
- #include "narray.h"
21
-
22
- /* for compatibility with ruby 1.6 */
23
- #ifndef RARRAY_LEN
24
- #define RARRAY_LEN(a) (RARRAY(a)->len)
25
- #endif
26
-
27
- #define DFLT_SIZE 32
28
-
29
- extern char *dcl_obj2ccharary(VALUE, int, int);
30
- extern integer *dcl_obj2cintegerary(VALUE);
31
- extern real *dcl_obj2crealary(VALUE);
32
- extern complex *dcl_obj2ccomplexary(VALUE);
33
- extern logical *dcl_obj2clogicalary(VALUE);
34
-
35
- extern VALUE dcl_ccharary2obj(char *, int, int);
36
- extern VALUE dcl_cintegerary2obj(integer *, int, int, int *);
37
- extern VALUE dcl_crealary2obj(real *, int, int, int *);
38
- extern VALUE dcl_ccomplexary2obj(complex *, int, char *);
39
- extern VALUE dcl_clogicalary2obj(logical *, int, int, int *);
40
-
41
- extern void dcl_freeccharary(char *);
42
- extern void dcl_freecintegerary(integer *);
43
- extern void dcl_freecrealary(real *);
44
- extern void dcl_freeccomplexary(complex *);
45
- extern void dcl_freeclogicalary(logical *);
46
-
47
- /* for functions which return real */
48
- /* fnclib */
49
- extern real rd2r_(real *);
50
- extern real rr2d_(real *);
51
- extern real rexp_(real *, integer *, integer *);
52
- extern real rfpi_(void);
53
- extern real rmod_(real *, real *);
54
- /* gnmlib */
55
- extern real rgnlt_(real *);
56
- extern real rgnle_(real *);
57
- extern real rgngt_(real *);
58
- extern real rgnge_(real *);
59
- /* rfalib */
60
- extern real rmax_(real *, integer *, integer *);
61
- extern real rmin_(real *, integer *, integer *);
62
- extern real rsum_(real *, integer *, integer *);
63
- extern real rave_(real *, integer *, integer *);
64
- extern real rvar_(real *, integer *, integer *);
65
- extern real rstd_(real *, integer *, integer *);
66
- extern real rrms_(real *, integer *, integer *);
67
- extern real ramp_(real *, integer *, integer *);
68
- /* rfblib */
69
- extern real rprd_(real *, real *, integer *, integer *, integer *);
70
- extern real rcov_(real *, real *, integer *, integer *, integer *);
71
- extern real rcor_(real *, real *, integer *, integer *, integer *);
72
-
73
- <% rr2rr_funcs.each do |func| %>
74
- extern int <%= func%>_(real*,real*,real*,real*);
75
- <% end %>
76
-
77
- extern VALUE mDCL;
78
-
79
- /* driver of real*2->real*2 functions such as STFTRF
80
- */
81
- static VALUE
82
- dcl_rr2rr_num(obj, ux, uy, func)
83
- VALUE obj, ux, uy;
84
- int (*func)(real*,real*,real*,real*);
85
- {
86
- real i_ux;
87
- real i_uy;
88
- real o_vx;
89
- real o_vy;
90
- VALUE vx;
91
- VALUE vy;
92
-
93
- if (TYPE(ux) != T_FLOAT) {
94
- ux = rb_funcall(ux, rb_intern("to_f"), 0);
95
- }
96
- if (TYPE(uy) != T_FLOAT) {
97
- uy = rb_funcall(uy, rb_intern("to_f"), 0);
98
- }
99
-
100
- i_ux = (real)NUM2DBL(ux);
101
- i_uy = (real)NUM2DBL(uy);
102
-
103
-
104
- (*func)(&i_ux, &i_uy, &o_vx, &o_vy);
105
-
106
- vx = rb_float_new((double)o_vx);
107
- vy = rb_float_new((double)o_vy);
108
-
109
-
110
- return rb_ary_new3(2, vx, vy);
111
-
112
- }
113
-
114
- /* driver of real*2->real*2 functions such as STFTRF
115
- */
116
- static VALUE
117
- dcl_rr2rr_na(obj, p, q, func)
118
- VALUE obj, p, q;
119
- int (*func)(real*,real*,real*,real*);
120
- {
121
- VALUE r, s; // return value
122
- real *i_p, *i_q;
123
- real *i_r, *i_s;
124
- size_t len,j,lenq;
125
-
126
- i_p = dcl_obj2crealary(p);
127
- i_q = dcl_obj2crealary(q);
128
- len = (TYPE(p)==T_ARRAY) ? RARRAY_LEN(p) : NA_TOTAL(p) ;
129
- lenq = (TYPE(q)==T_ARRAY) ? RARRAY_LEN(q) : NA_TOTAL(q) ;
130
- if (len != lenq) {
131
- rb_raise(rb_eArgError, "lengths of the 1st & 2nd args do not agree");
132
- }
133
-
134
- r = na_make_object(NA_SFLOAT, 1, &len, cNArray);
135
- s = na_make_object(NA_SFLOAT, 1, &len, cNArray);
136
- i_r = NA_PTR_TYPE(r,real*);
137
- i_s = NA_PTR_TYPE(s,real*);
138
-
139
- for(j=0; j<len; j++){
140
- (*func)(i_p+j, i_q+j, i_r+j, i_s+j);
141
- }
142
-
143
- return rb_ary_new3(2, r, s);
144
- }
145
-
146
- static VALUE
147
- dcl_rr2rr(obj, p, q, func)
148
- VALUE obj, p, q;
149
- int (*func)(real*,real*,real*,real*);
150
- {
151
- switch (TYPE(p)){
152
- case T_DATA:
153
- case T_ARRAY:
154
- return( dcl_rr2rr_na(obj, p, q, func) );
155
- default:
156
- return( dcl_rr2rr_num(obj, p, q, func) );
157
- }
158
- }
159
-
160
-
161
- <% rr2rr_funcs.each do |func| %>
162
- static VALUE
163
- dcl_<%= func%>(obj, p, q)
164
- VALUE obj, p, q;
165
- { return( dcl_rr2rr(obj, p, q, &<%= func%>_) ); }
166
- <% end %>
167
-
168
- void
169
- init_narrayed_funcs(mDCL)
170
- VALUE mDCL;
171
- {
172
- <% rr2rr_funcs.each do |func| %>
173
- rb_define_module_function(mDCL, "<%= func%>", dcl_<%= func%>, 2);
174
- <% end %>
175
- }
176
-
177
- EOS
178
-
179
- File.open('../dcl_narrayed_funcs.c','w'){|f| f.print(ERB.new(erbsrc).result)}
180
-
181
-