script_core 0.2.5 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1576) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/CMakeLists.txt +1 -1
  4. data/Gemfile +3 -3
  5. data/README.md +8 -1
  6. data/ext/enterprise_script_service/Rakefile +1 -1
  7. data/ext/enterprise_script_service/flags.rb +2 -2
  8. data/ext/enterprise_script_service/libseccomp/.travis.yml +24 -12
  9. data/ext/enterprise_script_service/libseccomp/CHANGELOG +32 -0
  10. data/ext/enterprise_script_service/libseccomp/CONTRIBUTING.md +37 -26
  11. data/ext/enterprise_script_service/libseccomp/CREDITS +11 -0
  12. data/ext/enterprise_script_service/libseccomp/README.md +21 -1
  13. data/ext/enterprise_script_service/libseccomp/configure.ac +13 -8
  14. data/ext/enterprise_script_service/libseccomp/doc/Makefile.am +6 -0
  15. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_api_get.3 +12 -2
  16. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_arch_add.3 +38 -6
  17. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_attr_set.3 +53 -2
  18. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_export_bpf.3 +20 -2
  19. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_init.3 +9 -2
  20. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_load.3 +32 -2
  21. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_merge.3 +16 -2
  22. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_notify_alloc.3 +113 -0
  23. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_notify_fd.3 +1 -0
  24. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_notify_free.3 +1 -0
  25. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_notify_id_valid.3 +1 -0
  26. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_notify_receive.3 +1 -0
  27. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_notify_respond.3 +1 -0
  28. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_rule_add.3 +64 -3
  29. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_syscall_priority.3 +18 -3
  30. data/ext/enterprise_script_service/libseccomp/include/seccomp-syscalls.h +19 -0
  31. data/ext/enterprise_script_service/libseccomp/include/seccomp.h.in +116 -0
  32. data/ext/enterprise_script_service/libseccomp/src/.gitignore +2 -0
  33. data/ext/enterprise_script_service/libseccomp/src/Makefile.am +31 -17
  34. data/ext/enterprise_script_service/libseccomp/src/api.c +254 -58
  35. data/ext/enterprise_script_service/libseccomp/src/arch-aarch64.h +1 -9
  36. data/ext/enterprise_script_service/libseccomp/src/arch-arm.c +47 -2
  37. data/ext/enterprise_script_service/libseccomp/src/arch-arm.h +1 -9
  38. data/ext/enterprise_script_service/libseccomp/src/arch-gperf-generate +40 -0
  39. data/ext/enterprise_script_service/libseccomp/src/arch-mips.c +41 -4
  40. data/ext/enterprise_script_service/libseccomp/src/arch-mips.h +2 -10
  41. data/ext/enterprise_script_service/libseccomp/src/arch-mips64.c +41 -4
  42. data/ext/enterprise_script_service/libseccomp/src/arch-mips64.h +3 -11
  43. data/ext/enterprise_script_service/libseccomp/src/arch-mips64n32.c +41 -4
  44. data/ext/enterprise_script_service/libseccomp/src/arch-mips64n32.h +2 -10
  45. data/ext/enterprise_script_service/libseccomp/src/arch-parisc.h +1 -10
  46. data/ext/enterprise_script_service/libseccomp/src/arch-parisc64.c +3 -3
  47. data/ext/enterprise_script_service/libseccomp/src/arch-parisc64.h +29 -0
  48. data/ext/enterprise_script_service/libseccomp/src/arch-ppc.h +1 -9
  49. data/ext/enterprise_script_service/libseccomp/src/arch-ppc64.c +606 -8
  50. data/ext/enterprise_script_service/libseccomp/src/arch-ppc64.h +2 -10
  51. data/ext/enterprise_script_service/libseccomp/src/arch-riscv64.c +31 -0
  52. data/ext/enterprise_script_service/libseccomp/src/arch-riscv64.h +22 -0
  53. data/ext/enterprise_script_service/libseccomp/src/arch-s390.c +171 -12
  54. data/ext/enterprise_script_service/libseccomp/src/arch-s390.h +1 -17
  55. data/ext/enterprise_script_service/libseccomp/src/arch-s390x.c +166 -10
  56. data/ext/enterprise_script_service/libseccomp/src/arch-s390x.h +1 -20
  57. data/ext/enterprise_script_service/libseccomp/src/arch-syscall-dump.c +8 -1
  58. data/ext/enterprise_script_service/libseccomp/src/arch-syscall-validate +359 -143
  59. data/ext/enterprise_script_service/libseccomp/src/arch-x32.c +36 -2
  60. data/ext/enterprise_script_service/libseccomp/src/arch-x32.h +2 -10
  61. data/ext/enterprise_script_service/libseccomp/src/arch-x86.c +172 -10
  62. data/ext/enterprise_script_service/libseccomp/src/arch-x86.h +1 -14
  63. data/ext/enterprise_script_service/libseccomp/src/arch-x86_64.h +1 -9
  64. data/ext/enterprise_script_service/libseccomp/src/arch.c +11 -3
  65. data/ext/enterprise_script_service/libseccomp/src/arch.h +7 -0
  66. data/ext/enterprise_script_service/libseccomp/src/db.c +268 -57
  67. data/ext/enterprise_script_service/libseccomp/src/db.h +16 -2
  68. data/ext/enterprise_script_service/libseccomp/src/gen_bpf.c +503 -148
  69. data/ext/enterprise_script_service/libseccomp/src/gen_bpf.h +2 -1
  70. data/ext/enterprise_script_service/libseccomp/src/gen_pfc.c +165 -37
  71. data/ext/enterprise_script_service/libseccomp/src/python/libseccomp.pxd +37 -1
  72. data/ext/enterprise_script_service/libseccomp/src/python/seccomp.pyx +295 -5
  73. data/ext/enterprise_script_service/libseccomp/src/syscalls.c +56 -0
  74. data/ext/enterprise_script_service/libseccomp/src/syscalls.csv +470 -0
  75. data/ext/enterprise_script_service/libseccomp/src/syscalls.h +62 -0
  76. data/ext/enterprise_script_service/libseccomp/src/syscalls.perf.template +82 -0
  77. data/ext/enterprise_script_service/libseccomp/src/system.c +196 -16
  78. data/ext/enterprise_script_service/libseccomp/src/system.h +68 -13
  79. data/ext/enterprise_script_service/libseccomp/tests/.gitignore +10 -2
  80. data/ext/enterprise_script_service/libseccomp/tests/06-sim-actions.tests +1 -1
  81. data/ext/enterprise_script_service/libseccomp/tests/11-basic-basic_errors.c +5 -5
  82. data/ext/enterprise_script_service/libseccomp/tests/13-basic-attrs.c +35 -1
  83. data/ext/enterprise_script_service/libseccomp/tests/13-basic-attrs.py +10 -1
  84. data/ext/enterprise_script_service/libseccomp/tests/15-basic-resolver.c +4 -3
  85. data/ext/enterprise_script_service/libseccomp/tests/16-sim-arch_basic.c +12 -0
  86. data/ext/enterprise_script_service/libseccomp/tests/16-sim-arch_basic.py +1 -0
  87. data/ext/enterprise_script_service/libseccomp/tests/{18-sim-basic_whitelist.c → 18-sim-basic_allowlist.c} +0 -0
  88. data/ext/enterprise_script_service/libseccomp/tests/{18-sim-basic_whitelist.py → 18-sim-basic_allowlist.py} +0 -0
  89. data/ext/enterprise_script_service/libseccomp/tests/18-sim-basic_allowlist.tests +32 -0
  90. data/ext/enterprise_script_service/libseccomp/tests/23-sim-arch_all_le_basic.c +3 -0
  91. data/ext/enterprise_script_service/libseccomp/tests/23-sim-arch_all_le_basic.py +1 -0
  92. data/ext/enterprise_script_service/libseccomp/tests/30-sim-socket_syscalls.c +3 -0
  93. data/ext/enterprise_script_service/libseccomp/tests/30-sim-socket_syscalls.py +1 -0
  94. data/ext/enterprise_script_service/libseccomp/tests/30-sim-socket_syscalls.tests +33 -17
  95. data/ext/enterprise_script_service/libseccomp/tests/{34-sim-basic_blacklist.c → 34-sim-basic_denylist.c} +0 -0
  96. data/ext/enterprise_script_service/libseccomp/tests/{34-sim-basic_blacklist.py → 34-sim-basic_denylist.py} +0 -0
  97. data/ext/enterprise_script_service/libseccomp/tests/34-sim-basic_denylist.tests +32 -0
  98. data/ext/enterprise_script_service/libseccomp/tests/36-sim-ipc_syscalls.c +3 -0
  99. data/ext/enterprise_script_service/libseccomp/tests/36-sim-ipc_syscalls.py +1 -0
  100. data/ext/enterprise_script_service/libseccomp/tests/36-sim-ipc_syscalls.tests +25 -25
  101. data/ext/enterprise_script_service/libseccomp/tests/39-basic-api_level.c +24 -3
  102. data/ext/enterprise_script_service/libseccomp/tests/39-basic-api_level.py +16 -1
  103. data/ext/enterprise_script_service/libseccomp/tests/47-live-kill_process.c +3 -3
  104. data/ext/enterprise_script_service/libseccomp/tests/51-live-user_notification.c +112 -0
  105. data/ext/enterprise_script_service/libseccomp/tests/51-live-user_notification.py +60 -0
  106. data/ext/enterprise_script_service/libseccomp/tests/51-live-user_notification.tests +11 -0
  107. data/ext/enterprise_script_service/libseccomp/tests/52-basic-load.c +48 -0
  108. data/ext/enterprise_script_service/libseccomp/tests/52-basic-load.py +38 -0
  109. data/ext/enterprise_script_service/libseccomp/tests/52-basic-load.tests +11 -0
  110. data/ext/enterprise_script_service/libseccomp/tests/53-sim-binary_tree.c +156 -0
  111. data/ext/enterprise_script_service/libseccomp/tests/53-sim-binary_tree.py +95 -0
  112. data/ext/enterprise_script_service/libseccomp/tests/53-sim-binary_tree.tests +65 -0
  113. data/ext/enterprise_script_service/libseccomp/tests/54-live-binary_tree.c +128 -0
  114. data/ext/enterprise_script_service/libseccomp/tests/54-live-binary_tree.py +95 -0
  115. data/ext/enterprise_script_service/libseccomp/tests/54-live-binary_tree.tests +11 -0
  116. data/ext/enterprise_script_service/libseccomp/tests/55-basic-pfc_binary_tree.c +134 -0
  117. data/ext/enterprise_script_service/libseccomp/tests/55-basic-pfc_binary_tree.pfc +182 -0
  118. data/ext/enterprise_script_service/libseccomp/tests/55-basic-pfc_binary_tree.sh +46 -0
  119. data/ext/enterprise_script_service/libseccomp/tests/55-basic-pfc_binary_tree.tests +11 -0
  120. data/ext/enterprise_script_service/libseccomp/tests/56-basic-iterate_syscalls.c +90 -0
  121. data/ext/enterprise_script_service/libseccomp/tests/56-basic-iterate_syscalls.py +65 -0
  122. data/ext/enterprise_script_service/libseccomp/tests/56-basic-iterate_syscalls.tests +11 -0
  123. data/ext/enterprise_script_service/libseccomp/tests/57-basic-rawsysrc.c +64 -0
  124. data/ext/enterprise_script_service/libseccomp/tests/57-basic-rawsysrc.py +46 -0
  125. data/ext/enterprise_script_service/libseccomp/tests/57-basic-rawsysrc.tests +11 -0
  126. data/ext/enterprise_script_service/libseccomp/tests/58-live-tsync_notify.c +116 -0
  127. data/ext/enterprise_script_service/libseccomp/tests/58-live-tsync_notify.py +61 -0
  128. data/ext/enterprise_script_service/libseccomp/tests/58-live-tsync_notify.tests +11 -0
  129. data/ext/enterprise_script_service/libseccomp/tests/Makefile.am +34 -10
  130. data/ext/enterprise_script_service/libseccomp/tests/regression +10 -3
  131. data/ext/enterprise_script_service/libseccomp/tests/util.c +3 -3
  132. data/ext/enterprise_script_service/libseccomp/tools/Makefile.am +0 -3
  133. data/ext/enterprise_script_service/libseccomp/tools/check-syntax +1 -1
  134. data/ext/enterprise_script_service/libseccomp/tools/scmp_arch_detect.c +3 -0
  135. data/ext/enterprise_script_service/libseccomp/tools/scmp_bpf_disasm.c +4 -2
  136. data/ext/enterprise_script_service/libseccomp/tools/scmp_bpf_sim.c +4 -0
  137. data/ext/enterprise_script_service/libseccomp/tools/util.c +14 -12
  138. data/ext/enterprise_script_service/libseccomp/tools/util.h +7 -0
  139. data/ext/enterprise_script_service/mruby/.github/workflows/build.yml +149 -0
  140. data/ext/enterprise_script_service/mruby/.github/workflows/codeql-analysis.yml +55 -0
  141. data/ext/enterprise_script_service/mruby/.github/workflows/lint.yml +23 -0
  142. data/ext/enterprise_script_service/mruby/.github/workflows/oss-fuzz.yml +27 -0
  143. data/ext/enterprise_script_service/mruby/.github/workflows/spell-checker.yml +17 -0
  144. data/ext/enterprise_script_service/mruby/.gitignore +3 -0
  145. data/ext/enterprise_script_service/mruby/.gitlab-ci.yml +3 -3
  146. data/ext/enterprise_script_service/mruby/.markdownlint.yml +16 -0
  147. data/ext/enterprise_script_service/mruby/.travis.yml +7 -10
  148. data/ext/enterprise_script_service/mruby/.yamllint +8 -0
  149. data/ext/enterprise_script_service/mruby/AUTHORS +4 -0
  150. data/ext/enterprise_script_service/mruby/CODEOWNERS +1 -0
  151. data/ext/enterprise_script_service/mruby/CONTRIBUTING.md +6 -13
  152. data/ext/enterprise_script_service/mruby/Doxyfile +4 -4
  153. data/ext/enterprise_script_service/mruby/LICENSE +1 -1
  154. data/ext/enterprise_script_service/mruby/Makefile +1 -1
  155. data/ext/enterprise_script_service/mruby/README.md +5 -11
  156. data/ext/enterprise_script_service/mruby/Rakefile +18 -108
  157. data/ext/enterprise_script_service/mruby/TODO.md +17 -0
  158. data/ext/enterprise_script_service/mruby/appveyor.yml +29 -26
  159. data/ext/enterprise_script_service/mruby/benchmark/bm_ao_render.rb +1 -1
  160. data/ext/enterprise_script_service/mruby/{examples/targets/build_config_ArduinoDue.rb → build_config/ArduinoDue.rb} +4 -21
  161. data/ext/enterprise_script_service/mruby/{examples/targets/build_config_IntelEdison.rb → build_config/IntelEdison.rb} +4 -4
  162. data/ext/enterprise_script_service/mruby/{examples/targets/build_config_IntelGalileo.rb → build_config/IntelGalileo.rb} +3 -20
  163. data/ext/enterprise_script_service/mruby/{examples/targets/build_config_RX630.rb → build_config/RX630.rb} +4 -21
  164. data/ext/enterprise_script_service/mruby/build_config/android_arm64-v8a.rb +11 -0
  165. data/ext/enterprise_script_service/mruby/build_config/android_armeabi.rb +11 -0
  166. data/ext/enterprise_script_service/mruby/{examples/targets/build_config_android_armeabi_v7a_neon_hard.rb → build_config/android_armeabi_v7a_neon_hard.rb} +0 -15
  167. data/ext/enterprise_script_service/mruby/build_config/bench.rb +11 -0
  168. data/ext/enterprise_script_service/mruby/build_config/boxing.rb +21 -0
  169. data/ext/enterprise_script_service/mruby/{examples/targets/build_config_chipKITMax32.rb → build_config/chipKITMax32.rb} +4 -21
  170. data/ext/enterprise_script_service/mruby/{appveyor_config.rb → build_config/ci/gcc-clang.rb} +11 -8
  171. data/ext/enterprise_script_service/mruby/build_config/ci/msvc.rb +20 -0
  172. data/ext/enterprise_script_service/mruby/build_config/clang-asan.rb +11 -0
  173. data/ext/enterprise_script_service/mruby/build_config/cross-32bit.rb +14 -0
  174. data/ext/enterprise_script_service/mruby/build_config/default.rb +80 -0
  175. data/ext/enterprise_script_service/mruby/build_config/dreamcast_shelf.rb +94 -0
  176. data/ext/enterprise_script_service/mruby/build_config/gameboyadvance.rb +73 -0
  177. data/ext/enterprise_script_service/mruby/build_config/host-cxx.rb +12 -0
  178. data/ext/enterprise_script_service/mruby/build_config/host-debug.rb +20 -0
  179. data/ext/enterprise_script_service/mruby/build_config/host-gprof.rb +14 -0
  180. data/ext/enterprise_script_service/mruby/build_config/host-m32.rb +15 -0
  181. data/ext/enterprise_script_service/mruby/build_config/host-shared.rb +36 -0
  182. data/ext/enterprise_script_service/mruby/build_config/mrbc.rb +11 -0
  183. data/ext/enterprise_script_service/mruby/build_config/no-float.rb +17 -0
  184. data/ext/enterprise_script_service/mruby/build_config.rb +9 -152
  185. data/ext/enterprise_script_service/mruby/doc/guides/compile.md +142 -49
  186. data/ext/enterprise_script_service/mruby/doc/guides/debugger.md +5 -4
  187. data/ext/enterprise_script_service/mruby/doc/guides/gc-arena-howto.md +1 -1
  188. data/ext/enterprise_script_service/mruby/doc/guides/mrbconf.md +53 -30
  189. data/ext/enterprise_script_service/mruby/doc/guides/mrbgems.md +31 -14
  190. data/ext/enterprise_script_service/mruby/doc/guides/symbol.md +83 -0
  191. data/ext/enterprise_script_service/mruby/doc/limitations.md +35 -36
  192. data/ext/enterprise_script_service/mruby/doc/mruby3.md +163 -0
  193. data/ext/enterprise_script_service/mruby/doc/opcode.md +102 -103
  194. data/ext/enterprise_script_service/mruby/examples/mrbgems/c_and_ruby_extension_example/mrblib/example.rb +1 -1
  195. data/ext/enterprise_script_service/mruby/examples/mrbgems/c_and_ruby_extension_example/src/example.c +5 -1
  196. data/ext/enterprise_script_service/mruby/examples/mrbgems/c_extension_example/src/example.c +5 -1
  197. data/ext/enterprise_script_service/mruby/examples/mrbgems/ruby_extension_example/mrblib/example.rb +1 -1
  198. data/ext/enterprise_script_service/mruby/include/mrbconf.h +88 -66
  199. data/ext/enterprise_script_service/mruby/include/mruby/array.h +27 -6
  200. data/ext/enterprise_script_service/mruby/include/mruby/boxing_nan.h +80 -46
  201. data/ext/enterprise_script_service/mruby/include/mruby/boxing_no.h +8 -8
  202. data/ext/enterprise_script_service/mruby/include/mruby/boxing_word.h +76 -55
  203. data/ext/enterprise_script_service/mruby/include/mruby/class.h +10 -8
  204. data/ext/enterprise_script_service/mruby/include/mruby/common.h +14 -1
  205. data/ext/enterprise_script_service/mruby/include/mruby/compile.h +20 -6
  206. data/ext/enterprise_script_service/mruby/include/mruby/debug.h +2 -2
  207. data/ext/enterprise_script_service/mruby/include/mruby/dump.h +18 -52
  208. data/ext/enterprise_script_service/mruby/include/mruby/endian.h +44 -0
  209. data/ext/enterprise_script_service/mruby/include/mruby/error.h +39 -5
  210. data/ext/enterprise_script_service/mruby/include/mruby/gc.h +1 -0
  211. data/ext/enterprise_script_service/mruby/include/mruby/hash.h +33 -13
  212. data/ext/enterprise_script_service/mruby/include/mruby/irep.h +74 -14
  213. data/ext/enterprise_script_service/mruby/include/mruby/istruct.h +4 -1
  214. data/ext/enterprise_script_service/mruby/include/mruby/khash.h +19 -9
  215. data/ext/enterprise_script_service/mruby/include/mruby/numeric.h +37 -63
  216. data/ext/enterprise_script_service/mruby/include/mruby/opcode.h +1 -27
  217. data/ext/enterprise_script_service/mruby/include/mruby/ops.h +29 -24
  218. data/ext/enterprise_script_service/mruby/include/mruby/presym/disable.h +70 -0
  219. data/ext/enterprise_script_service/mruby/include/mruby/presym/enable.h +37 -0
  220. data/ext/enterprise_script_service/mruby/include/mruby/presym/scanning.h +73 -0
  221. data/ext/enterprise_script_service/mruby/include/mruby/presym.h +40 -0
  222. data/ext/enterprise_script_service/mruby/include/mruby/proc.h +93 -21
  223. data/ext/enterprise_script_service/mruby/include/mruby/string.h +12 -16
  224. data/ext/enterprise_script_service/mruby/include/mruby/throw.h +14 -3
  225. data/ext/enterprise_script_service/mruby/include/mruby/value.h +60 -59
  226. data/ext/enterprise_script_service/mruby/include/mruby/variable.h +1 -0
  227. data/ext/enterprise_script_service/mruby/include/mruby/version.h +25 -6
  228. data/ext/enterprise_script_service/mruby/include/mruby.h +160 -104
  229. data/ext/enterprise_script_service/mruby/lib/mruby/build/command.rb +71 -78
  230. data/ext/enterprise_script_service/mruby/lib/mruby/build/load_gems.rb +12 -10
  231. data/ext/enterprise_script_service/mruby/lib/mruby/build.rb +198 -72
  232. data/ext/enterprise_script_service/mruby/lib/{mruby-core-ext.rb → mruby/core_ext.rb} +10 -3
  233. data/ext/enterprise_script_service/mruby/lib/mruby/gem.rb +84 -32
  234. data/ext/enterprise_script_service/mruby/lib/mruby/lockfile.rb +1 -1
  235. data/ext/enterprise_script_service/mruby/lib/mruby/presym.rb +132 -0
  236. data/ext/enterprise_script_service/mruby/lib/mruby/source.rb +3 -1
  237. data/ext/enterprise_script_service/mruby/mrbgems/default-no-fpu.gembox +3 -0
  238. data/ext/enterprise_script_service/mruby/mrbgems/default-no-stdio.gembox +4 -0
  239. data/ext/enterprise_script_service/mruby/mrbgems/default.gembox +9 -81
  240. data/ext/enterprise_script_service/mruby/mrbgems/full-core.gembox +1 -4
  241. data/ext/enterprise_script_service/mruby/mrbgems/math.gembox +10 -0
  242. data/ext/enterprise_script_service/mruby/mrbgems/metaprog.gembox +15 -0
  243. data/ext/enterprise_script_service/mruby/mrbgems/mruby-array-ext/mrblib/array.rb +1 -32
  244. data/ext/enterprise_script_service/mruby/mrbgems/mruby-array-ext/src/array.c +10 -12
  245. data/ext/enterprise_script_service/mruby/mrbgems/mruby-array-ext/test/array.rb +0 -13
  246. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-config/mrbgem.rake +30 -18
  247. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-config/mruby-config +18 -8
  248. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/bintest/mrdb.rb +3 -6
  249. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/bintest/print.rb +10 -10
  250. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c +14 -9
  251. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apiprint.c +3 -2
  252. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c +4 -4
  253. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.h +2 -6
  254. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h +6 -2
  255. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mirb/bintest/mirb.rb +23 -5
  256. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mirb/mrbgem.rake +11 -2
  257. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c +46 -35
  258. data/ext/enterprise_script_service/mruby/mrbgems/{mruby-compiler → mruby-bin-mrbc}/bintest/mrbc.rb +0 -0
  259. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake +3 -4
  260. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c +41 -28
  261. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mruby/bintest/mruby.rb +25 -4
  262. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mruby/mrbgem.rake +1 -2
  263. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c +26 -6
  264. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-strip/bintest/mruby-strip.rb +1 -1
  265. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c +6 -2
  266. data/ext/enterprise_script_service/mruby/mrbgems/mruby-catch/mrbgem.rake +5 -0
  267. data/ext/enterprise_script_service/mruby/mrbgems/mruby-catch/mrblib/catch.rb +27 -0
  268. data/ext/enterprise_script_service/mruby/mrbgems/mruby-class-ext/src/class.c +7 -1
  269. data/ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/core/codegen.c +495 -436
  270. data/ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/core/keywords +5 -0
  271. data/ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/core/lex.def +49 -44
  272. data/ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/core/parse.y +637 -220
  273. data/ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/core/y.tab.c +13734 -0
  274. data/ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/mrbgem.rake +20 -23
  275. data/ext/enterprise_script_service/mruby/mrbgems/mruby-complex/mrblib/complex.rb +2 -2
  276. data/ext/enterprise_script_service/mruby/mrbgems/mruby-complex/src/complex.c +9 -9
  277. data/ext/enterprise_script_service/mruby/mrbgems/mruby-complex/test/complex.rb +4 -4
  278. data/ext/enterprise_script_service/mruby/mrbgems/mruby-enumerator/mrblib/enumerator.rb +1 -0
  279. data/ext/enterprise_script_service/mruby/mrbgems/mruby-enumerator/test/enumerator.rb +2 -2
  280. data/ext/enterprise_script_service/mruby/mrbgems/mruby-error/mrbgem.rake +2 -2
  281. data/ext/enterprise_script_service/mruby/mrbgems/mruby-error/src/exception.c +3 -3
  282. data/ext/enterprise_script_service/mruby/mrbgems/mruby-eval/src/eval.c +19 -238
  283. data/ext/enterprise_script_service/mruby/mrbgems/mruby-eval/test/eval.rb +21 -0
  284. data/ext/enterprise_script_service/mruby/mrbgems/mruby-fiber/src/fiber.c +19 -15
  285. data/ext/enterprise_script_service/mruby/mrbgems/mruby-hash-ext/src/hash-ext.c +31 -5
  286. data/ext/enterprise_script_service/mruby/mrbgems/mruby-hash-ext/test/hash.rb +7 -0
  287. data/ext/enterprise_script_service/mruby/mrbgems/mruby-inline-struct/test/inline.c +5 -6
  288. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/README.md +18 -16
  289. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/include/mruby/ext/io.h +39 -7
  290. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/mrbgem.rake +2 -8
  291. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/mrblib/file.rb +9 -4
  292. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/mrblib/file_constants.rb +0 -16
  293. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/mrblib/io.rb +9 -14
  294. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/src/file.c +107 -59
  295. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/src/file_test.c +22 -38
  296. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/src/io.c +417 -203
  297. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/test/file.rb +20 -12
  298. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/test/io.rb +33 -2
  299. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/test/mruby_io_test.c +58 -50
  300. data/ext/enterprise_script_service/mruby/mrbgems/mruby-kernel-ext/src/kernel.c +13 -14
  301. data/ext/enterprise_script_service/mruby/mrbgems/mruby-math/src/math.c +13 -12
  302. data/ext/enterprise_script_service/mruby/mrbgems/mruby-math/test/math.rb +5 -4
  303. data/ext/enterprise_script_service/mruby/mrbgems/mruby-metaprog/src/metaprog.c +56 -73
  304. data/ext/enterprise_script_service/mruby/mrbgems/mruby-metaprog/test/metaprog.rb +13 -4
  305. data/ext/enterprise_script_service/mruby/mrbgems/mruby-method/README.md +4 -3
  306. data/ext/enterprise_script_service/mruby/mrbgems/mruby-method/src/method.c +80 -78
  307. data/ext/enterprise_script_service/mruby/mrbgems/mruby-method/test/method.rb +4 -4
  308. data/ext/enterprise_script_service/mruby/mrbgems/mruby-numeric-ext/src/numeric_ext.c +14 -13
  309. data/ext/enterprise_script_service/mruby/mrbgems/mruby-object-ext/src/object.c +8 -16
  310. data/ext/enterprise_script_service/mruby/mrbgems/mruby-objectspace/src/mruby_objectspace.c +18 -13
  311. data/ext/enterprise_script_service/mruby/mrbgems/mruby-os-memsize/mrbgem.rake +10 -0
  312. data/ext/enterprise_script_service/mruby/mrbgems/mruby-os-memsize/src/memsize.c +231 -0
  313. data/ext/enterprise_script_service/mruby/mrbgems/mruby-os-memsize/test/memsize.rb +63 -0
  314. data/ext/enterprise_script_service/mruby/mrbgems/mruby-pack/README.md +15 -18
  315. data/ext/enterprise_script_service/mruby/mrbgems/mruby-pack/src/pack.c +120 -67
  316. data/ext/enterprise_script_service/mruby/mrbgems/mruby-print/mrblib/print.rb +1 -30
  317. data/ext/enterprise_script_service/mruby/mrbgems/mruby-print/src/print.c +65 -26
  318. data/ext/enterprise_script_service/mruby/mrbgems/mruby-proc-ext/src/proc.c +34 -21
  319. data/ext/enterprise_script_service/mruby/mrbgems/mruby-proc-ext/test/proc.c +1 -1
  320. data/ext/enterprise_script_service/mruby/mrbgems/mruby-random/src/random.c +98 -43
  321. data/ext/enterprise_script_service/mruby/mrbgems/mruby-random/test/random.rb +2 -2
  322. data/ext/enterprise_script_service/mruby/mrbgems/mruby-range-ext/mrblib/range.rb +39 -6
  323. data/ext/enterprise_script_service/mruby/mrbgems/mruby-range-ext/src/range.c +21 -43
  324. data/ext/enterprise_script_service/mruby/mrbgems/mruby-range-ext/test/range.rb +27 -3
  325. data/ext/enterprise_script_service/mruby/mrbgems/mruby-rational/mrblib/rational.rb +12 -20
  326. data/ext/enterprise_script_service/mruby/mrbgems/mruby-rational/src/rational.c +216 -38
  327. data/ext/enterprise_script_service/mruby/mrbgems/mruby-rational/test/rational.rb +6 -6
  328. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sleep/README.md +6 -4
  329. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sleep/src/mrb_sleep.c +5 -5
  330. data/ext/enterprise_script_service/mruby/mrbgems/mruby-socket/README.md +3 -2
  331. data/ext/enterprise_script_service/mruby/mrbgems/mruby-socket/mrbgem.rake +1 -1
  332. data/ext/enterprise_script_service/mruby/mrbgems/mruby-socket/src/socket.c +47 -45
  333. data/ext/enterprise_script_service/mruby/mrbgems/mruby-socket/test/sockettest.c +3 -2
  334. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sprintf/src/sprintf.c +161 -93
  335. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sprintf/test/sprintf.rb +9 -25
  336. data/ext/enterprise_script_service/mruby/mrbgems/mruby-string-ext/mrblib/string.rb +23 -1
  337. data/ext/enterprise_script_service/mruby/mrbgems/mruby-string-ext/src/string.c +17 -14
  338. data/ext/enterprise_script_service/mruby/mrbgems/mruby-struct/mrblib/struct.rb +1 -1
  339. data/ext/enterprise_script_service/mruby/mrbgems/mruby-struct/src/struct.c +23 -36
  340. data/ext/enterprise_script_service/mruby/mrbgems/mruby-symbol-ext/src/symbol.c +7 -6
  341. data/ext/enterprise_script_service/mruby/mrbgems/mruby-symbol-ext/test/symbol.rb +1 -1
  342. data/ext/enterprise_script_service/mruby/mrbgems/mruby-test/README.md +0 -1
  343. data/ext/enterprise_script_service/mruby/mrbgems/mruby-test/driver.c +5 -5
  344. data/ext/enterprise_script_service/mruby/mrbgems/mruby-test/mrbgem.rake +17 -44
  345. data/ext/enterprise_script_service/mruby/mrbgems/mruby-test/vformat.c +4 -4
  346. data/ext/enterprise_script_service/mruby/mrbgems/mruby-time/src/time.c +37 -41
  347. data/ext/enterprise_script_service/mruby/mrbgems/stdlib-ext.gembox +18 -0
  348. data/ext/enterprise_script_service/mruby/mrbgems/stdlib-io.gembox +12 -0
  349. data/ext/enterprise_script_service/mruby/mrbgems/stdlib.gembox +54 -0
  350. data/ext/enterprise_script_service/mruby/mrblib/00class.rb +10 -0
  351. data/ext/enterprise_script_service/mruby/mrblib/10error.rb +4 -0
  352. data/ext/enterprise_script_service/mruby/mrblib/array.rb +17 -9
  353. data/ext/enterprise_script_service/mruby/mrblib/enum.rb +1 -1
  354. data/ext/enterprise_script_service/mruby/mrblib/hash.rb +3 -23
  355. data/ext/enterprise_script_service/mruby/mrblib/init_mrblib.c +0 -11
  356. data/ext/enterprise_script_service/mruby/mrblib/numeric.rb +36 -11
  357. data/ext/enterprise_script_service/mruby/mrblib/range.rb +25 -3
  358. data/ext/enterprise_script_service/mruby/oss-fuzz/mruby_proto_fuzzer.cpp +2 -2
  359. data/ext/enterprise_script_service/mruby/oss-fuzz/proto_to_ruby.h +1 -1
  360. data/ext/enterprise_script_service/mruby/src/array.c +67 -90
  361. data/ext/enterprise_script_service/mruby/src/backtrace.c +18 -19
  362. data/ext/enterprise_script_service/mruby/src/class.c +819 -211
  363. data/ext/enterprise_script_service/mruby/src/codedump.c +226 -197
  364. data/ext/enterprise_script_service/mruby/src/debug.c +14 -11
  365. data/ext/enterprise_script_service/mruby/src/dump.c +470 -207
  366. data/ext/enterprise_script_service/mruby/src/enum.c +1 -1
  367. data/ext/enterprise_script_service/mruby/src/error.c +94 -20
  368. data/ext/enterprise_script_service/mruby/src/etc.c +56 -39
  369. data/ext/enterprise_script_service/mruby/src/fmt_fp.c +103 -27
  370. data/ext/enterprise_script_service/mruby/src/gc.c +86 -349
  371. data/ext/enterprise_script_service/mruby/src/hash.c +1058 -723
  372. data/ext/enterprise_script_service/mruby/src/kernel.c +78 -226
  373. data/ext/enterprise_script_service/mruby/src/load.c +215 -159
  374. data/ext/enterprise_script_service/mruby/src/numeric.c +400 -382
  375. data/ext/enterprise_script_service/mruby/src/object.c +115 -90
  376. data/ext/enterprise_script_service/mruby/src/print.c +31 -6
  377. data/ext/enterprise_script_service/mruby/src/proc.c +56 -45
  378. data/ext/enterprise_script_service/mruby/src/range.c +49 -33
  379. data/ext/enterprise_script_service/mruby/src/state.c +58 -42
  380. data/ext/enterprise_script_service/mruby/src/string.c +151 -156
  381. data/ext/enterprise_script_service/mruby/src/symbol.c +132 -66
  382. data/ext/enterprise_script_service/mruby/src/value_array.h +1 -0
  383. data/ext/enterprise_script_service/mruby/src/variable.c +158 -158
  384. data/ext/enterprise_script_service/mruby/src/vm.c +655 -645
  385. data/ext/enterprise_script_service/mruby/tasks/benchmark.rake +6 -6
  386. data/ext/enterprise_script_service/mruby/tasks/bin.rake +23 -0
  387. data/ext/enterprise_script_service/mruby/tasks/core.rake +12 -0
  388. data/ext/enterprise_script_service/mruby/tasks/doc.rake +50 -38
  389. data/ext/enterprise_script_service/mruby/tasks/gitlab.rake +64 -61
  390. data/ext/enterprise_script_service/mruby/tasks/libmruby.rake +10 -1
  391. data/ext/enterprise_script_service/mruby/tasks/mrbgems.rake +13 -1
  392. data/ext/enterprise_script_service/mruby/tasks/mrblib.rake +40 -0
  393. data/ext/enterprise_script_service/mruby/tasks/presym.rake +44 -0
  394. data/ext/enterprise_script_service/mruby/tasks/test.rake +68 -0
  395. data/ext/enterprise_script_service/mruby/tasks/toolchains/android.rake +46 -1
  396. data/ext/enterprise_script_service/mruby/tasks/toolchains/gcc.rake +8 -7
  397. data/ext/enterprise_script_service/mruby/tasks/toolchains/openwrt.rake +13 -17
  398. data/ext/enterprise_script_service/mruby/tasks/toolchains/visualcpp.rake +21 -25
  399. data/ext/enterprise_script_service/mruby/test/assert.rb +5 -4
  400. data/ext/enterprise_script_service/mruby/test/bintest.rb +5 -5
  401. data/ext/enterprise_script_service/mruby/test/t/argumenterror.rb +16 -0
  402. data/ext/enterprise_script_service/mruby/test/t/array.rb +7 -3
  403. data/ext/enterprise_script_service/mruby/test/t/bs_literal.rb +1 -1
  404. data/ext/enterprise_script_service/mruby/test/t/ensure.rb +8 -26
  405. data/ext/enterprise_script_service/mruby/test/t/exception.rb +2 -2
  406. data/ext/enterprise_script_service/mruby/test/t/float.rb +18 -8
  407. data/ext/enterprise_script_service/mruby/test/t/hash.rb +903 -281
  408. data/ext/enterprise_script_service/mruby/test/t/integer.rb +10 -38
  409. data/ext/enterprise_script_service/mruby/test/t/kernel.rb +16 -25
  410. data/ext/enterprise_script_service/mruby/test/t/literals.rb +50 -0
  411. data/ext/enterprise_script_service/mruby/test/t/module.rb +2 -2
  412. data/ext/enterprise_script_service/mruby/test/t/numeric.rb +1 -1
  413. data/ext/enterprise_script_service/mruby/test/t/range.rb +83 -1
  414. data/ext/enterprise_script_service/mruby/test/t/string.rb +4 -0
  415. data/ext/enterprise_script_service/mruby/test/t/superclass.rb +10 -10
  416. data/ext/enterprise_script_service/mruby/test/t/syntax.rb +24 -0
  417. data/ext/enterprise_script_service/mruby/test/t/vformat.rb +3 -3
  418. data/ext/enterprise_script_service/mruby-mpdecimal/mrbgem.rake +2 -1
  419. data/ext/enterprise_script_service/mruby_config.rb +2 -5
  420. data/ext/enterprise_script_service/mruby_engine.cpp +1 -1
  421. data/ext/enterprise_script_service/msgpack/.github/depends/boost.sh +56 -0
  422. data/ext/enterprise_script_service/msgpack/.github/workflows/coverage.yml +62 -0
  423. data/ext/enterprise_script_service/msgpack/.github/workflows/gha.yml +304 -0
  424. data/ext/enterprise_script_service/msgpack/CHANGELOG.md +11 -0
  425. data/ext/enterprise_script_service/msgpack/CMakeLists.txt +82 -39
  426. data/ext/enterprise_script_service/msgpack/Files.cmake +22 -12
  427. data/ext/enterprise_script_service/msgpack/QUICKSTART-C.md +26 -29
  428. data/ext/enterprise_script_service/msgpack/README.md +3 -2
  429. data/ext/enterprise_script_service/msgpack/appveyor.yml +6 -2
  430. data/ext/enterprise_script_service/msgpack/ci/build_cmake.sh +3 -1
  431. data/ext/enterprise_script_service/msgpack/cmake/CodeCoverage.cmake +55 -0
  432. data/ext/enterprise_script_service/msgpack/codecov.yml +36 -0
  433. data/ext/enterprise_script_service/msgpack/example/CMakeLists.txt +9 -5
  434. data/ext/enterprise_script_service/msgpack/example/boost/CMakeLists.txt +1 -1
  435. data/ext/enterprise_script_service/msgpack/example/c/CMakeLists.txt +17 -6
  436. data/ext/enterprise_script_service/msgpack/example/c/boundary.c +296 -0
  437. data/ext/enterprise_script_service/msgpack/example/c/jsonconv.c +419 -0
  438. data/ext/enterprise_script_service/msgpack/example/c/simple_c.c +1 -1
  439. data/ext/enterprise_script_service/msgpack/example/cpp03/CMakeLists.txt +3 -3
  440. data/ext/enterprise_script_service/msgpack/example/cpp11/CMakeLists.txt +2 -2
  441. data/ext/enterprise_script_service/msgpack/example/x3/CMakeLists.txt +2 -2
  442. data/ext/enterprise_script_service/msgpack/external/boost/predef/.gitattributes +96 -0
  443. data/ext/enterprise_script_service/msgpack/external/boost/predef/.gitignore +3 -0
  444. data/ext/enterprise_script_service/msgpack/external/boost/predef/.project +17 -0
  445. data/ext/enterprise_script_service/msgpack/external/boost/predef/.pydevproject +5 -0
  446. data/ext/enterprise_script_service/msgpack/external/boost/predef/.travis.yml +109 -0
  447. data/ext/enterprise_script_service/msgpack/external/boost/predef/appveyor.yml +149 -0
  448. data/ext/enterprise_script_service/msgpack/external/boost/predef/build.jam +6 -0
  449. data/ext/enterprise_script_service/msgpack/external/boost/predef/check/predef.jam +17 -0
  450. data/ext/enterprise_script_service/msgpack/external/boost/predef/doc/.gitignore +1 -0
  451. data/ext/enterprise_script_service/msgpack/external/boost/predef/doc/build.jam +100 -0
  452. data/ext/enterprise_script_service/msgpack/external/boost/predef/doc/hardware_simd.qbk +89 -0
  453. data/ext/enterprise_script_service/msgpack/external/boost/predef/doc/history.qbk +93 -0
  454. data/ext/enterprise_script_service/msgpack/external/boost/predef/doc/predef.qbk +734 -0
  455. data/ext/enterprise_script_service/msgpack/external/boost/predef/doc/todo.qbk +12 -0
  456. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/detail/endian.hpp +11 -0
  457. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/alpha.h +59 -0
  458. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/arm.h +80 -0
  459. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/blackfin.h +46 -0
  460. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/convex.h +65 -0
  461. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/ia64.h +49 -0
  462. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/m68k.h +82 -0
  463. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/mips.h +73 -0
  464. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/parisc.h +64 -0
  465. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/ppc.h +72 -0
  466. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/ptx.h +44 -0
  467. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/pyramid.h +42 -0
  468. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/rs6k.h +56 -0
  469. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/sparc.h +54 -0
  470. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/superh.h +67 -0
  471. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/sys370.h +43 -0
  472. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/sys390.h +43 -0
  473. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/x86/32.h +87 -0
  474. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/x86/64.h +50 -0
  475. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/x86.h +38 -0
  476. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/z.h +42 -0
  477. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture.h +33 -0
  478. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/borland.h +63 -0
  479. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/clang.h +56 -0
  480. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/comeau.h +61 -0
  481. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/compaq.h +66 -0
  482. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/diab.h +56 -0
  483. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/digitalmars.h +56 -0
  484. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/dignus.h +56 -0
  485. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/edg.h +56 -0
  486. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/ekopath.h +57 -0
  487. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/gcc.h +68 -0
  488. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/gcc_xml.h +53 -0
  489. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/greenhills.h +66 -0
  490. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/hp_acc.h +61 -0
  491. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/iar.h +56 -0
  492. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/ibm.h +72 -0
  493. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/intel.h +79 -0
  494. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/kai.h +56 -0
  495. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/llvm.h +57 -0
  496. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/metaware.h +53 -0
  497. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/metrowerks.h +77 -0
  498. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/microtec.h +53 -0
  499. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/mpw.h +63 -0
  500. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/nvcc.h +60 -0
  501. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/palm.h +56 -0
  502. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/pgi.h +60 -0
  503. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/sgi_mipspro.h +66 -0
  504. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/sunpro.h +76 -0
  505. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/tendra.h +53 -0
  506. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/visualc.h +105 -0
  507. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/watcom.h +56 -0
  508. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler.h +44 -0
  509. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/detail/_cassert.h +17 -0
  510. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/detail/_exception.h +15 -0
  511. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/detail/comp_detected.h +10 -0
  512. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/detail/endian_compat.h +26 -0
  513. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/detail/os_detected.h +10 -0
  514. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/detail/platform_detected.h +10 -0
  515. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/detail/test.h +17 -0
  516. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/detail/test_def.h +71 -0
  517. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/arm/versions.h +32 -0
  518. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/arm.h +59 -0
  519. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/ppc/versions.h +51 -0
  520. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/ppc.h +69 -0
  521. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/x86/versions.h +129 -0
  522. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/x86.h +123 -0
  523. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/x86_amd/versions.h +51 -0
  524. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/x86_amd.h +87 -0
  525. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd.h +119 -0
  526. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware.h +16 -0
  527. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/language/cuda.h +52 -0
  528. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/language/objc.h +42 -0
  529. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/language/stdc.h +53 -0
  530. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/language/stdcpp.h +121 -0
  531. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/language.h +18 -0
  532. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/c/_prefix.h +13 -0
  533. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/c/cloudabi.h +53 -0
  534. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/c/gnu.h +61 -0
  535. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/c/uc.h +47 -0
  536. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/c/vms.h +47 -0
  537. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/c/zos.h +56 -0
  538. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/c.h +21 -0
  539. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/_prefix.h +23 -0
  540. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/cxx.h +46 -0
  541. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/dinkumware.h +52 -0
  542. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/libcomo.h +47 -0
  543. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/modena.h +45 -0
  544. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/msl.h +53 -0
  545. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/roguewave.h +56 -0
  546. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/sgi.h +51 -0
  547. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/stdcpp3.h +53 -0
  548. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/stlport.h +59 -0
  549. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/vacpp.h +44 -0
  550. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std.h +25 -0
  551. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library.h +16 -0
  552. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/make.h +97 -0
  553. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/aix.h +66 -0
  554. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/amigaos.h +46 -0
  555. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/android.h +45 -0
  556. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/beos.h +45 -0
  557. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/bsd/bsdi.h +48 -0
  558. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/bsd/dragonfly.h +50 -0
  559. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/bsd/free.h +67 -0
  560. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/bsd/net.h +84 -0
  561. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/bsd/open.h +251 -0
  562. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/bsd.h +103 -0
  563. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/cygwin.h +45 -0
  564. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/haiku.h +46 -0
  565. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/hpux.h +47 -0
  566. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/ios.h +51 -0
  567. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/irix.h +46 -0
  568. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/linux.h +46 -0
  569. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/macos.h +65 -0
  570. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/os400.h +45 -0
  571. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/qnxnto.h +59 -0
  572. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/solaris.h +46 -0
  573. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/unix.h +76 -0
  574. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/vms.h +52 -0
  575. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/windows.h +51 -0
  576. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os.h +33 -0
  577. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/other/endian.h +203 -0
  578. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/other/workaround.h +87 -0
  579. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/other.h +16 -0
  580. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/cloudabi.h +43 -0
  581. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/ios.h +58 -0
  582. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/mingw.h +69 -0
  583. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/mingw32.h +63 -0
  584. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/mingw64.h +63 -0
  585. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/windows_desktop.h +51 -0
  586. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/windows_phone.h +48 -0
  587. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/windows_runtime.h +53 -0
  588. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/windows_server.h +47 -0
  589. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/windows_store.h +50 -0
  590. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/windows_system.h +47 -0
  591. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/windows_uwp.h +60 -0
  592. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform.h +28 -0
  593. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/version.h +15 -0
  594. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/version_number.h +72 -0
  595. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef.h +24 -0
  596. data/ext/enterprise_script_service/msgpack/external/boost/predef/index.html +14 -0
  597. data/ext/enterprise_script_service/msgpack/external/boost/predef/meta/libraries.json +14 -0
  598. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/.gitignore +3 -0
  599. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/build.jam +80 -0
  600. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/check_value.cpp +26 -0
  601. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/info_as_c.c +7 -0
  602. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/info_as_cpp.cpp +7 -0
  603. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/info_as_objc.m +7 -0
  604. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/info_as_objcpp.mm +7 -0
  605. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/macos_endian.c +21 -0
  606. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/macos_vs_bsd.c +19 -0
  607. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/make.cpp +94 -0
  608. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/platform_windows.cpp +177 -0
  609. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/predef_info.h +46 -0
  610. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/tested_at.cpp +62 -0
  611. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/tested_at_outdated.cpp +18 -0
  612. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/version.cpp +83 -0
  613. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/workaround.cpp +62 -0
  614. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/workaround_strict_config.cpp +17 -0
  615. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/build.jam +9 -0
  616. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef.jam +202 -0
  617. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef_check.h +98 -0
  618. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef_check_as_c.c +7 -0
  619. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef_check_as_cpp.cpp +7 -0
  620. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef_check_as_objc.m +7 -0
  621. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef_check_as_objcpp.mm +7 -0
  622. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef_check_cc.h +19 -0
  623. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef_check_cc_as_c.c +7 -0
  624. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef_check_cc_as_cpp.cpp +7 -0
  625. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef_check_cc_as_objc.m +7 -0
  626. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef_check_cc_as_objcpp.mm +7 -0
  627. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/ci/build_log.py +428 -0
  628. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/ci/common.py +878 -0
  629. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/ci/library_test.py +198 -0
  630. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/.gitattributes +96 -0
  631. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/.travis.yml +39 -0
  632. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/appveyor.yml +36 -0
  633. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/AppendixA-AnIntroductiontoPreprocessorMetaprogramming.html +2494 -0
  634. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/acknowledgements.html +58 -0
  635. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/bibliography.html +58 -0
  636. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/contents.html +38 -0
  637. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/data/arrays.html +55 -0
  638. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/data/lists.html +42 -0
  639. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/data/sequences.html +60 -0
  640. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/data/tuples.html +42 -0
  641. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/data.html +27 -0
  642. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/examples/array_arithmetic.c +196 -0
  643. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/examples/catch_builtin.cpp +51 -0
  644. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/examples/delay.c +95 -0
  645. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/examples/duffs_device.c +61 -0
  646. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/examples/is_integral.cpp +49 -0
  647. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/examples/linear_fib.c +91 -0
  648. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/examples.html +27 -0
  649. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/arithmetic/add.html +31 -0
  650. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/arithmetic/dec.html +30 -0
  651. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/arithmetic/div.html +31 -0
  652. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/arithmetic/inc.html +30 -0
  653. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/arithmetic/mod.html +31 -0
  654. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/arithmetic/mul.html +31 -0
  655. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/arithmetic/sub.html +31 -0
  656. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/arithmetic.html +36 -0
  657. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/data.html +30 -0
  658. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/elem.html +30 -0
  659. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/enum.html +24 -0
  660. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/insert.html +31 -0
  661. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/pop_back.html +31 -0
  662. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/pop_front.html +31 -0
  663. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/push_back.html +30 -0
  664. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/push_front.html +30 -0
  665. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/remove.html +31 -0
  666. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/replace.html +31 -0
  667. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/reverse.html +30 -0
  668. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/size.html +30 -0
  669. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/to_list.html +24 -0
  670. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/to_seq.html +24 -0
  671. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/to_tuple.html +24 -0
  672. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array.html +43 -0
  673. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/assert_msg.html +31 -0
  674. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/cat.html +30 -0
  675. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/comma.html +31 -0
  676. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/comma_if.html +31 -0
  677. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/comparison/equal.html +31 -0
  678. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/comparison/greater.html +31 -0
  679. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/comparison/greater_equal.html +31 -0
  680. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/comparison/less.html +31 -0
  681. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/comparison/less_equal.html +31 -0
  682. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/comparison/not_equal.html +31 -0
  683. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/comparison.html +35 -0
  684. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/config/limits.html +44 -0
  685. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/config/variadics.html +32 -0
  686. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/control/deduce_d.html +30 -0
  687. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/control/expr_if.html +30 -0
  688. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/control/expr_iif.html +30 -0
  689. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/control/if.html +30 -0
  690. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/control/iif.html +30 -0
  691. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/control/while.html +31 -0
  692. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/control.html +35 -0
  693. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/debug/assert.html +31 -0
  694. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/debug/line.html +30 -0
  695. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/debug.html +31 -0
  696. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/dec.html +31 -0
  697. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/empty.html +31 -0
  698. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/enum.html +31 -0
  699. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/enum_params.html +31 -0
  700. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/enum_shifted.html +31 -0
  701. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/enum_shifted_params.html +31 -0
  702. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/epwad.html +31 -0
  703. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/epwd.html +31 -0
  704. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/expand.html +31 -0
  705. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/expr_if.html +31 -0
  706. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/facilities/apply.html +30 -0
  707. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/facilities/empty.html +30 -0
  708. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/facilities/expand.html +30 -0
  709. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/facilities/identity.html +32 -0
  710. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/facilities/intercept.html +30 -0
  711. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/facilities/overload.html +28 -0
  712. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/facilities.html +34 -0
  713. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/for.html +31 -0
  714. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/identity.html +31 -0
  715. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/if.html +31 -0
  716. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/inc.html +31 -0
  717. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/iterate.html +31 -0
  718. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/iteration/iterate.html +43 -0
  719. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/iteration/local.html +30 -0
  720. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/iteration/self.html +30 -0
  721. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/iteration.html +32 -0
  722. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/library.html +26 -0
  723. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/limits.html +31 -0
  724. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/adt.html +35 -0
  725. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/append.html +31 -0
  726. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/at.html +31 -0
  727. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/cat.html +31 -0
  728. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/enum.html +31 -0
  729. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/filter.html +31 -0
  730. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/first_n.html +31 -0
  731. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/fold_left.html +34 -0
  732. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/fold_right.html +34 -0
  733. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/for_each.html +31 -0
  734. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/for_each_i.html +31 -0
  735. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/for_each_product.html +31 -0
  736. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/rest_n.html +31 -0
  737. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/reverse.html +31 -0
  738. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/size.html +31 -0
  739. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/to_array.html +29 -0
  740. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/to_seq.html +25 -0
  741. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/to_tuple.html +31 -0
  742. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/transform.html +31 -0
  743. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list.html +47 -0
  744. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/and.html +30 -0
  745. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/bitand.html +30 -0
  746. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/bitnor.html +30 -0
  747. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/bitor.html +30 -0
  748. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/bitxor.html +30 -0
  749. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/bool.html +30 -0
  750. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/compl.html +30 -0
  751. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/nor.html +30 -0
  752. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/not.html +30 -0
  753. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/or.html +30 -0
  754. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/xor.html +30 -0
  755. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical.html +40 -0
  756. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/max.html +31 -0
  757. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/min.html +31 -0
  758. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/preprocessor.html +26 -0
  759. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/punctuation/comma.html +30 -0
  760. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/punctuation/comma_if.html +30 -0
  761. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/punctuation/is_begin_parens.html +26 -0
  762. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/punctuation/paren.html +31 -0
  763. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/punctuation/paren_if.html +31 -0
  764. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/punctuation/remove_parens.html +26 -0
  765. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/punctuation.html +33 -0
  766. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repeat.html +31 -0
  767. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repeat_2nd.html +31 -0
  768. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repeat_3rd.html +31 -0
  769. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repeat_from_to.html +31 -0
  770. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repeat_from_to_2nd.html +31 -0
  771. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repeat_from_to_3rd.html +31 -0
  772. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/deduce_r.html +30 -0
  773. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/deduce_z.html +30 -0
  774. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/enum.html +31 -0
  775. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/enum_binary_params.html +31 -0
  776. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/enum_params.html +31 -0
  777. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/enum_shifted.html +31 -0
  778. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/enum_shifted_params.html +31 -0
  779. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/enum_trailing.html +31 -0
  780. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/enum_trailing_params.html +31 -0
  781. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/epwad.html +30 -0
  782. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/epwd.html +30 -0
  783. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/esbp.html +31 -0
  784. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/etbp.html +31 -0
  785. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/for.html +31 -0
  786. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/repeat.html +34 -0
  787. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/repeat_from_to.html +36 -0
  788. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition.html +44 -0
  789. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/selection/max.html +31 -0
  790. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/selection/min.html +31 -0
  791. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/selection.html +31 -0
  792. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/cat.html +38 -0
  793. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/elem.html +35 -0
  794. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/enum.html +35 -0
  795. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/filter.html +37 -0
  796. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/first_n.html +36 -0
  797. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/fold_left.html +38 -0
  798. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/fold_right.html +38 -0
  799. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/for_each.html +38 -0
  800. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/for_each_i.html +38 -0
  801. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/for_each_product.html +38 -0
  802. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/insert.html +35 -0
  803. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/pop_back.html +36 -0
  804. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/pop_front.html +36 -0
  805. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/push_back.html +35 -0
  806. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/push_front.html +35 -0
  807. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/remove.html +35 -0
  808. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/replace.html +35 -0
  809. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/rest_n.html +36 -0
  810. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/reverse.html +37 -0
  811. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/seq.html +39 -0
  812. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/size.html +35 -0
  813. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/subseq.html +35 -0
  814. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/to_array.html +36 -0
  815. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/to_list.html +30 -0
  816. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/to_tuple.html +36 -0
  817. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/transform.html +37 -0
  818. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/variadic_seq_to_seq.html +34 -0
  819. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq.html +86 -0
  820. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/slot/counter.html +31 -0
  821. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/slot/slot.html +31 -0
  822. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/slot.html +30 -0
  823. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/stringize.html +30 -0
  824. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/eat.html +25 -0
  825. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/elem.html +25 -0
  826. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/enum.html +25 -0
  827. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/insert.html +27 -0
  828. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/pop_back.html +28 -0
  829. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/pop_front.html +28 -0
  830. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/push_back.html +26 -0
  831. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/push_front.html +26 -0
  832. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/rem.html +27 -0
  833. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/remove.html +27 -0
  834. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/replace.html +28 -0
  835. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/reverse.html +25 -0
  836. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/size.html +25 -0
  837. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/to_array.html +25 -0
  838. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/to_list.html +25 -0
  839. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/to_seq.html +31 -0
  840. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple.html +59 -0
  841. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/variadic/elem.html +29 -0
  842. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/variadic/size.html +25 -0
  843. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/variadic/to_array.html +25 -0
  844. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/variadic/to_list.html +25 -0
  845. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/variadic/to_seq.html +30 -0
  846. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/variadic/to_tuple.html +31 -0
  847. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/variadic.html +33 -0
  848. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/while.html +31 -0
  849. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/wstringize.html +30 -0
  850. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers.html +249 -0
  851. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/index.html +23 -0
  852. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/miscellanea.html +24 -0
  853. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/add.html +68 -0
  854. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/add_d.html +90 -0
  855. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/and.html +64 -0
  856. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/apply.html +64 -0
  857. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_data.html +49 -0
  858. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_elem.html +51 -0
  859. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_enum.html +37 -0
  860. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_insert.html +71 -0
  861. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_insert_d.html +63 -0
  862. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_pop_back.html +59 -0
  863. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_pop_back_z.html +51 -0
  864. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_pop_front.html +51 -0
  865. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_pop_front_z.html +51 -0
  866. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_push_back.html +49 -0
  867. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_push_front.html +49 -0
  868. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_remove.html +60 -0
  869. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_remove_d.html +51 -0
  870. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_replace.html +64 -0
  871. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_replace_d.html +55 -0
  872. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_reverse.html +45 -0
  873. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_size.html +45 -0
  874. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_to_list.html +41 -0
  875. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_to_seq.html +37 -0
  876. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_to_tuple.html +39 -0
  877. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/assert.html +114 -0
  878. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/assert_msg.html +66 -0
  879. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/assign_slot.html +61 -0
  880. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/bitand.html +65 -0
  881. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/bitnor.html +65 -0
  882. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/bitor.html +65 -0
  883. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/bitxor.html +66 -0
  884. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/bool.html +54 -0
  885. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/cat.html +57 -0
  886. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/comma.html +43 -0
  887. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/comma_if.html +60 -0
  888. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/compl.html +58 -0
  889. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/config_extended_line_info.html +54 -0
  890. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/counter.html +58 -0
  891. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/dec.html +54 -0
  892. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/deduce_d.html +82 -0
  893. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/deduce_r.html +48 -0
  894. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/deduce_z.html +48 -0
  895. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/div.html +63 -0
  896. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/div_d.html +85 -0
  897. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/empty.html +47 -0
  898. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum.html +80 -0
  899. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_binary_params.html +76 -0
  900. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_binary_params_z.html +93 -0
  901. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_params.html +69 -0
  902. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_params_with_a_default.html +83 -0
  903. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_params_with_defaults.html +84 -0
  904. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_params_z.html +82 -0
  905. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_shifted.html +82 -0
  906. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_shifted_params.html +73 -0
  907. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_shifted_params_z.html +79 -0
  908. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_shifted_z.html +93 -0
  909. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_trailing.html +83 -0
  910. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_trailing_params.html +66 -0
  911. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_trailing_params_z.html +81 -0
  912. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_trailing_z.html +96 -0
  913. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_z.html +96 -0
  914. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/equal.html +64 -0
  915. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/equal_d.html +69 -0
  916. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/esbp.html +65 -0
  917. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/esbpz.html +67 -0
  918. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/etbp.html +83 -0
  919. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/etbpz.html +67 -0
  920. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/expand.html +67 -0
  921. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/expr_if.html +70 -0
  922. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/expr_iif.html +67 -0
  923. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/filename_x.html +52 -0
  924. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/for.html +105 -0
  925. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/for_r.html +148 -0
  926. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/for_r_macros.html +44 -0
  927. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/frame_finish.html +42 -0
  928. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/frame_flags.html +42 -0
  929. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/frame_iteration.html +73 -0
  930. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/frame_start.html +42 -0
  931. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/greater.html +65 -0
  932. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/greater_d.html +69 -0
  933. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/greater_equal.html +65 -0
  934. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/greater_equal_d.html +69 -0
  935. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/identity.html +57 -0
  936. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/identity_n.html +58 -0
  937. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/if.html +63 -0
  938. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/iif.html +66 -0
  939. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/inc.html +54 -0
  940. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/include_self.html +101 -0
  941. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/indirect_self.html +45 -0
  942. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/intercept.html +51 -0
  943. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/is_begin_parens.html +47 -0
  944. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/is_iterating.html +38 -0
  945. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/is_selfish.html +38 -0
  946. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/iterate.html +83 -0
  947. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/iteration.html +55 -0
  948. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/iteration_depth.html +73 -0
  949. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/iteration_finish.html +57 -0
  950. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/iteration_flags.html +68 -0
  951. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/iteration_limits.html +59 -0
  952. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/iteration_params_x.html +77 -0
  953. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/iteration_start.html +57 -0
  954. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/less.html +65 -0
  955. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/less_d.html +70 -0
  956. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/less_equal.html +65 -0
  957. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/less_equal_d.html +70 -0
  958. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_dim.html +35 -0
  959. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_for.html +34 -0
  960. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_iteration.html +34 -0
  961. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_iteration_dim.html +34 -0
  962. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_mag.html +34 -0
  963. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_repeat.html +39 -0
  964. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_seq.html +41 -0
  965. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_slot_count.html +34 -0
  966. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_slot_sig.html +34 -0
  967. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_tuple.html +33 -0
  968. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_variadic.html +24 -0
  969. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_while.html +34 -0
  970. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/line.html +112 -0
  971. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_append.html +69 -0
  972. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_append_d.html +96 -0
  973. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_at.html +61 -0
  974. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_at_d.html +63 -0
  975. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_cat.html +58 -0
  976. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_cat_d.html +67 -0
  977. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_cons.html +87 -0
  978. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_enum.html +62 -0
  979. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_enum_r.html +69 -0
  980. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_filter.html +76 -0
  981. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_filter_d.html +86 -0
  982. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_first.html +62 -0
  983. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_first_n.html +62 -0
  984. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_first_n_d.html +71 -0
  985. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_fold_left.html +75 -0
  986. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_fold_left_2nd.html +75 -0
  987. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_fold_left_2nd_d.html +86 -0
  988. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_fold_left_d.html +81 -0
  989. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_fold_left_d_old.html +86 -0
  990. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_fold_right.html +79 -0
  991. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_fold_right_2nd.html +79 -0
  992. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_fold_right_2nd_d.html +86 -0
  993. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_fold_right_d.html +81 -0
  994. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_fold_right_d_old.html +90 -0
  995. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_for_each.html +75 -0
  996. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_for_each_i.html +75 -0
  997. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_for_each_i_r.html +82 -0
  998. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_for_each_product.html +86 -0
  999. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_for_each_product_r.html +118 -0
  1000. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_for_each_r.html +81 -0
  1001. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_is_cons.html +51 -0
  1002. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_is_nil.html +51 -0
  1003. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_nil.html +68 -0
  1004. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_rest.html +62 -0
  1005. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_rest_n.html +62 -0
  1006. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_rest_n_d.html +71 -0
  1007. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_reverse.html +55 -0
  1008. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_reverse_d.html +63 -0
  1009. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_size.html +55 -0
  1010. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_size_d.html +67 -0
  1011. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_to_array.html +47 -0
  1012. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_to_array_d.html +34 -0
  1013. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_to_seq.html +44 -0
  1014. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_to_seq_r.html +32 -0
  1015. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_to_tuple.html +55 -0
  1016. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_to_tuple_r.html +62 -0
  1017. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_transform.html +78 -0
  1018. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_transform_d.html +86 -0
  1019. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/local_iterate.html +62 -0
  1020. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/local_limits.html +80 -0
  1021. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/local_macro.html +64 -0
  1022. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/lparen.html +52 -0
  1023. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/lparen_if.html +61 -0
  1024. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/max.html +64 -0
  1025. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/max_d.html +70 -0
  1026. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/min.html +64 -0
  1027. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/min_d.html +70 -0
  1028. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/mod.html +63 -0
  1029. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/mod_d.html +75 -0
  1030. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/mul.html +68 -0
  1031. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/mul_d.html +91 -0
  1032. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/nil.html +41 -0
  1033. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/nor.html +64 -0
  1034. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/not.html +59 -0
  1035. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/not_equal.html +64 -0
  1036. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/not_equal_d.html +69 -0
  1037. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/or.html +64 -0
  1038. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/overload.html +58 -0
  1039. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/relative_finish.html +46 -0
  1040. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/relative_flags.html +46 -0
  1041. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/relative_iteration.html +101 -0
  1042. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/relative_start.html +46 -0
  1043. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/remove_parens.html +44 -0
  1044. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat.html +80 -0
  1045. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_1st.html +82 -0
  1046. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_2nd.html +82 -0
  1047. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_3rd.html +82 -0
  1048. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_from_to.html +102 -0
  1049. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_from_to_1st.html +91 -0
  1050. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_from_to_2nd.html +91 -0
  1051. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_from_to_3rd.html +91 -0
  1052. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_from_to_d.html +83 -0
  1053. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_from_to_d_z.html +84 -0
  1054. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_from_to_z.html +105 -0
  1055. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_z.html +92 -0
  1056. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_z_macros.html +45 -0
  1057. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/rparen.html +53 -0
  1058. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/rparen_if.html +61 -0
  1059. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_cat.html +64 -0
  1060. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_cat_s.html +60 -0
  1061. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_elem.html +59 -0
  1062. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_enum.html +66 -0
  1063. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_filter.html +93 -0
  1064. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_filter_s.html +79 -0
  1065. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_first_n.html +67 -0
  1066. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_fold_left.html +90 -0
  1067. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_fold_left_s.html +96 -0
  1068. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_fold_right.html +92 -0
  1069. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_fold_right_s.html +97 -0
  1070. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_for_each.html +90 -0
  1071. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_for_each_i.html +91 -0
  1072. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_for_each_i_r.html +78 -0
  1073. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_for_each_product.html +100 -0
  1074. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_for_each_product_r.html +81 -0
  1075. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_for_each_r.html +77 -0
  1076. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_head.html +63 -0
  1077. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_insert.html +70 -0
  1078. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_nil.html +81 -0
  1079. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_pop_back.html +68 -0
  1080. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_pop_front.html +68 -0
  1081. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_push_back.html +76 -0
  1082. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_push_front.html +78 -0
  1083. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_remove.html +66 -0
  1084. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_replace.html +71 -0
  1085. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_rest_n.html +55 -0
  1086. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_reverse.html +68 -0
  1087. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_reverse_s.html +55 -0
  1088. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_size.html +55 -0
  1089. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_subseq.html +69 -0
  1090. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_tail.html +63 -0
  1091. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_to_array.html +55 -0
  1092. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_to_list.html +34 -0
  1093. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_to_tuple.html +55 -0
  1094. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_transform.html +93 -0
  1095. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_transform_s.html +79 -0
  1096. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/slot.html +60 -0
  1097. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/stringize.html +50 -0
  1098. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/sub.html +63 -0
  1099. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/sub_d.html +85 -0
  1100. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_eat.html +58 -0
  1101. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_elem.html +65 -0
  1102. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_enum.html +55 -0
  1103. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_insert.html +54 -0
  1104. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_insert_d.html +46 -0
  1105. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_pop_back.html +48 -0
  1106. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_pop_back_z.html +40 -0
  1107. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_pop_front.html +47 -0
  1108. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_pop_front_z.html +40 -0
  1109. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_push_back.html +39 -0
  1110. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_push_front.html +39 -0
  1111. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_rem.html +60 -0
  1112. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_rem_ctor.html +61 -0
  1113. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_remove.html +50 -0
  1114. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_remove_d.html +41 -0
  1115. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_replace.html +51 -0
  1116. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_replace_d.html +42 -0
  1117. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_reverse.html +61 -0
  1118. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_size.html +32 -0
  1119. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_to_array.html +50 -0
  1120. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_to_list.html +60 -0
  1121. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_to_seq.html +51 -0
  1122. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/update_counter.html +34 -0
  1123. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/value.html +37 -0
  1124. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/variadic_elem.html +42 -0
  1125. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/variadic_seq_to_seq.html +35 -0
  1126. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/variadic_size.html +33 -0
  1127. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/variadic_to_array.html +32 -0
  1128. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/variadic_to_list.html +31 -0
  1129. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/variadic_to_seq.html +32 -0
  1130. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/variadic_to_tuple.html +32 -0
  1131. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/variadics.html +30 -0
  1132. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/while.html +116 -0
  1133. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/while_d.html +117 -0
  1134. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/while_d_macros.html +89 -0
  1135. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/wstringize.html +49 -0
  1136. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/xor.html +64 -0
  1137. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref.html +319 -0
  1138. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/styles.css +87 -0
  1139. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/syntax.html +307 -0
  1140. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/terms/evaluated.html +27 -0
  1141. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/terms/named_external.html +25 -0
  1142. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/terms.html +23 -0
  1143. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/title.html +25 -0
  1144. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/top.html +32 -0
  1145. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/topics/evaluated_slots.html +157 -0
  1146. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/topics/file_iteration.html +1044 -0
  1147. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/topics/incompatible.html +140 -0
  1148. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/topics/local_iteration.html +156 -0
  1149. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/topics/motivation.html +119 -0
  1150. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/topics/problems.html +135 -0
  1151. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/topics/reentrancy.html +298 -0
  1152. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/topics/techniques.html +350 -0
  1153. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/topics/variadic_macros.html +262 -0
  1154. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/topics.html +27 -0
  1155. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/arithmetic/add.hpp +51 -0
  1156. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/arithmetic/dec.hpp +289 -0
  1157. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/arithmetic/detail/div_base.hpp +61 -0
  1158. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/arithmetic/div.hpp +39 -0
  1159. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/arithmetic/inc.hpp +288 -0
  1160. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/arithmetic/mod.hpp +39 -0
  1161. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/arithmetic/mul.hpp +53 -0
  1162. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/arithmetic/sub.hpp +50 -0
  1163. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/arithmetic.hpp +25 -0
  1164. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/data.hpp +28 -0
  1165. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/detail/get_data.hpp +55 -0
  1166. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/elem.hpp +29 -0
  1167. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/enum.hpp +33 -0
  1168. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/insert.hpp +55 -0
  1169. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/pop_back.hpp +37 -0
  1170. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/pop_front.hpp +38 -0
  1171. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/push_back.hpp +35 -0
  1172. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/push_front.hpp +35 -0
  1173. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/remove.hpp +54 -0
  1174. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/replace.hpp +49 -0
  1175. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/reverse.hpp +29 -0
  1176. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/size.hpp +28 -0
  1177. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/to_list.hpp +47 -0
  1178. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/to_seq.hpp +46 -0
  1179. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/to_tuple.hpp +33 -0
  1180. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array.hpp +32 -0
  1181. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/assert_msg.hpp +17 -0
  1182. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/cat.hpp +35 -0
  1183. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/comma.hpp +17 -0
  1184. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/comma_if.hpp +17 -0
  1185. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/comparison/equal.hpp +34 -0
  1186. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/comparison/greater.hpp +38 -0
  1187. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/comparison/greater_equal.hpp +38 -0
  1188. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/comparison/less.hpp +46 -0
  1189. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/comparison/less_equal.hpp +39 -0
  1190. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/comparison/not_equal.hpp +814 -0
  1191. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/comparison.hpp +24 -0
  1192. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/config/config.hpp +106 -0
  1193. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/config/limits.hpp +30 -0
  1194. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control/deduce_d.hpp +22 -0
  1195. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control/detail/dmc/while.hpp +536 -0
  1196. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control/detail/edg/while.hpp +534 -0
  1197. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control/detail/msvc/while.hpp +277 -0
  1198. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control/detail/while.hpp +536 -0
  1199. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control/expr_if.hpp +30 -0
  1200. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control/expr_iif.hpp +31 -0
  1201. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control/if.hpp +30 -0
  1202. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control/iif.hpp +34 -0
  1203. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control/while.hpp +312 -0
  1204. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control.hpp +22 -0
  1205. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/debug/assert.hpp +44 -0
  1206. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/debug/error.hpp +33 -0
  1207. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/debug/line.hpp +35 -0
  1208. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/debug.hpp +18 -0
  1209. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/dec.hpp +17 -0
  1210. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/detail/auto_rec.hpp +293 -0
  1211. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/detail/check.hpp +48 -0
  1212. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/detail/dmc/auto_rec.hpp +286 -0
  1213. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/detail/is_binary.hpp +30 -0
  1214. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/detail/is_nullary.hpp +30 -0
  1215. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/detail/is_unary.hpp +30 -0
  1216. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/detail/null.hpp +17 -0
  1217. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/detail/split.hpp +35 -0
  1218. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/empty.hpp +17 -0
  1219. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/enum.hpp +17 -0
  1220. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/enum_params.hpp +17 -0
  1221. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/enum_params_with_a_default.hpp +17 -0
  1222. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/enum_params_with_defaults.hpp +17 -0
  1223. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/enum_shifted.hpp +17 -0
  1224. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/enum_shifted_params.hpp +17 -0
  1225. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/expand.hpp +17 -0
  1226. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/expr_if.hpp +17 -0
  1227. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/apply.hpp +34 -0
  1228. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/detail/is_empty.hpp +55 -0
  1229. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/empty.hpp +23 -0
  1230. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/expand.hpp +28 -0
  1231. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/identity.hpp +27 -0
  1232. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/intercept.hpp +277 -0
  1233. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/is_1.hpp +23 -0
  1234. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/is_empty.hpp +56 -0
  1235. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/is_empty_or_1.hpp +31 -0
  1236. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/is_empty_variadic.hpp +57 -0
  1237. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/overload.hpp +25 -0
  1238. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities.hpp +23 -0
  1239. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/for.hpp +17 -0
  1240. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/identity.hpp +17 -0
  1241. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/if.hpp +17 -0
  1242. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/inc.hpp +17 -0
  1243. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iterate.hpp +17 -0
  1244. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/bounds/lower1.hpp +99 -0
  1245. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/bounds/lower2.hpp +99 -0
  1246. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/bounds/lower3.hpp +99 -0
  1247. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/bounds/lower4.hpp +99 -0
  1248. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/bounds/lower5.hpp +99 -0
  1249. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/bounds/upper1.hpp +99 -0
  1250. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/bounds/upper2.hpp +99 -0
  1251. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/bounds/upper3.hpp +99 -0
  1252. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/bounds/upper4.hpp +99 -0
  1253. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/bounds/upper5.hpp +99 -0
  1254. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/finish.hpp +99 -0
  1255. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/forward1.hpp +1342 -0
  1256. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/forward2.hpp +1338 -0
  1257. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/forward3.hpp +1338 -0
  1258. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/forward4.hpp +1338 -0
  1259. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/forward5.hpp +1338 -0
  1260. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/reverse1.hpp +1296 -0
  1261. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/reverse2.hpp +1296 -0
  1262. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/reverse3.hpp +1296 -0
  1263. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/reverse4.hpp +1296 -0
  1264. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/reverse5.hpp +1296 -0
  1265. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/local.hpp +812 -0
  1266. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/rlocal.hpp +782 -0
  1267. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/self.hpp +21 -0
  1268. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/start.hpp +99 -0
  1269. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/iterate.hpp +82 -0
  1270. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/local.hpp +26 -0
  1271. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/self.hpp +19 -0
  1272. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration.hpp +19 -0
  1273. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/library.hpp +37 -0
  1274. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/limits.hpp +17 -0
  1275. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/adt.hpp +73 -0
  1276. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/append.hpp +40 -0
  1277. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/at.hpp +39 -0
  1278. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/cat.hpp +42 -0
  1279. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/detail/dmc/fold_left.hpp +279 -0
  1280. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/detail/edg/fold_left.hpp +536 -0
  1281. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/detail/edg/fold_right.hpp +794 -0
  1282. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/detail/fold_left.hpp +279 -0
  1283. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/detail/fold_right.hpp +277 -0
  1284. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/enum.hpp +41 -0
  1285. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/filter.hpp +54 -0
  1286. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/first_n.hpp +58 -0
  1287. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/fold_left.hpp +303 -0
  1288. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/fold_right.hpp +40 -0
  1289. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/for_each.hpp +49 -0
  1290. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/for_each_i.hpp +65 -0
  1291. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/for_each_product.hpp +141 -0
  1292. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/rest_n.hpp +55 -0
  1293. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/reverse.hpp +40 -0
  1294. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/size.hpp +58 -0
  1295. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/to_array.hpp +155 -0
  1296. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/to_seq.hpp +32 -0
  1297. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/to_tuple.hpp +61 -0
  1298. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/transform.hpp +49 -0
  1299. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list.hpp +37 -0
  1300. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/and.hpp +30 -0
  1301. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/bitand.hpp +38 -0
  1302. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/bitnor.hpp +38 -0
  1303. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/bitor.hpp +38 -0
  1304. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/bitxor.hpp +38 -0
  1305. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/bool.hpp +288 -0
  1306. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/compl.hpp +36 -0
  1307. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/nor.hpp +30 -0
  1308. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/not.hpp +30 -0
  1309. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/or.hpp +30 -0
  1310. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/xor.hpp +30 -0
  1311. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical.hpp +29 -0
  1312. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/max.hpp +17 -0
  1313. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/min.hpp +17 -0
  1314. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation/comma.hpp +21 -0
  1315. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation/comma_if.hpp +31 -0
  1316. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation/detail/is_begin_parens.hpp +48 -0
  1317. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation/is_begin_parens.hpp +51 -0
  1318. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation/paren.hpp +23 -0
  1319. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation/paren_if.hpp +38 -0
  1320. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation/remove_parens.hpp +39 -0
  1321. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation.hpp +22 -0
  1322. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repeat.hpp +17 -0
  1323. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repeat_2nd.hpp +17 -0
  1324. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repeat_3rd.hpp +17 -0
  1325. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repeat_from_to.hpp +17 -0
  1326. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repeat_from_to_2nd.hpp +17 -0
  1327. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repeat_from_to_3rd.hpp +17 -0
  1328. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/deduce_r.hpp +22 -0
  1329. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/deduce_z.hpp +22 -0
  1330. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/detail/dmc/for.hpp +536 -0
  1331. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/detail/edg/for.hpp +534 -0
  1332. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/detail/for.hpp +536 -0
  1333. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/detail/msvc/for.hpp +277 -0
  1334. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum.hpp +66 -0
  1335. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum_binary_params.hpp +54 -0
  1336. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum_params.hpp +41 -0
  1337. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum_params_with_a_default.hpp +25 -0
  1338. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum_params_with_defaults.hpp +24 -0
  1339. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum_shifted.hpp +68 -0
  1340. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum_shifted_binary_params.hpp +51 -0
  1341. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum_shifted_params.hpp +44 -0
  1342. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum_trailing.hpp +63 -0
  1343. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum_trailing_binary_params.hpp +53 -0
  1344. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum_trailing_params.hpp +38 -0
  1345. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/for.hpp +324 -0
  1346. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/repeat.hpp +825 -0
  1347. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/repeat_from_to.hpp +87 -0
  1348. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition.hpp +32 -0
  1349. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/selection/max.hpp +39 -0
  1350. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/selection/min.hpp +39 -0
  1351. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/selection.hpp +18 -0
  1352. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/cat.hpp +49 -0
  1353. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/detail/binary_transform.hpp +47 -0
  1354. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/detail/is_empty.hpp +49 -0
  1355. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/detail/split.hpp +284 -0
  1356. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/detail/to_list_msvc.hpp +55 -0
  1357. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/elem.hpp +304 -0
  1358. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/enum.hpp +288 -0
  1359. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/filter.hpp +54 -0
  1360. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/first_n.hpp +30 -0
  1361. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/fold_left.hpp +1070 -0
  1362. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/fold_right.hpp +288 -0
  1363. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/for_each.hpp +107 -0
  1364. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/for_each_i.hpp +109 -0
  1365. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/for_each_product.hpp +126 -0
  1366. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/insert.hpp +28 -0
  1367. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/pop_back.hpp +29 -0
  1368. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/pop_front.hpp +27 -0
  1369. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/push_back.hpp +19 -0
  1370. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/push_front.hpp +19 -0
  1371. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/remove.hpp +29 -0
  1372. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/replace.hpp +45 -0
  1373. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/rest_n.hpp +46 -0
  1374. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/reverse.hpp +39 -0
  1375. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/seq.hpp +44 -0
  1376. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/size.hpp +548 -0
  1377. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/subseq.hpp +28 -0
  1378. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/to_array.hpp +28 -0
  1379. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/to_list.hpp +41 -0
  1380. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/to_tuple.hpp +27 -0
  1381. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/transform.hpp +48 -0
  1382. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/variadic_seq_to_seq.hpp +28 -0
  1383. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq.hpp +44 -0
  1384. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot/counter.hpp +25 -0
  1385. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot/detail/counter.hpp +269 -0
  1386. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot/detail/def.hpp +49 -0
  1387. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot/detail/shared.hpp +247 -0
  1388. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot/detail/slot1.hpp +267 -0
  1389. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot/detail/slot2.hpp +267 -0
  1390. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot/detail/slot3.hpp +267 -0
  1391. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot/detail/slot4.hpp +267 -0
  1392. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot/detail/slot5.hpp +267 -0
  1393. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot/slot.hpp +32 -0
  1394. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot.hpp +17 -0
  1395. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/stringize.hpp +33 -0
  1396. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/detail/is_single_return.hpp +28 -0
  1397. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/eat.hpp +115 -0
  1398. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/elem.hpp +201 -0
  1399. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/enum.hpp +22 -0
  1400. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/insert.hpp +37 -0
  1401. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/pop_back.hpp +64 -0
  1402. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/pop_front.hpp +65 -0
  1403. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/push_back.hpp +31 -0
  1404. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/push_front.hpp +32 -0
  1405. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/rem.hpp +149 -0
  1406. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/remove.hpp +64 -0
  1407. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/replace.hpp +37 -0
  1408. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/reverse.hpp +117 -0
  1409. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/size.hpp +28 -0
  1410. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/to_array.hpp +39 -0
  1411. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/to_list.hpp +118 -0
  1412. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/to_seq.hpp +119 -0
  1413. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple.hpp +35 -0
  1414. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/variadic/detail/is_single_return.hpp +28 -0
  1415. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/variadic/elem.hpp +94 -0
  1416. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/variadic/size.hpp +30 -0
  1417. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/variadic/to_array.hpp +32 -0
  1418. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/variadic/to_list.hpp +25 -0
  1419. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/variadic/to_seq.hpp +25 -0
  1420. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/variadic/to_tuple.hpp +24 -0
  1421. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/variadic.hpp +23 -0
  1422. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/while.hpp +17 -0
  1423. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/wstringize.hpp +29 -0
  1424. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor.hpp +19 -0
  1425. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/index.html +18 -0
  1426. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/meta/libraries.json +15 -0
  1427. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/Jamfile.v2 +252 -0
  1428. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/arithmetic.c +12 -0
  1429. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/arithmetic.cpp +12 -0
  1430. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/arithmetic.cxx +82 -0
  1431. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/array.c +14 -0
  1432. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/array.cpp +14 -0
  1433. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/array.cxx +192 -0
  1434. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/comparison.c +13 -0
  1435. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/comparison.cpp +12 -0
  1436. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/comparison.cxx +45 -0
  1437. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/config_info.cpp +93 -0
  1438. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/control.c +12 -0
  1439. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/control.cpp +12 -0
  1440. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/control.cxx +40 -0
  1441. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/debug.c +12 -0
  1442. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/debug.cpp +12 -0
  1443. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/debug.cxx +21 -0
  1444. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/facilities.c +12 -0
  1445. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/facilities.cpp +12 -0
  1446. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/facilities.cxx +55 -0
  1447. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/isempty.c +12 -0
  1448. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/isempty.cpp +12 -0
  1449. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/isempty.cxx +145 -0
  1450. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/isempty_variadic_standard_failure.c +12 -0
  1451. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/isempty_variadic_standard_failure.cpp +12 -0
  1452. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/isempty_variadic_standard_failure.cxx +25 -0
  1453. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/isempty_variadic_standard_failure2.c +12 -0
  1454. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/isempty_variadic_standard_failure2.cpp +12 -0
  1455. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/isempty_variadic_standard_failure2.cxx +25 -0
  1456. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/iteration.cpp +33 -0
  1457. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/iteration.h +62 -0
  1458. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/list.c +14 -0
  1459. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/list.cpp +14 -0
  1460. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/list.cxx +91 -0
  1461. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/logical.c +12 -0
  1462. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/logical.cpp +12 -0
  1463. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/logical.cxx +59 -0
  1464. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/punctuation.c +14 -0
  1465. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/punctuation.cpp +14 -0
  1466. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/punctuation.cxx +54 -0
  1467. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/repetition.cpp +50 -0
  1468. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/selection.c +12 -0
  1469. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/selection.cpp +12 -0
  1470. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/selection.cxx +21 -0
  1471. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/seq.c +14 -0
  1472. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/seq.cpp +14 -0
  1473. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/seq.cxx +222 -0
  1474. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/slot.c +12 -0
  1475. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/slot.cpp +12 -0
  1476. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/slot.cxx +53 -0
  1477. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/test.h +37 -0
  1478. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/tuple.c +14 -0
  1479. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/tuple.cpp +14 -0
  1480. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/tuple.cxx +266 -0
  1481. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/tuple_elem_bug_test.cxx +38 -0
  1482. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/variadic.c +12 -0
  1483. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/variadic.cpp +12 -0
  1484. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/variadic.cxx +56 -0
  1485. data/ext/enterprise_script_service/msgpack/include/msgpack/pack.h +24 -1
  1486. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/array_ref.hpp +5 -4
  1487. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/boost/optional.hpp +4 -4
  1488. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/cpp17/vector_byte.hpp +8 -8
  1489. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/map.hpp +4 -4
  1490. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/vector.hpp +4 -4
  1491. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/vector_char.hpp +8 -8
  1492. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/vector_unsigned_char.hpp +8 -8
  1493. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/wstring.hpp +4 -4
  1494. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/unpack.hpp +6 -6
  1495. data/ext/enterprise_script_service/msgpack/include/msgpack/version_master.h +2 -2
  1496. data/ext/enterprise_script_service/msgpack/include/msgpack/zbuffer.h +4 -4
  1497. data/ext/enterprise_script_service/msgpack/make_file_list.sh +38 -11
  1498. data/ext/enterprise_script_service/msgpack/src/vrefbuffer.c +6 -0
  1499. data/ext/enterprise_script_service/msgpack/test/CMakeLists.txt +86 -64
  1500. data/ext/enterprise_script_service/msgpack/test/array_ref.cpp +4 -0
  1501. data/ext/enterprise_script_service/msgpack/test/boost_fusion.cpp +4 -0
  1502. data/ext/enterprise_script_service/msgpack/test/boost_optional.cpp +4 -0
  1503. data/ext/enterprise_script_service/msgpack/test/boost_string_ref.cpp +4 -1
  1504. data/ext/enterprise_script_service/msgpack/test/boost_string_view.cpp +4 -0
  1505. data/ext/enterprise_script_service/msgpack/test/boost_variant.cpp +4 -0
  1506. data/ext/enterprise_script_service/msgpack/test/buffer.cpp +4 -47
  1507. data/ext/enterprise_script_service/msgpack/test/buffer_c.cpp +148 -0
  1508. data/ext/enterprise_script_service/msgpack/test/carray.cpp +4 -0
  1509. data/ext/enterprise_script_service/msgpack/test/cases.cpp +8 -4
  1510. data/ext/enterprise_script_service/msgpack/test/convert.cpp +8 -4
  1511. data/ext/enterprise_script_service/msgpack/test/fixint.cpp +4 -0
  1512. data/ext/enterprise_script_service/msgpack/test/fixint_c.cpp +4 -0
  1513. data/ext/enterprise_script_service/msgpack/test/fuzz_unpack_pack_fuzzer_cpp11.cpp +4 -0
  1514. data/ext/enterprise_script_service/msgpack/test/iterator_cpp11.cpp +4 -0
  1515. data/ext/enterprise_script_service/msgpack/test/json.cpp +4 -0
  1516. data/ext/enterprise_script_service/msgpack/test/limit.cpp +8 -4
  1517. data/ext/enterprise_script_service/msgpack/test/msgpack_basic.cpp +4 -0
  1518. data/ext/enterprise_script_service/msgpack/test/msgpack_c.cpp +159 -0
  1519. data/ext/enterprise_script_service/msgpack/test/msgpack_container.cpp +4 -0
  1520. data/ext/enterprise_script_service/msgpack/test/msgpack_cpp11.cpp +32 -27
  1521. data/ext/enterprise_script_service/msgpack/test/msgpack_cpp17.cpp +4 -0
  1522. data/ext/enterprise_script_service/msgpack/test/msgpack_stream.cpp +4 -0
  1523. data/ext/enterprise_script_service/msgpack/test/msgpack_tuple.cpp +4 -1
  1524. data/ext/enterprise_script_service/msgpack/test/msgpack_vref.cpp +4 -0
  1525. data/ext/enterprise_script_service/msgpack/test/msgpack_x3_parse.cpp +4 -0
  1526. data/ext/enterprise_script_service/msgpack/test/object.cpp +4 -1
  1527. data/ext/enterprise_script_service/msgpack/test/object_with_zone.cpp +12 -8
  1528. data/ext/enterprise_script_service/msgpack/test/pack_unpack.cpp +30 -26
  1529. data/ext/enterprise_script_service/msgpack/test/pack_unpack_c.cpp +4 -0
  1530. data/ext/enterprise_script_service/msgpack/test/raw.cpp +4 -0
  1531. data/ext/enterprise_script_service/msgpack/test/reference.cpp +4 -0
  1532. data/ext/enterprise_script_service/msgpack/test/reference_cpp11.cpp +4 -0
  1533. data/ext/enterprise_script_service/msgpack/test/reference_wrapper_cpp11.cpp +4 -0
  1534. data/ext/enterprise_script_service/msgpack/test/shared_ptr_cpp11.cpp +4 -0
  1535. data/ext/enterprise_script_service/msgpack/test/size_equal_only.cpp +4 -0
  1536. data/ext/enterprise_script_service/msgpack/test/streaming.cpp +8 -4
  1537. data/ext/enterprise_script_service/msgpack/test/streaming_c.cpp +4 -0
  1538. data/ext/enterprise_script_service/msgpack/test/unique_ptr_cpp11.cpp +4 -0
  1539. data/ext/enterprise_script_service/msgpack/test/user_class.cpp +16 -12
  1540. data/ext/enterprise_script_service/msgpack/test/version.cpp +4 -0
  1541. data/ext/enterprise_script_service/msgpack/test/visitor.cpp +4 -0
  1542. data/ext/enterprise_script_service/msgpack/test/zone.cpp +4 -0
  1543. data/ext/enterprise_script_service/timer.cpp +8 -28
  1544. data/ext/enterprise_script_service/timer.hpp +3 -2
  1545. data/lib/script_core/version.rb +1 -1
  1546. data/script_core.gemspec +1 -1
  1547. data/spec/dummy/db/schema.rb +3 -3
  1548. data/spec/script_core_spec.rb +13 -0
  1549. data/tests/timer_test.cpp +13 -5
  1550. metadata +1166 -48
  1551. data/.ruby-version +0 -1
  1552. data/ext/enterprise_script_service/libseccomp/src/arch-aarch64-syscalls.c +0 -559
  1553. data/ext/enterprise_script_service/libseccomp/src/arch-arm-syscalls.c +0 -570
  1554. data/ext/enterprise_script_service/libseccomp/src/arch-mips-syscalls.c +0 -562
  1555. data/ext/enterprise_script_service/libseccomp/src/arch-mips64-syscalls.c +0 -562
  1556. data/ext/enterprise_script_service/libseccomp/src/arch-mips64n32-syscalls.c +0 -562
  1557. data/ext/enterprise_script_service/libseccomp/src/arch-parisc-syscalls.c +0 -542
  1558. data/ext/enterprise_script_service/libseccomp/src/arch-ppc-syscalls.c +0 -559
  1559. data/ext/enterprise_script_service/libseccomp/src/arch-ppc64-syscalls.c +0 -559
  1560. data/ext/enterprise_script_service/libseccomp/src/arch-s390-syscalls.c +0 -626
  1561. data/ext/enterprise_script_service/libseccomp/src/arch-s390x-syscalls.c +0 -626
  1562. data/ext/enterprise_script_service/libseccomp/src/arch-x32-syscalls.c +0 -558
  1563. data/ext/enterprise_script_service/libseccomp/src/arch-x86-syscalls.c +0 -692
  1564. data/ext/enterprise_script_service/libseccomp/src/arch-x86_64-syscalls.c +0 -559
  1565. data/ext/enterprise_script_service/libseccomp/tests/18-sim-basic_whitelist.tests +0 -32
  1566. data/ext/enterprise_script_service/libseccomp/tests/34-sim-basic_blacklist.tests +0 -32
  1567. data/ext/enterprise_script_service/mruby/TODO +0 -8
  1568. data/ext/enterprise_script_service/mruby/benchmark/build_config_boxing.rb +0 -28
  1569. data/ext/enterprise_script_service/mruby/examples/targets/build_config_android_arm64-v8a.rb +0 -26
  1570. data/ext/enterprise_script_service/mruby/examples/targets/build_config_android_armeabi.rb +0 -26
  1571. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sprintf/src/kernel.c +0 -30
  1572. data/ext/enterprise_script_service/mruby/mrblib/mrblib.rake +0 -18
  1573. data/ext/enterprise_script_service/mruby/src/crc.c +0 -39
  1574. data/ext/enterprise_script_service/mruby/src/mruby_core.rake +0 -19
  1575. data/ext/enterprise_script_service/mruby/travis_config.rb +0 -54
  1576. data/ext/enterprise_script_service/msgpack/.travis.yml +0 -258
@@ -11,6 +11,7 @@
11
11
  #include "mruby/variable.h"
12
12
  #include "mruby/ext/io.h"
13
13
  #include "mruby/error.h"
14
+ #include "mruby/presym.h"
14
15
 
15
16
  #include <sys/types.h>
16
17
  #include <sys/stat.h>
@@ -18,6 +19,7 @@
18
19
  #if defined(_WIN32) || defined(_WIN64)
19
20
  #include <winsock.h>
20
21
  #include <io.h>
22
+ #include <basetsd.h>
21
23
  #define open _open
22
24
  #define close _close
23
25
  #define dup _dup
@@ -31,14 +33,27 @@
31
33
  typedef long ftime_t;
32
34
  typedef long fsuseconds_t;
33
35
  typedef int fmode_t;
36
+ typedef int mrb_io_read_write_size;
37
+ #ifndef MRB_MINGW32_LEGACY
38
+ #if !defined(_SSIZE_T_) && !defined(_SSIZE_T_DEFINED) && \
39
+ !defined(__have_typedef_ssize_t)
40
+ typedef SSIZE_T ssize_t;
41
+ #endif
42
+ #endif
43
+
44
+ #ifndef O_TMPFILE
45
+ #define O_TMPFILE O_TEMPORARY
46
+ #endif
34
47
 
35
48
  #else
36
49
  #include <sys/wait.h>
50
+ #include <sys/time.h>
37
51
  #include <unistd.h>
38
52
  typedef size_t fsize_t;
39
53
  typedef time_t ftime_t;
40
54
  typedef suseconds_t fsuseconds_t;
41
55
  typedef mode_t fmode_t;
56
+ typedef ssize_t mrb_io_read_write_size;
42
57
  #endif
43
58
 
44
59
  #ifdef _MSC_VER
@@ -48,9 +63,14 @@ typedef mrb_int pid_t;
48
63
  #include <fcntl.h>
49
64
 
50
65
  #include <errno.h>
51
- #include <stdio.h>
52
66
  #include <string.h>
53
67
 
68
+ #define OPEN_ACCESS_MODE_FLAGS (O_RDONLY | O_WRONLY | O_RDWR)
69
+ #define OPEN_RDONLY_P(f) ((mrb_bool)(((f) & OPEN_ACCESS_MODE_FLAGS) == O_RDONLY))
70
+ #define OPEN_WRONLY_P(f) ((mrb_bool)(((f) & OPEN_ACCESS_MODE_FLAGS) == O_WRONLY))
71
+ #define OPEN_RDWR_P(f) ((mrb_bool)(((f) & OPEN_ACCESS_MODE_FLAGS) == O_RDWR))
72
+ #define OPEN_READABLE_P(f) ((mrb_bool)(OPEN_RDONLY_P(f) || OPEN_RDWR_P(f)))
73
+ #define OPEN_WRITABLE_P(f) ((mrb_bool)(OPEN_WRONLY_P(f) || OPEN_RDWR_P(f)))
54
74
 
55
75
  static void mrb_io_free(mrb_state *mrb, void *ptr);
56
76
  struct mrb_data_type mrb_io_type = { "IO", mrb_io_free };
@@ -58,7 +78,7 @@ struct mrb_data_type mrb_io_type = { "IO", mrb_io_free };
58
78
 
59
79
  static struct mrb_io *io_get_open_fptr(mrb_state *mrb, mrb_value self);
60
80
  static int mrb_io_modestr_to_flags(mrb_state *mrb, const char *modestr);
61
- static int mrb_io_flags_to_modenum(mrb_state *mrb, int flags);
81
+ static int mrb_io_mode_to_flags(mrb_state *mrb, mrb_value mode);
62
82
  static void fptr_finalize(mrb_state *mrb, struct mrb_io *fptr, int quiet);
63
83
 
64
84
  static struct mrb_io *
@@ -83,47 +103,50 @@ io_set_process_status(mrb_state *mrb, pid_t pid, int status)
83
103
  mrb_value v;
84
104
 
85
105
  c_status = NULL;
86
- if (mrb_class_defined(mrb, "Process")) {
87
- c_process = mrb_module_get(mrb, "Process");
88
- if (mrb_const_defined(mrb, mrb_obj_value(c_process), mrb_intern_cstr(mrb, "Status"))) {
89
- c_status = mrb_class_get_under(mrb, c_process, "Status");
106
+ if (mrb_class_defined_id(mrb, MRB_SYM(Process))) {
107
+ c_process = mrb_module_get_id(mrb, MRB_SYM(Process));
108
+ if (mrb_const_defined(mrb, mrb_obj_value(c_process), MRB_SYM(Status))) {
109
+ c_status = mrb_class_get_under_id(mrb, c_process, MRB_SYM(Status));
90
110
  }
91
111
  }
92
112
  if (c_status != NULL) {
93
- v = mrb_funcall(mrb, mrb_obj_value(c_status), "new", 2, mrb_fixnum_value(pid), mrb_fixnum_value(status));
113
+ v = mrb_funcall_id(mrb, mrb_obj_value(c_status), MRB_SYM(new), 2, mrb_fixnum_value(pid), mrb_fixnum_value(status));
94
114
  } else {
95
115
  v = mrb_fixnum_value(WEXITSTATUS(status));
96
116
  }
97
- mrb_gv_set(mrb, mrb_intern_cstr(mrb, "$?"), v);
117
+ mrb_gv_set(mrb, mrb_intern_lit(mrb, "$?"), v);
98
118
  }
99
119
 
100
120
  static int
101
121
  mrb_io_modestr_to_flags(mrb_state *mrb, const char *mode)
102
122
  {
103
- int flags = 0;
123
+ int flags;
104
124
  const char *m = mode;
105
125
 
106
126
  switch (*m++) {
107
127
  case 'r':
108
- flags |= FMODE_READABLE;
128
+ flags = O_RDONLY;
109
129
  break;
110
130
  case 'w':
111
- flags |= FMODE_WRITABLE | FMODE_CREATE | FMODE_TRUNC;
131
+ flags = O_WRONLY | O_CREAT | O_TRUNC;
112
132
  break;
113
133
  case 'a':
114
- flags |= FMODE_WRITABLE | FMODE_APPEND | FMODE_CREATE;
134
+ flags = O_WRONLY | O_CREAT | O_APPEND;
115
135
  break;
116
136
  default:
117
137
  mrb_raisef(mrb, E_ARGUMENT_ERROR, "illegal access mode %s", mode);
138
+ flags = 0; /* not reached */
118
139
  }
119
140
 
120
141
  while (*m) {
121
142
  switch (*m++) {
122
143
  case 'b':
123
- flags |= FMODE_BINMODE;
144
+ #ifdef O_BINARY
145
+ flags |= O_BINARY;
146
+ #endif
124
147
  break;
125
148
  case '+':
126
- flags |= FMODE_READWRITE;
149
+ flags = (flags & ~OPEN_ACCESS_MODE_FLAGS) | O_RDWR;
127
150
  break;
128
151
  case ':':
129
152
  /* XXX: PASSTHROUGH*/
@@ -136,38 +159,72 @@ mrb_io_modestr_to_flags(mrb_state *mrb, const char *mode)
136
159
  }
137
160
 
138
161
  static int
139
- mrb_io_flags_to_modenum(mrb_state *mrb, int flags)
162
+ mrb_io_mode_to_flags(mrb_state *mrb, mrb_value mode)
140
163
  {
141
- int modenum = 0;
142
-
143
- switch(flags & (FMODE_READABLE|FMODE_WRITABLE|FMODE_READWRITE)) {
144
- case FMODE_READABLE:
145
- modenum = O_RDONLY;
146
- break;
147
- case FMODE_WRITABLE:
148
- modenum = O_WRONLY;
149
- break;
150
- case FMODE_READWRITE:
151
- modenum = O_RDWR;
152
- break;
153
- }
154
-
155
- if (flags & FMODE_APPEND) {
156
- modenum |= O_APPEND;
157
- }
158
- if (flags & FMODE_TRUNC) {
159
- modenum |= O_TRUNC;
164
+ if (mrb_nil_p(mode)) {
165
+ return mrb_io_modestr_to_flags(mrb, "r");
160
166
  }
161
- if (flags & FMODE_CREATE) {
162
- modenum |= O_CREAT;
167
+ else if (mrb_string_p(mode)) {
168
+ return mrb_io_modestr_to_flags(mrb, RSTRING_CSTR(mrb, mode));
163
169
  }
170
+ else {
171
+ int flags = 0;
172
+ mrb_int flags0 = mrb_int(mrb, mode);
173
+
174
+ switch (flags0 & MRB_O_ACCMODE) {
175
+ case MRB_O_RDONLY:
176
+ flags |= O_RDONLY;
177
+ break;
178
+ case MRB_O_WRONLY:
179
+ flags |= O_WRONLY;
180
+ break;
181
+ case MRB_O_RDWR:
182
+ flags |= O_RDWR;
183
+ break;
184
+ default:
185
+ mrb_raisef(mrb, E_ARGUMENT_ERROR, "illegal access mode %v", mode);
186
+ }
187
+
188
+ if (flags0 & MRB_O_APPEND) flags |= O_APPEND;
189
+ if (flags0 & MRB_O_CREAT) flags |= O_CREAT;
190
+ if (flags0 & MRB_O_EXCL) flags |= O_EXCL;
191
+ if (flags0 & MRB_O_TRUNC) flags |= O_TRUNC;
192
+ #ifdef O_NONBLOCK
193
+ if (flags0 & MRB_O_NONBLOCK) flags |= O_NONBLOCK;
194
+ #endif
195
+ #ifdef O_NOCTTY
196
+ if (flags0 & MRB_O_NOCTTY) flags |= O_NOCTTY;
197
+ #endif
164
198
  #ifdef O_BINARY
165
- if (flags & FMODE_BINMODE) {
166
- modenum |= O_BINARY;
167
- }
199
+ if (flags0 & MRB_O_BINARY) flags |= O_BINARY;
200
+ #endif
201
+ #ifdef O_SHARE_DELETE
202
+ if (flags0 & MRB_O_SHARE_DELETE) flags |= O_SHARE_DELETE;
203
+ #endif
204
+ #ifdef O_SYNC
205
+ if (flags0 & MRB_O_SYNC) flags |= O_SYNC;
206
+ #endif
207
+ #ifdef O_DSYNC
208
+ if (flags0 & MRB_O_DSYNC) flags |= O_DSYNC;
209
+ #endif
210
+ #ifdef O_RSYNC
211
+ if (flags0 & MRB_O_RSYNC) flags |= O_RSYNC;
212
+ #endif
213
+ #ifdef O_NOFOLLOW
214
+ if (flags0 & MRB_O_NOFOLLOW) flags |= O_NOFOLLOW;
215
+ #endif
216
+ #ifdef O_NOATIME
217
+ if (flags0 & MRB_O_NOATIME) flags |= O_NOATIME;
218
+ #endif
219
+ #ifdef O_DIRECT
220
+ if (flags0 & MRB_O_DIRECT) flags |= O_DIRECT;
221
+ #endif
222
+ #ifdef O_TMPFILE
223
+ if (flags0 & MRB_O_TMPFILE) flags |= O_TMPFILE;
168
224
  #endif
169
225
 
170
- return modenum;
226
+ return flags;
227
+ }
171
228
  }
172
229
 
173
230
  static void
@@ -270,20 +327,20 @@ mrb_io_alloc(mrb_state *mrb)
270
327
  #define NOFILE 64
271
328
  #endif
272
329
 
330
+ #if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
331
+ # define mrb_io_s_popen mrb_notimplement_m
332
+ #else
273
333
  static int
274
- option_to_fd(mrb_state *mrb, mrb_value hash, const char *key)
334
+ option_to_fd(mrb_state *mrb, mrb_value v)
275
335
  {
276
- mrb_value opt;
277
-
278
- if (!mrb_hash_p(hash)) return -1;
279
- opt = mrb_hash_fetch(mrb, hash, mrb_symbol_value(mrb_intern_static(mrb, key, strlen(key))), mrb_nil_value());
280
- if (mrb_nil_p(opt)) return -1;
336
+ if (mrb_undef_p(v)) return -1;
337
+ if (mrb_nil_p(v)) return -1;
281
338
 
282
- switch (mrb_type(opt)) {
339
+ switch (mrb_type(v)) {
283
340
  case MRB_TT_DATA: /* IO */
284
- return mrb_io_fileno(mrb, opt);
285
- case MRB_TT_FIXNUM:
286
- return (int)mrb_fixnum(opt);
341
+ return mrb_io_fileno(mrb, v);
342
+ case MRB_TT_INTEGER:
343
+ return (int)mrb_integer(v);
287
344
  default:
288
345
  mrb_raise(mrb, E_ARGUMENT_ERROR, "wrong exec redirect action");
289
346
  break;
@@ -291,16 +348,42 @@ option_to_fd(mrb_state *mrb, mrb_value hash, const char *key)
291
348
  return -1; /* never reached */
292
349
  }
293
350
 
351
+ static mrb_value
352
+ mrb_io_s_popen_args(mrb_state *mrb, mrb_value klass,
353
+ const char **cmd, int *flags, int *doexec,
354
+ int *opt_in, int *opt_out, int *opt_err)
355
+ {
356
+ mrb_value mode = mrb_nil_value();
357
+ struct { mrb_value opt_in, opt_out, opt_err; } kv;
358
+ mrb_sym knames[3] = {MRB_SYM(in), MRB_SYM(out), MRB_SYM(err)};
359
+ const mrb_kwargs kw = {
360
+ 3, 0,
361
+ knames,
362
+ &kv.opt_in,
363
+ NULL,
364
+ };
365
+
366
+ mrb_get_args(mrb, "z|o:", cmd, &mode, &kw);
367
+
368
+ *flags = mrb_io_mode_to_flags(mrb, mode);
369
+ *doexec = (strcmp("-", *cmd) != 0);
370
+ *opt_in = option_to_fd(mrb, kv.opt_in);
371
+ *opt_out = option_to_fd(mrb, kv.opt_out);
372
+ *opt_err = option_to_fd(mrb, kv.opt_err);
373
+
374
+ return mrb_obj_value(mrb_data_object_alloc(mrb, mrb_class_ptr(klass), NULL, &mrb_io_type));
375
+ }
376
+
294
377
  #ifdef _WIN32
295
- mrb_value
378
+ static mrb_value
296
379
  mrb_io_s_popen(mrb_state *mrb, mrb_value klass)
297
380
  {
298
- mrb_value cmd, io;
299
- mrb_value mode = mrb_str_new_cstr(mrb, "r");
300
- mrb_value opt = mrb_hash_new(mrb);
381
+ mrb_value io;
382
+ int doexec;
383
+ int opt_in, opt_out, opt_err;
384
+ const char *cmd;
301
385
 
302
386
  struct mrb_io *fptr;
303
- const char *pname;
304
387
  int pid = 0, flags;
305
388
  STARTUPINFO si;
306
389
  PROCESS_INFORMATION pi;
@@ -309,37 +392,26 @@ mrb_io_s_popen(mrb_state *mrb, mrb_value klass)
309
392
  HANDLE ifd[2];
310
393
  HANDLE ofd[2];
311
394
 
312
- int doexec;
313
- int opt_in, opt_out, opt_err;
314
-
315
395
  ifd[0] = INVALID_HANDLE_VALUE;
316
396
  ifd[1] = INVALID_HANDLE_VALUE;
317
397
  ofd[0] = INVALID_HANDLE_VALUE;
318
398
  ofd[1] = INVALID_HANDLE_VALUE;
319
399
 
320
- mrb_get_args(mrb, "S|SH", &cmd, &mode, &opt);
321
- io = mrb_obj_value(mrb_data_object_alloc(mrb, mrb_class_ptr(klass), NULL, &mrb_io_type));
322
-
323
- pname = RSTRING_CSTR(mrb, cmd);
324
- flags = mrb_io_modestr_to_flags(mrb, RSTRING_CSTR(mrb, mode));
325
-
326
- doexec = (strcmp("-", pname) != 0);
327
- opt_in = option_to_fd(mrb, opt, "in");
328
- opt_out = option_to_fd(mrb, opt, "out");
329
- opt_err = option_to_fd(mrb, opt, "err");
400
+ io = mrb_io_s_popen_args(mrb, klass, &cmd, &flags, &doexec,
401
+ &opt_in, &opt_out, &opt_err);
330
402
 
331
403
  saAttr.nLength = sizeof(SECURITY_ATTRIBUTES);
332
404
  saAttr.bInheritHandle = TRUE;
333
405
  saAttr.lpSecurityDescriptor = NULL;
334
406
 
335
- if (flags & FMODE_READABLE) {
407
+ if (OPEN_READABLE_P(flags)) {
336
408
  if (!CreatePipe(&ofd[0], &ofd[1], &saAttr, 0)
337
409
  || !SetHandleInformation(ofd[0], HANDLE_FLAG_INHERIT, 0)) {
338
410
  mrb_sys_fail(mrb, "pipe");
339
411
  }
340
412
  }
341
413
 
342
- if (flags & FMODE_WRITABLE) {
414
+ if (OPEN_WRITABLE_P(flags)) {
343
415
  if (!CreatePipe(&ifd[0], &ifd[1], &saAttr, 0)
344
416
  || !SetHandleInformation(ifd[1], HANDLE_FLAG_INHERIT, 0)) {
345
417
  mrb_sys_fail(mrb, "pipe");
@@ -353,21 +425,21 @@ mrb_io_s_popen(mrb_state *mrb, mrb_value klass)
353
425
  si.dwFlags |= STARTF_USESHOWWINDOW;
354
426
  si.wShowWindow = SW_HIDE;
355
427
  si.dwFlags |= STARTF_USESTDHANDLES;
356
- if (flags & FMODE_READABLE) {
428
+ if (OPEN_READABLE_P(flags)) {
357
429
  si.hStdOutput = ofd[1];
358
430
  si.hStdError = ofd[1];
359
431
  }
360
- if (flags & FMODE_WRITABLE) {
432
+ if (OPEN_WRITABLE_P(flags)) {
361
433
  si.hStdInput = ifd[0];
362
434
  }
363
435
  if (!CreateProcess(
364
- NULL, (char*)pname, NULL, NULL,
436
+ NULL, (char*)cmd, NULL, NULL,
365
437
  TRUE, CREATE_NEW_PROCESS_GROUP, NULL, NULL, &si, &pi)) {
366
438
  CloseHandle(ifd[0]);
367
439
  CloseHandle(ifd[1]);
368
440
  CloseHandle(ofd[0]);
369
441
  CloseHandle(ofd[1]);
370
- mrb_raisef(mrb, E_IO_ERROR, "command not found: %v", cmd);
442
+ mrb_raisef(mrb, E_IO_ERROR, "command not found: %s", cmd);
371
443
  }
372
444
  CloseHandle(pi.hThread);
373
445
  CloseHandle(ifd[0]);
@@ -375,56 +447,39 @@ mrb_io_s_popen(mrb_state *mrb, mrb_value klass)
375
447
  pid = pi.dwProcessId;
376
448
  }
377
449
 
378
- mrb_iv_set(mrb, io, mrb_intern_cstr(mrb, "@buf"), mrb_str_new_cstr(mrb, ""));
450
+ mrb_iv_set(mrb, io, mrb_intern_lit(mrb, "@buf"), mrb_str_new_cstr(mrb, ""));
379
451
 
380
452
  fptr = mrb_io_alloc(mrb);
381
453
  fptr->fd = _open_osfhandle((intptr_t)ofd[0], 0);
382
454
  fptr->fd2 = _open_osfhandle((intptr_t)ifd[1], 0);
383
455
  fptr->pid = pid;
384
- fptr->readable = ((flags & FMODE_READABLE) != 0);
385
- fptr->writable = ((flags & FMODE_WRITABLE) != 0);
456
+ fptr->readable = OPEN_READABLE_P(flags);
457
+ fptr->writable = OPEN_WRITABLE_P(flags);
386
458
  fptr->sync = 0;
387
459
 
388
460
  DATA_TYPE(io) = &mrb_io_type;
389
461
  DATA_PTR(io) = fptr;
390
462
  return io;
391
463
  }
392
- #elif defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
393
- mrb_value
394
- mrb_io_s_popen(mrb_state *mrb, mrb_value klass)
395
- {
396
- mrb_raise(mrb, E_NOTIMP_ERROR, "IO#popen is not supported on the platform");
397
- return mrb_false_value();
398
- }
399
464
  #else
400
- mrb_value
465
+ static mrb_value
401
466
  mrb_io_s_popen(mrb_state *mrb, mrb_value klass)
402
467
  {
403
- mrb_value cmd, io, result;
404
- mrb_value mode = mrb_str_new_cstr(mrb, "r");
405
- mrb_value opt = mrb_hash_new(mrb);
468
+ mrb_value io, result;
469
+ int doexec;
470
+ int opt_in, opt_out, opt_err;
471
+ const char *cmd;
406
472
 
407
473
  struct mrb_io *fptr;
408
- const char *pname;
409
474
  int pid, flags, fd, write_fd = -1;
410
475
  int pr[2] = { -1, -1 };
411
476
  int pw[2] = { -1, -1 };
412
- int doexec;
413
477
  int saved_errno;
414
- int opt_in, opt_out, opt_err;
415
478
 
416
- mrb_get_args(mrb, "S|SH", &cmd, &mode, &opt);
417
- io = mrb_obj_value(mrb_data_object_alloc(mrb, mrb_class_ptr(klass), NULL, &mrb_io_type));
479
+ io = mrb_io_s_popen_args(mrb, klass, &cmd, &flags, &doexec,
480
+ &opt_in, &opt_out, &opt_err);
418
481
 
419
- pname = RSTRING_CSTR(mrb, cmd);
420
- flags = mrb_io_modestr_to_flags(mrb, RSTRING_CSTR(mrb, mode));
421
-
422
- doexec = (strcmp("-", pname) != 0);
423
- opt_in = option_to_fd(mrb, opt, "in");
424
- opt_out = option_to_fd(mrb, opt, "out");
425
- opt_err = option_to_fd(mrb, opt, "err");
426
-
427
- if (flags & FMODE_READABLE) {
482
+ if (OPEN_READABLE_P(flags)) {
428
483
  if (pipe(pr) == -1) {
429
484
  mrb_sys_fail(mrb, "pipe");
430
485
  }
@@ -432,7 +487,7 @@ mrb_io_s_popen(mrb_state *mrb, mrb_value klass)
432
487
  mrb_fd_cloexec(mrb, pr[1]);
433
488
  }
434
489
 
435
- if (flags & FMODE_WRITABLE) {
490
+ if (OPEN_WRITABLE_P(flags)) {
436
491
  if (pipe(pw) == -1) {
437
492
  if (pr[0] != -1) close(pr[0]);
438
493
  if (pr[1] != -1) close(pr[1]);
@@ -461,14 +516,14 @@ mrb_io_s_popen(mrb_state *mrb, mrb_value klass)
461
516
  if (opt_err != -1) {
462
517
  dup2(opt_err, 2);
463
518
  }
464
- if (flags & FMODE_READABLE) {
519
+ if (OPEN_READABLE_P(flags)) {
465
520
  close(pr[0]);
466
521
  if (pr[1] != 1) {
467
522
  dup2(pr[1], 1);
468
523
  close(pr[1]);
469
524
  }
470
525
  }
471
- if (flags & FMODE_WRITABLE) {
526
+ if (OPEN_WRITABLE_P(flags)) {
472
527
  close(pw[1]);
473
528
  if (pw[0] != 0) {
474
529
  dup2(pw[0], 0);
@@ -479,20 +534,20 @@ mrb_io_s_popen(mrb_state *mrb, mrb_value klass)
479
534
  for (fd = 3; fd < NOFILE; fd++) {
480
535
  close(fd);
481
536
  }
482
- mrb_proc_exec(pname);
483
- mrb_raisef(mrb, E_IO_ERROR, "command not found: %v", cmd);
537
+ mrb_proc_exec(cmd);
538
+ mrb_raisef(mrb, E_IO_ERROR, "command not found: %s", cmd);
484
539
  _exit(127);
485
540
  }
486
541
  result = mrb_nil_value();
487
542
  break;
488
543
 
489
544
  default: /* parent */
490
- if ((flags & FMODE_READABLE) && (flags & FMODE_WRITABLE)) {
545
+ if (OPEN_RDWR_P(flags)) {
491
546
  close(pr[1]);
492
547
  fd = pr[0];
493
548
  close(pw[0]);
494
549
  write_fd = pw[1];
495
- } else if (flags & FMODE_READABLE) {
550
+ } else if (OPEN_RDONLY_P(flags)) {
496
551
  close(pr[1]);
497
552
  fd = pr[0];
498
553
  } else {
@@ -500,14 +555,14 @@ mrb_io_s_popen(mrb_state *mrb, mrb_value klass)
500
555
  fd = pw[1];
501
556
  }
502
557
 
503
- mrb_iv_set(mrb, io, mrb_intern_cstr(mrb, "@buf"), mrb_str_new_cstr(mrb, ""));
558
+ mrb_iv_set(mrb, io, mrb_intern_lit(mrb, "@buf"), mrb_str_new_cstr(mrb, ""));
504
559
 
505
560
  fptr = mrb_io_alloc(mrb);
506
561
  fptr->fd = fd;
507
562
  fptr->fd2 = write_fd;
508
563
  fptr->pid = pid;
509
- fptr->readable = ((flags & FMODE_READABLE) != 0);
510
- fptr->writable = ((flags & FMODE_WRITABLE) != 0);
564
+ fptr->readable = OPEN_READABLE_P(flags);
565
+ fptr->writable = OPEN_WRITABLE_P(flags);
511
566
  fptr->sync = 0;
512
567
 
513
568
  DATA_TYPE(io) = &mrb_io_type;
@@ -517,11 +572,11 @@ mrb_io_s_popen(mrb_state *mrb, mrb_value klass)
517
572
 
518
573
  case -1: /* error */
519
574
  saved_errno = errno;
520
- if (flags & FMODE_READABLE) {
575
+ if (OPEN_READABLE_P(flags)) {
521
576
  close(pr[0]);
522
577
  close(pr[1]);
523
578
  }
524
- if (flags & FMODE_WRITABLE) {
579
+ if (OPEN_WRITABLE_P(flags)) {
525
580
  close(pw[0]);
526
581
  close(pw[1]);
527
582
  }
@@ -531,7 +586,8 @@ mrb_io_s_popen(mrb_state *mrb, mrb_value klass)
531
586
  }
532
587
  return result;
533
588
  }
534
- #endif
589
+ #endif /* _WIN32 */
590
+ #endif /* TARGET_OS_IPHONE */
535
591
 
536
592
  static int
537
593
  mrb_dup(mrb_state *mrb, int fd, mrb_bool *failed)
@@ -547,16 +603,15 @@ mrb_dup(mrb_state *mrb, int fd, mrb_bool *failed)
547
603
  return new_fd;
548
604
  }
549
605
 
550
- mrb_value
606
+ static mrb_value
551
607
  mrb_io_initialize_copy(mrb_state *mrb, mrb_value copy)
552
608
  {
553
- mrb_value orig;
609
+ mrb_value orig = mrb_get_arg1(mrb);
554
610
  mrb_value buf;
555
611
  struct mrb_io *fptr_copy;
556
612
  struct mrb_io *fptr_orig;
557
613
  mrb_bool failed = TRUE;
558
614
 
559
- mrb_get_args(mrb, "o", &orig);
560
615
  fptr_orig = io_get_open_fptr(mrb, orig);
561
616
  fptr_copy = (struct mrb_io *)DATA_PTR(copy);
562
617
  if (fptr_orig == fptr_copy) return copy;
@@ -569,8 +624,8 @@ mrb_io_initialize_copy(mrb_state *mrb, mrb_value copy)
569
624
  DATA_TYPE(copy) = &mrb_io_type;
570
625
  DATA_PTR(copy) = fptr_copy;
571
626
 
572
- buf = mrb_iv_get(mrb, orig, mrb_intern_cstr(mrb, "@buf"));
573
- mrb_iv_set(mrb, copy, mrb_intern_cstr(mrb, "@buf"), buf);
627
+ buf = mrb_iv_get(mrb, orig, mrb_intern_lit(mrb, "@buf"));
628
+ mrb_iv_set(mrb, copy, mrb_intern_lit(mrb, "@buf"), buf);
574
629
 
575
630
  fptr_copy->fd = mrb_dup(mrb, fptr_orig->fd, &failed);
576
631
  if (failed) {
@@ -596,7 +651,44 @@ mrb_io_initialize_copy(mrb_state *mrb, mrb_value copy)
596
651
  return copy;
597
652
  }
598
653
 
599
- mrb_value
654
+ static void
655
+ check_file_descriptor(mrb_state *mrb, mrb_int fd)
656
+ {
657
+ struct stat sb;
658
+ int fdi = (int)fd;
659
+
660
+ #if MRB_INT_MIN < INT_MIN || MRB_INT_MAX > INT_MAX
661
+ if (fdi != fd) {
662
+ goto badfd;
663
+ }
664
+ #endif
665
+
666
+ #ifdef _WIN32
667
+ {
668
+ DWORD err;
669
+ int len = sizeof(err);
670
+
671
+ if (getsockopt(fdi, SOL_SOCKET, SO_ERROR, (char*)&err, &len) == 0) {
672
+ return;
673
+ }
674
+ }
675
+
676
+ if (fdi < 0 || fdi > _getmaxstdio()) {
677
+ goto badfd;
678
+ }
679
+ #endif /* _WIN32 */
680
+
681
+ if (fstat(fdi, &sb) != 0) {
682
+ goto badfd;
683
+ }
684
+
685
+ return;
686
+
687
+ badfd:
688
+ mrb_sys_fail(mrb, "bad file descriptor");
689
+ }
690
+
691
+ static mrb_value
600
692
  mrb_io_initialize(mrb_state *mrb, mrb_value io)
601
693
  {
602
694
  struct mrb_io *fptr;
@@ -606,7 +698,16 @@ mrb_io_initialize(mrb_state *mrb, mrb_value io)
606
698
 
607
699
  mode = opt = mrb_nil_value();
608
700
 
609
- mrb_get_args(mrb, "i|So", &fd, &mode, &opt);
701
+ mrb_get_args(mrb, "i|oo", &fd, &mode, &opt);
702
+ switch (fd) {
703
+ case 0: /* STDIN_FILENO */
704
+ case 1: /* STDOUT_FILENO */
705
+ case 2: /* STDERR_FILENO */
706
+ break;
707
+ default:
708
+ check_file_descriptor(mrb, fd);
709
+ break;
710
+ }
610
711
  if (mrb_nil_p(mode)) {
611
712
  mode = mrb_str_new_cstr(mrb, "r");
612
713
  }
@@ -614,9 +715,9 @@ mrb_io_initialize(mrb_state *mrb, mrb_value io)
614
715
  opt = mrb_hash_new(mrb);
615
716
  }
616
717
 
617
- flags = mrb_io_modestr_to_flags(mrb, RSTRING_CSTR(mrb, mode));
718
+ flags = mrb_io_mode_to_flags(mrb, mode);
618
719
 
619
- mrb_iv_set(mrb, io, mrb_intern_cstr(mrb, "@buf"), mrb_str_new_cstr(mrb, ""));
720
+ mrb_iv_set(mrb, io, mrb_intern_lit(mrb, "@buf"), mrb_str_new_cstr(mrb, ""));
620
721
 
621
722
  fptr = (struct mrb_io *)DATA_PTR(io);
622
723
  if (fptr != NULL) {
@@ -629,8 +730,8 @@ mrb_io_initialize(mrb_state *mrb, mrb_value io)
629
730
  DATA_PTR(io) = fptr;
630
731
 
631
732
  fptr->fd = (int)fd;
632
- fptr->readable = ((flags & FMODE_READABLE) != 0);
633
- fptr->writable = ((flags & FMODE_WRITABLE) != 0);
733
+ fptr->readable = OPEN_READABLE_P(flags);
734
+ fptr->writable = OPEN_WRITABLE_P(flags);
634
735
  fptr->sync = 0;
635
736
  return io;
636
737
  }
@@ -698,7 +799,7 @@ fptr_finalize(mrb_state *mrb, struct mrb_io *fptr, int quiet)
698
799
  }
699
800
  }
700
801
 
701
- mrb_value
802
+ static mrb_value
702
803
  mrb_io_check_readable(mrb_state *mrb, mrb_value self)
703
804
  {
704
805
  struct mrb_io *fptr = io_get_open_fptr(mrb, self);
@@ -708,7 +809,7 @@ mrb_io_check_readable(mrb_state *mrb, mrb_value self)
708
809
  return mrb_nil_value();
709
810
  }
710
811
 
711
- mrb_value
812
+ static mrb_value
712
813
  mrb_io_isatty(mrb_state *mrb, mrb_value self)
713
814
  {
714
815
  struct mrb_io *fptr;
@@ -719,7 +820,7 @@ mrb_io_isatty(mrb_state *mrb, mrb_value self)
719
820
  return mrb_true_value();
720
821
  }
721
822
 
722
- mrb_value
823
+ static mrb_value
723
824
  mrb_io_s_for_fd(mrb_state *mrb, mrb_value klass)
724
825
  {
725
826
  struct RClass *c = mrb_class_ptr(klass);
@@ -732,7 +833,7 @@ mrb_io_s_for_fd(mrb_state *mrb, mrb_value klass)
732
833
  return mrb_io_initialize(mrb, obj);
733
834
  }
734
835
 
735
- mrb_value
836
+ static mrb_value
736
837
  mrb_io_s_sysclose(mrb_state *mrb, mrb_value klass)
737
838
  {
738
839
  mrb_int fd;
@@ -743,7 +844,7 @@ mrb_io_s_sysclose(mrb_state *mrb, mrb_value klass)
743
844
  return mrb_fixnum_value(0);
744
845
  }
745
846
 
746
- int
847
+ static int
747
848
  mrb_cloexec_open(mrb_state *mrb, const char *pathname, mrb_int flags, mrb_int mode)
748
849
  {
749
850
  int fd, retry = FALSE;
@@ -778,39 +879,55 @@ reopen:
778
879
  return fd;
779
880
  }
780
881
 
781
- mrb_value
882
+ static mrb_value
782
883
  mrb_io_s_sysopen(mrb_state *mrb, mrb_value klass)
783
884
  {
784
885
  mrb_value path = mrb_nil_value();
785
886
  mrb_value mode = mrb_nil_value();
786
887
  mrb_int fd, perm = -1;
787
888
  const char *pat;
788
- int flags, modenum;
889
+ int flags;
789
890
 
790
- mrb_get_args(mrb, "S|Si", &path, &mode, &perm);
791
- if (mrb_nil_p(mode)) {
792
- mode = mrb_str_new_cstr(mrb, "r");
793
- }
891
+ mrb_get_args(mrb, "S|oi", &path, &mode, &perm);
794
892
  if (perm < 0) {
795
893
  perm = 0666;
796
894
  }
797
895
 
798
896
  pat = RSTRING_CSTR(mrb, path);
799
- flags = mrb_io_modestr_to_flags(mrb, RSTRING_CSTR(mrb, mode));
800
- modenum = mrb_io_flags_to_modenum(mrb, flags);
801
- fd = mrb_cloexec_open(mrb, pat, modenum, perm);
897
+ flags = mrb_io_mode_to_flags(mrb, mode);
898
+ fd = mrb_cloexec_open(mrb, pat, flags, perm);
802
899
  return mrb_fixnum_value(fd);
803
900
  }
804
901
 
805
- mrb_value
902
+ static mrb_value mrb_io_sysread_common(mrb_state *mrb,
903
+ mrb_io_read_write_size (*readfunc)(int, void *, fsize_t, off_t),
904
+ mrb_value io, mrb_value buf, mrb_int maxlen, off_t offset);
905
+
906
+ static mrb_io_read_write_size
907
+ mrb_sysread_dummy(int fd, void *buf, fsize_t nbytes, off_t offset)
908
+ {
909
+ return (mrb_io_read_write_size)read(fd, buf, nbytes);
910
+ }
911
+
912
+ static mrb_value
806
913
  mrb_io_sysread(mrb_state *mrb, mrb_value io)
807
914
  {
808
- struct mrb_io *fptr;
809
915
  mrb_value buf = mrb_nil_value();
810
916
  mrb_int maxlen;
811
- int ret;
812
917
 
813
918
  mrb_get_args(mrb, "i|S", &maxlen, &buf);
919
+
920
+ return mrb_io_sysread_common(mrb, mrb_sysread_dummy, io, buf, maxlen, 0);
921
+ }
922
+
923
+ static mrb_value
924
+ mrb_io_sysread_common(mrb_state *mrb,
925
+ mrb_io_read_write_size (*readfunc)(int, void *, fsize_t, off_t),
926
+ mrb_value io, mrb_value buf, mrb_int maxlen, off_t offset)
927
+ {
928
+ struct mrb_io *fptr;
929
+ int ret;
930
+
814
931
  if (maxlen < 0) {
815
932
  mrb_raise(mrb, E_ARGUMENT_ERROR, "negative expanding string size");
816
933
  }
@@ -824,7 +941,8 @@ mrb_io_sysread(mrb_state *mrb, mrb_value io)
824
941
 
825
942
  if (RSTRING_LEN(buf) != maxlen) {
826
943
  buf = mrb_str_resize(mrb, buf, maxlen);
827
- } else {
944
+ }
945
+ else {
828
946
  mrb_str_modify(mrb, RSTRING(buf));
829
947
  }
830
948
 
@@ -832,29 +950,20 @@ mrb_io_sysread(mrb_state *mrb, mrb_value io)
832
950
  if (!fptr->readable) {
833
951
  mrb_raise(mrb, E_IO_ERROR, "not opened for reading");
834
952
  }
835
- ret = read(fptr->fd, RSTRING_PTR(buf), (fsize_t)maxlen);
836
- switch (ret) {
837
- case 0: /* EOF */
838
- if (maxlen == 0) {
839
- buf = mrb_str_new_cstr(mrb, "");
840
- } else {
841
- mrb_raise(mrb, E_EOF_ERROR, "sysread failed: End of File");
842
- }
843
- break;
844
- case -1: /* Error */
845
- mrb_sys_fail(mrb, "sysread failed");
846
- break;
847
- default:
848
- if (RSTRING_LEN(buf) != ret) {
849
- buf = mrb_str_resize(mrb, buf, ret);
850
- }
851
- break;
953
+ ret = readfunc(fptr->fd, RSTRING_PTR(buf), (fsize_t)maxlen, offset);
954
+ if (ret < 0) {
955
+ mrb_sys_fail(mrb, "sysread failed");
956
+ }
957
+ if (RSTRING_LEN(buf) != ret) {
958
+ buf = mrb_str_resize(mrb, buf, ret);
959
+ }
960
+ if (ret == 0 && maxlen > 0) {
961
+ mrb_raise(mrb, E_EOF_ERROR, "sysread failed: End of File");
852
962
  }
853
-
854
963
  return buf;
855
964
  }
856
965
 
857
- mrb_value
966
+ static mrb_value
858
967
  mrb_io_sysseek(mrb_state *mrb, mrb_value io)
859
968
  {
860
969
  struct mrb_io *fptr;
@@ -872,21 +981,22 @@ mrb_io_sysseek(mrb_state *mrb, mrb_value io)
872
981
  mrb_sys_fail(mrb, "sysseek");
873
982
  }
874
983
  if (pos > MRB_INT_MAX) {
875
- #ifndef MRB_WITHOUT_FLOAT
984
+ #ifndef MRB_NO_FLOAT
876
985
  return mrb_float_value(mrb, (mrb_float)pos);
877
986
  #else
878
- mrb_raise(mrb, E_IO_ERROR, "sysseek reached too far for MRB_WITHOUT_FLOAT");
987
+ mrb_raise(mrb, E_IO_ERROR, "sysseek reached too far for MRB_NO_FLOAT");
879
988
  #endif
880
989
  } else {
881
- return mrb_fixnum_value(pos);
990
+ return mrb_int_value(mrb, pos);
882
991
  }
883
992
  }
884
993
 
885
- mrb_value
886
- mrb_io_syswrite(mrb_state *mrb, mrb_value io)
994
+ static mrb_value
995
+ mrb_io_syswrite_common(mrb_state *mrb,
996
+ mrb_io_read_write_size (*writefunc)(int, const void *, fsize_t, off_t),
997
+ mrb_value io, mrb_value buf, off_t offset)
887
998
  {
888
999
  struct mrb_io *fptr;
889
- mrb_value str, buf;
890
1000
  int fd, length;
891
1001
 
892
1002
  fptr = io_get_open_fptr(mrb, io);
@@ -894,23 +1004,36 @@ mrb_io_syswrite(mrb_state *mrb, mrb_value io)
894
1004
  mrb_raise(mrb, E_IO_ERROR, "not opened for writing");
895
1005
  }
896
1006
 
897
- mrb_get_args(mrb, "S", &str);
898
- buf = str;
899
-
900
1007
  if (fptr->fd2 == -1) {
901
1008
  fd = fptr->fd;
902
1009
  } else {
903
1010
  fd = fptr->fd2;
904
1011
  }
905
- length = write(fd, RSTRING_PTR(buf), (fsize_t)RSTRING_LEN(buf));
1012
+ length = writefunc(fd, RSTRING_PTR(buf), (fsize_t)RSTRING_LEN(buf), offset);
906
1013
  if (length == -1) {
907
1014
  mrb_sys_fail(mrb, 0);
908
1015
  }
909
1016
 
910
- return mrb_fixnum_value(length);
1017
+ return mrb_int_value(mrb, (mrb_int)length);
1018
+ }
1019
+
1020
+ static mrb_io_read_write_size
1021
+ mrb_syswrite_dummy(int fd, const void *buf, fsize_t nbytes, off_t offset)
1022
+ {
1023
+ return (mrb_io_read_write_size)write(fd, buf, nbytes);
1024
+ }
1025
+
1026
+ static mrb_value
1027
+ mrb_io_syswrite(mrb_state *mrb, mrb_value io)
1028
+ {
1029
+ mrb_value buf;
1030
+
1031
+ mrb_get_args(mrb, "S", &buf);
1032
+
1033
+ return mrb_io_syswrite_common(mrb, mrb_syswrite_dummy, io, buf, 0);
911
1034
  }
912
1035
 
913
- mrb_value
1036
+ static mrb_value
914
1037
  mrb_io_close(mrb_state *mrb, mrb_value self)
915
1038
  {
916
1039
  struct mrb_io *fptr;
@@ -919,7 +1042,7 @@ mrb_io_close(mrb_state *mrb, mrb_value self)
919
1042
  return mrb_nil_value();
920
1043
  }
921
1044
 
922
- mrb_value
1045
+ static mrb_value
923
1046
  mrb_io_close_write(mrb_state *mrb, mrb_value self)
924
1047
  {
925
1048
  struct mrb_io *fptr;
@@ -930,7 +1053,7 @@ mrb_io_close_write(mrb_state *mrb, mrb_value self)
930
1053
  return mrb_nil_value();
931
1054
  }
932
1055
 
933
- mrb_value
1056
+ static mrb_value
934
1057
  mrb_io_closed(mrb_state *mrb, mrb_value io)
935
1058
  {
936
1059
  struct mrb_io *fptr;
@@ -942,7 +1065,7 @@ mrb_io_closed(mrb_state *mrb, mrb_value io)
942
1065
  return mrb_true_value();
943
1066
  }
944
1067
 
945
- mrb_value
1068
+ static mrb_value
946
1069
  mrb_io_pid(mrb_state *mrb, mrb_value io)
947
1070
  {
948
1071
  struct mrb_io *fptr;
@@ -961,12 +1084,12 @@ time2timeval(mrb_state *mrb, mrb_value time)
961
1084
  struct timeval t = { 0, 0 };
962
1085
 
963
1086
  switch (mrb_type(time)) {
964
- case MRB_TT_FIXNUM:
965
- t.tv_sec = (ftime_t)mrb_fixnum(time);
1087
+ case MRB_TT_INTEGER:
1088
+ t.tv_sec = (ftime_t)mrb_integer(time);
966
1089
  t.tv_usec = 0;
967
1090
  break;
968
1091
 
969
- #ifndef MRB_WITHOUT_FLOAT
1092
+ #ifndef MRB_NO_FLOAT
970
1093
  case MRB_TT_FLOAT:
971
1094
  t.tv_sec = (ftime_t)mrb_float(time);
972
1095
  t.tv_usec = (fsuseconds_t)((mrb_float(time) - t.tv_sec) * 1000000.0);
@@ -983,7 +1106,7 @@ time2timeval(mrb_state *mrb, mrb_value time)
983
1106
  static int
984
1107
  mrb_io_read_data_pending(mrb_state *mrb, mrb_value io)
985
1108
  {
986
- mrb_value buf = mrb_iv_get(mrb, io, mrb_intern_cstr(mrb, "@buf"));
1109
+ mrb_value buf = mrb_iv_get(mrb, io, mrb_intern_lit(mrb, "@buf"));
987
1110
  if (mrb_string_p(buf) && RSTRING_LEN(buf) > 0) {
988
1111
  return 1;
989
1112
  }
@@ -1005,7 +1128,7 @@ mrb_io_s_pipe(mrb_state *mrb, mrb_value klass)
1005
1128
  }
1006
1129
 
1007
1130
  r = mrb_obj_value(mrb_data_object_alloc(mrb, mrb_class_ptr(klass), NULL, &mrb_io_type));
1008
- mrb_iv_set(mrb, r, mrb_intern_cstr(mrb, "@buf"), mrb_str_new_cstr(mrb, ""));
1131
+ mrb_iv_set(mrb, r, mrb_intern_lit(mrb, "@buf"), mrb_str_new_cstr(mrb, ""));
1009
1132
  fptr_r = mrb_io_alloc(mrb);
1010
1133
  fptr_r->fd = pipes[0];
1011
1134
  fptr_r->readable = 1;
@@ -1015,7 +1138,7 @@ mrb_io_s_pipe(mrb_state *mrb, mrb_value klass)
1015
1138
  DATA_PTR(r) = fptr_r;
1016
1139
 
1017
1140
  w = mrb_obj_value(mrb_data_object_alloc(mrb, mrb_class_ptr(klass), NULL, &mrb_io_type));
1018
- mrb_iv_set(mrb, w, mrb_intern_cstr(mrb, "@buf"), mrb_str_new_cstr(mrb, ""));
1141
+ mrb_iv_set(mrb, w, mrb_intern_lit(mrb, "@buf"), mrb_str_new_cstr(mrb, ""));
1019
1142
  fptr_w = mrb_io_alloc(mrb);
1020
1143
  fptr_w->fd = pipes[1];
1021
1144
  fptr_w->readable = 0;
@@ -1031,7 +1154,7 @@ mrb_io_s_pipe(mrb_state *mrb, mrb_value klass)
1031
1154
  static mrb_value
1032
1155
  mrb_io_s_select(mrb_state *mrb, mrb_value klass)
1033
1156
  {
1034
- mrb_value *argv;
1157
+ const mrb_value *argv;
1035
1158
  mrb_int argc;
1036
1159
  mrb_value read, read_io, write, except, timeout, list;
1037
1160
  struct timeval *tp, timerec;
@@ -1076,6 +1199,7 @@ mrb_io_s_select(mrb_state *mrb, mrb_value klass)
1076
1199
  for (i = 0; i < RARRAY_LEN(read); i++) {
1077
1200
  read_io = RARRAY_PTR(read)[i];
1078
1201
  fptr = io_get_open_fptr(mrb, read_io);
1202
+ if (fptr->fd >= FD_SETSIZE) continue;
1079
1203
  FD_SET(fptr->fd, rp);
1080
1204
  if (mrb_io_read_data_pending(mrb, read_io)) {
1081
1205
  pending++;
@@ -1098,6 +1222,7 @@ mrb_io_s_select(mrb_state *mrb, mrb_value klass)
1098
1222
  FD_ZERO(wp);
1099
1223
  for (i = 0; i < RARRAY_LEN(write); i++) {
1100
1224
  fptr = io_get_open_fptr(mrb, RARRAY_PTR(write)[i]);
1225
+ if (fptr->fd >= FD_SETSIZE) continue;
1101
1226
  FD_SET(fptr->fd, wp);
1102
1227
  if (max < fptr->fd)
1103
1228
  max = fptr->fd;
@@ -1117,6 +1242,7 @@ mrb_io_s_select(mrb_state *mrb, mrb_value klass)
1117
1242
  FD_ZERO(ep);
1118
1243
  for (i = 0; i < RARRAY_LEN(except); i++) {
1119
1244
  fptr = io_get_open_fptr(mrb, RARRAY_PTR(except)[i]);
1245
+ if (fptr->fd >= FD_SETSIZE) continue;
1120
1246
  FD_SET(fptr->fd, ep);
1121
1247
  if (max < fptr->fd)
1122
1248
  max = fptr->fd;
@@ -1205,10 +1331,10 @@ mrb_io_fileno_m(mrb_state *mrb, mrb_value io)
1205
1331
  return mrb_fixnum_value(fd);
1206
1332
  }
1207
1333
 
1208
- mrb_value
1334
+ #if defined(F_GETFD) && defined(F_SETFD) && defined(FD_CLOEXEC)
1335
+ static mrb_value
1209
1336
  mrb_io_close_on_exec_p(mrb_state *mrb, mrb_value self)
1210
1337
  {
1211
- #if defined(F_GETFD) && defined(F_SETFD) && defined(FD_CLOEXEC)
1212
1338
  struct mrb_io *fptr;
1213
1339
  int ret;
1214
1340
 
@@ -1222,17 +1348,15 @@ mrb_io_close_on_exec_p(mrb_state *mrb, mrb_value self)
1222
1348
  if ((ret = fcntl(fptr->fd, F_GETFD)) == -1) mrb_sys_fail(mrb, "F_GETFD failed");
1223
1349
  if (!(ret & FD_CLOEXEC)) return mrb_false_value();
1224
1350
  return mrb_true_value();
1225
-
1351
+ }
1226
1352
  #else
1227
- mrb_raise(mrb, E_NOTIMP_ERROR, "IO#close_on_exec? is not supported on the platform");
1228
- return mrb_false_value();
1353
+ # define mrb_io_close_on_exec_p mrb_notimplement_m
1229
1354
  #endif
1230
- }
1231
1355
 
1232
- mrb_value
1356
+ #if defined(F_GETFD) && defined(F_SETFD) && defined(FD_CLOEXEC)
1357
+ static mrb_value
1233
1358
  mrb_io_set_close_on_exec(mrb_state *mrb, mrb_value self)
1234
1359
  {
1235
- #if defined(F_GETFD) && defined(F_SETFD) && defined(FD_CLOEXEC)
1236
1360
  struct mrb_io *fptr;
1237
1361
  int flag, ret;
1238
1362
  mrb_bool b;
@@ -1259,13 +1383,12 @@ mrb_io_set_close_on_exec(mrb_state *mrb, mrb_value self)
1259
1383
  }
1260
1384
 
1261
1385
  return mrb_bool_value(b);
1386
+ }
1262
1387
  #else
1263
- mrb_raise(mrb, E_NOTIMP_ERROR, "IO#close_on_exec= is not supported on the platform");
1264
- return mrb_nil_value();
1388
+ # define mrb_io_set_close_on_exec mrb_notimplement_m
1265
1389
  #endif
1266
- }
1267
1390
 
1268
- mrb_value
1391
+ static mrb_value
1269
1392
  mrb_io_set_sync(mrb_state *mrb, mrb_value self)
1270
1393
  {
1271
1394
  struct mrb_io *fptr;
@@ -1277,7 +1400,7 @@ mrb_io_set_sync(mrb_state *mrb, mrb_value self)
1277
1400
  return mrb_bool_value(b);
1278
1401
  }
1279
1402
 
1280
- mrb_value
1403
+ static mrb_value
1281
1404
  mrb_io_sync(mrb_state *mrb, mrb_value self)
1282
1405
  {
1283
1406
  struct mrb_io *fptr;
@@ -1285,15 +1408,55 @@ mrb_io_sync(mrb_state *mrb, mrb_value self)
1285
1408
  return mrb_bool_value(fptr->sync);
1286
1409
  }
1287
1410
 
1411
+ #ifndef MRB_WITH_IO_PREAD_PWRITE
1412
+ # define mrb_io_pread mrb_notimplement_m
1413
+ # define mrb_io_pwrite mrb_notimplement_m
1414
+ #else
1415
+ static off_t
1416
+ value2off(mrb_state *mrb, mrb_value offv)
1417
+ {
1418
+ return (off_t)mrb_int(mrb, offv);
1419
+ }
1420
+
1421
+ /*
1422
+ * call-seq:
1423
+ * pread(maxlen, offset, outbuf = "") -> outbuf
1424
+ */
1425
+ static mrb_value
1426
+ mrb_io_pread(mrb_state *mrb, mrb_value io)
1427
+ {
1428
+ mrb_value buf = mrb_nil_value();
1429
+ mrb_value off;
1430
+ mrb_int maxlen;
1431
+
1432
+ mrb_get_args(mrb, "io|S!", &maxlen, &off, &buf);
1433
+
1434
+ return mrb_io_sysread_common(mrb, pread, io, buf, maxlen, value2off(mrb, off));
1435
+ }
1436
+
1437
+ /*
1438
+ * call-seq:
1439
+ * pwrite(buffer, offset) -> wrote_bytes
1440
+ */
1288
1441
  static mrb_value
1289
- io_bufread(mrb_state *mrb, mrb_value self)
1442
+ mrb_io_pwrite(mrb_state *mrb, mrb_value io)
1290
1443
  {
1291
- mrb_value str, str2;
1292
- mrb_int len, newlen;
1444
+ mrb_value buf, off;
1445
+
1446
+ mrb_get_args(mrb, "So", &buf, &off);
1447
+
1448
+ return mrb_io_syswrite_common(mrb, pwrite, io, buf, value2off(mrb, off));
1449
+ }
1450
+ #endif /* MRB_WITH_IO_PREAD_PWRITE */
1451
+
1452
+ static mrb_value
1453
+ io_bufread(mrb_state *mrb, mrb_value str, mrb_int len)
1454
+ {
1455
+ mrb_value str2;
1456
+ mrb_int newlen;
1293
1457
  struct RString *s;
1294
1458
  char *p;
1295
1459
 
1296
- mrb_get_args(mrb, "Si", &str, &len);
1297
1460
  s = RSTRING(str);
1298
1461
  mrb_str_modify(mrb, s);
1299
1462
  p = RSTR_PTR(s);
@@ -1306,6 +1469,54 @@ io_bufread(mrb_state *mrb, mrb_value self)
1306
1469
  return str2;
1307
1470
  }
1308
1471
 
1472
+ static mrb_value
1473
+ mrb_io_bufread(mrb_state *mrb, mrb_value self)
1474
+ {
1475
+ mrb_value str;
1476
+ mrb_int len;
1477
+
1478
+ mrb_get_args(mrb, "Si", &str, &len);
1479
+ return io_bufread(mrb, str, len);
1480
+ }
1481
+
1482
+ static mrb_value
1483
+ mrb_io_readchar(mrb_state *mrb, mrb_value self)
1484
+ {
1485
+ mrb_value buf;
1486
+ mrb_int len = 1;
1487
+ #ifdef MRB_UTF8_STRING
1488
+ unsigned char c;
1489
+ #endif
1490
+
1491
+ mrb_get_args(mrb, "S", &buf);
1492
+ mrb_assert(RSTRING_LEN(buf) > 0);
1493
+ mrb_assert(RSTRING_PTR(buf) != NULL);
1494
+ mrb_str_modify(mrb, RSTRING(buf));
1495
+ #ifdef MRB_UTF8_STRING
1496
+ c = RSTRING_PTR(buf)[0];
1497
+ if (c & 0x80) {
1498
+ len = mrb_utf8len(RSTRING_PTR(buf), RSTRING_END(buf));
1499
+ if (len == 1 && RSTRING_LEN(buf) < 4) { /* partial UTF-8 */
1500
+ mrb_int blen = RSTRING_LEN(buf);
1501
+ ssize_t n;
1502
+
1503
+ struct mrb_io *fptr = (struct mrb_io*)io_get_open_fptr(mrb, self);
1504
+
1505
+ if (!fptr->readable) {
1506
+ mrb_raise(mrb, E_IO_ERROR, "not opened for reading");
1507
+ }
1508
+ /* refill the buffer */
1509
+ mrb_str_resize(mrb, buf, 4096);
1510
+ n = read(fptr->fd, RSTRING_PTR(buf)+blen, 4096-blen);
1511
+ if (n < 0) mrb_sys_fail(mrb, "sysread failed");
1512
+ mrb_str_resize(mrb, buf, blen+n);
1513
+ }
1514
+ len = mrb_utf8len(RSTRING_PTR(buf), RSTRING_END(buf));
1515
+ }
1516
+ #endif
1517
+ return io_bufread(mrb, buf, len);
1518
+ }
1519
+
1309
1520
  void
1310
1521
  mrb_init_io(mrb_state *mrb)
1311
1522
  {
@@ -1340,6 +1551,9 @@ mrb_init_io(mrb_state *mrb)
1340
1551
  mrb_define_method(mrb, io, "closed?", mrb_io_closed, MRB_ARGS_NONE()); /* 15.2.20.5.2 */
1341
1552
  mrb_define_method(mrb, io, "pid", mrb_io_pid, MRB_ARGS_NONE()); /* 15.2.20.5.2 */
1342
1553
  mrb_define_method(mrb, io, "fileno", mrb_io_fileno_m, MRB_ARGS_NONE());
1554
+ mrb_define_method(mrb, io, "pread", mrb_io_pread, MRB_ARGS_ANY()); /* ruby 2.5 feature */
1555
+ mrb_define_method(mrb, io, "pwrite", mrb_io_pwrite, MRB_ARGS_ANY()); /* ruby 2.5 feature */
1343
1556
 
1344
- mrb_define_class_method(mrb, io, "_bufread", io_bufread, MRB_ARGS_REQ(2));
1557
+ mrb_define_method(mrb, io, "_readchar", mrb_io_readchar, MRB_ARGS_REQ(1));
1558
+ mrb_define_class_method(mrb, io, "_bufread", mrb_io_bufread, MRB_ARGS_REQ(2));
1345
1559
  }