ace-debugger-ruby_core_source 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (296) hide show
  1. data/CHANGELOG.md +26 -0
  2. data/LEGAL +534 -0
  3. data/LICENSE.txt +22 -0
  4. data/OLD_README +29 -0
  5. data/README.md +31 -0
  6. data/RUBY_LICENSE +56 -0
  7. data/Rakefile +33 -0
  8. data/ace-debugger-ruby_core_source.gemspec +18 -0
  9. data/lib/debugger/ruby_core_source.rb +62 -0
  10. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/debug.h +36 -0
  11. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/dln.h +41 -0
  12. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/encdb.h +163 -0
  13. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/eval_intern.h +232 -0
  14. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/gc.h +77 -0
  15. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/id.h +170 -0
  16. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/insns.inc +179 -0
  17. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/insns_info.inc +695 -0
  18. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/iseq.h +104 -0
  19. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/known_errors.inc +731 -0
  20. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/method.h +103 -0
  21. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/node.h +483 -0
  22. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/node_name.inc +208 -0
  23. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/opt_sc.inc +670 -0
  24. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/optinsn.inc +30 -0
  25. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/optunifs.inc +116 -0
  26. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/parse.h +187 -0
  27. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/regenc.h +211 -0
  28. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/regint.h +841 -0
  29. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/regparse.h +354 -0
  30. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/revision.h +1 -0
  31. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/thread_pthread.h +27 -0
  32. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/thread_win32.h +33 -0
  33. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/timev.h +21 -0
  34. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/transcode_data.h +109 -0
  35. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/transdb.h +179 -0
  36. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/version.h +55 -0
  37. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm.inc +3055 -0
  38. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm_core.h +707 -0
  39. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm_exec.h +184 -0
  40. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm_insnhelper.h +208 -0
  41. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm_opts.h +51 -0
  42. data/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vmtc.inc +97 -0
  43. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/debug.h +36 -0
  44. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/dln.h +41 -0
  45. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/encdb.h +163 -0
  46. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/eval_intern.h +232 -0
  47. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/gc.h +77 -0
  48. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/id.h +170 -0
  49. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/insns.inc +179 -0
  50. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/insns_info.inc +695 -0
  51. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/iseq.h +104 -0
  52. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/known_errors.inc +731 -0
  53. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/method.h +103 -0
  54. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/node.h +483 -0
  55. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/node_name.inc +208 -0
  56. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/opt_sc.inc +670 -0
  57. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/optinsn.inc +30 -0
  58. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/optunifs.inc +116 -0
  59. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/parse.h +186 -0
  60. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/regenc.h +211 -0
  61. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/regint.h +841 -0
  62. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/regparse.h +354 -0
  63. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/revision.h +1 -0
  64. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/thread_pthread.h +27 -0
  65. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/thread_win32.h +33 -0
  66. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/timev.h +21 -0
  67. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/transcode_data.h +109 -0
  68. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/transdb.h +179 -0
  69. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/version.h +55 -0
  70. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm.inc +3055 -0
  71. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm_core.h +706 -0
  72. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm_exec.h +184 -0
  73. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm_insnhelper.h +208 -0
  74. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm_opts.h +51 -0
  75. data/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vmtc.inc +97 -0
  76. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/debug.h +36 -0
  77. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/dln.h +41 -0
  78. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/encdb.h +163 -0
  79. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/eval_intern.h +232 -0
  80. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/gc.h +77 -0
  81. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/id.h +170 -0
  82. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/insns.inc +179 -0
  83. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/insns_info.inc +695 -0
  84. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/iseq.h +104 -0
  85. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/known_errors.inc +731 -0
  86. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/method.h +103 -0
  87. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/node.h +483 -0
  88. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/node_name.inc +208 -0
  89. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/opt_sc.inc +670 -0
  90. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/optinsn.inc +30 -0
  91. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/optunifs.inc +116 -0
  92. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/parse.h +186 -0
  93. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/regenc.h +211 -0
  94. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/regint.h +841 -0
  95. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/regparse.h +354 -0
  96. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/revision.h +1 -0
  97. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/thread_pthread.h +27 -0
  98. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/thread_win32.h +33 -0
  99. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/timev.h +21 -0
  100. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/transcode_data.h +109 -0
  101. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/transdb.h +179 -0
  102. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/version.h +55 -0
  103. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm.inc +3055 -0
  104. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm_core.h +706 -0
  105. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm_exec.h +184 -0
  106. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm_insnhelper.h +208 -0
  107. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm_opts.h +51 -0
  108. data/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vmtc.inc +97 -0
  109. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/addr2line.h +21 -0
  110. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/atomic.h +56 -0
  111. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/constant.h +34 -0
  112. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/debug.h +41 -0
  113. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/dln.h +50 -0
  114. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/encdb.h +167 -0
  115. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/eval_intern.h +234 -0
  116. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/gc.h +98 -0
  117. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/id.h +175 -0
  118. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/insns.inc +179 -0
  119. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/insns_info.inc +695 -0
  120. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/internal.h +227 -0
  121. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/iseq.h +125 -0
  122. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/known_errors.inc +731 -0
  123. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/method.h +105 -0
  124. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/node.h +503 -0
  125. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/node_name.inc +208 -0
  126. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/opt_sc.inc +670 -0
  127. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/optinsn.inc +30 -0
  128. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/optunifs.inc +116 -0
  129. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/parse.h +186 -0
  130. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/regenc.h +219 -0
  131. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/regint.h +851 -0
  132. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/regparse.h +362 -0
  133. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/revision.h +1 -0
  134. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/thread_pthread.h +51 -0
  135. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/thread_win32.h +40 -0
  136. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/timev.h +21 -0
  137. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/transcode_data.h +117 -0
  138. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/transdb.h +189 -0
  139. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/version.h +52 -0
  140. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm.inc +3067 -0
  141. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm_core.h +756 -0
  142. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm_exec.h +184 -0
  143. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm_insnhelper.h +220 -0
  144. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm_opts.h +51 -0
  145. data/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vmtc.inc +97 -0
  146. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/addr2line.h +21 -0
  147. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/atomic.h +56 -0
  148. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/constant.h +34 -0
  149. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/debug.h +41 -0
  150. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/dln.h +50 -0
  151. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/encdb.h +167 -0
  152. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/eval_intern.h +234 -0
  153. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/gc.h +98 -0
  154. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/id.h +175 -0
  155. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/insns.inc +179 -0
  156. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/insns_info.inc +695 -0
  157. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/internal.h +231 -0
  158. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/iseq.h +125 -0
  159. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/known_errors.inc +731 -0
  160. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/method.h +105 -0
  161. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/node.h +503 -0
  162. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/node_name.inc +208 -0
  163. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/opt_sc.inc +670 -0
  164. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/optinsn.inc +30 -0
  165. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/optunifs.inc +116 -0
  166. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/parse.h +186 -0
  167. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/regenc.h +219 -0
  168. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/regint.h +850 -0
  169. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/regparse.h +362 -0
  170. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/revision.h +1 -0
  171. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/thread_pthread.h +51 -0
  172. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/thread_win32.h +40 -0
  173. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/timev.h +21 -0
  174. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/transcode_data.h +117 -0
  175. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/transdb.h +189 -0
  176. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/version.h +52 -0
  177. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm.inc +3067 -0
  178. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm_core.h +756 -0
  179. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm_exec.h +184 -0
  180. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm_insnhelper.h +220 -0
  181. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm_opts.h +51 -0
  182. data/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vmtc.inc +97 -0
  183. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/addr2line.h +21 -0
  184. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/atomic.h +56 -0
  185. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/constant.h +34 -0
  186. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/debug.h +41 -0
  187. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/dln.h +50 -0
  188. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/encdb.h +167 -0
  189. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/eval_intern.h +234 -0
  190. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/gc.h +98 -0
  191. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/id.h +175 -0
  192. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/insns.inc +179 -0
  193. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/insns_info.inc +695 -0
  194. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/internal.h +232 -0
  195. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/iseq.h +125 -0
  196. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/known_errors.inc +731 -0
  197. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/method.h +105 -0
  198. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/node.h +503 -0
  199. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/node_name.inc +208 -0
  200. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/opt_sc.inc +670 -0
  201. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/optinsn.inc +30 -0
  202. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/optunifs.inc +116 -0
  203. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/parse.h +186 -0
  204. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/regenc.h +219 -0
  205. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/regint.h +850 -0
  206. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/regparse.h +362 -0
  207. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/revision.h +1 -0
  208. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/thread_pthread.h +51 -0
  209. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/thread_win32.h +40 -0
  210. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/timev.h +21 -0
  211. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/transcode_data.h +117 -0
  212. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/transdb.h +189 -0
  213. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/version.h +52 -0
  214. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm.inc +3051 -0
  215. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm_core.h +756 -0
  216. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm_exec.h +184 -0
  217. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm_insnhelper.h +220 -0
  218. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm_opts.h +51 -0
  219. data/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vmtc.inc +97 -0
  220. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/addr2line.h +21 -0
  221. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/atomic.h +56 -0
  222. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/constant.h +34 -0
  223. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/debug.h +41 -0
  224. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/dln.h +50 -0
  225. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/encdb.h +167 -0
  226. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/eval_intern.h +234 -0
  227. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/gc.h +99 -0
  228. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/id.h +175 -0
  229. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/insns.inc +179 -0
  230. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/insns_info.inc +695 -0
  231. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/internal.h +232 -0
  232. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/iseq.h +125 -0
  233. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/known_errors.inc +731 -0
  234. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/method.h +105 -0
  235. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/node.h +503 -0
  236. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/node_name.inc +208 -0
  237. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/opt_sc.inc +670 -0
  238. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/optinsn.inc +30 -0
  239. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/optunifs.inc +116 -0
  240. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/parse.h +302 -0
  241. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/regenc.h +219 -0
  242. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/regint.h +850 -0
  243. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/regparse.h +362 -0
  244. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/revision.h +1 -0
  245. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/thread_pthread.h +51 -0
  246. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/thread_win32.h +40 -0
  247. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/timev.h +21 -0
  248. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/transcode_data.h +117 -0
  249. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/transdb.h +189 -0
  250. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/version.h +52 -0
  251. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm.inc +3054 -0
  252. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm_core.h +756 -0
  253. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm_exec.h +184 -0
  254. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm_insnhelper.h +220 -0
  255. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm_opts.h +51 -0
  256. data/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vmtc.inc +97 -0
  257. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/addr2line.h +21 -0
  258. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/atomic.h +56 -0
  259. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/constant.h +34 -0
  260. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/debug.h +41 -0
  261. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/dln.h +50 -0
  262. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/encdb.h +167 -0
  263. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/eval_intern.h +234 -0
  264. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/gc.h +99 -0
  265. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/id.h +175 -0
  266. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/insns.inc +179 -0
  267. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/insns_info.inc +695 -0
  268. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/internal.h +239 -0
  269. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/iseq.h +125 -0
  270. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/known_errors.inc +731 -0
  271. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/method.h +105 -0
  272. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/node.h +503 -0
  273. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/node_name.inc +208 -0
  274. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/opt_sc.inc +670 -0
  275. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/optinsn.inc +30 -0
  276. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/optunifs.inc +116 -0
  277. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/parse.h +302 -0
  278. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/regenc.h +219 -0
  279. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/regint.h +850 -0
  280. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/regparse.h +362 -0
  281. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/revision.h +1 -0
  282. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/siphash.h +48 -0
  283. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/thread_pthread.h +51 -0
  284. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/thread_win32.h +40 -0
  285. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/timev.h +21 -0
  286. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/transcode_data.h +117 -0
  287. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/transdb.h +189 -0
  288. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/version.h +52 -0
  289. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm.inc +3054 -0
  290. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm_core.h +756 -0
  291. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm_exec.h +184 -0
  292. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm_insnhelper.h +220 -0
  293. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm_opts.h +51 -0
  294. data/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vmtc.inc +97 -0
  295. data/lib/debugger/ruby_core_source/version.rb +5 -0
  296. metadata +373 -0
@@ -0,0 +1,22 @@
1
+ The MIT LICENSE
2
+
3
+ Copyright (c) 2012 Gabriel Horner
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,29 @@
1
+ Retrieve ruby core source files.
2
+
3
+ This can be used by any C extension gem that needs Ruby core headers (*.h and *.inc)
4
+
5
+ Usage:
6
+
7
+ Ruby_core_source::create_makefile_with_core(hdr_check_proc, gem_name)
8
+ takes the place of
9
+ create_makefile(gem_name)
10
+ in your extconf.rb
11
+
12
+ This will:
13
+ If hdr_check_proc is true, call create_makefile(gem_name)
14
+ Else: if core headers already exist, and hdr_check_proc is true, call create_makefile(gem_name)
15
+ Else: fetch and extract the core headers, check hdr_check_proc, and call create_makefile(gem_name)
16
+ Else: return false
17
+
18
+ Note that for Ruby preview releases, the corresponding RUBY_REVISION needs to be maintained in
19
+ http://cloud.github.com/downloads/mark-moseley/ruby_core_source/preview_revision.yml
20
+
21
+ Example use in extconf.rb:
22
+
23
+ require 'ruby_core_source'
24
+ hdrs = proc { have_header("vm_core.h") and have_header("iseq.h") }
25
+ dir_config("ruby") # allow user to pass in non-standard core include directory
26
+ if !Ruby_core_source::create_makefile_with_core(hdrs, "foo")
27
+ # error
28
+ exit(1)
29
+ end
@@ -0,0 +1,31 @@
1
+ ## Description
2
+ Fork of [ruby\_core\_source](https://github.com/mark-moseley/ruby_core_source)
3
+ that uses included Ruby headers (\*.h and \*.inc) instead of downloading
4
+ them. Used by [debugger](http://github.com/cldwalker/debugger).
5
+
6
+ ##Usage
7
+
8
+ Example use in extconf.rb:
9
+
10
+ ```ruby
11
+ require 'ruby_core_source'
12
+ hdrs = proc { have_header("vm_core.h") and have_header("iseq.h") }
13
+ dir_config("ruby") # allow user to pass in non-standard core include directory
14
+ if !Ruby_core_source::create_makefile_with_core(hdrs, "foo")
15
+ # error
16
+ exit(1)
17
+ end
18
+ ```
19
+
20
+ To add another ruby version's source to this gem's directory:
21
+
22
+ $ rake add_source VERSION=1.9.3-p0
23
+
24
+ ##Credits
25
+ * @stepheneb for 1.9.2-p320 headers
26
+ * @jeremy for 1.9.3-p286 headers
27
+
28
+ ## LICENSE
29
+ Ruby library code is MIT license, see LICENSE.txt. Included ruby headers,
30
+ lib/debugger/ruby\_core\_source/, are mostly Ruby license, see RUBY\_LICENSE. Some headers have
31
+ their own licenses, see LEGAL.
@@ -0,0 +1,56 @@
1
+ Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
2
+ You can redistribute it and/or modify it under either the terms of the
3
+ 2-clause BSDL (see the file BSDL), or the conditions below:
4
+
5
+ 1. You may make and give away verbatim copies of the source form of the
6
+ software without restriction, provided that you duplicate all of the
7
+ original copyright notices and associated disclaimers.
8
+
9
+ 2. You may modify your copy of the software in any way, provided that
10
+ you do at least ONE of the following:
11
+
12
+ a) place your modifications in the Public Domain or otherwise
13
+ make them Freely Available, such as by posting said
14
+ modifications to Usenet or an equivalent medium, or by allowing
15
+ the author to include your modifications in the software.
16
+
17
+ b) use the modified software only within your corporation or
18
+ organization.
19
+
20
+ c) give non-standard binaries non-standard names, with
21
+ instructions on where to get the original software distribution.
22
+
23
+ d) make other distribution arrangements with the author.
24
+
25
+ 3. You may distribute the software in object code or binary form,
26
+ provided that you do at least ONE of the following:
27
+
28
+ a) distribute the binaries and library files of the software,
29
+ together with instructions (in the manual page or equivalent)
30
+ on where to get the original distribution.
31
+
32
+ b) accompany the distribution with the machine-readable source of
33
+ the software.
34
+
35
+ c) give non-standard binaries non-standard names, with
36
+ instructions on where to get the original software distribution.
37
+
38
+ d) make other distribution arrangements with the author.
39
+
40
+ 4. You may modify and include the part of the software into any other
41
+ software (possibly commercial). But some files in the distribution
42
+ are not written by the author, so that they are not under these terms.
43
+
44
+ For the list of those files and their copying conditions, see the
45
+ file LEGAL.
46
+
47
+ 5. The scripts and library files supplied as input to or produced as
48
+ output from the software do not automatically fall under the
49
+ copyright of the software, but belong to whomever generated them,
50
+ and may be sold commercially, and may be aggregated with this
51
+ software.
52
+
53
+ 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
54
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
55
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
56
+ PURPOSE.
@@ -0,0 +1,33 @@
1
+ require 'tmpdir'
2
+ require 'open-uri'
3
+ require 'archive/tar/minitar'
4
+ require 'zlib'
5
+ require 'fileutils'
6
+ require 'rubygems/package_task'
7
+ require "bundler/gem_tasks"
8
+
9
+ desc 'Add ruby headers under lib for a given VERSION'
10
+ task :add_source do
11
+ version = ENV['VERSION'] or abort "Need a $VERSION"
12
+ ruby_dir = "ruby-#{version}"
13
+ uri_path = "http://ftp.ruby-lang.org/pub/ruby/1.9/#{ruby_dir}.tar.gz"
14
+ dest_dir = File.dirname(__FILE__) + "/lib/debugger/ruby_core_source/#{ruby_dir}"
15
+
16
+ puts "Downloading #{uri_path}..."
17
+ temp = open(uri_path)
18
+ puts "Unpacking #{uri_path}..."
19
+ tgz = Zlib::GzipReader.new(File.open(temp, "rb"))
20
+
21
+ FileUtils.mkdir_p(dest_dir)
22
+ Dir.mktmpdir do |dir|
23
+ inc_dir = dir + "/" + ruby_dir + "/*.inc"
24
+ hdr_dir = dir + "/" + ruby_dir + "/*.h"
25
+ Archive::Tar::Minitar.unpack(tgz, dir)
26
+ FileUtils.cp(Dir.glob([ inc_dir, hdr_dir ]), dest_dir)
27
+ end
28
+ end
29
+
30
+ base_spec = eval(File.read('ace-debugger-ruby_core_source.gemspec'), binding, 'ace-debugger-ruby_core_source.gemspec')
31
+ Gem::PackageTask.new(base_spec) do |pkg|
32
+ pkg.need_tar = true
33
+ end
@@ -0,0 +1,18 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require 'rubygems' unless defined? Gem
3
+ require File.dirname(__FILE__) + "/lib/debugger/ruby_core_source/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "ace-debugger-ruby_core_source"
7
+ s.version = Debugger::RubyCoreSource::VERSION
8
+ s.authors = ["Mark Moseley", "Gabriel Horner"]
9
+ s.email = "gabriel.horner@gmail.com"
10
+ s.homepage = "http://github.com/aceofsales/debugger-ruby_core_source"
11
+ s.summary = %q{Provide Ruby core source files}
12
+ s.description = %q{Provide Ruby core source files for C extensions that need them.}
13
+ s.required_rubygems_version = ">= 1.3.6"
14
+ s.extra_rdoc_files = [ "README.md"]
15
+ s.files = `git ls-files`.split("\n")
16
+ s.add_development_dependency "archive-tar-minitar", ">= 0.5.2"
17
+ s.add_development_dependency 'rake', '~> 0.9.2'
18
+ end
@@ -0,0 +1,62 @@
1
+ require 'debugger/ruby_core_source/version'
2
+ require 'rbconfig'
3
+
4
+ module Debugger
5
+ module RubyCoreSource
6
+ REVISION_MAP = {
7
+ 24186 => 'ruby-1.9.2-preview1',
8
+ 27362 => 'ruby-1.9.2-preview3',
9
+ 28524 => 'ruby-1.9.2-rc1',
10
+ 28618 => 'ruby-1.9.2-rc2',
11
+ 32789 => 'ruby-1.9.3-preview1',
12
+ 33323 => 'ruby-1.9.3-rc1'
13
+ }
14
+
15
+ def self.create_makefile_with_core(hdrs, name)
16
+ # First, see if the gem already has the needed headers
17
+ if hdrs.call
18
+ create_makefile(name)
19
+ return true
20
+ end
21
+
22
+ ruby_dir = if RUBY_PATCHLEVEL < 0
23
+ REVISION_MAP[RUBY_REVISION] or
24
+ no_source_abort("ruby-#{RUBY_VERSION} (revision #{RUBY_REVISION})")
25
+ else
26
+ "ruby-#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}"
27
+ end
28
+
29
+ # Check if core headers were already downloaded; if so, use them
30
+ if RbConfig::CONFIG["rubyhdrdir"]
31
+ dest_dir = RbConfig::CONFIG["rubyhdrdir"] + "/" + ruby_dir
32
+ with_cppflags("-I" + dest_dir) {
33
+ if hdrs.call
34
+ create_makefile(name)
35
+ return true
36
+ end
37
+ }
38
+ end
39
+
40
+ # Look for sources that ship with gem
41
+ dest_dir = File.dirname(__FILE__) + "/ruby_core_source/#{ruby_dir}"
42
+ no_source_abort(ruby_dir) unless File.directory?(dest_dir)
43
+
44
+ with_cppflags("-I" + dest_dir) {
45
+ if hdrs.call
46
+ create_makefile(name)
47
+ return true
48
+ end
49
+ }
50
+ return false
51
+ end
52
+
53
+ def self.no_source_abort(ruby_version)
54
+ abort <<-STR
55
+ Makefile creation failed
56
+ **************************************************************************
57
+ No source for #{ruby_version} provided with debugger-ruby_core_source gem.
58
+ **************************************************************************
59
+ STR
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,36 @@
1
+ /**********************************************************************
2
+
3
+ debug.h - YARV Debug function interface
4
+
5
+ $Author: akr $
6
+ created at: 04/08/25 02:33:49 JST
7
+
8
+ Copyright (C) 2004-2007 Koichi Sasada
9
+
10
+ **********************************************************************/
11
+
12
+ #ifndef RUBY_DEBUG_H
13
+ #define RUBY_DEBUG_H
14
+
15
+ #include "ruby/ruby.h"
16
+ #include "node.h"
17
+
18
+ #define dpv(h,v) ruby_debug_print_value(-1, 0, h, v)
19
+ #define dp(v) ruby_debug_print_value(-1, 0, "", v)
20
+ #define dpi(i) ruby_debug_print_id(-1, 0, "", i)
21
+ #define dpn(n) ruby_debug_print_node(-1, 0, "", n)
22
+
23
+ #define bp() ruby_debug_breakpoint()
24
+
25
+ VALUE ruby_debug_print_value(int level, int debug_level, const char *header, VALUE v);
26
+ ID ruby_debug_print_id(int level, int debug_level, const char *header, ID id);
27
+ NODE *ruby_debug_print_node(int level, int debug_level, const char *header, const NODE *node);
28
+ int ruby_debug_print_indent(int level, int debug_level, int indent_level);
29
+ void ruby_debug_breakpoint(void);
30
+ void ruby_debug_gc_check_func(void);
31
+
32
+ #ifdef RUBY_DEBUG_ENV
33
+ void ruby_set_debug_option(const char *str);
34
+ #endif
35
+
36
+ #endif /* RUBY_DEBUG_H */
@@ -0,0 +1,41 @@
1
+ /**********************************************************************
2
+
3
+ dln.h -
4
+
5
+ $Author: akr $
6
+ created at: Wed Jan 19 16:53:09 JST 1994
7
+
8
+ Copyright (C) 1993-2007 Yukihiro Matsumoto
9
+
10
+ **********************************************************************/
11
+
12
+ #ifndef DLN_H
13
+ #define DLN_H
14
+
15
+ #ifdef __cplusplus
16
+ # ifndef HAVE_PROTOTYPES
17
+ # define HAVE_PROTOTYPES 1
18
+ # endif
19
+ # ifndef HAVE_STDARG_PROTOTYPES
20
+ # define HAVE_STDARG_PROTOTYPES 1
21
+ # endif
22
+ #endif
23
+
24
+ #undef _
25
+ #ifdef HAVE_PROTOTYPES
26
+ # define _(args) args
27
+ #else
28
+ # define _(args) ()
29
+ #endif
30
+
31
+ DEPRECATED(char *dln_find_exe(const char*,const char*));
32
+ DEPRECATED(char *dln_find_file(const char*,const char*));
33
+ char *dln_find_exe_r(const char*,const char*,char*,size_t);
34
+ char *dln_find_file_r(const char*,const char*,char*,size_t);
35
+
36
+ #ifdef USE_DLN_A_OUT
37
+ extern char *dln_argv0;
38
+ #endif
39
+
40
+ void *dln_load(const char*);
41
+ #endif
@@ -0,0 +1,163 @@
1
+ ENC_DEFINE("ASCII-8BIT");
2
+ ENC_DEFINE("Big5");
3
+ ENC_DEFINE("Big5-HKSCS");
4
+ ENC_DEFINE("Big5-UAO");
5
+ ENC_DEFINE("CP949");
6
+ ENC_DEFINE("Emacs-Mule");
7
+ ENC_DEFINE("EUC-JP");
8
+ ENC_DEFINE("EUC-KR");
9
+ ENC_DEFINE("EUC-TW");
10
+ ENC_DEFINE("GB18030");
11
+ ENC_DEFINE("GBK");
12
+ ENC_DEFINE("ISO-8859-1");
13
+ ENC_DEFINE("ISO-8859-2");
14
+ ENC_DEFINE("ISO-8859-3");
15
+ ENC_DEFINE("ISO-8859-4");
16
+ ENC_DEFINE("ISO-8859-5");
17
+ ENC_DEFINE("ISO-8859-6");
18
+ ENC_DEFINE("ISO-8859-7");
19
+ ENC_DEFINE("ISO-8859-8");
20
+ ENC_DEFINE("ISO-8859-9");
21
+ ENC_DEFINE("ISO-8859-10");
22
+ ENC_DEFINE("ISO-8859-11");
23
+ ENC_DEFINE("ISO-8859-13");
24
+ ENC_DEFINE("ISO-8859-14");
25
+ ENC_DEFINE("ISO-8859-15");
26
+ ENC_DEFINE("ISO-8859-16");
27
+ ENC_DEFINE("KOI8-R");
28
+ ENC_DEFINE("KOI8-U");
29
+ ENC_DEFINE("Shift_JIS");
30
+ ENC_DEFINE("US-ASCII");
31
+ ENC_DEFINE("UTF-8");
32
+ ENC_DEFINE("UTF-16BE");
33
+ ENC_DEFINE("UTF-16LE");
34
+ ENC_DEFINE("UTF-32BE");
35
+ ENC_DEFINE("UTF-32LE");
36
+ ENC_DEFINE("Windows-1251");
37
+ ENC_ALIAS("BINARY", "ASCII-8BIT");
38
+ ENC_REPLICATE("IBM437", "ASCII-8BIT");
39
+ ENC_ALIAS("CP437", "IBM437");
40
+ ENC_REPLICATE("IBM737", "ASCII-8BIT");
41
+ ENC_ALIAS("CP737", "IBM737");
42
+ ENC_REPLICATE("IBM775", "ASCII-8BIT");
43
+ ENC_ALIAS("CP775", "IBM775");
44
+ ENC_REPLICATE("CP850", "ASCII-8BIT");
45
+ ENC_ALIAS("IBM850", "CP850");
46
+ ENC_REPLICATE("IBM852", "ASCII-8BIT");
47
+ ENC_REPLICATE("CP852", "IBM852");
48
+ ENC_REPLICATE("IBM855", "ASCII-8BIT");
49
+ ENC_REPLICATE("CP855", "IBM855");
50
+ ENC_REPLICATE("IBM857", "ASCII-8BIT");
51
+ ENC_ALIAS("CP857", "IBM857");
52
+ ENC_REPLICATE("IBM860", "ASCII-8BIT");
53
+ ENC_ALIAS("CP860", "IBM860");
54
+ ENC_REPLICATE("IBM861", "ASCII-8BIT");
55
+ ENC_ALIAS("CP861", "IBM861");
56
+ ENC_REPLICATE("IBM862", "ASCII-8BIT");
57
+ ENC_ALIAS("CP862", "IBM862");
58
+ ENC_REPLICATE("IBM863", "ASCII-8BIT");
59
+ ENC_ALIAS("CP863", "IBM863");
60
+ ENC_REPLICATE("IBM864", "ASCII-8BIT");
61
+ ENC_ALIAS("CP864", "IBM864");
62
+ ENC_REPLICATE("IBM865", "ASCII-8BIT");
63
+ ENC_ALIAS("CP865", "IBM865");
64
+ ENC_REPLICATE("IBM866", "ASCII-8BIT");
65
+ ENC_ALIAS("CP866", "IBM866");
66
+ ENC_REPLICATE("IBM869", "ASCII-8BIT");
67
+ ENC_ALIAS("CP869", "IBM869");
68
+ ENC_REPLICATE("Windows-1258", "ASCII-8BIT");
69
+ ENC_ALIAS("CP1258", "Windows-1258");
70
+ ENC_REPLICATE("GB1988", "ASCII-8BIT");
71
+ ENC_REPLICATE("macCentEuro", "ASCII-8BIT");
72
+ ENC_REPLICATE("macCroatian", "ASCII-8BIT");
73
+ ENC_REPLICATE("macCyrillic", "ASCII-8BIT");
74
+ ENC_REPLICATE("macGreek", "ASCII-8BIT");
75
+ ENC_REPLICATE("macIceland", "ASCII-8BIT");
76
+ ENC_REPLICATE("macRoman", "ASCII-8BIT");
77
+ ENC_REPLICATE("macRomania", "ASCII-8BIT");
78
+ ENC_REPLICATE("macThai", "ASCII-8BIT");
79
+ ENC_REPLICATE("macTurkish", "ASCII-8BIT");
80
+ ENC_REPLICATE("macUkraine", "ASCII-8BIT");
81
+ ENC_ALIAS("CP950", "Big5");
82
+ ENC_SET_BASE("Big5-HKSCS", "Big5");
83
+ ENC_ALIAS("CP951", "Big5-HKSCS");
84
+ ENC_SET_BASE("Big5-UAO", "Big5");
85
+ ENC_REPLICATE("stateless-ISO-2022-JP", "Emacs-Mule");
86
+ ENC_ALIAS("eucJP", "EUC-JP") /* UI-OSF Application Platform Profile for Japanese Environment Version 1.1 */;
87
+ ENC_REPLICATE("eucJP-ms", "EUC-JP") /* TOG/JVC CDE/Motif Technical WG */;
88
+ ENC_ALIAS("euc-jp-ms", "eucJP-ms");
89
+ ENC_REPLICATE("CP51932", "EUC-JP");
90
+ ENC_ALIAS("eucKR", "EUC-KR");
91
+ ENC_ALIAS("eucTW", "EUC-TW");
92
+ ENC_ALIAS("EUC-CN", "GB2312");
93
+ ENC_ALIAS("eucCN", "GB2312");
94
+ ENC_REPLICATE("GB12345", "GB2312");
95
+ ENC_ALIAS("CP936", "GBK");
96
+ ENC_DUMMY("ISO-2022-JP");
97
+ ENC_ALIAS("ISO2022-JP", "ISO-2022-JP");
98
+ ENC_REPLICATE("ISO-2022-JP-2", "ISO-2022-JP");
99
+ ENC_ALIAS("ISO2022-JP2", "ISO-2022-JP-2");
100
+ ENC_REPLICATE("CP50220", "ISO-2022-JP");
101
+ ENC_REPLICATE("CP50221", "ISO-2022-JP");
102
+ ENC_ALIAS("ISO8859-1", "ISO-8859-1");
103
+ ENC_REPLICATE("Windows-1252", "ISO-8859-1");
104
+ ENC_ALIAS("CP1252", "Windows-1252");
105
+ ENC_ALIAS("ISO8859-2", "ISO-8859-2");
106
+ ENC_REPLICATE("Windows-1250", "ISO-8859-2");
107
+ ENC_ALIAS("CP1250", "Windows-1250");
108
+ ENC_ALIAS("ISO8859-3", "ISO-8859-3");
109
+ ENC_ALIAS("ISO8859-4", "ISO-8859-4");
110
+ ENC_ALIAS("ISO8859-5", "ISO-8859-5");
111
+ ENC_ALIAS("ISO8859-6", "ISO-8859-6");
112
+ ENC_REPLICATE("Windows-1256", "ISO-8859-6");
113
+ ENC_ALIAS("CP1256", "Windows-1256");
114
+ ENC_ALIAS("ISO8859-7", "ISO-8859-7");
115
+ ENC_REPLICATE("Windows-1253", "ISO-8859-7");
116
+ ENC_ALIAS("CP1253", "Windows-1253");
117
+ ENC_ALIAS("ISO8859-8", "ISO-8859-8");
118
+ ENC_REPLICATE("Windows-1255", "ISO-8859-8");
119
+ ENC_ALIAS("CP1255", "Windows-1255");
120
+ ENC_ALIAS("ISO8859-9", "ISO-8859-9");
121
+ ENC_REPLICATE("Windows-1254", "ISO-8859-9");
122
+ ENC_ALIAS("CP1254", "Windows-1254");
123
+ ENC_ALIAS("ISO8859-10", "ISO-8859-10");
124
+ ENC_ALIAS("ISO8859-11", "ISO-8859-11");
125
+ ENC_REPLICATE("TIS-620", "ISO-8859-11");
126
+ ENC_REPLICATE("Windows-874", "ISO-8859-11");
127
+ ENC_ALIAS("CP874", "Windows-874");
128
+ ENC_ALIAS("ISO8859-13", "ISO-8859-13");
129
+ ENC_REPLICATE("Windows-1257", "ISO-8859-13");
130
+ ENC_ALIAS("CP1257", "Windows-1257");
131
+ ENC_ALIAS("ISO8859-14", "ISO-8859-14");
132
+ ENC_ALIAS("ISO8859-15", "ISO-8859-15");
133
+ ENC_ALIAS("ISO8859-16", "ISO-8859-16");
134
+ ENC_ALIAS("CP878", "KOI8-R");
135
+ ENC_ALIAS("SJIS", "Shift_JIS");
136
+ ENC_REPLICATE("Windows-31J", "Shift_JIS");
137
+ ENC_ALIAS("CP932", "Windows-31J");
138
+ ENC_ALIAS("csWindows31J", "Windows-31J") /* IANA. IE6 don't accept Windows-31J but csWindows31J. */;
139
+ ENC_REPLICATE("MacJapanese", "Shift_JIS");
140
+ ENC_ALIAS("MacJapan", "MacJapanese");
141
+ ENC_ALIAS("ASCII", "US-ASCII");
142
+ ENC_ALIAS("ANSI_X3.4-1968", "US-ASCII");
143
+ ENC_ALIAS("646", "US-ASCII");
144
+ ENC_DUMMY("UTF-7");
145
+ ENC_ALIAS("CP65000", "UTF-7");
146
+ ENC_ALIAS("CP65001", "UTF-8");
147
+ ENC_REPLICATE("UTF8-MAC", "UTF-8");
148
+ ENC_ALIAS("UTF-8-MAC", "UTF8-MAC");
149
+ ENC_ALIAS("UTF-8-HFS", "UTF8-MAC") /* Emacs 23.2 */;
150
+ ENC_ALIAS("UCS-2BE", "UTF-16BE");
151
+ ENC_ALIAS("UCS-4BE", "UTF-32BE");
152
+ ENC_ALIAS("UCS-4LE", "UTF-32LE");
153
+ ENC_ALIAS("CP1251", "Windows-1251");
154
+ ENC_REPLICATE("UTF8-DoCoMo", "UTF-8");
155
+ ENC_REPLICATE("SJIS-DoCoMo", "Windows-31J");
156
+ ENC_REPLICATE("UTF8-KDDI", "UTF-8");
157
+ ENC_REPLICATE("SJIS-KDDI", "Windows-31J");
158
+ ENC_REPLICATE("ISO-2022-JP-KDDI", "ISO-2022-JP");
159
+ ENC_REPLICATE("stateless-ISO-2022-JP-KDDI", "stateless-ISO-2022-JP");
160
+ ENC_REPLICATE("UTF8-SoftBank", "UTF-8");
161
+ ENC_REPLICATE("SJIS-SoftBank", "Windows-31J");
162
+
163
+ #define ENCODING_COUNT 95