react-native 0.76.7 → 0.76.9
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.
- package/Libraries/AppDelegate/React-RCTAppDelegate.podspec +1 -0
- package/Libraries/Blob/React-RCTBlob.podspec +3 -1
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Network/FormData.js +11 -3
- package/Libraries/Network/RCTDataRequestHandler.mm +17 -3
- package/Libraries/Network/RCTFileRequestHandler.mm +17 -3
- package/React/Base/RCTVersion.m +1 -1
- package/React/CoreModules/React-CoreModules.podspec +9 -10
- package/React/CxxModule/RCTCxxMethod.mm +10 -2
- package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm +1 -7
- package/React/Fabric/Surface/RCTFabricSurface.mm +1 -0
- package/React/React-RCTFabric.podspec +1 -0
- package/React/third-party.xcconfig +1 -1
- package/React-Core.podspec +2 -1
- package/ReactAndroid/api/ReactAndroid.api +1 -1
- package/ReactAndroid/build.gradle.kts +24 -0
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/DevSupportManagerBase.java +3 -1
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/HMRClient.java +4 -1
- package/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManager.java +13 -8
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactAndroid/src/main/jni/CMakeLists.txt +1 -0
- package/ReactAndroid/src/main/jni/third-party/fast_float/CMakeLists.txt +13 -0
- package/ReactAndroid/src/main/jni/third-party/folly/CMakeLists.txt +5 -6
- package/ReactCommon/React-Fabric.podspec +2 -1
- package/ReactCommon/React-FabricComponents.podspec +3 -1
- package/ReactCommon/React-FabricImage.podspec +7 -5
- package/ReactCommon/ReactCommon.podspec +9 -8
- package/ReactCommon/cxxreact/CxxNativeModule.cpp +6 -3
- package/ReactCommon/cxxreact/React-cxxreact.podspec +11 -10
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/hermes/React-hermes.podspec +7 -6
- package/ReactCommon/jsi/React-jsi.podspec +4 -3
- package/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +7 -6
- package/ReactCommon/jsinspector-modern/React-jsinspector.podspec +4 -4
- package/ReactCommon/react/nativemodule/core/platform/ios/React-NativeModulesApple.podspec +1 -1
- package/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm +24 -13
- package/ReactCommon/react/nativemodule/samples/ReactCommon-Samples.podspec +3 -1
- package/ReactCommon/react/renderer/debug/React-rendererdebug.podspec +4 -2
- package/ReactCommon/react/renderer/graphics/React-graphics.podspec +4 -2
- package/ReactCommon/react/renderer/imagemanager/platform/ios/React-ImageManager.podspec +1 -0
- package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTAttributedTextUtils.h +24 -3
- package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTAttributedTextUtils.mm +1 -43
- package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTTextLayoutManager.mm +4 -5
- package/ReactCommon/reactperflogger/React-perflogger.podspec +1 -0
- package/cli.js +11 -2
- package/gradle/libs.versions.toml +3 -2
- package/package.json +8 -8
- package/react-native.config.js +24 -23
- package/scripts/cocoapods/codegen_utils.rb +1 -2
- package/scripts/cocoapods/helpers.rb +13 -1
- package/scripts/cocoapods/new_architecture.rb +1 -0
- package/scripts/cocoapods/utils.rb +2 -0
- package/scripts/react_native_pods.rb +14 -0
- package/sdks/hermesc/linux64-bin/hermesc +0 -0
- package/sdks/hermesc/osx-bin/hermes +0 -0
- package/sdks/hermesc/osx-bin/hermesc +0 -0
- package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
- package/sdks/hermesc/win64-bin/msvcp140.dll +0 -0
- package/sdks/hermesc/win64-bin/vcruntime140.dll +0 -0
- package/sdks/hermesc/win64-bin/vcruntime140_1.dll +0 -0
- package/third-party-podspecs/RCT-Folly.podspec +16 -7
- package/third-party-podspecs/fast_float.podspec +29 -0
- package/third-party-podspecs/fmt.podspec +2 -2
|
@@ -83,6 +83,7 @@ class NewArchitectureHelper
|
|
|
83
83
|
header_search_paths = ["\"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/Headers/Private/Yoga\""]
|
|
84
84
|
if ENV['USE_FRAMEWORKS']
|
|
85
85
|
header_search_paths << "\"$(PODS_ROOT)/DoubleConversion\""
|
|
86
|
+
header_search_paths << "\"$(PODS_ROOT)/fast_float/include\""
|
|
86
87
|
header_search_paths << "\"$(PODS_ROOT)/fmt/include\""
|
|
87
88
|
ReactNativePodsUtils.create_header_search_path_for_frameworks("PODS_CONFIGURATION_BUILD_DIR", "React-graphics", "React_graphics", ["react/renderer/graphics/platform/ios"])
|
|
88
89
|
.concat(ReactNativePodsUtils.create_header_search_path_for_frameworks("PODS_CONFIGURATION_BUILD_DIR", "React-Fabric", "React_Fabric", ["react/renderer/components/view/platform/cxx"]))
|
|
@@ -564,6 +564,7 @@ class ReactNativePodsUtils
|
|
|
564
564
|
ReactNativePodsUtils.update_header_paths_if_depends_on(target_installation_result, "RCT-Folly", [
|
|
565
565
|
"\"$(PODS_ROOT)/RCT-Folly\"",
|
|
566
566
|
"\"$(PODS_ROOT)/DoubleConversion\"",
|
|
567
|
+
"\"$(PODS_ROOT)/fast_float/include\"",
|
|
567
568
|
"\"$(PODS_ROOT)/fmt/include\"",
|
|
568
569
|
"\"$(PODS_ROOT)/boost\""
|
|
569
570
|
])
|
|
@@ -639,6 +640,7 @@ class ReactNativePodsUtils
|
|
|
639
640
|
"ReactCommon",
|
|
640
641
|
"Yoga",
|
|
641
642
|
"boost",
|
|
643
|
+
"fast_float",
|
|
642
644
|
"fmt",
|
|
643
645
|
"glog",
|
|
644
646
|
"hermes-engine",
|
|
@@ -156,6 +156,7 @@ def use_react_native! (
|
|
|
156
156
|
pod 'DoubleConversion', :podspec => "#{prefix}/third-party-podspecs/DoubleConversion.podspec"
|
|
157
157
|
pod 'glog', :podspec => "#{prefix}/third-party-podspecs/glog.podspec"
|
|
158
158
|
pod 'boost', :podspec => "#{prefix}/third-party-podspecs/boost.podspec"
|
|
159
|
+
pod 'fast_float', :podspec => "#{prefix}/third-party-podspecs/fast_float.podspec"
|
|
159
160
|
pod 'fmt', :podspec => "#{prefix}/third-party-podspecs/fmt.podspec"
|
|
160
161
|
pod 'RCT-Folly', :podspec => "#{prefix}/third-party-podspecs/RCT-Folly.podspec", :modular_headers => true
|
|
161
162
|
|
|
@@ -280,6 +281,13 @@ def get_glog_config()
|
|
|
280
281
|
return Helpers::Constants.glog_config
|
|
281
282
|
end
|
|
282
283
|
|
|
284
|
+
# This method returns an hash with the fast_float git url
|
|
285
|
+
# that can be used to configure libraries.
|
|
286
|
+
# @return an hash with the `:git` field.
|
|
287
|
+
def get_fast_float_config()
|
|
288
|
+
return Helpers::Constants.fast_float_config
|
|
289
|
+
end
|
|
290
|
+
|
|
283
291
|
# This method returns an hash with the fmt git url
|
|
284
292
|
# that can be used to configure libraries.
|
|
285
293
|
# @return an hash with the `:git` field.
|
|
@@ -319,6 +327,12 @@ def set_glog_config(glog_config)
|
|
|
319
327
|
Helpers::Constants.set_glog_config(glog_config)
|
|
320
328
|
end
|
|
321
329
|
|
|
330
|
+
# This method can be used to set the fast_float config
|
|
331
|
+
# that can be used to configure libraries.
|
|
332
|
+
def set_fast_float_config(fmt_config)
|
|
333
|
+
Helpers::Constants.set_fast_float_config(fast_float_config)
|
|
334
|
+
end
|
|
335
|
+
|
|
322
336
|
# This method can be used to set the fmt config
|
|
323
337
|
# that can be used to configure libraries.
|
|
324
338
|
def set_fmt_config(fmt_config)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -23,7 +23,8 @@ Pod::Spec.new do |spec|
|
|
|
23
23
|
spec.dependency 'boost'
|
|
24
24
|
spec.dependency 'DoubleConversion'
|
|
25
25
|
spec.dependency 'glog'
|
|
26
|
-
spec.dependency "
|
|
26
|
+
spec.dependency "fast_float"
|
|
27
|
+
spec.dependency "fmt"
|
|
27
28
|
spec.compiler_flags = folly_compiler_flags + ' -DFOLLY_HAVE_PTHREAD=1 -Wno-documentation -faligned-new'
|
|
28
29
|
spec.source_files = 'folly/String.cpp',
|
|
29
30
|
'folly/Conv.cpp',
|
|
@@ -34,18 +35,19 @@ Pod::Spec.new do |spec|
|
|
|
34
35
|
'folly/lang/ToAscii.cpp',
|
|
35
36
|
'folly/ScopeGuard.cpp',
|
|
36
37
|
'folly/Unicode.cpp',
|
|
37
|
-
'folly/dynamic.cpp',
|
|
38
|
-
'folly/json.cpp',
|
|
39
|
-
'folly/json_pointer.cpp',
|
|
38
|
+
'folly/json/dynamic.cpp',
|
|
39
|
+
'folly/json/json.cpp',
|
|
40
|
+
'folly/json/json_pointer.cpp',
|
|
40
41
|
'folly/container/detail/F14Table.cpp',
|
|
41
42
|
'folly/detail/Demangle.cpp',
|
|
42
43
|
'folly/detail/FileUtilDetail.cpp',
|
|
43
44
|
'folly/detail/SplitStringSimd.cpp',
|
|
45
|
+
'folly/detail/StaticSingletonManager.cpp',
|
|
44
46
|
'folly/detail/UniqueInstance.cpp',
|
|
45
47
|
'folly/hash/SpookyHashV2.cpp',
|
|
46
|
-
'folly/lang/Assume.cpp',
|
|
47
48
|
'folly/lang/CString.cpp',
|
|
48
49
|
'folly/lang/Exception.cpp',
|
|
50
|
+
'folly/memory/ReentrantAllocator.cpp',
|
|
49
51
|
'folly/memory/detail/MallocImpl.cpp',
|
|
50
52
|
'folly/net/NetOps.cpp',
|
|
51
53
|
'folly/portability/SysUio.cpp',
|
|
@@ -53,11 +55,15 @@ Pod::Spec.new do |spec|
|
|
|
53
55
|
'folly/system/AtFork.cpp',
|
|
54
56
|
'folly/system/ThreadId.cpp',
|
|
55
57
|
'folly/*.h',
|
|
58
|
+
'folly/algorithm/simd/*.h',
|
|
59
|
+
'folly/algorithm/simd/detail/*.h',
|
|
60
|
+
'folly/chrono/*.h',
|
|
56
61
|
'folly/container/*.h',
|
|
57
62
|
'folly/container/detail/*.h',
|
|
58
63
|
'folly/detail/*.h',
|
|
59
64
|
'folly/functional/*.h',
|
|
60
65
|
'folly/hash/*.h',
|
|
66
|
+
'folly/json/*.h',
|
|
61
67
|
'folly/lang/*.h',
|
|
62
68
|
'folly/memory/*.h',
|
|
63
69
|
'folly/memory/detail/*.h',
|
|
@@ -68,11 +74,15 @@ Pod::Spec.new do |spec|
|
|
|
68
74
|
|
|
69
75
|
# workaround for https://github.com/facebook/react-native/issues/14326
|
|
70
76
|
spec.preserve_paths = 'folly/*.h',
|
|
77
|
+
'folly/algorithm/simd/*.h',
|
|
78
|
+
'folly/algorithm/simd/detail/*.h',
|
|
79
|
+
'folly/chrono/*.h',
|
|
71
80
|
'folly/container/*.h',
|
|
72
81
|
'folly/container/detail/*.h',
|
|
73
82
|
'folly/detail/*.h',
|
|
74
83
|
'folly/functional/*.h',
|
|
75
84
|
'folly/hash/*.h',
|
|
85
|
+
'folly/json/*.h',
|
|
76
86
|
'folly/lang/*.h',
|
|
77
87
|
'folly/memory/*.h',
|
|
78
88
|
'folly/memory/detail/*.h',
|
|
@@ -84,7 +94,7 @@ Pod::Spec.new do |spec|
|
|
|
84
94
|
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
85
95
|
"DEFINES_MODULE" => "YES",
|
|
86
96
|
"CLANG_CXX_LANGUAGE_STANDARD" => rct_cxx_language_standard(),
|
|
87
|
-
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/fmt/include\"",
|
|
97
|
+
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/fast_float/include\" \"$(PODS_ROOT)/fmt/include\"",
|
|
88
98
|
# In dynamic framework (use_frameworks!) mode, ignore the unused and undefined boost symbols when generating the library.
|
|
89
99
|
"OTHER_LDFLAGS" => "\"-Wl,-U,_jump_fcontext\" \"-Wl,-U,_make_fcontext\""
|
|
90
100
|
}
|
|
@@ -105,7 +115,6 @@ Pod::Spec.new do |spec|
|
|
|
105
115
|
'folly/concurrency/CacheLocality.cpp',
|
|
106
116
|
'folly/detail/Futex.cpp',
|
|
107
117
|
'folly/synchronization/ParkingLot.cpp',
|
|
108
|
-
'folly/portability/Malloc.cpp',
|
|
109
118
|
'folly/concurrency/CacheLocality.h',
|
|
110
119
|
'folly/synchronization/*.h',
|
|
111
120
|
'folly/system/ThreadId.h'
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2
|
+
#
|
|
3
|
+
# This source code is licensed under the MIT license found in the
|
|
4
|
+
# LICENSE file in the root directory of this source tree.
|
|
5
|
+
|
|
6
|
+
fast_float_config = get_fast_float_config()
|
|
7
|
+
fast_float_git_url = fast_float_config[:git]
|
|
8
|
+
|
|
9
|
+
Pod::Spec.new do |spec|
|
|
10
|
+
spec.name = "fast_float"
|
|
11
|
+
spec.version = "6.1.4"
|
|
12
|
+
spec.license = { :type => "MIT" }
|
|
13
|
+
spec.homepage = "https://github.com/fastfloat/fast_float"
|
|
14
|
+
spec.summary = "{fast_float} is an open-source number parsing library for C++. The library provides fast header-only implementations."
|
|
15
|
+
spec.authors = "The fast_float contributors"
|
|
16
|
+
spec.source = {
|
|
17
|
+
:git => fast_float_git_url,
|
|
18
|
+
:tag => "v6.1.4"
|
|
19
|
+
}
|
|
20
|
+
spec.pod_target_xcconfig = {
|
|
21
|
+
"CLANG_CXX_LANGUAGE_STANDARD" => rct_cxx_language_standard(),
|
|
22
|
+
"GCC_WARN_INHIBIT_ALL_WARNINGS" => "YES" # Disable warnings because we don't control this library
|
|
23
|
+
}
|
|
24
|
+
spec.platforms = min_supported_versions
|
|
25
|
+
spec.libraries = "c++"
|
|
26
|
+
spec.public_header_files = "include/fast_float/*.h"
|
|
27
|
+
spec.header_mappings_dir = "include"
|
|
28
|
+
spec.source_files = ["include/fast_float/*.h"]
|
|
29
|
+
end
|
|
@@ -8,14 +8,14 @@ fmt_git_url = fmt_config[:git]
|
|
|
8
8
|
|
|
9
9
|
Pod::Spec.new do |spec|
|
|
10
10
|
spec.name = "fmt"
|
|
11
|
-
spec.version = "
|
|
11
|
+
spec.version = "11.0.2"
|
|
12
12
|
spec.license = { :type => "MIT" }
|
|
13
13
|
spec.homepage = "https://github.com/fmtlib/fmt"
|
|
14
14
|
spec.summary = "{fmt} is an open-source formatting library for C++. It can be used as a safe and fast alternative to (s)printf and iostreams."
|
|
15
15
|
spec.authors = "The fmt contributors"
|
|
16
16
|
spec.source = {
|
|
17
17
|
:git => fmt_git_url,
|
|
18
|
-
:tag => "
|
|
18
|
+
:tag => "11.0.2"
|
|
19
19
|
}
|
|
20
20
|
spec.pod_target_xcconfig = {
|
|
21
21
|
"CLANG_CXX_LANGUAGE_STANDARD" => rct_cxx_language_standard(),
|