Add feature to use percentage as value unit #258

Closed
woehrl01 wants to merge 43 commits from percentage-feature into master

43 Commits

Author SHA1 Message Date
Lukas Woehrl
b3752efd05 remove explicit .Px() from c# unittests 2016-12-23 23:26:48 +01:00
Lukas Woehrl
5304040161 fixups 2016-12-23 23:22:48 +01:00
Lukas Woehrl
b80d1fd893 another indent 2016-12-23 22:58:41 +01:00
Lukas Woehrl
2a57da06af indentation 2016-12-23 22:55:51 +01:00
Lukas Woehrl
f9ffe89cbd fixed function call signature 2016-12-23 22:53:08 +01:00
Lukas Woehrl
d44ebab006 changed the csharp interop code to use new functions 2016-12-23 22:33:06 +01:00
Lukas Woehrl
d182ab1b09 changed function signature based on latest decision 2016-12-23 21:57:47 +01:00
Lukas Woehrl
964a1c6137 Merge branch 'facebook/master' into percentage-feature 2016-12-23 21:14:08 +01:00
Lukas Woehrl
878a6c4b08 keep const 2016-12-21 22:23:28 +01:00
Lukas Woehrl
ca4481258c regen unittests and small fixes after merge 2016-12-21 22:22:21 +01:00
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
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
Lukas Wöhrl
dd63f7961e fix typo 2016-12-20 09:52:43 +01:00
Lukas Wöhrl
abf97d6613 fix benchmarks 2016-12-20 09:31:31 +01:00
Lukas Wöhrl
306e16fbb8 fix duplicate comma 2016-12-20 09:29:48 +01:00
Lukas Woehrl
2424fc2b12 fixed some cpp tests compilation issues, improved c# value struct 2016-12-20 07:32:47 +01:00
Lukas Woehrl
08eb9ff8f7 fix access violation on vprintf 2016-12-19 23:47:56 +01:00
Lukas Woehrl
d1d0618d4c delete *orig 2016-12-19 23:17:27 +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
e2c586490a update c# interop to use percentage 2016-12-19 23:01:31 +01:00
Lukas Woehrl
cac8d3715b code review 2016-12-19 21:11:02 +01:00
Lukas Woehrl
fae6b6352f update styletest 2016-12-19 19:41:50 +01:00
Lukas Woehrl
a6bdf6abf1 fix more tests calls 2016-12-19 19:35:29 +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
Lukas Woehrl
e258d9867d use correct undefined function 2016-12-16 11:42:36 +01:00
Lukas Woehrl
f84583c002 renamed some function and removed unused/duplicate variables 2016-12-16 11:29:35 +01:00
Lukas Woehrl
9cce30c91f update indentation 2016-12-16 11:15:28 +01:00
Lukas Woehrl
8b6079cdf7 revert unrelated changes 2016-12-16 11:02:29 +01:00
Lukas Woehrl
7b71daa929 added explicit tests for padding, margin and absolute 2016-12-16 10:59:28 +01: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
687cbb8632 added tests for percentage 2016-12-11 16:49:01 +01:00
Lukas Woehrl
8fbf1ddecb changed unittests to use units 2016-12-11 16:43:46 +01:00
Lukas Woehrl
d950cf3d10 adjusted gentests 2016-12-11 16:39:27 +01:00
Lukas Woehrl
435f1f6a12 added percentage feature 2016-12-11 15:58:30 +01:00