react-native-windows 0.82.3 → 0.83.0-preview.1

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 (223) hide show
  1. package/.flowconfig +2 -7
  2. package/Libraries/Animated/components/AnimatedFlatList.js +5 -3
  3. package/Libraries/Animated/components/AnimatedImage.js +4 -3
  4. package/Libraries/Animated/components/AnimatedSectionList.js +2 -2
  5. package/Libraries/Animated/components/AnimatedText.js +7 -3
  6. package/Libraries/Animated/components/AnimatedView.js +3 -2
  7. package/Libraries/Animated/createAnimatedComponent.js +24 -12
  8. package/Libraries/Animated/nodes/AnimatedColor.js +26 -10
  9. package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.js +43 -15
  10. package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.windows.js +43 -15
  11. package/Libraries/Components/ActivityIndicator/ActivityIndicator.d.ts +2 -2
  12. package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.d.ts +2 -2
  13. package/Libraries/Components/Glyph/Glyph.js +4 -1
  14. package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.d.ts +2 -2
  15. package/Libraries/Components/RefreshControl/RefreshControl.d.ts +3 -3
  16. package/Libraries/Components/SafeAreaView/SafeAreaView.d.ts +2 -2
  17. package/Libraries/Components/ScrollView/ScrollView.js +1 -0
  18. package/Libraries/Components/ScrollView/ScrollView.windows.js +1 -0
  19. package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +6 -6
  20. package/Libraries/Components/Switch/Switch.d.ts +2 -2
  21. package/Libraries/Components/Switch/Switch.windows.js +1 -1
  22. package/Libraries/Components/TextInput/TextInput.d.ts +2 -5
  23. package/Libraries/Components/TextInput/TextInput.js +6 -0
  24. package/Libraries/Components/TextInput/TextInput.windows.js +6 -0
  25. package/Libraries/Components/Touchable/TouchableBounce.js +7 -7
  26. package/Libraries/Components/Touchable/TouchableBounce.windows.js +7 -7
  27. package/Libraries/Components/Touchable/TouchableWithoutFeedback.windows.js +1 -1
  28. package/Libraries/Components/View/ReactNativeStyleAttributes.js +19 -1
  29. package/Libraries/Components/View/View.d.ts +2 -2
  30. package/Libraries/Components/View/View.windows.js +0 -1
  31. package/Libraries/Components/View/ViewNativeComponent.js +13 -1
  32. package/Libraries/Core/ReactNativeVersion.js +3 -3
  33. package/Libraries/Core/setUpPerformance.js +2 -0
  34. package/Libraries/Debugging/DebuggingOverlay.js +14 -14
  35. package/Libraries/Debugging/DebuggingOverlayRegistry.js +8 -2
  36. package/Libraries/EventEmitter/RCTDeviceEventEmitter.js +5 -2
  37. package/Libraries/Image/Image.d.ts +3 -3
  38. package/Libraries/Image/ImageInjection.js +3 -6
  39. package/Libraries/Image/ImageTypes.flow.js +3 -7
  40. package/Libraries/Lists/FlatList.js +8 -8
  41. package/Libraries/Lists/SectionList.d.ts +5 -1
  42. package/Libraries/Lists/ViewabilityHelper.js +1 -1
  43. package/Libraries/Lists/VirtualizedList.js +1 -0
  44. package/Libraries/LogBox/UI/AnsiHighlight.js +4 -1
  45. package/Libraries/NativeComponent/BaseViewConfig.android.js +11 -2
  46. package/Libraries/NativeComponent/NativeComponentRegistry.d.ts +98 -0
  47. package/Libraries/NativeComponent/NativeComponentRegistry.js +2 -0
  48. package/Libraries/NativeComponent/NativeComponentRegistryUnstable.js +3 -1
  49. package/Libraries/NativeComponent/ViewConfigIgnore.windows.js +45 -0
  50. package/Libraries/Network/RCTNetworking.android.js +3 -1
  51. package/Libraries/Network/RCTNetworking.ios.js +3 -0
  52. package/Libraries/Network/RCTNetworking.windows.js +3 -0
  53. package/Libraries/Network/XMLHttpRequest.js +1 -41
  54. package/Libraries/Pressability/usePressability.js +14 -3
  55. package/Libraries/ReactNative/PaperUIManager.windows.js +3 -3
  56. package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.js +20 -82
  57. package/Libraries/ReactNative/getNativeComponentAttributes.js +12 -0
  58. package/Libraries/Renderer/implementations/ReactFabric-dev.js +6759 -4478
  59. package/Libraries/Renderer/implementations/ReactFabric-prod.js +3169 -3119
  60. package/Libraries/Renderer/implementations/ReactFabric-profiling.js +4732 -3535
  61. package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +6646 -4070
  62. package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +3136 -2825
  63. package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +4761 -3312
  64. package/Libraries/Renderer/shims/ReactNative.js +3 -1
  65. package/Libraries/Renderer/shims/ReactNativeTypes.js +2 -1
  66. package/Libraries/Renderer/shims/ReactNativeTypes.windows.js +2 -1
  67. package/Libraries/StyleSheet/StyleSheetTypes.d.ts +1 -1
  68. package/Libraries/StyleSheet/StyleSheetTypes.js +44 -0
  69. package/Libraries/StyleSheet/processBackgroundPosition.js +284 -0
  70. package/Libraries/StyleSheet/processBackgroundRepeat.js +105 -0
  71. package/Libraries/StyleSheet/processBackgroundSize.js +104 -0
  72. package/Libraries/Text/Text.d.ts +2 -2
  73. package/Libraries/Text/TextNativeComponent.js +10 -0
  74. package/Libraries/TurboModule/TurboModuleRegistry.js +3 -9
  75. package/Libraries/Utilities/DevLoadingView.js +14 -6
  76. package/Libraries/Utilities/HMRClient.js +13 -5
  77. package/Microsoft.ReactNative/CompositionComponentView.idl +2 -0
  78. package/Microsoft.ReactNative/CompositionHwndHost.idl +1 -0
  79. package/Microsoft.ReactNative/Fabric/ComponentView.cpp +1 -1
  80. package/Microsoft.ReactNative/Fabric/ComponentView.h +1 -1
  81. package/Microsoft.ReactNative/Fabric/Composition/CompositionHwndHost.cpp +10 -40
  82. package/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.cpp +3 -80
  83. package/Microsoft.ReactNative/Fabric/Composition/ContentIslandComponentView.cpp +45 -12
  84. package/Microsoft.ReactNative/Fabric/Composition/ContentIslandComponentView.h +8 -0
  85. package/Microsoft.ReactNative/Fabric/Composition/Modal/WindowsModalHostViewComponentView.cpp +61 -74
  86. package/Microsoft.ReactNative/Fabric/Composition/ParagraphComponentView.h +4 -0
  87. package/Microsoft.ReactNative/Fabric/Composition/ReactCompositionViewComponentBuilder.h +1 -0
  88. package/Microsoft.ReactNative/Fabric/Composition/ReactNativeIsland.cpp +4 -3
  89. package/Microsoft.ReactNative/Fabric/Composition/ReactNativeIsland.h +2 -1
  90. package/Microsoft.ReactNative/Fabric/Composition/ReactNativeWindow.cpp +245 -0
  91. package/Microsoft.ReactNative/Fabric/Composition/ReactNativeWindow.h +80 -0
  92. package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentDescriptor.h +20 -36
  93. package/Microsoft.ReactNative/Fabric/Composition/UriImageManager.cpp +5 -0
  94. package/Microsoft.ReactNative/IReactCompositionViewComponentBuilder.idl +1 -0
  95. package/Microsoft.ReactNative/Modules/ImageViewManagerModule.cpp +1 -1
  96. package/Microsoft.ReactNative/Modules/LogBoxModule.cpp +20 -94
  97. package/Microsoft.ReactNative/Modules/LogBoxModule.h +1 -3
  98. package/Microsoft.ReactNative/ReactNativeAppBuilder.cpp +0 -41
  99. package/Microsoft.ReactNative/ReactNativeAppBuilder.idl +0 -11
  100. package/Microsoft.ReactNative/ReactNativeIsland.idl +2 -3
  101. package/Microsoft.ReactNative/ReactNativeWin32App.cpp +31 -101
  102. package/Microsoft.ReactNative/ReactNativeWin32App.h +2 -13
  103. package/Microsoft.ReactNative/ReactNativeWindow.idl +44 -0
  104. package/Microsoft.ReactNative.Cxx/AutoDraw.h +9 -1
  105. package/Microsoft.ReactNative.Cxx/ReactCommon/CallInvoker.h +13 -16
  106. package/Microsoft.ReactNative.Cxx/ReactCommon/TurboModule.h +24 -36
  107. package/Microsoft.ReactNative.Cxx/ReactCommon/TurboModuleUtils.h +5 -8
  108. package/Microsoft.ReactNative.Cxx/ReactCommon/react/bridging/AString.h +8 -6
  109. package/Microsoft.ReactNative.Cxx/ReactCommon/react/bridging/Array.h +32 -49
  110. package/Microsoft.ReactNative.Cxx/ReactCommon/react/bridging/Base.h +27 -76
  111. package/Microsoft.ReactNative.Cxx/ReactCommon/react/bridging/Bool.h +4 -2
  112. package/Microsoft.ReactNative.Cxx/ReactCommon/react/bridging/CallbackWrapper.h +19 -18
  113. package/Microsoft.ReactNative.Cxx/ReactCommon/react/bridging/Class.h +25 -48
  114. package/Microsoft.ReactNative.Cxx/ReactCommon/react/bridging/Convert.h +38 -31
  115. package/Microsoft.ReactNative.Cxx/ReactCommon/react/bridging/Error.h +11 -6
  116. package/Microsoft.ReactNative.Cxx/ReactCommon/react/bridging/EventEmitter.h +47 -45
  117. package/Microsoft.ReactNative.Cxx/ReactCommon/react/bridging/Function.h +69 -89
  118. package/Microsoft.ReactNative.Cxx/ReactCommon/react/bridging/HighResTimeStamp.h +8 -8
  119. package/Microsoft.ReactNative.Cxx/ReactCommon/react/bridging/LongLivedObject.h +6 -6
  120. package/Microsoft.ReactNative.Cxx/ReactCommon/react/bridging/Number.h +16 -8
  121. package/Microsoft.ReactNative.Cxx/ReactCommon/react/bridging/Object.h +17 -24
  122. package/Microsoft.ReactNative.Cxx/ReactCommon/react/bridging/Promise.h +17 -17
  123. package/Microsoft.ReactNative.Cxx/ReactCommon/react/bridging/Value.h +20 -29
  124. package/Microsoft.ReactNative.Cxx/ReactCommon/react/debug/react_native_assert.h +2 -7
  125. package/Microsoft.ReactNative.Cxx/ReactCommon/react/timing/primitives.h +127 -115
  126. package/PropertySheets/Generated/PackageVersion.g.props +4 -4
  127. package/PropertySheets/Warnings.props +2 -1
  128. package/ReactCommon/ReactCommon.vcxproj +11 -2
  129. package/ReactCommon/TEMP_UntilReactCommonUpdate/cxxreact/CxxNativeModule.cpp +2 -2
  130. package/ReactCommon/TEMP_UntilReactCommonUpdate/cxxreact/Instance.cpp +4 -2
  131. package/ReactCommon/TEMP_UntilReactCommonUpdate/cxxreact/JSExecutor.cpp +4 -2
  132. package/ReactCommon/TEMP_UntilReactCommonUpdate/cxxreact/JSIndexedRAMBundle.cpp +4 -2
  133. package/ReactCommon/TEMP_UntilReactCommonUpdate/cxxreact/MethodCall.cpp +4 -2
  134. package/ReactCommon/TEMP_UntilReactCommonUpdate/cxxreact/ModuleRegistry.cpp +5 -3
  135. package/ReactCommon/TEMP_UntilReactCommonUpdate/cxxreact/NativeToJsBridge.cpp +4 -4
  136. package/ReactCommon/TEMP_UntilReactCommonUpdate/cxxreact/RAMBundleRegistry.cpp +6 -4
  137. package/ReactCommon/TEMP_UntilReactCommonUpdate/cxxreact/ReactMarker.cpp +2 -0
  138. package/ReactCommon/TEMP_UntilReactCommonUpdate/cxxreact/TraceSection.h +25 -35
  139. package/ReactCommon/TEMP_UntilReactCommonUpdate/jsi/jsi/test/testlib.cpp +86 -67
  140. package/ReactCommon/TEMP_UntilReactCommonUpdate/jsiexecutor/jsireact/JSIExecutor.cpp +15 -8
  141. package/ReactCommon/TEMP_UntilReactCommonUpdate/jsiexecutor/jsireact/JSINativeModules.cpp +4 -2
  142. package/ReactCommon/TEMP_UntilReactCommonUpdate/jsinspector-modern/NetworkIOAgent.cpp +84 -68
  143. package/ReactCommon/TEMP_UntilReactCommonUpdate/jsinspector-modern/NetworkIOAgent.h +31 -35
  144. package/ReactCommon/TEMP_UntilReactCommonUpdate/jsinspector-modern/Utf8.h +4 -5
  145. package/ReactCommon/TEMP_UntilReactCommonUpdate/jsinspector-modern/network/HttpUtils.cpp +2 -1
  146. package/ReactCommon/TEMP_UntilReactCommonUpdate/react/nativemodule/core/ReactCommon/TurboModule.h +24 -36
  147. package/ReactCommon/TEMP_UntilReactCommonUpdate/react/nativemodule/dom/NativeDOM.h +28 -66
  148. package/ReactCommon/TEMP_UntilReactCommonUpdate/react/nativemodule/webperformance/NativePerformance.cpp +5 -0
  149. package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/componentregistry/ComponentDescriptorRegistry.cpp +3 -3
  150. package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/image/conversions.h +8 -4
  151. package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/text/ParagraphShadowNode.cpp +19 -16
  152. package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/text/platform/android/react/renderer/components/text/ParagraphState.h +8 -9
  153. package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/AccessibilityPrimitives.h +25 -95
  154. package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/BaseViewProps.cpp +36 -0
  155. package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/accessibilityPropsConversions.h +85 -42
  156. package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/core/EventDispatcher.cpp +2 -0
  157. package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/core/EventQueueProcessor.cpp +2 -0
  158. package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/imagemanager/primitives.h +25 -31
  159. package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/uimanager/UIManager.cpp +19 -5
  160. package/ReactCommon/TEMP_UntilReactCommonUpdate/react/runtime/ReactInstance.cpp +16 -1
  161. package/Scripts/Tfs/Layout-Desktop-Headers.ps1 +1 -15
  162. package/Scripts/creaternwapp.cmd +1 -1
  163. package/Scripts/perf/compare-results.js +357 -0
  164. package/Scripts/perf/create-perf-test.js +343 -0
  165. package/Scripts/perf/post-pr-comment.js +210 -0
  166. package/Shared/Hermes/HermesRuntimeTargetDelegate.cpp +8 -0
  167. package/Shared/Hermes/HermesRuntimeTargetDelegate.h +3 -0
  168. package/Shared/Shared.vcxitems +15 -3
  169. package/Shared/Shared.vcxitems.filters +11 -3
  170. package/codegen/NativeIntersectionObserverSpec.g.h +2 -0
  171. package/codegen/NativeNetworkingIOSSpec.g.h +2 -0
  172. package/codegen/NativePerformanceSpec.g.h +6 -0
  173. package/codegen/NativeReactNativeFeatureFlagsSpec.g.h +229 -139
  174. package/codegen/react/components/rnwcore/ActivityIndicatorView.g.h +2 -1
  175. package/codegen/react/components/rnwcore/AndroidDrawerLayout.g.h +42 -25
  176. package/codegen/react/components/rnwcore/AndroidHorizontalScrollContentView.g.h +2 -1
  177. package/codegen/react/components/rnwcore/AndroidProgressBar.g.h +2 -1
  178. package/codegen/react/components/rnwcore/AndroidSwipeRefreshLayout.g.h +11 -6
  179. package/codegen/react/components/rnwcore/AndroidSwitch.g.h +11 -6
  180. package/codegen/react/components/rnwcore/DebuggingOverlay.g.h +1 -0
  181. package/codegen/react/components/rnwcore/InputAccessory.g.h +2 -1
  182. package/codegen/react/components/rnwcore/ModalHostView.g.h +40 -23
  183. package/codegen/react/components/rnwcore/Props.cpp +6 -1
  184. package/codegen/react/components/rnwcore/Props.h +1 -0
  185. package/codegen/react/components/rnwcore/PullToRefreshView.g.h +11 -6
  186. package/codegen/react/components/rnwcore/SafeAreaView.g.h +1 -0
  187. package/codegen/react/components/rnwcore/Switch.g.h +11 -6
  188. package/codegen/react/components/rnwcore/UnimplementedNativeView.g.h +2 -1
  189. package/codegen/react/components/rnwcore/VirtualView.g.h +41 -8
  190. package/codegen/react/components/rnwcore/VirtualViewExperimental.g.h +45 -8
  191. package/codegen/rnwcoreJSI.h +3973 -6059
  192. package/index.js +6 -0
  193. package/index.windows.js +6 -0
  194. package/jest/mockComponent.js +6 -6
  195. package/jest/setup.js +15 -10
  196. package/package.json +27 -27
  197. package/src/private/components/virtualview/VirtualView.js +22 -27
  198. package/src/private/components/virtualview/VirtualViewExperimentalNativeComponent.js +6 -0
  199. package/src/private/featureflags/ReactNativeFeatureFlags.js +100 -19
  200. package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +18 -3
  201. package/src/private/setup/setUpDefaultReactNativeEnvironment.js +6 -0
  202. package/src/private/specs_DEPRECATED/components/SwitchNativeComponent.js +1 -1
  203. package/src/private/specs_DEPRECATED/modules/NativeNetworkingIOS.js +1 -0
  204. package/src/private/webapis/dom/nodes/ReactNativeElement.js +12 -2
  205. package/src/private/webapis/intersectionobserver/IntersectionObserver.js +76 -15
  206. package/src/private/webapis/intersectionobserver/internals/IntersectionObserverManager.js +1 -0
  207. package/src/private/webapis/intersectionobserver/specs/NativeIntersectionObserver.js +1 -0
  208. package/src/private/webapis/performance/ResourceTiming.js +31 -4
  209. package/src/private/webapis/performance/internals/RawPerformanceEntry.js +4 -1
  210. package/src/private/webapis/performance/specs/NativePerformance.js +3 -0
  211. package/stubs/double-conversion/double-conversion.h +5 -0
  212. package/templates/cpp-app/template.config.js +1 -1
  213. package/templates/cpp-app/windows/MyApp/MyApp.vcxproj +1 -1
  214. package/templates/cpp-lib/template.config.js +1 -1
  215. package/templates/cpp-lib/windows/MyLib/MyLib.vcxproj +1 -1
  216. package/types/index.d.ts +1 -0
  217. package/types/public/ReactNativeTypes.d.ts +115 -2
  218. package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricHostComponent.js +0 -152
  219. package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/conversions.h +0 -1574
  220. package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/core/ShadowNode.cpp +0 -528
  221. package/Scripts/OpenSSL.nuspec +0 -39
  222. package/Scripts/OpenSSL.targets +0 -36
  223. package/codegen/rnwcoreJSI-generated.cpp +0 -3470
@@ -16,7 +16,8 @@ namespace facebook::react {
16
16
 
17
17
  template <>
18
18
  struct Bridging<std::nullptr_t> {
19
- static std::nullptr_t fromJs(jsi::Runtime& rt, const jsi::Value& value) {
19
+ static std::nullptr_t fromJs(jsi::Runtime &rt, const jsi::Value &value)
20
+ {
20
21
  if (value.isNull() || value.isUndefined()) {
21
22
  return nullptr;
22
23
  } else {
@@ -24,17 +25,17 @@ struct Bridging<std::nullptr_t> {
24
25
  }
25
26
  }
26
27
 
27
- static std::nullptr_t toJs(jsi::Runtime&, std::nullptr_t) {
28
+ static std::nullptr_t toJs(jsi::Runtime & /*unused*/, std::nullptr_t)
29
+ {
28
30
  return nullptr;
29
31
  }
30
32
  };
31
33
 
32
34
  template <typename T>
33
35
  struct Bridging<std::optional<T>> {
34
- static std::optional<T> fromJs(
35
- jsi::Runtime& rt,
36
- const jsi::Value& value,
37
- const std::shared_ptr<CallInvoker>& jsInvoker) {
36
+ static std::optional<T>
37
+ fromJs(jsi::Runtime &rt, const jsi::Value &value, const std::shared_ptr<CallInvoker> &jsInvoker)
38
+ {
38
39
  if (value.isNull() || value.isUndefined()) {
39
40
  return {};
40
41
  }
@@ -42,20 +43,17 @@ struct Bridging<std::optional<T>> {
42
43
  }
43
44
 
44
45
  template <typename U>
45
- static std::optional<T> fromJs(
46
- jsi::Runtime& rt,
47
- const std::optional<U>& value,
48
- const std::shared_ptr<CallInvoker>& jsInvoker) {
46
+ static std::optional<T>
47
+ fromJs(jsi::Runtime &rt, const std::optional<U> &value, const std::shared_ptr<CallInvoker> &jsInvoker)
48
+ {
49
49
  if (value) {
50
50
  return bridging::fromJs<T>(rt, *value, jsInvoker);
51
51
  }
52
52
  return {};
53
53
  }
54
54
 
55
- static jsi::Value toJs(
56
- jsi::Runtime& rt,
57
- const std::optional<T>& value,
58
- const std::shared_ptr<CallInvoker>& jsInvoker) {
55
+ static jsi::Value toJs(jsi::Runtime &rt, const std::optional<T> &value, const std::shared_ptr<CallInvoker> &jsInvoker)
56
+ {
59
57
  if (value) {
60
58
  return bridging::toJs(rt, *value, jsInvoker);
61
59
  }
@@ -64,13 +62,9 @@ struct Bridging<std::optional<T>> {
64
62
  };
65
63
 
66
64
  template <typename T>
67
- struct Bridging<
68
- std::shared_ptr<T>,
69
- std::enable_if_t<!std::is_base_of_v<jsi::HostObject, T>>> {
70
- static jsi::Value toJs(
71
- jsi::Runtime& rt,
72
- const std::shared_ptr<T>& ptr,
73
- const std::shared_ptr<CallInvoker>& jsInvoker) {
65
+ struct Bridging<std::shared_ptr<T>, std::enable_if_t<!std::is_base_of_v<jsi::HostObject, T>>> {
66
+ static jsi::Value toJs(jsi::Runtime &rt, const std::shared_ptr<T> &ptr, const std::shared_ptr<CallInvoker> &jsInvoker)
67
+ {
74
68
  if (ptr) {
75
69
  return bridging::toJs(rt, *ptr, jsInvoker);
76
70
  }
@@ -80,10 +74,8 @@ struct Bridging<
80
74
 
81
75
  template <typename T>
82
76
  struct Bridging<std::unique_ptr<T>> {
83
- static jsi::Value toJs(
84
- jsi::Runtime& rt,
85
- const std::unique_ptr<T>& ptr,
86
- const std::shared_ptr<CallInvoker>& jsInvoker) {
77
+ static jsi::Value toJs(jsi::Runtime &rt, const std::unique_ptr<T> &ptr, const std::shared_ptr<CallInvoker> &jsInvoker)
78
+ {
87
79
  if (ptr) {
88
80
  return bridging::toJs(rt, *ptr, jsInvoker);
89
81
  }
@@ -93,10 +85,9 @@ struct Bridging<std::unique_ptr<T>> {
93
85
 
94
86
  template <typename T>
95
87
  struct Bridging<std::weak_ptr<T>> {
96
- static jsi::Value toJs(
97
- jsi::Runtime& rt,
98
- const std::weak_ptr<T>& weakPtr,
99
- const std::shared_ptr<CallInvoker>& jsInvoker) {
88
+ static jsi::Value
89
+ toJs(jsi::Runtime &rt, const std::weak_ptr<T> &weakPtr, const std::shared_ptr<CallInvoker> &jsInvoker)
90
+ {
100
91
  if (auto ptr = weakPtr.lock()) {
101
92
  return bridging::toJs(rt, *ptr, jsInvoker);
102
93
  }
@@ -37,17 +37,12 @@
37
37
  #ifdef __cplusplus
38
38
  extern "C" {
39
39
  #endif // __cplusplus
40
- void react_native_assert_fail(
41
- const char* func,
42
- const char* file,
43
- int line,
44
- const char* expr);
40
+ void react_native_assert_fail(const char *func, const char *file, int line, const char *expr);
45
41
  #ifdef __cplusplus
46
42
  }
47
43
  #endif // __cpusplus
48
44
 
49
- #define react_native_assert(e) \
50
- ((e) ? (void)0 : react_native_assert_fail(__func__, __FILE__, __LINE__, #e))
45
+ #define react_native_assert(e) ((e) ? (void)0 : react_native_assert_fail(__func__, __FILE__, __LINE__, #e))
51
46
 
52
47
  #else // __ANDROID__
53
48
 
@@ -23,157 +23,165 @@ class HighResTimeStamp;
23
23
  */
24
24
  class HighResDuration {
25
25
  friend class HighResTimeStamp;
26
- friend constexpr HighResDuration operator-(
27
- const HighResTimeStamp& lhs,
28
- const HighResTimeStamp& rhs);
29
- friend constexpr HighResTimeStamp operator+(
30
- const HighResTimeStamp& lhs,
31
- const HighResDuration& rhs);
32
- friend constexpr HighResTimeStamp operator-(
33
- const HighResTimeStamp& lhs,
34
- const HighResDuration& rhs);
26
+ friend constexpr HighResDuration operator-(const HighResTimeStamp &lhs, const HighResTimeStamp &rhs);
27
+ friend constexpr HighResTimeStamp operator+(const HighResTimeStamp &lhs, const HighResDuration &rhs);
28
+ friend constexpr HighResTimeStamp operator-(const HighResTimeStamp &lhs, const HighResDuration &rhs);
35
29
 
36
30
  public:
37
- constexpr HighResDuration()
38
- : chronoDuration_(std::chrono::steady_clock::duration()) {}
31
+ constexpr HighResDuration() : chronoDuration_(std::chrono::steady_clock::duration()) {}
39
32
 
40
- static constexpr HighResDuration zero() {
33
+ static constexpr HighResDuration zero()
34
+ {
41
35
  return HighResDuration(std::chrono::steady_clock::duration::zero());
42
36
  }
43
37
 
44
- static constexpr HighResDuration fromChrono(
45
- std::chrono::steady_clock::duration chronoDuration) {
38
+ static constexpr HighResDuration fromChrono(std::chrono::steady_clock::duration chronoDuration)
39
+ {
46
40
  return HighResDuration(chronoDuration);
47
41
  }
48
42
 
49
- static constexpr HighResDuration fromNanoseconds(int64_t units) {
43
+ static constexpr HighResDuration fromNanoseconds(int64_t units)
44
+ {
50
45
  return HighResDuration(std::chrono::nanoseconds(units));
51
46
  }
52
47
 
53
- static constexpr HighResDuration fromMilliseconds(int64_t units) {
48
+ static constexpr HighResDuration fromMilliseconds(int64_t units)
49
+ {
54
50
  return HighResDuration(std::chrono::milliseconds(units));
55
51
  }
56
52
 
57
- constexpr int64_t toNanoseconds() const {
58
- return std::chrono::duration_cast<std::chrono::nanoseconds>(chronoDuration_)
59
- .count();
53
+ constexpr int64_t toNanoseconds() const
54
+ {
55
+ return std::chrono::duration_cast<std::chrono::nanoseconds>(chronoDuration_).count();
60
56
  }
61
57
 
62
58
  // @see https://developer.mozilla.org/en-US/docs/Web/API/DOMHighResTimeStamp
63
- static constexpr HighResDuration fromDOMHighResTimeStamp(double units) {
59
+ static constexpr HighResDuration fromDOMHighResTimeStamp(double units)
60
+ {
64
61
  auto nanoseconds = static_cast<int64_t>(units * 1e6);
65
62
  return fromNanoseconds(nanoseconds);
66
63
  }
67
64
 
68
65
  // @see https://developer.mozilla.org/en-US/docs/Web/API/DOMHighResTimeStamp
69
- constexpr double toDOMHighResTimeStamp() const {
70
- return static_cast<std::chrono::duration<double, std::milli>>(
71
- chronoDuration_)
72
- .count();
66
+ constexpr double toDOMHighResTimeStamp() const
67
+ {
68
+ return static_cast<std::chrono::duration<double, std::milli>>(chronoDuration_).count();
73
69
  }
74
70
 
75
- constexpr HighResDuration operator+(const HighResDuration& rhs) const {
71
+ constexpr HighResDuration operator+(const HighResDuration &rhs) const
72
+ {
76
73
  return HighResDuration(chronoDuration_ + rhs.chronoDuration_);
77
74
  }
78
75
 
79
- constexpr HighResDuration operator+(
80
- const std::chrono::steady_clock::duration& rhs) const {
76
+ constexpr HighResDuration operator+(const std::chrono::steady_clock::duration &rhs) const
77
+ {
81
78
  return HighResDuration(chronoDuration_ + rhs);
82
79
  }
83
80
 
84
- constexpr HighResDuration operator-(const HighResDuration& rhs) const {
81
+ constexpr HighResDuration operator-(const HighResDuration &rhs) const
82
+ {
85
83
  return HighResDuration(chronoDuration_ - rhs.chronoDuration_);
86
84
  }
87
85
 
88
- constexpr HighResDuration operator-(
89
- const std::chrono::steady_clock::duration& rhs) const {
86
+ constexpr HighResDuration operator-(const std::chrono::steady_clock::duration &rhs) const
87
+ {
90
88
  return HighResDuration(chronoDuration_ - rhs);
91
89
  }
92
90
 
93
- constexpr HighResDuration& operator+=(const HighResDuration& rhs) {
91
+ constexpr HighResDuration &operator+=(const HighResDuration &rhs)
92
+ {
94
93
  chronoDuration_ += rhs.chronoDuration_;
95
94
  return *this;
96
95
  }
97
96
 
98
- constexpr HighResDuration& operator+=(
99
- const std::chrono::steady_clock::duration& rhs) {
97
+ constexpr HighResDuration &operator+=(const std::chrono::steady_clock::duration &rhs)
98
+ {
100
99
  chronoDuration_ += rhs;
101
100
  return *this;
102
101
  }
103
102
 
104
- constexpr HighResDuration& operator-=(const HighResDuration& rhs) {
103
+ constexpr HighResDuration &operator-=(const HighResDuration &rhs)
104
+ {
105
105
  chronoDuration_ -= rhs.chronoDuration_;
106
106
  return *this;
107
107
  }
108
108
 
109
- constexpr HighResDuration& operator-=(
110
- const std::chrono::steady_clock::duration& rhs) {
109
+ constexpr HighResDuration &operator-=(const std::chrono::steady_clock::duration &rhs)
110
+ {
111
111
  chronoDuration_ -= rhs;
112
112
  return *this;
113
113
  }
114
114
 
115
- constexpr bool operator==(const HighResDuration& rhs) const {
115
+ constexpr bool operator==(const HighResDuration &rhs) const
116
+ {
116
117
  return chronoDuration_ == rhs.chronoDuration_;
117
118
  }
118
119
 
119
- constexpr bool operator==(
120
- const std::chrono::steady_clock::duration& rhs) const {
120
+ constexpr bool operator==(const std::chrono::steady_clock::duration &rhs) const
121
+ {
121
122
  return chronoDuration_ == rhs;
122
123
  }
123
124
 
124
- constexpr bool operator!=(const HighResDuration& rhs) const {
125
+ constexpr bool operator!=(const HighResDuration &rhs) const
126
+ {
125
127
  return chronoDuration_ != rhs.chronoDuration_;
126
128
  }
127
129
 
128
- constexpr bool operator!=(
129
- const std::chrono::steady_clock::duration& rhs) const {
130
+ constexpr bool operator!=(const std::chrono::steady_clock::duration &rhs) const
131
+ {
130
132
  return chronoDuration_ != rhs;
131
133
  }
132
134
 
133
- constexpr bool operator<(const HighResDuration& rhs) const {
135
+ constexpr bool operator<(const HighResDuration &rhs) const
136
+ {
134
137
  return chronoDuration_ < rhs.chronoDuration_;
135
138
  }
136
139
 
137
- constexpr bool operator<(
138
- const std::chrono::steady_clock::duration& rhs) const {
140
+ constexpr bool operator<(const std::chrono::steady_clock::duration &rhs) const
141
+ {
139
142
  return chronoDuration_ < rhs;
140
143
  }
141
144
 
142
- constexpr bool operator<=(const HighResDuration& rhs) const {
145
+ constexpr bool operator<=(const HighResDuration &rhs) const
146
+ {
143
147
  return chronoDuration_ <= rhs.chronoDuration_;
144
148
  }
145
149
 
146
- constexpr bool operator<=(
147
- const std::chrono::steady_clock::duration& rhs) const {
150
+ constexpr bool operator<=(const std::chrono::steady_clock::duration &rhs) const
151
+ {
148
152
  return chronoDuration_ <= rhs;
149
153
  }
150
154
 
151
- constexpr bool operator>(const HighResDuration& rhs) const {
155
+ constexpr bool operator>(const HighResDuration &rhs) const
156
+ {
152
157
  return chronoDuration_ > rhs.chronoDuration_;
153
158
  }
154
159
 
155
- constexpr bool operator>(
156
- const std::chrono::steady_clock::duration& rhs) const {
160
+ constexpr bool operator>(const std::chrono::steady_clock::duration &rhs) const
161
+ {
157
162
  return chronoDuration_ > rhs;
158
163
  }
159
164
 
160
- constexpr bool operator>=(const HighResDuration& rhs) const {
165
+ constexpr bool operator>=(const HighResDuration &rhs) const
166
+ {
161
167
  return chronoDuration_ >= rhs.chronoDuration_;
162
168
  }
163
169
 
164
- constexpr bool operator>=(
165
- const std::chrono::steady_clock::duration& rhs) const {
170
+ constexpr bool operator>=(const std::chrono::steady_clock::duration &rhs) const
171
+ {
166
172
  return chronoDuration_ >= rhs;
167
173
  }
168
174
 
169
- constexpr operator std::chrono::steady_clock::duration() const {
175
+ constexpr operator std::chrono::steady_clock::duration() const
176
+ {
170
177
  return chronoDuration_;
171
178
  }
172
179
 
173
180
  private:
174
- explicit constexpr HighResDuration(
175
- std::chrono::steady_clock::duration chronoDuration)
176
- : chronoDuration_(chronoDuration) {}
181
+ explicit constexpr HighResDuration(std::chrono::steady_clock::duration chronoDuration)
182
+ : chronoDuration_(chronoDuration)
183
+ {
184
+ }
177
185
 
178
186
  std::chrono::steady_clock::duration chronoDuration_;
179
187
  };
@@ -184,154 +192,158 @@ class HighResDuration {
184
192
  * @see __docs__/README.md for more information.
185
193
  */
186
194
  class HighResTimeStamp {
187
- friend constexpr HighResDuration operator-(
188
- const HighResTimeStamp& lhs,
189
- const HighResTimeStamp& rhs);
190
- friend constexpr HighResTimeStamp operator+(
191
- const HighResTimeStamp& lhs,
192
- const HighResDuration& rhs);
193
- friend constexpr HighResTimeStamp operator-(
194
- const HighResTimeStamp& lhs,
195
- const HighResDuration& rhs);
195
+ friend constexpr HighResDuration operator-(const HighResTimeStamp &lhs, const HighResTimeStamp &rhs);
196
+ friend constexpr HighResTimeStamp operator+(const HighResTimeStamp &lhs, const HighResDuration &rhs);
197
+ friend constexpr HighResTimeStamp operator-(const HighResTimeStamp &lhs, const HighResDuration &rhs);
196
198
 
197
199
  public:
198
200
  HighResTimeStamp() noexcept : chronoTimePoint_(chronoNow()) {}
199
201
 
200
- static HighResTimeStamp now() noexcept {
202
+ static HighResTimeStamp now() noexcept
203
+ {
201
204
  return HighResTimeStamp(chronoNow());
202
205
  }
203
206
 
204
- static HighResDuration unsafeOriginFromUnixTimeStamp() noexcept {
207
+ static HighResDuration unsafeOriginFromUnixTimeStamp() noexcept
208
+ {
205
209
  static auto origin = computeUnsafeOriginFromUnixTimeStamp();
206
210
  return origin;
207
211
  }
208
212
 
209
- static constexpr HighResTimeStamp min() noexcept {
213
+ static constexpr HighResTimeStamp min() noexcept
214
+ {
210
215
  return HighResTimeStamp(std::chrono::steady_clock::time_point::min());
211
216
  }
212
217
 
213
- static constexpr HighResTimeStamp max() noexcept {
218
+ static constexpr HighResTimeStamp max() noexcept
219
+ {
214
220
  return HighResTimeStamp(std::chrono::steady_clock::time_point::max());
215
221
  }
216
222
 
217
223
  // @see https://developer.mozilla.org/en-US/docs/Web/API/DOMHighResTimeStamp
218
- static constexpr HighResTimeStamp fromDOMHighResTimeStamp(double units) {
224
+ static constexpr HighResTimeStamp fromDOMHighResTimeStamp(double units)
225
+ {
219
226
  auto nanoseconds = static_cast<int64_t>(units * 1e6);
220
- return HighResTimeStamp(std::chrono::steady_clock::time_point(
221
- std::chrono::nanoseconds(nanoseconds)));
227
+ return HighResTimeStamp(std::chrono::steady_clock::time_point(std::chrono::nanoseconds(nanoseconds)));
222
228
  }
223
229
 
224
230
  // @see https://developer.mozilla.org/en-US/docs/Web/API/DOMHighResTimeStamp
225
- constexpr double toDOMHighResTimeStamp() const {
226
- return HighResDuration(chronoTimePoint_.time_since_epoch())
227
- .toDOMHighResTimeStamp();
231
+ constexpr double toDOMHighResTimeStamp() const
232
+ {
233
+ return HighResDuration(chronoTimePoint_.time_since_epoch()).toDOMHighResTimeStamp();
228
234
  }
229
235
 
230
236
  // This method is expected to be used only when converting time stamps from
231
237
  // external systems.
232
238
  static constexpr HighResTimeStamp fromChronoSteadyClockTimePoint(
233
- std::chrono::steady_clock::time_point chronoTimePoint) {
239
+ std::chrono::steady_clock::time_point chronoTimePoint)
240
+ {
234
241
  return HighResTimeStamp(chronoTimePoint);
235
242
  }
236
243
 
237
244
  #ifdef REACT_NATIVE_DEBUG
238
- static void setTimeStampProviderForTesting(
239
- std::function<std::chrono::steady_clock::time_point()>&&
240
- timeStampProvider) {
245
+ static void setTimeStampProviderForTesting(std::function<std::chrono::steady_clock::time_point()> &&timeStampProvider)
246
+ {
241
247
  getTimeStampProvider() = std::move(timeStampProvider);
242
248
  }
243
249
  #endif
244
250
 
245
251
  // This method is provided for convenience, if you need to convert
246
252
  // HighResTimeStamp to some common epoch with time stamps from other sources.
247
- constexpr std::chrono::steady_clock::time_point toChronoSteadyClockTimePoint()
248
- const {
253
+ constexpr std::chrono::steady_clock::time_point toChronoSteadyClockTimePoint() const
254
+ {
249
255
  return chronoTimePoint_;
250
256
  }
251
257
 
252
- constexpr bool operator==(const HighResTimeStamp& rhs) const {
258
+ constexpr bool operator==(const HighResTimeStamp &rhs) const
259
+ {
253
260
  return chronoTimePoint_ == rhs.chronoTimePoint_;
254
261
  }
255
262
 
256
- constexpr bool operator!=(const HighResTimeStamp& rhs) const {
263
+ constexpr bool operator!=(const HighResTimeStamp &rhs) const
264
+ {
257
265
  return chronoTimePoint_ != rhs.chronoTimePoint_;
258
266
  }
259
267
 
260
- constexpr bool operator<(const HighResTimeStamp& rhs) const {
268
+ constexpr bool operator<(const HighResTimeStamp &rhs) const
269
+ {
261
270
  return chronoTimePoint_ < rhs.chronoTimePoint_;
262
271
  }
263
272
 
264
- constexpr bool operator<=(const HighResTimeStamp& rhs) const {
273
+ constexpr bool operator<=(const HighResTimeStamp &rhs) const
274
+ {
265
275
  return chronoTimePoint_ <= rhs.chronoTimePoint_;
266
276
  }
267
277
 
268
- constexpr bool operator>(const HighResTimeStamp& rhs) const {
278
+ constexpr bool operator>(const HighResTimeStamp &rhs) const
279
+ {
269
280
  return chronoTimePoint_ > rhs.chronoTimePoint_;
270
281
  }
271
282
 
272
- constexpr bool operator>=(const HighResTimeStamp& rhs) const {
283
+ constexpr bool operator>=(const HighResTimeStamp &rhs) const
284
+ {
273
285
  return chronoTimePoint_ >= rhs.chronoTimePoint_;
274
286
  }
275
287
 
276
- constexpr HighResTimeStamp& operator+=(const HighResDuration& rhs) {
288
+ constexpr HighResTimeStamp &operator+=(const HighResDuration &rhs)
289
+ {
277
290
  chronoTimePoint_ += rhs.chronoDuration_;
278
291
  return *this;
279
292
  }
280
293
 
281
- constexpr HighResTimeStamp& operator-=(const HighResDuration& rhs) {
294
+ constexpr HighResTimeStamp &operator-=(const HighResDuration &rhs)
295
+ {
282
296
  chronoTimePoint_ -= rhs.chronoDuration_;
283
297
  return *this;
284
298
  }
285
299
 
286
300
  private:
287
- explicit constexpr HighResTimeStamp(
288
- std::chrono::steady_clock::time_point chronoTimePoint)
289
- : chronoTimePoint_(chronoTimePoint) {}
301
+ explicit constexpr HighResTimeStamp(std::chrono::steady_clock::time_point chronoTimePoint)
302
+ : chronoTimePoint_(chronoTimePoint)
303
+ {
304
+ }
290
305
 
291
306
  std::chrono::steady_clock::time_point chronoTimePoint_;
292
307
 
293
- static HighResDuration computeUnsafeOriginFromUnixTimeStamp() noexcept {
308
+ static HighResDuration computeUnsafeOriginFromUnixTimeStamp() noexcept
309
+ {
294
310
  auto systemNow = std::chrono::system_clock::now();
295
311
  auto steadyNow = std::chrono::steady_clock::now();
296
- return HighResDuration(
297
- systemNow.time_since_epoch() - steadyNow.time_since_epoch());
312
+ return HighResDuration(systemNow.time_since_epoch() - steadyNow.time_since_epoch());
298
313
  }
299
314
 
300
315
  #ifdef REACT_NATIVE_DEBUG
301
- static std::function<std::chrono::steady_clock::time_point()>&
302
- getTimeStampProvider() {
303
- static std::function<std::chrono::steady_clock::time_point()>
304
- timeStampProvider = nullptr;
316
+ static std::function<std::chrono::steady_clock::time_point()> &getTimeStampProvider()
317
+ {
318
+ static std::function<std::chrono::steady_clock::time_point()> timeStampProvider = nullptr;
305
319
  return timeStampProvider;
306
320
  }
307
321
 
308
- static std::chrono::steady_clock::time_point chronoNow() {
309
- auto& timeStampProvider = getTimeStampProvider();
310
- return timeStampProvider != nullptr ? timeStampProvider()
311
- : std::chrono::steady_clock::now();
322
+ static std::chrono::steady_clock::time_point chronoNow()
323
+ {
324
+ auto &timeStampProvider = getTimeStampProvider();
325
+ return timeStampProvider != nullptr ? timeStampProvider() : std::chrono::steady_clock::now();
312
326
  }
313
327
  #else
314
- inline static std::chrono::steady_clock::time_point chronoNow() {
328
+ inline static std::chrono::steady_clock::time_point chronoNow()
329
+ {
315
330
  return std::chrono::steady_clock::now();
316
331
  }
317
332
  #endif
318
333
  };
319
334
 
320
- inline constexpr HighResDuration operator-(
321
- const HighResTimeStamp& lhs,
322
- const HighResTimeStamp& rhs) {
335
+ inline constexpr HighResDuration operator-(const HighResTimeStamp &lhs, const HighResTimeStamp &rhs)
336
+ {
323
337
  return HighResDuration(lhs.chronoTimePoint_ - rhs.chronoTimePoint_);
324
338
  }
325
339
 
326
- inline constexpr HighResTimeStamp operator+(
327
- const HighResTimeStamp& lhs,
328
- const HighResDuration& rhs) {
340
+ inline constexpr HighResTimeStamp operator+(const HighResTimeStamp &lhs, const HighResDuration &rhs)
341
+ {
329
342
  return HighResTimeStamp(lhs.chronoTimePoint_ + rhs.chronoDuration_);
330
343
  }
331
344
 
332
- inline constexpr HighResTimeStamp operator-(
333
- const HighResTimeStamp& lhs,
334
- const HighResDuration& rhs) {
345
+ inline constexpr HighResTimeStamp operator-(const HighResTimeStamp &lhs, const HighResDuration &rhs)
346
+ {
335
347
  return HighResTimeStamp(lhs.chronoTimePoint_ - rhs.chronoDuration_);
336
348
  }
337
349
 
@@ -10,11 +10,11 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.82.3</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.83.0-preview.1</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
- <ReactNativeWindowsMinor>82</ReactNativeWindowsMinor>
16
- <ReactNativeWindowsPatch>3</ReactNativeWindowsPatch>
15
+ <ReactNativeWindowsMinor>83</ReactNativeWindowsMinor>
16
+ <ReactNativeWindowsPatch>0</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
18
- <ReactNativeWindowsCommitId>44975125c841b61bdf863328c0076bbf5bb3e7af</ReactNativeWindowsCommitId>
18
+ <ReactNativeWindowsCommitId>b3b48d21776b189c66ab6ef77f0a48a9a3781b75</ReactNativeWindowsCommitId>
19
19
  </PropertyGroup>
20
20
  </Project>
@@ -24,7 +24,8 @@
24
24
  4701; <!-- potentially uninitialized local variable used -->
25
25
  4703; <!-- potentially uninitialized local pointer variable used -->
26
26
  4789; <!-- destination of memory copy too small -->
27
- 4995 <!-- function marked as pragma deprecated -->
27
+ 4995; <!-- function marked as pragma deprecated -->
28
+ 4996 <!-- deprecated function (including std::) -->
28
29
  </SDLMandatoryWarnings>
29
30
 
30
31
  <!-- SDL RECOMMENDED WARNINGS (Strongly recommended to fix) -->
@@ -91,6 +91,7 @@
91
91
  <ClInclude Include="$(ReactNativeDir)\ReactCommon\jsi\jsi\jsi.h" />
92
92
  <CIInclude Include="$(ReactNativeDir)\ReactCommon\jsitooling\react\runtime\JSRuntimeFactory.h" />
93
93
  <ClInclude Include="..\stubs\sys\mman.h" />
94
+ <ClInclude Include="..\stubs\sys\double-conversion.h" />
94
95
  <ClInclude Include="..\stubs\sys\time.h" />
95
96
  <ClInclude Include="$(ReactNativeDir)\ReactCommon\cxxreact\JSBigString.h" />
96
97
  <ClInclude Include="$(ReactNativeDir)\ReactCommon\cxxreact\MessageQueueThread.h" />
@@ -109,7 +110,7 @@
109
110
  <ClInclude Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\tracing\PerformanceTracer.h" />
110
111
  <ClInclude Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\tracing\ProfileTreeNode.h" />
111
112
  <ClInclude Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\tracing\TraceEventProfile.h" />
112
- <ClInclude Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\tracing\NetworkReporter.h" />
113
+ <ClInclude Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\tracing\NetworkHandler.h" />
113
114
  <ClInclude Include="$(ReactNativeDir)\ReactCommon\logger\react_native_log.h" />
114
115
  <ClInclude Include="$(YogaDir)\yoga\YGEnums.h" />
115
116
  <ClInclude Include="$(YogaDir)\yoga\YGMacros.h" />
@@ -136,6 +137,7 @@
136
137
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\cdp\CdpJson.cpp" />
137
138
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\HostTarget.cpp" />
138
139
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\NetworkIOAgent.cpp" />
140
+ <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\PerfMonitorV2.cpp" />
139
141
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\RuntimeAgent.cpp" />
140
142
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\TracingAgent.cpp" />
141
143
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\FallbackRuntimeAgentDelegate.cpp" />
@@ -144,6 +146,7 @@
144
146
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\tracing\RuntimeSamplingProfileTraceEventSerializer.cpp" />
145
147
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\tracing\PerformanceTracer.cpp" />
146
148
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\tracing\TraceEventSerializer.cpp" />
149
+ <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\tracing\ConsoleTimeStamp.cpp" />
147
150
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsitooling\react\runtime\JSRuntimeFactory.cpp" />
148
151
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\logger\react_native_log.cpp" />
149
152
  <CLCompile Include="$(ReactNativeDir)\ReactCommon\reactperflogger\fusebox\FuseboxTracer.cpp" />
@@ -166,6 +169,7 @@
166
169
  <ClCompile Include="$(YogaDir)\yoga\debug\Log.cpp" />
167
170
  <ClCompile Include="$(YogaDir)\yoga\node\LayoutResults.cpp" />
168
171
  <ClCompile Include="$(YogaDir)\yoga\node\Node.cpp" />
172
+ <ClCompile Include="$(ReactNativeDir)\ReactCommon\react\utils\Uuid.cpp" />
169
173
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\Sealable.cpp" />
170
174
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\debug\DebugStringConvertible.cpp" />
171
175
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\debug\DebugStringConvertibleItem.cpp" />
@@ -173,13 +177,18 @@
173
177
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\mounting\internal\sliceChildShadowNodeViewPairs.cpp" />
174
178
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\mapbuffer\MapBuffer.cpp" />
175
179
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\mapbuffer\MapBufferBuilder.cpp" />
180
+ <ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\graphics\LinearGradient.cpp" />
181
+ <ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\graphics\RadialGradient.cpp" />
182
+ <ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\graphics\ValueUnit.cpp" />
183
+ <ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\graphics\DoubleConversions.cpp" />
176
184
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\telemetry\TransactionTelemetry.cpp" />
177
185
  <CLCompile Include="$(ReactNativeDir)\ReactCommon\react\performance\timeline\PerformanceEntryReporter.cpp" />
178
186
  <CLCompile Include="$(ReactNativeDir)\ReactCommon\react\performance\timeline\PerformanceObserverRegistry.cpp" />
179
187
  <CLCompile Include="$(ReactNativeDir)\ReactCommon\react\performance\timeline\PerformanceEntryCircularBuffer.cpp" />
180
188
  <CLCompile Include="$(ReactNativeDir)\ReactCommon\react\performance\timeline\PerformanceObserver.cpp" />
181
189
  <CLCompile Include="$(ReactNativeDir)\ReactCommon\react\performance\timeline\PerformanceEntryKeyedBuffer.cpp" />
182
- <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\network\NetworkReporter.cpp" />
190
+ <CLCompile Include="$(ReactNativeDir)\ReactCommon\react\performance\cdpmetrics\CdpPerfIssuesReporter.cpp" />
191
+ <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\network\NetworkHandler.cpp" />
183
192
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\network\BoundedRequestBuffer.cpp" />
184
193
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\network\CdpNetwork.cpp" />
185
194
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\network\HttpUtils.cpp" />
@@ -7,7 +7,7 @@
7
7
 
8
8
  #include "CxxNativeModule.h"
9
9
 
10
- #ifndef RCT_FIT_RM_OLD_RUNTIME
10
+ #ifndef RCT_REMOVE_LEGACY_ARCH
11
11
 
12
12
  #include "Instance.h"
13
13
 
@@ -256,4 +256,4 @@ void CxxNativeModule::lazyInit() {
256
256
 
257
257
  } // namespace facebook::react
258
258
 
259
- #endif // RCT_FIT_RM_OLD_RUNTIME
259
+ #endif // RCT_REMOVE_LEGACY_ARCH