forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 151
Merge from upstream through 2020-05-28 #811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
amgleitman
merged 423 commits into
microsoft:master
from
amgleitman:amgleitman/0.64-merge-2020-05-28
Aug 16, 2021
Merged
Changes from 64 commits
Commits
Show all changes
423 commits
Select commit
Hold shift + click to select a range
1787c16
Remove `docs` from `jscodeshift`
cpojer 8ad8107
iOS: when the bridge has been invalidated, NativeModule lookup shouldβ¦
fkgozali 87d000f
Fix invalid type annotations
cpojer 9cdc19a
Fixes TextInput shaking when typing Chinese (#28805)
zhongwuzw 7bd694f
VirtualizedList: Migrate to React.Context
yungsters ddea7c7
VirtualizedList: Remove `PropTypes` Dependency
yungsters 8acb2b3
Remove `@babel/preset-env`
cpojer 577fdea
Add prepareForReuse to RCTSafeAreaViewComponentView
sammy-SC ced959b
chore: remove Kotlin version from the default template (#28626)
grabbou d815be1
Fix Optimized Differ (was generating extraneous Create mutations)
JoshuaGross 7f2515e
Add warning when scrollRef does not have a scrollTo method
kacieb 30a89f3
Don't use #import in C++ Code (#28825)
NickGerleman ca144fc
Fix unit test compilation on Android
JoshuaGross aae38c3
Support calling LayoutAnimation APIs in Fabric from JS
JoshuaGross bb5d043
Differ: fix TinyMap to prevent possible crashes in `find()` and `begiβ¦
JoshuaGross 0348953
Allow passing partial contentOffset to ScrollView on Android (#28817)
janicduplessis 4f5a092
Pass initial props to WrapperComponent
rubennorte 1740233
Upgrade to Jest 26
cpojer 4459c08
Make column match fuzzy
willholen de7f69a
Fix type of exported Touchables: ComponentType -> AbstractComponent (β¦
draperunner e8060ae
Import folly and adjust whitespace to match old codegen
hramos edfd965
Update native module specs
10314fe
Smoother scrolling in ScrollView, HorizontalScrollView
JoshuaGross 530dffa
Cleanup unused dependencies
cpojer b0d0e51
iOS: Animated image should animate at the same speed regardless of frβ¦
p-sun 5066b66
LogBox - Always display the first fatal error
rickhanlonii 41f0d9b
Rename error titles
rickhanlonii de667ff
Moved some NativeModule JS specs to OSS
fkgozali 0c2c4bf
Deploy Flow v0.124.0 to xplat/js
nmote d14b89b
RN: Workaround Fabric + Virtual Text Press Bug
yungsters fa5b4c9
Fabric: Backward-compatible behaviour of `measureInWindow` and `measure`
shergin 21d7a35
Upgrade to Yargs 15
cpojer ff0c625
Ez Extend logging of Fabric
mdvacca 5c48c94
Fix measureLayout function for Virtual Nodes
mdvacca ca105f8
Update cocoapods (#28833)
d76e03f
Fabric: Introducing `RunLoopObserver`
shergin 025b6a7
Fabric: Cross-platform implementation of `SynchronousEventBeat` and `β¦
shergin f4815fb
third-party | Move glog from xplat/third-party to third-party and creβ¦
nlutsenko 851644c
Fix Animated type
rijn e566c7e
Add virtual destructor to JSError
javache 26c120c
Handle initialProps as optional in renderApplication
rubennorte 7bb1c4e
Enable with CocoaPods `:configuration` (#28796)
alloy 16ea9ba
Support excluding multiple platforms.
joaovieira 4e59508
Extend ParagraphAttribute to store the includeFontPadding prop
mdvacca 561a97f
Extend Text measurement to support includeFontPadding prop
mdvacca 11b9bad
Small refactor on text measure method
mdvacca 853dc04
Handle optional return types/values
hramos 6e88ab6
Avoid redefining id when a property is named 'id'
hramos 14a0f3f
Eager initialize Fabric Android classes
mdvacca 938aa86
Remove Hermes.setPauseOnLoad message
willholen bf837d6
Add support for Debugger.setInstrumentationBreakpoint
willholen 164d47f
label react-native-github targets
fkgozali 91a49d8
Add script to generate native modules specs with react-native-codegen
hramos 69ce9c2
Update .gitignore (#28789)
enesozturk c67e1fe
Codegen: Add prepublish script to build Flow files (#28827)
empyrical 77d1380
Remove RCTLogError from RCTScrollViewManager.calculateChildFrames
sammy-SC 13ee5c4
Enable animations in bridgeless mode on iOS
a4a47b9
Expose RuntimeExecutor on CatalystInstance (#28851)
f535c8b
Inject ImagePipeline into FrescoModule
mdvacca aece57b
Fabric: Calling JSVM GC on memory pressure event on iOS
shergin a1ac251
TextInput: Default `blurOnSubmit` in JS
yungsters 03ef81b
Fix taps not working after scrolling / scroll position not being updaβ¦
JoshuaGross af1fe62
Fabric: Changes in UIManager::getNewestCloneOfShadowNode to make it sβ¦
shergin 6044026
Fabric: Making `UIManager::getRelativeLayoutMetrics` safer
shergin 0d2fcb1
Fabric: Making `UIManager::getNewestCloneOfShadowNode` even more safer
shergin 4971916
Fabric: Checks for corner cases in UIManager::getNewestCloneOfShadowNode
shergin e57a2d8
OSS: fixed incorrect license headers on some files
fkgozali b65b00a
Fabric: Fixed incorrect name of the prop value `justifyContent=space-β¦
shergin ebdd59a
Fabric: Initializing EventBeat::OwnerBox with non-null value ahead ofβ¦
shergin f05fff6
Fabric: Using `PlatformRunLoopObserver` instead of `MainRunLoopEventBβ¦
shergin 4b956fe
Fix skewX/skewY/perspective/matrix on iOS (#28863)
wcandillon 797367c
Fix skewX on Android and in the JS decomposition (#28862)
wcandillon d54113d
implemented showSoftInputOnFocus for iOS (#28834)
gurs1kh 51740f8
Fabric: Support for sync `RuntimeExecutor` in `executeSynchronouslyOnβ¦
shergin 03ccb63
Use plugin architecture for Paragraph component
sammy-SC 5223127
Use plugins for TextInput component
sammy-SC b87d67e
Use plugins for View component
sammy-SC dd7b671
Move SegmentedControl components to separate file and make them functβ¦
sammy-SC cde82b5
Add comments to a test case in LayoutableShadowNodeTest
sammy-SC 3c90134
xplat code ownership
fkgozali dba5887
Always run the momentum scroll Runnable so scroll position is updatedβ¦
JoshuaGross 6c4224e
Use UIManagerHelper to access EventDispatcher in ReactViewManager
d30c920
Mention using bundler to install cocoapods in RNTester README (#28873)
janicduplessis 8f90ce2
Break retain cycle in RCTLegacyViewManagerInteropCoordinator
sammy-SC 63099c4
Migrate Android view managers to type-safe commands generated by JS cβ¦
luluwu2032 9b53591
Add package name / bundle ID to bundle URL in development
motiz88 b4785e5
Forward all bundle URL params through HMR and bundle splitting
motiz88 8ffa180
imp: Add titlePlaceholder in template.config.js (#26218)
Esemesek 43de8ea
Fix opacity not being animated on Text component
sammy-SC 91468b7
Download image of size based on image view size, not image size
sammy-SC f78bd0e
Fabric: Fixed incorrect memory management in Scheduler
shergin 649e1b7
Fixing typo in comment (#28882)
potlov e5a6655
iOS: Fix Animated image crash when CADisplayLink target in RCTWeakProβ¦
p-sun df08d65
Disable animations on Android again
b01fcee
Get redbox working in bridgeless mode, disable logbox
94c45af
Add dark mode to loading progress
rickhanlonii 774ebd9
Cleanup logbox imports
e3f4a7b
Fix precision of TextInlineViews in Android
mdvacca 77ef8f8
When debugger is attached continue to receive console messages
MartinSherburn d9593ae
Add support for ScrollView.centerContent in Fabric
sammy-SC 6610327
Pressable: Rename pressRectOffset to pressRetentionOffset to be consiβ¦
elicwhite 179b53b
Back out "Fabric: Calling JSVM GC on memory pressure event on iOS"
shergin d269844
LayoutAnimations: have each Props struct do its own interpolation
JoshuaGross 6570f78
Extend ReactShadowNode API to expose flex props
mdvacca 0aac4c3
Fabric: Unifying interface of stub TextLayoutManager with actual ones
shergin d0c4c5e
Delete playTouchSound from UIManagerModule
mdvacca 0199a03
Revisit deprecated methods in UIManagerModule and update javadoc
mdvacca c3a3d42
Fix dev tool hotkets in RNTester
rickhanlonii 0486640
Introduce NativeModulePerfLogger
RSNara c98f36c
Switch TurboModules over to NativeModulePerfLogger
RSNara 0b7bcd3
Instrument RCTModuleData create
RSNara c3783b5
Instrument module create
RSNara 9f310a2
Instrument JS requires
RSNara bf0e516
Instrument async method call batch preprocessing
RSNara 0b8a82a
Instrument sync and async method calls (#28893)
RSNara 16d1520
Remove branching for optimized differ QE
sammy-SC 5c0a3a6
throw std::logic_error instead of aborting the process and convert toβ¦
SidharthGuglani-zz 060250d
Add support for ScrollView.contentOffset
sammy-SC 5c60247
Use east const in ScrollViewProps
sammy-SC a7bbc85
Use vector.empty() to check for emptyness
sammy-SC eb12cb5
Support interpolating `transform` View property
JoshuaGross 9f3c7af
Rename <ReactCommon/NativeModulePerfLogger.h> to <reactperflogger/Natβ¦
RSNara aba321b
Create new Feature flag to eager initialize Fabric
mdvacca 756eec6
Implement eager initialization of Fabric
mdvacca cf171e4
Extend Binding to log only when a MC is enabled
mdvacca 84bca09
Fix position of TextInlineViews when nesting multiple Text components
mdvacca 2b0208b
Revert D21585006: Rename <ReactCommon/NativeModulePerfLogger.h> to <rβ¦
mendoncakeegan 505441f
JS: Fix Spelling of JavaScript
yungsters c2c0581
Enabling [-Werror,-Wunused-property-ivar] (#28895)
aditya7fb 452cb9a
Add support for Debugger.runIfWaitingForDebugger
willholen 6cba4d2
iOS: Fix image instrumentation lifecycle on image cancel
p-sun eb2a561
Rename <ReactCommon/NativeModulePerfLogger.h> to <reactperflogger/Natβ¦
RSNara 1a218e5
Detect recoverable cases where SendAccessibilityEvent exceptions don'β¦
JoshuaGross 480fc28
FabricUIManager should only swallow exceptions related to ViewCommands
JoshuaGross 4001966
Move Size check before accessing type of transform
axe-fb f24b815
use xplat BUCK attribution
fkgozali 8d548d8
Create new ReactFlag to configure initialization of Fabric
mdvacca 6a96a9f
Use MC to Start Fabric surfaces using layoutMetrics or not
mdvacca b72d676
Fabric: Automatic removing outstanding Surface on Scheduler destructiβ¦
shergin 8ac467c
Pressable: Add Support for Inspector Overlay
yungsters 7b61a96
set`NSAllowsArbitraryLoads` to false by default in template (#28885)
wddwycc a2e46e4
Extends view flattening algorithm to support flattening of absolute pβ¦
mdvacca b4f4f2d
Update Hermes attribution labels
zlern2k 656db78
Fabric: Changes in LayoutableShadowNodeTest
shergin caab26e
Fabric: Refinement of `LayoutableShadowNode::getRelativeLayoutMetrics`
shergin dafa975
Fabric: Simplification of `UIManager::getRelativeLayoutMetrics`
shergin a011eaf
Basic implementation of ARTSurfaceView
mdvacca 12fee9a
Create basic implementation of Shape
mdvacca 54adda6
Basic implementation of ARTGroupProps
mdvacca 7929f67
Basic implementation of ARTText
mdvacca 1f95c9b
iOS: Fix logging lifecycle when image is scrolled out and immediatelyβ¦
p-sun 04b8c9c
Delete local data from Fabric android
mdvacca c8ed2db
get ripple drawables by id (#28600)
vonovak 4aaf629
Pressable: Minimum Press Duration
yungsters f0bf4b0
Add possibility to disable buttons in action sheet ios (#28792)
lukewalczak 37e7b41
deploy Flow 0.125.1 to xplat
mvitousek f9e4e24
Prevent SafeAreaView from reporting same size twice
sammy-SC 351a9f1
Copy alreadyAppliedPadding when cloning SafeAreaViewShadowNode
sammy-SC afad239
remove suppress_comments from xplat flowconfigs
8ef0f1d
Fix thrown GradleScriptExceptions
c8d678a
Revert D21396409: Add possibility to disable buttons in action sheet ios
shergin 2c600b7
RN: Persist Asynchronously Consumed Events in Pressability
yungsters 0a2bb71
docs: mention prettier in eslint-config README (#28930)
exKAZUu 6b64810
Daily `arc lint --take GOOGLEJAVAFORMAT`
6acccae
Add FBRotatablePhotoPlayerView to LegacyInterop whitelist
jimmy623 3265519
Fix assignment of hitTestEdgeInsets in RCTViewComponentView
sammy-SC e9d6fb2
C++ Fabric Core LayoutAnimations
JoshuaGross 46310c1
LayoutImplementations: implement all existing animation curves besideβ¦
JoshuaGross f0c595b
LayoutAnimations: implement LayoutAnimationStatusDelegate for platforβ¦
JoshuaGross 076ba4c
Android-specific LayoutAnimation integration
JoshuaGross e781b31
iOS-specific LayoutAnimation integration
JoshuaGross 3cbafcc
LayoutAnimations: Use Quaternions to interpolate rotation transforms
JoshuaGross a799367
LayoutAnimations: allow Paragraph props to be interpolated
JoshuaGross adccef7
Revert D21635473: LayoutAnimations: allow Paragraph props to be interβ¦
mystique1729 953c392
Revert D21615829: LayoutAnimations: Use Quaternions to interpolate roβ¦
mystique1729 0803147
Revert D21583932: iOS-specific LayoutAnimation integration
mystique1729 70f732d
Revert D21583122: Android-specific LayoutAnimation integration
mystique1729 5ae7e4f
Revert D21583109: LayoutAnimations: implement LayoutAnimationStatusDeβ¦
mystique1729 6a15d74
Revert D21587648: LayoutImplementations: implement all existing animaβ¦
mystique1729 eb504e6
Revert D17486030: C++ Fabric Core LayoutAnimations
mystique1729 2e756e0
Remove flow-node requirement from native modules codegen script
hramos 3331962
C++ Fabric Core LayoutAnimations
JoshuaGross 8d2c1f6
LayoutImplementations: implement all existing animation curves besideβ¦
JoshuaGross eb9b2ce
LayoutAnimations: implement LayoutAnimationStatusDelegate for platforβ¦
JoshuaGross 483f84e
Android-specific LayoutAnimation integration
JoshuaGross 73995cf
iOS-specific LayoutAnimation integration
JoshuaGross 3f9fad1
LayoutAnimations: Use Quaternions to interpolate rotation transforms
JoshuaGross c75e8ae
LayoutAnimations: allow Paragraph props to be interpolated
JoshuaGross 4830085
Guard all NativeModulePerfLogger calls with a null check
RSNara 192bea1
Create classes to represent C++ state of ART
mdvacca 493d616
Create internal State of ART based on Shadow Nodes
mdvacca b7ab3aa
Integrate State into ARTSurfaceViewShadowNode
mdvacca 0305ff8
Integrate ElementType Enum into state
mdvacca 21afa62
Serialize ART state into folly::dynamic
mdvacca 745ff10
Prevent ABA problem during YogaLayoutableShadowNode cloning
sammy-SC 7e343c8
Daily `arc lint --take CLANGFORMAT`
6626b84
Fix order in which views are mounted in RCTLegacyViewManagerInteropCoβ¦
sammy-SC 43d65ed
Separate event dispatchers to ivars instead of array
sammy-SC b31149c
Introduce BatchedEventQueue::enqueueUniqueEvent
sammy-SC 43c161c
Touchable: Revert `minPressDuration` on Legacy Components
yungsters e85118c
update internal code attribution
fkgozali b7e8f66
Fix imports in `RCTUtilsUIOverride.h` (#28946)
Fanghao 8888664
Refactor types of ART Text class
mdvacca b8b683d
Serialize ART text components and send data to Android
mdvacca cfd2e7d
Add support for Text in ART Fabric Android
mdvacca 55c3666
Rename Element -> ARTElement
mdvacca 58a7ddd
Implement equality of ARTElements and use it in ARTState
mdvacca 19e0b13
Delete unused class
mdvacca 95546d9
Add ART components into Catalyst app Android
mdvacca 1b1ebaf
Delete copy constructor and copy assignment operator in ShadowNode
sammy-SC 60b7a30
Annotate <Image> components in QPL logging using ImageAnalyticsTagConβ¦
p-sun 18b3680
Cleanup of RCTTExtInputComponentView.mm
sammy-SC 8d6cc50
Change jsi::Runtime::lockWeakObject to take a mutable ref
christophpurrer 0b00d92
Android Animated timing: interface-only
JoshuaGross 8e13480
Fix NativeAnimatedModule timing for Fabric/Venice(?)
JoshuaGross ae7df2d
LayoutAnimations: fail silently instead of redboxing if there's a misβ¦
JoshuaGross 68c0edd
Split EventDispatcher into interface and impl (#28983)
8b2eb37
C++ LayoutAnimations: solve crash when "animating" virtual views
JoshuaGross 6ff6a79
Add new swizzle method RCTSwapInstanceMethodWithBlock
rickhanlonii 6f75065
Remove unused double key press code
rickhanlonii 6a78b32
Migrate react-native Android tests to Robolectric v4 (#28927)
1a77943
Better error message when crashing because of an invalid Remove operaβ¦
JoshuaGross c8fed9e
Move TimePickerAndroid to FB internal
fd97e95
Upgrade to Babel 7.10
cpojer 0a12f3e
Always return an EventDispatcher in bridgeless mode
bd31416
Reset RootView ID when root view is detached from view hierarchy
JoshuaGross 97d3abf
Do not use variable types for array elements
hramos 7e55946
Fix crash introduced by D21735940 in T67525923
JoshuaGross 8da92d7
Fix crash in removeViewAt by fixing incorrect error-detection
JoshuaGross 5cde6c5
Back out "Reset RootView ID when root view is detached from view hierβ¦
JoshuaGross f2b9ec7
Refactor RCTKeyCommands, allow hotkeys to be used without command key
rickhanlonii 9bb7e06
Remove calls to AllocationLocationTracker for native memory
6f8fc40
Add Fabric logs to TextLayoutManager
mdvacca 34b23c1
Add new bundle loading strategy in FBiOS behind GK
rickhanlonii 4b596fd
Extend Text to support measurement of empty Texts
mdvacca dc357b8
Revert Virtual Text Press Bug workaround
mdvacca 3b7679b
Clean up Flow & lint errors
cpojer 3148d17
Delete ViewPagerAndroid JS and BUCK targets
JoshuaGross f438a6e
Delete ReactViewPager
JoshuaGross 81ec211
Merge commit 'a1ac2518a364ebcd3cc024a22229cadc1791e1c4' into amgleitmβ¦
amgleitman 8fdff7a
Merge commit '2b0208b399b60a892c4220e00749bdfebc95901f' into amgleitmβ¦
amgleitman 1f53841
Merge commit 'b72d6768e0228792a30d1cd3874e99361a3c7f60' into amgleitmβ¦
amgleitman 6b8e88a
Merge commit 'b7e8f667953c2bc65c25b00968051c063a684d01' into amgleitmβ¦
amgleitman 10e672f
Merge commit '1a77943e8bef97e7bee903c7bfcf32c56fb8fab8' into amgleitmβ¦
amgleitman 17a23c3
Update Podfile.lock
amgleitman f2d13cc
Merge commit 'f438a6e8f60a5cd10b06f19bc5248f5805fbb739' into amgleitmβ¦
amgleitman 1de601a
Replace platform check in RCTUtilsUIOverride.h with direct import of β¦
amgleitman c3566d3
Add eager initialization of RCTDevMenu to macOS RNTester
amgleitman 7f3e030
Fix for Android Build Issue after RN64 Merge
7787840
Merge pull request #2 from msgharpu/android_build_fix
amgleitman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -89,4 +89,4 @@ untyped-import | |
| untyped-type-import | ||
|
|
||
| [version] | ||
| ^0.124.0 | ||
| ^0.125.0 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.