@dittolive/ditto 4.4.4 → 4.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (289) hide show
  1. package/DittoReactNative.podspec +27 -0
  2. package/README.md +68 -51
  3. package/node/ditto.cjs.js +1639 -851
  4. package/node/ditto.darwin-arm64.node +0 -0
  5. package/node/ditto.darwin-x64.node +0 -0
  6. package/node/ditto.linux-arm.node +0 -0
  7. package/node/ditto.linux-x64.node +0 -0
  8. package/node/ditto.win32-x64.node +0 -0
  9. package/node/transports.darwin-arm64.node +0 -0
  10. package/node/transports.darwin-x64.node +0 -0
  11. package/package.json +34 -38
  12. package/react-native/android/CMakeLists.txt +37 -0
  13. package/react-native/android/build.gradle +203 -0
  14. package/react-native/android/cpp-adapter.cpp +254 -0
  15. package/react-native/android/gradle.properties +5 -0
  16. package/react-native/android/src/main/AndroidManifest.xml +4 -0
  17. package/react-native/android/src/main/java/com/dittolive/rnsdk/DittoRNSDKModule.java +85 -0
  18. package/react-native/android/src/main/java/com/dittolive/rnsdk/DittoRNSDKPackage.java +28 -0
  19. package/react-native/boost/boost/assert.hpp +85 -0
  20. package/react-native/boost/boost/config/abi/borland_prefix.hpp +27 -0
  21. package/react-native/boost/boost/config/abi/borland_suffix.hpp +12 -0
  22. package/react-native/boost/boost/config/abi/msvc_prefix.hpp +22 -0
  23. package/react-native/boost/boost/config/abi/msvc_suffix.hpp +8 -0
  24. package/react-native/boost/boost/config/abi_prefix.hpp +25 -0
  25. package/react-native/boost/boost/config/abi_suffix.hpp +25 -0
  26. package/react-native/boost/boost/config/assert_cxx03.hpp +211 -0
  27. package/react-native/boost/boost/config/assert_cxx11.hpp +209 -0
  28. package/react-native/boost/boost/config/assert_cxx14.hpp +47 -0
  29. package/react-native/boost/boost/config/assert_cxx17.hpp +62 -0
  30. package/react-native/boost/boost/config/assert_cxx20.hpp +59 -0
  31. package/react-native/boost/boost/config/assert_cxx98.hpp +23 -0
  32. package/react-native/boost/boost/config/auto_link.hpp +525 -0
  33. package/react-native/boost/boost/config/compiler/borland.hpp +339 -0
  34. package/react-native/boost/boost/config/compiler/clang.hpp +366 -0
  35. package/react-native/boost/boost/config/compiler/clang_version.hpp +83 -0
  36. package/react-native/boost/boost/config/compiler/codegear.hpp +385 -0
  37. package/react-native/boost/boost/config/compiler/comeau.hpp +59 -0
  38. package/react-native/boost/boost/config/compiler/common_edg.hpp +183 -0
  39. package/react-native/boost/boost/config/compiler/compaq_cxx.hpp +19 -0
  40. package/react-native/boost/boost/config/compiler/cray.hpp +446 -0
  41. package/react-native/boost/boost/config/compiler/diab.hpp +26 -0
  42. package/react-native/boost/boost/config/compiler/digitalmars.hpp +143 -0
  43. package/react-native/boost/boost/config/compiler/gcc.hpp +383 -0
  44. package/react-native/boost/boost/config/compiler/gcc_xml.hpp +114 -0
  45. package/react-native/boost/boost/config/compiler/greenhills.hpp +28 -0
  46. package/react-native/boost/boost/config/compiler/hp_acc.hpp +149 -0
  47. package/react-native/boost/boost/config/compiler/intel.hpp +577 -0
  48. package/react-native/boost/boost/config/compiler/kai.hpp +33 -0
  49. package/react-native/boost/boost/config/compiler/metrowerks.hpp +198 -0
  50. package/react-native/boost/boost/config/compiler/mpw.hpp +140 -0
  51. package/react-native/boost/boost/config/compiler/nvcc.hpp +61 -0
  52. package/react-native/boost/boost/config/compiler/pathscale.hpp +138 -0
  53. package/react-native/boost/boost/config/compiler/pgi.hpp +23 -0
  54. package/react-native/boost/boost/config/compiler/sgi_mipspro.hpp +29 -0
  55. package/react-native/boost/boost/config/compiler/sunpro_cc.hpp +222 -0
  56. package/react-native/boost/boost/config/compiler/vacpp.hpp +186 -0
  57. package/react-native/boost/boost/config/compiler/visualc.hpp +391 -0
  58. package/react-native/boost/boost/config/compiler/xlcpp.hpp +299 -0
  59. package/react-native/boost/boost/config/compiler/xlcpp_zos.hpp +173 -0
  60. package/react-native/boost/boost/config/detail/cxx_composite.hpp +203 -0
  61. package/react-native/boost/boost/config/detail/posix_features.hpp +95 -0
  62. package/react-native/boost/boost/config/detail/select_compiler_config.hpp +157 -0
  63. package/react-native/boost/boost/config/detail/select_platform_config.hpp +147 -0
  64. package/react-native/boost/boost/config/detail/select_stdlib_config.hpp +121 -0
  65. package/react-native/boost/boost/config/detail/suffix.hpp +1294 -0
  66. package/react-native/boost/boost/config/header_deprecated.hpp +26 -0
  67. package/react-native/boost/boost/config/helper_macros.hpp +37 -0
  68. package/react-native/boost/boost/config/no_tr1/cmath.hpp +28 -0
  69. package/react-native/boost/boost/config/no_tr1/complex.hpp +28 -0
  70. package/react-native/boost/boost/config/no_tr1/functional.hpp +28 -0
  71. package/react-native/boost/boost/config/no_tr1/memory.hpp +28 -0
  72. package/react-native/boost/boost/config/no_tr1/utility.hpp +28 -0
  73. package/react-native/boost/boost/config/platform/aix.hpp +33 -0
  74. package/react-native/boost/boost/config/platform/amigaos.hpp +15 -0
  75. package/react-native/boost/boost/config/platform/beos.hpp +26 -0
  76. package/react-native/boost/boost/config/platform/bsd.hpp +83 -0
  77. package/react-native/boost/boost/config/platform/cloudabi.hpp +18 -0
  78. package/react-native/boost/boost/config/platform/cray.hpp +18 -0
  79. package/react-native/boost/boost/config/platform/cygwin.hpp +71 -0
  80. package/react-native/boost/boost/config/platform/haiku.hpp +31 -0
  81. package/react-native/boost/boost/config/platform/hpux.hpp +87 -0
  82. package/react-native/boost/boost/config/platform/irix.hpp +31 -0
  83. package/react-native/boost/boost/config/platform/linux.hpp +106 -0
  84. package/react-native/boost/boost/config/platform/macos.hpp +87 -0
  85. package/react-native/boost/boost/config/platform/qnxnto.hpp +31 -0
  86. package/react-native/boost/boost/config/platform/solaris.hpp +31 -0
  87. package/react-native/boost/boost/config/platform/symbian.hpp +97 -0
  88. package/react-native/boost/boost/config/platform/vms.hpp +25 -0
  89. package/react-native/boost/boost/config/platform/vxworks.hpp +422 -0
  90. package/react-native/boost/boost/config/platform/wasm.hpp +23 -0
  91. package/react-native/boost/boost/config/platform/win32.hpp +90 -0
  92. package/react-native/boost/boost/config/platform/zos.hpp +32 -0
  93. package/react-native/boost/boost/config/pragma_message.hpp +31 -0
  94. package/react-native/boost/boost/config/requires_threads.hpp +92 -0
  95. package/react-native/boost/boost/config/stdlib/dinkumware.hpp +324 -0
  96. package/react-native/boost/boost/config/stdlib/libcomo.hpp +93 -0
  97. package/react-native/boost/boost/config/stdlib/libcpp.hpp +180 -0
  98. package/react-native/boost/boost/config/stdlib/libstdcpp3.hpp +482 -0
  99. package/react-native/boost/boost/config/stdlib/modena.hpp +79 -0
  100. package/react-native/boost/boost/config/stdlib/msl.hpp +98 -0
  101. package/react-native/boost/boost/config/stdlib/roguewave.hpp +208 -0
  102. package/react-native/boost/boost/config/stdlib/sgi.hpp +168 -0
  103. package/react-native/boost/boost/config/stdlib/stlport.hpp +258 -0
  104. package/react-native/boost/boost/config/stdlib/vacpp.hpp +74 -0
  105. package/react-native/boost/boost/config/stdlib/xlcpp_zos.hpp +61 -0
  106. package/react-native/boost/boost/config/user.hpp +133 -0
  107. package/react-native/boost/boost/config/warning_disable.hpp +47 -0
  108. package/react-native/boost/boost/config/workaround.hpp +305 -0
  109. package/react-native/boost/boost/config.hpp +67 -0
  110. package/react-native/boost/boost/cstdint.hpp +556 -0
  111. package/react-native/boost/boost/intrusive_ptr.hpp +18 -0
  112. package/react-native/boost/boost/smart_ptr/detail/atomic_count.hpp +103 -0
  113. package/react-native/boost/boost/smart_ptr/detail/atomic_count_gcc.hpp +79 -0
  114. package/react-native/boost/boost/smart_ptr/detail/atomic_count_gcc_atomic.hpp +63 -0
  115. package/react-native/boost/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp +88 -0
  116. package/react-native/boost/boost/smart_ptr/detail/atomic_count_nt.hpp +66 -0
  117. package/react-native/boost/boost/smart_ptr/detail/atomic_count_pt.hpp +104 -0
  118. package/react-native/boost/boost/smart_ptr/detail/atomic_count_spin.hpp +69 -0
  119. package/react-native/boost/boost/smart_ptr/detail/atomic_count_std_atomic.hpp +67 -0
  120. package/react-native/boost/boost/smart_ptr/detail/atomic_count_sync.hpp +72 -0
  121. package/react-native/boost/boost/smart_ptr/detail/atomic_count_win32.hpp +70 -0
  122. package/react-native/boost/boost/smart_ptr/detail/local_counted_base.hpp +148 -0
  123. package/react-native/boost/boost/smart_ptr/detail/local_sp_deleter.hpp +91 -0
  124. package/react-native/boost/boost/smart_ptr/detail/operator_bool.hpp +64 -0
  125. package/react-native/boost/boost/smart_ptr/detail/requires_cxx11.hpp +23 -0
  126. package/react-native/boost/boost/smart_ptr/detail/shared_count.hpp +707 -0
  127. package/react-native/boost/boost/smart_ptr/detail/sp_convertible.hpp +92 -0
  128. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base.hpp +92 -0
  129. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp +163 -0
  130. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_aix.hpp +152 -0
  131. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp +185 -0
  132. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp +148 -0
  133. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp +170 -0
  134. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp +200 -0
  135. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp +194 -0
  136. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp +179 -0
  137. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp +186 -0
  138. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_nt.hpp +119 -0
  139. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_pt.hpp +147 -0
  140. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp +174 -0
  141. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_spin.hpp +141 -0
  142. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp +147 -0
  143. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_sync.hpp +165 -0
  144. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp +163 -0
  145. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_w32.hpp +140 -0
  146. package/react-native/boost/boost/smart_ptr/detail/sp_counted_impl.hpp +309 -0
  147. package/react-native/boost/boost/smart_ptr/detail/sp_disable_deprecated.hpp +40 -0
  148. package/react-native/boost/boost/smart_ptr/detail/sp_forward.hpp +52 -0
  149. package/react-native/boost/boost/smart_ptr/detail/sp_has_gcc_intrinsics.hpp +27 -0
  150. package/react-native/boost/boost/smart_ptr/detail/sp_has_sync_intrinsics.hpp +69 -0
  151. package/react-native/boost/boost/smart_ptr/detail/sp_interlocked.hpp +173 -0
  152. package/react-native/boost/boost/smart_ptr/detail/sp_noexcept.hpp +48 -0
  153. package/react-native/boost/boost/smart_ptr/detail/sp_nullptr_t.hpp +45 -0
  154. package/react-native/boost/boost/smart_ptr/detail/sp_obsolete.hpp +32 -0
  155. package/react-native/boost/boost/smart_ptr/detail/sp_thread_pause.hpp +51 -0
  156. package/react-native/boost/boost/smart_ptr/detail/sp_thread_sleep.hpp +104 -0
  157. package/react-native/boost/boost/smart_ptr/detail/sp_thread_yield.hpp +100 -0
  158. package/react-native/boost/boost/smart_ptr/detail/sp_typeinfo_.hpp +58 -0
  159. package/react-native/boost/boost/smart_ptr/detail/sp_win32_sleep.hpp +49 -0
  160. package/react-native/boost/boost/smart_ptr/intrusive_ptr.hpp +409 -0
  161. package/react-native/boost/boost/smart_ptr/intrusive_ref_counter.hpp +188 -0
  162. package/react-native/cpp/include/Attachment.h +16 -0
  163. package/react-native/cpp/include/Authentication.h +23 -0
  164. package/react-native/cpp/include/Collection.h +13 -0
  165. package/react-native/cpp/include/DQL.h +21 -0
  166. package/react-native/cpp/include/Document.h +17 -0
  167. package/react-native/cpp/include/Identity.h +17 -0
  168. package/react-native/cpp/include/Lifecycle.h +16 -0
  169. package/react-native/cpp/include/LiveQuery.h +17 -0
  170. package/react-native/cpp/include/Logger.h +22 -0
  171. package/react-native/cpp/include/Misc.h +26 -0
  172. package/react-native/cpp/include/Presence.h +14 -0
  173. package/react-native/cpp/include/RetainableState.h +24 -0
  174. package/react-native/cpp/include/SmallPeerInfo.h +17 -0
  175. package/react-native/cpp/include/Transports.h +25 -0
  176. package/react-native/cpp/include/TypedArray.hpp +167 -0
  177. package/react-native/cpp/include/Utils.h +61 -0
  178. package/react-native/cpp/include/main.h +10 -0
  179. package/react-native/cpp/src/Attachment.cpp +86 -0
  180. package/react-native/cpp/src/Authentication.cpp +224 -0
  181. package/react-native/cpp/src/Collection.cpp +54 -0
  182. package/react-native/cpp/src/DQL.cpp +254 -0
  183. package/react-native/cpp/src/Document.cpp +146 -0
  184. package/react-native/cpp/src/Identity.cpp +123 -0
  185. package/react-native/cpp/src/Lifecycle.cpp +75 -0
  186. package/react-native/cpp/src/LiveQuery.cpp +64 -0
  187. package/react-native/cpp/src/Logger.cpp +200 -0
  188. package/react-native/cpp/src/Misc.cpp +271 -0
  189. package/react-native/cpp/src/Presence.cpp +77 -0
  190. package/react-native/cpp/src/RetainableState.cpp +15 -0
  191. package/react-native/cpp/src/SmallPeerInfo.cpp +108 -0
  192. package/react-native/cpp/src/Transports.cpp +270 -0
  193. package/react-native/cpp/src/TypedArray.cpp +303 -0
  194. package/react-native/cpp/src/Utils.cpp +138 -0
  195. package/react-native/cpp/src/main.cpp +149 -0
  196. package/react-native/dittoffi/dittoffi.h +4698 -0
  197. package/react-native/dittoffi/ifaddrs.cpp +385 -0
  198. package/react-native/dittoffi/ifaddrs.h +206 -0
  199. package/react-native/ios/DittoRNSDK.h +7 -0
  200. package/react-native/ios/DittoRNSDK.mm +107 -0
  201. package/react-native/ios/YeetJSIUtils.h +60 -0
  202. package/react-native/ios/YeetJSIUtils.mm +196 -0
  203. package/react-native/lib/commonjs/ditto.rn.js +93 -0
  204. package/react-native/lib/commonjs/ditto.rn.js.map +1 -0
  205. package/react-native/lib/commonjs/index.js +14 -0
  206. package/react-native/lib/commonjs/index.js.map +1 -0
  207. package/react-native/lib/module/ditto.rn.js +83 -0
  208. package/react-native/lib/module/ditto.rn.js.map +1 -0
  209. package/react-native/lib/module/index.js +13 -0
  210. package/react-native/lib/module/index.js.map +1 -0
  211. package/react-native/lib/typescript/ditto.rn.d.ts +15 -0
  212. package/react-native/lib/typescript/ditto.rn.d.ts.map +1 -0
  213. package/react-native/lib/typescript/index.d.ts +1 -0
  214. package/react-native/lib/typescript/index.d.ts.map +1 -0
  215. package/react-native/scripts/ruby/include_local_boost.rb +78 -0
  216. package/react-native/src/ditto.rn.ts +91 -0
  217. package/react-native/src/environment/environment.fallback.ts +4 -0
  218. package/react-native/src/index.ts +26 -0
  219. package/react-native/src/sources/@cbor-redux.ts +2 -0
  220. package/react-native/src/sources/@ditto.core.ts +1 -0
  221. package/react-native/src/sources/@environment.ts +2 -0
  222. package/react-native/src/sources/attachment-fetch-event.ts +54 -0
  223. package/react-native/src/sources/attachment-fetcher-manager.ts +129 -0
  224. package/react-native/src/sources/attachment-fetcher.ts +124 -0
  225. package/react-native/src/sources/attachment-token.ts +48 -0
  226. package/react-native/src/sources/attachment.ts +59 -0
  227. package/react-native/src/sources/augment.ts +89 -0
  228. package/react-native/src/sources/authenticator.ts +314 -0
  229. package/react-native/src/sources/base-pending-cursor-operation.ts +237 -0
  230. package/react-native/src/sources/base-pending-id-specific-operation.ts +109 -0
  231. package/react-native/src/sources/bridge.ts +549 -0
  232. package/react-native/src/sources/build-time-constants.ts +4 -0
  233. package/react-native/src/sources/cbor.ts +35 -0
  234. package/react-native/src/sources/collection-interface.ts +67 -0
  235. package/react-native/src/sources/collection.ts +212 -0
  236. package/react-native/src/sources/collections-event.ts +99 -0
  237. package/react-native/src/sources/counter.ts +77 -0
  238. package/react-native/src/sources/ditto.ts +945 -0
  239. package/react-native/src/sources/document-id.ts +159 -0
  240. package/react-native/src/sources/document-path.ts +303 -0
  241. package/react-native/src/sources/document.ts +192 -0
  242. package/react-native/src/sources/epilogue.ts +24 -0
  243. package/react-native/src/sources/error-codes.ts +52 -0
  244. package/react-native/src/sources/error.ts +203 -0
  245. package/react-native/src/sources/essentials.ts +53 -0
  246. package/react-native/src/sources/ffi-error.ts +117 -0
  247. package/react-native/src/sources/ffi.ts +1972 -0
  248. package/react-native/src/sources/identity.ts +163 -0
  249. package/react-native/src/sources/init.ts +70 -0
  250. package/react-native/src/sources/internal.ts +113 -0
  251. package/react-native/src/sources/keep-alive.ts +69 -0
  252. package/react-native/src/sources/key-path.ts +195 -0
  253. package/react-native/src/sources/live-query-event.ts +208 -0
  254. package/react-native/src/sources/live-query-manager.ts +101 -0
  255. package/react-native/src/sources/live-query.ts +164 -0
  256. package/react-native/src/sources/logger.ts +196 -0
  257. package/react-native/src/sources/observer-manager.ts +175 -0
  258. package/react-native/src/sources/observer.ts +77 -0
  259. package/react-native/src/sources/pending-collections-operation.ts +232 -0
  260. package/react-native/src/sources/pending-cursor-operation.ts +218 -0
  261. package/react-native/src/sources/pending-id-specific-operation.ts +216 -0
  262. package/react-native/src/sources/presence-manager.ts +160 -0
  263. package/react-native/src/sources/presence.ts +238 -0
  264. package/react-native/src/sources/query-result-item.ts +116 -0
  265. package/react-native/src/sources/query-result.ts +55 -0
  266. package/react-native/src/sources/register.ts +92 -0
  267. package/react-native/src/sources/small-peer-info.ts +176 -0
  268. package/react-native/src/sources/static-tcp-client.ts +6 -0
  269. package/react-native/src/sources/store-observer.ts +176 -0
  270. package/react-native/src/sources/store.ts +365 -0
  271. package/react-native/src/sources/subscription-manager.ts +98 -0
  272. package/react-native/src/sources/subscription.ts +88 -0
  273. package/react-native/src/sources/sync-subscription.ts +90 -0
  274. package/react-native/src/sources/sync.ts +495 -0
  275. package/react-native/src/sources/test-helpers.ts +24 -0
  276. package/react-native/src/sources/transport-conditions-manager.ts +104 -0
  277. package/react-native/src/sources/transport-config.ts +428 -0
  278. package/react-native/src/sources/update-result.ts +66 -0
  279. package/react-native/src/sources/update-results-map.ts +57 -0
  280. package/react-native/src/sources/websocket-client.ts +6 -0
  281. package/react-native/src/sources/write-transaction-collection.ts +122 -0
  282. package/react-native/src/sources/write-transaction-pending-cursor-operation.ts +101 -0
  283. package/react-native/src/sources/write-transaction-pending-id-specific-operation.ts +72 -0
  284. package/react-native/src/sources/write-transaction.ts +119 -0
  285. package/react-native.config.js +9 -0
  286. package/types/ditto.d.ts +1230 -798
  287. package/web/ditto.es6.js +1 -1
  288. package/web/ditto.umd.js +1 -1
  289. package/web/ditto.wasm +0 -0
@@ -0,0 +1,85 @@
1
+ package com.dittolive.rnsdk;
2
+
3
+ import android.os.Build;
4
+ import android.util.Log;
5
+
6
+ import androidx.annotation.NonNull;
7
+
8
+ import com.facebook.react.bridge.ReactApplicationContext;
9
+ import com.facebook.react.bridge.ReactContextBaseJavaModule;
10
+ import com.facebook.react.module.annotations.ReactModule;
11
+ import com.facebook.react.bridge.ReactMethod;
12
+ import java.io.File;
13
+
14
+ import java.security.SecureRandom;
15
+
16
+ @ReactModule(name = DittoRNSDKModule.NAME)
17
+ public class DittoRNSDKModule extends ReactContextBaseJavaModule {
18
+ public static final String NAME = "DittoRNSDK";
19
+ private native void nativeInstall(ReactApplicationContext context, long jsiPtr);
20
+
21
+ public DittoRNSDKModule(ReactApplicationContext reactContext) {
22
+ super(reactContext);
23
+ }
24
+
25
+ @Override
26
+ @NonNull
27
+ public String getName() {
28
+ return NAME;
29
+ }
30
+
31
+ @ReactMethod(isBlockingSynchronousMethod = true)
32
+ public boolean install() {
33
+ try {
34
+ System.loadLibrary("cpp");
35
+
36
+ ReactApplicationContext context = getReactApplicationContext();
37
+ nativeInstall(
38
+ context,
39
+ context.getJavaScriptContextHolder().get()
40
+ );
41
+ return true;
42
+ } catch (Exception exception) {
43
+ return false;
44
+ }
45
+ }
46
+
47
+ public String getDeviceName() {
48
+ String manufacturer = Build.MANUFACTURER;
49
+ String model = Build.MODEL;
50
+ if (model.startsWith(manufacturer)) {
51
+ return model;
52
+ } else {
53
+ return manufacturer + " " + model;
54
+ }
55
+ }
56
+
57
+ public String createDirectory(String path) {
58
+ File dir;
59
+
60
+ // If the path doesn't start with '/', treat it as a relative path.
61
+ if (!path.startsWith("/")) {
62
+ ReactApplicationContext context = getReactApplicationContext();
63
+ File appDir = context.getFilesDir(); // Get app's data directory
64
+ dir = new File(appDir, path);
65
+ } else {
66
+ dir = new File(path);
67
+ }
68
+
69
+ if (!dir.exists() && !dir.mkdirs()) {
70
+ Log.e("AppLog", "Error creating directory: " + dir.getAbsolutePath());
71
+ }
72
+
73
+ return dir.getAbsolutePath();
74
+ }
75
+
76
+
77
+ public byte[] getRandomValues(int byteLength) {
78
+ byte[] data = new byte[byteLength];
79
+ SecureRandom random = new SecureRandom();
80
+
81
+ random.nextBytes(data);
82
+
83
+ return data;
84
+ }
85
+ }
@@ -0,0 +1,28 @@
1
+ package com.dittolive.rnsdk;
2
+
3
+ import androidx.annotation.NonNull;
4
+
5
+ import com.facebook.react.ReactPackage;
6
+ import com.facebook.react.bridge.NativeModule;
7
+ import com.facebook.react.bridge.ReactApplicationContext;
8
+ import com.facebook.react.uimanager.ViewManager;
9
+
10
+ import java.util.ArrayList;
11
+ import java.util.Collections;
12
+ import java.util.List;
13
+
14
+ public class DittoRNSDKPackage implements ReactPackage {
15
+ @NonNull
16
+ @Override
17
+ public List<NativeModule> createNativeModules(@NonNull ReactApplicationContext reactContext) {
18
+ List<NativeModule> modules = new ArrayList<>();
19
+ modules.add(new DittoRNSDKModule(reactContext));
20
+ return modules;
21
+ }
22
+
23
+ @NonNull
24
+ @Override
25
+ public List<ViewManager> createViewManagers(@NonNull ReactApplicationContext reactContext) {
26
+ return Collections.emptyList();
27
+ }
28
+ }
@@ -0,0 +1,85 @@
1
+ //
2
+ // boost/assert.hpp - BOOST_ASSERT(expr)
3
+ // BOOST_ASSERT_MSG(expr, msg)
4
+ // BOOST_VERIFY(expr)
5
+ // BOOST_VERIFY_MSG(expr, msg)
6
+ // BOOST_ASSERT_IS_VOID
7
+ //
8
+ // Copyright (c) 2001, 2002 Peter Dimov and Multi Media Ltd.
9
+ // Copyright (c) 2007, 2014 Peter Dimov
10
+ // Copyright (c) Beman Dawes 2011
11
+ // Copyright (c) 2015 Ion Gaztanaga
12
+ //
13
+ // Distributed under the Boost Software License, Version 1.0.
14
+ // See accompanying file LICENSE_1_0.txt or copy at
15
+ // http://www.boost.org/LICENSE_1_0.txt
16
+ //
17
+ // Note: There are no include guards. This is intentional.
18
+ //
19
+ // See http://www.boost.org/libs/assert/assert.html for documentation.
20
+ //
21
+
22
+ //
23
+ // Stop inspect complaining about use of 'assert':
24
+ //
25
+ // boostinspect:naassert_macro
26
+ //
27
+
28
+ //
29
+ // BOOST_ASSERT, BOOST_ASSERT_MSG, BOOST_ASSERT_IS_VOID
30
+ //
31
+
32
+ #undef BOOST_ASSERT
33
+ #undef BOOST_ASSERT_MSG
34
+ #undef BOOST_ASSERT_IS_VOID
35
+
36
+ #if defined(BOOST_DISABLE_ASSERTS) || ( defined(BOOST_ENABLE_ASSERT_DEBUG_HANDLER) && defined(NDEBUG) )
37
+
38
+ # define BOOST_ASSERT(expr) ((void)0)
39
+ # define BOOST_ASSERT_MSG(expr, msg) ((void)0)
40
+ # define BOOST_ASSERT_IS_VOID
41
+
42
+ #elif defined(BOOST_ENABLE_ASSERT_HANDLER) || ( defined(BOOST_ENABLE_ASSERT_DEBUG_HANDLER) && !defined(NDEBUG) )
43
+
44
+ #include <boost/config.hpp> // for BOOST_LIKELY
45
+ #include <boost/current_function.hpp>
46
+
47
+ namespace boost
48
+ {
49
+ void assertion_failed(char const * expr, char const * function, char const * file, long line); // user defined
50
+ void assertion_failed_msg(char const * expr, char const * msg, char const * function, char const * file, long line); // user defined
51
+ } // namespace boost
52
+
53
+ #define BOOST_ASSERT(expr) (BOOST_LIKELY(!!(expr))? ((void)0): ::boost::assertion_failed(#expr, BOOST_CURRENT_FUNCTION, __FILE__, __LINE__))
54
+ #define BOOST_ASSERT_MSG(expr, msg) (BOOST_LIKELY(!!(expr))? ((void)0): ::boost::assertion_failed_msg(#expr, msg, BOOST_CURRENT_FUNCTION, __FILE__, __LINE__))
55
+
56
+ #else
57
+
58
+ # include <assert.h> // .h to support old libraries w/o <cassert> - effect is the same
59
+
60
+ # define BOOST_ASSERT(expr) assert(expr)
61
+ # define BOOST_ASSERT_MSG(expr, msg) assert((expr)&&(msg))
62
+ #if defined(NDEBUG)
63
+ # define BOOST_ASSERT_IS_VOID
64
+ #endif
65
+
66
+ #endif
67
+
68
+ //
69
+ // BOOST_VERIFY, BOOST_VERIFY_MSG
70
+ //
71
+
72
+ #undef BOOST_VERIFY
73
+ #undef BOOST_VERIFY_MSG
74
+
75
+ #if defined(BOOST_DISABLE_ASSERTS) || ( !defined(BOOST_ENABLE_ASSERT_HANDLER) && defined(NDEBUG) )
76
+
77
+ # define BOOST_VERIFY(expr) ((void)(expr))
78
+ # define BOOST_VERIFY_MSG(expr, msg) ((void)(expr))
79
+
80
+ #else
81
+
82
+ # define BOOST_VERIFY(expr) BOOST_ASSERT(expr)
83
+ # define BOOST_VERIFY_MSG(expr, msg) BOOST_ASSERT_MSG(expr,msg)
84
+
85
+ #endif
@@ -0,0 +1,27 @@
1
+ // (C) Copyright John Maddock 2003.
2
+ // Use, modification and distribution are subject to the
3
+ // Boost Software License, Version 1.0. (See accompanying file
4
+ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
+
6
+ // for C++ Builder the following options effect the ABI:
7
+ //
8
+ // -b (on or off - effect emum sizes)
9
+ // -Vx (on or off - empty members)
10
+ // -Ve (on or off - empty base classes)
11
+ // -aX (alignment - 5 options).
12
+ // -pX (Calling convention - 4 options)
13
+ // -VmX (member pointer size and layout - 5 options)
14
+ // -VC (on or off, changes name mangling)
15
+ // -Vl (on or off, changes struct layout).
16
+
17
+ // In addition the following warnings are sufficiently annoying (and
18
+ // unfixable) to have them turned off by default:
19
+ //
20
+ // 8027 - functions containing [for|while] loops are not expanded inline
21
+ // 8026 - functions taking class by value arguments are not expanded inline
22
+
23
+ #pragma nopushoptwarn
24
+ # pragma option push -a8 -Vx- -Ve- -b- -pc -Vmv -VC- -Vl- -w-8027 -w-8026
25
+
26
+
27
+
@@ -0,0 +1,12 @@
1
+ // (C) Copyright John Maddock 2003.
2
+ // Use, modification and distribution are subject to the
3
+ // Boost Software License, Version 1.0. (See accompanying file
4
+ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
+
6
+ # pragma option pop
7
+ #pragma nopushoptwarn
8
+
9
+
10
+
11
+
12
+
@@ -0,0 +1,22 @@
1
+ // (C) Copyright John Maddock 2003.
2
+ // Use, modification and distribution are subject to the
3
+ // Boost Software License, Version 1.0. (See accompanying file
4
+ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
+
6
+ //
7
+ // Boost binaries are built with the compiler's default ABI settings,
8
+ // if the user changes their default alignment in the VS IDE then their
9
+ // code will no longer be binary compatible with the bjam built binaries
10
+ // unless this header is included to force Boost code into a consistent ABI.
11
+ //
12
+ // Note that inclusion of this header is only necessary for libraries with
13
+ // separate source, header only libraries DO NOT need this as long as all
14
+ // translation units are built with the same options.
15
+ //
16
+ #if defined(_M_X64)
17
+ # pragma pack(push,16)
18
+ #else
19
+ # pragma pack(push,8)
20
+ #endif
21
+
22
+
@@ -0,0 +1,8 @@
1
+ // (C) Copyright John Maddock 2003.
2
+ // Use, modification and distribution are subject to the
3
+ // Boost Software License, Version 1.0. (See accompanying file
4
+ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
+
6
+ #pragma pack(pop)
7
+
8
+
@@ -0,0 +1,25 @@
1
+ // abi_prefix header -------------------------------------------------------//
2
+
3
+ // (c) Copyright John Maddock 2003
4
+
5
+ // Use, modification and distribution are subject to the Boost Software License,
6
+ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
7
+ // http://www.boost.org/LICENSE_1_0.txt).
8
+
9
+ #ifndef BOOST_CONFIG_ABI_PREFIX_HPP
10
+ # define BOOST_CONFIG_ABI_PREFIX_HPP
11
+ #else
12
+ # error double inclusion of header boost/config/abi_prefix.hpp is an error
13
+ #endif
14
+
15
+ #include <boost/config.hpp>
16
+
17
+ // this must occur after all other includes and before any code appears:
18
+ #ifdef BOOST_HAS_ABI_HEADERS
19
+ # include BOOST_ABI_PREFIX
20
+ #endif
21
+
22
+ #if defined( BOOST_BORLANDC )
23
+ #pragma nopushoptwarn
24
+ #endif
25
+
@@ -0,0 +1,25 @@
1
+ // abi_sufffix header -------------------------------------------------------//
2
+
3
+ // (c) Copyright John Maddock 2003
4
+
5
+ // Use, modification and distribution are subject to the Boost Software License,
6
+ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
7
+ // http://www.boost.org/LICENSE_1_0.txt).
8
+
9
+ // This header should be #included AFTER code that was preceded by a #include
10
+ // <boost/config/abi_prefix.hpp>.
11
+
12
+ #ifndef BOOST_CONFIG_ABI_PREFIX_HPP
13
+ # error Header boost/config/abi_suffix.hpp must only be used after boost/config/abi_prefix.hpp
14
+ #else
15
+ # undef BOOST_CONFIG_ABI_PREFIX_HPP
16
+ #endif
17
+
18
+ // the suffix header occurs after all of our code:
19
+ #ifdef BOOST_HAS_ABI_HEADERS
20
+ # include BOOST_ABI_SUFFIX
21
+ #endif
22
+
23
+ #if defined( BOOST_BORLANDC )
24
+ #pragma nopushoptwarn
25
+ #endif
@@ -0,0 +1,211 @@
1
+ // This file was automatically generated on Sun Jun 5 16:50:18 2022
2
+ // by libs/config/tools/generate.cpp
3
+ // Copyright John Maddock 2002-21.
4
+ // Use, modification and distribution are subject to the
5
+ // Boost Software License, Version 1.0. (See accompanying file
6
+ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7
+
8
+ // See http://www.boost.org/libs/config for the most recent version.//
9
+ // Revision $Id$
10
+ //
11
+
12
+ #include <boost/config.hpp>
13
+
14
+ #ifdef BOOST_NO_ADL_BARRIER
15
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_ADL_BARRIER."
16
+ #endif
17
+ #ifdef BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
18
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP."
19
+ #endif
20
+ #ifdef BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS
21
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS."
22
+ #endif
23
+ #ifdef BOOST_NO_COMPLETE_VALUE_INITIALIZATION
24
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_COMPLETE_VALUE_INITIALIZATION."
25
+ #endif
26
+ #ifdef BOOST_NO_CTYPE_FUNCTIONS
27
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_CTYPE_FUNCTIONS."
28
+ #endif
29
+ #ifdef BOOST_NO_CV_SPECIALIZATIONS
30
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_CV_SPECIALIZATIONS."
31
+ #endif
32
+ #ifdef BOOST_NO_CV_VOID_SPECIALIZATIONS
33
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_CV_VOID_SPECIALIZATIONS."
34
+ #endif
35
+ #ifdef BOOST_NO_CWCHAR
36
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_CWCHAR."
37
+ #endif
38
+ #ifdef BOOST_NO_CWCTYPE
39
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_CWCTYPE."
40
+ #endif
41
+ #ifdef BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
42
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_DEPENDENT_NESTED_DERIVATIONS."
43
+ #endif
44
+ #ifdef BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
45
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS."
46
+ #endif
47
+ #ifdef BOOST_NO_EXCEPTIONS
48
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_EXCEPTIONS."
49
+ #endif
50
+ #ifdef BOOST_NO_EXCEPTION_STD_NAMESPACE
51
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_EXCEPTION_STD_NAMESPACE."
52
+ #endif
53
+ #ifdef BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
54
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS."
55
+ #endif
56
+ #ifdef BOOST_NO_FENV_H
57
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_FENV_H."
58
+ #endif
59
+ #ifdef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
60
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_FUNCTION_TEMPLATE_ORDERING."
61
+ #endif
62
+ #ifdef BOOST_NO_FUNCTION_TYPE_SPECIALIZATIONS
63
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_FUNCTION_TYPE_SPECIALIZATIONS."
64
+ #endif
65
+ #ifdef BOOST_NO_INCLASS_MEMBER_INITIALIZATION
66
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_INCLASS_MEMBER_INITIALIZATION."
67
+ #endif
68
+ #ifdef BOOST_NO_INTEGRAL_INT64_T
69
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_INTEGRAL_INT64_T."
70
+ #endif
71
+ #ifdef BOOST_NO_INTRINSIC_WCHAR_T
72
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_INTRINSIC_WCHAR_T."
73
+ #endif
74
+ #ifdef BOOST_NO_IOSFWD
75
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_IOSFWD."
76
+ #endif
77
+ #ifdef BOOST_NO_IOSTREAM
78
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_IOSTREAM."
79
+ #endif
80
+ #ifdef BOOST_NO_IS_ABSTRACT
81
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_IS_ABSTRACT."
82
+ #endif
83
+ #ifdef BOOST_NO_LIMITS
84
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_LIMITS."
85
+ #endif
86
+ #ifdef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
87
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS."
88
+ #endif
89
+ #ifdef BOOST_NO_LONG_LONG
90
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_LONG_LONG."
91
+ #endif
92
+ #ifdef BOOST_NO_LONG_LONG_NUMERIC_LIMITS
93
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_LONG_LONG_NUMERIC_LIMITS."
94
+ #endif
95
+ #ifdef BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
96
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS."
97
+ #endif
98
+ #ifdef BOOST_NO_MEMBER_TEMPLATES
99
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_MEMBER_TEMPLATES."
100
+ #endif
101
+ #ifdef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
102
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_MEMBER_TEMPLATE_FRIENDS."
103
+ #endif
104
+ #ifdef BOOST_NO_MEMBER_TEMPLATE_KEYWORD
105
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_MEMBER_TEMPLATE_KEYWORD."
106
+ #endif
107
+ #ifdef BOOST_NO_NESTED_FRIENDSHIP
108
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_NESTED_FRIENDSHIP."
109
+ #endif
110
+ #ifdef BOOST_NO_OPERATORS_IN_NAMESPACE
111
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_OPERATORS_IN_NAMESPACE."
112
+ #endif
113
+ #ifdef BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS
114
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS."
115
+ #endif
116
+ #ifdef BOOST_NO_POINTER_TO_MEMBER_CONST
117
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_POINTER_TO_MEMBER_CONST."
118
+ #endif
119
+ #ifdef BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS
120
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS."
121
+ #endif
122
+ #ifdef BOOST_NO_PRIVATE_IN_AGGREGATE
123
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_PRIVATE_IN_AGGREGATE."
124
+ #endif
125
+ #ifdef BOOST_NO_RESTRICT_REFERENCES
126
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_RESTRICT_REFERENCES."
127
+ #endif
128
+ #ifdef BOOST_NO_RTTI
129
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_RTTI."
130
+ #endif
131
+ #ifdef BOOST_NO_SFINAE
132
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_SFINAE."
133
+ #endif
134
+ #ifdef BOOST_NO_SFINAE_EXPR
135
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_SFINAE_EXPR."
136
+ #endif
137
+ #ifdef BOOST_NO_STDC_NAMESPACE
138
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_STDC_NAMESPACE."
139
+ #endif
140
+ #ifdef BOOST_NO_STD_ALLOCATOR
141
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_STD_ALLOCATOR."
142
+ #endif
143
+ #ifdef BOOST_NO_STD_DISTANCE
144
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_STD_DISTANCE."
145
+ #endif
146
+ #ifdef BOOST_NO_STD_ITERATOR
147
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_STD_ITERATOR."
148
+ #endif
149
+ #ifdef BOOST_NO_STD_ITERATOR_TRAITS
150
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_STD_ITERATOR_TRAITS."
151
+ #endif
152
+ #ifdef BOOST_NO_STD_LOCALE
153
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_STD_LOCALE."
154
+ #endif
155
+ #ifdef BOOST_NO_STD_MESSAGES
156
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_STD_MESSAGES."
157
+ #endif
158
+ #ifdef BOOST_NO_STD_MIN_MAX
159
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_STD_MIN_MAX."
160
+ #endif
161
+ #ifdef BOOST_NO_STD_OUTPUT_ITERATOR_ASSIGN
162
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_STD_OUTPUT_ITERATOR_ASSIGN."
163
+ #endif
164
+ #ifdef BOOST_NO_STD_TYPEINFO
165
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_STD_TYPEINFO."
166
+ #endif
167
+ #ifdef BOOST_NO_STD_USE_FACET
168
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_STD_USE_FACET."
169
+ #endif
170
+ #ifdef BOOST_NO_STD_WSTREAMBUF
171
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_STD_WSTREAMBUF."
172
+ #endif
173
+ #ifdef BOOST_NO_STD_WSTRING
174
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_STD_WSTRING."
175
+ #endif
176
+ #ifdef BOOST_NO_STRINGSTREAM
177
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_STRINGSTREAM."
178
+ #endif
179
+ #ifdef BOOST_NO_TEMPLATED_IOSTREAMS
180
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_TEMPLATED_IOSTREAMS."
181
+ #endif
182
+ #ifdef BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS
183
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS."
184
+ #endif
185
+ #ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
186
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION."
187
+ #endif
188
+ #ifdef BOOST_NO_TEMPLATE_TEMPLATES
189
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_TEMPLATE_TEMPLATES."
190
+ #endif
191
+ #ifdef BOOST_NO_TWO_PHASE_NAME_LOOKUP
192
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_TWO_PHASE_NAME_LOOKUP."
193
+ #endif
194
+ #ifdef BOOST_NO_TYPEID
195
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_TYPEID."
196
+ #endif
197
+ #ifdef BOOST_NO_TYPENAME_WITH_CTOR
198
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_TYPENAME_WITH_CTOR."
199
+ #endif
200
+ #ifdef BOOST_NO_UNREACHABLE_RETURN_DETECTION
201
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_UNREACHABLE_RETURN_DETECTION."
202
+ #endif
203
+ #ifdef BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE
204
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE."
205
+ #endif
206
+ #ifdef BOOST_NO_USING_TEMPLATE
207
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_USING_TEMPLATE."
208
+ #endif
209
+ #ifdef BOOST_NO_VOID_RETURNS
210
+ # error "Your compiler appears not to be fully C++03 compliant. Detected via defect macro BOOST_NO_VOID_RETURNS."
211
+ #endif