Lukas Woehrl
d517a89c1e
Merge branch 'facebook/master' into percentage-feature
2016-12-21 22:17:29 +01:00
Lukas Woehrl
78f32f9aa6
Merge remote-tracking branch 'refs/remotes/facebook/master' into percentage-feature
2016-12-21 22:03:43 +01:00
Georgiy Kassabli
85b8386ba1
Test for minHeight with flexing
...
Summary: This test creates a repro case for Yoga to emulate UFI layout failure
Reviewed By: emilsjolander
Differential Revision: D4313632
fbshipit-source-id: 35be7d86b50a9ae08c81891a889a74e4b61f2d27
2016-12-21 11:39:34 -08:00
Lukas Woehrl
34c97b03f6
dedup code
2016-12-21 07:25:23 +01:00
Lukas Woehrl
7e4a6f0e64
minor tweaks
2016-12-20 20:45:44 +01:00
Lukas Woehrl
a6dcd54070
no need to compute edge value on get
2016-12-20 20:24:02 +01:00
Lukas Woehrl
6778572642
highly improved performance by reducing copying of structs
2016-12-20 20:14:22 +01:00
yiminghe
9d35dce63e
explicit default justifyContent value
...
Summary:
make default justifyContent value explicit like alignItems
https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
Closes https://github.com/facebook/yoga/pull/293
Differential Revision: D4351597
Pulled By: emilsjolander
fbshipit-source-id: b65ff2284ede4d75f1cc5e22d4106042ab0b0d02
2016-12-20 03:24:40 -08:00
Lukas Woehrl
08eb9ff8f7
fix access violation on vprintf
2016-12-19 23:47:56 +01:00
Lukas Woehrl
1cb7ca431d
Merge remote-tracking branch 'refs/remotes/facebook/master' into percentage-feature
...
# Conflicts:
# csharp/Facebook.Yoga/YogaNode.Create.cs
2016-12-19 23:04:15 +01:00
Lukas Woehrl
cac8d3715b
code review
2016-12-19 21:11:02 +01:00
Lukas Woehrl
9ea8e73dd5
use struct initializer
2016-12-19 19:28:01 +01:00
Lukas Woehrl
26ad37af79
use YGValueUndefined also here
2016-12-19 19:20:30 +01:00
Lukas Woehrl
1af3a76321
rename enum count
2016-12-19 19:18:28 +01:00
Lukas Woehrl
a7003b6821
code review changes
2016-12-19 19:15:48 +01:00
Emil Sjolander
0296511f2c
YGNodeChildCount -> YGNodeGetChildCount for consistency
...
Summary: I kept wrongly typing this function which is a good sign that the name is inconsistent.
Reviewed By: gkassabli
Differential Revision: D4333480
fbshipit-source-id: 17058f18fa9e26b3e02f7a1651f7295cae59acad
2016-12-16 04:39:41 -08:00
Lukas Woehrl
f84583c002
renamed some function and removed unused/duplicate variables
2016-12-16 11:29:35 +01:00
Emil Sjolander
88a4e44fd4
Add YGNodeGetParent api
...
Summary: Fixes https://github.com/facebook/css-layout/issues/248
Reviewed By: gkassabli
Differential Revision: D4333456
fbshipit-source-id: 388afd0a01c19a6db73c175bf24c566278832cb9
2016-12-15 09:54:35 -08:00
Lukas Woehrl
54e943d452
corrected last wrong usage of height
2016-12-15 17:05:06 +01:00
Lukas Woehrl
fc98df63d8
use only width for calculating margin/padding, border has no percentage support
2016-12-15 16:50:37 +01:00
Lukas Woehrl
a84d55e3c5
use correct parent sizes for percentage calculation
2016-12-15 15:33:55 +01:00
Lukas Woehrl
435f1f6a12
added percentage feature
2016-12-11 15:58:30 +01:00
Emil Sjolander
b11155423c
Rename directories
...
Reviewed By: gkassabli
Differential Revision: D4284681
Summary: Rename csslayout directories to yoga
fbshipit-source-id: f0c6855c2c6e4389b7867f48f72cbb697830fc5a
2016-12-07 05:22:52 -08:00