react-native-macos/ReactCommon
Valentin Shergin fa5b4c9e0c Fabric: Backward-compatible behaviour of `measureInWindow` and `measure`
Summary:
Before this change, in case of incorrect measurements, Fabric's implementation of `measure` and `measureInWindow` incorrectly returned negative height and width. Now it returns zeros (as classic React Native does).

Fabric:
This does not fix `measureLayout` called for virtual nodes. This is not so trivially to fix and it will be done separately.

Changelog: [Internal] Fabric-specific internal change.

Reviewed By: JoshuaGross, yungsters, mdvacca

Differential Revision: D21433239

fbshipit-source-id: fbaf5ee35c690506822c634daac4426542c2cdcf
2020-05-06 15:16:04 -07:00
..
better Replace fbsource// with // in xplat/js/ files [1] 2020-03-25 21:55:47 -07:00
callinvoker Add CallInvoker::invokeSync 2020-04-03 09:47:42 -07:00
config Replace fbsource// with // in xplat/js/ files [1] 2020-03-25 21:55:47 -07:00
cxxreact Add CallInvoker::invokeSync 2020-04-03 09:47:42 -07:00
fabric Fabric: Backward-compatible behaviour of `measureInWindow` and `measure` 2020-05-06 15:16:04 -07:00
hermes Make column match fuzzy 2020-05-05 12:04:10 -07:00
jsengineinstance The life-changing magic of clang-tidying up 2020-02-04 11:09:30 -08:00
jsi Allow use of std::tuple<> with decorators directly 2020-04-24 15:42:47 -07:00
jsiexecutor Remove out of date TODO 2020-04-16 13:43:07 -07:00
jsinspector make RN infra labels public 2020-02-28 12:46:49 -08:00
microprofiler make RN infra labels public 2020-02-28 12:46:49 -08:00
runtimeexecutor Fabric: Fixing `executeSynchronouslyOnSameThread_CAN_DEADLOCK` 2020-05-01 14:56:16 -07:00
turbomodule Don't use #import in C++ Code (#28825) 2020-05-04 16:52:24 -07:00
utils Move RuntimeExecutor to its own BUCK module (#28730) 2020-04-27 11:39:07 -07:00
yoga Fix rounding error using double instead of float 2020-04-27 14:41:52 -07:00
React-Fabric.podspec Fix Cocoapods builds 2020-04-07 19:07:19 -07:00
ReactCommon.podspec Get CallInvokers from the bridge 2020-04-01 11:39:18 -07:00
common.mk More robust hermes-engine lookup logic in makefiles (#26820) 2019-10-14 19:21:43 -07:00