passenger 6.0.8 → 6.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1364) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +89 -0
  3. data/CONTRIBUTORS +9 -0
  4. data/bin/passenger-install-nginx-module +1 -0
  5. data/build/common_library.rb +1 -1
  6. data/dev/copy_boost_headers +19 -2
  7. data/dev/index_cxx_dependencies.rb +1 -1
  8. data/dev/webpacketpp.patch +39 -0
  9. data/package.json +1 -1
  10. data/src/agent/Core/Config.h +1 -1
  11. data/src/agent/Core/Controller/CheckoutSession.cpp +24 -13
  12. data/src/agent/Core/Controller/Config.h +1 -1
  13. data/src/agent/Core/Controller/InternalUtils.cpp +32 -6
  14. data/src/agent/Core/Controller.h +4 -1
  15. data/src/agent/Shared/ApplicationPoolApiKey.h +2 -0
  16. data/src/agent/Watchdog/Config.h +1 -1
  17. data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +27 -27
  18. data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +1 -1
  19. data/src/apache2_module/DirConfig/AutoGeneratedStruct.h +2 -2
  20. data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h +19 -19
  21. data/src/cxx_supportlib/Constants.h +1 -1
  22. data/src/cxx_supportlib/DataStructures/HashedStaticString.h +2 -0
  23. data/src/cxx_supportlib/FileDescriptor.h +8 -0
  24. data/src/cxx_supportlib/IOTools/IOUtils.cpp +4 -4
  25. data/src/cxx_supportlib/StaticString.h +2 -0
  26. data/src/cxx_supportlib/Utils/HttpConstants.h +1 -1
  27. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/case_conv.hpp +3 -0
  28. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/classification.hpp +2 -0
  29. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/find_format_all.hpp +2 -0
  30. data/src/cxx_supportlib/vendor-modified/boost/align/aligned_alloc.hpp +47 -0
  31. data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_posix.hpp +41 -0
  32. data/src/cxx_supportlib/vendor-modified/boost/align/detail/is_alignment.hpp +28 -0
  33. data/src/cxx_supportlib/vendor-modified/boost/asio/any_io_executor.hpp +240 -11
  34. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +54 -2
  35. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_cancellation_slot.hpp +179 -0
  36. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +62 -6
  37. data/src/cxx_supportlib/vendor-modified/boost/asio/associator.hpp +37 -0
  38. data/src/cxx_supportlib/vendor-modified/boost/asio/async_result.hpp +798 -115
  39. data/src/cxx_supportlib/vendor-modified/boost/asio/awaitable.hpp +2 -2
  40. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +101 -13
  41. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +23 -13
  42. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_io_object.hpp +1 -1
  43. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_raw_socket.hpp +101 -13
  44. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +50 -13
  45. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_serial_port.hpp +18 -18
  46. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_signal_set.hpp +29 -21
  47. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +42 -21
  48. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +148 -51
  49. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_iostream.hpp +1 -1
  50. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_streambuf.hpp +1 -1
  51. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_socket.hpp +80 -13
  52. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf.hpp +1 -1
  53. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf_fwd.hpp +1 -1
  54. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_waitable_timer.hpp +26 -16
  55. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_cancellation_slot.hpp +723 -0
  56. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +196 -17
  57. data/src/cxx_supportlib/vendor-modified/boost/asio/buffer.hpp +25 -25
  58. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream.hpp +1 -1
  59. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream_fwd.hpp +1 -1
  60. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream.hpp +1 -1
  61. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream_fwd.hpp +1 -1
  62. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream.hpp +1 -1
  63. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream_fwd.hpp +1 -1
  64. data/src/cxx_supportlib/vendor-modified/boost/asio/buffers_iterator.hpp +1 -1
  65. data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_signal.hpp +361 -0
  66. data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_state.hpp +237 -0
  67. data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_type.hpp +176 -0
  68. data/src/cxx_supportlib/vendor-modified/boost/asio/co_spawn.hpp +43 -15
  69. data/src/cxx_supportlib/vendor-modified/boost/asio/completion_condition.hpp +1 -1
  70. data/src/cxx_supportlib/vendor-modified/boost/asio/compose.hpp +1 -1
  71. data/src/cxx_supportlib/vendor-modified/boost/asio/connect.hpp +79 -19
  72. data/src/cxx_supportlib/vendor-modified/boost/asio/coroutine.hpp +1 -1
  73. data/src/cxx_supportlib/vendor-modified/boost/asio/deadline_timer.hpp +1 -1
  74. data/src/cxx_supportlib/vendor-modified/boost/asio/defer.hpp +5 -5
  75. data/src/cxx_supportlib/vendor-modified/boost/asio/detached.hpp +3 -3
  76. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array.hpp +1 -1
  77. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array_fwd.hpp +1 -1
  78. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/assert.hpp +1 -1
  79. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/atomic_count.hpp +1 -1
  80. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_cancellation_state.hpp +165 -0
  81. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_completion_cond.hpp +1 -1
  82. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bind_handler.hpp +210 -73
  83. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/blocking_executor_op.hpp +1 -1
  84. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_resize_guard.hpp +1 -1
  85. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_sequence_adapter.hpp +1 -1
  86. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffered_stream_storage.hpp +1 -1
  87. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bulk_executor_op.hpp +1 -1
  88. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/call_stack.hpp +1 -1
  89. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono.hpp +1 -1
  90. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono_time_traits.hpp +1 -1
  91. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_handler.hpp +1 -1
  92. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/concurrency_hint.hpp +1 -1
  93. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_event.hpp +1 -1
  94. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_mutex.hpp +1 -1
  95. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/config.hpp +201 -69
  96. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/consuming_buffers.hpp +1 -1
  97. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstddef.hpp +1 -1
  98. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstdint.hpp +1 -1
  99. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/date_time_fwd.hpp +1 -1
  100. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/deadline_timer_service.hpp +41 -1
  101. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dependent_type.hpp +1 -1
  102. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_ops.hpp +1 -1
  103. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_read_op.hpp +1 -1
  104. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_write_op.hpp +1 -1
  105. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dev_poll_reactor.hpp +9 -5
  106. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/epoll_reactor.hpp +15 -5
  107. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/event.hpp +1 -1
  108. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/eventfd_select_interrupter.hpp +1 -1
  109. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_function.hpp +3 -2
  110. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_op.hpp +1 -1
  111. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fd_set_adapter.hpp +1 -1
  112. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fenced_block.hpp +1 -1
  113. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/functional.hpp +7 -1
  114. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/future.hpp +1 -1
  115. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_arm_fenced_block.hpp +1 -1
  116. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_hppa_fenced_block.hpp +1 -1
  117. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_sync_fenced_block.hpp +1 -1
  118. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_x86_fenced_block.hpp +1 -1
  119. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/global.hpp +1 -1
  120. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_alloc_helpers.hpp +16 -12
  121. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_cont_helpers.hpp +1 -1
  122. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_invoke_helpers.hpp +1 -1
  123. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_tracking.hpp +1 -1
  124. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_type_requirements.hpp +22 -19
  125. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +112 -25
  126. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/hash_map.hpp +1 -1
  127. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/buffer_sequence_adapter.ipp +1 -1
  128. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/descriptor_ops.ipp +1 -1
  129. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.hpp +9 -1
  130. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.ipp +15 -1
  131. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.hpp +21 -1
  132. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.ipp +31 -1
  133. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/eventfd_select_interrupter.ipp +10 -8
  134. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/handler_tracking.ipp +1 -1
  135. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.hpp +21 -1
  136. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.ipp +30 -1
  137. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/null_event.ipp +1 -1
  138. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/pipe_select_interrupter.ipp +1 -1
  139. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_event.ipp +8 -4
  140. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_mutex.ipp +1 -1
  141. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_thread.ipp +1 -1
  142. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_tss_ptr.ipp +1 -1
  143. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_descriptor_service.ipp +1 -1
  144. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_serial_port_service.ipp +1 -1
  145. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_socket_service_base.ipp +1 -1
  146. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/resolver_service_base.ipp +1 -1
  147. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/scheduler.ipp +6 -1
  148. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.hpp +25 -1
  149. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.ipp +20 -1
  150. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.hpp +1 -1
  151. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.ipp +1 -1
  152. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/signal_set_service.ipp +1 -1
  153. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_ops.ipp +13 -11
  154. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_select_interrupter.ipp +1 -1
  155. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.hpp +10 -41
  156. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.ipp +25 -1
  157. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.hpp +3 -33
  158. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.ipp +29 -5
  159. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/thread_context.ipp +37 -0
  160. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/throw_error.ipp +1 -1
  161. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_ptime.ipp +7 -1
  162. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_set.ipp +1 -1
  163. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_control.hpp +1 -1
  164. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_object_impl.hpp +4 -7
  165. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_buffer_sequence.hpp +1 -1
  166. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_executor.hpp +1 -1
  167. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/keyword_tss_ptr.hpp +1 -1
  168. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/kqueue_reactor.hpp +16 -6
  169. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/local_free_on_block_exit.hpp +1 -1
  170. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/macos_fenced_block.hpp +1 -1
  171. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/memory.hpp +61 -1
  172. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/mutex.hpp +1 -1
  173. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/non_const_lvalue.hpp +1 -1
  174. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/noncopyable.hpp +1 -1
  175. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_event.hpp +1 -1
  176. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_fenced_block.hpp +1 -1
  177. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_global.hpp +1 -1
  178. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_mutex.hpp +1 -1
  179. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_reactor.hpp +1 -1
  180. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_signal_blocker.hpp +1 -1
  181. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_socket_service.hpp +1 -1
  182. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_static_mutex.hpp +1 -1
  183. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_thread.hpp +1 -1
  184. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_tss_ptr.hpp +1 -1
  185. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/object_pool.hpp +1 -1
  186. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/old_win_sdk_compat.hpp +1 -1
  187. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/op_queue.hpp +1 -1
  188. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/operation.hpp +1 -1
  189. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pipe_select_interrupter.hpp +1 -1
  190. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pop_options.hpp +9 -1
  191. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_event.hpp +1 -1
  192. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_fd_set_adapter.hpp +1 -1
  193. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_global.hpp +1 -1
  194. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_mutex.hpp +1 -1
  195. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_signal_blocker.hpp +1 -1
  196. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_static_mutex.hpp +1 -1
  197. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_thread.hpp +1 -1
  198. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_tss_ptr.hpp +1 -1
  199. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/push_options.hpp +34 -1
  200. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_descriptor_service.hpp +94 -1
  201. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_null_buffers_op.hpp +1 -1
  202. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_serial_port_service.hpp +1 -1
  203. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_accept_op.hpp +1 -1
  204. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_connect_op.hpp +1 -1
  205. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recv_op.hpp +1 -1
  206. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvfrom_op.hpp +1 -1
  207. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvmsg_op.hpp +1 -1
  208. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_send_op.hpp +1 -1
  209. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_sendto_op.hpp +1 -1
  210. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service.hpp +78 -1
  211. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service_base.hpp +112 -1
  212. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_wait_op.hpp +1 -1
  213. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor.hpp +1 -1
  214. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_fwd.hpp +1 -1
  215. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op.hpp +5 -1
  216. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op_queue.hpp +45 -1
  217. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/recycling_allocator.hpp +4 -5
  218. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/regex_fwd.hpp +11 -2
  219. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_endpoint_op.hpp +3 -3
  220. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_op.hpp +1 -1
  221. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_query_op.hpp +3 -3
  222. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service.hpp +7 -7
  223. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service_base.hpp +16 -1
  224. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler.hpp +2 -5
  225. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_operation.hpp +1 -1
  226. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_thread_info.hpp +1 -1
  227. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_lock.hpp +1 -1
  228. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_ptr.hpp +1 -1
  229. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_interrupter.hpp +1 -1
  230. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_reactor.hpp +15 -5
  231. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/service_registry.hpp +1 -1
  232. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_blocker.hpp +1 -1
  233. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_handler.hpp +1 -1
  234. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_init.hpp +1 -1
  235. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_op.hpp +1 -1
  236. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_set_service.hpp +1 -1
  237. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_holder.hpp +1 -1
  238. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_ops.hpp +1 -1
  239. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_option.hpp +1 -1
  240. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_select_interrupter.hpp +1 -1
  241. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_types.hpp +2 -1
  242. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/solaris_fenced_block.hpp +1 -1
  243. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/source_location.hpp +1 -1
  244. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/static_mutex.hpp +1 -1
  245. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_event.hpp +2 -2
  246. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_fenced_block.hpp +1 -1
  247. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_global.hpp +1 -1
  248. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_mutex.hpp +1 -1
  249. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_static_mutex.hpp +1 -1
  250. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_thread.hpp +1 -1
  251. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_executor_service.hpp +8 -1
  252. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_service.hpp +4 -5
  253. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/string_view.hpp +1 -1
  254. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread.hpp +5 -5
  255. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_context.hpp +10 -1
  256. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_group.hpp +5 -1
  257. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_info_base.hpp +98 -25
  258. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_error.hpp +1 -1
  259. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_exception.hpp +1 -1
  260. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue.hpp +31 -2
  261. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_base.hpp +1 -1
  262. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_ptime.hpp +5 -1
  263. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_set.hpp +1 -1
  264. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler.hpp +1 -1
  265. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler_fwd.hpp +1 -1
  266. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/tss_ptr.hpp +1 -1
  267. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/type_traits.hpp +9 -1
  268. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/variadic_templates.hpp +1 -1
  269. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_handler.hpp +1 -1
  270. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_op.hpp +6 -2
  271. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/winsock_init.hpp +1 -1
  272. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/work_dispatcher.hpp +6 -3
  273. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wrapped_handler.hpp +1 -1
  274. data/src/cxx_supportlib/vendor-modified/boost/asio/dispatch.hpp +5 -5
  275. data/src/cxx_supportlib/vendor-modified/boost/asio/error.hpp +1 -1
  276. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/allocator.hpp +107 -19
  277. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/any_executor.hpp +194 -112
  278. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bad_executor.hpp +1 -1
  279. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking.hpp +283 -83
  280. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking_adaptation.hpp +218 -70
  281. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_execute.hpp +57 -50
  282. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_guarantee.hpp +287 -90
  283. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/connect.hpp +47 -44
  284. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context.hpp +62 -14
  285. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context_as.hpp +29 -9
  286. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_invocable.hpp +1 -1
  287. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_operation.hpp +1 -1
  288. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_receiver.hpp +1 -1
  289. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/bulk_sender.hpp +1 -1
  290. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/submit_receiver.hpp +1 -1
  291. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/void_receiver.hpp +1 -1
  292. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/execute.hpp +71 -52
  293. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/executor.hpp +39 -25
  294. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/bad_executor.ipp +1 -1
  295. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/receiver_invocation_error.ipp +1 -1
  296. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/invocable_archetype.hpp +1 -1
  297. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/mapping.hpp +281 -82
  298. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/occupancy.hpp +62 -14
  299. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/operation_state.hpp +1 -1
  300. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/outstanding_work.hpp +216 -70
  301. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/prefer_only.hpp +7 -3
  302. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver.hpp +1 -1
  303. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver_invocation_error.hpp +1 -1
  304. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/relationship.hpp +215 -70
  305. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/schedule.hpp +21 -24
  306. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/scheduler.hpp +1 -1
  307. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/sender.hpp +1 -1
  308. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_done.hpp +14 -17
  309. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_error.hpp +14 -17
  310. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_value.hpp +20 -23
  311. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/start.hpp +14 -17
  312. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/submit.hpp +29 -29
  313. data/src/cxx_supportlib/vendor-modified/boost/asio/execution.hpp +1 -1
  314. data/src/cxx_supportlib/vendor-modified/boost/asio/execution_context.hpp +1 -1
  315. data/src/cxx_supportlib/vendor-modified/boost/asio/executor.hpp +1 -1
  316. data/src/cxx_supportlib/vendor-modified/boost/asio/executor_work_guard.hpp +34 -19
  317. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/append.hpp +73 -0
  318. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_single.hpp +137 -0
  319. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_tuple.hpp +133 -0
  320. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/awaitable_operators.hpp +538 -0
  321. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/cancellation_condition.hpp +157 -0
  322. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro.hpp +1057 -0
  323. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/deferred.hpp +607 -0
  324. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/completion_handler_erasure.hpp +160 -0
  325. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_promise_allocator.hpp +120 -0
  326. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_traits.hpp +185 -0
  327. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/partial_promise.hpp +181 -0
  328. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/append.hpp +219 -0
  329. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp +231 -0
  330. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_tuple.hpp +248 -0
  331. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/deferred.hpp +106 -0
  332. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/parallel_group.hpp +434 -0
  333. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/prepend.hpp +219 -0
  334. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/promise.hpp +100 -0
  335. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/parallel_group.hpp +217 -0
  336. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/prepend.hpp +73 -0
  337. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/promise.hpp +608 -0
  338. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_coro.hpp +284 -0
  339. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/basic_endpoint.hpp +1 -1
  340. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/datagram_protocol.hpp +1 -1
  341. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/endpoint.hpp +1 -1
  342. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/impl/endpoint.ipp +1 -1
  343. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/raw_protocol.hpp +1 -1
  344. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/seq_packet_protocol.hpp +1 -1
  345. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/stream_protocol.hpp +1 -1
  346. data/src/cxx_supportlib/vendor-modified/boost/asio/handler_alloc_hook.hpp +1 -1
  347. data/src/cxx_supportlib/vendor-modified/boost/asio/handler_continuation_hook.hpp +1 -1
  348. data/src/cxx_supportlib/vendor-modified/boost/asio/handler_invoke_hook.hpp +1 -1
  349. data/src/cxx_supportlib/vendor-modified/boost/asio/high_resolution_timer.hpp +1 -1
  350. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/awaitable.hpp +348 -24
  351. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +24 -53
  352. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +24 -53
  353. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/co_spawn.hpp +79 -31
  354. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/compose.hpp +59 -7
  355. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +87 -99
  356. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/defer.hpp +21 -13
  357. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/detached.hpp +1 -1
  358. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/dispatch.hpp +21 -13
  359. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/error.ipp +1 -1
  360. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.hpp +1 -1
  361. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.ipp +1 -1
  362. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.hpp +1 -2
  363. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.ipp +1 -1
  364. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/handler_alloc_hook.ipp +6 -5
  365. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.hpp +6 -2
  366. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.ipp +1 -1
  367. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/multiple_exceptions.ipp +1 -1
  368. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/post.hpp +21 -13
  369. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +154 -157
  370. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +73 -84
  371. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +316 -336
  372. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/redirect_error.hpp +249 -30
  373. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.hpp +1 -1
  374. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.ipp +1 -1
  375. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/spawn.hpp +18 -27
  376. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.hpp +2 -1
  377. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.hpp +1 -1
  378. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.ipp +1 -1
  379. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_executor.hpp +1 -2
  380. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.hpp +6 -2
  381. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.ipp +1 -1
  382. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_awaitable.hpp +29 -17
  383. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_future.hpp +1 -1
  384. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +127 -131
  385. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +48 -70
  386. data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +21 -1
  387. data/src/cxx_supportlib/vendor-modified/boost/asio/io_context_strand.hpp +1 -1
  388. data/src/cxx_supportlib/vendor-modified/boost/asio/io_service.hpp +1 -1
  389. data/src/cxx_supportlib/vendor-modified/boost/asio/io_service_strand.hpp +1 -1
  390. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address.hpp +23 -1
  391. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4.hpp +21 -1
  392. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_iterator.hpp +1 -1
  393. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_range.hpp +1 -1
  394. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6.hpp +47 -6
  395. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_iterator.hpp +1 -1
  396. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_range.hpp +1 -1
  397. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/bad_address_cast.hpp +1 -1
  398. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_endpoint.hpp +32 -5
  399. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver.hpp +51 -5
  400. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_entry.hpp +1 -1
  401. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_iterator.hpp +1 -1
  402. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_query.hpp +1 -1
  403. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_results.hpp +1 -1
  404. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/endpoint.hpp +1 -1
  405. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/impl/endpoint.ipp +1 -1
  406. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/socket_option.hpp +1 -1
  407. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/host_name.hpp +1 -1
  408. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/icmp.hpp +1 -1
  409. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.hpp +1 -1
  410. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.ipp +1 -1
  411. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.hpp +1 -1
  412. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.ipp +1 -1
  413. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.hpp +1 -1
  414. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.ipp +2 -2
  415. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/basic_endpoint.hpp +1 -1
  416. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/host_name.ipp +1 -1
  417. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.hpp +1 -1
  418. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.ipp +1 -1
  419. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.hpp +1 -1
  420. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.ipp +1 -1
  421. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/multicast.hpp +1 -1
  422. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v4.hpp +1 -1
  423. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v6.hpp +1 -1
  424. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_base.hpp +1 -1
  425. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_query_base.hpp +1 -1
  426. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/tcp.hpp +1 -1
  427. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/udp.hpp +1 -1
  428. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/unicast.hpp +1 -1
  429. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/v6_only.hpp +1 -1
  430. data/src/cxx_supportlib/vendor-modified/boost/asio/is_applicable_property.hpp +1 -1
  431. data/src/cxx_supportlib/vendor-modified/boost/asio/is_executor.hpp +1 -1
  432. data/src/cxx_supportlib/vendor-modified/boost/asio/is_read_buffered.hpp +1 -1
  433. data/src/cxx_supportlib/vendor-modified/boost/asio/is_write_buffered.hpp +1 -1
  434. data/src/cxx_supportlib/vendor-modified/boost/asio/local/basic_endpoint.hpp +1 -1
  435. data/src/cxx_supportlib/vendor-modified/boost/asio/local/connect_pair.hpp +1 -1
  436. data/src/cxx_supportlib/vendor-modified/boost/asio/local/datagram_protocol.hpp +1 -1
  437. data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/endpoint.hpp +1 -1
  438. data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/impl/endpoint.ipp +3 -8
  439. data/src/cxx_supportlib/vendor-modified/boost/asio/local/stream_protocol.hpp +1 -1
  440. data/src/cxx_supportlib/vendor-modified/boost/asio/multiple_exceptions.hpp +1 -1
  441. data/src/cxx_supportlib/vendor-modified/boost/asio/packaged_task.hpp +1 -1
  442. data/src/cxx_supportlib/vendor-modified/boost/asio/placeholders.hpp +1 -1
  443. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +21 -10
  444. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +40 -9
  445. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor.hpp +1 -1
  446. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor_base.hpp +1 -1
  447. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/stream_descriptor.hpp +1 -1
  448. data/src/cxx_supportlib/vendor-modified/boost/asio/post.hpp +5 -5
  449. data/src/cxx_supportlib/vendor-modified/boost/asio/prefer.hpp +243 -165
  450. data/src/cxx_supportlib/vendor-modified/boost/asio/query.hpp +85 -57
  451. data/src/cxx_supportlib/vendor-modified/boost/asio/read.hpp +143 -43
  452. data/src/cxx_supportlib/vendor-modified/boost/asio/read_at.hpp +45 -1
  453. data/src/cxx_supportlib/vendor-modified/boost/asio/read_until.hpp +238 -70
  454. data/src/cxx_supportlib/vendor-modified/boost/asio/redirect_error.hpp +1 -1
  455. data/src/cxx_supportlib/vendor-modified/boost/asio/require.hpp +147 -100
  456. data/src/cxx_supportlib/vendor-modified/boost/asio/require_concept.hpp +105 -63
  457. data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port.hpp +1 -1
  458. data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port_base.hpp +1 -1
  459. data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set.hpp +1 -1
  460. data/src/cxx_supportlib/vendor-modified/boost/asio/socket_base.hpp +1 -1
  461. data/src/cxx_supportlib/vendor-modified/boost/asio/spawn.hpp +7 -7
  462. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context.hpp +1 -1
  463. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context_base.hpp +1 -1
  464. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/buffered_handshake_op.hpp +2 -2
  465. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/engine.hpp +6 -1
  466. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/handshake_op.hpp +2 -2
  467. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/engine.ipp +15 -1
  468. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/openssl_init.ipp +1 -1
  469. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/io.hpp +37 -27
  470. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_init.hpp +1 -1
  471. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_types.hpp +1 -1
  472. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/password_callback.hpp +1 -1
  473. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/read_op.hpp +2 -2
  474. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/shutdown_op.hpp +3 -3
  475. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/stream_core.hpp +38 -1
  476. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/verify_callback.hpp +1 -1
  477. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/write_op.hpp +2 -2
  478. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/error.hpp +1 -1
  479. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/host_name_verification.hpp +1 -1
  480. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.hpp +1 -1
  481. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.ipp +15 -8
  482. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/error.ipp +1 -1
  483. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/host_name_verification.ipp +1 -1
  484. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/rfc2818_verification.ipp +1 -1
  485. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/src.hpp +1 -1
  486. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/rfc2818_verification.hpp +1 -1
  487. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream.hpp +74 -2
  488. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream_base.hpp +1 -1
  489. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_context.hpp +1 -1
  490. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_mode.hpp +1 -1
  491. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl.hpp +1 -1
  492. data/src/cxx_supportlib/vendor-modified/boost/asio/static_thread_pool.hpp +1 -1
  493. data/src/cxx_supportlib/vendor-modified/boost/asio/steady_timer.hpp +1 -1
  494. data/src/cxx_supportlib/vendor-modified/boost/asio/strand.hpp +55 -23
  495. data/src/cxx_supportlib/vendor-modified/boost/asio/streambuf.hpp +1 -1
  496. data/src/cxx_supportlib/vendor-modified/boost/asio/system_context.hpp +1 -1
  497. data/src/cxx_supportlib/vendor-modified/boost/asio/system_executor.hpp +23 -1
  498. data/src/cxx_supportlib/vendor-modified/boost/asio/system_timer.hpp +1 -1
  499. data/src/cxx_supportlib/vendor-modified/boost/asio/this_coro.hpp +236 -1
  500. data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +21 -1
  501. data/src/cxx_supportlib/vendor-modified/boost/asio/time_traits.hpp +1 -1
  502. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/bulk_execute_free.hpp +1 -1
  503. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/bulk_execute_member.hpp +1 -1
  504. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/connect_free.hpp +1 -1
  505. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/connect_member.hpp +1 -1
  506. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/equality_comparable.hpp +7 -3
  507. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_free.hpp +1 -1
  508. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_member.hpp +1 -1
  509. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_free.hpp +1 -1
  510. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_member.hpp +1 -1
  511. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_free.hpp +1 -1
  512. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_member.hpp +1 -1
  513. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_static_constexpr_member.hpp +1 -1
  514. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_free.hpp +1 -1
  515. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_member.hpp +1 -1
  516. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_free.hpp +1 -1
  517. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_member.hpp +1 -1
  518. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/schedule_free.hpp +1 -1
  519. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/schedule_member.hpp +1 -1
  520. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_done_free.hpp +1 -1
  521. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_done_member.hpp +1 -1
  522. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_error_free.hpp +1 -1
  523. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_error_member.hpp +1 -1
  524. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_value_free.hpp +1 -1
  525. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_value_member.hpp +1 -1
  526. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/start_free.hpp +1 -1
  527. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/start_member.hpp +1 -1
  528. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_query.hpp +1 -1
  529. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require.hpp +1 -1
  530. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require_concept.hpp +3 -2
  531. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/submit_free.hpp +1 -1
  532. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/submit_member.hpp +1 -1
  533. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/buffer.hpp +1 -1
  534. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/executor.hpp +1 -1
  535. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/internet.hpp +1 -1
  536. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/io_context.hpp +1 -1
  537. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/net.hpp +1 -1
  538. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/netfwd.hpp +3 -11
  539. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/socket.hpp +1 -1
  540. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/timer.hpp +1 -1
  541. data/src/cxx_supportlib/vendor-modified/boost/asio/unyield.hpp +1 -1
  542. data/src/cxx_supportlib/vendor-modified/boost/asio/use_awaitable.hpp +10 -13
  543. data/src/cxx_supportlib/vendor-modified/boost/asio/use_future.hpp +1 -1
  544. data/src/cxx_supportlib/vendor-modified/boost/asio/uses_executor.hpp +1 -1
  545. data/src/cxx_supportlib/vendor-modified/boost/asio/version.hpp +2 -2
  546. data/src/cxx_supportlib/vendor-modified/boost/asio/wait_traits.hpp +1 -1
  547. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_object_handle.hpp +10 -10
  548. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_overlapped_handle.hpp +10 -10
  549. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_random_access_handle.hpp +26 -6
  550. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_stream_handle.hpp +26 -6
  551. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/object_handle.hpp +1 -1
  552. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_handle.hpp +1 -1
  553. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_ptr.hpp +9 -9
  554. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/random_access_handle.hpp +1 -1
  555. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/stream_handle.hpp +1 -1
  556. data/src/cxx_supportlib/vendor-modified/boost/asio/write.hpp +143 -43
  557. data/src/cxx_supportlib/vendor-modified/boost/asio/write_at.hpp +45 -1
  558. data/src/cxx_supportlib/vendor-modified/boost/asio/yield.hpp +1 -1
  559. data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +7 -1
  560. data/src/cxx_supportlib/vendor-modified/boost/assert/source_location.hpp +6 -0
  561. data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_ref.hpp +14 -1
  562. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/config.hpp +17 -13
  563. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_aarch64.hpp +6 -6
  564. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_msvc_arm.hpp +4 -4
  565. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch32.hpp +32 -32
  566. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch64.hpp +15 -15
  567. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/int_sizes.hpp +25 -1
  568. data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic_ref.hpp +14 -1
  569. data/src/cxx_supportlib/vendor-modified/boost/bind/apply.hpp +13 -0
  570. data/src/cxx_supportlib/vendor-modified/boost/bind/bind.hpp +3 -23
  571. data/src/cxx_supportlib/vendor-modified/boost/bind/bind_mf2_cc.hpp +18 -18
  572. data/src/cxx_supportlib/vendor-modified/boost/bind/detail/result_traits.hpp +154 -0
  573. data/src/cxx_supportlib/vendor-modified/boost/bind/placeholders.hpp +12 -0
  574. data/src/cxx_supportlib/vendor-modified/boost/bind/protect.hpp +52 -8
  575. data/src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp +39 -0
  576. data/src/cxx_supportlib/vendor-modified/boost/cerrno.hpp +4 -320
  577. data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/base.hpp +6 -6
  578. data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/space_optimized.hpp +2 -2
  579. data/src/cxx_supportlib/vendor-modified/boost/circular_buffer.hpp +1 -1
  580. data/src/cxx_supportlib/vendor-modified/boost/concept/detail/general.hpp +21 -0
  581. data/src/cxx_supportlib/vendor-modified/boost/concept/usage.hpp +7 -0
  582. data/src/cxx_supportlib/vendor-modified/boost/concept_check.hpp +1 -1
  583. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx03.hpp +211 -0
  584. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx11.hpp +212 -0
  585. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx14.hpp +47 -0
  586. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx17.hpp +59 -0
  587. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx20.hpp +56 -0
  588. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx98.hpp +23 -0
  589. data/src/cxx_supportlib/vendor-modified/boost/config/auto_link.hpp +1 -5
  590. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/common_edg.hpp +31 -11
  591. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc.hpp +1 -1
  592. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/visualc.hpp +11 -0
  593. data/src/cxx_supportlib/vendor-modified/boost/config/detail/cxx_composite.hpp +202 -0
  594. data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_platform_config.hpp +5 -0
  595. data/src/cxx_supportlib/vendor-modified/boost/config/detail/suffix.hpp +118 -2
  596. data/src/cxx_supportlib/vendor-modified/boost/config/platform/bsd.hpp +5 -8
  597. data/src/cxx_supportlib/vendor-modified/boost/config/platform/wasm.hpp +17 -0
  598. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/dinkumware.hpp +37 -4
  599. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +70 -1
  600. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libstdcpp3.hpp +91 -5
  601. data/src/cxx_supportlib/vendor-modified/boost/container/adaptive_pool.hpp +10 -2
  602. data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +11 -8
  603. data/src/cxx_supportlib/vendor-modified/boost/container/allocator_traits.hpp +9 -0
  604. data/src/cxx_supportlib/vendor-modified/boost/container/container_fwd.hpp +6 -0
  605. data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +123 -71
  606. data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool.hpp +2 -2
  607. data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool_impl.hpp +4 -3
  608. data/src/cxx_supportlib/vendor-modified/boost/container/detail/advanced_insert_int.hpp +117 -45
  609. data/src/cxx_supportlib/vendor-modified/boost/container/detail/algorithm.hpp +28 -0
  610. data/src/cxx_supportlib/vendor-modified/boost/container/detail/compare_functors.hpp +1 -0
  611. data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +0 -3
  612. data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_rebind.hpp +3 -3
  613. data/src/cxx_supportlib/vendor-modified/boost/container/detail/copy_move_algo.hpp +142 -36
  614. data/src/cxx_supportlib/vendor-modified/boost/container/detail/destroyers.hpp +100 -31
  615. data/src/cxx_supportlib/vendor-modified/boost/container/detail/dispatch_uses_allocator.hpp +24 -24
  616. data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +141 -90
  617. data/src/cxx_supportlib/vendor-modified/boost/container/detail/guards_dended.hpp +198 -0
  618. data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_container.hpp +10 -0
  619. data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_contiguous_container.hpp +35 -0
  620. data/src/cxx_supportlib/vendor-modified/boost/container/detail/multiallocation_chain.hpp +12 -8
  621. data/src/cxx_supportlib/vendor-modified/boost/container/detail/mutex.hpp +4 -15
  622. data/src/cxx_supportlib/vendor-modified/boost/container/detail/next_capacity.hpp +22 -1
  623. data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool.hpp +2 -2
  624. data/src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common_alloc.hpp +1 -1
  625. data/src/cxx_supportlib/vendor-modified/boost/container/detail/std_fwd.hpp +3 -0
  626. data/src/cxx_supportlib/vendor-modified/boost/container/detail/tree.hpp +126 -92
  627. data/src/cxx_supportlib/vendor-modified/boost/container/detail/type_traits.hpp +2 -0
  628. data/src/cxx_supportlib/vendor-modified/boost/container/detail/value_functors.hpp +4 -14
  629. data/src/cxx_supportlib/vendor-modified/boost/container/detail/workaround.hpp +30 -0
  630. data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +3000 -0
  631. data/src/cxx_supportlib/vendor-modified/boost/container/flat_map.hpp +237 -169
  632. data/src/cxx_supportlib/vendor-modified/boost/container/flat_set.hpp +10 -28
  633. data/src/cxx_supportlib/vendor-modified/boost/container/list.hpp +58 -29
  634. data/src/cxx_supportlib/vendor-modified/boost/container/map.hpp +84 -80
  635. data/src/cxx_supportlib/vendor-modified/boost/container/new_allocator.hpp +1 -1
  636. data/src/cxx_supportlib/vendor-modified/boost/container/node_allocator.hpp +1 -1
  637. data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +41 -0
  638. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/devector.hpp +51 -0
  639. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/memory_resource.hpp +1 -1
  640. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/polymorphic_allocator.hpp +8 -9
  641. data/src/cxx_supportlib/vendor-modified/boost/container/set.hpp +21 -35
  642. data/src/cxx_supportlib/vendor-modified/boost/container/slist.hpp +51 -26
  643. data/src/cxx_supportlib/vendor-modified/boost/container/small_vector.hpp +1 -1
  644. data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +109 -57
  645. data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +8 -5
  646. data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +184 -105
  647. data/src/cxx_supportlib/vendor-modified/boost/container/throw_exception.hpp +141 -26
  648. data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +392 -384
  649. data/src/cxx_supportlib/vendor-modified/boost/container_hash/extensions.hpp +1 -3
  650. data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash.hpp +1 -1
  651. data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash_fwd.hpp +1 -1
  652. data/src/cxx_supportlib/vendor-modified/boost/core/allocator_access.hpp +102 -134
  653. data/src/cxx_supportlib/vendor-modified/boost/core/bit.hpp +581 -0
  654. data/src/cxx_supportlib/vendor-modified/boost/core/cmath.hpp +199 -0
  655. data/src/cxx_supportlib/vendor-modified/boost/core/detail/splitmix64.hpp +54 -0
  656. data/src/cxx_supportlib/vendor-modified/boost/core/ignore_unused.hpp +32 -2
  657. data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test.hpp +42 -0
  658. data/src/cxx_supportlib/vendor-modified/boost/core/ref.hpp +36 -0
  659. data/src/cxx_supportlib/vendor-modified/boost/core/uncaught_exceptions.hpp +7 -7
  660. data/src/cxx_supportlib/vendor-modified/boost/cregex.hpp +4 -0
  661. data/src/cxx_supportlib/vendor-modified/boost/date_time/compiler_config.hpp +0 -24
  662. data/src/cxx_supportlib/vendor-modified/boost/date_time/date_iterator.hpp +8 -8
  663. data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_parsers.hpp +4 -0
  664. data/src/cxx_supportlib/vendor-modified/boost/date_time/time_iterator.hpp +8 -8
  665. data/src/cxx_supportlib/vendor-modified/boost/detail/atomic_count.hpp +21 -0
  666. data/src/cxx_supportlib/vendor-modified/boost/exception/detail/exception_ptr.hpp +55 -37
  667. data/src/cxx_supportlib/vendor-modified/boost/exception/detail/type_info.hpp +2 -1
  668. data/src/cxx_supportlib/vendor-modified/boost/exception/info.hpp +0 -3
  669. data/src/cxx_supportlib/vendor-modified/boost/foreach.hpp +3 -3
  670. data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor.hpp +2 -2
  671. data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_ct.hpp +2 -2
  672. data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_rt.hpp +1 -1
  673. data/src/cxx_supportlib/vendor-modified/boost/integer/extended_euclidean.hpp +1 -1
  674. data/src/cxx_supportlib/vendor-modified/boost/integer/integer_log2.hpp +1 -1
  675. data/src/cxx_supportlib/vendor-modified/boost/integer/integer_mask.hpp +2 -2
  676. data/src/cxx_supportlib/vendor-modified/boost/integer/mod_inverse.hpp +1 -1
  677. data/src/cxx_supportlib/vendor-modified/boost/integer/static_log2.hpp +2 -2
  678. data/src/cxx_supportlib/vendor-modified/boost/integer/static_min_max.hpp +2 -2
  679. data/src/cxx_supportlib/vendor-modified/boost/integer.hpp +2 -2
  680. data/src/cxx_supportlib/vendor-modified/boost/integer_fwd.hpp +2 -2
  681. data/src/cxx_supportlib/vendor-modified/boost/integer_traits.hpp +2 -2
  682. data/src/cxx_supportlib/vendor-modified/boost/intrusive/any_hook.hpp +4 -4
  683. data/src/cxx_supportlib/vendor-modified/boost/intrusive/avl_set.hpp +83 -83
  684. data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree.hpp +43 -43
  685. data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree_algorithms.hpp +31 -31
  686. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bs_set.hpp +85 -85
  687. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +76 -84
  688. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree_algorithms.hpp +76 -67
  689. data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_list_algorithms.hpp +19 -20
  690. data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_slist_algorithms.hpp +19 -19
  691. data/src/cxx_supportlib/vendor-modified/boost/intrusive/derivation_value_traits.hpp +4 -4
  692. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/any_node_and_algorithms.hpp +2 -2
  693. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/array_initializer.hpp +2 -1
  694. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/bstree_algorithms_base.hpp +4 -5
  695. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/common_slist_algorithms.hpp +5 -5
  696. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/config_begin.hpp +1 -0
  697. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/generic_hook.hpp +8 -8
  698. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hash_combine.hpp +92 -0
  699. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hashtable_node.hpp +1 -1
  700. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/math.hpp +4 -52
  701. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/node_cloner_disposer.hpp +1 -1
  702. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/simple_disposers.hpp +2 -0
  703. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/twin.hpp +49 -0
  704. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/value_functors.hpp +42 -0
  705. data/src/cxx_supportlib/vendor-modified/boost/intrusive/hashtable.hpp +72 -71
  706. data/src/cxx_supportlib/vendor-modified/boost/intrusive/linear_slist_algorithms.hpp +24 -17
  707. data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +95 -93
  708. data/src/cxx_supportlib/vendor-modified/boost/intrusive/list_hook.hpp +10 -10
  709. data/src/cxx_supportlib/vendor-modified/boost/intrusive/member_value_traits.hpp +4 -4
  710. data/src/cxx_supportlib/vendor-modified/boost/intrusive/parent_from_member.hpp +2 -2
  711. data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_plus_bits.hpp +4 -4
  712. data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_traits.hpp +18 -18
  713. data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree.hpp +43 -43
  714. data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree_algorithms.hpp +26 -26
  715. data/src/cxx_supportlib/vendor-modified/boost/intrusive/set.hpp +85 -85
  716. data/src/cxx_supportlib/vendor-modified/boost/intrusive/set_hook.hpp +12 -12
  717. data/src/cxx_supportlib/vendor-modified/boost/intrusive/sg_set.hpp +93 -93
  718. data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree.hpp +58 -66
  719. data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree_algorithms.hpp +24 -24
  720. data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +122 -126
  721. data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist_hook.hpp +8 -6
  722. data/src/cxx_supportlib/vendor-modified/boost/intrusive/splay_set.hpp +91 -91
  723. data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree.hpp +46 -46
  724. data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree_algorithms.hpp +31 -31
  725. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap.hpp +51 -51
  726. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_algorithms.hpp +20 -22
  727. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_set.hpp +97 -97
  728. data/src/cxx_supportlib/vendor-modified/boost/intrusive/trivial_value_traits.hpp +6 -4
  729. data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set.hpp +63 -63
  730. data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set_hook.hpp +15 -15
  731. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/bad_lexical_cast.hpp +7 -7
  732. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical.hpp +1 -1
  733. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +38 -38
  734. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +5 -2
  735. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/inf_nan.hpp +13 -16
  736. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/is_character.hpp +1 -1
  737. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp +2 -2
  738. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_unsigned_converters.hpp +10 -10
  739. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/widest_char.hpp +1 -1
  740. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/try_lexical_convert.hpp +5 -5
  741. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast.hpp +2 -2
  742. data/src/cxx_supportlib/vendor-modified/boost/libs/random/src/random_device.cpp +1 -1
  743. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/posix_api.cpp +3 -7
  744. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex.cpp +10 -121
  745. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/static_mutex.cpp +5 -1
  746. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wide_posix_api.cpp +4 -8
  747. data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_merge.hpp +2 -4
  748. data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_sort.hpp +3 -2
  749. data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/adaptive_sort_merge.hpp +31 -14
  750. data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/merge.hpp +4 -48
  751. data/src/cxx_supportlib/vendor-modified/boost/move/default_delete.hpp +30 -3
  752. data/src/cxx_supportlib/vendor-modified/boost/move/detail/config_begin.hpp +1 -0
  753. data/src/cxx_supportlib/vendor-modified/boost/move/detail/fwd_macros.hpp +12 -0
  754. data/src/cxx_supportlib/vendor-modified/boost/move/detail/iterator_traits.hpp +1 -0
  755. data/src/cxx_supportlib/vendor-modified/boost/move/detail/nsec_clock.hpp +224 -0
  756. data/src/cxx_supportlib/vendor-modified/boost/move/detail/type_traits.hpp +253 -43
  757. data/src/cxx_supportlib/vendor-modified/boost/move/detail/unique_ptr_meta_utils.hpp +0 -26
  758. data/src/cxx_supportlib/vendor-modified/boost/move/unique_ptr.hpp +5 -5
  759. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/enum.hpp +12 -0
  760. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/params.hpp +12 -0
  761. data/src/cxx_supportlib/vendor-modified/boost/mpl/has_xxx.hpp +2 -2
  762. data/src/cxx_supportlib/vendor-modified/boost/mpl/string.hpp +6 -6
  763. data/src/cxx_supportlib/vendor-modified/boost/none.hpp +3 -4
  764. data/src/cxx_supportlib/vendor-modified/boost/none_t.hpp +3 -1
  765. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/cast.hpp +1 -1
  766. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/converter_policies.hpp +4 -5
  767. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/converter.hpp +1 -1
  768. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/meta.hpp +1 -1
  769. data/src/cxx_supportlib/vendor-modified/boost/operators.hpp +2 -0
  770. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/old_optional_implementation.hpp +2 -2
  771. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_config.hpp +1 -1
  772. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_reference_spec.hpp +8 -1
  773. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/arg_list.hpp +5 -5
  774. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/default.hpp +11 -0
  775. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/maybe.hpp +2 -2
  776. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/name.hpp +1 -1
  777. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/item.hpp +2 -2
  778. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_arg_list.hpp +4 -4
  779. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_keyword_arg_ref.hpp +2 -2
  780. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_cast.hpp +1 -1
  781. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_forward_match.hpp +1 -1
  782. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/specification.hpp +2 -2
  783. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_binary.hpp +1 -1
  784. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp +1 -1
  785. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/set.hpp +1 -1
  786. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tag.hpp +2 -2
  787. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tagged_argument.hpp +12 -3
  788. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/unwrap_cv_reference.hpp +3 -3
  789. data/src/cxx_supportlib/vendor-modified/boost/parameter/config.hpp +1 -1
  790. data/src/cxx_supportlib/vendor-modified/boost/parameter/macros.hpp +1 -1
  791. data/src/cxx_supportlib/vendor-modified/boost/parameter/match.hpp +1 -1
  792. data/src/cxx_supportlib/vendor-modified/boost/parameter/parameters.hpp +6 -6
  793. data/src/cxx_supportlib/vendor-modified/boost/pool/object_pool.hpp +2 -2
  794. data/src/cxx_supportlib/vendor-modified/boost/pool/pool_alloc.hpp +1 -1
  795. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/alpha.h +5 -0
  796. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/arm.h +10 -0
  797. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/blackfin.h +5 -0
  798. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/convex.h +5 -0
  799. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/e2k.h +54 -0
  800. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ia64.h +5 -0
  801. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/m68k.h +5 -0
  802. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/mips.h +10 -0
  803. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/parisc.h +5 -0
  804. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ppc.h +55 -4
  805. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ptx.h +5 -0
  806. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/pyramid.h +5 -0
  807. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/riscv.h +5 -0
  808. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/rs6k.h +10 -0
  809. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sparc.h +14 -2
  810. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/superh.h +13 -0
  811. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys370.h +5 -0
  812. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys390.h +5 -0
  813. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/32.h +5 -0
  814. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/64.h +7 -2
  815. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/z.h +5 -0
  816. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture.h +1 -1
  817. data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/cxx.h +1 -1
  818. data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/stdcpp3.h +1 -1
  819. data/src/cxx_supportlib/vendor-modified/boost/predef/make.h +4 -0
  820. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/bsdi.h +1 -0
  821. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/dragonfly.h +1 -0
  822. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/free.h +1 -0
  823. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/net.h +1 -0
  824. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/open.h +1 -0
  825. data/src/cxx_supportlib/vendor-modified/boost/predef/other/endian.h +7 -10
  826. data/src/cxx_supportlib/vendor-modified/boost/predef/other/wordsize.h +73 -0
  827. data/src/cxx_supportlib/vendor-modified/boost/predef/other.h +3 -2
  828. data/src/cxx_supportlib/vendor-modified/boost/predef/platform.h +0 -1
  829. data/src/cxx_supportlib/vendor-modified/boost/predef/version.h +1 -1
  830. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/add.hpp +54 -1
  831. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/dec.hpp +33 -0
  832. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_1_number.hpp +21 -0
  833. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_maximum_number.hpp +22 -0
  834. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_minimum_number.hpp +21 -0
  835. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/maximum_number.hpp +19 -0
  836. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/div.hpp +37 -1
  837. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/inc.hpp +33 -0
  838. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_1024.hpp +531 -0
  839. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_256.hpp +276 -0
  840. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_512.hpp +275 -0
  841. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_1024.hpp +536 -0
  842. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_256.hpp +275 -0
  843. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_512.hpp +280 -0
  844. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/mod.hpp +37 -1
  845. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/mul.hpp +60 -1
  846. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/sub.hpp +51 -1
  847. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/detail/get_data.hpp +1 -1
  848. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/enum.hpp +17 -1
  849. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/insert.hpp +71 -0
  850. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/remove.hpp +66 -0
  851. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/replace.hpp +58 -0
  852. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_1024.hpp +1044 -0
  853. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_256.hpp +793 -0
  854. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_512.hpp +532 -0
  855. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/not_equal.hpp +44 -1
  856. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/config/config.hpp +16 -33
  857. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/config/limits.hpp +136 -3
  858. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/deduce_d.hpp +27 -0
  859. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/dmc/while.hpp +2 -3
  860. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_1024.hpp +1044 -0
  861. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_256.hpp +533 -0
  862. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_512.hpp +532 -0
  863. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/while.hpp +27 -0
  864. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_1024.hpp +1044 -0
  865. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_256.hpp +533 -0
  866. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_512.hpp +532 -0
  867. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/while.hpp +27 -0
  868. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_1024.hpp +531 -0
  869. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_256.hpp +275 -0
  870. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_512.hpp +275 -0
  871. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/while.hpp +75 -0
  872. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/auto_rec.hpp +41 -0
  873. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/dmc/auto_rec.hpp +2 -2
  874. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_1024.hpp +532 -0
  875. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_256.hpp +280 -0
  876. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_512.hpp +276 -0
  877. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/intercept.hpp +29 -0
  878. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty.hpp +0 -37
  879. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty_variadic.hpp +0 -4
  880. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_1024.hpp +530 -0
  881. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_256.hpp +273 -0
  882. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_512.hpp +274 -0
  883. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/overload.hpp +1 -3
  884. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward1.hpp +27 -0
  885. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward2.hpp +27 -0
  886. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward3.hpp +27 -0
  887. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward4.hpp +27 -0
  888. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward5.hpp +27 -0
  889. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_1024.hpp +2573 -0
  890. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp +1296 -0
  891. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_512.hpp +1293 -0
  892. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_1024.hpp +2573 -0
  893. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_256.hpp +1296 -0
  894. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_512.hpp +1293 -0
  895. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_1024.hpp +2573 -0
  896. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_256.hpp +1296 -0
  897. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_512.hpp +1293 -0
  898. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_1024.hpp +2573 -0
  899. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_256.hpp +1296 -0
  900. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_512.hpp +1293 -0
  901. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_1024.hpp +2573 -0
  902. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_256.hpp +1296 -0
  903. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_512.hpp +1293 -0
  904. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_1024.hpp +2571 -0
  905. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_256.hpp +1296 -0
  906. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_512.hpp +1291 -0
  907. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_1024.hpp +2571 -0
  908. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_256.hpp +1296 -0
  909. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_512.hpp +1293 -0
  910. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_1024.hpp +2571 -0
  911. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_256.hpp +1296 -0
  912. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_512.hpp +1293 -0
  913. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_1024.hpp +2571 -0
  914. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_256.hpp +1296 -0
  915. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_512.hpp +1293 -0
  916. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_1024.hpp +2571 -0
  917. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_256.hpp +1296 -0
  918. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_512.hpp +1293 -0
  919. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse1.hpp +25 -0
  920. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse2.hpp +25 -0
  921. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse3.hpp +25 -0
  922. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse4.hpp +25 -0
  923. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse5.hpp +25 -0
  924. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_1024.hpp +1549 -0
  925. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_256.hpp +782 -0
  926. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_512.hpp +781 -0
  927. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_1024.hpp +1549 -0
  928. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_256.hpp +782 -0
  929. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_512.hpp +781 -0
  930. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/local.hpp +27 -0
  931. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/rlocal.hpp +25 -0
  932. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/dmc/fold_left.hpp +3 -2
  933. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/fold_left.hpp +28 -0
  934. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/fold_right.hpp +29 -0
  935. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_1024.hpp +1044 -0
  936. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_256.hpp +533 -0
  937. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_512.hpp +532 -0
  938. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_1024.hpp +1557 -0
  939. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_256.hpp +791 -0
  940. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_512.hpp +789 -0
  941. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/fold_left.hpp +28 -0
  942. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/fold_right.hpp +26 -0
  943. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_1024.hpp +532 -0
  944. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_256.hpp +275 -0
  945. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_512.hpp +276 -0
  946. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_1024.hpp +532 -0
  947. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_256.hpp +275 -0
  948. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_512.hpp +276 -0
  949. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/enum.hpp +13 -1
  950. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/fold_left.hpp +60 -0
  951. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/fold_right.hpp +44 -0
  952. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/for_each_product.hpp +25 -6
  953. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_1024.hpp +531 -0
  954. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_256.hpp +275 -0
  955. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_512.hpp +275 -0
  956. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/reverse.hpp +35 -0
  957. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/size.hpp +56 -1
  958. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/to_array.hpp +5 -72
  959. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/bool.hpp +22 -0
  960. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_1024.hpp +531 -0
  961. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_256.hpp +275 -0
  962. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_512.hpp +275 -0
  963. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/is_begin_parens.hpp +1 -5
  964. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp +0 -4
  965. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/deduce_r.hpp +27 -0
  966. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/dmc/for.hpp +3 -2
  967. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/for.hpp +26 -0
  968. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_1024.hpp +1044 -0
  969. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_256.hpp +533 -0
  970. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_512.hpp +532 -0
  971. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/for.hpp +28 -0
  972. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_1024.hpp +1044 -0
  973. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_256.hpp +533 -0
  974. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_512.hpp +532 -0
  975. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/msvc/for.hpp +1 -0
  976. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/for.hpp +114 -0
  977. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_1024.hpp +531 -0
  978. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_256.hpp +275 -0
  979. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_512.hpp +275 -0
  980. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_1024.hpp +1557 -0
  981. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_256.hpp +791 -0
  982. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_512.hpp +789 -0
  983. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/repeat.hpp +22 -0
  984. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/repeat_from_to.hpp +27 -0
  985. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/binary_transform.hpp +6 -11
  986. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_1024.hpp +530 -0
  987. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_256.hpp +272 -0
  988. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_512.hpp +274 -0
  989. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/split.hpp +23 -0
  990. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/elem.hpp +23 -0
  991. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/enum.hpp +23 -0
  992. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/fold_left.hpp +52 -0
  993. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/fold_right.hpp +37 -0
  994. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_1024.hpp +530 -0
  995. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_256.hpp +272 -0
  996. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_512.hpp +274 -0
  997. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_1024.hpp +530 -0
  998. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_256.hpp +272 -0
  999. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_512.hpp +274 -0
  1000. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_1024.hpp +1556 -0
  1001. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_256.hpp +1053 -0
  1002. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_512.hpp +788 -0
  1003. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_1024.hpp +530 -0
  1004. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_256.hpp +273 -0
  1005. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_512.hpp +274 -0
  1006. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_1024.hpp +1043 -0
  1007. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_256.hpp +532 -0
  1008. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_512.hpp +531 -0
  1009. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/rest_n.hpp +9 -3
  1010. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/size.hpp +23 -0
  1011. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/variadic_seq_to_seq.hpp +0 -2
  1012. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/stringize.hpp +0 -4
  1013. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/detail/is_single_return.hpp +2 -2
  1014. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/eat.hpp +4 -18
  1015. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/elem.hpp +11 -157
  1016. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/insert.hpp +0 -5
  1017. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_128.hpp +403 -0
  1018. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_256.hpp +1171 -0
  1019. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_64.hpp +83 -0
  1020. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_128.hpp +595 -0
  1021. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_256.hpp +1747 -0
  1022. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_64.hpp +83 -0
  1023. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_128.hpp +403 -0
  1024. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_256.hpp +1171 -0
  1025. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_64.hpp +84 -0
  1026. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_back.hpp +0 -5
  1027. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_front.hpp +0 -5
  1028. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_back.hpp +0 -5
  1029. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_front.hpp +0 -6
  1030. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/rem.hpp +17 -39
  1031. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/remove.hpp +0 -5
  1032. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/replace.hpp +0 -5
  1033. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/reverse.hpp +38 -25
  1034. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/size.hpp +13 -6
  1035. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_array.hpp +15 -12
  1036. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_list.hpp +37 -25
  1037. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_seq.hpp +38 -24
  1038. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/detail/has_opt.hpp +1 -1
  1039. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/detail/is_single_return.hpp +2 -2
  1040. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/elem.hpp +93 -71
  1041. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/has_opt.hpp +1 -1
  1042. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_128.hpp +275 -0
  1043. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_256.hpp +723 -0
  1044. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_64.hpp +81 -0
  1045. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_128.hpp +47 -0
  1046. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_256.hpp +53 -0
  1047. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_64.hpp +23 -0
  1048. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/size.hpp +39 -4
  1049. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_array.hpp +15 -9
  1050. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_list.hpp +9 -2
  1051. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_seq.hpp +1 -3
  1052. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_tuple.hpp +1 -3
  1053. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/wstringize.hpp +0 -4
  1054. data/src/cxx_supportlib/vendor-modified/boost/random/additive_combine.hpp +2 -2
  1055. data/src/cxx_supportlib/vendor-modified/boost/random/detail/gray_coded_qrng.hpp +29 -5
  1056. data/src/cxx_supportlib/vendor-modified/boost/random/detail/int_float_pair.hpp +3 -4
  1057. data/src/cxx_supportlib/vendor-modified/boost/random/detail/mixmax_skip_N17.ipp +287 -0
  1058. data/src/cxx_supportlib/vendor-modified/boost/random/detail/niederreiter_base2_table.hpp +1 -0
  1059. data/src/cxx_supportlib/vendor-modified/boost/random/detail/operators.hpp +1 -1
  1060. data/src/cxx_supportlib/vendor-modified/boost/random/detail/qrng_base.hpp +5 -5
  1061. data/src/cxx_supportlib/vendor-modified/boost/random/detail/seed.hpp +9 -11
  1062. data/src/cxx_supportlib/vendor-modified/boost/random/detail/seed_impl.hpp +13 -14
  1063. data/src/cxx_supportlib/vendor-modified/boost/random/detail/sobol_table.hpp +1 -0
  1064. data/src/cxx_supportlib/vendor-modified/boost/random/discard_block.hpp +2 -2
  1065. data/src/cxx_supportlib/vendor-modified/boost/random/generate_canonical.hpp +2 -3
  1066. data/src/cxx_supportlib/vendor-modified/boost/random/hyperexponential_distribution.hpp +3 -3
  1067. data/src/cxx_supportlib/vendor-modified/boost/random/independent_bits.hpp +3 -3
  1068. data/src/cxx_supportlib/vendor-modified/boost/random/inversive_congruential.hpp +2 -3
  1069. data/src/cxx_supportlib/vendor-modified/boost/random/lagged_fibonacci.hpp +4 -4
  1070. data/src/cxx_supportlib/vendor-modified/boost/random/linear_congruential.hpp +5 -7
  1071. data/src/cxx_supportlib/vendor-modified/boost/random/linear_feedback_shift.hpp +3 -3
  1072. data/src/cxx_supportlib/vendor-modified/boost/random/mersenne_twister.hpp +2 -2
  1073. data/src/cxx_supportlib/vendor-modified/boost/random/mixmax.hpp +313 -0
  1074. data/src/cxx_supportlib/vendor-modified/boost/random/niederreiter_base2.hpp +2 -2
  1075. data/src/cxx_supportlib/vendor-modified/boost/random/random_device.hpp +2 -2
  1076. data/src/cxx_supportlib/vendor-modified/boost/random/shuffle_order.hpp +2 -2
  1077. data/src/cxx_supportlib/vendor-modified/boost/random/sobol.hpp +3 -2
  1078. data/src/cxx_supportlib/vendor-modified/boost/random/subtract_with_carry.hpp +4 -4
  1079. data/src/cxx_supportlib/vendor-modified/boost/random/traits.hpp +3 -3
  1080. data/src/cxx_supportlib/vendor-modified/boost/random/uniform_int_distribution.hpp +7 -7
  1081. data/src/cxx_supportlib/vendor-modified/boost/random/uniform_real_distribution.hpp +2 -3
  1082. data/src/cxx_supportlib/vendor-modified/boost/random/uniform_smallint.hpp +4 -5
  1083. data/src/cxx_supportlib/vendor-modified/boost/random/xor_combine.hpp +4 -2
  1084. data/src/cxx_supportlib/vendor-modified/boost/random.hpp +1 -0
  1085. data/src/cxx_supportlib/vendor-modified/boost/rational.hpp +7 -7
  1086. data/src/cxx_supportlib/vendor-modified/boost/regex/concepts.hpp +79 -74
  1087. data/src/cxx_supportlib/vendor-modified/boost/regex/config.hpp +97 -113
  1088. data/src/cxx_supportlib/vendor-modified/boost/regex/pattern_except.hpp +4 -75
  1089. data/src/cxx_supportlib/vendor-modified/boost/regex/pending/object_cache.hpp +4 -147
  1090. data/src/cxx_supportlib/vendor-modified/boost/regex/pending/unicode_iterator.hpp +8 -761
  1091. data/src/cxx_supportlib/vendor-modified/boost/regex/regex_traits.hpp +4 -0
  1092. data/src/cxx_supportlib/vendor-modified/boost/regex/user.hpp +2 -0
  1093. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex.hpp +8 -9
  1094. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_creator.hpp +20 -19
  1095. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_parser.hpp +16 -13
  1096. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/c_regex_traits.hpp +342 -42
  1097. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cpp_regex_traits.hpp +107 -24
  1098. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cregex.hpp +0 -117
  1099. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/icu.hpp +1516 -0
  1100. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_flags.hpp +5 -5
  1101. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_results.hpp +8 -8
  1102. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/mem_block_cache.hpp +39 -1
  1103. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/object_cache.hpp +171 -0
  1104. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/pattern_except.hpp +127 -0
  1105. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher.hpp +13 -4
  1106. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_common.hpp +1 -1
  1107. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_non_recursive.hpp +39 -41
  1108. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_recursive.hpp +6 -6
  1109. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/primary_transform.hpp +1 -1
  1110. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/protected_call.hpp +3 -1
  1111. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex.hpp +0 -36
  1112. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_format.hpp +3 -3
  1113. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_raw_buffer.hpp +35 -4
  1114. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_token_iterator.hpp +2 -0
  1115. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_traits_defaults.hpp +638 -22
  1116. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/states.hpp +1 -1
  1117. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/unicode_iterator.hpp +871 -0
  1118. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/w32_regex_traits.hpp +521 -37
  1119. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex.hpp +734 -0
  1120. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_creator.hpp +1575 -0
  1121. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_parser.hpp +3120 -0
  1122. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/c_regex_traits.hpp +474 -0
  1123. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/char_regex_traits.hpp +59 -0
  1124. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/cpp_regex_traits.hpp +1040 -0
  1125. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/cregex.hpp +195 -0
  1126. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/error_type.hpp +59 -0
  1127. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/icu.hpp +1402 -0
  1128. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/indexed_bit_flag.hpp +54 -0
  1129. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/iterator_category.hpp +84 -0
  1130. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/iterator_traits.hpp +32 -0
  1131. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/match_flags.hpp +156 -0
  1132. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/match_results.hpp +667 -0
  1133. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/mem_block_cache.hpp +171 -0
  1134. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/object_cache.hpp +160 -0
  1135. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/pattern_except.hpp +105 -0
  1136. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher.hpp +576 -0
  1137. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_common.hpp +915 -0
  1138. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_non_recursive.hpp +1872 -0
  1139. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/primary_transform.hpp +120 -0
  1140. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regbase.hpp +158 -0
  1141. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex.hpp +106 -0
  1142. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_format.hpp +1124 -0
  1143. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_fwd.hpp +73 -0
  1144. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_grep.hpp +98 -0
  1145. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_iterator.hpp +173 -0
  1146. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_match.hpp +92 -0
  1147. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_merge.hpp +71 -0
  1148. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_raw_buffer.hpp +213 -0
  1149. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_replace.hpp +77 -0
  1150. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_search.hpp +103 -0
  1151. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_split.hpp +152 -0
  1152. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_token_iterator.hpp +255 -0
  1153. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_traits.hpp +130 -0
  1154. data/src/cxx_supportlib/vendor-modified/boost/{libs/regex/src/regex_traits_defaults.cpp → regex/v5/regex_traits_defaults.hpp} +719 -415
  1155. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_workaround.hpp +159 -0
  1156. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/states.hpp +299 -0
  1157. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/sub_match.hpp +382 -0
  1158. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/syntax_type.hpp +105 -0
  1159. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/u32regex_iterator.hpp +177 -0
  1160. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/u32regex_token_iterator.hpp +312 -0
  1161. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/unicode_iterator.hpp +862 -0
  1162. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/w32_regex_traits.hpp +1180 -0
  1163. data/src/cxx_supportlib/vendor-modified/boost/regex.hpp +4 -0
  1164. data/src/cxx_supportlib/vendor-modified/boost/regex_fwd.hpp +4 -0
  1165. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/shared_count.hpp +1 -1
  1166. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_impl.hpp +22 -2
  1167. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_obsolete.hpp +32 -0
  1168. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_ptr.hpp +59 -1
  1169. data/src/cxx_supportlib/vendor-modified/boost/static_assert.hpp +1 -1
  1170. data/src/cxx_supportlib/vendor-modified/boost/system/detail/cerrno.hpp +329 -0
  1171. data/src/cxx_supportlib/vendor-modified/boost/system/detail/config.hpp +25 -11
  1172. data/src/cxx_supportlib/vendor-modified/boost/system/detail/enable_if.hpp +32 -0
  1173. data/src/cxx_supportlib/vendor-modified/boost/system/detail/errc.hpp +126 -0
  1174. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category.hpp +195 -0
  1175. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category_impl.hpp +139 -0
  1176. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.hpp +557 -0
  1177. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_condition.hpp +239 -0
  1178. data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category.hpp +80 -58
  1179. data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category_message.hpp +108 -0
  1180. data/src/cxx_supportlib/vendor-modified/boost/system/detail/interop_category.hpp +107 -0
  1181. data/src/cxx_supportlib/vendor-modified/boost/system/detail/is_same.hpp +33 -0
  1182. data/src/cxx_supportlib/vendor-modified/boost/system/detail/snprintf.hpp +70 -0
  1183. data/src/cxx_supportlib/vendor-modified/boost/system/detail/{std_interoperability.hpp → std_category.hpp} +11 -52
  1184. data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category.hpp +110 -0
  1185. data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_impl.hpp +73 -0
  1186. data/src/cxx_supportlib/vendor-modified/boost/system/detail/throws.hpp +59 -0
  1187. data/src/cxx_supportlib/vendor-modified/boost/system/errc.hpp +50 -0
  1188. data/src/cxx_supportlib/vendor-modified/boost/system/error_category.hpp +13 -0
  1189. data/src/cxx_supportlib/vendor-modified/boost/system/error_code.hpp +7 -958
  1190. data/src/cxx_supportlib/vendor-modified/boost/system/error_condition.hpp +13 -0
  1191. data/src/cxx_supportlib/vendor-modified/boost/system/generic_category.hpp +13 -0
  1192. data/src/cxx_supportlib/vendor-modified/boost/system/is_error_code_enum.hpp +30 -0
  1193. data/src/cxx_supportlib/vendor-modified/boost/system/is_error_condition_enum.hpp +30 -0
  1194. data/src/cxx_supportlib/vendor-modified/boost/system/system_category.hpp +14 -0
  1195. data/src/cxx_supportlib/vendor-modified/boost/thread/detail/config.hpp +1 -1
  1196. data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp +26 -0
  1197. data/src/cxx_supportlib/vendor-modified/boost/throw_exception.hpp +37 -39
  1198. data/src/cxx_supportlib/vendor-modified/boost/type_index/stl_type_index.hpp +1 -1
  1199. data/src/cxx_supportlib/vendor-modified/boost/type_index/type_index_facade.hpp +1 -1
  1200. data/src/cxx_supportlib/vendor-modified/boost/type_index.hpp +1 -1
  1201. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_cxx_11.hpp +247 -168
  1202. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_ptr_tester.hpp +27 -27
  1203. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_likely_lambda.hpp +1 -1
  1204. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp +27 -27
  1205. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp +242 -217
  1206. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_convertible.hpp +1 -1
  1207. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_empty.hpp +1 -1
  1208. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp +4 -0
  1209. data/src/cxx_supportlib/vendor-modified/boost/type_traits/type_with_alignment.hpp +1 -1
  1210. data/src/cxx_supportlib/vendor-modified/boost/typeof/modifiers.hpp +3 -3
  1211. data/src/cxx_supportlib/vendor-modified/boost/typeof/register_fundamental.hpp +2 -2
  1212. data/src/cxx_supportlib/vendor-modified/boost/typeof/std/string.hpp +1 -1
  1213. data/src/cxx_supportlib/vendor-modified/boost/typeof/template_encoding.hpp +1 -1
  1214. data/src/cxx_supportlib/vendor-modified/boost/typeof/template_template_param.hpp +1 -1
  1215. data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof.hpp +4 -4
  1216. data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof_impl.hpp +1 -1
  1217. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp +8 -8
  1218. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp +8 -8
  1219. data/src/cxx_supportlib/vendor-modified/boost/utility/detail/result_of_variadic.hpp +190 -0
  1220. data/src/cxx_supportlib/vendor-modified/boost/utility/result_of.hpp +20 -9
  1221. data/src/cxx_supportlib/vendor-modified/boost/utility/string_view.hpp +3 -1
  1222. data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
  1223. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/COPYING +0 -0
  1224. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/changelog.md +0 -0
  1225. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/readme.md +0 -0
  1226. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/base64/base64.hpp +0 -0
  1227. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/client.hpp +0 -0
  1228. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/close.hpp +0 -0
  1229. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/asio.hpp +0 -0
  1230. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/asio_ssl.hpp +0 -0
  1231. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/chrono.hpp +0 -0
  1232. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/connection_hdl.hpp +0 -0
  1233. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/cpp11.hpp +0 -0
  1234. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/functional.hpp +2 -7
  1235. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/md5.hpp +0 -0
  1236. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/memory.hpp +0 -0
  1237. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/network.hpp +0 -0
  1238. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/platforms.hpp +0 -0
  1239. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/random.hpp +0 -0
  1240. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/regex.hpp +0 -0
  1241. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/stdint.hpp +0 -0
  1242. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/system_error.hpp +0 -0
  1243. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/thread.hpp +0 -0
  1244. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/time.hpp +0 -0
  1245. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/type_traits.hpp +0 -0
  1246. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/concurrency/basic.hpp +0 -0
  1247. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/concurrency/none.hpp +0 -0
  1248. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio.hpp +0 -0
  1249. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_client.hpp +0 -0
  1250. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_no_tls.hpp +0 -0
  1251. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_no_tls_client.hpp +0 -0
  1252. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/boost_config.hpp +0 -0
  1253. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/core.hpp +0 -0
  1254. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/core_client.hpp +0 -0
  1255. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug.hpp +0 -0
  1256. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug_asio.hpp +0 -0
  1257. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug_asio_no_tls.hpp +0 -0
  1258. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/minimal_client.hpp +0 -0
  1259. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/minimal_server.hpp +0 -0
  1260. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/connection.hpp +0 -0
  1261. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/connection_base.hpp +0 -0
  1262. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/endpoint.hpp +0 -0
  1263. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/endpoint_base.hpp +0 -0
  1264. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/error.hpp +0 -0
  1265. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/extension.hpp +0 -0
  1266. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/permessage_deflate/disabled.hpp +0 -0
  1267. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/permessage_deflate/enabled.hpp +0 -0
  1268. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/frame.hpp +0 -0
  1269. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/constants.hpp +0 -0
  1270. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/parser.hpp +0 -0
  1271. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/request.hpp +0 -0
  1272. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/response.hpp +0 -0
  1273. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/parser.hpp +0 -0
  1274. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/request.hpp +0 -0
  1275. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/response.hpp +0 -0
  1276. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/connection_impl.hpp +0 -0
  1277. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/endpoint_impl.hpp +0 -0
  1278. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/utilities_impl.hpp +0 -0
  1279. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/basic.hpp +0 -0
  1280. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/levels.hpp +0 -0
  1281. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/stub.hpp +0 -0
  1282. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/syslog.hpp +0 -0
  1283. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/alloc.hpp +0 -0
  1284. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/message.hpp +0 -0
  1285. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/pool.hpp +0 -0
  1286. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/base.hpp +0 -0
  1287. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi00.hpp +0 -0
  1288. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi07.hpp +0 -0
  1289. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi08.hpp +0 -0
  1290. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi13.hpp +0 -0
  1291. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/processor.hpp +0 -0
  1292. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/random/none.hpp +0 -0
  1293. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/random/random_device.hpp +0 -0
  1294. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/roles/client_endpoint.hpp +0 -0
  1295. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/roles/server_endpoint.hpp +0 -0
  1296. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/server.hpp +0 -0
  1297. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/sha1/sha1.hpp +0 -0
  1298. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/base.hpp +0 -0
  1299. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/connection.hpp +0 -0
  1300. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/endpoint.hpp +0 -0
  1301. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/base.hpp +0 -0
  1302. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/none.hpp +0 -0
  1303. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/tls.hpp +0 -0
  1304. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/base/connection.hpp +0 -0
  1305. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/base/endpoint.hpp +0 -0
  1306. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/base.hpp +0 -0
  1307. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/connection.hpp +0 -0
  1308. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/endpoint.hpp +0 -0
  1309. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/base.hpp +0 -0
  1310. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/connection.hpp +0 -0
  1311. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/endpoint.hpp +0 -0
  1312. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/base.hpp +0 -0
  1313. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/connection.hpp +0 -0
  1314. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/endpoint.hpp +0 -0
  1315. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/uri.hpp +0 -0
  1316. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/utf8_validator.hpp +0 -0
  1317. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/utilities.hpp +0 -0
  1318. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/version.hpp +0 -0
  1319. data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +8 -0
  1320. data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +6 -0
  1321. data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +12 -0
  1322. data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +5 -0
  1323. data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +21 -0
  1324. data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +13 -0
  1325. data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +3 -0
  1326. data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +4 -0
  1327. data/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb +3 -2
  1328. data/src/ruby_supportlib/phusion_passenger/config/nginx_engine_compiler.rb +3 -2
  1329. data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +8 -1
  1330. data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +6 -0
  1331. data/src/ruby_supportlib/phusion_passenger/packaging.rb +1 -0
  1332. data/src/ruby_supportlib/phusion_passenger/platform_info/binary_compatibility.rb +23 -19
  1333. data/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb +3 -0
  1334. data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/libs.rb +6 -2
  1335. data/src/ruby_supportlib/phusion_passenger/platform_info/openssl.rb +5 -0
  1336. data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +46 -27
  1337. data/src/ruby_supportlib/phusion_passenger/platform_info/pcre.rb +65 -0
  1338. data/src/ruby_supportlib/phusion_passenger/request_handler.rb +4 -1
  1339. data/src/ruby_supportlib/phusion_passenger.rb +7 -7
  1340. metadata +357 -124
  1341. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.cpp +0 -25
  1342. data/src/cxx_supportlib/vendor-modified/boost/bind.hpp +0 -60
  1343. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/c_regex_traits.cpp +0 -206
  1344. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/cpp_regex_traits.cpp +0 -117
  1345. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/cregex.cpp +0 -667
  1346. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/instances.cpp +0 -32
  1347. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex_raw_buffer.cpp +0 -72
  1348. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wc_regex_traits.cpp +0 -314
  1349. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/winstances.cpp +0 -35
  1350. data/src/cxx_supportlib/vendor-modified/boost/math/policies/policy.hpp +0 -1038
  1351. data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/detail/fp_traits.hpp +0 -581
  1352. data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/detail/round_fwd.hpp +0 -93
  1353. data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/fpclassify.hpp +0 -640
  1354. data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/math_fwd.hpp +0 -1712
  1355. data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/sign.hpp +0 -194
  1356. data/src/cxx_supportlib/vendor-modified/boost/math/tools/config.hpp +0 -489
  1357. data/src/cxx_supportlib/vendor-modified/boost/math/tools/promotion.hpp +0 -182
  1358. data/src/cxx_supportlib/vendor-modified/boost/math/tools/real_cast.hpp +0 -31
  1359. data/src/cxx_supportlib/vendor-modified/boost/math/tools/user.hpp +0 -105
  1360. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/fileiter.hpp +0 -557
  1361. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/instances.hpp +0 -236
  1362. data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_posix.hpp +0 -132
  1363. data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp.orig +0 -841
  1364. data/src/cxx_supportlib/vendor-modified/boost/thread/once.hpp.orig +0 -54
@@ -0,0 +1,1180 @@
1
+ /*
2
+ *
3
+ * Copyright (c) 2004
4
+ * John Maddock
5
+ *
6
+ * Use, modification and distribution are subject to the
7
+ * Boost Software License, Version 1.0. (See accompanying file
8
+ * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9
+ *
10
+ */
11
+
12
+ /*
13
+ * LOCATION: see http://www.boost.org for most recent version.
14
+ * FILE w32_regex_traits.hpp
15
+ * VERSION see <boost/version.hpp>
16
+ * DESCRIPTION: Declares regular expression traits class w32_regex_traits.
17
+ */
18
+
19
+ #ifndef BOOST_W32_REGEX_TRAITS_HPP_INCLUDED
20
+ #define BOOST_W32_REGEX_TRAITS_HPP_INCLUDED
21
+
22
+ #ifndef BOOST_REGEX_NO_WIN32_LOCALE
23
+
24
+ #include <boost/regex/pattern_except.hpp>
25
+ #include <boost/regex/v5/regex_traits_defaults.hpp>
26
+ #ifdef BOOST_HAS_THREADS
27
+ #include <mutex>
28
+ #endif
29
+ #include <boost/regex/v5/primary_transform.hpp>
30
+ #include <boost/regex/v5/object_cache.hpp>
31
+
32
+ #ifndef VC_EXTRALEAN
33
+ # define VC_EXTRALEAN
34
+ #endif
35
+ #ifndef WIN32_LEAN_AND_MEAN
36
+ # define WIN32_LEAN_AND_MEAN
37
+ #endif
38
+ #include <windows.h>
39
+
40
+ #if defined(_MSC_VER) && !defined(_WIN32_WCE) && !defined(UNDER_CE)
41
+ #pragma comment(lib, "user32.lib")
42
+ #endif
43
+
44
+ #ifdef BOOST_REGEX_MSVC
45
+ #pragma warning(push)
46
+ #pragma warning(disable:4786)
47
+ #if BOOST_REGEX_MSVC < 1910
48
+ #pragma warning(disable:4800)
49
+ #endif
50
+ #endif
51
+
52
+ namespace boost{
53
+
54
+ //
55
+ // forward declaration is needed by some compilers:
56
+ //
57
+ template <class charT>
58
+ class w32_regex_traits;
59
+
60
+ namespace BOOST_REGEX_DETAIL_NS{
61
+
62
+ //
63
+ // start by typedeffing the types we'll need:
64
+ //
65
+ typedef std::uint32_t lcid_type; // placeholder for LCID.
66
+ typedef std::shared_ptr<void> cat_type; // placeholder for dll HANDLE.
67
+
68
+ //
69
+ // then add wrappers around the actual Win32 API's (ie implementation hiding):
70
+ //
71
+ lcid_type w32_get_default_locale();
72
+ bool w32_is_lower(char, lcid_type);
73
+ #ifndef BOOST_NO_WREGEX
74
+ bool w32_is_lower(wchar_t, lcid_type);
75
+ #endif
76
+ bool w32_is_upper(char, lcid_type);
77
+ #ifndef BOOST_NO_WREGEX
78
+ bool w32_is_upper(wchar_t, lcid_type);
79
+ #endif
80
+ cat_type w32_cat_open(const std::string& name);
81
+ std::string w32_cat_get(const cat_type& cat, lcid_type state_id, int i, const std::string& def);
82
+ #ifndef BOOST_NO_WREGEX
83
+ std::wstring w32_cat_get(const cat_type& cat, lcid_type state_id, int i, const std::wstring& def);
84
+ #endif
85
+ std::string w32_transform(lcid_type state_id, const char* p1, const char* p2);
86
+ #ifndef BOOST_NO_WREGEX
87
+ std::wstring w32_transform(lcid_type state_id, const wchar_t* p1, const wchar_t* p2);
88
+ #endif
89
+ char w32_tolower(char c, lcid_type);
90
+ #ifndef BOOST_NO_WREGEX
91
+ wchar_t w32_tolower(wchar_t c, lcid_type);
92
+ #endif
93
+ char w32_toupper(char c, lcid_type);
94
+ #ifndef BOOST_NO_WREGEX
95
+ wchar_t w32_toupper(wchar_t c, lcid_type);
96
+ #endif
97
+ bool w32_is(lcid_type, std::uint32_t mask, char c);
98
+ #ifndef BOOST_NO_WREGEX
99
+ bool w32_is(lcid_type, std::uint32_t mask, wchar_t c);
100
+ #endif
101
+ //
102
+ // class w32_regex_traits_base:
103
+ // acts as a container for locale and the facets we are using.
104
+ //
105
+ template <class charT>
106
+ struct w32_regex_traits_base
107
+ {
108
+ w32_regex_traits_base(lcid_type l)
109
+ { imbue(l); }
110
+ lcid_type imbue(lcid_type l);
111
+
112
+ lcid_type m_locale;
113
+ };
114
+
115
+ template <class charT>
116
+ inline lcid_type w32_regex_traits_base<charT>::imbue(lcid_type l)
117
+ {
118
+ lcid_type result(m_locale);
119
+ m_locale = l;
120
+ return result;
121
+ }
122
+
123
+ //
124
+ // class w32_regex_traits_char_layer:
125
+ // implements methods that require specialisation for narrow characters:
126
+ //
127
+ template <class charT>
128
+ class w32_regex_traits_char_layer : public w32_regex_traits_base<charT>
129
+ {
130
+ typedef std::basic_string<charT> string_type;
131
+ typedef std::map<charT, regex_constants::syntax_type> map_type;
132
+ typedef typename map_type::const_iterator map_iterator_type;
133
+ public:
134
+ w32_regex_traits_char_layer(const lcid_type l);
135
+
136
+ regex_constants::syntax_type syntax_type(charT c)const
137
+ {
138
+ map_iterator_type i = m_char_map.find(c);
139
+ return ((i == m_char_map.end()) ? 0 : i->second);
140
+ }
141
+ regex_constants::escape_syntax_type escape_syntax_type(charT c) const
142
+ {
143
+ map_iterator_type i = m_char_map.find(c);
144
+ if(i == m_char_map.end())
145
+ {
146
+ if(::boost::BOOST_REGEX_DETAIL_NS::w32_is_lower(c, this->m_locale)) return regex_constants::escape_type_class;
147
+ if(::boost::BOOST_REGEX_DETAIL_NS::w32_is_upper(c, this->m_locale)) return regex_constants::escape_type_not_class;
148
+ return 0;
149
+ }
150
+ return i->second;
151
+ }
152
+ charT tolower(charT c)const
153
+ {
154
+ return ::boost::BOOST_REGEX_DETAIL_NS::w32_tolower(c, this->m_locale);
155
+ }
156
+ bool isctype(std::uint32_t mask, charT c)const
157
+ {
158
+ return ::boost::BOOST_REGEX_DETAIL_NS::w32_is(this->m_locale, mask, c);
159
+ }
160
+
161
+ private:
162
+ string_type get_default_message(regex_constants::syntax_type);
163
+ // TODO: use a hash table when available!
164
+ map_type m_char_map;
165
+ };
166
+
167
+ template <class charT>
168
+ w32_regex_traits_char_layer<charT>::w32_regex_traits_char_layer(::boost::BOOST_REGEX_DETAIL_NS::lcid_type l)
169
+ : w32_regex_traits_base<charT>(l)
170
+ {
171
+ // we need to start by initialising our syntax map so we know which
172
+ // character is used for which purpose:
173
+ cat_type cat;
174
+ std::string cat_name(w32_regex_traits<charT>::get_catalog_name());
175
+ if(cat_name.size())
176
+ {
177
+ cat = ::boost::BOOST_REGEX_DETAIL_NS::w32_cat_open(cat_name);
178
+ if(!cat)
179
+ {
180
+ std::string m("Unable to open message catalog: ");
181
+ std::runtime_error err(m + cat_name);
182
+ boost::BOOST_REGEX_DETAIL_NS::raise_runtime_error(err);
183
+ }
184
+ }
185
+ //
186
+ // if we have a valid catalog then load our messages:
187
+ //
188
+ if(cat)
189
+ {
190
+ for(regex_constants::syntax_type i = 1; i < regex_constants::syntax_max; ++i)
191
+ {
192
+ string_type mss = ::boost::BOOST_REGEX_DETAIL_NS::w32_cat_get(cat, this->m_locale, i, get_default_message(i));
193
+ for(typename string_type::size_type j = 0; j < mss.size(); ++j)
194
+ {
195
+ this->m_char_map[mss[j]] = i;
196
+ }
197
+ }
198
+ }
199
+ else
200
+ {
201
+ for(regex_constants::syntax_type i = 1; i < regex_constants::syntax_max; ++i)
202
+ {
203
+ const char* ptr = get_default_syntax(i);
204
+ while(ptr && *ptr)
205
+ {
206
+ this->m_char_map[static_cast<charT>(*ptr)] = i;
207
+ ++ptr;
208
+ }
209
+ }
210
+ }
211
+ }
212
+
213
+ template <class charT>
214
+ typename w32_regex_traits_char_layer<charT>::string_type
215
+ w32_regex_traits_char_layer<charT>::get_default_message(regex_constants::syntax_type i)
216
+ {
217
+ const char* ptr = get_default_syntax(i);
218
+ string_type result;
219
+ while(ptr && *ptr)
220
+ {
221
+ result.append(1, static_cast<charT>(*ptr));
222
+ ++ptr;
223
+ }
224
+ return result;
225
+ }
226
+
227
+ //
228
+ // specialised version for narrow characters:
229
+ //
230
+ template <>
231
+ class w32_regex_traits_char_layer<char> : public w32_regex_traits_base<char>
232
+ {
233
+ typedef std::string string_type;
234
+ public:
235
+ w32_regex_traits_char_layer(::boost::BOOST_REGEX_DETAIL_NS::lcid_type l)
236
+ : w32_regex_traits_base<char>(l)
237
+ {
238
+ init<char>();
239
+ }
240
+
241
+ regex_constants::syntax_type syntax_type(char c)const
242
+ {
243
+ return m_char_map[static_cast<unsigned char>(c)];
244
+ }
245
+ regex_constants::escape_syntax_type escape_syntax_type(char c) const
246
+ {
247
+ return m_char_map[static_cast<unsigned char>(c)];
248
+ }
249
+ char tolower(char c)const
250
+ {
251
+ return m_lower_map[static_cast<unsigned char>(c)];
252
+ }
253
+ bool isctype(std::uint32_t mask, char c)const
254
+ {
255
+ return m_type_map[static_cast<unsigned char>(c)] & mask;
256
+ }
257
+
258
+ private:
259
+ regex_constants::syntax_type m_char_map[1u << CHAR_BIT];
260
+ char m_lower_map[1u << CHAR_BIT];
261
+ std::uint16_t m_type_map[1u << CHAR_BIT];
262
+ template <class U>
263
+ void init();
264
+ };
265
+
266
+ //
267
+ // class w32_regex_traits_implementation:
268
+ // provides pimpl implementation for w32_regex_traits.
269
+ //
270
+ template <class charT>
271
+ class w32_regex_traits_implementation : public w32_regex_traits_char_layer<charT>
272
+ {
273
+ public:
274
+ typedef typename w32_regex_traits<charT>::char_class_type char_class_type;
275
+ static const char_class_type mask_word = 0x0400; // must be C1_DEFINED << 1
276
+ static const char_class_type mask_unicode = 0x0800; // must be C1_DEFINED << 2
277
+ static const char_class_type mask_horizontal = 0x1000; // must be C1_DEFINED << 3
278
+ static const char_class_type mask_vertical = 0x2000; // must be C1_DEFINED << 4
279
+ static const char_class_type mask_base = 0x3ff; // all the masks used by the CT_CTYPE1 group
280
+
281
+ typedef std::basic_string<charT> string_type;
282
+ typedef charT char_type;
283
+ w32_regex_traits_implementation(::boost::BOOST_REGEX_DETAIL_NS::lcid_type l);
284
+ std::string error_string(regex_constants::error_type n) const
285
+ {
286
+ if(!m_error_strings.empty())
287
+ {
288
+ std::map<int, std::string>::const_iterator p = m_error_strings.find(n);
289
+ return (p == m_error_strings.end()) ? std::string(get_default_error_string(n)) : p->second;
290
+ }
291
+ return get_default_error_string(n);
292
+ }
293
+ char_class_type lookup_classname(const charT* p1, const charT* p2) const
294
+ {
295
+ char_class_type result = lookup_classname_imp(p1, p2);
296
+ if(result == 0)
297
+ {
298
+ typedef typename string_type::size_type size_type;
299
+ string_type temp(p1, p2);
300
+ for(size_type i = 0; i < temp.size(); ++i)
301
+ temp[i] = this->tolower(temp[i]);
302
+ result = lookup_classname_imp(&*temp.begin(), &*temp.begin() + temp.size());
303
+ }
304
+ return result;
305
+ }
306
+ string_type lookup_collatename(const charT* p1, const charT* p2) const;
307
+ string_type transform_primary(const charT* p1, const charT* p2) const;
308
+ string_type transform(const charT* p1, const charT* p2) const
309
+ {
310
+ return ::boost::BOOST_REGEX_DETAIL_NS::w32_transform(this->m_locale, p1, p2);
311
+ }
312
+ private:
313
+ std::map<int, std::string> m_error_strings; // error messages indexed by numberic ID
314
+ std::map<string_type, char_class_type> m_custom_class_names; // character class names
315
+ std::map<string_type, string_type> m_custom_collate_names; // collating element names
316
+ unsigned m_collate_type; // the form of the collation string
317
+ charT m_collate_delim; // the collation group delimiter
318
+ //
319
+ // helpers:
320
+ //
321
+ char_class_type lookup_classname_imp(const charT* p1, const charT* p2) const;
322
+ };
323
+
324
+ template <class charT>
325
+ typename w32_regex_traits_implementation<charT>::string_type
326
+ w32_regex_traits_implementation<charT>::transform_primary(const charT* p1, const charT* p2) const
327
+ {
328
+ string_type result;
329
+ //
330
+ // What we do here depends upon the format of the sort key returned by
331
+ // sort key returned by this->transform:
332
+ //
333
+ switch(m_collate_type)
334
+ {
335
+ case sort_C:
336
+ case sort_unknown:
337
+ // the best we can do is translate to lower case, then get a regular sort key:
338
+ {
339
+ result.assign(p1, p2);
340
+ typedef typename string_type::size_type size_type;
341
+ for(size_type i = 0; i < result.size(); ++i)
342
+ result[i] = this->tolower(result[i]);
343
+ result = this->transform(&*result.begin(), &*result.begin() + result.size());
344
+ break;
345
+ }
346
+ case sort_fixed:
347
+ {
348
+ // get a regular sort key, and then truncate it:
349
+ result.assign(this->transform(p1, p2));
350
+ result.erase(this->m_collate_delim);
351
+ break;
352
+ }
353
+ case sort_delim:
354
+ // get a regular sort key, and then truncate everything after the delim:
355
+ result.assign(this->transform(p1, p2));
356
+ std::size_t i;
357
+ for(i = 0; i < result.size(); ++i)
358
+ {
359
+ if(result[i] == m_collate_delim)
360
+ break;
361
+ }
362
+ result.erase(i);
363
+ break;
364
+ }
365
+ if(result.empty())
366
+ result = string_type(1, charT(0));
367
+ return result;
368
+ }
369
+
370
+ template <class charT>
371
+ typename w32_regex_traits_implementation<charT>::string_type
372
+ w32_regex_traits_implementation<charT>::lookup_collatename(const charT* p1, const charT* p2) const
373
+ {
374
+ typedef typename std::map<string_type, string_type>::const_iterator iter_type;
375
+ if(m_custom_collate_names.size())
376
+ {
377
+ iter_type pos = m_custom_collate_names.find(string_type(p1, p2));
378
+ if(pos != m_custom_collate_names.end())
379
+ return pos->second;
380
+ }
381
+ std::string name(p1, p2);
382
+ name = lookup_default_collate_name(name);
383
+ if(name.size())
384
+ return string_type(name.begin(), name.end());
385
+ if(p2 - p1 == 1)
386
+ return string_type(1, *p1);
387
+ return string_type();
388
+ }
389
+
390
+ template <class charT>
391
+ w32_regex_traits_implementation<charT>::w32_regex_traits_implementation(::boost::BOOST_REGEX_DETAIL_NS::lcid_type l)
392
+ : w32_regex_traits_char_layer<charT>(l)
393
+ {
394
+ cat_type cat;
395
+ std::string cat_name(w32_regex_traits<charT>::get_catalog_name());
396
+ if(cat_name.size())
397
+ {
398
+ cat = ::boost::BOOST_REGEX_DETAIL_NS::w32_cat_open(cat_name);
399
+ if(!cat)
400
+ {
401
+ std::string m("Unable to open message catalog: ");
402
+ std::runtime_error err(m + cat_name);
403
+ boost::BOOST_REGEX_DETAIL_NS::raise_runtime_error(err);
404
+ }
405
+ }
406
+ //
407
+ // if we have a valid catalog then load our messages:
408
+ //
409
+ if(cat)
410
+ {
411
+ //
412
+ // Error messages:
413
+ //
414
+ for(boost::regex_constants::error_type i = static_cast<boost::regex_constants::error_type>(0);
415
+ i <= boost::regex_constants::error_unknown;
416
+ i = static_cast<boost::regex_constants::error_type>(i + 1))
417
+ {
418
+ const char* p = get_default_error_string(i);
419
+ string_type default_message;
420
+ while(*p)
421
+ {
422
+ default_message.append(1, static_cast<charT>(*p));
423
+ ++p;
424
+ }
425
+ string_type s = ::boost::BOOST_REGEX_DETAIL_NS::w32_cat_get(cat, this->m_locale, i+200, default_message);
426
+ std::string result;
427
+ for(std::string::size_type j = 0; j < s.size(); ++j)
428
+ {
429
+ result.append(1, static_cast<char>(s[j]));
430
+ }
431
+ m_error_strings[i] = result;
432
+ }
433
+ //
434
+ // Custom class names:
435
+ //
436
+ static const char_class_type masks[14] =
437
+ {
438
+ 0x0104u, // C1_ALPHA | C1_DIGIT
439
+ 0x0100u, // C1_ALPHA
440
+ 0x0020u, // C1_CNTRL
441
+ 0x0004u, // C1_DIGIT
442
+ (~(0x0020u|0x0008u) & 0x01ffu) | 0x0400u, // not C1_CNTRL or C1_SPACE
443
+ 0x0002u, // C1_LOWER
444
+ (~0x0020u & 0x01ffu) | 0x0400, // not C1_CNTRL
445
+ 0x0010u, // C1_PUNCT
446
+ 0x0008u, // C1_SPACE
447
+ 0x0001u, // C1_UPPER
448
+ 0x0080u, // C1_XDIGIT
449
+ 0x0040u, // C1_BLANK
450
+ w32_regex_traits_implementation<charT>::mask_word,
451
+ w32_regex_traits_implementation<charT>::mask_unicode,
452
+ };
453
+ static const string_type null_string;
454
+ for(unsigned int j = 0; j <= 13; ++j)
455
+ {
456
+ string_type s(::boost::BOOST_REGEX_DETAIL_NS::w32_cat_get(cat, this->m_locale, j+300, null_string));
457
+ if(s.size())
458
+ this->m_custom_class_names[s] = masks[j];
459
+ }
460
+ }
461
+ //
462
+ // get the collation format used by m_pcollate:
463
+ //
464
+ m_collate_type = BOOST_REGEX_DETAIL_NS::find_sort_syntax(this, &m_collate_delim);
465
+ }
466
+
467
+ template <class charT>
468
+ typename w32_regex_traits_implementation<charT>::char_class_type
469
+ w32_regex_traits_implementation<charT>::lookup_classname_imp(const charT* p1, const charT* p2) const
470
+ {
471
+ static const char_class_type masks[22] =
472
+ {
473
+ 0,
474
+ 0x0104u, // C1_ALPHA | C1_DIGIT
475
+ 0x0100u, // C1_ALPHA
476
+ 0x0040u, // C1_BLANK
477
+ 0x0020u, // C1_CNTRL
478
+ 0x0004u, // C1_DIGIT
479
+ 0x0004u, // C1_DIGIT
480
+ (~(0x0020u|0x0008u|0x0040) & 0x01ffu) | 0x0400u, // not C1_CNTRL or C1_SPACE or C1_BLANK
481
+ w32_regex_traits_implementation<charT>::mask_horizontal,
482
+ 0x0002u, // C1_LOWER
483
+ 0x0002u, // C1_LOWER
484
+ (~0x0020u & 0x01ffu) | 0x0400, // not C1_CNTRL
485
+ 0x0010u, // C1_PUNCT
486
+ 0x0008u, // C1_SPACE
487
+ 0x0008u, // C1_SPACE
488
+ 0x0001u, // C1_UPPER
489
+ w32_regex_traits_implementation<charT>::mask_unicode,
490
+ 0x0001u, // C1_UPPER
491
+ w32_regex_traits_implementation<charT>::mask_vertical,
492
+ 0x0104u | w32_regex_traits_implementation<charT>::mask_word,
493
+ 0x0104u | w32_regex_traits_implementation<charT>::mask_word,
494
+ 0x0080u, // C1_XDIGIT
495
+ };
496
+ if(m_custom_class_names.size())
497
+ {
498
+ typedef typename std::map<std::basic_string<charT>, char_class_type>::const_iterator map_iter;
499
+ map_iter pos = m_custom_class_names.find(string_type(p1, p2));
500
+ if(pos != m_custom_class_names.end())
501
+ return pos->second;
502
+ }
503
+ std::size_t state_id = 1u + (std::size_t)BOOST_REGEX_DETAIL_NS::get_default_class_id(p1, p2);
504
+ if(state_id < sizeof(masks) / sizeof(masks[0]))
505
+ return masks[state_id];
506
+ return masks[0];
507
+ }
508
+
509
+
510
+ template <class charT>
511
+ std::shared_ptr<const w32_regex_traits_implementation<charT> > create_w32_regex_traits(::boost::BOOST_REGEX_DETAIL_NS::lcid_type l)
512
+ {
513
+ // TODO: create a cache for previously constructed objects.
514
+ return boost::object_cache< ::boost::BOOST_REGEX_DETAIL_NS::lcid_type, w32_regex_traits_implementation<charT> >::get(l, 5);
515
+ }
516
+
517
+ } // BOOST_REGEX_DETAIL_NS
518
+
519
+ template <class charT>
520
+ class w32_regex_traits
521
+ {
522
+ public:
523
+ typedef charT char_type;
524
+ typedef std::size_t size_type;
525
+ typedef std::basic_string<char_type> string_type;
526
+ typedef ::boost::BOOST_REGEX_DETAIL_NS::lcid_type locale_type;
527
+ typedef std::uint_least32_t char_class_type;
528
+
529
+ struct boost_extensions_tag{};
530
+
531
+ w32_regex_traits()
532
+ : m_pimpl(BOOST_REGEX_DETAIL_NS::create_w32_regex_traits<charT>(::boost::BOOST_REGEX_DETAIL_NS::w32_get_default_locale()))
533
+ { }
534
+ static size_type length(const char_type* p)
535
+ {
536
+ return std::char_traits<charT>::length(p);
537
+ }
538
+ regex_constants::syntax_type syntax_type(charT c)const
539
+ {
540
+ return m_pimpl->syntax_type(c);
541
+ }
542
+ regex_constants::escape_syntax_type escape_syntax_type(charT c) const
543
+ {
544
+ return m_pimpl->escape_syntax_type(c);
545
+ }
546
+ charT translate(charT c) const
547
+ {
548
+ return c;
549
+ }
550
+ charT translate_nocase(charT c) const
551
+ {
552
+ return this->m_pimpl->tolower(c);
553
+ }
554
+ charT translate(charT c, bool icase) const
555
+ {
556
+ return icase ? this->m_pimpl->tolower(c) : c;
557
+ }
558
+ charT tolower(charT c) const
559
+ {
560
+ return this->m_pimpl->tolower(c);
561
+ }
562
+ charT toupper(charT c) const
563
+ {
564
+ return ::boost::BOOST_REGEX_DETAIL_NS::w32_toupper(c, this->m_pimpl->m_locale);
565
+ }
566
+ string_type transform(const charT* p1, const charT* p2) const
567
+ {
568
+ return ::boost::BOOST_REGEX_DETAIL_NS::w32_transform(this->m_pimpl->m_locale, p1, p2);
569
+ }
570
+ string_type transform_primary(const charT* p1, const charT* p2) const
571
+ {
572
+ return m_pimpl->transform_primary(p1, p2);
573
+ }
574
+ char_class_type lookup_classname(const charT* p1, const charT* p2) const
575
+ {
576
+ return m_pimpl->lookup_classname(p1, p2);
577
+ }
578
+ string_type lookup_collatename(const charT* p1, const charT* p2) const
579
+ {
580
+ return m_pimpl->lookup_collatename(p1, p2);
581
+ }
582
+ bool isctype(charT c, char_class_type f) const
583
+ {
584
+ if((f & BOOST_REGEX_DETAIL_NS::w32_regex_traits_implementation<charT>::mask_base)
585
+ && (this->m_pimpl->isctype(f & BOOST_REGEX_DETAIL_NS::w32_regex_traits_implementation<charT>::mask_base, c)))
586
+ return true;
587
+ else if((f & BOOST_REGEX_DETAIL_NS::w32_regex_traits_implementation<charT>::mask_unicode) && BOOST_REGEX_DETAIL_NS::is_extended(c))
588
+ return true;
589
+ else if((f & BOOST_REGEX_DETAIL_NS::w32_regex_traits_implementation<charT>::mask_word) && (c == '_'))
590
+ return true;
591
+ else if((f & BOOST_REGEX_DETAIL_NS::w32_regex_traits_implementation<charT>::mask_vertical)
592
+ && (::boost::BOOST_REGEX_DETAIL_NS::is_separator(c) || (c == '\v')))
593
+ return true;
594
+ else if((f & BOOST_REGEX_DETAIL_NS::w32_regex_traits_implementation<charT>::mask_horizontal)
595
+ && this->isctype(c, 0x0008u) && !this->isctype(c, BOOST_REGEX_DETAIL_NS::w32_regex_traits_implementation<charT>::mask_vertical))
596
+ return true;
597
+ return false;
598
+ }
599
+ std::intmax_t toi(const charT*& p1, const charT* p2, int radix)const
600
+ {
601
+ return ::boost::BOOST_REGEX_DETAIL_NS::global_toi(p1, p2, radix, *this);
602
+ }
603
+ int value(charT c, int radix)const
604
+ {
605
+ int result = (int)::boost::BOOST_REGEX_DETAIL_NS::global_value(c);
606
+ return result < radix ? result : -1;
607
+ }
608
+ locale_type imbue(locale_type l)
609
+ {
610
+ ::boost::BOOST_REGEX_DETAIL_NS::lcid_type result(getloc());
611
+ m_pimpl = BOOST_REGEX_DETAIL_NS::create_w32_regex_traits<charT>(l);
612
+ return result;
613
+ }
614
+ locale_type getloc()const
615
+ {
616
+ return m_pimpl->m_locale;
617
+ }
618
+ std::string error_string(regex_constants::error_type n) const
619
+ {
620
+ return m_pimpl->error_string(n);
621
+ }
622
+
623
+ //
624
+ // extension:
625
+ // set the name of the message catalog in use (defaults to "boost_regex").
626
+ //
627
+ static std::string catalog_name(const std::string& name);
628
+ static std::string get_catalog_name();
629
+
630
+ private:
631
+ std::shared_ptr<const BOOST_REGEX_DETAIL_NS::w32_regex_traits_implementation<charT> > m_pimpl;
632
+ //
633
+ // catalog name handler:
634
+ //
635
+ static std::string& get_catalog_name_inst();
636
+
637
+ #ifdef BOOST_HAS_THREADS
638
+ static std::mutex& get_mutex_inst();
639
+ #endif
640
+ };
641
+
642
+ template <class charT>
643
+ std::string w32_regex_traits<charT>::catalog_name(const std::string& name)
644
+ {
645
+ #ifdef BOOST_HAS_THREADS
646
+ std::lock_guard<std::mutex> lk(get_mutex_inst());
647
+ #endif
648
+ std::string result(get_catalog_name_inst());
649
+ get_catalog_name_inst() = name;
650
+ return result;
651
+ }
652
+
653
+ template <class charT>
654
+ std::string& w32_regex_traits<charT>::get_catalog_name_inst()
655
+ {
656
+ static std::string s_name;
657
+ return s_name;
658
+ }
659
+
660
+ template <class charT>
661
+ std::string w32_regex_traits<charT>::get_catalog_name()
662
+ {
663
+ #ifdef BOOST_HAS_THREADS
664
+ std::lock_guard<std::mutex> lk(get_mutex_inst());
665
+ #endif
666
+ std::string result(get_catalog_name_inst());
667
+ return result;
668
+ }
669
+
670
+ #ifdef BOOST_HAS_THREADS
671
+ template <class charT>
672
+ std::mutex& w32_regex_traits<charT>::get_mutex_inst()
673
+ {
674
+ static std::mutex s_mutex;
675
+ return s_mutex;
676
+ }
677
+ #endif
678
+
679
+ namespace BOOST_REGEX_DETAIL_NS {
680
+
681
+ #ifdef BOOST_NO_ANSI_APIS
682
+ inline UINT get_code_page_for_locale_id(lcid_type idx)
683
+ {
684
+ WCHAR code_page_string[7];
685
+ if (::GetLocaleInfoW(idx, LOCALE_IDEFAULTANSICODEPAGE, code_page_string, 7) == 0)
686
+ return 0;
687
+
688
+ return static_cast<UINT>(_wtol(code_page_string));
689
+ }
690
+ #endif
691
+
692
+ template <class U>
693
+ inline void w32_regex_traits_char_layer<char>::init()
694
+ {
695
+ // we need to start by initialising our syntax map so we know which
696
+ // character is used for which purpose:
697
+ std::memset(m_char_map, 0, sizeof(m_char_map));
698
+ cat_type cat;
699
+ std::string cat_name(w32_regex_traits<char>::get_catalog_name());
700
+ if (cat_name.size())
701
+ {
702
+ cat = ::boost::BOOST_REGEX_DETAIL_NS::w32_cat_open(cat_name);
703
+ if (!cat)
704
+ {
705
+ std::string m("Unable to open message catalog: ");
706
+ std::runtime_error err(m + cat_name);
707
+ ::boost::BOOST_REGEX_DETAIL_NS::raise_runtime_error(err);
708
+ }
709
+ }
710
+ //
711
+ // if we have a valid catalog then load our messages:
712
+ //
713
+ if (cat)
714
+ {
715
+ for (regex_constants::syntax_type i = 1; i < regex_constants::syntax_max; ++i)
716
+ {
717
+ string_type mss = ::boost::BOOST_REGEX_DETAIL_NS::w32_cat_get(cat, this->m_locale, i, get_default_syntax(i));
718
+ for (string_type::size_type j = 0; j < mss.size(); ++j)
719
+ {
720
+ m_char_map[static_cast<unsigned char>(mss[j])] = i;
721
+ }
722
+ }
723
+ }
724
+ else
725
+ {
726
+ for (regex_constants::syntax_type i = 1; i < regex_constants::syntax_max; ++i)
727
+ {
728
+ const char* ptr = get_default_syntax(i);
729
+ while (ptr && *ptr)
730
+ {
731
+ m_char_map[static_cast<unsigned char>(*ptr)] = i;
732
+ ++ptr;
733
+ }
734
+ }
735
+ }
736
+ //
737
+ // finish off by calculating our escape types:
738
+ //
739
+ unsigned char i = 'A';
740
+ do
741
+ {
742
+ if (m_char_map[i] == 0)
743
+ {
744
+ if (::boost::BOOST_REGEX_DETAIL_NS::w32_is(this->m_locale, 0x0002u, (char)i))
745
+ m_char_map[i] = regex_constants::escape_type_class;
746
+ else if (::boost::BOOST_REGEX_DETAIL_NS::w32_is(this->m_locale, 0x0001u, (char)i))
747
+ m_char_map[i] = regex_constants::escape_type_not_class;
748
+ }
749
+ } while (0xFF != i++);
750
+
751
+ //
752
+ // fill in lower case map:
753
+ //
754
+ char char_map[1 << CHAR_BIT];
755
+ for (int ii = 0; ii < (1 << CHAR_BIT); ++ii)
756
+ char_map[ii] = static_cast<char>(ii);
757
+ #ifndef BOOST_NO_ANSI_APIS
758
+ int r = ::LCMapStringA(this->m_locale, LCMAP_LOWERCASE, char_map, 1 << CHAR_BIT, this->m_lower_map, 1 << CHAR_BIT);
759
+ BOOST_REGEX_ASSERT(r != 0);
760
+ #else
761
+ UINT code_page = get_code_page_for_locale_id(this->m_locale);
762
+ BOOST_REGEX_ASSERT(code_page != 0);
763
+
764
+ WCHAR wide_char_map[1 << CHAR_BIT];
765
+ int conv_r = ::MultiByteToWideChar(code_page, 0, char_map, 1 << CHAR_BIT, wide_char_map, 1 << CHAR_BIT);
766
+ BOOST_REGEX_ASSERT(conv_r != 0);
767
+
768
+ WCHAR wide_lower_map[1 << CHAR_BIT];
769
+ int r = ::LCMapStringW(this->m_locale, LCMAP_LOWERCASE, wide_char_map, 1 << CHAR_BIT, wide_lower_map, 1 << CHAR_BIT);
770
+ BOOST_REGEX_ASSERT(r != 0);
771
+
772
+ conv_r = ::WideCharToMultiByte(code_page, 0, wide_lower_map, r, this->m_lower_map, 1 << CHAR_BIT, NULL, NULL);
773
+ BOOST_REGEX_ASSERT(conv_r != 0);
774
+ #endif
775
+ if (r < (1 << CHAR_BIT))
776
+ {
777
+ // if we have multibyte characters then not all may have been given
778
+ // a lower case mapping:
779
+ for (int jj = r; jj < (1 << CHAR_BIT); ++jj)
780
+ this->m_lower_map[jj] = static_cast<char>(jj);
781
+ }
782
+
783
+ #ifndef BOOST_NO_ANSI_APIS
784
+ r = ::GetStringTypeExA(this->m_locale, CT_CTYPE1, char_map, 1 << CHAR_BIT, this->m_type_map);
785
+ #else
786
+ r = ::GetStringTypeExW(this->m_locale, CT_CTYPE1, wide_char_map, 1 << CHAR_BIT, this->m_type_map);
787
+ #endif
788
+ BOOST_REGEX_ASSERT(0 != r);
789
+ }
790
+
791
+ inline lcid_type w32_get_default_locale()
792
+ {
793
+ return ::GetUserDefaultLCID();
794
+ }
795
+
796
+ inline bool w32_is_lower(char c, lcid_type idx)
797
+ {
798
+ #ifndef BOOST_NO_ANSI_APIS
799
+ WORD mask;
800
+ if (::GetStringTypeExA(idx, CT_CTYPE1, &c, 1, &mask) && (mask & C1_LOWER))
801
+ return true;
802
+ return false;
803
+ #else
804
+ UINT code_page = get_code_page_for_locale_id(idx);
805
+ if (code_page == 0)
806
+ return false;
807
+
808
+ WCHAR wide_c;
809
+ if (::MultiByteToWideChar(code_page, 0, &c, 1, &wide_c, 1) == 0)
810
+ return false;
811
+
812
+ WORD mask;
813
+ if (::GetStringTypeExW(idx, CT_CTYPE1, &wide_c, 1, &mask) && (mask & C1_LOWER))
814
+ return true;
815
+ return false;
816
+ #endif
817
+ }
818
+
819
+ inline bool w32_is_lower(wchar_t c, lcid_type idx)
820
+ {
821
+ WORD mask;
822
+ if (::GetStringTypeExW(idx, CT_CTYPE1, &c, 1, &mask) && (mask & C1_LOWER))
823
+ return true;
824
+ return false;
825
+ }
826
+
827
+ inline bool w32_is_upper(char c, lcid_type idx)
828
+ {
829
+ #ifndef BOOST_NO_ANSI_APIS
830
+ WORD mask;
831
+ if (::GetStringTypeExA(idx, CT_CTYPE1, &c, 1, &mask) && (mask & C1_UPPER))
832
+ return true;
833
+ return false;
834
+ #else
835
+ UINT code_page = get_code_page_for_locale_id(idx);
836
+ if (code_page == 0)
837
+ return false;
838
+
839
+ WCHAR wide_c;
840
+ if (::MultiByteToWideChar(code_page, 0, &c, 1, &wide_c, 1) == 0)
841
+ return false;
842
+
843
+ WORD mask;
844
+ if (::GetStringTypeExW(idx, CT_CTYPE1, &wide_c, 1, &mask) && (mask & C1_UPPER))
845
+ return true;
846
+ return false;
847
+ #endif
848
+ }
849
+
850
+ inline bool w32_is_upper(wchar_t c, lcid_type idx)
851
+ {
852
+ WORD mask;
853
+ if (::GetStringTypeExW(idx, CT_CTYPE1, &c, 1, &mask) && (mask & C1_UPPER))
854
+ return true;
855
+ return false;
856
+ }
857
+
858
+ inline void free_module(void* mod)
859
+ {
860
+ ::FreeLibrary(static_cast<HMODULE>(mod));
861
+ }
862
+
863
+ inline cat_type w32_cat_open(const std::string& name)
864
+ {
865
+ #ifndef BOOST_NO_ANSI_APIS
866
+ cat_type result(::LoadLibraryA(name.c_str()), &free_module);
867
+ return result;
868
+ #else
869
+ LPWSTR wide_name = (LPWSTR)_alloca((name.size() + 1) * sizeof(WCHAR));
870
+ if (::MultiByteToWideChar(CP_ACP, 0, name.c_str(), name.size(), wide_name, name.size() + 1) == 0)
871
+ return cat_type();
872
+
873
+ cat_type result(::LoadLibraryW(wide_name), &free_module);
874
+ return result;
875
+ #endif
876
+ }
877
+
878
+ inline std::string w32_cat_get(const cat_type& cat, lcid_type, int i, const std::string& def)
879
+ {
880
+ #ifndef BOOST_NO_ANSI_APIS
881
+ char buf[256];
882
+ if (0 == ::LoadStringA(
883
+ static_cast<HMODULE>(cat.get()),
884
+ i,
885
+ buf,
886
+ 256
887
+ ))
888
+ {
889
+ return def;
890
+ }
891
+ #else
892
+ WCHAR wbuf[256];
893
+ int r = ::LoadStringW(
894
+ static_cast<HMODULE>(cat.get()),
895
+ i,
896
+ wbuf,
897
+ 256
898
+ );
899
+ if (r == 0)
900
+ return def;
901
+
902
+
903
+ int buf_size = 1 + ::WideCharToMultiByte(CP_ACP, 0, wbuf, r, NULL, 0, NULL, NULL);
904
+ LPSTR buf = (LPSTR)_alloca(buf_size);
905
+ if (::WideCharToMultiByte(CP_ACP, 0, wbuf, r, buf, buf_size, NULL, NULL) == 0)
906
+ return def; // failed conversion.
907
+ #endif
908
+ return std::string(buf);
909
+ }
910
+
911
+ #ifndef BOOST_NO_WREGEX
912
+ inline std::wstring w32_cat_get(const cat_type& cat, lcid_type, int i, const std::wstring& def)
913
+ {
914
+ wchar_t buf[256];
915
+ if (0 == ::LoadStringW(
916
+ static_cast<HMODULE>(cat.get()),
917
+ i,
918
+ buf,
919
+ 256
920
+ ))
921
+ {
922
+ return def;
923
+ }
924
+ return std::wstring(buf);
925
+ }
926
+ #endif
927
+ inline std::string w32_transform(lcid_type idx, const char* p1, const char* p2)
928
+ {
929
+ #ifndef BOOST_NO_ANSI_APIS
930
+ int bytes = ::LCMapStringA(
931
+ idx, // locale identifier
932
+ LCMAP_SORTKEY, // mapping transformation type
933
+ p1, // source string
934
+ static_cast<int>(p2 - p1), // number of characters in source string
935
+ 0, // destination buffer
936
+ 0 // size of destination buffer
937
+ );
938
+ if (!bytes)
939
+ return std::string(p1, p2);
940
+ std::string result(++bytes, '\0');
941
+ bytes = ::LCMapStringA(
942
+ idx, // locale identifier
943
+ LCMAP_SORTKEY, // mapping transformation type
944
+ p1, // source string
945
+ static_cast<int>(p2 - p1), // number of characters in source string
946
+ &*result.begin(), // destination buffer
947
+ bytes // size of destination buffer
948
+ );
949
+ #else
950
+ UINT code_page = get_code_page_for_locale_id(idx);
951
+ if (code_page == 0)
952
+ return std::string(p1, p2);
953
+
954
+ int src_len = static_cast<int>(p2 - p1);
955
+ LPWSTR wide_p1 = (LPWSTR)_alloca((src_len + 1) * 2);
956
+ if (::MultiByteToWideChar(code_page, 0, p1, src_len, wide_p1, src_len + 1) == 0)
957
+ return std::string(p1, p2);
958
+
959
+ int bytes = ::LCMapStringW(
960
+ idx, // locale identifier
961
+ LCMAP_SORTKEY, // mapping transformation type
962
+ wide_p1, // source string
963
+ src_len, // number of characters in source string
964
+ 0, // destination buffer
965
+ 0 // size of destination buffer
966
+ );
967
+ if (!bytes)
968
+ return std::string(p1, p2);
969
+ std::string result(++bytes, '\0');
970
+ bytes = ::LCMapStringW(
971
+ idx, // locale identifier
972
+ LCMAP_SORTKEY, // mapping transformation type
973
+ wide_p1, // source string
974
+ src_len, // number of characters in source string
975
+ (LPWSTR) & *result.begin(), // destination buffer
976
+ bytes // size of destination buffer
977
+ );
978
+ #endif
979
+ if (bytes > static_cast<int>(result.size()))
980
+ return std::string(p1, p2);
981
+ while (result.size() && result[result.size() - 1] == '\0')
982
+ {
983
+ result.erase(result.size() - 1);
984
+ }
985
+ return result;
986
+ }
987
+
988
+ #ifndef BOOST_NO_WREGEX
989
+ inline std::wstring w32_transform(lcid_type idx, const wchar_t* p1, const wchar_t* p2)
990
+ {
991
+ int bytes = ::LCMapStringW(
992
+ idx, // locale identifier
993
+ LCMAP_SORTKEY, // mapping transformation type
994
+ p1, // source string
995
+ static_cast<int>(p2 - p1), // number of characters in source string
996
+ 0, // destination buffer
997
+ 0 // size of destination buffer
998
+ );
999
+ if (!bytes)
1000
+ return std::wstring(p1, p2);
1001
+ std::string result(++bytes, '\0');
1002
+ bytes = ::LCMapStringW(
1003
+ idx, // locale identifier
1004
+ LCMAP_SORTKEY, // mapping transformation type
1005
+ p1, // source string
1006
+ static_cast<int>(p2 - p1), // number of characters in source string
1007
+ reinterpret_cast<wchar_t*>(&*result.begin()), // destination buffer *of bytes*
1008
+ bytes // size of destination buffer
1009
+ );
1010
+ if (bytes > static_cast<int>(result.size()))
1011
+ return std::wstring(p1, p2);
1012
+ while (result.size() && result[result.size() - 1] == L'\0')
1013
+ {
1014
+ result.erase(result.size() - 1);
1015
+ }
1016
+ std::wstring r2;
1017
+ for (std::string::size_type i = 0; i < result.size(); ++i)
1018
+ r2.append(1, static_cast<wchar_t>(static_cast<unsigned char>(result[i])));
1019
+ return r2;
1020
+ }
1021
+ #endif
1022
+ inline char w32_tolower(char c, lcid_type idx)
1023
+ {
1024
+ char result[2];
1025
+ #ifndef BOOST_NO_ANSI_APIS
1026
+ int b = ::LCMapStringA(
1027
+ idx, // locale identifier
1028
+ LCMAP_LOWERCASE, // mapping transformation type
1029
+ &c, // source string
1030
+ 1, // number of characters in source string
1031
+ result, // destination buffer
1032
+ 1); // size of destination buffer
1033
+ if (b == 0)
1034
+ return c;
1035
+ #else
1036
+ UINT code_page = get_code_page_for_locale_id(idx);
1037
+ if (code_page == 0)
1038
+ return c;
1039
+
1040
+ WCHAR wide_c;
1041
+ if (::MultiByteToWideChar(code_page, 0, &c, 1, &wide_c, 1) == 0)
1042
+ return c;
1043
+
1044
+ WCHAR wide_result;
1045
+ int b = ::LCMapStringW(
1046
+ idx, // locale identifier
1047
+ LCMAP_LOWERCASE, // mapping transformation type
1048
+ &wide_c, // source string
1049
+ 1, // number of characters in source string
1050
+ &wide_result, // destination buffer
1051
+ 1); // size of destination buffer
1052
+ if (b == 0)
1053
+ return c;
1054
+
1055
+ if (::WideCharToMultiByte(code_page, 0, &wide_result, 1, result, 2, NULL, NULL) == 0)
1056
+ return c; // No single byte lower case equivalent available
1057
+ #endif
1058
+ return result[0];
1059
+ }
1060
+
1061
+ #ifndef BOOST_NO_WREGEX
1062
+ inline wchar_t w32_tolower(wchar_t c, lcid_type idx)
1063
+ {
1064
+ wchar_t result[2];
1065
+ int b = ::LCMapStringW(
1066
+ idx, // locale identifier
1067
+ LCMAP_LOWERCASE, // mapping transformation type
1068
+ &c, // source string
1069
+ 1, // number of characters in source string
1070
+ result, // destination buffer
1071
+ 1); // size of destination buffer
1072
+ if (b == 0)
1073
+ return c;
1074
+ return result[0];
1075
+ }
1076
+ #endif
1077
+ inline char w32_toupper(char c, lcid_type idx)
1078
+ {
1079
+ char result[2];
1080
+ #ifndef BOOST_NO_ANSI_APIS
1081
+ int b = ::LCMapStringA(
1082
+ idx, // locale identifier
1083
+ LCMAP_UPPERCASE, // mapping transformation type
1084
+ &c, // source string
1085
+ 1, // number of characters in source string
1086
+ result, // destination buffer
1087
+ 1); // size of destination buffer
1088
+ if (b == 0)
1089
+ return c;
1090
+ #else
1091
+ UINT code_page = get_code_page_for_locale_id(idx);
1092
+ if (code_page == 0)
1093
+ return c;
1094
+
1095
+ WCHAR wide_c;
1096
+ if (::MultiByteToWideChar(code_page, 0, &c, 1, &wide_c, 1) == 0)
1097
+ return c;
1098
+
1099
+ WCHAR wide_result;
1100
+ int b = ::LCMapStringW(
1101
+ idx, // locale identifier
1102
+ LCMAP_UPPERCASE, // mapping transformation type
1103
+ &wide_c, // source string
1104
+ 1, // number of characters in source string
1105
+ &wide_result, // destination buffer
1106
+ 1); // size of destination buffer
1107
+ if (b == 0)
1108
+ return c;
1109
+
1110
+ if (::WideCharToMultiByte(code_page, 0, &wide_result, 1, result, 2, NULL, NULL) == 0)
1111
+ return c; // No single byte upper case equivalent available.
1112
+ #endif
1113
+ return result[0];
1114
+ }
1115
+
1116
+ #ifndef BOOST_NO_WREGEX
1117
+ inline wchar_t w32_toupper(wchar_t c, lcid_type idx)
1118
+ {
1119
+ wchar_t result[2];
1120
+ int b = ::LCMapStringW(
1121
+ idx, // locale identifier
1122
+ LCMAP_UPPERCASE, // mapping transformation type
1123
+ &c, // source string
1124
+ 1, // number of characters in source string
1125
+ result, // destination buffer
1126
+ 1); // size of destination buffer
1127
+ if (b == 0)
1128
+ return c;
1129
+ return result[0];
1130
+ }
1131
+ #endif
1132
+ inline bool w32_is(lcid_type idx, std::uint32_t m, char c)
1133
+ {
1134
+ WORD mask;
1135
+ #ifndef BOOST_NO_ANSI_APIS
1136
+ if (::GetStringTypeExA(idx, CT_CTYPE1, &c, 1, &mask) && (mask & m & w32_regex_traits_implementation<char>::mask_base))
1137
+ return true;
1138
+ #else
1139
+ UINT code_page = get_code_page_for_locale_id(idx);
1140
+ if (code_page == 0)
1141
+ return false;
1142
+
1143
+ WCHAR wide_c;
1144
+ if (::MultiByteToWideChar(code_page, 0, &c, 1, &wide_c, 1) == 0)
1145
+ return false;
1146
+
1147
+ if (::GetStringTypeExW(idx, CT_CTYPE1, &wide_c, 1, &mask) && (mask & m & w32_regex_traits_implementation<char>::mask_base))
1148
+ return true;
1149
+ #endif
1150
+ if ((m & w32_regex_traits_implementation<char>::mask_word) && (c == '_'))
1151
+ return true;
1152
+ return false;
1153
+ }
1154
+
1155
+ #ifndef BOOST_NO_WREGEX
1156
+ inline bool w32_is(lcid_type idx, std::uint32_t m, wchar_t c)
1157
+ {
1158
+ WORD mask;
1159
+ if (::GetStringTypeExW(idx, CT_CTYPE1, &c, 1, &mask) && (mask & m & w32_regex_traits_implementation<wchar_t>::mask_base))
1160
+ return true;
1161
+ if ((m & w32_regex_traits_implementation<wchar_t>::mask_word) && (c == '_'))
1162
+ return true;
1163
+ if ((m & w32_regex_traits_implementation<wchar_t>::mask_unicode) && (c > 0xff))
1164
+ return true;
1165
+ return false;
1166
+ }
1167
+ #endif
1168
+
1169
+ } // BOOST_REGEX_DETAIL_NS
1170
+
1171
+
1172
+ } // boost
1173
+
1174
+ #ifdef BOOST_REGEX_MSVC
1175
+ #pragma warning(pop)
1176
+ #endif
1177
+
1178
+ #endif // BOOST_REGEX_NO_WIN32_LOCALE
1179
+
1180
+ #endif