@triniwiz/nativescript-masonkit 1.0.0-alpha.11 → 1.0.0-alpha.13

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 (306) hide show
  1. package/helpers.js +0 -3
  2. package/helpers.js.map +1 -1
  3. package/package.json +1 -1
  4. package/platforms/android/masonkit-release.aar +0 -0
  5. package/style.js +0 -1
  6. package/style.js.map +1 -1
  7. package/node.d.ts +0 -2
  8. package/node.js +0 -3
  9. package/node.js.map +0 -1
  10. package/platforms/ios/Podfile +0 -1
  11. package/platforms/ios/build.xcconfig +0 -5
  12. package/platforms/ios/prebuild.sh +0 -101
  13. package/platforms/new_native_src/cpp/Caches.cpp +0 -36
  14. package/platforms/new_native_src/cpp/Caches.h +0 -42
  15. package/platforms/new_native_src/cpp/Common.h +0 -34
  16. package/platforms/new_native_src/cpp/ConcurrentMap.h +0 -57
  17. package/platforms/new_native_src/cpp/Helpers.cpp +0 -101
  18. package/platforms/new_native_src/cpp/Helpers.h +0 -364
  19. package/platforms/new_native_src/cpp/MasonImpl.cpp +0 -68
  20. package/platforms/new_native_src/cpp/MasonImpl.h +0 -40
  21. package/platforms/new_native_src/cpp/MasonNodeImpl.cpp +0 -89
  22. package/platforms/new_native_src/cpp/MasonNodeImpl.h +0 -47
  23. package/platforms/new_native_src/cpp/MasonStyleImpl.cpp +0 -2181
  24. package/platforms/new_native_src/cpp/MasonStyleImpl.h +0 -420
  25. package/platforms/new_native_src/cpp/include/mason_native.h +0 -972
  26. package/platforms/new_native_src/cpp/include/robin_hood.h +0 -2544
  27. package/src-native/pods/Headers/include/APIDesign.md +0 -72
  28. package/src-native/pods/Headers/include/DEPS +0 -10
  29. package/src-native/pods/Headers/include/DIR_METADATA +0 -11
  30. package/src-native/pods/Headers/include/OWNERS +0 -23
  31. package/src-native/pods/Headers/include/cppgc/DEPS +0 -8
  32. package/src-native/pods/Headers/include/cppgc/OWNERS +0 -2
  33. package/src-native/pods/Headers/include/cppgc/README.md +0 -133
  34. package/src-native/pods/Headers/include/cppgc/allocation.h +0 -310
  35. package/src-native/pods/Headers/include/cppgc/common.h +0 -29
  36. package/src-native/pods/Headers/include/cppgc/cross-thread-persistent.h +0 -465
  37. package/src-native/pods/Headers/include/cppgc/custom-space.h +0 -97
  38. package/src-native/pods/Headers/include/cppgc/default-platform.h +0 -67
  39. package/src-native/pods/Headers/include/cppgc/ephemeron-pair.h +0 -30
  40. package/src-native/pods/Headers/include/cppgc/explicit-management.h +0 -100
  41. package/src-native/pods/Headers/include/cppgc/garbage-collected.h +0 -106
  42. package/src-native/pods/Headers/include/cppgc/heap-consistency.h +0 -266
  43. package/src-native/pods/Headers/include/cppgc/heap-state.h +0 -82
  44. package/src-native/pods/Headers/include/cppgc/heap-statistics.h +0 -120
  45. package/src-native/pods/Headers/include/cppgc/heap.h +0 -206
  46. package/src-native/pods/Headers/include/cppgc/internal/api-constants.h +0 -55
  47. package/src-native/pods/Headers/include/cppgc/internal/atomic-entry-flag.h +0 -48
  48. package/src-native/pods/Headers/include/cppgc/internal/caged-heap-local-data.h +0 -79
  49. package/src-native/pods/Headers/include/cppgc/internal/compiler-specific.h +0 -38
  50. package/src-native/pods/Headers/include/cppgc/internal/finalizer-trait.h +0 -93
  51. package/src-native/pods/Headers/include/cppgc/internal/gc-info.h +0 -156
  52. package/src-native/pods/Headers/include/cppgc/internal/logging.h +0 -50
  53. package/src-native/pods/Headers/include/cppgc/internal/name-trait.h +0 -122
  54. package/src-native/pods/Headers/include/cppgc/internal/persistent-node.h +0 -216
  55. package/src-native/pods/Headers/include/cppgc/internal/pointer-policies.h +0 -186
  56. package/src-native/pods/Headers/include/cppgc/internal/write-barrier.h +0 -435
  57. package/src-native/pods/Headers/include/cppgc/liveness-broker.h +0 -77
  58. package/src-native/pods/Headers/include/cppgc/macros.h +0 -26
  59. package/src-native/pods/Headers/include/cppgc/member.h +0 -291
  60. package/src-native/pods/Headers/include/cppgc/name-provider.h +0 -65
  61. package/src-native/pods/Headers/include/cppgc/object-size-trait.h +0 -58
  62. package/src-native/pods/Headers/include/cppgc/persistent.h +0 -370
  63. package/src-native/pods/Headers/include/cppgc/platform.h +0 -156
  64. package/src-native/pods/Headers/include/cppgc/prefinalizer.h +0 -75
  65. package/src-native/pods/Headers/include/cppgc/process-heap-statistics.h +0 -36
  66. package/src-native/pods/Headers/include/cppgc/sentinel-pointer.h +0 -32
  67. package/src-native/pods/Headers/include/cppgc/source-location.h +0 -92
  68. package/src-native/pods/Headers/include/cppgc/testing.h +0 -106
  69. package/src-native/pods/Headers/include/cppgc/trace-trait.h +0 -116
  70. package/src-native/pods/Headers/include/cppgc/type-traits.h +0 -240
  71. package/src-native/pods/Headers/include/cppgc/visitor.h +0 -379
  72. package/src-native/pods/Headers/include/js_protocol-1.2.json +0 -936
  73. package/src-native/pods/Headers/include/js_protocol-1.3.json +0 -1112
  74. package/src-native/pods/Headers/include/js_protocol.pdl +0 -1709
  75. package/src-native/pods/Headers/include/libffi/arm64/ffi.h +0 -524
  76. package/src-native/pods/Headers/include/libffi/arm64/ffitarget.h +0 -92
  77. package/src-native/pods/Headers/include/libffi/x86_64/ffi.h +0 -524
  78. package/src-native/pods/Headers/include/libffi/x86_64/ffitarget.h +0 -147
  79. package/src-native/pods/Headers/include/libffi.h +0 -12
  80. package/src-native/pods/Headers/include/libplatform/DEPS +0 -9
  81. package/src-native/pods/Headers/include/libplatform/libplatform-export.h +0 -29
  82. package/src-native/pods/Headers/include/libplatform/libplatform.h +0 -106
  83. package/src-native/pods/Headers/include/libplatform/v8-tracing.h +0 -333
  84. package/src-native/pods/Headers/include/v8-array-buffer.h +0 -433
  85. package/src-native/pods/Headers/include/v8-callbacks.h +0 -397
  86. package/src-native/pods/Headers/include/v8-container.h +0 -129
  87. package/src-native/pods/Headers/include/v8-context.h +0 -407
  88. package/src-native/pods/Headers/include/v8-cppgc.h +0 -215
  89. package/src-native/pods/Headers/include/v8-data.h +0 -80
  90. package/src-native/pods/Headers/include/v8-date.h +0 -43
  91. package/src-native/pods/Headers/include/v8-debug.h +0 -168
  92. package/src-native/pods/Headers/include/v8-embedder-heap.h +0 -218
  93. package/src-native/pods/Headers/include/v8-embedder-state-scope.h +0 -51
  94. package/src-native/pods/Headers/include/v8-exception.h +0 -217
  95. package/src-native/pods/Headers/include/v8-extension.h +0 -62
  96. package/src-native/pods/Headers/include/v8-external.h +0 -37
  97. package/src-native/pods/Headers/include/v8-fast-api-calls.h +0 -939
  98. package/src-native/pods/Headers/include/v8-forward.h +0 -81
  99. package/src-native/pods/Headers/include/v8-function-callback.h +0 -475
  100. package/src-native/pods/Headers/include/v8-function.h +0 -125
  101. package/src-native/pods/Headers/include/v8-initialization.h +0 -315
  102. package/src-native/pods/Headers/include/v8-inspector-protocol.h +0 -13
  103. package/src-native/pods/Headers/include/v8-inspector.h +0 -376
  104. package/src-native/pods/Headers/include/v8-internal.h +0 -661
  105. package/src-native/pods/Headers/include/v8-isolate.h +0 -1709
  106. package/src-native/pods/Headers/include/v8-json.h +0 -47
  107. package/src-native/pods/Headers/include/v8-local-handle.h +0 -455
  108. package/src-native/pods/Headers/include/v8-locker.h +0 -149
  109. package/src-native/pods/Headers/include/v8-maybe.h +0 -137
  110. package/src-native/pods/Headers/include/v8-memory-span.h +0 -43
  111. package/src-native/pods/Headers/include/v8-message.h +0 -216
  112. package/src-native/pods/Headers/include/v8-metrics.h +0 -255
  113. package/src-native/pods/Headers/include/v8-microtask-queue.h +0 -152
  114. package/src-native/pods/Headers/include/v8-microtask.h +0 -28
  115. package/src-native/pods/Headers/include/v8-object.h +0 -775
  116. package/src-native/pods/Headers/include/v8-persistent-handle.h +0 -590
  117. package/src-native/pods/Headers/include/v8-platform.h +0 -1092
  118. package/src-native/pods/Headers/include/v8-primitive-object.h +0 -118
  119. package/src-native/pods/Headers/include/v8-primitive.h +0 -866
  120. package/src-native/pods/Headers/include/v8-profiler.h +0 -1198
  121. package/src-native/pods/Headers/include/v8-promise.h +0 -174
  122. package/src-native/pods/Headers/include/v8-proxy.h +0 -50
  123. package/src-native/pods/Headers/include/v8-regexp.h +0 -105
  124. package/src-native/pods/Headers/include/v8-script.h +0 -748
  125. package/src-native/pods/Headers/include/v8-snapshot.h +0 -196
  126. package/src-native/pods/Headers/include/v8-statistics.h +0 -217
  127. package/src-native/pods/Headers/include/v8-template.h +0 -1079
  128. package/src-native/pods/Headers/include/v8-traced-handle.h +0 -420
  129. package/src-native/pods/Headers/include/v8-typed-array.h +0 -282
  130. package/src-native/pods/Headers/include/v8-unwinder-state.h +0 -31
  131. package/src-native/pods/Headers/include/v8-unwinder.h +0 -132
  132. package/src-native/pods/Headers/include/v8-util.h +0 -658
  133. package/src-native/pods/Headers/include/v8-value-serializer-version.h +0 -24
  134. package/src-native/pods/Headers/include/v8-value-serializer.h +0 -279
  135. package/src-native/pods/Headers/include/v8-value.h +0 -526
  136. package/src-native/pods/Headers/include/v8-version-string.h +0 -38
  137. package/src-native/pods/Headers/include/v8-version.h +0 -20
  138. package/src-native/pods/Headers/include/v8-wasm-trap-handler-posix.h +0 -31
  139. package/src-native/pods/Headers/include/v8-wasm-trap-handler-win.h +0 -28
  140. package/src-native/pods/Headers/include/v8-wasm.h +0 -257
  141. package/src-native/pods/Headers/include/v8-weak-callback-info.h +0 -86
  142. package/src-native/pods/Headers/include/v8.h +0 -88
  143. package/src-native/pods/Headers/include/v8config.h +0 -605
  144. package/src-native/pods/Headers/inspector/InspectorServer.h +0 -20
  145. package/src-native/pods/Headers/inspector/JsV8InspectorClient.h +0 -66
  146. package/src-native/pods/Headers/inspector/base/trace_event/common/trace_event_common.h +0 -1123
  147. package/src-native/pods/Headers/inspector/base64.h +0 -9
  148. package/src-native/pods/Headers/inspector/src/base/address-region.h +0 -95
  149. package/src-native/pods/Headers/inspector/src/base/atomic-utils.h +0 -219
  150. package/src-native/pods/Headers/inspector/src/base/atomicops.h +0 -332
  151. package/src-native/pods/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +0 -89
  152. package/src-native/pods/Headers/inspector/src/base/base-export.h +0 -31
  153. package/src-native/pods/Headers/inspector/src/base/bits.h +0 -343
  154. package/src-native/pods/Headers/inspector/src/base/build_config.h +0 -234
  155. package/src-native/pods/Headers/inspector/src/base/compiler-specific.h +0 -136
  156. package/src-native/pods/Headers/inspector/src/base/export-template.h +0 -163
  157. package/src-native/pods/Headers/inspector/src/base/flags.h +0 -130
  158. package/src-native/pods/Headers/inspector/src/base/immediate-crash.h +0 -162
  159. package/src-native/pods/Headers/inspector/src/base/lazy-instance.h +0 -258
  160. package/src-native/pods/Headers/inspector/src/base/logging.h +0 -417
  161. package/src-native/pods/Headers/inspector/src/base/macros.h +0 -423
  162. package/src-native/pods/Headers/inspector/src/base/memory.h +0 -89
  163. package/src-native/pods/Headers/inspector/src/base/once.h +0 -108
  164. package/src-native/pods/Headers/inspector/src/base/optional.h +0 -882
  165. package/src-native/pods/Headers/inspector/src/base/platform/mutex.h +0 -370
  166. package/src-native/pods/Headers/inspector/src/base/platform/platform.h +0 -476
  167. package/src-native/pods/Headers/inspector/src/base/platform/semaphore.h +0 -108
  168. package/src-native/pods/Headers/inspector/src/base/platform/v8-time.h +0 -513
  169. package/src-native/pods/Headers/inspector/src/base/platform/wrappers.h +0 -73
  170. package/src-native/pods/Headers/inspector/src/base/safe_conversions.h +0 -389
  171. package/src-native/pods/Headers/inspector/src/base/safe_conversions_impl.h +0 -822
  172. package/src-native/pods/Headers/inspector/src/base/template-utils.h +0 -113
  173. package/src-native/pods/Headers/inspector/src/base/v8-fallthrough.h +0 -21
  174. package/src-native/pods/Headers/inspector/src/common/checks.h +0 -38
  175. package/src-native/pods/Headers/inspector/src/common/globals.h +0 -1842
  176. package/src-native/pods/Headers/inspector/src/debug/debug-interface.h +0 -667
  177. package/src-native/pods/Headers/inspector/src/debug/interface-types.h +0 -175
  178. package/src-native/pods/Headers/inspector/src/init/v8.h +0 -52
  179. package/src-native/pods/Headers/inspector/src/inspector/custom-preview.h +0 -24
  180. package/src-native/pods/Headers/inspector/src/inspector/injected-script.h +0 -251
  181. package/src-native/pods/Headers/inspector/src/inspector/inspected-context.h +0 -79
  182. package/src-native/pods/Headers/inspector/src/inspector/protocol/CSS.h +0 -2148
  183. package/src-native/pods/Headers/inspector/src/inspector/protocol/Console.h +0 -211
  184. package/src-native/pods/Headers/inspector/src/inspector/protocol/DOM.h +0 -1008
  185. package/src-native/pods/Headers/inspector/src/inspector/protocol/Debugger.h +0 -892
  186. package/src-native/pods/Headers/inspector/src/inspector/protocol/Forward.h +0 -75
  187. package/src-native/pods/Headers/inspector/src/inspector/protocol/HeapProfiler.h +0 -346
  188. package/src-native/pods/Headers/inspector/src/inspector/protocol/Log.h +0 -342
  189. package/src-native/pods/Headers/inspector/src/inspector/protocol/Network.h +0 -2528
  190. package/src-native/pods/Headers/inspector/src/inspector/protocol/Overlay.h +0 -281
  191. package/src-native/pods/Headers/inspector/src/inspector/protocol/Page.h +0 -1189
  192. package/src-native/pods/Headers/inspector/src/inspector/protocol/Profiler.h +0 -1001
  193. package/src-native/pods/Headers/inspector/src/inspector/protocol/Protocol.h +0 -617
  194. package/src-native/pods/Headers/inspector/src/inspector/protocol/Runtime.h +0 -1696
  195. package/src-native/pods/Headers/inspector/src/inspector/protocol/Schema.h +0 -146
  196. package/src-native/pods/Headers/inspector/src/inspector/protocol/Security.h +0 -793
  197. package/src-native/pods/Headers/inspector/src/inspector/remote-object-id.h +0 -54
  198. package/src-native/pods/Headers/inspector/src/inspector/search-util.h +0 -26
  199. package/src-native/pods/Headers/inspector/src/inspector/string-16.h +0 -180
  200. package/src-native/pods/Headers/inspector/src/inspector/string-util.h +0 -128
  201. package/src-native/pods/Headers/inspector/src/inspector/v8-console-agent-impl.h +0 -48
  202. package/src-native/pods/Headers/inspector/src/inspector/v8-console-message.h +0 -147
  203. package/src-native/pods/Headers/inspector/src/inspector/v8-console.h +0 -173
  204. package/src-native/pods/Headers/inspector/src/inspector/v8-css-agent-impl.h +0 -62
  205. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +0 -248
  206. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-id.h +0 -44
  207. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-script.h +0 -123
  208. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger.h +0 -257
  209. package/src-native/pods/Headers/inspector/src/inspector/v8-dom-agent-impl.h +0 -91
  210. package/src-native/pods/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +0 -80
  211. package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-impl.h +0 -191
  212. package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-session-impl.h +0 -156
  213. package/src-native/pods/Headers/inspector/src/inspector/v8-log-agent-impl.h +0 -34
  214. package/src-native/pods/Headers/inspector/src/inspector/v8-network-agent-impl.h +0 -71
  215. package/src-native/pods/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +0 -24
  216. package/src-native/pods/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +0 -70
  217. package/src-native/pods/Headers/inspector/src/inspector/v8-page-agent-impl.h +0 -88
  218. package/src-native/pods/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +0 -104
  219. package/src-native/pods/Headers/inspector/src/inspector/v8-regex.h +0 -38
  220. package/src-native/pods/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +0 -157
  221. package/src-native/pods/Headers/inspector/src/inspector/v8-schema-agent-impl.h +0 -38
  222. package/src-native/pods/Headers/inspector/src/inspector/v8-stack-trace-impl.h +0 -164
  223. package/src-native/pods/Headers/inspector/src/inspector/v8-string-conversions.h +0 -17
  224. package/src-native/pods/Headers/inspector/src/inspector/v8-value-utils.h +0 -23
  225. package/src-native/pods/Headers/inspector/src/inspector/value-mirror.h +0 -87
  226. package/src-native/pods/Headers/inspector/src/libplatform/default-platform.h +0 -92
  227. package/src-native/pods/Headers/inspector/src/logging/tracing-flags.h +0 -50
  228. package/src-native/pods/Headers/inspector/src/numbers/conversions.h +0 -183
  229. package/src-native/pods/Headers/inspector/src/tracing/trace-event.h +0 -664
  230. package/src-native/pods/Headers/inspector/src/utils/allocation.h +0 -367
  231. package/src-native/pods/Headers/inspector/src/utils/vector.h +0 -324
  232. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +0 -305
  233. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +0 -314
  234. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +0 -62
  235. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +0 -6
  236. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +0 -58
  237. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +0 -47
  238. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +0 -80
  239. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +0 -52
  240. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +0 -26
  241. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +0 -104
  242. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +0 -39
  243. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +0 -406
  244. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +0 -32
  245. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +0 -158
  246. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +0 -99
  247. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +0 -139
  248. package/src-native/pods/Headers/inspector/utils.h +0 -32
  249. package/src-native/pods/Headers/inspector/v8-inspector-platform.h +0 -44
  250. package/src-native/pods/Headers/jsi/decorator.h +0 -762
  251. package/src-native/pods/Headers/jsi/instrumentation.h +0 -117
  252. package/src-native/pods/Headers/jsi/jsi-inl.h +0 -322
  253. package/src-native/pods/Headers/jsi/jsi.h +0 -1387
  254. package/src-native/pods/Headers/jsi/jsilib.h +0 -59
  255. package/src-native/pods/Headers/jsi/threadsafe.h +0 -79
  256. package/src-native/pods/Headers/runtime/ArgConverter.h +0 -61
  257. package/src-native/pods/Headers/runtime/ArrayAdapter.h +0 -13
  258. package/src-native/pods/Headers/runtime/Caches.h +0 -98
  259. package/src-native/pods/Headers/runtime/ClassBuilder.h +0 -61
  260. package/src-native/pods/Headers/runtime/Common.h +0 -9
  261. package/src-native/pods/Headers/runtime/ConcurrentMap.h +0 -55
  262. package/src-native/pods/Headers/runtime/ConcurrentQueue.h +0 -28
  263. package/src-native/pods/Headers/runtime/Console.h +0 -27
  264. package/src-native/pods/Headers/runtime/Constants.h +0 -15
  265. package/src-native/pods/Headers/runtime/DataWrapper.h +0 -671
  266. package/src-native/pods/Headers/runtime/DictionaryAdapter.h +0 -13
  267. package/src-native/pods/Headers/runtime/ExtVector.h +0 -21
  268. package/src-native/pods/Headers/runtime/FFICall.h +0 -105
  269. package/src-native/pods/Headers/runtime/FastEnumerationAdapter.h +0 -13
  270. package/src-native/pods/Headers/runtime/FunctionReference.h +0 -18
  271. package/src-native/pods/Headers/runtime/Helpers.h +0 -84
  272. package/src-native/pods/Headers/runtime/InlineFunctions.h +0 -16
  273. package/src-native/pods/Headers/runtime/Interop.h +0 -202
  274. package/src-native/pods/Headers/runtime/KnownUnknownClassPair.h +0 -35
  275. package/src-native/pods/Headers/runtime/Metadata.h +0 -981
  276. package/src-native/pods/Headers/runtime/MetadataBuilder.h +0 -72
  277. package/src-native/pods/Headers/runtime/MetadataInlines.h +0 -157
  278. package/src-native/pods/Headers/runtime/ModuleInternal.h +0 -59
  279. package/src-native/pods/Headers/runtime/NSDataAdapter.h +0 -13
  280. package/src-native/pods/Headers/runtime/NativeScriptException.h +0 -27
  281. package/src-native/pods/Headers/runtime/ObjectManager.h +0 -31
  282. package/src-native/pods/Headers/runtime/OneByteStringResource.h +0 -21
  283. package/src-native/pods/Headers/runtime/Pointer.h +0 -26
  284. package/src-native/pods/Headers/runtime/PromiseProxy.h +0 -15
  285. package/src-native/pods/Headers/runtime/Reference.h +0 -38
  286. package/src-native/pods/Headers/runtime/Runtime.h +0 -67
  287. package/src-native/pods/Headers/runtime/RuntimeConfig.h +0 -17
  288. package/src-native/pods/Headers/runtime/SetTimeout.h +0 -34
  289. package/src-native/pods/Headers/runtime/SimpleAllocator.h +0 -23
  290. package/src-native/pods/Headers/runtime/StringHasher.h +0 -315
  291. package/src-native/pods/Headers/runtime/SymbolIterator.h +0 -18
  292. package/src-native/pods/Headers/runtime/SymbolLoader.h +0 -27
  293. package/src-native/pods/Headers/runtime/TNSDerivedClass.h +0 -8
  294. package/src-native/pods/Headers/runtime/TSHelpers.h +0 -15
  295. package/src-native/pods/Headers/runtime/Tasks.h +0 -19
  296. package/src-native/pods/Headers/runtime/UnmanagedType.h +0 -21
  297. package/src-native/pods/Headers/runtime/WeakRef.h +0 -15
  298. package/src-native/pods/Headers/runtime/Worker.h +0 -26
  299. package/src-native/pods/Headers/runtime/robin_hood.h +0 -2184
  300. package/src-native/pods/Headers/v8runtime/HostProxy.h +0 -71
  301. package/src-native/pods/Headers/v8runtime/JSIV8ValueConverter.h +0 -70
  302. package/src-native/pods/Headers/v8runtime/V8PointerValue.h +0 -44
  303. package/src-native/pods/Headers/v8runtime/V8Runtime.h +0 -215
  304. package/src-native/pods/Headers/v8runtime/V8RuntimeConfig.h +0 -26
  305. package/src-native/pods/Headers/v8runtime/V8RuntimeFactory.h +0 -21
  306. package/src-native/pods/NativeScript.podspec +0 -68
@@ -1,29 +0,0 @@
1
- // Copyright 2016 the V8 project authors. All rights reserved.
2
- // Use of this source code is governed by a BSD-style license that can be
3
- // found in the LICENSE file.
4
-
5
- #ifndef V8_LIBPLATFORM_LIBPLATFORM_EXPORT_H_
6
- #define V8_LIBPLATFORM_LIBPLATFORM_EXPORT_H_
7
-
8
- #if defined(_WIN32)
9
-
10
- #ifdef BUILDING_V8_PLATFORM_SHARED
11
- #define V8_PLATFORM_EXPORT __declspec(dllexport)
12
- #elif USING_V8_PLATFORM_SHARED
13
- #define V8_PLATFORM_EXPORT __declspec(dllimport)
14
- #else
15
- #define V8_PLATFORM_EXPORT
16
- #endif // BUILDING_V8_PLATFORM_SHARED
17
-
18
- #else // defined(_WIN32)
19
-
20
- // Setup for Linux shared library export.
21
- #ifdef BUILDING_V8_PLATFORM_SHARED
22
- #define V8_PLATFORM_EXPORT __attribute__((visibility("default")))
23
- #else
24
- #define V8_PLATFORM_EXPORT
25
- #endif
26
-
27
- #endif // defined(_WIN32)
28
-
29
- #endif // V8_LIBPLATFORM_LIBPLATFORM_EXPORT_H_
@@ -1,106 +0,0 @@
1
- // Copyright 2014 the V8 project authors. All rights reserved.
2
- // Use of this source code is governed by a BSD-style license that can be
3
- // found in the LICENSE file.
4
-
5
- #ifndef V8_LIBPLATFORM_LIBPLATFORM_H_
6
- #define V8_LIBPLATFORM_LIBPLATFORM_H_
7
-
8
- #include <memory>
9
-
10
- #include "libplatform/libplatform-export.h"
11
- #include "libplatform/v8-tracing.h"
12
- #include "v8-platform.h" // NOLINT(build/include_directory)
13
- #include "v8config.h" // NOLINT(build/include_directory)
14
-
15
- namespace v8 {
16
- namespace platform {
17
-
18
- enum class IdleTaskSupport { kDisabled, kEnabled };
19
- enum class InProcessStackDumping { kDisabled, kEnabled };
20
-
21
- enum class MessageLoopBehavior : bool {
22
- kDoNotWait = false,
23
- kWaitForWork = true
24
- };
25
-
26
- /**
27
- * Returns a new instance of the default v8::Platform implementation.
28
- *
29
- * The caller will take ownership of the returned pointer. |thread_pool_size|
30
- * is the number of worker threads to allocate for background jobs. If a value
31
- * of zero is passed, a suitable default based on the current number of
32
- * processors online will be chosen.
33
- * If |idle_task_support| is enabled then the platform will accept idle
34
- * tasks (IdleTasksEnabled will return true) and will rely on the embedder
35
- * calling v8::platform::RunIdleTasks to process the idle tasks.
36
- * If |tracing_controller| is nullptr, the default platform will create a
37
- * v8::platform::TracingController instance and use it.
38
- */
39
- V8_PLATFORM_EXPORT std::unique_ptr<v8::Platform> NewDefaultPlatform(
40
- int thread_pool_size = 0,
41
- IdleTaskSupport idle_task_support = IdleTaskSupport::kDisabled,
42
- InProcessStackDumping in_process_stack_dumping =
43
- InProcessStackDumping::kDisabled,
44
- std::unique_ptr<v8::TracingController> tracing_controller = {});
45
-
46
- /**
47
- * The same as NewDefaultPlatform but disables the worker thread pool.
48
- * It must be used with the --single-threaded V8 flag.
49
- */
50
- V8_PLATFORM_EXPORT std::unique_ptr<v8::Platform>
51
- NewSingleThreadedDefaultPlatform(
52
- IdleTaskSupport idle_task_support = IdleTaskSupport::kDisabled,
53
- InProcessStackDumping in_process_stack_dumping =
54
- InProcessStackDumping::kDisabled,
55
- std::unique_ptr<v8::TracingController> tracing_controller = {});
56
-
57
- /**
58
- * Returns a new instance of the default v8::JobHandle implementation.
59
- *
60
- * The job will be executed by spawning up to |num_worker_threads| many worker
61
- * threads on the provided |platform| with the given |priority|.
62
- */
63
- V8_PLATFORM_EXPORT std::unique_ptr<v8::JobHandle> NewDefaultJobHandle(
64
- v8::Platform* platform, v8::TaskPriority priority,
65
- std::unique_ptr<v8::JobTask> job_task, size_t num_worker_threads);
66
-
67
- /**
68
- * Pumps the message loop for the given isolate.
69
- *
70
- * The caller has to make sure that this is called from the right thread.
71
- * Returns true if a task was executed, and false otherwise. If the call to
72
- * PumpMessageLoop is nested within another call to PumpMessageLoop, only
73
- * nestable tasks may run. Otherwise, any task may run. Unless requested through
74
- * the |behavior| parameter, this call does not block if no task is pending. The
75
- * |platform| has to be created using |NewDefaultPlatform|.
76
- */
77
- V8_PLATFORM_EXPORT bool PumpMessageLoop(
78
- v8::Platform* platform, v8::Isolate* isolate,
79
- MessageLoopBehavior behavior = MessageLoopBehavior::kDoNotWait);
80
-
81
- /**
82
- * Runs pending idle tasks for at most |idle_time_in_seconds| seconds.
83
- *
84
- * The caller has to make sure that this is called from the right thread.
85
- * This call does not block if no task is pending. The |platform| has to be
86
- * created using |NewDefaultPlatform|.
87
- */
88
- V8_PLATFORM_EXPORT void RunIdleTasks(v8::Platform* platform,
89
- v8::Isolate* isolate,
90
- double idle_time_in_seconds);
91
-
92
- /**
93
- * Notifies the given platform about the Isolate getting deleted soon. Has to be
94
- * called for all Isolates which are deleted - unless we're shutting down the
95
- * platform.
96
- *
97
- * The |platform| has to be created using |NewDefaultPlatform|.
98
- *
99
- */
100
- V8_PLATFORM_EXPORT void NotifyIsolateShutdown(v8::Platform* platform,
101
- Isolate* isolate);
102
-
103
- } // namespace platform
104
- } // namespace v8
105
-
106
- #endif // V8_LIBPLATFORM_LIBPLATFORM_H_
@@ -1,333 +0,0 @@
1
- // Copyright 2016 the V8 project authors. All rights reserved.
2
- // Use of this source code is governed by a BSD-style license that can be
3
- // found in the LICENSE file.
4
-
5
- #ifndef V8_LIBPLATFORM_V8_TRACING_H_
6
- #define V8_LIBPLATFORM_V8_TRACING_H_
7
-
8
- #include <atomic>
9
- #include <fstream>
10
- #include <memory>
11
- #include <unordered_set>
12
- #include <vector>
13
-
14
- #include "libplatform/libplatform-export.h"
15
- #include "v8-platform.h" // NOLINT(build/include_directory)
16
-
17
- namespace perfetto {
18
- namespace trace_processor {
19
- class TraceProcessorStorage;
20
- }
21
- class TracingSession;
22
- }
23
-
24
- namespace v8 {
25
-
26
- namespace base {
27
- class Mutex;
28
- } // namespace base
29
-
30
- namespace platform {
31
- namespace tracing {
32
-
33
- class TraceEventListener;
34
-
35
- const int kTraceMaxNumArgs = 2;
36
-
37
- class V8_PLATFORM_EXPORT TraceObject {
38
- public:
39
- union ArgValue {
40
- uint64_t as_uint;
41
- int64_t as_int;
42
- double as_double;
43
- const void* as_pointer;
44
- const char* as_string;
45
- };
46
-
47
- TraceObject() = default;
48
- ~TraceObject();
49
- void Initialize(
50
- char phase, const uint8_t* category_enabled_flag, const char* name,
51
- const char* scope, uint64_t id, uint64_t bind_id, int num_args,
52
- const char** arg_names, const uint8_t* arg_types,
53
- const uint64_t* arg_values,
54
- std::unique_ptr<v8::ConvertableToTraceFormat>* arg_convertables,
55
- unsigned int flags, int64_t timestamp, int64_t cpu_timestamp);
56
- void UpdateDuration(int64_t timestamp, int64_t cpu_timestamp);
57
- void InitializeForTesting(
58
- char phase, const uint8_t* category_enabled_flag, const char* name,
59
- const char* scope, uint64_t id, uint64_t bind_id, int num_args,
60
- const char** arg_names, const uint8_t* arg_types,
61
- const uint64_t* arg_values,
62
- std::unique_ptr<v8::ConvertableToTraceFormat>* arg_convertables,
63
- unsigned int flags, int pid, int tid, int64_t ts, int64_t tts,
64
- uint64_t duration, uint64_t cpu_duration);
65
-
66
- int pid() const { return pid_; }
67
- int tid() const { return tid_; }
68
- char phase() const { return phase_; }
69
- const uint8_t* category_enabled_flag() const {
70
- return category_enabled_flag_;
71
- }
72
- const char* name() const { return name_; }
73
- const char* scope() const { return scope_; }
74
- uint64_t id() const { return id_; }
75
- uint64_t bind_id() const { return bind_id_; }
76
- int num_args() const { return num_args_; }
77
- const char** arg_names() { return arg_names_; }
78
- uint8_t* arg_types() { return arg_types_; }
79
- ArgValue* arg_values() { return arg_values_; }
80
- std::unique_ptr<v8::ConvertableToTraceFormat>* arg_convertables() {
81
- return arg_convertables_;
82
- }
83
- unsigned int flags() const { return flags_; }
84
- int64_t ts() { return ts_; }
85
- int64_t tts() { return tts_; }
86
- uint64_t duration() { return duration_; }
87
- uint64_t cpu_duration() { return cpu_duration_; }
88
-
89
- private:
90
- int pid_;
91
- int tid_;
92
- char phase_;
93
- const char* name_;
94
- const char* scope_;
95
- const uint8_t* category_enabled_flag_;
96
- uint64_t id_;
97
- uint64_t bind_id_;
98
- int num_args_ = 0;
99
- const char* arg_names_[kTraceMaxNumArgs];
100
- uint8_t arg_types_[kTraceMaxNumArgs];
101
- ArgValue arg_values_[kTraceMaxNumArgs];
102
- std::unique_ptr<v8::ConvertableToTraceFormat>
103
- arg_convertables_[kTraceMaxNumArgs];
104
- char* parameter_copy_storage_ = nullptr;
105
- unsigned int flags_;
106
- int64_t ts_;
107
- int64_t tts_;
108
- uint64_t duration_;
109
- uint64_t cpu_duration_;
110
-
111
- // Disallow copy and assign
112
- TraceObject(const TraceObject&) = delete;
113
- void operator=(const TraceObject&) = delete;
114
- };
115
-
116
- class V8_PLATFORM_EXPORT TraceWriter {
117
- public:
118
- TraceWriter() = default;
119
- virtual ~TraceWriter() = default;
120
- virtual void AppendTraceEvent(TraceObject* trace_event) = 0;
121
- virtual void Flush() = 0;
122
-
123
- static TraceWriter* CreateJSONTraceWriter(std::ostream& stream);
124
- static TraceWriter* CreateJSONTraceWriter(std::ostream& stream,
125
- const std::string& tag);
126
-
127
- static TraceWriter* CreateSystemInstrumentationTraceWriter();
128
-
129
- private:
130
- // Disallow copy and assign
131
- TraceWriter(const TraceWriter&) = delete;
132
- void operator=(const TraceWriter&) = delete;
133
- };
134
-
135
- class V8_PLATFORM_EXPORT TraceBufferChunk {
136
- public:
137
- explicit TraceBufferChunk(uint32_t seq);
138
-
139
- void Reset(uint32_t new_seq);
140
- bool IsFull() const { return next_free_ == kChunkSize; }
141
- TraceObject* AddTraceEvent(size_t* event_index);
142
- TraceObject* GetEventAt(size_t index) { return &chunk_[index]; }
143
-
144
- uint32_t seq() const { return seq_; }
145
- size_t size() const { return next_free_; }
146
-
147
- static const size_t kChunkSize = 64;
148
-
149
- private:
150
- size_t next_free_ = 0;
151
- TraceObject chunk_[kChunkSize];
152
- uint32_t seq_;
153
-
154
- // Disallow copy and assign
155
- TraceBufferChunk(const TraceBufferChunk&) = delete;
156
- void operator=(const TraceBufferChunk&) = delete;
157
- };
158
-
159
- class V8_PLATFORM_EXPORT TraceBuffer {
160
- public:
161
- TraceBuffer() = default;
162
- virtual ~TraceBuffer() = default;
163
-
164
- virtual TraceObject* AddTraceEvent(uint64_t* handle) = 0;
165
- virtual TraceObject* GetEventByHandle(uint64_t handle) = 0;
166
- virtual bool Flush() = 0;
167
-
168
- static const size_t kRingBufferChunks = 1024;
169
-
170
- static TraceBuffer* CreateTraceBufferRingBuffer(size_t max_chunks,
171
- TraceWriter* trace_writer);
172
-
173
- private:
174
- // Disallow copy and assign
175
- TraceBuffer(const TraceBuffer&) = delete;
176
- void operator=(const TraceBuffer&) = delete;
177
- };
178
-
179
- // Options determines how the trace buffer stores data.
180
- enum TraceRecordMode {
181
- // Record until the trace buffer is full.
182
- RECORD_UNTIL_FULL,
183
-
184
- // Record until the user ends the trace. The trace buffer is a fixed size
185
- // and we use it as a ring buffer during recording.
186
- RECORD_CONTINUOUSLY,
187
-
188
- // Record until the trace buffer is full, but with a huge buffer size.
189
- RECORD_AS_MUCH_AS_POSSIBLE,
190
-
191
- // Echo to console. Events are discarded.
192
- ECHO_TO_CONSOLE,
193
- };
194
-
195
- class V8_PLATFORM_EXPORT TraceConfig {
196
- public:
197
- typedef std::vector<std::string> StringList;
198
-
199
- static TraceConfig* CreateDefaultTraceConfig();
200
-
201
- TraceConfig() : enable_systrace_(false), enable_argument_filter_(false) {}
202
- TraceRecordMode GetTraceRecordMode() const { return record_mode_; }
203
- const StringList& GetEnabledCategories() const {
204
- return included_categories_;
205
- }
206
- bool IsSystraceEnabled() const { return enable_systrace_; }
207
- bool IsArgumentFilterEnabled() const { return enable_argument_filter_; }
208
-
209
- void SetTraceRecordMode(TraceRecordMode mode) { record_mode_ = mode; }
210
- void EnableSystrace() { enable_systrace_ = true; }
211
- void EnableArgumentFilter() { enable_argument_filter_ = true; }
212
-
213
- void AddIncludedCategory(const char* included_category);
214
-
215
- bool IsCategoryGroupEnabled(const char* category_group) const;
216
-
217
- private:
218
- TraceRecordMode record_mode_;
219
- bool enable_systrace_ : 1;
220
- bool enable_argument_filter_ : 1;
221
- StringList included_categories_;
222
-
223
- // Disallow copy and assign
224
- TraceConfig(const TraceConfig&) = delete;
225
- void operator=(const TraceConfig&) = delete;
226
- };
227
-
228
- #if defined(_MSC_VER)
229
- #define V8_PLATFORM_NON_EXPORTED_BASE(code) \
230
- __pragma(warning(suppress : 4275)) code
231
- #else
232
- #define V8_PLATFORM_NON_EXPORTED_BASE(code) code
233
- #endif // defined(_MSC_VER)
234
-
235
- class V8_PLATFORM_EXPORT TracingController
236
- : public V8_PLATFORM_NON_EXPORTED_BASE(v8::TracingController) {
237
- public:
238
- TracingController();
239
- ~TracingController() override;
240
-
241
- #if defined(V8_USE_PERFETTO)
242
- // Must be called before StartTracing() if V8_USE_PERFETTO is true. Provides
243
- // the output stream for the JSON trace data.
244
- void InitializeForPerfetto(std::ostream* output_stream);
245
- // Provide an optional listener for testing that will receive trace events.
246
- // Must be called before StartTracing().
247
- void SetTraceEventListenerForTesting(TraceEventListener* listener);
248
- #else // defined(V8_USE_PERFETTO)
249
- // The pointer returned from GetCategoryGroupEnabled() points to a value with
250
- // zero or more of the following bits. Used in this class only. The
251
- // TRACE_EVENT macros should only use the value as a bool. These values must
252
- // be in sync with macro values in TraceEvent.h in Blink.
253
- enum CategoryGroupEnabledFlags {
254
- // Category group enabled for the recording mode.
255
- ENABLED_FOR_RECORDING = 1 << 0,
256
- // Category group enabled by SetEventCallbackEnabled().
257
- ENABLED_FOR_EVENT_CALLBACK = 1 << 2,
258
- // Category group enabled to export events to ETW.
259
- ENABLED_FOR_ETW_EXPORT = 1 << 3
260
- };
261
-
262
- // Takes ownership of |trace_buffer|.
263
- void Initialize(TraceBuffer* trace_buffer);
264
-
265
- // v8::TracingController implementation.
266
- const uint8_t* GetCategoryGroupEnabled(const char* category_group) override;
267
- uint64_t AddTraceEvent(
268
- char phase, const uint8_t* category_enabled_flag, const char* name,
269
- const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args,
270
- const char** arg_names, const uint8_t* arg_types,
271
- const uint64_t* arg_values,
272
- std::unique_ptr<v8::ConvertableToTraceFormat>* arg_convertables,
273
- unsigned int flags) override;
274
- uint64_t AddTraceEventWithTimestamp(
275
- char phase, const uint8_t* category_enabled_flag, const char* name,
276
- const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args,
277
- const char** arg_names, const uint8_t* arg_types,
278
- const uint64_t* arg_values,
279
- std::unique_ptr<v8::ConvertableToTraceFormat>* arg_convertables,
280
- unsigned int flags, int64_t timestamp) override;
281
- void UpdateTraceEventDuration(const uint8_t* category_enabled_flag,
282
- const char* name, uint64_t handle) override;
283
-
284
- static const char* GetCategoryGroupName(const uint8_t* category_enabled_flag);
285
- #endif // !defined(V8_USE_PERFETTO)
286
-
287
- void AddTraceStateObserver(
288
- v8::TracingController::TraceStateObserver* observer) override;
289
- void RemoveTraceStateObserver(
290
- v8::TracingController::TraceStateObserver* observer) override;
291
-
292
- void StartTracing(TraceConfig* trace_config);
293
- void StopTracing();
294
-
295
- protected:
296
- #if !defined(V8_USE_PERFETTO)
297
- virtual int64_t CurrentTimestampMicroseconds();
298
- virtual int64_t CurrentCpuTimestampMicroseconds();
299
- #endif // !defined(V8_USE_PERFETTO)
300
-
301
- private:
302
- #if !defined(V8_USE_PERFETTO)
303
- void UpdateCategoryGroupEnabledFlag(size_t category_index);
304
- void UpdateCategoryGroupEnabledFlags();
305
- #endif // !defined(V8_USE_PERFETTO)
306
-
307
- std::unique_ptr<base::Mutex> mutex_;
308
- std::unique_ptr<TraceConfig> trace_config_;
309
- std::atomic_bool recording_{false};
310
- std::unordered_set<v8::TracingController::TraceStateObserver*> observers_;
311
-
312
- #if defined(V8_USE_PERFETTO)
313
- std::ostream* output_stream_ = nullptr;
314
- std::unique_ptr<perfetto::trace_processor::TraceProcessorStorage>
315
- trace_processor_;
316
- TraceEventListener* listener_for_testing_ = nullptr;
317
- std::unique_ptr<perfetto::TracingSession> tracing_session_;
318
- #else // !defined(V8_USE_PERFETTO)
319
- std::unique_ptr<TraceBuffer> trace_buffer_;
320
- #endif // !defined(V8_USE_PERFETTO)
321
-
322
- // Disallow copy and assign
323
- TracingController(const TracingController&) = delete;
324
- void operator=(const TracingController&) = delete;
325
- };
326
-
327
- #undef V8_PLATFORM_NON_EXPORTED_BASE
328
-
329
- } // namespace tracing
330
- } // namespace platform
331
- } // namespace v8
332
-
333
- #endif // V8_LIBPLATFORM_V8_TRACING_H_