couchbase 3.0.0-universal-darwin-19 → 3.0.1-universal-darwin-19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (902) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/ext/CMakeLists.txt +86 -169
  4. data/ext/build_version.hxx.in +3 -2
  5. data/ext/cmake/Backtrace.cmake +35 -0
  6. data/ext/cmake/BuildTracing.cmake +6 -0
  7. data/ext/cmake/Cache.cmake +29 -0
  8. data/ext/cmake/CompilerWarnings.cmake +78 -0
  9. data/ext/cmake/PreventInSourceBuilds.cmake +18 -0
  10. data/ext/cmake/Sanitizers.cmake +66 -0
  11. data/ext/cmake/StandardProjectSettings.cmake +40 -0
  12. data/ext/cmake/StaticAnalyzers.cmake +37 -0
  13. data/ext/cmake/Testing.cmake +52 -0
  14. data/ext/cmake/ThirdPartyDependencies.cmake +20 -0
  15. data/ext/cmake/VersionInfo.cmake +37 -0
  16. data/ext/couchbase/bucket.hxx +37 -12
  17. data/ext/couchbase/capabilities.hxx +117 -0
  18. data/ext/couchbase/cbcrypto/cbcrypto.cc +15 -15
  19. data/ext/couchbase/cluster.hxx +34 -2
  20. data/ext/couchbase/cluster_options.hxx +1 -0
  21. data/ext/couchbase/configuration.hxx +228 -52
  22. data/ext/couchbase/couchbase.cxx +914 -35
  23. data/ext/couchbase/diagnostics.hxx +251 -0
  24. data/ext/couchbase/document_id.hxx +3 -1
  25. data/ext/couchbase/errors.hxx +10 -1
  26. data/ext/couchbase/io/http_command.hxx +11 -7
  27. data/ext/couchbase/io/http_context.hxx +37 -0
  28. data/ext/couchbase/io/http_message.hxx +9 -0
  29. data/ext/couchbase/io/http_parser.hxx +2 -0
  30. data/ext/couchbase/io/http_session.hxx +100 -14
  31. data/ext/couchbase/io/http_session_manager.hxx +65 -5
  32. data/ext/couchbase/io/mcbp_command.hxx +16 -7
  33. data/ext/couchbase/io/mcbp_session.hxx +193 -51
  34. data/ext/couchbase/io/query_cache.hxx +61 -0
  35. data/ext/couchbase/io/retry_context.hxx +1 -2
  36. data/ext/couchbase/io/retry_orchestrator.hxx +16 -0
  37. data/ext/couchbase/io/retry_strategy.hxx +1 -1
  38. data/ext/couchbase/io/streams.hxx +61 -10
  39. data/ext/couchbase/operations.hxx +13 -0
  40. data/ext/couchbase/operations/analytics_dataset_create.hxx +1 -1
  41. data/ext/couchbase/operations/analytics_dataset_drop.hxx +1 -1
  42. data/ext/couchbase/operations/analytics_dataset_get_all.hxx +1 -1
  43. data/ext/couchbase/operations/analytics_dataverse_create.hxx +1 -1
  44. data/ext/couchbase/operations/analytics_dataverse_drop.hxx +1 -1
  45. data/ext/couchbase/operations/analytics_get_pending_mutations.hxx +1 -1
  46. data/ext/couchbase/operations/analytics_index_create.hxx +1 -1
  47. data/ext/couchbase/operations/analytics_index_drop.hxx +1 -1
  48. data/ext/couchbase/operations/analytics_index_get_all.hxx +1 -1
  49. data/ext/couchbase/operations/analytics_link_connect.hxx +1 -1
  50. data/ext/couchbase/operations/analytics_link_disconnect.hxx +1 -1
  51. data/ext/couchbase/operations/bucket_create.hxx +11 -5
  52. data/ext/couchbase/operations/bucket_drop.hxx +1 -1
  53. data/ext/couchbase/operations/bucket_flush.hxx +1 -1
  54. data/ext/couchbase/operations/bucket_get.hxx +1 -1
  55. data/ext/couchbase/operations/bucket_get_all.hxx +1 -1
  56. data/ext/couchbase/operations/bucket_settings.hxx +43 -4
  57. data/ext/couchbase/operations/bucket_update.hxx +11 -5
  58. data/ext/couchbase/operations/cluster_developer_preview_enable.hxx +1 -1
  59. data/ext/couchbase/operations/collection_create.hxx +3 -1
  60. data/ext/couchbase/operations/collection_drop.hxx +1 -1
  61. data/ext/couchbase/operations/collections_manifest_get.hxx +70 -0
  62. data/ext/couchbase/operations/document_analytics.hxx +6 -1
  63. data/ext/couchbase/operations/document_get_projected.hxx +1 -1
  64. data/ext/couchbase/operations/document_query.hxx +85 -8
  65. data/ext/couchbase/operations/document_search.hxx +14 -4
  66. data/ext/couchbase/operations/document_view.hxx +1 -1
  67. data/ext/couchbase/operations/group_drop.hxx +71 -0
  68. data/ext/couchbase/operations/group_get.hxx +75 -0
  69. data/ext/couchbase/operations/group_get_all.hxx +70 -0
  70. data/ext/couchbase/operations/group_upsert.hxx +118 -0
  71. data/ext/couchbase/operations/query_index_build_deferred.hxx +1 -1
  72. data/ext/couchbase/operations/query_index_create.hxx +1 -1
  73. data/ext/couchbase/operations/query_index_drop.hxx +1 -1
  74. data/ext/couchbase/operations/query_index_get_all.hxx +3 -2
  75. data/ext/couchbase/operations/rbac.hxx +276 -0
  76. data/ext/couchbase/operations/role_get_all.hxx +70 -0
  77. data/ext/couchbase/operations/scope_create.hxx +6 -2
  78. data/ext/couchbase/operations/scope_drop.hxx +1 -1
  79. data/ext/couchbase/operations/scope_get_all.hxx +1 -1
  80. data/ext/couchbase/operations/search_get_stats.hxx +59 -0
  81. data/ext/couchbase/operations/search_index_analyze_document.hxx +1 -1
  82. data/ext/couchbase/operations/search_index_control_ingest.hxx +1 -1
  83. data/ext/couchbase/operations/search_index_control_plan_freeze.hxx +1 -1
  84. data/ext/couchbase/operations/search_index_control_query.hxx +1 -1
  85. data/ext/couchbase/operations/search_index_drop.hxx +1 -1
  86. data/ext/couchbase/operations/search_index_get.hxx +1 -1
  87. data/ext/couchbase/operations/search_index_get_all.hxx +1 -1
  88. data/ext/couchbase/operations/search_index_get_documents_count.hxx +24 -16
  89. data/ext/couchbase/operations/search_index_get_stats.hxx +81 -0
  90. data/ext/couchbase/operations/search_index_upsert.hxx +1 -1
  91. data/ext/couchbase/operations/user_drop.hxx +72 -0
  92. data/ext/couchbase/operations/user_get.hxx +76 -0
  93. data/ext/couchbase/operations/user_get_all.hxx +71 -0
  94. data/ext/couchbase/operations/user_upsert.hxx +125 -0
  95. data/ext/couchbase/operations/view_index_drop.hxx +1 -1
  96. data/ext/couchbase/operations/view_index_get.hxx +1 -1
  97. data/ext/couchbase/operations/view_index_get_all.hxx +1 -1
  98. data/ext/couchbase/operations/view_index_upsert.hxx +1 -1
  99. data/ext/couchbase/origin.hxx +4 -4
  100. data/ext/couchbase/platform/terminate_handler.cc +5 -4
  101. data/ext/couchbase/protocol/client_opcode.hxx +38 -38
  102. data/ext/couchbase/protocol/client_response.hxx +2 -2
  103. data/ext/couchbase/protocol/cmd_cluster_map_change_notification.hxx +6 -3
  104. data/ext/couchbase/protocol/cmd_get_cluster_config.hxx +3 -1
  105. data/ext/couchbase/protocol/magic.hxx +6 -6
  106. data/ext/couchbase/protocol/server_opcode.hxx +2 -2
  107. data/ext/couchbase/protocol/status.hxx +57 -57
  108. data/ext/couchbase/service_type.hxx +1 -1
  109. data/ext/couchbase/utils/connection_string.hxx +12 -3
  110. data/ext/couchbase/version.hxx +1 -1
  111. data/ext/extconf.rb +21 -9
  112. data/ext/test/test_helper.hxx +141 -0
  113. data/ext/test/test_helper_native.hxx +59 -0
  114. data/ext/test/test_helper_ruby.hxx +72 -0
  115. data/ext/test/test_native_diagnostics.cxx +385 -0
  116. data/ext/test/test_native_trivial_crud.cxx +83 -0
  117. data/ext/test/test_ruby_trivial_crud.cxx +35 -0
  118. data/ext/test/test_ruby_trivial_query.cxx +34 -0
  119. data/ext/third_party/asio/asio/include/asio.hpp +35 -0
  120. data/ext/third_party/asio/asio/include/asio/any_io_executor.hpp +71 -0
  121. data/ext/third_party/asio/asio/include/asio/associated_allocator.hpp +1 -7
  122. data/ext/third_party/asio/asio/include/asio/associated_executor.hpp +36 -19
  123. data/ext/third_party/asio/asio/include/asio/async_result.hpp +1 -8
  124. data/ext/third_party/asio/asio/include/asio/awaitable.hpp +14 -4
  125. data/ext/third_party/asio/asio/include/asio/basic_datagram_socket.hpp +12 -7
  126. data/ext/third_party/asio/asio/include/asio/basic_deadline_timer.hpp +4 -4
  127. data/ext/third_party/asio/asio/include/asio/basic_raw_socket.hpp +11 -7
  128. data/ext/third_party/asio/asio/include/asio/basic_seq_packet_socket.hpp +9 -4
  129. data/ext/third_party/asio/asio/include/asio/basic_serial_port.hpp +6 -6
  130. data/ext/third_party/asio/asio/include/asio/basic_signal_set.hpp +4 -4
  131. data/ext/third_party/asio/asio/include/asio/basic_socket.hpp +5 -5
  132. data/ext/third_party/asio/asio/include/asio/basic_socket_acceptor.hpp +13 -7
  133. data/ext/third_party/asio/asio/include/asio/basic_stream_socket.hpp +7 -3
  134. data/ext/third_party/asio/asio/include/asio/basic_waitable_timer.hpp +52 -4
  135. data/ext/third_party/asio/asio/include/asio/bind_executor.hpp +10 -15
  136. data/ext/third_party/asio/asio/include/asio/buffer.hpp +6 -4
  137. data/ext/third_party/asio/asio/include/asio/co_spawn.hpp +380 -9
  138. data/ext/third_party/asio/asio/include/asio/defer.hpp +4 -1
  139. data/ext/third_party/asio/asio/include/asio/detached.hpp +50 -0
  140. data/ext/third_party/asio/asio/include/asio/detail/atomic_count.hpp +19 -0
  141. data/ext/third_party/asio/asio/include/asio/detail/bind_handler.hpp +144 -26
  142. data/ext/third_party/asio/asio/include/asio/detail/blocking_executor_op.hpp +107 -0
  143. data/ext/third_party/asio/asio/include/asio/detail/buffer_sequence_adapter.hpp +106 -0
  144. data/ext/third_party/asio/asio/include/asio/detail/bulk_executor_op.hpp +88 -0
  145. data/ext/third_party/asio/asio/include/asio/detail/completion_handler.hpp +10 -5
  146. data/ext/third_party/asio/asio/include/asio/detail/conditionally_enabled_event.hpp +8 -0
  147. data/ext/third_party/asio/asio/include/asio/detail/config.hpp +360 -37
  148. data/ext/third_party/asio/asio/include/asio/detail/deadline_timer_service.hpp +17 -2
  149. data/ext/third_party/asio/asio/include/asio/detail/descriptor_ops.hpp +24 -6
  150. data/ext/third_party/asio/asio/include/asio/detail/descriptor_read_op.hpp +32 -14
  151. data/ext/third_party/asio/asio/include/asio/detail/descriptor_write_op.hpp +32 -14
  152. data/ext/third_party/asio/asio/include/asio/detail/executor_function.hpp +133 -34
  153. data/ext/third_party/asio/asio/include/asio/detail/handler_alloc_helpers.hpp +42 -0
  154. data/ext/third_party/asio/asio/include/asio/detail/handler_invoke_helpers.hpp +23 -0
  155. data/ext/third_party/asio/asio/include/asio/detail/handler_tracking.hpp +26 -0
  156. data/ext/third_party/asio/asio/include/asio/detail/handler_work.hpp +370 -45
  157. data/ext/third_party/asio/asio/include/asio/detail/impl/descriptor_ops.ipp +208 -74
  158. data/ext/third_party/asio/asio/include/asio/detail/impl/handler_tracking.ipp +39 -1
  159. data/ext/third_party/asio/asio/include/asio/detail/impl/reactive_serial_port_service.ipp +12 -15
  160. data/ext/third_party/asio/asio/include/asio/detail/impl/scheduler.ipp +37 -0
  161. data/ext/third_party/asio/asio/include/asio/detail/impl/signal_set_service.ipp +2 -1
  162. data/ext/third_party/asio/asio/include/asio/detail/impl/socket_ops.ipp +661 -274
  163. data/ext/third_party/asio/asio/include/asio/detail/impl/strand_executor_service.hpp +210 -4
  164. data/ext/third_party/asio/asio/include/asio/detail/impl/strand_service.hpp +8 -9
  165. data/ext/third_party/asio/asio/include/asio/detail/impl/strand_service.ipp +5 -4
  166. data/ext/third_party/asio/asio/include/asio/detail/impl/win_iocp_io_context.ipp +15 -6
  167. data/ext/third_party/asio/asio/include/asio/detail/io_object_impl.hpp +32 -50
  168. data/ext/third_party/asio/asio/include/asio/detail/memory.hpp +3 -0
  169. data/ext/third_party/asio/asio/include/asio/detail/null_event.hpp +6 -0
  170. data/ext/third_party/asio/asio/include/asio/detail/pop_options.hpp +1 -1
  171. data/ext/third_party/asio/asio/include/asio/detail/posix_event.hpp +13 -0
  172. data/ext/third_party/asio/asio/include/asio/detail/push_options.hpp +1 -1
  173. data/ext/third_party/asio/asio/include/asio/detail/reactive_descriptor_service.hpp +38 -13
  174. data/ext/third_party/asio/asio/include/asio/detail/reactive_null_buffers_op.hpp +12 -6
  175. data/ext/third_party/asio/asio/include/asio/detail/reactive_serial_port_service.hpp +2 -3
  176. data/ext/third_party/asio/asio/include/asio/detail/reactive_socket_accept_op.hpp +36 -24
  177. data/ext/third_party/asio/asio/include/asio/detail/reactive_socket_connect_op.hpp +17 -10
  178. data/ext/third_party/asio/asio/include/asio/detail/reactive_socket_recv_op.hpp +38 -16
  179. data/ext/third_party/asio/asio/include/asio/detail/reactive_socket_recvfrom_op.hpp +36 -14
  180. data/ext/third_party/asio/asio/include/asio/detail/reactive_socket_recvmsg_op.hpp +21 -11
  181. data/ext/third_party/asio/asio/include/asio/detail/reactive_socket_send_op.hpp +43 -17
  182. data/ext/third_party/asio/asio/include/asio/detail/reactive_socket_sendto_op.hpp +39 -17
  183. data/ext/third_party/asio/asio/include/asio/detail/reactive_socket_service.hpp +44 -21
  184. data/ext/third_party/asio/asio/include/asio/detail/reactive_socket_service_base.hpp +41 -18
  185. data/ext/third_party/asio/asio/include/asio/detail/reactive_wait_op.hpp +12 -6
  186. data/ext/third_party/asio/asio/include/asio/detail/reactor_op.hpp +3 -1
  187. data/ext/third_party/asio/asio/include/asio/detail/resolve_endpoint_op.hpp +10 -8
  188. data/ext/third_party/asio/asio/include/asio/detail/resolve_query_op.hpp +11 -9
  189. data/ext/third_party/asio/asio/include/asio/detail/scheduler.hpp +8 -0
  190. data/ext/third_party/asio/asio/include/asio/detail/signal_handler.hpp +7 -5
  191. data/ext/third_party/asio/asio/include/asio/detail/socket_ops.hpp +46 -0
  192. data/ext/third_party/asio/asio/include/asio/detail/source_location.hpp +45 -0
  193. data/ext/third_party/asio/asio/include/asio/detail/std_event.hpp +12 -0
  194. data/ext/third_party/asio/asio/include/asio/detail/strand_executor_service.hpp +25 -1
  195. data/ext/third_party/asio/asio/include/asio/detail/strand_service.hpp +4 -1
  196. data/ext/third_party/asio/asio/include/asio/detail/thread_info_base.hpp +58 -0
  197. data/ext/third_party/asio/asio/include/asio/detail/type_traits.hpp +59 -0
  198. data/ext/third_party/asio/asio/include/asio/detail/variadic_templates.hpp +144 -1
  199. data/ext/third_party/asio/asio/include/asio/detail/wait_handler.hpp +9 -6
  200. data/ext/third_party/asio/asio/include/asio/detail/win_event.hpp +13 -0
  201. data/ext/third_party/asio/asio/include/asio/detail/win_iocp_handle_read_op.hpp +9 -5
  202. data/ext/third_party/asio/asio/include/asio/detail/win_iocp_handle_write_op.hpp +9 -5
  203. data/ext/third_party/asio/asio/include/asio/detail/win_iocp_io_context.hpp +5 -1
  204. data/ext/third_party/asio/asio/include/asio/detail/win_iocp_null_buffers_op.hpp +10 -6
  205. data/ext/third_party/asio/asio/include/asio/detail/win_iocp_overlapped_op.hpp +9 -5
  206. data/ext/third_party/asio/asio/include/asio/detail/win_iocp_overlapped_ptr.hpp +18 -6
  207. data/ext/third_party/asio/asio/include/asio/detail/win_iocp_socket_accept_op.hpp +15 -11
  208. data/ext/third_party/asio/asio/include/asio/detail/win_iocp_socket_connect_op.hpp +10 -5
  209. data/ext/third_party/asio/asio/include/asio/detail/win_iocp_socket_recv_op.hpp +8 -4
  210. data/ext/third_party/asio/asio/include/asio/detail/win_iocp_socket_recvfrom_op.hpp +8 -4
  211. data/ext/third_party/asio/asio/include/asio/detail/win_iocp_socket_recvmsg_op.hpp +8 -4
  212. data/ext/third_party/asio/asio/include/asio/detail/win_iocp_socket_send_op.hpp +8 -4
  213. data/ext/third_party/asio/asio/include/asio/detail/win_iocp_wait_op.hpp +10 -5
  214. data/ext/third_party/asio/asio/include/asio/detail/winrt_resolve_op.hpp +8 -4
  215. data/ext/third_party/asio/asio/include/asio/detail/winrt_socket_connect_op.hpp +8 -4
  216. data/ext/third_party/asio/asio/include/asio/detail/winrt_socket_recv_op.hpp +8 -4
  217. data/ext/third_party/asio/asio/include/asio/detail/winrt_socket_send_op.hpp +8 -4
  218. data/ext/third_party/asio/asio/include/asio/detail/work_dispatcher.hpp +81 -6
  219. data/ext/third_party/asio/asio/include/asio/detail/wrapped_handler.hpp +45 -9
  220. data/ext/third_party/asio/asio/include/asio/dispatch.hpp +4 -1
  221. data/ext/third_party/asio/asio/include/asio/execution.hpp +48 -0
  222. data/ext/third_party/asio/asio/include/asio/execution/allocator.hpp +249 -0
  223. data/ext/third_party/asio/asio/include/asio/execution/any_executor.hpp +2264 -0
  224. data/ext/third_party/asio/asio/include/asio/execution/bad_executor.hpp +47 -0
  225. data/ext/third_party/asio/asio/include/asio/execution/blocking.hpp +1351 -0
  226. data/ext/third_party/asio/asio/include/asio/execution/blocking_adaptation.hpp +1064 -0
  227. data/ext/third_party/asio/asio/include/asio/execution/bulk_execute.hpp +390 -0
  228. data/ext/third_party/asio/asio/include/asio/execution/bulk_guarantee.hpp +1018 -0
  229. data/ext/third_party/asio/asio/include/asio/execution/connect.hpp +486 -0
  230. data/ext/third_party/asio/asio/include/asio/execution/context.hpp +185 -0
  231. data/ext/third_party/asio/asio/include/asio/execution/context_as.hpp +201 -0
  232. data/ext/third_party/asio/asio/include/asio/execution/detail/as_invocable.hpp +152 -0
  233. data/ext/third_party/asio/asio/include/asio/execution/detail/as_operation.hpp +105 -0
  234. data/ext/third_party/asio/asio/include/asio/execution/detail/as_receiver.hpp +128 -0
  235. data/ext/third_party/asio/asio/include/asio/execution/detail/bulk_sender.hpp +261 -0
  236. data/ext/third_party/asio/asio/include/asio/execution/detail/submit_receiver.hpp +233 -0
  237. data/ext/third_party/asio/asio/include/asio/execution/detail/void_receiver.hpp +90 -0
  238. data/ext/third_party/asio/asio/include/asio/execution/execute.hpp +264 -0
  239. data/ext/third_party/asio/asio/include/asio/execution/executor.hpp +238 -0
  240. data/ext/third_party/asio/asio/include/asio/execution/impl/bad_executor.ipp +40 -0
  241. data/ext/third_party/asio/asio/include/asio/execution/impl/receiver_invocation_error.ipp +36 -0
  242. data/ext/third_party/asio/asio/include/asio/execution/invocable_archetype.hpp +71 -0
  243. data/ext/third_party/asio/asio/include/asio/execution/mapping.hpp +917 -0
  244. data/ext/third_party/asio/asio/include/asio/execution/occupancy.hpp +178 -0
  245. data/ext/third_party/asio/asio/include/asio/execution/operation_state.hpp +94 -0
  246. data/ext/third_party/asio/asio/include/asio/execution/outstanding_work.hpp +721 -0
  247. data/ext/third_party/asio/asio/include/asio/execution/prefer_only.hpp +327 -0
  248. data/ext/third_party/asio/asio/include/asio/execution/receiver.hpp +280 -0
  249. data/ext/third_party/asio/asio/include/asio/execution/receiver_invocation_error.hpp +48 -0
  250. data/ext/third_party/asio/asio/include/asio/execution/relationship.hpp +720 -0
  251. data/ext/third_party/asio/asio/include/asio/execution/schedule.hpp +290 -0
  252. data/ext/third_party/asio/asio/include/asio/execution/scheduler.hpp +86 -0
  253. data/ext/third_party/asio/asio/include/asio/execution/sender.hpp +311 -0
  254. data/ext/third_party/asio/asio/include/asio/execution/set_done.hpp +253 -0
  255. data/ext/third_party/asio/asio/include/asio/execution/set_error.hpp +253 -0
  256. data/ext/third_party/asio/asio/include/asio/execution/set_value.hpp +486 -0
  257. data/ext/third_party/asio/asio/include/asio/execution/start.hpp +250 -0
  258. data/ext/third_party/asio/asio/include/asio/execution/submit.hpp +450 -0
  259. data/ext/third_party/asio/asio/include/asio/executor.hpp +7 -1
  260. data/ext/third_party/asio/asio/include/asio/executor_work_guard.hpp +126 -9
  261. data/ext/third_party/asio/asio/include/asio/handler_alloc_hook.hpp +28 -5
  262. data/ext/third_party/asio/asio/include/asio/handler_invoke_hook.hpp +29 -3
  263. data/ext/third_party/asio/asio/include/asio/impl/awaitable.hpp +14 -0
  264. data/ext/third_party/asio/asio/include/asio/impl/buffered_read_stream.hpp +44 -8
  265. data/ext/third_party/asio/asio/include/asio/impl/buffered_write_stream.hpp +44 -8
  266. data/ext/third_party/asio/asio/include/asio/impl/co_spawn.hpp +145 -7
  267. data/ext/third_party/asio/asio/include/asio/impl/compose.hpp +124 -22
  268. data/ext/third_party/asio/asio/include/asio/impl/connect.hpp +52 -8
  269. data/ext/third_party/asio/asio/include/asio/impl/defer.hpp +147 -12
  270. data/ext/third_party/asio/asio/include/asio/impl/dispatch.hpp +142 -12
  271. data/ext/third_party/asio/asio/include/asio/impl/executor.hpp +15 -101
  272. data/ext/third_party/asio/asio/include/asio/impl/executor.ipp +5 -0
  273. data/ext/third_party/asio/asio/include/asio/impl/handler_alloc_hook.ipp +13 -4
  274. data/ext/third_party/asio/asio/include/asio/impl/io_context.hpp +144 -57
  275. data/ext/third_party/asio/asio/include/asio/impl/multiple_exceptions.ipp +49 -0
  276. data/ext/third_party/asio/asio/include/asio/impl/post.hpp +147 -12
  277. data/ext/third_party/asio/asio/include/asio/impl/read.hpp +85 -18
  278. data/ext/third_party/asio/asio/include/asio/impl/read_at.hpp +59 -14
  279. data/ext/third_party/asio/asio/include/asio/impl/read_until.hpp +241 -56
  280. data/ext/third_party/asio/asio/include/asio/impl/redirect_error.hpp +22 -4
  281. data/ext/third_party/asio/asio/include/asio/impl/spawn.hpp +58 -22
  282. data/ext/third_party/asio/asio/include/asio/impl/src.hpp +3 -0
  283. data/ext/third_party/asio/asio/include/asio/impl/system_context.ipp +16 -4
  284. data/ext/third_party/asio/asio/include/asio/impl/system_executor.hpp +113 -12
  285. data/ext/third_party/asio/asio/include/asio/impl/thread_pool.hpp +260 -37
  286. data/ext/third_party/asio/asio/include/asio/impl/thread_pool.ipp +61 -7
  287. data/ext/third_party/asio/asio/include/asio/impl/use_awaitable.hpp +5 -2
  288. data/ext/third_party/asio/asio/include/asio/impl/use_future.hpp +147 -6
  289. data/ext/third_party/asio/asio/include/asio/impl/write.hpp +75 -14
  290. data/ext/third_party/asio/asio/include/asio/impl/write_at.hpp +53 -11
  291. data/ext/third_party/asio/asio/include/asio/io_context.hpp +706 -48
  292. data/ext/third_party/asio/asio/include/asio/io_context_strand.hpp +3 -1
  293. data/ext/third_party/asio/asio/include/asio/ip/basic_resolver.hpp +4 -4
  294. data/ext/third_party/asio/asio/include/asio/is_applicable_property.hpp +61 -0
  295. data/ext/third_party/asio/asio/include/asio/multiple_exceptions.hpp +58 -0
  296. data/ext/third_party/asio/asio/include/asio/posix/basic_descriptor.hpp +4 -4
  297. data/ext/third_party/asio/asio/include/asio/posix/basic_stream_descriptor.hpp +5 -5
  298. data/ext/third_party/asio/asio/include/asio/post.hpp +4 -1
  299. data/ext/third_party/asio/asio/include/asio/prefer.hpp +656 -0
  300. data/ext/third_party/asio/asio/include/asio/query.hpp +296 -0
  301. data/ext/third_party/asio/asio/include/asio/read_until.hpp +6 -6
  302. data/ext/third_party/asio/asio/include/asio/require.hpp +524 -0
  303. data/ext/third_party/asio/asio/include/asio/require_concept.hpp +310 -0
  304. data/ext/third_party/asio/asio/include/asio/spawn.hpp +12 -4
  305. data/ext/third_party/asio/asio/include/asio/ssl/detail/buffered_handshake_op.hpp +5 -0
  306. data/ext/third_party/asio/asio/include/asio/ssl/detail/engine.hpp +5 -0
  307. data/ext/third_party/asio/asio/include/asio/ssl/detail/handshake_op.hpp +5 -0
  308. data/ext/third_party/asio/asio/include/asio/ssl/detail/impl/engine.ipp +16 -3
  309. data/ext/third_party/asio/asio/include/asio/ssl/detail/io.hpp +38 -4
  310. data/ext/third_party/asio/asio/include/asio/ssl/detail/read_op.hpp +5 -0
  311. data/ext/third_party/asio/asio/include/asio/ssl/detail/shutdown_op.hpp +5 -0
  312. data/ext/third_party/asio/asio/include/asio/ssl/detail/stream_core.hpp +36 -2
  313. data/ext/third_party/asio/asio/include/asio/ssl/detail/write_op.hpp +10 -1
  314. data/ext/third_party/asio/asio/include/asio/ssl/stream.hpp +15 -0
  315. data/ext/third_party/asio/asio/include/asio/static_thread_pool.hpp +31 -0
  316. data/ext/third_party/asio/asio/include/asio/strand.hpp +232 -9
  317. data/ext/third_party/asio/asio/include/asio/system_context.hpp +12 -3
  318. data/ext/third_party/asio/asio/include/asio/system_executor.hpp +557 -24
  319. data/ext/third_party/asio/asio/include/asio/thread_pool.hpp +913 -37
  320. data/ext/third_party/asio/asio/include/asio/traits/bulk_execute_free.hpp +114 -0
  321. data/ext/third_party/asio/asio/include/asio/traits/bulk_execute_member.hpp +114 -0
  322. data/ext/third_party/asio/asio/include/asio/traits/connect_free.hpp +112 -0
  323. data/ext/third_party/asio/asio/include/asio/traits/connect_member.hpp +112 -0
  324. data/ext/third_party/asio/asio/include/asio/traits/equality_comparable.hpp +100 -0
  325. data/ext/third_party/asio/asio/include/asio/traits/execute_free.hpp +108 -0
  326. data/ext/third_party/asio/asio/include/asio/traits/execute_member.hpp +108 -0
  327. data/ext/third_party/asio/asio/include/asio/traits/prefer_free.hpp +108 -0
  328. data/ext/third_party/asio/asio/include/asio/traits/prefer_member.hpp +108 -0
  329. data/ext/third_party/asio/asio/include/asio/traits/query_free.hpp +108 -0
  330. data/ext/third_party/asio/asio/include/asio/traits/query_member.hpp +108 -0
  331. data/ext/third_party/asio/asio/include/asio/traits/query_static_constexpr_member.hpp +108 -0
  332. data/ext/third_party/asio/asio/include/asio/traits/require_concept_free.hpp +108 -0
  333. data/ext/third_party/asio/asio/include/asio/traits/require_concept_member.hpp +108 -0
  334. data/ext/third_party/asio/asio/include/asio/traits/require_free.hpp +108 -0
  335. data/ext/third_party/asio/asio/include/asio/traits/require_member.hpp +108 -0
  336. data/ext/third_party/asio/asio/include/asio/traits/schedule_free.hpp +108 -0
  337. data/ext/third_party/asio/asio/include/asio/traits/schedule_member.hpp +108 -0
  338. data/ext/third_party/asio/asio/include/asio/traits/set_done_free.hpp +108 -0
  339. data/ext/third_party/asio/asio/include/asio/traits/set_done_member.hpp +108 -0
  340. data/ext/third_party/asio/asio/include/asio/traits/set_error_free.hpp +112 -0
  341. data/ext/third_party/asio/asio/include/asio/traits/set_error_member.hpp +112 -0
  342. data/ext/third_party/asio/asio/include/asio/traits/set_value_free.hpp +234 -0
  343. data/ext/third_party/asio/asio/include/asio/traits/set_value_member.hpp +234 -0
  344. data/ext/third_party/asio/asio/include/asio/traits/start_free.hpp +108 -0
  345. data/ext/third_party/asio/asio/include/asio/traits/start_member.hpp +108 -0
  346. data/ext/third_party/asio/asio/include/asio/traits/static_query.hpp +108 -0
  347. data/ext/third_party/asio/asio/include/asio/traits/static_require.hpp +123 -0
  348. data/ext/third_party/asio/asio/include/asio/traits/static_require_concept.hpp +123 -0
  349. data/ext/third_party/asio/asio/include/asio/traits/submit_free.hpp +112 -0
  350. data/ext/third_party/asio/asio/include/asio/traits/submit_member.hpp +112 -0
  351. data/ext/third_party/asio/asio/include/asio/ts/executor.hpp +1 -0
  352. data/ext/third_party/asio/asio/include/asio/ts/netfwd.hpp +67 -8
  353. data/ext/third_party/asio/asio/include/asio/use_awaitable.hpp +63 -4
  354. data/ext/third_party/asio/asio/include/asio/version.hpp +1 -1
  355. data/ext/third_party/asio/asio/include/asio/windows/basic_object_handle.hpp +4 -4
  356. data/ext/third_party/asio/asio/include/asio/windows/basic_overlapped_handle.hpp +2 -2
  357. data/ext/third_party/asio/asio/include/asio/windows/basic_random_access_handle.hpp +5 -5
  358. data/ext/third_party/asio/asio/include/asio/windows/basic_stream_handle.hpp +5 -5
  359. data/ext/third_party/asio/asio/include/asio/windows/overlapped_ptr.hpp +4 -2
  360. data/ext/third_party/gsl/CMakeLists.txt +13 -5
  361. data/ext/third_party/gsl/include/gsl/gsl_assert +1 -1
  362. data/ext/third_party/gsl/include/gsl/gsl_byte +3 -3
  363. data/ext/third_party/gsl/include/gsl/gsl_narrow +52 -0
  364. data/ext/third_party/gsl/include/gsl/gsl_util +8 -50
  365. data/ext/third_party/gsl/include/gsl/multi_span +0 -10
  366. data/ext/third_party/gsl/include/gsl/pointers +14 -28
  367. data/ext/third_party/gsl/include/gsl/span +98 -46
  368. data/ext/third_party/gsl/include/gsl/string_span +37 -47
  369. data/ext/third_party/http_parser/http_parser.c +17 -10
  370. data/ext/third_party/http_parser/http_parser.h +4 -2
  371. data/ext/third_party/json/include/tao/json/basic_value.hpp +3 -2
  372. data/ext/third_party/json/include/tao/json/binary.hpp +4 -4
  373. data/ext/third_party/json/include/tao/json/binary_view.hpp +2 -2
  374. data/ext/third_party/json/include/tao/json/binding.hpp +2 -2
  375. data/ext/third_party/json/include/tao/json/binding/factory.hpp +8 -7
  376. data/ext/third_party/json/include/tao/json/binding/internal/array.hpp +2 -1
  377. data/ext/third_party/json/include/tao/json/binding/internal/object.hpp +6 -5
  378. data/ext/third_party/json/include/tao/json/binding/versions.hpp +3 -1
  379. data/ext/third_party/json/include/tao/json/cbor.hpp +1 -0
  380. data/ext/third_party/json/include/tao/json/cbor/consume_file.hpp +7 -7
  381. data/ext/third_party/json/include/tao/json/cbor/events/from_binary.hpp +43 -0
  382. data/ext/third_party/json/include/tao/json/cbor/events/from_file.hpp +4 -4
  383. data/ext/third_party/json/include/tao/json/cbor/events/from_string.hpp +3 -3
  384. data/ext/third_party/json/include/tao/json/cbor/from_binary.hpp +32 -0
  385. data/ext/third_party/json/include/tao/json/cbor/from_file.hpp +5 -5
  386. data/ext/third_party/json/include/tao/json/cbor/internal/grammar.hpp +2 -1
  387. data/ext/third_party/json/include/tao/json/consume_file.hpp +7 -7
  388. data/ext/third_party/json/include/tao/json/contrib/internal/indirect_traits.hpp +13 -6
  389. data/ext/third_party/json/include/tao/json/contrib/position.hpp +15 -15
  390. data/ext/third_party/json/include/tao/json/contrib/reference.hpp +5 -7
  391. data/ext/third_party/json/include/tao/json/contrib/schema.hpp +58 -35
  392. data/ext/third_party/json/include/tao/json/contrib/shared_ptr_traits.hpp +12 -4
  393. data/ext/third_party/json/include/tao/json/contrib/unique_ptr_traits.hpp +12 -4
  394. data/ext/third_party/json/include/tao/json/contrib/unordered_map_traits.hpp +1 -1
  395. data/ext/third_party/json/include/tao/json/contrib/unordered_set_traits.hpp +2 -2
  396. data/ext/third_party/json/include/tao/json/events/compare.hpp +2 -12
  397. data/ext/third_party/json/include/tao/json/events/from_file.hpp +4 -4
  398. data/ext/third_party/json/include/tao/json/events/from_string.hpp +2 -2
  399. data/ext/third_party/json/include/tao/json/events/invalid_string_to_binary.hpp +1 -1
  400. data/ext/third_party/json/include/tao/json/events/key_camel_case_to_snake_case.hpp +3 -3
  401. data/ext/third_party/json/include/tao/json/events/key_snake_case_to_camel_case.hpp +1 -1
  402. data/ext/third_party/json/include/tao/json/events/tee.hpp +2 -2
  403. data/ext/third_party/json/include/tao/json/events/to_pretty_stream.hpp +1 -1
  404. data/ext/third_party/json/include/tao/json/events/to_stream.hpp +1 -1
  405. data/ext/third_party/json/include/tao/json/events/transformer.hpp +3 -3
  406. data/ext/third_party/json/include/tao/json/events/validate_event_order.hpp +3 -3
  407. data/ext/third_party/json/include/tao/json/events/virtual_ref.hpp +6 -0
  408. data/ext/third_party/json/include/tao/json/external/pegtl.hpp +4 -13
  409. data/ext/third_party/json/include/tao/json/external/pegtl/argv_input.hpp +3 -5
  410. data/ext/third_party/json/include/tao/json/external/pegtl/ascii.hpp +5 -18
  411. data/ext/third_party/json/include/tao/json/external/pegtl/buffer_input.hpp +3 -3
  412. data/ext/third_party/json/include/tao/json/external/pegtl/change_action.hpp +2 -2
  413. data/ext/third_party/json/include/tao/json/external/pegtl/change_action_and_state.hpp +6 -6
  414. data/ext/third_party/json/include/tao/json/external/pegtl/change_action_and_states.hpp +5 -5
  415. data/ext/third_party/json/include/tao/json/external/pegtl/change_control.hpp +2 -2
  416. data/ext/third_party/json/include/tao/json/external/pegtl/change_state.hpp +6 -6
  417. data/ext/third_party/json/include/tao/json/external/pegtl/change_states.hpp +5 -5
  418. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/alphabet.hpp +52 -52
  419. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/analyze.hpp +176 -0
  420. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/analyze_traits.hpp +275 -0
  421. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/control_action.hpp +77 -0
  422. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/coverage.hpp +151 -0
  423. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/forward.hpp +16 -0
  424. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/http.hpp +37 -18
  425. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/icu/internal.hpp +20 -22
  426. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/icu/utf16.hpp +6 -10
  427. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/icu/utf32.hpp +6 -10
  428. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/icu/utf8.hpp +2 -4
  429. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/if_then.hpp +11 -10
  430. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/integer.hpp +116 -131
  431. data/ext/third_party/json/include/tao/json/external/pegtl/{internal → contrib/internal}/endian.hpp +4 -4
  432. data/ext/third_party/json/include/tao/json/external/pegtl/{internal → contrib/internal}/endian_gcc.hpp +2 -2
  433. data/ext/third_party/json/include/tao/json/external/pegtl/{internal → contrib/internal}/endian_win.hpp +2 -2
  434. data/ext/third_party/json/include/tao/json/external/pegtl/{internal → contrib/internal}/peek_mask_uint.hpp +9 -9
  435. data/ext/third_party/json/include/tao/json/external/pegtl/{internal → contrib/internal}/peek_mask_uint8.hpp +9 -10
  436. data/ext/third_party/json/include/tao/json/external/pegtl/{internal → contrib/internal}/peek_uint.hpp +9 -9
  437. data/ext/third_party/json/include/tao/json/external/pegtl/{internal → contrib/internal}/peek_uint8.hpp +9 -10
  438. data/ext/third_party/json/include/tao/json/external/pegtl/{internal → contrib/internal}/peek_utf16.hpp +10 -10
  439. data/ext/third_party/json/include/tao/json/external/pegtl/{internal → contrib/internal}/peek_utf32.hpp +9 -9
  440. data/ext/third_party/json/include/tao/json/external/pegtl/{internal → contrib/internal}/read_uint.hpp +3 -3
  441. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/internal/set_stack_guard.hpp +52 -0
  442. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/parse_tree.hpp +80 -201
  443. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/parse_tree_to_dot.hpp +11 -10
  444. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/print.hpp +75 -0
  445. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/print_coverage.hpp +53 -0
  446. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/raw_string.hpp +45 -36
  447. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/remove_first_state.hpp +33 -50
  448. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/remove_last_states.hpp +117 -0
  449. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/rep_one_min_max.hpp +43 -11
  450. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/rep_string.hpp +1 -2
  451. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/shuffle_states.hpp +193 -0
  452. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/state_control.hpp +118 -0
  453. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/trace.hpp +227 -0
  454. data/ext/third_party/json/include/tao/json/external/pegtl/{uint16.hpp → contrib/uint16.hpp} +5 -5
  455. data/ext/third_party/json/include/tao/json/external/pegtl/{uint32.hpp → contrib/uint32.hpp} +5 -5
  456. data/ext/third_party/json/include/tao/json/external/pegtl/{uint64.hpp → contrib/uint64.hpp} +5 -5
  457. data/ext/third_party/json/include/tao/json/external/pegtl/{uint8.hpp → contrib/uint8.hpp} +5 -5
  458. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/unescape.hpp +14 -14
  459. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/uri.hpp +1 -1
  460. data/ext/third_party/json/include/tao/json/external/pegtl/{utf16.hpp → contrib/utf16.hpp} +5 -5
  461. data/ext/third_party/json/include/tao/json/external/pegtl/{utf32.hpp → contrib/utf32.hpp} +5 -5
  462. data/ext/third_party/json/include/tao/json/external/pegtl/cstream_input.hpp +2 -3
  463. data/ext/third_party/json/include/tao/json/external/pegtl/{internal/demangle.hpp → demangle.hpp} +12 -14
  464. data/ext/third_party/json/include/tao/json/external/pegtl/disable_action.hpp +2 -2
  465. data/ext/third_party/json/include/tao/json/external/pegtl/discard_input.hpp +2 -2
  466. data/ext/third_party/json/include/tao/json/external/pegtl/discard_input_on_failure.hpp +2 -2
  467. data/ext/third_party/json/include/tao/json/external/pegtl/discard_input_on_success.hpp +2 -2
  468. data/ext/third_party/json/include/tao/json/external/pegtl/enable_action.hpp +2 -2
  469. data/ext/third_party/json/include/tao/json/external/pegtl/file_input.hpp +1 -1
  470. data/ext/third_party/json/include/tao/json/external/pegtl/internal/action.hpp +19 -9
  471. data/ext/third_party/json/include/tao/json/external/pegtl/internal/action_input.hpp +7 -8
  472. data/ext/third_party/json/include/tao/json/external/pegtl/internal/any.hpp +14 -14
  473. data/ext/third_party/json/include/tao/json/external/pegtl/internal/apply.hpp +9 -9
  474. data/ext/third_party/json/include/tao/json/external/pegtl/internal/apply0.hpp +8 -7
  475. data/ext/third_party/json/include/tao/json/external/pegtl/internal/apply_single.hpp +4 -4
  476. data/ext/third_party/json/include/tao/json/external/pegtl/internal/at.hpp +17 -15
  477. data/ext/third_party/json/include/tao/json/external/pegtl/internal/bof.hpp +7 -6
  478. data/ext/third_party/json/include/tao/json/external/pegtl/internal/bol.hpp +8 -8
  479. data/ext/third_party/json/include/tao/json/external/pegtl/internal/bump.hpp +4 -4
  480. data/ext/third_party/json/include/tao/json/external/pegtl/internal/bump_help.hpp +3 -3
  481. data/ext/third_party/json/include/tao/json/external/pegtl/internal/bytes.hpp +17 -10
  482. data/ext/third_party/json/include/tao/json/external/pegtl/internal/control.hpp +19 -9
  483. data/ext/third_party/json/include/tao/json/external/pegtl/internal/cr_crlf_eol.hpp +2 -2
  484. data/ext/third_party/json/include/tao/json/external/pegtl/internal/cr_eol.hpp +2 -2
  485. data/ext/third_party/json/include/tao/json/external/pegtl/internal/crlf_eol.hpp +2 -2
  486. data/ext/third_party/json/include/tao/json/external/pegtl/internal/cstream_reader.hpp +1 -1
  487. data/ext/third_party/json/include/tao/json/external/pegtl/internal/{always_false.hpp → dependent_false.hpp} +3 -8
  488. data/ext/third_party/json/include/tao/json/external/pegtl/internal/disable.hpp +19 -9
  489. data/ext/third_party/json/include/tao/json/external/pegtl/internal/discard.hpp +7 -6
  490. data/ext/third_party/json/include/tao/json/external/pegtl/internal/enable.hpp +19 -9
  491. data/ext/third_party/json/include/tao/json/external/pegtl/internal/{skip_control.hpp → enable_control.hpp} +5 -5
  492. data/ext/third_party/json/include/tao/json/external/pegtl/internal/eof.hpp +7 -6
  493. data/ext/third_party/json/include/tao/json/external/pegtl/internal/eol.hpp +8 -7
  494. data/ext/third_party/json/include/tao/json/external/pegtl/internal/eolf.hpp +8 -7
  495. data/ext/third_party/json/include/tao/json/external/pegtl/internal/failure.hpp +32 -0
  496. data/ext/third_party/json/include/tao/json/external/pegtl/internal/file_mapper_posix.hpp +61 -10
  497. data/ext/third_party/json/include/tao/json/external/pegtl/internal/file_mapper_win32.hpp +27 -33
  498. data/ext/third_party/json/include/tao/json/external/pegtl/internal/file_reader.hpp +29 -26
  499. data/ext/third_party/json/include/tao/json/external/pegtl/internal/has_apply.hpp +3 -7
  500. data/ext/third_party/json/include/tao/json/external/pegtl/internal/has_apply0.hpp +3 -7
  501. data/ext/third_party/json/include/tao/json/external/pegtl/internal/has_match.hpp +4 -20
  502. data/ext/third_party/json/include/tao/json/external/pegtl/internal/has_unwind.hpp +21 -0
  503. data/ext/third_party/json/include/tao/json/external/pegtl/internal/if_apply.hpp +8 -7
  504. data/ext/third_party/json/include/tao/json/external/pegtl/internal/if_must.hpp +8 -9
  505. data/ext/third_party/json/include/tao/json/external/pegtl/internal/if_must_else.hpp +2 -0
  506. data/ext/third_party/json/include/tao/json/external/pegtl/internal/if_then_else.hpp +7 -7
  507. data/ext/third_party/json/include/tao/json/external/pegtl/internal/istream_reader.hpp +1 -2
  508. data/ext/third_party/json/include/tao/json/external/pegtl/internal/istring.hpp +11 -11
  509. data/ext/third_party/json/include/tao/json/external/pegtl/internal/iterator.hpp +7 -10
  510. data/ext/third_party/json/include/tao/json/external/pegtl/internal/lf_crlf_eol.hpp +2 -2
  511. data/ext/third_party/json/include/tao/json/external/pegtl/internal/lf_eol.hpp +2 -2
  512. data/ext/third_party/json/include/tao/json/external/pegtl/internal/list_tail.hpp +4 -2
  513. data/ext/third_party/json/include/tao/json/external/pegtl/internal/list_tail_pad.hpp +1 -1
  514. data/ext/third_party/json/include/tao/json/external/pegtl/internal/marker.hpp +3 -5
  515. data/ext/third_party/json/include/tao/json/external/pegtl/internal/minus.hpp +21 -0
  516. data/ext/third_party/json/include/tao/json/external/pegtl/internal/missing_apply.hpp +5 -2
  517. data/ext/third_party/json/include/tao/json/external/pegtl/internal/missing_apply0.hpp +5 -2
  518. data/ext/third_party/json/include/tao/json/external/pegtl/internal/must.hpp +16 -24
  519. data/ext/third_party/json/include/tao/json/external/pegtl/internal/not_at.hpp +17 -15
  520. data/ext/third_party/json/include/tao/json/external/pegtl/internal/one.hpp +23 -12
  521. data/ext/third_party/json/include/tao/json/external/pegtl/internal/opt.hpp +16 -16
  522. data/ext/third_party/json/include/tao/json/external/pegtl/internal/path_to_string.hpp +26 -0
  523. data/ext/third_party/json/include/tao/json/external/pegtl/internal/peek_char.hpp +5 -5
  524. data/ext/third_party/json/include/tao/json/external/pegtl/internal/peek_utf8.hpp +12 -13
  525. data/ext/third_party/json/include/tao/json/external/pegtl/internal/plus.hpp +18 -11
  526. data/ext/third_party/json/include/tao/json/external/pegtl/internal/raise.hpp +8 -17
  527. data/ext/third_party/json/include/tao/json/external/pegtl/internal/range.hpp +22 -17
  528. data/ext/third_party/json/include/tao/json/external/pegtl/internal/ranges.hpp +28 -18
  529. data/ext/third_party/json/include/tao/json/external/pegtl/internal/rematch.hpp +12 -9
  530. data/ext/third_party/json/include/tao/json/external/pegtl/internal/rep.hpp +26 -25
  531. data/ext/third_party/json/include/tao/json/external/pegtl/internal/rep_min_max.hpp +23 -21
  532. data/ext/third_party/json/include/tao/json/external/pegtl/internal/rep_opt.hpp +24 -9
  533. data/ext/third_party/json/include/tao/json/external/pegtl/internal/require.hpp +10 -10
  534. data/ext/third_party/json/include/tao/json/external/pegtl/internal/rules.hpp +4 -4
  535. data/ext/third_party/json/include/tao/json/external/pegtl/internal/seq.hpp +18 -33
  536. data/ext/third_party/json/include/tao/json/external/pegtl/internal/sor.hpp +24 -17
  537. data/ext/third_party/json/include/tao/json/external/pegtl/internal/star.hpp +13 -8
  538. data/ext/third_party/json/include/tao/json/external/pegtl/internal/state.hpp +21 -11
  539. data/ext/third_party/json/include/tao/json/external/pegtl/internal/string.hpp +11 -11
  540. data/ext/third_party/json/include/tao/json/external/pegtl/internal/success.hpp +32 -0
  541. data/ext/third_party/json/include/tao/json/external/pegtl/internal/try_catch_type.hpp +16 -16
  542. data/ext/third_party/json/include/tao/json/external/pegtl/internal/until.hpp +18 -14
  543. data/ext/third_party/json/include/tao/json/external/pegtl/istream_input.hpp +2 -3
  544. data/ext/third_party/json/include/tao/json/external/pegtl/match.hpp +125 -29
  545. data/ext/third_party/json/include/tao/json/external/pegtl/memory_input.hpp +32 -48
  546. data/ext/third_party/json/include/tao/json/external/pegtl/mmap_input.hpp +16 -16
  547. data/ext/third_party/json/include/tao/json/external/pegtl/must_if.hpp +64 -0
  548. data/ext/third_party/json/include/tao/json/external/pegtl/normal.hpp +25 -25
  549. data/ext/third_party/json/include/tao/json/external/pegtl/nothing.hpp +1 -2
  550. data/ext/third_party/json/include/tao/json/external/pegtl/parse.hpp +6 -8
  551. data/ext/third_party/json/include/tao/json/external/pegtl/parse_error.hpp +80 -35
  552. data/ext/third_party/json/include/tao/json/external/pegtl/position.hpp +18 -10
  553. data/ext/third_party/json/include/tao/json/external/pegtl/read_input.hpp +18 -38
  554. data/ext/third_party/json/include/tao/json/external/pegtl/rules.hpp +6 -5
  555. data/ext/third_party/json/include/tao/json/external/pegtl/string_input.hpp +3 -5
  556. data/ext/third_party/json/include/tao/json/external/pegtl/type_list.hpp +46 -0
  557. data/ext/third_party/json/include/tao/json/external/pegtl/visit.hpp +66 -0
  558. data/ext/third_party/json/include/tao/json/from_file.hpp +5 -5
  559. data/ext/third_party/json/include/tao/json/internal/action.hpp +3 -3
  560. data/ext/third_party/json/include/tao/json/internal/dependent_false.hpp +14 -0
  561. data/ext/third_party/json/include/tao/json/internal/errors.hpp +17 -17
  562. data/ext/third_party/json/include/tao/json/internal/format.hpp +0 -2
  563. data/ext/third_party/json/include/tao/json/internal/grammar.hpp +17 -17
  564. data/ext/third_party/json/include/tao/json/internal/pair.hpp +1 -1
  565. data/ext/third_party/json/include/tao/json/internal/sha256.hpp +8 -8
  566. data/ext/third_party/json/include/tao/json/internal/single.hpp +1 -1
  567. data/ext/third_party/json/include/tao/json/internal/type_traits.hpp +12 -29
  568. data/ext/third_party/json/include/tao/json/jaxn/consume_file.hpp +7 -7
  569. data/ext/third_party/json/include/tao/json/jaxn/events/from_file.hpp +4 -4
  570. data/ext/third_party/json/include/tao/json/jaxn/events/from_string.hpp +2 -2
  571. data/ext/third_party/json/include/tao/json/jaxn/from_file.hpp +5 -5
  572. data/ext/third_party/json/include/tao/json/jaxn/internal/action.hpp +6 -6
  573. data/ext/third_party/json/include/tao/json/jaxn/internal/bunescape_action.hpp +2 -2
  574. data/ext/third_party/json/include/tao/json/jaxn/internal/errors.hpp +43 -43
  575. data/ext/third_party/json/include/tao/json/jaxn/internal/grammar.hpp +36 -36
  576. data/ext/third_party/json/include/tao/json/jaxn/internal/integer.hpp +10 -11
  577. data/ext/third_party/json/include/tao/json/jaxn/is_identifier.hpp +2 -2
  578. data/ext/third_party/json/include/tao/json/jaxn/parts_parser.hpp +1 -3
  579. data/ext/third_party/json/include/tao/json/message_extension.hpp +2 -2
  580. data/ext/third_party/json/include/tao/json/msgpack.hpp +1 -0
  581. data/ext/third_party/json/include/tao/json/msgpack/consume_file.hpp +7 -7
  582. data/ext/third_party/json/include/tao/json/msgpack/events/from_binary.hpp +43 -0
  583. data/ext/third_party/json/include/tao/json/msgpack/events/from_file.hpp +4 -4
  584. data/ext/third_party/json/include/tao/json/msgpack/events/from_string.hpp +4 -4
  585. data/ext/third_party/json/include/tao/json/msgpack/events/to_stream.hpp +4 -4
  586. data/ext/third_party/json/include/tao/json/msgpack/from_binary.hpp +32 -0
  587. data/ext/third_party/json/include/tao/json/msgpack/from_file.hpp +5 -5
  588. data/ext/third_party/json/include/tao/json/msgpack/internal/grammar.hpp +2 -1
  589. data/ext/third_party/json/include/tao/json/operators.hpp +0 -4
  590. data/ext/third_party/json/include/tao/json/parts_parser.hpp +3 -7
  591. data/ext/third_party/json/include/tao/json/self_contained.hpp +6 -18
  592. data/ext/third_party/json/include/tao/json/span.hpp +94 -166
  593. data/ext/third_party/json/include/tao/json/ubjson.hpp +1 -0
  594. data/ext/third_party/json/include/tao/json/ubjson/consume_file.hpp +7 -7
  595. data/ext/third_party/json/include/tao/json/ubjson/events/from_binary.hpp +43 -0
  596. data/ext/third_party/json/include/tao/json/ubjson/events/from_file.hpp +4 -4
  597. data/ext/third_party/json/include/tao/json/ubjson/events/from_string.hpp +3 -3
  598. data/ext/third_party/json/include/tao/json/ubjson/from_binary.hpp +32 -0
  599. data/ext/third_party/json/include/tao/json/ubjson/from_file.hpp +5 -5
  600. data/ext/third_party/json/include/tao/json/ubjson/internal/grammar.hpp +5 -3
  601. data/ext/third_party/json/include/tao/json/utf8.hpp +1 -1
  602. data/ext/third_party/snappy/snappy.cc +6 -2
  603. data/ext/third_party/spdlog/CMakeLists.txt +24 -57
  604. data/ext/third_party/spdlog/cmake/version.rc.in +1 -1
  605. data/ext/third_party/spdlog/include/spdlog/async.h +3 -3
  606. data/ext/third_party/spdlog/include/spdlog/cfg/argv.h +3 -4
  607. data/ext/third_party/spdlog/include/spdlog/cfg/env.h +6 -4
  608. data/ext/third_party/spdlog/include/spdlog/cfg/helpers-inl.h +22 -6
  609. data/ext/third_party/spdlog/include/spdlog/cfg/helpers.h +3 -2
  610. data/ext/third_party/spdlog/include/spdlog/common.h +1 -2
  611. data/ext/third_party/spdlog/include/spdlog/details/fmt_helper.h +9 -1
  612. data/ext/third_party/spdlog/include/spdlog/details/os.h +1 -1
  613. data/ext/third_party/spdlog/include/spdlog/details/registry-inl.h +21 -7
  614. data/ext/third_party/spdlog/include/spdlog/details/registry.h +6 -3
  615. data/ext/third_party/spdlog/include/spdlog/details/synchronous_factory.h +1 -1
  616. data/ext/third_party/spdlog/include/spdlog/details/tcp_client-windows.h +1 -1
  617. data/ext/third_party/spdlog/include/spdlog/details/tcp_client.h +8 -7
  618. data/ext/third_party/spdlog/include/spdlog/fmt/bin_to_hex.h +2 -2
  619. data/ext/third_party/spdlog/include/spdlog/fmt/bundled/chrono.h +66 -62
  620. data/ext/third_party/spdlog/include/spdlog/fmt/bundled/color.h +35 -37
  621. data/ext/third_party/spdlog/include/spdlog/fmt/bundled/compile.h +173 -103
  622. data/ext/third_party/spdlog/include/spdlog/fmt/bundled/core.h +538 -445
  623. data/ext/third_party/spdlog/include/spdlog/fmt/bundled/format-inl.h +114 -64
  624. data/ext/third_party/spdlog/include/spdlog/fmt/bundled/format.h +1152 -1071
  625. data/ext/third_party/spdlog/include/spdlog/fmt/bundled/locale.h +16 -16
  626. data/ext/third_party/spdlog/include/spdlog/fmt/bundled/os.h +450 -0
  627. data/ext/third_party/spdlog/include/spdlog/fmt/bundled/ostream.h +37 -13
  628. data/ext/third_party/spdlog/include/spdlog/fmt/bundled/posix.h +1 -1
  629. data/ext/third_party/spdlog/include/spdlog/fmt/bundled/printf.h +93 -63
  630. data/ext/third_party/spdlog/include/spdlog/fmt/bundled/ranges.h +35 -36
  631. data/ext/third_party/spdlog/include/spdlog/fmt/chrono.h +20 -0
  632. data/ext/third_party/spdlog/include/spdlog/fmt/fmt.h +2 -0
  633. data/ext/third_party/spdlog/include/spdlog/logger-inl.h +5 -1
  634. data/ext/third_party/spdlog/include/spdlog/logger.h +50 -76
  635. data/ext/third_party/spdlog/include/spdlog/pattern_formatter-inl.h +23 -8
  636. data/ext/third_party/spdlog/include/spdlog/pattern_formatter.h +3 -3
  637. data/ext/third_party/spdlog/include/spdlog/sinks/daily_file_sink.h +1 -1
  638. data/ext/third_party/spdlog/include/spdlog/sinks/msvc_sink.h +5 -5
  639. data/ext/third_party/spdlog/include/spdlog/sinks/ringbuffer_sink.h +6 -4
  640. data/ext/third_party/spdlog/include/spdlog/sinks/stdout_sinks-inl.h +32 -3
  641. data/ext/third_party/spdlog/include/spdlog/sinks/stdout_sinks.h +7 -0
  642. data/ext/third_party/spdlog/include/spdlog/sinks/wincolor_sink-inl.h +4 -14
  643. data/ext/third_party/spdlog/include/spdlog/spdlog-inl.h +11 -1
  644. data/ext/third_party/spdlog/include/spdlog/spdlog.h +23 -68
  645. data/ext/third_party/spdlog/include/spdlog/stopwatch.h +61 -0
  646. data/ext/third_party/spdlog/include/spdlog/version.h +2 -2
  647. data/ext/third_party/spdlog/src/fmt.cpp +21 -147
  648. data/lib/couchbase/cluster.rb +111 -1
  649. data/lib/couchbase/collection_options.rb +18 -1
  650. data/lib/couchbase/errors.rb +3 -0
  651. data/lib/couchbase/libcouchbase.bundle +0 -0
  652. data/lib/couchbase/management/bucket_manager.rb +36 -3
  653. data/lib/couchbase/management/search_index_manager.rb +42 -1
  654. data/lib/couchbase/management/user_manager.rb +155 -48
  655. data/lib/couchbase/query_options.rb +7 -0
  656. data/lib/couchbase/scope.rb +1 -0
  657. data/lib/couchbase/search_options.rb +69 -1
  658. data/lib/couchbase/version.rb +1 -1
  659. metadata +171 -267
  660. data/.rubocop.yml +0 -227
  661. data/.rubocop_todo.yml +0 -47
  662. data/.yardopts +0 -1
  663. data/CONTRIBUTING.md +0 -110
  664. data/Gemfile +0 -37
  665. data/Rakefile +0 -51
  666. data/couchbase.gemspec +0 -79
  667. data/examples/analytics.rb +0 -236
  668. data/examples/auth.rb +0 -33
  669. data/examples/crud.rb +0 -34
  670. data/examples/managing_analytics_indexes.rb +0 -86
  671. data/examples/managing_buckets.rb +0 -61
  672. data/examples/managing_collections.rb +0 -71
  673. data/examples/managing_query_indexes.rb +0 -83
  674. data/examples/managing_search_indexes.rb +0 -77
  675. data/examples/managing_view_indexes.rb +0 -68
  676. data/examples/query.rb +0 -32
  677. data/examples/query_with_consistency.rb +0 -86
  678. data/examples/search.rb +0 -202
  679. data/examples/search_with_consistency.rb +0 -97
  680. data/examples/subdocument.rb +0 -63
  681. data/examples/view.rb +0 -59
  682. data/ext/.clang-format +0 -15
  683. data/ext/.clang-tidy +0 -22
  684. data/ext/.cmake-format.yaml +0 -8
  685. data/ext/.gitignore +0 -2
  686. data/ext/.idea/.name +0 -1
  687. data/ext/.idea/dictionaries/couchbase_terms.xml +0 -14
  688. data/ext/.idea/ext.iml +0 -2
  689. data/ext/.idea/misc.xml +0 -16
  690. data/ext/.idea/modules.xml +0 -8
  691. data/ext/.idea/vcs.xml +0 -12
  692. data/ext/test/main.cxx +0 -184
  693. data/ext/third_party/asio/.appveyor.yml +0 -107
  694. data/ext/third_party/asio/.cirrus.yml +0 -16
  695. data/ext/third_party/asio/.gitignore +0 -3
  696. data/ext/third_party/asio/.travis.yml +0 -323
  697. data/ext/third_party/asio/asio/.gitignore +0 -23
  698. data/ext/third_party/asio/asio/COPYING +0 -4
  699. data/ext/third_party/asio/asio/INSTALL +0 -5
  700. data/ext/third_party/asio/asio/LICENSE_1_0.txt +0 -23
  701. data/ext/third_party/asio/asio/Makefile.am +0 -19
  702. data/ext/third_party/asio/asio/README +0 -4
  703. data/ext/third_party/asio/asio/asio.manifest +0 -4865
  704. data/ext/third_party/asio/asio/autogen.sh +0 -55
  705. data/ext/third_party/asio/asio/boost_asio.manifest +0 -5193
  706. data/ext/third_party/asio/asio/boostify.pl +0 -603
  707. data/ext/third_party/asio/asio/configure.ac +0 -182
  708. data/ext/third_party/asio/asio/include/.gitignore +0 -2
  709. data/ext/third_party/asio/asio/include/Makefile.am +0 -484
  710. data/ext/third_party/asio/asio/include/asio/detail/io_object_executor.hpp +0 -167
  711. data/ext/third_party/asio/asio/include/asio/impl/src.cpp +0 -25
  712. data/ext/third_party/asio/asio/release.pl +0 -440
  713. data/ext/third_party/asio/asio/src/.gitignore +0 -11
  714. data/ext/third_party/asio/asio/src/Makefile.am +0 -23
  715. data/ext/third_party/asio/asio/src/Makefile.mgw +0 -204
  716. data/ext/third_party/asio/asio/src/Makefile.msc +0 -497
  717. data/ext/third_party/asio/asio/src/asio.cpp +0 -11
  718. data/ext/third_party/asio/asio/src/asio_ssl.cpp +0 -11
  719. data/ext/third_party/asio/asio/src/doc/.gitignore +0 -5
  720. data/ext/third_party/asio/asio/src/doc/Jamfile.v2 +0 -62
  721. data/ext/third_party/asio/asio/src/doc/asio.png +0 -0
  722. data/ext/third_party/asio/asio/src/doc/asio.qbk +0 -127
  723. data/ext/third_party/asio/asio/src/doc/asioref.sty +0 -90
  724. data/ext/third_party/asio/asio/src/doc/asioref.xsl +0 -94
  725. data/ext/third_party/asio/asio/src/doc/boost_bind_dox.txt +0 -5
  726. data/ext/third_party/asio/asio/src/doc/doxy2qbk.pl +0 -22
  727. data/ext/third_party/asio/asio/src/doc/examples.qbk +0 -564
  728. data/ext/third_party/asio/asio/src/doc/history.qbk +0 -1794
  729. data/ext/third_party/asio/asio/src/doc/index.xml +0 -13
  730. data/ext/third_party/asio/asio/src/doc/makepdf.pl +0 -26
  731. data/ext/third_party/asio/asio/src/doc/net_ts.qbk +0 -479
  732. data/ext/third_party/asio/asio/src/doc/noncopyable_dox.txt +0 -3
  733. data/ext/third_party/asio/asio/src/doc/overview.qbk +0 -103
  734. data/ext/third_party/asio/asio/src/doc/overview/allocation.qbk +0 -89
  735. data/ext/third_party/asio/asio/src/doc/overview/async.qbk +0 -185
  736. data/ext/third_party/asio/asio/src/doc/overview/async_op1.dot +0 -78
  737. data/ext/third_party/asio/asio/src/doc/overview/async_op1.png +0 -0
  738. data/ext/third_party/asio/asio/src/doc/overview/async_op2.dot +0 -78
  739. data/ext/third_party/asio/asio/src/doc/overview/async_op2.png +0 -0
  740. data/ext/third_party/asio/asio/src/doc/overview/basics.qbk +0 -106
  741. data/ext/third_party/asio/asio/src/doc/overview/bsd_sockets.qbk +0 -270
  742. data/ext/third_party/asio/asio/src/doc/overview/buffers.qbk +0 -163
  743. data/ext/third_party/asio/asio/src/doc/overview/concurrency_hint.qbk +0 -88
  744. data/ext/third_party/asio/asio/src/doc/overview/coroutine.qbk +0 -51
  745. data/ext/third_party/asio/asio/src/doc/overview/coroutines_ts.qbk +0 -97
  746. data/ext/third_party/asio/asio/src/doc/overview/cpp2011.qbk +0 -271
  747. data/ext/third_party/asio/asio/src/doc/overview/handler_tracking.qbk +0 -220
  748. data/ext/third_party/asio/asio/src/doc/overview/implementation.qbk +0 -305
  749. data/ext/third_party/asio/asio/src/doc/overview/iostreams.qbk +0 -72
  750. data/ext/third_party/asio/asio/src/doc/overview/line_based.qbk +0 -118
  751. data/ext/third_party/asio/asio/src/doc/overview/other_protocols.qbk +0 -94
  752. data/ext/third_party/asio/asio/src/doc/overview/posix.qbk +0 -152
  753. data/ext/third_party/asio/asio/src/doc/overview/proactor.dot +0 -100
  754. data/ext/third_party/asio/asio/src/doc/overview/proactor.png +0 -0
  755. data/ext/third_party/asio/asio/src/doc/overview/protocols.qbk +0 -149
  756. data/ext/third_party/asio/asio/src/doc/overview/rationale.qbk +0 -54
  757. data/ext/third_party/asio/asio/src/doc/overview/reactor.qbk +0 -44
  758. data/ext/third_party/asio/asio/src/doc/overview/serial_ports.qbk +0 -45
  759. data/ext/third_party/asio/asio/src/doc/overview/signals.qbk +0 -44
  760. data/ext/third_party/asio/asio/src/doc/overview/spawn.qbk +0 -102
  761. data/ext/third_party/asio/asio/src/doc/overview/ssl.qbk +0 -124
  762. data/ext/third_party/asio/asio/src/doc/overview/strands.qbk +0 -114
  763. data/ext/third_party/asio/asio/src/doc/overview/streams.qbk +0 -62
  764. data/ext/third_party/asio/asio/src/doc/overview/sync_op.dot +0 -67
  765. data/ext/third_party/asio/asio/src/doc/overview/sync_op.png +0 -0
  766. data/ext/third_party/asio/asio/src/doc/overview/threads.qbk +0 -67
  767. data/ext/third_party/asio/asio/src/doc/overview/timers.qbk +0 -52
  768. data/ext/third_party/asio/asio/src/doc/overview/windows.qbk +0 -126
  769. data/ext/third_party/asio/asio/src/doc/project-root.jam +0 -1
  770. data/ext/third_party/asio/asio/src/doc/quickref.xml +0 -561
  771. data/ext/third_party/asio/asio/src/doc/reference.dox +0 -264
  772. data/ext/third_party/asio/asio/src/doc/reference.qbk +0 -125973
  773. data/ext/third_party/asio/asio/src/doc/reference.xsl +0 -1831
  774. data/ext/third_party/asio/asio/src/doc/release_checklist.htm +0 -68
  775. data/ext/third_party/asio/asio/src/doc/requirements/AcceptHandler.qbk +0 -72
  776. data/ext/third_party/asio/asio/src/doc/requirements/AcceptableProtocol.qbk +0 -25
  777. data/ext/third_party/asio/asio/src/doc/requirements/AsyncRandomAccessReadDevice.qbk +0 -56
  778. data/ext/third_party/asio/asio/src/doc/requirements/AsyncRandomAccessWriteDevice.qbk +0 -57
  779. data/ext/third_party/asio/asio/src/doc/requirements/AsyncReadStream.qbk +0 -50
  780. data/ext/third_party/asio/asio/src/doc/requirements/AsyncWriteStream.qbk +0 -48
  781. data/ext/third_party/asio/asio/src/doc/requirements/BufferedHandshakeHandler.qbk +0 -55
  782. data/ext/third_party/asio/asio/src/doc/requirements/CompletionCondition.qbk +0 -42
  783. data/ext/third_party/asio/asio/src/doc/requirements/CompletionHandler.qbk +0 -63
  784. data/ext/third_party/asio/asio/src/doc/requirements/ConnectCondition.qbk +0 -34
  785. data/ext/third_party/asio/asio/src/doc/requirements/ConnectHandler.qbk +0 -72
  786. data/ext/third_party/asio/asio/src/doc/requirements/ConstBufferSequence.qbk +0 -53
  787. data/ext/third_party/asio/asio/src/doc/requirements/DynamicBuffer.qbk +0 -16
  788. data/ext/third_party/asio/asio/src/doc/requirements/DynamicBuffer_v1.qbk +0 -93
  789. data/ext/third_party/asio/asio/src/doc/requirements/DynamicBuffer_v2.qbk +0 -94
  790. data/ext/third_party/asio/asio/src/doc/requirements/Endpoint.qbk +0 -97
  791. data/ext/third_party/asio/asio/src/doc/requirements/EndpointSequence.qbk +0 -30
  792. data/ext/third_party/asio/asio/src/doc/requirements/ExecutionContext.qbk +0 -36
  793. data/ext/third_party/asio/asio/src/doc/requirements/Executor.qbk +0 -141
  794. data/ext/third_party/asio/asio/src/doc/requirements/GettableSerialPortOption.qbk +0 -33
  795. data/ext/third_party/asio/asio/src/doc/requirements/GettableSocketOption.qbk +0 -67
  796. data/ext/third_party/asio/asio/src/doc/requirements/Handler.qbk +0 -64
  797. data/ext/third_party/asio/asio/src/doc/requirements/HandshakeHandler.qbk +0 -72
  798. data/ext/third_party/asio/asio/src/doc/requirements/InternetProtocol.qbk +0 -47
  799. data/ext/third_party/asio/asio/src/doc/requirements/IoControlCommand.qbk +0 -34
  800. data/ext/third_party/asio/asio/src/doc/requirements/IoObjectService.qbk +0 -62
  801. data/ext/third_party/asio/asio/src/doc/requirements/IteratorConnectHandler.qbk +0 -81
  802. data/ext/third_party/asio/asio/src/doc/requirements/LegacyCompletionHandler.qbk +0 -65
  803. data/ext/third_party/asio/asio/src/doc/requirements/MoveAcceptHandler.qbk +0 -61
  804. data/ext/third_party/asio/asio/src/doc/requirements/MutableBufferSequence.qbk +0 -54
  805. data/ext/third_party/asio/asio/src/doc/requirements/ProtoAllocator.qbk +0 -19
  806. data/ext/third_party/asio/asio/src/doc/requirements/Protocol.qbk +0 -56
  807. data/ext/third_party/asio/asio/src/doc/requirements/RangeConnectHandler.qbk +0 -82
  808. data/ext/third_party/asio/asio/src/doc/requirements/ReadHandler.qbk +0 -79
  809. data/ext/third_party/asio/asio/src/doc/requirements/ResolveHandler.qbk +0 -82
  810. data/ext/third_party/asio/asio/src/doc/requirements/Service.qbk +0 -40
  811. data/ext/third_party/asio/asio/src/doc/requirements/SettableSerialPortOption.qbk +0 -33
  812. data/ext/third_party/asio/asio/src/doc/requirements/SettableSocketOption.qbk +0 -54
  813. data/ext/third_party/asio/asio/src/doc/requirements/ShutdownHandler.qbk +0 -72
  814. data/ext/third_party/asio/asio/src/doc/requirements/SignalHandler.qbk +0 -79
  815. data/ext/third_party/asio/asio/src/doc/requirements/SyncRandomAccessReadDevice.qbk +0 -49
  816. data/ext/third_party/asio/asio/src/doc/requirements/SyncRandomAccessWriteDevice.qbk +0 -49
  817. data/ext/third_party/asio/asio/src/doc/requirements/SyncReadStream.qbk +0 -41
  818. data/ext/third_party/asio/asio/src/doc/requirements/SyncWriteStream.qbk +0 -39
  819. data/ext/third_party/asio/asio/src/doc/requirements/TimeTraits.qbk +0 -72
  820. data/ext/third_party/asio/asio/src/doc/requirements/WaitHandler.qbk +0 -72
  821. data/ext/third_party/asio/asio/src/doc/requirements/WaitTraits.qbk +0 -52
  822. data/ext/third_party/asio/asio/src/doc/requirements/WriteHandler.qbk +0 -79
  823. data/ext/third_party/asio/asio/src/doc/requirements/asynchronous_operations.qbk +0 -300
  824. data/ext/third_party/asio/asio/src/doc/requirements/asynchronous_socket_operations.qbk +0 -39
  825. data/ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk +0 -34
  826. data/ext/third_party/asio/asio/src/doc/requirements/synchronous_socket_operations.qbk +0 -37
  827. data/ext/third_party/asio/asio/src/doc/std_exception_dox.txt +0 -7
  828. data/ext/third_party/asio/asio/src/doc/tutorial.dox +0 -226
  829. data/ext/third_party/asio/asio/src/doc/tutorial.qbk +0 -2387
  830. data/ext/third_party/asio/asio/src/doc/tutorial.xsl +0 -437
  831. data/ext/third_party/asio/asio/src/doc/using.qbk +0 -309
  832. data/ext/third_party/asio/asio/tsify.pl +0 -574
  833. data/ext/third_party/gsl/.clang-format +0 -34
  834. data/ext/third_party/gsl/.github/workflows/main.yml +0 -94
  835. data/ext/third_party/gsl/.gitignore +0 -16
  836. data/ext/third_party/gsl/.travis.yml +0 -551
  837. data/ext/third_party/gsl/CMakeSettings.json +0 -18
  838. data/ext/third_party/gsl/CONTRIBUTING.md +0 -29
  839. data/ext/third_party/gsl/GSL.natvis +0 -98
  840. data/ext/third_party/gsl/README.md +0 -124
  841. data/ext/third_party/gsl/appveyor.yml +0 -128
  842. data/ext/third_party/http_parser/.gitignore +0 -30
  843. data/ext/third_party/http_parser/.mailmap +0 -8
  844. data/ext/third_party/http_parser/.travis.yml +0 -13
  845. data/ext/third_party/http_parser/AUTHORS +0 -68
  846. data/ext/third_party/http_parser/Makefile +0 -160
  847. data/ext/third_party/http_parser/README.md +0 -246
  848. data/ext/third_party/http_parser/bench.c +0 -128
  849. data/ext/third_party/http_parser/http_parser.gyp +0 -111
  850. data/ext/third_party/http_parser/test.c +0 -4600
  851. data/ext/third_party/json/.appveyor.yml +0 -44
  852. data/ext/third_party/json/.clang-format +0 -84
  853. data/ext/third_party/json/.conan/build.py +0 -80
  854. data/ext/third_party/json/.conan/test_package/CMakeLists.txt +0 -12
  855. data/ext/third_party/json/.conan/test_package/conanfile.py +0 -24
  856. data/ext/third_party/json/.conan/test_package/test_package.cpp +0 -16
  857. data/ext/third_party/json/.gitignore +0 -3
  858. data/ext/third_party/json/.travis.yml +0 -173
  859. data/ext/third_party/json/Makefile +0 -77
  860. data/ext/third_party/json/README.md +0 -149
  861. data/ext/third_party/json/conanfile.py +0 -28
  862. data/ext/third_party/json/include/tao/json/external/pegtl/analysis/analyze_cycles.hpp +0 -127
  863. data/ext/third_party/json/include/tao/json/external/pegtl/analysis/counted.hpp +0 -23
  864. data/ext/third_party/json/include/tao/json/external/pegtl/analysis/generic.hpp +0 -31
  865. data/ext/third_party/json/include/tao/json/external/pegtl/analysis/grammar_info.hpp +0 -32
  866. data/ext/third_party/json/include/tao/json/external/pegtl/analysis/insert_guard.hpp +0 -51
  867. data/ext/third_party/json/include/tao/json/external/pegtl/analysis/insert_rules.hpp +0 -25
  868. data/ext/third_party/json/include/tao/json/external/pegtl/analysis/rule_info.hpp +0 -29
  869. data/ext/third_party/json/include/tao/json/external/pegtl/analysis/rule_type.hpp +0 -21
  870. data/ext/third_party/json/include/tao/json/external/pegtl/analyze.hpp +0 -21
  871. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/counter.hpp +0 -54
  872. data/ext/third_party/json/include/tao/json/external/pegtl/contrib/tracer.hpp +0 -158
  873. data/ext/third_party/json/include/tao/json/external/pegtl/internal/alnum.hpp +0 -18
  874. data/ext/third_party/json/include/tao/json/external/pegtl/internal/alpha.hpp +0 -18
  875. data/ext/third_party/json/include/tao/json/external/pegtl/internal/dusel_mode.hpp +0 -23
  876. data/ext/third_party/json/include/tao/json/external/pegtl/internal/duseltronik.hpp +0 -187
  877. data/ext/third_party/json/include/tao/json/external/pegtl/internal/file_opener.hpp +0 -72
  878. data/ext/third_party/json/include/tao/json/external/pegtl/internal/trivial.hpp +0 -32
  879. data/ext/third_party/snappy/.appveyor.yml +0 -36
  880. data/ext/third_party/snappy/.gitignore +0 -8
  881. data/ext/third_party/snappy/.travis.yml +0 -98
  882. data/ext/third_party/snappy/AUTHORS +0 -1
  883. data/ext/third_party/snappy/CONTRIBUTING.md +0 -26
  884. data/ext/third_party/snappy/NEWS +0 -188
  885. data/ext/third_party/snappy/README.md +0 -148
  886. data/ext/third_party/snappy/docs/README.md +0 -72
  887. data/ext/third_party/snappy/format_description.txt +0 -110
  888. data/ext/third_party/snappy/framing_format.txt +0 -135
  889. data/ext/third_party/snappy/snappy-test.cc +0 -613
  890. data/ext/third_party/snappy/snappy-test.h +0 -526
  891. data/ext/third_party/snappy/snappy_compress_fuzzer.cc +0 -60
  892. data/ext/third_party/snappy/snappy_uncompress_fuzzer.cc +0 -58
  893. data/ext/third_party/snappy/snappy_unittest.cc +0 -1512
  894. data/ext/third_party/spdlog/.clang-format +0 -108
  895. data/ext/third_party/spdlog/.clang-tidy +0 -54
  896. data/ext/third_party/spdlog/.gitattributes +0 -1
  897. data/ext/third_party/spdlog/.gitignore +0 -83
  898. data/ext/third_party/spdlog/.travis.yml +0 -112
  899. data/ext/third_party/spdlog/INSTALL +0 -24
  900. data/ext/third_party/spdlog/README.md +0 -423
  901. data/ext/third_party/spdlog/appveyor.yml +0 -51
  902. data/ext/third_party/spdlog/include/spdlog/cfg/log_levels.h +0 -47
@@ -1,1831 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3
-
4
- <!--
5
- Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6
-
7
- Distributed under the Boost Software License, Version 1.0. (See accompanying
8
- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9
- -->
10
-
11
- <xsl:output method="text"/>
12
- <xsl:strip-space elements="*"/>
13
- <xsl:preserve-space elements="para"/>
14
-
15
-
16
- <xsl:variable name="newline">
17
- <xsl:text>
18
- </xsl:text>
19
- </xsl:variable>
20
-
21
-
22
- <xsl:variable name="all-compounddefs" select="/doxygen//compounddef"/>
23
- <xsl:variable name="all-memberdefs" select="/doxygen//memberdef"/>
24
-
25
-
26
- <!--
27
- Loop over all top-level documentation elements (i.e. classes, functions,
28
- variables and typedefs at namespace scope). The elements are sorted by name.
29
- Anything in a "detail" namespace or with "_handler" in the name is skipped.
30
- -->
31
- <xsl:template match="/doxygen">
32
- <xsl:text>[/
33
- / Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com)
34
- /
35
- / Distributed under the Boost Software License, Version 1.0. (See accompanying
36
- / file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
37
- /]
38
-
39
- [section:reference Reference]
40
-
41
- [xinclude quickref.xml]
42
-
43
- [include requirements/asynchronous_operations.qbk]
44
- [include requirements/read_write_operations.qbk]
45
- [include requirements/synchronous_socket_operations.qbk]
46
- [include requirements/asynchronous_socket_operations.qbk]
47
- [include requirements/AcceptableProtocol.qbk]
48
- [include requirements/AcceptHandler.qbk]
49
- [include requirements/AsyncRandomAccessReadDevice.qbk]
50
- [include requirements/AsyncRandomAccessWriteDevice.qbk]
51
- [include requirements/AsyncReadStream.qbk]
52
- [include requirements/AsyncWriteStream.qbk]
53
- [include requirements/BufferedHandshakeHandler.qbk]
54
- [include requirements/CompletionCondition.qbk]
55
- [include requirements/CompletionHandler.qbk]
56
- [include requirements/ConnectCondition.qbk]
57
- [include requirements/ConnectHandler.qbk]
58
- [include requirements/ConstBufferSequence.qbk]
59
- [include requirements/DynamicBuffer.qbk]
60
- [include requirements/DynamicBuffer_v1.qbk]
61
- [include requirements/DynamicBuffer_v2.qbk]
62
- [include requirements/Endpoint.qbk]
63
- [include requirements/EndpointSequence.qbk]
64
- [include requirements/ExecutionContext.qbk]
65
- [include requirements/Executor.qbk]
66
- [include requirements/GettableSerialPortOption.qbk]
67
- [include requirements/GettableSocketOption.qbk]
68
- [include requirements/Handler.qbk]
69
- [include requirements/HandshakeHandler.qbk]
70
- [include requirements/InternetProtocol.qbk]
71
- [include requirements/IoControlCommand.qbk]
72
- [include requirements/IoObjectService.qbk]
73
- [include requirements/IteratorConnectHandler.qbk]
74
- [include requirements/LegacyCompletionHandler.qbk]
75
- [include requirements/MoveAcceptHandler.qbk]
76
- [include requirements/MutableBufferSequence.qbk]
77
- [include requirements/ProtoAllocator.qbk]
78
- [include requirements/Protocol.qbk]
79
- [include requirements/RangeConnectHandler.qbk]
80
- [include requirements/ReadHandler.qbk]
81
- [include requirements/ResolveHandler.qbk]
82
- [include requirements/Service.qbk]
83
- [include requirements/SettableSerialPortOption.qbk]
84
- [include requirements/SettableSocketOption.qbk]
85
- [include requirements/ShutdownHandler.qbk]
86
- [include requirements/SignalHandler.qbk]
87
- [include requirements/SyncRandomAccessReadDevice.qbk]
88
- [include requirements/SyncRandomAccessWriteDevice.qbk]
89
- [include requirements/SyncReadStream.qbk]
90
- [include requirements/SyncWriteStream.qbk]
91
- [include requirements/TimeTraits.qbk]
92
- [include requirements/WaitHandler.qbk]
93
- [include requirements/WaitTraits.qbk]
94
- [include requirements/WriteHandler.qbk]
95
-
96
- </xsl:text>
97
-
98
- <xsl:for-each select="
99
- compounddef[@kind = 'class' or @kind = 'struct'] |
100
- compounddef[@kind = 'namespace']/sectiondef[1]/memberdef">
101
- <xsl:sort select="concat((. | ancestor::*)/compoundname, '::', name, ':x')"/>
102
- <xsl:sort select="name"/>
103
- <xsl:choose>
104
- <xsl:when test="@kind='class' or @kind='struct'">
105
- <xsl:if test="
106
- contains(compoundname, 'asio::') and
107
- not(contains(compoundname, '::detail')) and
108
- not(contains(compoundname, '::service::key')) and
109
- not(contains(compoundname, '_handler')) and
110
- not(contains(compoundname, 'std_allocator_void')) and
111
- not(contains(compoundname, 'thread_function')) and
112
- not(contains(compoundname, 'context_impl')) and
113
- not(contains(compoundname, 'initiate_'))">
114
- <xsl:call-template name="class"/>
115
- </xsl:if>
116
- </xsl:when>
117
- <xsl:otherwise>
118
- <xsl:if test="
119
- not(contains(ancestor::*/compoundname, '::detail')) and
120
- not(contains(ancestor::*/compoundname, '::service::key')) and
121
- not(contains(ancestor::*/compoundname, '_helper')) and
122
- not(contains(ancestor::*/compoundname, 'initiate_')) and
123
- not(contains(name, '_helper')) and
124
- not(contains(name, 'std_allocator_void')) and
125
- not(contains(name, 'thread_function')) and
126
- not(contains(name, 'io_context_impl')) and
127
- not(contains(name, 'initiate_'))">
128
- <xsl:call-template name="namespace-memberdef"/>
129
- </xsl:if>
130
- </xsl:otherwise>
131
- </xsl:choose>
132
- </xsl:for-each>
133
-
134
- <xsl:value-of select="$newline"/>
135
- <xsl:text>[endsect]</xsl:text>
136
-
137
- </xsl:template>
138
-
139
-
140
- <!--========== Utilities ==========-->
141
-
142
- <xsl:template name="strip-asio-ns">
143
- <xsl:param name="name"/>
144
- <xsl:choose>
145
- <xsl:when test="contains($name, 'boost::system::is_error_code_enum')">
146
- <xsl:value-of select="$name"/>
147
- </xsl:when>
148
- <xsl:when test="contains($name, 'asio::')">
149
- <xsl:value-of select="substring-after($name, 'asio::')"/>
150
- </xsl:when>
151
- <xsl:otherwise>
152
- <xsl:value-of select="$name"/>
153
- </xsl:otherwise>
154
- </xsl:choose>
155
- </xsl:template>
156
-
157
-
158
- <xsl:template name="strip-ns">
159
- <xsl:param name="name"/>
160
- <xsl:choose>
161
- <xsl:when test="contains($name, 'boost::system::is_error_code_enum')">
162
- <xsl:value-of select="$name"/>
163
- </xsl:when>
164
- <xsl:when test="contains($name, '::') and contains($name, '&lt;')">
165
- <xsl:choose>
166
- <xsl:when test="string-length(substring-before($name, '::')) &lt; string-length(substring-before($name, '&lt;'))">
167
- <xsl:call-template name="strip-ns">
168
- <xsl:with-param name="name" select="substring-after($name, '::')"/>
169
- </xsl:call-template>
170
- </xsl:when>
171
- <xsl:otherwise>
172
- <xsl:value-of select="$name"/>
173
- </xsl:otherwise>
174
- </xsl:choose>
175
- </xsl:when>
176
- <xsl:when test="contains($name, '::')">
177
- <xsl:call-template name="strip-ns">
178
- <xsl:with-param name="name" select="substring-after($name, '::')"/>
179
- </xsl:call-template>
180
- </xsl:when>
181
- <xsl:otherwise>
182
- <xsl:value-of select="$name"/>
183
- </xsl:otherwise>
184
- </xsl:choose>
185
- </xsl:template>
186
-
187
-
188
- <xsl:template name="cleanup-type">
189
- <xsl:param name="name"/>
190
- <xsl:variable name="type">
191
- <xsl:choose>
192
- <xsl:when test="contains($name, 'ASIO_DECL ')">
193
- <xsl:value-of select="substring-after($name, 'ASIO_DECL ')"/>
194
- </xsl:when>
195
- <xsl:when test="contains($name, 'ASIO_DECL')">
196
- <xsl:value-of select="substring-after($name, 'ASIO_DECL')"/>
197
- </xsl:when>
198
- <xsl:when test="$name = 'virtual'"></xsl:when>
199
- <xsl:otherwise>
200
- <xsl:value-of select="$name"/>
201
- </xsl:otherwise>
202
- </xsl:choose>
203
- </xsl:variable>
204
- <xsl:choose>
205
- <xsl:when test="$type='void_or_deduced'">
206
- <xsl:text>``[link asio.reference.asynchronous_operations.automatic_deduction_of_initiating_function_return_type ['DEDUCED]]``</xsl:text>
207
- </xsl:when>
208
- <xsl:otherwise>
209
- <xsl:value-of select="$type"/>
210
- </xsl:otherwise>
211
- </xsl:choose>
212
- </xsl:template>
213
-
214
-
215
- <xsl:template name="make-id">
216
- <xsl:param name="name"/>
217
- <xsl:choose>
218
- <xsl:when test="contains($name, 'boost::system::')">
219
- <xsl:call-template name="make-id">
220
- <xsl:with-param name="name"
221
- select="substring-after($name, 'boost::system::')"/>
222
- </xsl:call-template>
223
- </xsl:when>
224
- <xsl:when test="contains($name, 'boost::asio::error::')">
225
- <xsl:call-template name="make-id">
226
- <xsl:with-param name="name"
227
- select="concat(substring-before($name, 'boost::asio::error::'), substring-after($name, 'boost::asio::error::'))"/>
228
- </xsl:call-template>
229
- </xsl:when>
230
- <xsl:when test="contains($name, '::')">
231
- <xsl:call-template name="make-id">
232
- <xsl:with-param name="name"
233
- select="concat(substring-before($name, '::'), '__', substring-after($name, '::'))"/>
234
- </xsl:call-template>
235
- </xsl:when>
236
- <xsl:when test="contains($name, '=')">
237
- <xsl:call-template name="make-id">
238
- <xsl:with-param name="name"
239
- select="concat(substring-before($name, '='), '_eq_', substring-after($name, '='))"/>
240
- </xsl:call-template>
241
- </xsl:when>
242
- <xsl:when test="contains($name, '!')">
243
- <xsl:call-template name="make-id">
244
- <xsl:with-param name="name"
245
- select="concat(substring-before($name, '!'), '_not_', substring-after($name, '!'))"/>
246
- </xsl:call-template>
247
- </xsl:when>
248
- <xsl:when test="contains($name, '-&gt;')">
249
- <xsl:call-template name="make-id">
250
- <xsl:with-param name="name"
251
- select="concat(substring-before($name, '-&gt;'), '_arrow_', substring-after($name, '-&gt;'))"/>
252
- </xsl:call-template>
253
- </xsl:when>
254
- <xsl:when test="contains($name, '&lt;')">
255
- <xsl:call-template name="make-id">
256
- <xsl:with-param name="name"
257
- select="concat(substring-before($name, '&lt;'), '_lt_', substring-after($name, '&lt;'))"/>
258
- </xsl:call-template>
259
- </xsl:when>
260
- <xsl:when test="contains($name, '&gt;')">
261
- <xsl:call-template name="make-id">
262
- <xsl:with-param name="name"
263
- select="concat(substring-before($name, '&gt;'), '_gt_', substring-after($name, '&gt;'))"/>
264
- </xsl:call-template>
265
- </xsl:when>
266
- <xsl:when test="contains($name, '[')">
267
- <xsl:call-template name="make-id">
268
- <xsl:with-param name="name"
269
- select="concat(substring-before($name, '['), '_lb_', substring-after($name, '['))"/>
270
- </xsl:call-template>
271
- </xsl:when>
272
- <xsl:when test="contains($name, ']')">
273
- <xsl:call-template name="make-id">
274
- <xsl:with-param name="name"
275
- select="concat(substring-before($name, ']'), '_rb_', substring-after($name, ']'))"/>
276
- </xsl:call-template>
277
- </xsl:when>
278
- <xsl:when test="contains($name, '(')">
279
- <xsl:call-template name="make-id">
280
- <xsl:with-param name="name"
281
- select="concat(substring-before($name, '('), '_lp_', substring-after($name, '('))"/>
282
- </xsl:call-template>
283
- </xsl:when>
284
- <xsl:when test="contains($name, ')')">
285
- <xsl:call-template name="make-id">
286
- <xsl:with-param name="name"
287
- select="concat(substring-before($name, ')'), '_rp_', substring-after($name, ')'))"/>
288
- </xsl:call-template>
289
- </xsl:when>
290
- <xsl:when test="contains($name, '+')">
291
- <xsl:call-template name="make-id">
292
- <xsl:with-param name="name"
293
- select="concat(substring-before($name, '+'), '_plus_', substring-after($name, '+'))"/>
294
- </xsl:call-template>
295
- </xsl:when>
296
- <xsl:when test="contains($name, '-')">
297
- <xsl:call-template name="make-id">
298
- <xsl:with-param name="name"
299
- select="concat(substring-before($name, '-'), '_minus_', substring-after($name, '-'))"/>
300
- </xsl:call-template>
301
- </xsl:when>
302
- <xsl:when test="contains($name, '*')">
303
- <xsl:call-template name="make-id">
304
- <xsl:with-param name="name"
305
- select="concat(substring-before($name, '*'), '_star_', substring-after($name, '*'))"/>
306
- </xsl:call-template>
307
- </xsl:when>
308
- <xsl:when test="contains($name, '~')">
309
- <xsl:call-template name="make-id">
310
- <xsl:with-param name="name"
311
- select="concat(substring-before($name, '~'), '_', substring-after($name, '~'))"/>
312
- </xsl:call-template>
313
- </xsl:when>
314
- <xsl:when test="contains($name, ',')">
315
- <xsl:call-template name="make-id">
316
- <xsl:with-param name="name"
317
- select="concat(substring-before($name, ','), '_comma_', substring-after($name, ','))"/>
318
- </xsl:call-template>
319
- </xsl:when>
320
- <xsl:when test="contains($name, '...')">
321
- <xsl:call-template name="make-id">
322
- <xsl:with-param name="name"
323
- select="concat(substring-before($name, '...'), '_ellipsis_', substring-after($name, '...'))"/>
324
- </xsl:call-template>
325
- </xsl:when>
326
- <xsl:when test="contains($name, ' ')">
327
- <xsl:call-template name="make-id">
328
- <xsl:with-param name="name"
329
- select="concat(substring-before($name, ' '), '_', substring-after($name, ' '))"/>
330
- </xsl:call-template>
331
- </xsl:when>
332
- <xsl:when test="contains($name, 'boost__posix_time__ptime')">
333
- <xsl:call-template name="make-id">
334
- <xsl:with-param name="name"
335
- select="concat(substring-before($name, 'boost__posix_time__ptime'), 'ptime', substring-after($name, 'boost__posix_time__ptime'))"/>
336
- </xsl:call-template>
337
- </xsl:when>
338
- <xsl:otherwise>
339
- <xsl:value-of select="$name"/>
340
- </xsl:otherwise>
341
- </xsl:choose>
342
- </xsl:template>
343
-
344
-
345
- <!--========== Markup ==========-->
346
-
347
- <xsl:template match="para" mode="markup">
348
- <xsl:text>
349
- </xsl:text><xsl:apply-templates mode="markup"/><xsl:text>
350
- </xsl:text>
351
- </xsl:template>
352
-
353
-
354
- <xsl:template match="para" mode="markup-nested">
355
- <xsl:apply-templates mode="markup-nested"/>
356
- </xsl:template>
357
-
358
-
359
- <xsl:template match="title" mode="markup">
360
- <xsl:variable name="title">
361
- <xsl:value-of select="."/>
362
- </xsl:variable>
363
- <xsl:if test="string-length($title) > 0">
364
- [heading <xsl:value-of select="."/>]
365
- </xsl:if>
366
- </xsl:template>
367
-
368
-
369
- <xsl:template match="programlisting" mode="markup">
370
- <xsl:value-of select="$newline"/>
371
- <xsl:value-of select="$newline"/>
372
- <xsl:apply-templates mode="codeline"/>
373
- <xsl:value-of select="$newline"/>
374
- <xsl:value-of select="$newline"/>
375
- </xsl:template>
376
-
377
-
378
- <xsl:template match="programlisting" mode="markup-nested">
379
- <xsl:value-of select="$newline"/>
380
- <xsl:text>``</xsl:text>
381
- <xsl:value-of select="$newline"/>
382
- <xsl:apply-templates mode="codeline"/>
383
- <xsl:if test="substring(., string-length(.)) = $newline">
384
- <xsl:value-of select="$newline"/>
385
- </xsl:if>
386
- <xsl:text>``</xsl:text>
387
- <xsl:value-of select="$newline"/>
388
- </xsl:template>
389
-
390
-
391
- <xsl:template match="codeline" mode="codeline">
392
- <xsl:if test="string-length(.) &gt; 0">
393
- <xsl:text> </xsl:text>
394
- </xsl:if>
395
- <xsl:apply-templates mode="codeline"/>
396
- <xsl:value-of select="$newline"/>
397
- </xsl:template>
398
-
399
-
400
- <xsl:template match="sp" mode="markup">
401
- <xsl:text> </xsl:text>
402
- </xsl:template>
403
-
404
-
405
- <xsl:template match="sp" mode="markup-nested">
406
- <xsl:text> </xsl:text>
407
- </xsl:template>
408
-
409
-
410
- <xsl:template match="sp" mode="codeline">
411
- <xsl:text> </xsl:text>
412
- </xsl:template>
413
-
414
-
415
- <xsl:template match="linebreak" mode="markup">
416
- <xsl:text>
417
-
418
- </xsl:text>
419
- </xsl:template>
420
-
421
-
422
- <xsl:template match="linebreak" mode="markup-nested">
423
- <xsl:text>
424
-
425
- </xsl:text>
426
- </xsl:template>
427
-
428
-
429
- <xsl:template match="computeroutput" mode="markup">
430
- <xsl:text>`</xsl:text><xsl:value-of select="."/><xsl:text>`</xsl:text>
431
- </xsl:template>
432
-
433
-
434
- <xsl:template match="computeroutput" mode="markup-nested">
435
- <xsl:text>`</xsl:text><xsl:value-of select="."/><xsl:text>`</xsl:text>
436
- </xsl:template>
437
-
438
-
439
- <xsl:template match="listitem" mode="markup">
440
- * <xsl:call-template name="strip-leading-whitespace">
441
- <xsl:with-param name="text">
442
- <xsl:apply-templates mode="markup"/>
443
- </xsl:with-param>
444
- </xsl:call-template>
445
- </xsl:template>
446
-
447
-
448
- <xsl:template match="bold" mode="markup">[*<xsl:apply-templates mode="markup"/>]</xsl:template>
449
-
450
-
451
- <xsl:template match="emphasis" mode="markup">['<xsl:apply-templates mode="markup"/>]</xsl:template>
452
-
453
-
454
- <xsl:template match="parameterlist" mode="markup">
455
- <xsl:choose>
456
- <xsl:when test="@kind='param'">
457
- [heading Parameters]
458
- </xsl:when>
459
- <xsl:when test="@kind='exception'">
460
- [heading Exceptions]
461
- </xsl:when>
462
- </xsl:choose>
463
-
464
- [variablelist
465
- <xsl:apply-templates mode="markup"/>
466
- ]
467
- </xsl:template>
468
-
469
-
470
- <xsl:template match="parameteritem" mode="markup">
471
- [[<xsl:value-of select="parameternamelist"/>][<xsl:apply-templates select="parameterdescription" mode="markup-nested"/>]]
472
- </xsl:template>
473
-
474
-
475
- <xsl:template match="simplesect" mode="markup">
476
- <xsl:choose>
477
- <xsl:when test="@kind='return'">
478
- [heading Return Value]
479
- <xsl:apply-templates mode="markup"/>
480
- </xsl:when>
481
- <xsl:when test="@kind='see'">
482
- </xsl:when>
483
- <xsl:when test="@kind='note'">
484
- [heading Remarks]
485
- <xsl:apply-templates mode="markup"/>
486
- </xsl:when>
487
- <xsl:when test="@kind='par'">
488
- <xsl:if test="not(starts-with(title, 'Concepts:'))">
489
- <xsl:apply-templates mode="markup"/>
490
- </xsl:if>
491
- </xsl:when>
492
- <xsl:otherwise>
493
- <xsl:apply-templates mode="markup"/>
494
- </xsl:otherwise>
495
- </xsl:choose>
496
- </xsl:template>
497
-
498
-
499
- <xsl:template match="text()" mode="markup">
500
- <xsl:variable name="text" select="."/>
501
- <xsl:variable name="starts-with-whitespace" select="
502
- starts-with($text, ' ') or starts-with($text, $newline)"/>
503
- <xsl:variable name="preceding-node-name">
504
- <xsl:for-each select="preceding-sibling::*">
505
- <xsl:if test="position() = last()">
506
- <xsl:value-of select="local-name()"/>
507
- </xsl:if>
508
- </xsl:for-each>
509
- </xsl:variable>
510
- <xsl:variable name="after-newline" select="
511
- $preceding-node-name = 'programlisting' or
512
- $preceding-node-name = 'linebreak'"/>
513
- <xsl:choose>
514
- <xsl:when test="$starts-with-whitespace and $after-newline">
515
- <xsl:call-template name="escape-text">
516
- <xsl:with-param name="text">
517
- <xsl:call-template name="strip-leading-whitespace">
518
- <xsl:with-param name="text" select="$text"/>
519
- </xsl:call-template>
520
- </xsl:with-param>
521
- </xsl:call-template>
522
- </xsl:when>
523
- <xsl:otherwise>
524
- <xsl:call-template name="escape-text">
525
- <xsl:with-param name="text" select="$text"/>
526
- </xsl:call-template>
527
- </xsl:otherwise>
528
- </xsl:choose>
529
- </xsl:template>
530
-
531
-
532
- <xsl:template match="text()" mode="markup-nested">
533
- <xsl:variable name="text" select="."/>
534
- <xsl:variable name="starts-with-whitespace" select="
535
- starts-with($text, ' ') or starts-with($text, $newline)"/>
536
- <xsl:variable name="preceding-node-name">
537
- <xsl:for-each select="preceding-sibling::*">
538
- <xsl:if test="position() = last()">
539
- <xsl:value-of select="local-name()"/>
540
- </xsl:if>
541
- </xsl:for-each>
542
- </xsl:variable>
543
- <xsl:variable name="after-newline" select="
544
- $preceding-node-name = 'programlisting' or
545
- $preceding-node-name = 'linebreak'"/>
546
- <xsl:choose>
547
- <xsl:when test="$starts-with-whitespace and $after-newline">
548
- <xsl:call-template name="escape-text">
549
- <xsl:with-param name="text">
550
- <xsl:call-template name="strip-leading-whitespace">
551
- <xsl:with-param name="text" select="$text"/>
552
- </xsl:call-template>
553
- </xsl:with-param>
554
- </xsl:call-template>
555
- </xsl:when>
556
- <xsl:otherwise>
557
- <xsl:call-template name="escape-text">
558
- <xsl:with-param name="text" select="$text"/>
559
- </xsl:call-template>
560
- </xsl:otherwise>
561
- </xsl:choose>
562
- </xsl:template>
563
-
564
-
565
- <xsl:template name="strip-leading-whitespace">
566
- <xsl:param name="text"/>
567
- <xsl:choose>
568
- <xsl:when test="starts-with($text, ' ')">
569
- <xsl:call-template name="strip-leading-whitespace">
570
- <xsl:with-param name="text" select="substring($text, 2)"/>
571
- </xsl:call-template>
572
- </xsl:when>
573
- <xsl:when test="starts-with($text, $newline)">
574
- <xsl:call-template name="strip-leading-whitespace">
575
- <xsl:with-param name="text" select="substring($text, 2)"/>
576
- </xsl:call-template>
577
- </xsl:when>
578
- <xsl:otherwise>
579
- <xsl:value-of select="$text"/>
580
- </xsl:otherwise>
581
- </xsl:choose>
582
- </xsl:template>
583
-
584
-
585
- <xsl:template name="escape-text">
586
- <xsl:param name="text"/>
587
- <xsl:choose>
588
- <xsl:when test="contains($text, '_')">
589
- <xsl:value-of select="substring-before($text, '_')"/>
590
- <xsl:text>\_</xsl:text>
591
- <xsl:call-template name="escape-text">
592
- <xsl:with-param name="text" select="substring-after($text, '_')"/>
593
- </xsl:call-template>
594
- </xsl:when>
595
- <xsl:otherwise>
596
- <xsl:value-of select="$text"/>
597
- </xsl:otherwise>
598
- </xsl:choose>
599
- </xsl:template>
600
-
601
-
602
- <xsl:template name="escape-name">
603
- <xsl:param name="text"/>
604
- <xsl:choose>
605
- <xsl:when test="contains($text, '[')">
606
- <xsl:value-of select="substring-before($text, '[')"/>
607
- <xsl:text>\[</xsl:text>
608
- <xsl:call-template name="escape-name">
609
- <xsl:with-param name="text" select="substring-after($text, '[')"/>
610
- </xsl:call-template>
611
- </xsl:when>
612
- <xsl:when test="contains($text, ']')">
613
- <xsl:value-of select="substring-before($text, ']')"/>
614
- <xsl:text>\]</xsl:text>
615
- <xsl:call-template name="escape-name">
616
- <xsl:with-param name="text" select="substring-after($text, ']')"/>
617
- </xsl:call-template>
618
- </xsl:when>
619
- <xsl:when test="contains($text, '...')">
620
- <xsl:value-of select="substring-before($text, '...')"/>
621
- <xsl:text>\.\.\.</xsl:text>
622
- <xsl:call-template name="escape-name">
623
- <xsl:with-param name="text" select="substring-after($text, '...')"/>
624
- </xsl:call-template>
625
- </xsl:when>
626
- <xsl:otherwise>
627
- <xsl:value-of select="$text"/>
628
- </xsl:otherwise>
629
- </xsl:choose>
630
- </xsl:template>
631
-
632
-
633
- <xsl:template match="ref[@kindref='compound']" mode="markup">
634
- <xsl:variable name="name">
635
- <xsl:value-of select="."/>
636
- </xsl:variable>
637
- <xsl:choose>
638
- <xsl:when test="contains(@refid, 'asio') or contains($name, 'asio::')">
639
- <xsl:variable name="dox-ref-id" select="@refid"/>
640
- <xsl:variable name="ref-name">
641
- <xsl:call-template name="strip-asio-ns">
642
- <xsl:with-param name="name"
643
- select="(($all-compounddefs)[@id=$dox-ref-id])[1]/compoundname"/>
644
- </xsl:call-template>
645
- </xsl:variable>
646
- <xsl:variable name="ref-id">
647
- <xsl:call-template name="make-id">
648
- <xsl:with-param name="name" select="$ref-name"/>
649
- </xsl:call-template>
650
- </xsl:variable>
651
- <xsl:text>[link asio.reference.</xsl:text>
652
- <xsl:value-of select="$ref-id"/>
653
- <xsl:text> `</xsl:text>
654
- <xsl:value-of name="text" select="$ref-name"/>
655
- <xsl:text>`]</xsl:text>
656
- </xsl:when>
657
- <xsl:otherwise>
658
- <xsl:text>`</xsl:text>
659
- <xsl:value-of select="."/>
660
- <xsl:text>`</xsl:text>
661
- </xsl:otherwise>
662
- </xsl:choose>
663
- </xsl:template>
664
-
665
-
666
- <xsl:template match="ref[@kindref='compound']" mode="markup-nested">
667
- <xsl:variable name="name">
668
- <xsl:value-of select="."/>
669
- </xsl:variable>
670
- <xsl:choose>
671
- <xsl:when test="contains(@refid, 'asio') or contains($name, 'asio::')">
672
- <xsl:variable name="dox-ref-id" select="@refid"/>
673
- <xsl:variable name="ref-name">
674
- <xsl:call-template name="strip-asio-ns">
675
- <xsl:with-param name="name"
676
- select="(($all-compounddefs)[@id=$dox-ref-id])[1]/compoundname"/>
677
- </xsl:call-template>
678
- </xsl:variable>
679
- <xsl:variable name="ref-id">
680
- <xsl:call-template name="make-id">
681
- <xsl:with-param name="name" select="$ref-name"/>
682
- </xsl:call-template>
683
- </xsl:variable>
684
- <xsl:text>[link asio.reference.</xsl:text>
685
- <xsl:value-of select="$ref-id"/>
686
- <xsl:text> `</xsl:text>
687
- <xsl:value-of name="text" select="$ref-name"/>
688
- <xsl:text>`]</xsl:text>
689
- </xsl:when>
690
- <xsl:otherwise>
691
- <xsl:text>`</xsl:text>
692
- <xsl:value-of select="."/>
693
- <xsl:text>`</xsl:text>
694
- </xsl:otherwise>
695
- </xsl:choose>
696
- </xsl:template>
697
-
698
-
699
- <xsl:template match="ref[@kindref='member']" mode="markup">
700
- <xsl:variable name="dox-ref-id" select="@refid"/>
701
- <xsl:variable name="memberdefs" select="($all-memberdefs)[@id=$dox-ref-id]"/>
702
- <xsl:choose>
703
- <xsl:when test="contains(@refid, 'namespaceasio') and count($memberdefs) &gt; 0">
704
- <xsl:variable name="dox-compound-name" select="($memberdefs)[1]/../../compoundname"/>
705
- <xsl:variable name="dox-name" select="($memberdefs)[1]/name"/>
706
- <xsl:variable name="ref-name">
707
- <xsl:call-template name="strip-asio-ns">
708
- <xsl:with-param name="name" select="concat($dox-compound-name,'::',$dox-name)"/>
709
- </xsl:call-template>
710
- </xsl:variable>
711
- <xsl:variable name="ref-id">
712
- <xsl:call-template name="make-id">
713
- <xsl:with-param name="name" select="$ref-name"/>
714
- </xsl:call-template>
715
- </xsl:variable>
716
- <xsl:text>[link asio.reference.</xsl:text>
717
- <xsl:value-of select="$ref-id"/>
718
- <xsl:text> `</xsl:text>
719
- <xsl:value-of name="text" select="$ref-name"/>
720
- <xsl:text>`]</xsl:text>
721
- </xsl:when>
722
- <xsl:otherwise>
723
- <xsl:text>`</xsl:text>
724
- <xsl:value-of select="."/>
725
- <xsl:text>`</xsl:text>
726
- </xsl:otherwise>
727
- </xsl:choose>
728
- </xsl:template>
729
-
730
-
731
- <xsl:template match="ref[@kindref='member']" mode="markup-nested">
732
- <xsl:variable name="dox-ref-id" select="@refid"/>
733
- <xsl:variable name="memberdefs" select="($all-memberdefs)[@id=$dox-ref-id]"/>
734
- <xsl:choose>
735
- <xsl:when test="contains(@refid, 'namespaceasio') and count($memberdefs) &gt; 0">
736
- <xsl:variable name="dox-compound-name" select="($memberdefs)[1]/../../compoundname"/>
737
- <xsl:variable name="dox-name" select="($memberdefs)[1]/name"/>
738
- <xsl:variable name="ref-name">
739
- <xsl:call-template name="strip-asio-ns">
740
- <xsl:with-param name="name" select="concat($dox-compound-name,'::',$dox-name)"/>
741
- </xsl:call-template>
742
- </xsl:variable>
743
- <xsl:variable name="ref-id">
744
- <xsl:call-template name="make-id">
745
- <xsl:with-param name="name" select="$ref-name"/>
746
- </xsl:call-template>
747
- </xsl:variable>
748
- <xsl:text>[link asio.reference.</xsl:text>
749
- <xsl:value-of select="$ref-id"/>
750
- <xsl:text> `</xsl:text>
751
- <xsl:value-of name="text" select="$ref-name"/>
752
- <xsl:text>`]</xsl:text>
753
- </xsl:when>
754
- <xsl:otherwise>
755
- <xsl:text>`</xsl:text>
756
- <xsl:value-of select="."/>
757
- <xsl:text>`</xsl:text>
758
- </xsl:otherwise>
759
- </xsl:choose>
760
- </xsl:template>
761
-
762
-
763
- <xsl:template name="header-requirements">
764
- <xsl:param name="file"/>
765
- <xsl:value-of select="$newline"/>
766
- <xsl:text>[heading Requirements]</xsl:text>
767
- <xsl:value-of select="$newline"/>
768
- <xsl:value-of select="$newline"/>
769
- <xsl:text>['Header: ]</xsl:text>
770
- <xsl:text>[^asio/</xsl:text>
771
- <xsl:value-of select="substring-after($file, 'include/asio/')"/>
772
- <xsl:text>]</xsl:text>
773
- <xsl:value-of select="$newline"/>
774
- <xsl:value-of select="$newline"/>
775
- <xsl:text>['Convenience header: ]</xsl:text>
776
- <xsl:choose>
777
- <xsl:when test="contains($file, 'include/asio/ssl')">
778
- <xsl:text>[^asio/ssl.hpp]</xsl:text>
779
- </xsl:when>
780
- <xsl:when test="contains($file, 'include/asio/spawn')">
781
- <xsl:text>None</xsl:text>
782
- </xsl:when>
783
- <xsl:otherwise>
784
- <xsl:text>[^asio.hpp]</xsl:text>
785
- </xsl:otherwise>
786
- </xsl:choose>
787
- <xsl:value-of select="$newline"/>
788
- </xsl:template>
789
-
790
-
791
- <!--========== Class ==========-->
792
-
793
- <xsl:template name="class">
794
- <xsl:variable name="class-name">
795
- <xsl:call-template name="strip-asio-ns">
796
- <xsl:with-param name="name" select="compoundname"/>
797
- </xsl:call-template>
798
- </xsl:variable>
799
- <xsl:variable name="unqualified-class-name">
800
- <xsl:call-template name="strip-ns">
801
- <xsl:with-param name="name" select="compoundname"/>
802
- </xsl:call-template>
803
- </xsl:variable>
804
- <xsl:variable name="class-id">
805
- <xsl:call-template name="make-id">
806
- <xsl:with-param name="name" select="$class-name"/>
807
- </xsl:call-template>
808
- </xsl:variable>
809
- <xsl:variable name="class-file" select="location/@file"/>
810
- [section:<xsl:value-of select="$class-id"/><xsl:text> </xsl:text><xsl:value-of select="$class-name"/>]
811
-
812
- <xsl:apply-templates select="briefdescription" mode="markup"/><xsl:text>
813
-
814
- </xsl:text>
815
-
816
- <xsl:apply-templates select="templateparamlist"
817
- mode="class-detail"/><xsl:text> </xsl:text><xsl:value-of select="@kind"/><xsl:text> </xsl:text><xsl:value-of
818
- select="$unqualified-class-name"/><xsl:if test="count(basecompoundref[not(contains(.,'::detail'))]) > 0"> :</xsl:if><xsl:text>
819
- </xsl:text><xsl:for-each select="basecompoundref[not(contains(.,'::detail'))]">
820
- <xsl:text> </xsl:text><xsl:if test="@prot='public'">public </xsl:if><xsl:call-template
821
- name="strip-asio-ns"><xsl:with-param name="name" select="."/></xsl:call-template><xsl:if
822
- test="not(position() = last())">,</xsl:if><xsl:text>
823
- </xsl:text></xsl:for-each><xsl:text>
824
- </xsl:text>
825
-
826
- <xsl:call-template name="class-tables">
827
- <xsl:with-param name="class-name" select="$class-name"/>
828
- <xsl:with-param name="class-id" select="$class-id"/>
829
- </xsl:call-template>
830
-
831
- <xsl:apply-templates select="detaileddescription" mode="markup"/>
832
-
833
- <xsl:call-template name="header-requirements">
834
- <xsl:with-param name="file" select="$class-file"/>
835
- </xsl:call-template>
836
-
837
- <xsl:call-template name="class-members">
838
- <xsl:with-param name="class-name" select="$class-name"/>
839
- <xsl:with-param name="class-id" select="$class-id"/>
840
- <xsl:with-param name="class-file" select="$class-file"/>
841
- </xsl:call-template>
842
-
843
- [endsect]
844
- </xsl:template>
845
-
846
-
847
- <xsl:template name="class-tables">
848
- <xsl:param name="class-name"/>
849
- <xsl:param name="class-id"/>
850
- <xsl:if test="
851
- count(
852
- sectiondef[@kind='public-type'] |
853
- innerclass[@prot='public' and not(contains(., '_handler'))]) &gt; 0">
854
- [heading Types]
855
- [table
856
- [[Name][Description]]
857
- <xsl:for-each select="
858
- sectiondef[@kind='public-type']/memberdef |
859
- innerclass[@prot='public' and not(contains(., '_handler')) and not(contains(., 'thread_function')) and not(contains(., 'initiate_'))]" mode="class-table">
860
- <xsl:sort select="concat(name, (.)[not(name)])"/>
861
- [
862
- <xsl:choose>
863
- <xsl:when test="count(name) &gt; 0">
864
- [[link asio.reference.<xsl:value-of select="$class-id"/>.<xsl:value-of select="name"/>
865
- <xsl:text> </xsl:text>[*<xsl:value-of select="name"/>]]]
866
- [<xsl:call-template name="escape-name"><xsl:with-param name="text" select="briefdescription"/></xsl:call-template>]
867
- </xsl:when>
868
- <xsl:otherwise>
869
- <xsl:variable name="type-name">
870
- <xsl:call-template name="strip-asio-ns">
871
- <xsl:with-param name="name" select="."/>
872
- </xsl:call-template>
873
- </xsl:variable>
874
- <xsl:variable name="unqualified-type-name">
875
- <xsl:call-template name="strip-ns">
876
- <xsl:with-param name="name" select="."/>
877
- </xsl:call-template>
878
- </xsl:variable>
879
- <xsl:variable name="type-id">
880
- <xsl:call-template name="make-id">
881
- <xsl:with-param name="name" select="$type-name"/>
882
- </xsl:call-template>
883
- </xsl:variable>
884
- <xsl:variable name="type-ref-id" select="@refid"/>
885
- [[link asio.reference.<xsl:value-of select="$type-id"/>
886
- <xsl:text> </xsl:text>[*<xsl:value-of select="$unqualified-type-name"/>]]]
887
- [<xsl:value-of select="(($all-compounddefs)[@id=$type-ref-id])[1]/briefdescription"/>]
888
- </xsl:otherwise>
889
- </xsl:choose>
890
- ]
891
- </xsl:for-each>
892
- ]
893
- </xsl:if>
894
-
895
- <xsl:if test="count(sectiondef[@kind='public-func' or @kind='public-static-func']) > 0">
896
- [heading Member Functions]
897
- [table
898
- [[Name][Description]]
899
- <xsl:for-each select="sectiondef[@kind='public-func' or @kind='public-static-func']/memberdef" mode="class-table">
900
- <xsl:sort select="name"/>
901
- <xsl:variable name="name">
902
- <xsl:value-of select="name"/>
903
- </xsl:variable>
904
- <xsl:variable name="escaped-name">
905
- <xsl:call-template name="escape-name">
906
- <xsl:with-param name="text" select="$name"/>
907
- </xsl:call-template>
908
- </xsl:variable>
909
- <xsl:variable name="id">
910
- <xsl:call-template name="make-id">
911
- <xsl:with-param name="name" select="$name"/>
912
- </xsl:call-template>
913
- </xsl:variable>
914
- <xsl:variable name="doxygen-id">
915
- <xsl:value-of select="@id"/>
916
- </xsl:variable>
917
- <xsl:variable name="overload-count">
918
- <xsl:value-of select="count(../memberdef[name = $name])"/>
919
- </xsl:variable>
920
- <xsl:variable name="overload-position">
921
- <xsl:for-each select="../memberdef[name = $name]">
922
- <xsl:if test="@id = $doxygen-id">
923
- <xsl:value-of select="position()"/>
924
- </xsl:if>
925
- </xsl:for-each>
926
- </xsl:variable>
927
- <xsl:if test="$overload-position = 1">
928
- [
929
- [[link asio.reference.<xsl:value-of select="$class-id"/>.<xsl:value-of select="$id"/>
930
- <xsl:text> </xsl:text>[*<xsl:value-of select="$escaped-name"/><xsl:text>]]]
931
- [</xsl:text><xsl:value-of select="briefdescription"/>
932
- </xsl:if>
933
- <xsl:if test="not($overload-position = 1) and not(briefdescription = preceding-sibling::*/briefdescription)">
934
- <xsl:value-of select="$newline"/>
935
- <xsl:text> [hr]</xsl:text>
936
- <xsl:value-of select="$newline"/>
937
- <xsl:text> </xsl:text>
938
- <xsl:value-of select="briefdescription"/>
939
- </xsl:if>
940
- <xsl:if test="$overload-position = $overload-count">
941
- <xsl:text>]
942
- ]
943
- </xsl:text>
944
- </xsl:if>
945
- </xsl:for-each>
946
- ]
947
- </xsl:if>
948
-
949
- <xsl:if test="count(sectiondef[@kind='protected-func' or @kind='protected-static-func']) > 0">
950
- [heading Protected Member Functions]
951
- [table
952
- [[Name][Description]]
953
- <xsl:for-each select="sectiondef[@kind='protected-func' or @kind='protected-static-func']/memberdef" mode="class-table">
954
- <xsl:sort select="name"/>
955
- <xsl:variable name="name">
956
- <xsl:value-of select="name"/>
957
- </xsl:variable>
958
- <xsl:variable name="id">
959
- <xsl:call-template name="make-id">
960
- <xsl:with-param name="name" select="$name"/>
961
- </xsl:call-template>
962
- </xsl:variable>
963
- <xsl:variable name="doxygen-id">
964
- <xsl:value-of select="@id"/>
965
- </xsl:variable>
966
- <xsl:variable name="overload-count">
967
- <xsl:value-of select="count(../memberdef[name = $name])"/>
968
- </xsl:variable>
969
- <xsl:variable name="overload-position">
970
- <xsl:for-each select="../memberdef[name = $name]">
971
- <xsl:if test="@id = $doxygen-id">
972
- <xsl:value-of select="position()"/>
973
- </xsl:if>
974
- </xsl:for-each>
975
- </xsl:variable>
976
- <xsl:if test="$overload-position = 1">
977
- [
978
- [[link asio.reference.<xsl:value-of select="$class-id"/>.<xsl:value-of select="$id"/>
979
- <xsl:text> </xsl:text>[*<xsl:value-of select="$name"/><xsl:text>]]]
980
- [</xsl:text><xsl:value-of select="briefdescription"/>
981
- </xsl:if>
982
- <xsl:if test="not($overload-position = 1) and not(briefdescription = preceding-sibling::*/briefdescription)">
983
- <xsl:value-of select="$newline"/>
984
- <xsl:text> [hr]</xsl:text>
985
- <xsl:value-of select="$newline"/>
986
- <xsl:text> </xsl:text>
987
- <xsl:value-of select="briefdescription"/>
988
- </xsl:if>
989
- <xsl:if test="$overload-position = $overload-count">
990
- <xsl:text>]
991
- ]
992
- </xsl:text>
993
- </xsl:if>
994
- </xsl:for-each>
995
- ]
996
- </xsl:if>
997
-
998
- <xsl:if test="$class-name = 'execution_context::service'">
999
- <xsl:if test="count(sectiondef[@kind='private-func']) > 0">
1000
- [heading Private Member Functions]
1001
- [table
1002
- [[Name][Description]]
1003
- <xsl:for-each select="sectiondef[@kind='private-func']/memberdef" mode="class-table">
1004
- <xsl:sort select="name"/>
1005
- <xsl:variable name="name">
1006
- <xsl:value-of select="name"/>
1007
- </xsl:variable>
1008
- <xsl:variable name="id">
1009
- <xsl:call-template name="make-id">
1010
- <xsl:with-param name="name" select="$name"/>
1011
- </xsl:call-template>
1012
- </xsl:variable>
1013
- <xsl:variable name="doxygen-id">
1014
- <xsl:value-of select="@id"/>
1015
- </xsl:variable>
1016
- <xsl:variable name="overload-count">
1017
- <xsl:value-of select="count(../memberdef[name = $name])"/>
1018
- </xsl:variable>
1019
- <xsl:variable name="overload-position">
1020
- <xsl:for-each select="../memberdef[name = $name]">
1021
- <xsl:if test="@id = $doxygen-id">
1022
- <xsl:value-of select="position()"/>
1023
- </xsl:if>
1024
- </xsl:for-each>
1025
- </xsl:variable>
1026
- <xsl:if test="$overload-position = 1">
1027
- [
1028
- [[link asio.reference.<xsl:value-of select="$class-id"/>.<xsl:value-of select="$id"/>
1029
- <xsl:text> </xsl:text>[*<xsl:value-of select="$name"/><xsl:text>]]]
1030
- [</xsl:text><xsl:value-of select="briefdescription"/>
1031
- </xsl:if>
1032
- <xsl:if test="not($overload-position = 1) and not(briefdescription = preceding-sibling::*/briefdescription)">
1033
- <xsl:value-of select="$newline"/>
1034
- <xsl:text> [hr]</xsl:text>
1035
- <xsl:value-of select="$newline"/>
1036
- <xsl:text> </xsl:text>
1037
- <xsl:value-of select="briefdescription"/>
1038
- </xsl:if>
1039
- <xsl:if test="$overload-position = $overload-count">
1040
- <xsl:text>]
1041
- ]
1042
- </xsl:text>
1043
- </xsl:if>
1044
- </xsl:for-each>
1045
- ]
1046
- </xsl:if>
1047
- </xsl:if>
1048
-
1049
- <xsl:if test="count(sectiondef[@kind='public-attrib' or @kind='public-static-attrib']) > 0">
1050
- [heading Data Members]
1051
- [table
1052
- [[Name][Description]]
1053
- <xsl:for-each select="sectiondef[@kind='public-attrib' or @kind='public-static-attrib']/memberdef" mode="class-table">
1054
- <xsl:sort select="name"/>
1055
- [
1056
- [[link asio.reference.<xsl:value-of select="$class-id"/>.<xsl:value-of select="name"/>
1057
- <xsl:text> </xsl:text>[*<xsl:value-of select="name"/>]]]
1058
- [<xsl:value-of select="briefdescription"/>]
1059
- ]
1060
- </xsl:for-each>
1061
- ]
1062
- </xsl:if>
1063
-
1064
- <xsl:if test="count(sectiondef[@kind='protected-attrib' or @kind='protected-static-attrib']) > 0">
1065
- [heading Protected Data Members]
1066
- [table
1067
- [[Name][Description]]
1068
- <xsl:for-each select="sectiondef[@kind='protected-attrib' or @kind='protected-static-attrib']/memberdef" mode="class-table">
1069
- <xsl:sort select="name"/>
1070
- [
1071
- [[link asio.reference.<xsl:value-of select="$class-id"/>.<xsl:value-of select="name"/>
1072
- <xsl:text> </xsl:text>[*<xsl:value-of select="name"/>]]]
1073
- [<xsl:value-of select="briefdescription"/>]
1074
- ]
1075
- </xsl:for-each>
1076
- ]
1077
- </xsl:if>
1078
-
1079
- <xsl:if test="count(sectiondef[@kind='friend']/memberdef[not(type = 'friend class') and not(contains(name, '_helper'))]) &gt; 0">
1080
- [heading Friends]
1081
- [table
1082
- [[Name][Description]]
1083
- <xsl:for-each select="sectiondef[@kind='friend']/memberdef[not(type = 'friend class') and not(contains(name, '_helper'))]" mode="class-table">
1084
- <xsl:sort select="name"/>
1085
- <xsl:variable name="name">
1086
- <xsl:value-of select="name"/>
1087
- </xsl:variable>
1088
- <xsl:variable name="id">
1089
- <xsl:call-template name="make-id">
1090
- <xsl:with-param name="name" select="$name"/>
1091
- </xsl:call-template>
1092
- </xsl:variable>
1093
- <xsl:variable name="doxygen-id">
1094
- <xsl:value-of select="@id"/>
1095
- </xsl:variable>
1096
- <xsl:variable name="overload-count">
1097
- <xsl:value-of select="count(../memberdef[name = $name])"/>
1098
- </xsl:variable>
1099
- <xsl:variable name="overload-position">
1100
- <xsl:for-each select="../memberdef[name = $name]">
1101
- <xsl:if test="@id = $doxygen-id">
1102
- <xsl:value-of select="position()"/>
1103
- </xsl:if>
1104
- </xsl:for-each>
1105
- </xsl:variable>
1106
- <xsl:if test="$overload-position = 1">
1107
- [
1108
- [[link asio.reference.<xsl:value-of select="$class-id"/>.<xsl:value-of select="$id"/>
1109
- <xsl:text> </xsl:text>[*<xsl:value-of select="$name"/><xsl:text>]]]
1110
- [</xsl:text><xsl:value-of select="briefdescription"/>
1111
- </xsl:if>
1112
- <xsl:if test="not($overload-position = 1) and not(briefdescription = preceding-sibling::*/briefdescription)">
1113
- <xsl:value-of select="$newline"/>
1114
- <xsl:text> [hr]</xsl:text>
1115
- <xsl:value-of select="$newline"/>
1116
- <xsl:text> </xsl:text>
1117
- <xsl:value-of select="briefdescription"/>
1118
- </xsl:if>
1119
- <xsl:if test="$overload-position = $overload-count">
1120
- <xsl:text>]
1121
- ]
1122
- </xsl:text>
1123
- </xsl:if>
1124
- </xsl:for-each>
1125
- ]
1126
- </xsl:if>
1127
-
1128
- <xsl:if test="count(sectiondef[@kind='related']/memberdef) &gt; 0">
1129
- [heading Related Functions]
1130
- [table
1131
- [[Name][Description]]
1132
- <xsl:for-each select="sectiondef[@kind='related']/memberdef" mode="class-table">
1133
- <xsl:sort select="name"/>
1134
- <xsl:variable name="name">
1135
- <xsl:value-of select="name"/>
1136
- </xsl:variable>
1137
- <xsl:variable name="id">
1138
- <xsl:call-template name="make-id">
1139
- <xsl:with-param name="name" select="$name"/>
1140
- </xsl:call-template>
1141
- </xsl:variable>
1142
- <xsl:variable name="doxygen-id">
1143
- <xsl:value-of select="@id"/>
1144
- </xsl:variable>
1145
- <xsl:variable name="overload-count">
1146
- <xsl:value-of select="count(../memberdef[name = $name])"/>
1147
- </xsl:variable>
1148
- <xsl:variable name="overload-position">
1149
- <xsl:for-each select="../memberdef[name = $name]">
1150
- <xsl:if test="@id = $doxygen-id">
1151
- <xsl:value-of select="position()"/>
1152
- </xsl:if>
1153
- </xsl:for-each>
1154
- </xsl:variable>
1155
- <xsl:if test="$overload-position = 1">
1156
- [
1157
- [[link asio.reference.<xsl:value-of select="$class-id"/>.<xsl:value-of select="$id"/>
1158
- <xsl:text> </xsl:text>[*<xsl:value-of select="$name"/><xsl:text>]]]
1159
- [</xsl:text><xsl:value-of select="briefdescription"/>
1160
- </xsl:if>
1161
- <xsl:if test="not($overload-position = 1) and not(briefdescription = preceding-sibling::*/briefdescription)">
1162
- <xsl:value-of select="$newline"/>
1163
- <xsl:value-of select="$newline"/>
1164
- <xsl:text> </xsl:text>
1165
- <xsl:value-of select="briefdescription"/>
1166
- </xsl:if>
1167
- <xsl:if test="$overload-position = $overload-count">
1168
- <xsl:text>]
1169
- ]
1170
- </xsl:text>
1171
- </xsl:if>
1172
- </xsl:for-each>
1173
- ]
1174
- </xsl:if>
1175
-
1176
- </xsl:template>
1177
-
1178
-
1179
- <xsl:template name="class-members">
1180
- <xsl:param name="class-name"/>
1181
- <xsl:param name="class-id"/>
1182
- <xsl:param name="class-file"/>
1183
- <xsl:apply-templates select="sectiondef[@kind='public-type' or @kind='public-func' or @kind='public-static-func' or @kind='public-attrib' or @kind='public-static-attrib' or @kind='protected-func' or @kind='protected-static-func' or @kind='protected-attrib' or @kind='protected-static-attrib' or @kind='friend' or @kind='related']/memberdef[not(type = 'friend class') and not(contains(name, '_helper'))]" mode="class-detail">
1184
- <xsl:sort select="name"/>
1185
- <xsl:with-param name="class-name" select="$class-name"/>
1186
- <xsl:with-param name="class-id" select="$class-id"/>
1187
- <xsl:with-param name="class-file" select="$class-file"/>
1188
- </xsl:apply-templates>
1189
- <xsl:if test="$class-name = 'execution_context::service'">
1190
- <xsl:apply-templates select="sectiondef[@kind='private-func']/memberdef[not(type = 'friend class') and not(contains(name, '_helper'))]" mode="class-detail">
1191
- <xsl:sort select="name"/>
1192
- <xsl:with-param name="class-name" select="$class-name"/>
1193
- <xsl:with-param name="class-id" select="$class-id"/>
1194
- <xsl:with-param name="class-file" select="$class-file"/>
1195
- </xsl:apply-templates>
1196
- </xsl:if>
1197
- </xsl:template>
1198
-
1199
-
1200
- <!-- Class detail -->
1201
-
1202
- <xsl:template match="memberdef" mode="class-detail">
1203
- <xsl:param name="class-name"/>
1204
- <xsl:param name="class-id"/>
1205
- <xsl:param name="class-file"/>
1206
- <xsl:variable name="name">
1207
- <xsl:value-of select="name"/>
1208
- </xsl:variable>
1209
- <xsl:variable name="escaped-name">
1210
- <xsl:call-template name="escape-name">
1211
- <xsl:with-param name="text" select="$name"/>
1212
- </xsl:call-template>
1213
- </xsl:variable>
1214
- <xsl:variable name="escaped-class-name">
1215
- <xsl:call-template name="escape-name">
1216
- <xsl:with-param name="text" select="$class-name"/>
1217
- </xsl:call-template>
1218
- </xsl:variable>
1219
- <xsl:variable name="id">
1220
- <xsl:call-template name="make-id">
1221
- <xsl:with-param name="name" select="$name"/>
1222
- </xsl:call-template>
1223
- </xsl:variable>
1224
- <xsl:variable name="doxygen-id">
1225
- <xsl:value-of select="@id"/>
1226
- </xsl:variable>
1227
- <xsl:variable name="overload-count">
1228
- <xsl:value-of select="count(../memberdef[name = $name])"/>
1229
- </xsl:variable>
1230
- <xsl:variable name="overload-position">
1231
- <xsl:for-each select="../memberdef[name = $name]">
1232
- <xsl:if test="@id = $doxygen-id">
1233
- <xsl:value-of select="position()"/>
1234
- </xsl:if>
1235
- </xsl:for-each>
1236
- </xsl:variable>
1237
-
1238
- <xsl:if test="$overload-count &gt; 1 and $overload-position = 1">
1239
- [section:<xsl:value-of select="$id"/><xsl:text> </xsl:text>
1240
- <xsl:value-of select="$class-name"/>::<xsl:value-of select="$escaped-name"/>]
1241
-
1242
- <xsl:text>[indexterm2 </xsl:text>
1243
- <xsl:text>asio.indexterm.</xsl:text>
1244
- <xsl:value-of select="$class-id"/>
1245
- <xsl:text>.</xsl:text>
1246
- <xsl:value-of select="$id"/>
1247
- <xsl:text>..</xsl:text>
1248
- <xsl:value-of select="$escaped-name"/>
1249
- <xsl:text>..</xsl:text>
1250
- <xsl:value-of select="$escaped-class-name"/>
1251
- <xsl:text>] </xsl:text>
1252
-
1253
- <xsl:apply-templates select="briefdescription" mode="markup"/><xsl:text>
1254
- </xsl:text>
1255
-
1256
- <xsl:for-each select="../memberdef[name = $name]">
1257
- <xsl:if test="position() &gt; 1 and not(briefdescription = preceding-sibling::*/briefdescription)">
1258
- <xsl:value-of select="$newline"/>
1259
- <xsl:apply-templates select="briefdescription" mode="markup"/>
1260
- <xsl:value-of select="$newline"/>
1261
- </xsl:if>
1262
- <xsl:text>
1263
- </xsl:text><xsl:apply-templates select="templateparamlist" mode="class-detail"/>
1264
- <xsl:text> </xsl:text>
1265
- <xsl:if test="@explicit='yes'">explicit </xsl:if>
1266
- <xsl:if test="@static='yes'">static </xsl:if>
1267
- <xsl:if test="@virt='virtual'">virtual </xsl:if>
1268
- <xsl:variable name="stripped-type">
1269
- <xsl:call-template name="cleanup-type">
1270
- <xsl:with-param name="name" select="type"/>
1271
- </xsl:call-template>
1272
- </xsl:variable>
1273
- <xsl:if test="string-length($stripped-type) &gt; 0">
1274
- <xsl:value-of select="$stripped-type"/><xsl:text> </xsl:text>
1275
- </xsl:if>``[link asio.reference.<xsl:value-of select="$class-id"/>.<xsl:value-of
1276
- select="$id"/>.overload<xsl:value-of select="position()"/><xsl:text> </xsl:text><xsl:value-of
1277
- select="name"/>]``(<xsl:apply-templates select="param"
1278
- mode="class-detail"/>)<xsl:if test="@const='yes'"> const</xsl:if>;
1279
- <xsl:text> `` [''''&amp;raquo;'''</xsl:text>
1280
- <xsl:text> [link asio.reference.</xsl:text>
1281
- <xsl:value-of select="$class-id"/>.<xsl:value-of
1282
- select="$id"/>.overload<xsl:value-of select="position()"/>
1283
- <xsl:text> more...]]``
1284
- </xsl:text>
1285
- </xsl:for-each>
1286
- </xsl:if>
1287
-
1288
- [section:<xsl:if test="$overload-count = 1"><xsl:value-of select="$id"/></xsl:if>
1289
- <xsl:if test="$overload-count &gt; 1">overload<xsl:value-of select="$overload-position"/></xsl:if>
1290
- <xsl:text> </xsl:text><xsl:value-of select="$class-name"/>::<xsl:value-of select="$escaped-name"/>
1291
- <xsl:if test="$overload-count &gt; 1"> (<xsl:value-of
1292
- select="$overload-position"/> of <xsl:value-of select="$overload-count"/> overloads)</xsl:if>]
1293
-
1294
- <xsl:if test="not(starts-with($doxygen-id, ../../@id))">
1295
- <xsl:variable name="inherited-from" select="($all-compounddefs)[starts-with($doxygen-id, @id)]/compoundname"/>
1296
- <xsl:if test="not(contains($inherited-from, '::detail'))">
1297
- ['Inherited from <xsl:call-template name="strip-asio-ns">
1298
- <xsl:with-param name="name" select="$inherited-from"/>
1299
- </xsl:call-template>.]<xsl:text>
1300
-
1301
- </xsl:text></xsl:if></xsl:if>
1302
-
1303
- <xsl:if test="$overload-count = 1">
1304
- <xsl:text>[indexterm2 </xsl:text>
1305
- <xsl:text>asio.indexterm.</xsl:text>
1306
- <xsl:value-of select="$class-id"/>
1307
- <xsl:text>.</xsl:text>
1308
- <xsl:value-of select="$id"/>
1309
- <xsl:text>..</xsl:text>
1310
- <xsl:value-of select="$escaped-name"/>
1311
- <xsl:text>..</xsl:text>
1312
- <xsl:value-of select="$escaped-class-name"/>
1313
- <xsl:text>] </xsl:text>
1314
- </xsl:if>
1315
-
1316
- <xsl:apply-templates select="briefdescription" mode="markup"/><xsl:text>
1317
- </xsl:text>
1318
-
1319
- <xsl:choose>
1320
- <xsl:when test="@kind='typedef'">
1321
- <xsl:call-template name="typedef" mode="class-detail">
1322
- <xsl:with-param name="class-name" select="$class-name"/>
1323
- </xsl:call-template>
1324
- </xsl:when>
1325
- <xsl:when test="@kind='variable'">
1326
- <xsl:call-template name="variable" mode="class-detail"/>
1327
- </xsl:when>
1328
- <xsl:when test="@kind='enum'">
1329
- <xsl:call-template name="enum" mode="class-detail">
1330
- <xsl:with-param name="enum-name" select="$class-name"/>
1331
- <xsl:with-param name="id" select="concat($class-id, '.', $id)"/>
1332
- </xsl:call-template>
1333
- </xsl:when>
1334
- <xsl:when test="@kind='function'">
1335
- <xsl:call-template name="function" mode="class-detail"/>
1336
- </xsl:when>
1337
- <xsl:when test="@kind='friend'">
1338
- <xsl:call-template name="function" mode="class-detail"/>
1339
- </xsl:when>
1340
- </xsl:choose>
1341
-
1342
- <xsl:text>
1343
- </xsl:text><xsl:apply-templates select="detaileddescription" mode="markup"/>
1344
-
1345
- <xsl:if test="@kind='typedef' or @kind='friend'">
1346
- <xsl:call-template name="header-requirements">
1347
- <xsl:with-param name="file" select="$class-file"/>
1348
- </xsl:call-template>
1349
- </xsl:if>
1350
-
1351
- [endsect]
1352
-
1353
- <xsl:if test="$overload-count &gt; 1 and $overload-position = $overload-count">
1354
- [endsect]
1355
- </xsl:if>
1356
- </xsl:template>
1357
-
1358
-
1359
- <xsl:template name="typedef">
1360
- <xsl:param name="class-name"/>
1361
- <xsl:text>
1362
- </xsl:text>typedef <xsl:value-of select="type"/><xsl:text> </xsl:text><xsl:value-of select="name"/>;<xsl:text>
1363
-
1364
- </xsl:text>
1365
- <xsl:if test="count(type/ref) &gt; 0 and not(contains(type, '*'))">
1366
- <xsl:variable name="class-refid">
1367
- <xsl:choose>
1368
- <xsl:when test="type='basic_address_iterator&lt; address_v4 &gt;'">
1369
- <xsl:text>classasio_1_1ip_1_1basic__address__iterator_3_01address__v4_01_4</xsl:text>
1370
- </xsl:when>
1371
- <xsl:when test="type='basic_address_iterator&lt; address_v6 &gt;'">
1372
- <xsl:text>classasio_1_1ip_1_1basic__address__iterator_3_01address__v6_01_4</xsl:text>
1373
- </xsl:when>
1374
- <xsl:when test="type='basic_address_range&lt; address_v4 &gt;'">
1375
- <xsl:text>classasio_1_1ip_1_1basic__address__range_3_01address__v4_01_4</xsl:text>
1376
- </xsl:when>
1377
- <xsl:when test="type='basic_address_range&lt; address_v6 &gt;'">
1378
- <xsl:text>classasio_1_1ip_1_1basic__address__range_3_01address__v6_01_4</xsl:text>
1379
- </xsl:when>
1380
- <xsl:otherwise>
1381
- <xsl:for-each select="type/ref[1]">
1382
- <xsl:value-of select="@refid"/>
1383
- </xsl:for-each>
1384
- </xsl:otherwise>
1385
- </xsl:choose>
1386
- </xsl:variable>
1387
- <xsl:variable name="name" select="name"/>
1388
- <xsl:for-each select="($all-compounddefs)[@id=$class-refid]">
1389
- <xsl:call-template name="class-tables">
1390
- <xsl:with-param name="class-name">
1391
- <xsl:value-of select="concat($class-name, '::', $name)"/>
1392
- </xsl:with-param>
1393
- <xsl:with-param name="class-id">
1394
- <xsl:call-template name="make-id">
1395
- <xsl:with-param name="name">
1396
- <xsl:call-template name="strip-asio-ns">
1397
- <xsl:with-param name="name" select="compoundname"/>
1398
- </xsl:call-template>
1399
- </xsl:with-param>
1400
- </xsl:call-template>
1401
- </xsl:with-param>
1402
- </xsl:call-template>
1403
- <xsl:apply-templates select="detaileddescription" mode="markup"/>
1404
- </xsl:for-each>
1405
- </xsl:if>
1406
- </xsl:template>
1407
-
1408
-
1409
- <xsl:template name="variable">
1410
- <xsl:text>
1411
- </xsl:text><xsl:if test="@static='yes'">static </xsl:if><xsl:value-of
1412
- select="type"/><xsl:text> </xsl:text><xsl:value-of select="name"/>
1413
- <xsl:if test="count(initializer) = 1"><xsl:text> =</xsl:text>
1414
- <xsl:value-of select="initializer"/></xsl:if>;
1415
- </xsl:template>
1416
-
1417
-
1418
- <xsl:template name="enum">
1419
- <xsl:param name="enum-name"/>
1420
- <xsl:param name="id"/>
1421
- enum <xsl:value-of select="name"/><xsl:text>
1422
- </xsl:text><xsl:if test="count(enumvalue) &gt; 0">
1423
- <xsl:value-of select="$newline"/>
1424
- <xsl:for-each select="enumvalue">
1425
- <xsl:text>[indexterm2 </xsl:text>
1426
- <xsl:text>asio.indexterm.</xsl:text>
1427
- <xsl:value-of select="$id"/>
1428
- <xsl:text>.</xsl:text>
1429
- <xsl:value-of select="name"/>
1430
- <xsl:text>..</xsl:text>
1431
- <xsl:value-of select="name"/>
1432
- <xsl:text>..</xsl:text>
1433
- <xsl:value-of select="$enum-name"/>
1434
- <xsl:text>]</xsl:text>
1435
- <xsl:value-of select="$newline"/>
1436
- </xsl:for-each>
1437
- [heading Values]
1438
- [variablelist
1439
- <xsl:for-each select="enumvalue">
1440
- [
1441
- [<xsl:value-of select="name"/>]
1442
- [<xsl:value-of select="briefdescription"/>]
1443
- ]
1444
- </xsl:for-each>
1445
- ]
1446
- </xsl:if>
1447
- </xsl:template>
1448
-
1449
-
1450
- <xsl:template name="function">
1451
- <xsl:text>
1452
- </xsl:text>
1453
- <xsl:variable name="doxygen-id">
1454
- <xsl:value-of select="@id"/>
1455
- </xsl:variable>
1456
- <xsl:choose>
1457
- <xsl:when test="count(($all-memberdefs)[@id=$doxygen-id]/templateparamlist) = 1">
1458
- <xsl:apply-templates select="($all-memberdefs)[@id=$doxygen-id]/templateparamlist" mode="class-detail"/>
1459
- </xsl:when>
1460
- <xsl:otherwise>
1461
- <xsl:apply-templates select="templateparamlist" mode="class-detail"/>
1462
- </xsl:otherwise>
1463
- </xsl:choose>
1464
- <xsl:variable name="stripped-type">
1465
- <xsl:call-template name="cleanup-type">
1466
- <xsl:with-param name="name" select="type"/>
1467
- </xsl:call-template>
1468
- </xsl:variable>
1469
- <xsl:text> </xsl:text><xsl:if test="@static='yes'">static </xsl:if><xsl:if
1470
- test="@virt='virtual'">virtual </xsl:if><xsl:if
1471
- test="string-length($stripped-type) &gt; 0"><xsl:value-of select="$stripped-type"/><xsl:text> </xsl:text></xsl:if>
1472
- <xsl:value-of select="name"/>(<xsl:apply-templates select="param"
1473
- mode="class-detail"/>)<xsl:if test="@const='yes'"> const</xsl:if>;
1474
- </xsl:template>
1475
-
1476
-
1477
- <xsl:template match="templateparamlist" mode="class-detail">
1478
- <xsl:text> </xsl:text>template&lt;<xsl:apply-templates select="param" mode="class-detail-template"/>&gt;
1479
- </xsl:template>
1480
-
1481
-
1482
- <xsl:template match="param" mode="class-detail-template">
1483
- <xsl:text>
1484
- </xsl:text><xsl:value-of select="type"/><xsl:text> </xsl:text>
1485
- <xsl:choose>
1486
- <xsl:when test="declname = 'Allocator'">
1487
- <xsl:value-of select="declname"/>
1488
- </xsl:when>
1489
- <xsl:when test="declname = 'Arg'">
1490
- <xsl:value-of select="declname"/>
1491
- </xsl:when>
1492
- <xsl:when test="declname = 'Args'">
1493
- <xsl:value-of select="declname"/>
1494
- </xsl:when>
1495
- <xsl:when test="declname = 'BufferSequence'">
1496
- <xsl:value-of select="declname"/>
1497
- </xsl:when>
1498
- <xsl:when test="declname = 'ByteType'">
1499
- <xsl:value-of select="declname"/>
1500
- </xsl:when>
1501
- <xsl:when test="declname = 'C'">
1502
- <xsl:value-of select="declname"/>
1503
- </xsl:when>
1504
- <xsl:when test="declname = 'Clock'">
1505
- <xsl:value-of select="declname"/>
1506
- </xsl:when>
1507
- <xsl:when test="declname = 'CompletionToken'">
1508
- <xsl:value-of select="declname"/>
1509
- </xsl:when>
1510
- <xsl:when test="declname = 'ConstBuffer'">
1511
- <xsl:value-of select="declname"/>
1512
- </xsl:when>
1513
- <xsl:when test="declname = 'Context_Service'">
1514
- <xsl:value-of select="declname"/>
1515
- </xsl:when>
1516
- <xsl:when test="declname = 'Duration'">
1517
- <xsl:value-of select="declname"/>
1518
- </xsl:when>
1519
- <xsl:when test="declname = 'DatagramSocketService1'">
1520
- <xsl:value-of select="concat('``[link asio.reference.DatagramSocketService ', declname, ']``')"/>
1521
- </xsl:when>
1522
- <xsl:when test="declname = 'EndpointIterator'">
1523
- <xsl:value-of select="declname"/>
1524
- </xsl:when>
1525
- <xsl:when test="declname = 'Elem'">
1526
- <xsl:value-of select="declname"/>
1527
- </xsl:when>
1528
- <xsl:when test="declname = 'ErrorEnum'">
1529
- <xsl:value-of select="declname"/>
1530
- </xsl:when>
1531
- <xsl:when test="declname = 'ExecutionContext'">
1532
- <xsl:value-of select="declname"/>
1533
- </xsl:when>
1534
- <xsl:when test="declname = 'Executor'">
1535
- <xsl:value-of select="concat('``[link asio.reference.Executor1 ', declname, ']``')"/>
1536
- </xsl:when>
1537
- <xsl:when test="declname = 'Executor2'">
1538
- <xsl:value-of select="concat('``[link asio.reference.Executor1 ', declname, ']``')"/>
1539
- </xsl:when>
1540
- <xsl:when test="declname = 'F'">
1541
- <xsl:value-of select="declname"/>
1542
- </xsl:when>
1543
- <xsl:when test="declname = 'Function'">
1544
- <xsl:value-of select="declname"/>
1545
- </xsl:when>
1546
- <xsl:when test="declname = 'IoObjectService1'">
1547
- <xsl:value-of select="concat('``[link asio.reference.IoObjectService ', declname, ']``')"/>
1548
- </xsl:when>
1549
- <xsl:when test="declname = 'Implementation'">
1550
- <xsl:value-of select="declname"/>
1551
- </xsl:when>
1552
- <xsl:when test="declname = 'Initiation'">
1553
- <xsl:value-of select="declname"/>
1554
- </xsl:when>
1555
- <xsl:when test="declname = 'InnerExecutor'">
1556
- <xsl:value-of select="concat('``[link asio.reference.Executor1 ', declname, ']``')"/>
1557
- </xsl:when>
1558
- <xsl:when test="declname = 'IoObjectsOrExecutors'">
1559
- <xsl:value-of select="declname"/>
1560
- </xsl:when>
1561
- <xsl:when test="declname = 'Iterator'">
1562
- <xsl:value-of select="declname"/>
1563
- </xsl:when>
1564
- <xsl:when test="declname = 'MatchCondition'">
1565
- <xsl:value-of select="declname"/>
1566
- </xsl:when>
1567
- <xsl:when test="declname = 'MutableBuffer'">
1568
- <xsl:value-of select="declname"/>
1569
- </xsl:when>
1570
- <xsl:when test="declname = 'N'">
1571
- <xsl:value-of select="declname"/>
1572
- </xsl:when>
1573
- <xsl:when test="declname = 'OtherAllocator'">
1574
- <xsl:value-of select="declname"/>
1575
- </xsl:when>
1576
- <xsl:when test="declname = 'OtherExecutor'">
1577
- <xsl:value-of select="concat('``[link asio.reference.Executor1 ', declname, ']``')"/>
1578
- </xsl:when>
1579
- <xsl:when test="declname = 'OtherHandler'">
1580
- <xsl:value-of select="declname"/>
1581
- </xsl:when>
1582
- <xsl:when test="declname = 'PasswordCallback'">
1583
- <xsl:value-of select="declname"/>
1584
- </xsl:when>
1585
- <xsl:when test="declname = 'Period'">
1586
- <xsl:value-of select="declname"/>
1587
- </xsl:when>
1588
- <xsl:when test="declname = 'PodType'">
1589
- <xsl:value-of select="declname"/>
1590
- </xsl:when>
1591
- <xsl:when test="declname = 'PointerToPodType'">
1592
- <xsl:value-of select="declname"/>
1593
- </xsl:when>
1594
- <xsl:when test="declname = 'Protocol1'">
1595
- <xsl:value-of select="concat('``[link asio.reference.Protocol ', declname, ']``')"/>
1596
- </xsl:when>
1597
- <xsl:when test="declname = 'RawCompletionToken'">
1598
- <xsl:value-of select="declname"/>
1599
- </xsl:when>
1600
- <xsl:when test="declname = 'RawSocketService1'">
1601
- <xsl:value-of select="concat('``[link asio.reference.RawSocketService ', declname, ']``')"/>
1602
- </xsl:when>
1603
- <xsl:when test="declname = 'Rep'">
1604
- <xsl:value-of select="declname"/>
1605
- </xsl:when>
1606
- <xsl:when test="declname = 'Result'">
1607
- <xsl:value-of select="declname"/>
1608
- </xsl:when>
1609
- <xsl:when test="declname = 'SeqPacketSocketService1'">
1610
- <xsl:value-of select="concat('``[link asio.reference.SeqPacketSocketService ', declname, ']``')"/>
1611
- </xsl:when>
1612
- <xsl:when test="declname = 'Signature'">
1613
- <xsl:value-of select="declname"/>
1614
- </xsl:when>
1615
- <xsl:when test="declname = 'SocketAcceptorService1' or declname = 'SocketAcceptorService2'">
1616
- <xsl:value-of select="concat('``[link asio.reference.SocketAcceptorService ', declname, ']``')"/>
1617
- </xsl:when>
1618
- <xsl:when test="declname = 'SocketService1' or declname = 'SocketService2'">
1619
- <xsl:value-of select="concat('``[link asio.reference.SocketService ', declname, ']``')"/>
1620
- </xsl:when>
1621
- <xsl:when test="declname = 'Stream'">
1622
- <xsl:value-of select="declname"/>
1623
- </xsl:when>
1624
- <xsl:when test="declname = 'StreamSocketService1'">
1625
- <xsl:value-of select="concat('``[link asio.reference.StreamSocketService ', declname, ']``')"/>
1626
- </xsl:when>
1627
- <xsl:when test="declname = 'T'">
1628
- <xsl:value-of select="declname"/>
1629
- </xsl:when>
1630
- <xsl:when test="declname = 'T1'">
1631
- <xsl:value-of select="declname"/>
1632
- </xsl:when>
1633
- <xsl:when test="declname = 'TN'">
1634
- <xsl:value-of select="declname"/>
1635
- </xsl:when>
1636
- <xsl:when test="declname = 'Time'">
1637
- <xsl:value-of select="declname"/>
1638
- </xsl:when>
1639
- <xsl:when test="declname = 'TimeType'">
1640
- <xsl:value-of select="declname"/>
1641
- </xsl:when>
1642
- <xsl:when test="declname = 'Traits'">
1643
- <xsl:value-of select="declname"/>
1644
- </xsl:when>
1645
- <xsl:when test="declname = 'U'">
1646
- <xsl:value-of select="declname"/>
1647
- </xsl:when>
1648
- <xsl:when test="declname = 'VerifyCallback'">
1649
- <xsl:value-of select="declname"/>
1650
- </xsl:when>
1651
- <xsl:when test="count(declname) = 0">
1652
- </xsl:when>
1653
- <xsl:otherwise>
1654
- <xsl:value-of select="concat('``[link asio.reference.', declname, ' ', declname, ']``')"/>
1655
- </xsl:otherwise>
1656
- </xsl:choose>
1657
- <xsl:if test="count(defval) > 0"> = <xsl:choose>
1658
- <xsl:when test="defval = 'default_token'">
1659
- <xsl:text>``[link asio.reference.asynchronous_operations.default_completion_tokens ['DEFAULT]]``</xsl:text>
1660
- </xsl:when>
1661
- <xsl:otherwise><xsl:value-of select="defval"/></xsl:otherwise>
1662
- </xsl:choose></xsl:if>
1663
- <xsl:if test="not(position() = last())">,</xsl:if>
1664
- </xsl:template>
1665
-
1666
-
1667
- <xsl:template match="param" mode="class-detail">
1668
- <xsl:text>
1669
- </xsl:text>
1670
- <xsl:choose>
1671
- <xsl:when test="string-length(array) &gt; 0">
1672
- <xsl:value-of select="substring-before(type, '&amp;')"/>
1673
- <xsl:text>(&amp;</xsl:text>
1674
- <xsl:value-of select="declname"/>
1675
- <xsl:text>)</xsl:text>
1676
- <xsl:value-of select="array"/>
1677
- </xsl:when>
1678
- <xsl:otherwise>
1679
- <xsl:value-of select="type"/>
1680
- <xsl:text> </xsl:text>
1681
- <xsl:value-of select="declname"/>
1682
- </xsl:otherwise>
1683
- </xsl:choose>
1684
- <xsl:if test="count(defval) > 0"> = <xsl:choose>
1685
- <xsl:when test="defval = 'default_token'">
1686
- <xsl:text>``[link asio.reference.asynchronous_operations.default_completion_tokens ['DEFAULT]]``</xsl:text>
1687
- </xsl:when>
1688
- <xsl:otherwise><xsl:value-of select="defval"/></xsl:otherwise>
1689
- </xsl:choose></xsl:if>
1690
- <xsl:if test="not(position() = last())">,</xsl:if>
1691
- </xsl:template>
1692
-
1693
-
1694
- <xsl:template match="*" mode="class-detail"/>
1695
-
1696
-
1697
- <!--========== Namespace ==========-->
1698
-
1699
- <xsl:template name="namespace-memberdef">
1700
- <xsl:variable name="name">
1701
- <xsl:call-template name="strip-asio-ns">
1702
- <xsl:with-param name="name" select="concat(../../compoundname, '::', name)"/>
1703
- </xsl:call-template>
1704
- </xsl:variable>
1705
- <xsl:variable name="unqualified-name">
1706
- <xsl:call-template name="strip-ns">
1707
- <xsl:with-param name="name" select="$name"/>
1708
- </xsl:call-template>
1709
- </xsl:variable>
1710
- <xsl:variable name="id">
1711
- <xsl:call-template name="make-id">
1712
- <xsl:with-param name="name" select="$name"/>
1713
- </xsl:call-template>
1714
- </xsl:variable>
1715
- <xsl:variable name="doxygen-id">
1716
- <xsl:value-of select="@id"/>
1717
- </xsl:variable>
1718
- <xsl:variable name="overload-count">
1719
- <xsl:value-of select="count(../memberdef[name = $unqualified-name])"/>
1720
- </xsl:variable>
1721
- <xsl:variable name="overload-position">
1722
- <xsl:for-each select="../memberdef[name = $unqualified-name]">
1723
- <xsl:if test="@id = $doxygen-id">
1724
- <xsl:value-of select="position()"/>
1725
- </xsl:if>
1726
- </xsl:for-each>
1727
- </xsl:variable>
1728
-
1729
- <xsl:if test="$overload-count &gt; 1 and $overload-position = 1">
1730
- [section:<xsl:value-of select="$id"/><xsl:text> </xsl:text><xsl:value-of select="$name"/>]
1731
-
1732
- <xsl:text>[indexterm1 </xsl:text>
1733
- <xsl:text>asio.indexterm.</xsl:text>
1734
- <xsl:value-of select="$id"/>
1735
- <xsl:text>..</xsl:text>
1736
- <xsl:value-of select="$name"/>
1737
- <xsl:text>] </xsl:text>
1738
-
1739
- <xsl:for-each select="($all-compounddefs)[@kind='group' and compoundname=$name]">
1740
- <xsl:apply-templates select="briefdescription" mode="markup"/>
1741
- <xsl:value-of select="$newline"/>
1742
- </xsl:for-each>
1743
-
1744
- <xsl:for-each select="../memberdef[name = $unqualified-name]">
1745
- <xsl:variable name="stripped-type">
1746
- <xsl:call-template name="cleanup-type">
1747
- <xsl:with-param name="name" select="type"/>
1748
- </xsl:call-template>
1749
- </xsl:variable>
1750
- <xsl:if test="position() = 1 or not(briefdescription = preceding-sibling::memberdef[1]/briefdescription)">
1751
- <xsl:apply-templates select="briefdescription" mode="markup"/>
1752
- </xsl:if>
1753
- <xsl:text>
1754
- </xsl:text><xsl:apply-templates select="templateparamlist" mode="class-detail"/>
1755
- <xsl:text> </xsl:text><xsl:if test="string-length($stripped-type) &gt; 0"><xsl:value-of
1756
- select="$stripped-type"/><xsl:text> </xsl:text></xsl:if>``[link asio.reference.<xsl:value-of
1757
- select="$id"/>.overload<xsl:value-of select="position()"/><xsl:text> </xsl:text>
1758
- <xsl:value-of select="name"/>]``(<xsl:apply-templates select="param" mode="class-detail"/>);
1759
- <xsl:text> `` [''''&amp;raquo;'''</xsl:text>
1760
- <xsl:text> [link asio.reference.</xsl:text>
1761
- <xsl:value-of select="$id"/>.overload<xsl:value-of select="position()"/>
1762
- <xsl:text> more...]]``
1763
- </xsl:text>
1764
- </xsl:for-each>
1765
-
1766
- <xsl:for-each select="($all-compounddefs)[@kind='group' and compoundname=$name]">
1767
- <xsl:apply-templates select="detaileddescription" mode="markup"/>
1768
- </xsl:for-each>
1769
-
1770
- <xsl:call-template name="header-requirements">
1771
- <xsl:with-param name="file" select="location/@file"/>
1772
- </xsl:call-template>
1773
-
1774
- </xsl:if>
1775
-
1776
- [section:<xsl:if test="$overload-count = 1"><xsl:value-of select="$id"/></xsl:if>
1777
- <xsl:if test="$overload-count &gt; 1">overload<xsl:value-of select="$overload-position"/>
1778
- </xsl:if><xsl:text> </xsl:text><xsl:value-of select="$name"/>
1779
- <xsl:if test="$overload-count &gt; 1"> (<xsl:value-of
1780
- select="$overload-position"/> of <xsl:value-of select="$overload-count"/> overloads)</xsl:if>]
1781
-
1782
- <xsl:if test="$overload-count = 1">
1783
- <xsl:text>[indexterm1 </xsl:text>
1784
- <xsl:text>asio.indexterm.</xsl:text>
1785
- <xsl:value-of select="$id"/>
1786
- <xsl:text>..</xsl:text>
1787
- <xsl:value-of select="$name"/>
1788
- <xsl:text>] </xsl:text>
1789
- </xsl:if>
1790
-
1791
- <xsl:apply-templates select="briefdescription" mode="markup"/><xsl:text>
1792
- </xsl:text>
1793
-
1794
- <xsl:choose>
1795
- <xsl:when test="@kind='typedef'">
1796
- <xsl:call-template name="typedef">
1797
- <xsl:with-param name="class-name" select="$name"/>
1798
- </xsl:call-template>
1799
- </xsl:when>
1800
- <xsl:when test="@kind='variable'">
1801
- <xsl:call-template name="variable"/>
1802
- </xsl:when>
1803
- <xsl:when test="@kind='enum'">
1804
- <xsl:call-template name="enum">
1805
- <xsl:with-param name="enum-name" select="$name"/>
1806
- <xsl:with-param name="id" select="$id"/>
1807
- </xsl:call-template>
1808
- </xsl:when>
1809
- <xsl:when test="@kind='function'">
1810
- <xsl:call-template name="function"/>
1811
- </xsl:when>
1812
- </xsl:choose>
1813
-
1814
- <xsl:text>
1815
- </xsl:text><xsl:apply-templates select="detaileddescription" mode="markup"/>
1816
-
1817
- <xsl:if test="$overload-count = 1">
1818
- <xsl:call-template name="header-requirements">
1819
- <xsl:with-param name="file" select="location/@file"/>
1820
- </xsl:call-template>
1821
- </xsl:if>
1822
-
1823
- [endsect]
1824
-
1825
- <xsl:if test="$overload-count &gt; 1 and $overload-position = $overload-count">
1826
- [endsect]
1827
- </xsl:if>
1828
- </xsl:template>
1829
-
1830
-
1831
- </xsl:stylesheet>