react-native-tvos 0.76.7-0 → 0.76.9-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/hermes-engine/hermes-utils.rb +3 -1
- 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 +19 -11
- 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"]))
|
|
@@ -568,6 +568,7 @@ class ReactNativePodsUtils
|
|
|
568
568
|
ReactNativePodsUtils.update_header_paths_if_depends_on(target_installation_result, "RCT-Folly", [
|
|
569
569
|
"\"$(PODS_ROOT)/RCT-Folly\"",
|
|
570
570
|
"\"$(PODS_ROOT)/DoubleConversion\"",
|
|
571
|
+
"\"$(PODS_ROOT)/fast_float/include\"",
|
|
571
572
|
"\"$(PODS_ROOT)/fmt/include\"",
|
|
572
573
|
"\"$(PODS_ROOT)/boost\""
|
|
573
574
|
])
|
|
@@ -643,6 +644,7 @@ class ReactNativePodsUtils
|
|
|
643
644
|
"ReactCommon",
|
|
644
645
|
"Yoga",
|
|
645
646
|
"boost",
|
|
647
|
+
"fast_float",
|
|
646
648
|
"fmt",
|
|
647
649
|
"glog",
|
|
648
650
|
"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
|
pod 'fmt', :podspec => "#{prefix}/third-party-podspecs/fmt.podspec"
|
|
@@ -281,6 +282,13 @@ def get_glog_config()
|
|
|
281
282
|
return Helpers::Constants.glog_config
|
|
282
283
|
end
|
|
283
284
|
|
|
285
|
+
# This method returns an hash with the fast_float git url
|
|
286
|
+
# that can be used to configure libraries.
|
|
287
|
+
# @return an hash with the `:git` field.
|
|
288
|
+
def get_fast_float_config()
|
|
289
|
+
return Helpers::Constants.fast_float_config
|
|
290
|
+
end
|
|
291
|
+
|
|
284
292
|
# This method returns an hash with the fmt git url
|
|
285
293
|
# that can be used to configure libraries.
|
|
286
294
|
# @return an hash with the `:git` field.
|
|
@@ -320,6 +328,12 @@ def set_glog_config(glog_config)
|
|
|
320
328
|
Helpers::Constants.set_glog_config(glog_config)
|
|
321
329
|
end
|
|
322
330
|
|
|
331
|
+
# This method can be used to set the fast_float config
|
|
332
|
+
# that can be used to configure libraries.
|
|
333
|
+
def set_fast_float_config(fmt_config)
|
|
334
|
+
Helpers::Constants.set_fast_float_config(fast_float_config)
|
|
335
|
+
end
|
|
336
|
+
|
|
323
337
|
# This method can be used to set the fmt config
|
|
324
338
|
# that can be used to configure libraries.
|
|
325
339
|
def set_fmt_config(fmt_config)
|
|
@@ -208,7 +208,9 @@ def release_tarball_url(version, build_type)
|
|
|
208
208
|
# React Native core URL
|
|
209
209
|
#return "https://repo1.maven.org/maven2/com/facebook/react/react-native-artifacts/#{version}/react-native-artifacts-#{version}-hermes-ios-#{build_type.to_s}.tar.gz"
|
|
210
210
|
# React Native TV URL
|
|
211
|
-
return "https://repo1.maven.org/maven2/io/github/react-native-tvos/react-native-artifacts/#{version}/react-native-artifacts-#{version}-hermes-ios-#{build_type.to_s}.tar.gz"
|
|
211
|
+
# return "https://repo1.maven.org/maven2/io/github/react-native-tvos/react-native-artifacts/#{version}/react-native-artifacts-#{version}-hermes-ios-#{build_type.to_s}.tar.gz"
|
|
212
|
+
# For RNTV 0.76.9-0, we can use the same Hermes artifacts as 0.76.7-0
|
|
213
|
+
return "https://repo1.maven.org/maven2/io/github/react-native-tvos/react-native-artifacts/0.76.7-0/react-native-artifacts-0.76.7-0-hermes-ios-#{build_type.to_s}.tar.gz"
|
|
212
214
|
end
|
|
213
215
|
|
|
214
216
|
def download_stable_hermes(react_native_path, version, configuration)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
folly_config = get_folly_config()
|
|
7
7
|
folly_compiler_flags = folly_config[:compiler_flags]
|
|
8
8
|
folly_release_version = folly_config[:version]
|
|
9
|
-
|
|
10
|
-
folly_git_url = 'https://github.com/react-native-tvos/folly.git'
|
|
9
|
+
folly_git_url = folly_config[:git]
|
|
11
10
|
|
|
12
11
|
Pod::Spec.new do |spec|
|
|
13
12
|
spec.name = 'RCT-Folly'
|
|
@@ -18,14 +17,15 @@ Pod::Spec.new do |spec|
|
|
|
18
17
|
spec.summary = 'An open-source C++ library developed and used at Facebook.'
|
|
19
18
|
spec.authors = 'Facebook'
|
|
20
19
|
spec.source = { :git => folly_git_url,
|
|
21
|
-
:tag => "
|
|
20
|
+
:tag => "v#{folly_release_version}" }
|
|
22
21
|
spec.module_name = 'folly'
|
|
23
22
|
spec.header_mappings_dir = '.'
|
|
24
23
|
spec.dependency 'boost'
|
|
25
24
|
spec.dependency 'DoubleConversion'
|
|
26
25
|
spec.dependency 'glog'
|
|
27
|
-
spec.dependency "
|
|
28
|
-
spec.
|
|
26
|
+
spec.dependency "fast_float"
|
|
27
|
+
spec.dependency "fmt"
|
|
28
|
+
spec.compiler_flags = folly_compiler_flags + ' -DFOLLY_HAVE_PTHREAD=1 -Wno-documentation -faligned-new'
|
|
29
29
|
spec.source_files = 'folly/String.cpp',
|
|
30
30
|
'folly/Conv.cpp',
|
|
31
31
|
'folly/Demangle.cpp',
|
|
@@ -35,18 +35,19 @@ Pod::Spec.new do |spec|
|
|
|
35
35
|
'folly/lang/ToAscii.cpp',
|
|
36
36
|
'folly/ScopeGuard.cpp',
|
|
37
37
|
'folly/Unicode.cpp',
|
|
38
|
-
'folly/dynamic.cpp',
|
|
39
|
-
'folly/json.cpp',
|
|
40
|
-
'folly/json_pointer.cpp',
|
|
38
|
+
'folly/json/dynamic.cpp',
|
|
39
|
+
'folly/json/json.cpp',
|
|
40
|
+
'folly/json/json_pointer.cpp',
|
|
41
41
|
'folly/container/detail/F14Table.cpp',
|
|
42
42
|
'folly/detail/Demangle.cpp',
|
|
43
43
|
'folly/detail/FileUtilDetail.cpp',
|
|
44
44
|
'folly/detail/SplitStringSimd.cpp',
|
|
45
|
+
'folly/detail/StaticSingletonManager.cpp',
|
|
45
46
|
'folly/detail/UniqueInstance.cpp',
|
|
46
47
|
'folly/hash/SpookyHashV2.cpp',
|
|
47
|
-
'folly/lang/Assume.cpp',
|
|
48
48
|
'folly/lang/CString.cpp',
|
|
49
49
|
'folly/lang/Exception.cpp',
|
|
50
|
+
'folly/memory/ReentrantAllocator.cpp',
|
|
50
51
|
'folly/memory/detail/MallocImpl.cpp',
|
|
51
52
|
'folly/net/NetOps.cpp',
|
|
52
53
|
'folly/portability/SysUio.cpp',
|
|
@@ -54,11 +55,15 @@ Pod::Spec.new do |spec|
|
|
|
54
55
|
'folly/system/AtFork.cpp',
|
|
55
56
|
'folly/system/ThreadId.cpp',
|
|
56
57
|
'folly/*.h',
|
|
58
|
+
'folly/algorithm/simd/*.h',
|
|
59
|
+
'folly/algorithm/simd/detail/*.h',
|
|
60
|
+
'folly/chrono/*.h',
|
|
57
61
|
'folly/container/*.h',
|
|
58
62
|
'folly/container/detail/*.h',
|
|
59
63
|
'folly/detail/*.h',
|
|
60
64
|
'folly/functional/*.h',
|
|
61
65
|
'folly/hash/*.h',
|
|
66
|
+
'folly/json/*.h',
|
|
62
67
|
'folly/lang/*.h',
|
|
63
68
|
'folly/memory/*.h',
|
|
64
69
|
'folly/memory/detail/*.h',
|
|
@@ -69,11 +74,15 @@ Pod::Spec.new do |spec|
|
|
|
69
74
|
|
|
70
75
|
# workaround for https://github.com/facebook/react-native/issues/14326
|
|
71
76
|
spec.preserve_paths = 'folly/*.h',
|
|
77
|
+
'folly/algorithm/simd/*.h',
|
|
78
|
+
'folly/algorithm/simd/detail/*.h',
|
|
79
|
+
'folly/chrono/*.h',
|
|
72
80
|
'folly/container/*.h',
|
|
73
81
|
'folly/container/detail/*.h',
|
|
74
82
|
'folly/detail/*.h',
|
|
75
83
|
'folly/functional/*.h',
|
|
76
84
|
'folly/hash/*.h',
|
|
85
|
+
'folly/json/*.h',
|
|
77
86
|
'folly/lang/*.h',
|
|
78
87
|
'folly/memory/*.h',
|
|
79
88
|
'folly/memory/detail/*.h',
|
|
@@ -85,7 +94,7 @@ Pod::Spec.new do |spec|
|
|
|
85
94
|
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
86
95
|
"DEFINES_MODULE" => "YES",
|
|
87
96
|
"CLANG_CXX_LANGUAGE_STANDARD" => rct_cxx_language_standard(),
|
|
88
|
-
"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\"",
|
|
89
98
|
# In dynamic framework (use_frameworks!) mode, ignore the unused and undefined boost symbols when generating the library.
|
|
90
99
|
"OTHER_LDFLAGS" => "\"-Wl,-U,_jump_fcontext\" \"-Wl,-U,_make_fcontext\""
|
|
91
100
|
}
|
|
@@ -106,7 +115,6 @@ Pod::Spec.new do |spec|
|
|
|
106
115
|
'folly/concurrency/CacheLocality.cpp',
|
|
107
116
|
'folly/detail/Futex.cpp',
|
|
108
117
|
'folly/synchronization/ParkingLot.cpp',
|
|
109
|
-
'folly/portability/Malloc.cpp',
|
|
110
118
|
'folly/concurrency/CacheLocality.h',
|
|
111
119
|
'folly/synchronization/*.h',
|
|
112
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(),
|