react-native-macos/ReactCommon
Nick Gerleman 1373a7057b Implement gap/row-gap/column-gap (within the C ABI)
Summary:
This extracts the core changes from https://github.com/facebook/yoga/pull/1116, to support gap/row-gap/column-gap, mostly identical, apart from the rename of gaps -> gutters.

The core functionality in this PR looks to be well tested from the fixtures added. I am not an expert in the internals of Yoga, but I am seeing everything that I would expect to. The space for the gap is accounted for in line-breaking, and the accumulated gaps limit the available line-length, before sizing flexible children, so items are sized correctly as to accommodate the gap. Then the gap is used for spacing during main axis and cross-axis justification.

Changelog:
[Genral][Added] - Implement gap/row-gap/column-gap (within the yoga C ABI)

Reviewed By: javache

Differential Revision: D39922410

fbshipit-source-id: 5850f22032169028bd8383b49dd240b335c11d3d
2022-10-13 08:18:49 -07:00
..
butter Back out "Mirror fbcode directory structure for container targets" 2022-08-30 21:42:26 -07:00
callinvoker Enable -Wpedantic in OSS Android Targets (#34403) 2022-08-13 00:12:42 -07:00
cxxreact chore: re-align version to be 1000.0.0 on main everywhere (#34817) 2022-10-04 08:36:21 -07:00
hermes Exclude Hermes debugger in release builds 2022-10-05 09:19:05 -07:00
jsengineinstance The life-changing magic of clang-tidying up 2020-02-04 11:09:30 -08:00
jsi Add external ArrayBuffers to JSI (#793) 2022-08-23 08:35:34 -07:00
jsiexecutor Remove molly dep from react-native buck graph 2022-08-11 04:53:34 -07:00
jsinspector Enable -Wpedantic for targets inside ReactCommon 2022-08-11 04:37:35 -07:00
libraries/fbcore/src/test/java/com/facebook/powermock Explicitly set language to JAVA where it is missing [xplat] (round 1) 2022-07-06 09:07:07 -07:00
logger Enable -Wpedantic for targets inside ReactCommon 2022-08-11 04:37:35 -07:00
react Use nested namespace name 2022-10-13 05:07:59 -07:00
reactperflogger Enable -Wpedantic in OSS Android Targets (#34403) 2022-08-13 00:12:42 -07:00
runtimeexecutor Enable -Wpedantic in OSS Android Targets (#34403) 2022-08-13 00:12:42 -07:00
yoga Implement gap/row-gap/column-gap (within the C ABI) 2022-10-13 08:18:49 -07:00
React-Fabric.podspec Add Mapbuffer module to podspec (#34847) 2022-10-03 09:42:45 -07:00
React-bridging.podspec Enable pedantic warnings in C++ podspecs (#34404) 2022-08-17 14:20:01 -07:00
React-rncore.podspec bump iOS and tvOS from 11.0 to 12.4 in cocoapods 2022-03-16 21:08:01 -07:00
ReactCommon.podspec Enable pedantic warnings in C++ podspecs (#34404) 2022-08-17 14:20:01 -07:00