Commit Graph

16 Commits

Author SHA1 Message Date
Lukas Woehrl
d44ebab006 changed the csharp interop code to use new functions 2016-12-23 22:33:06 +01:00
Lukas Woehrl
964a1c6137 Merge branch 'facebook/master' into percentage-feature 2016-12-23 21:14:08 +01:00
Kazuki Sakamoto
f1ab289022 Run unit tests before building Unity package
Summary:
- Enable destructor unit tests in Unity Editor
- Exit pack.sh immediately if a command exits with a non-zero status
- Run unit tests before building Unity package

Reviewed By: emilsjolander

Differential Revision: D4365773

fbshipit-source-id: 20d0a51f4cef791154c17d329ac36598dc333a60
2016-12-23 09:54:32 -08: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
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
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
e2c586490a update c# interop to use percentage 2016-12-19 23:01:31 +01:00
Lukas Woehrl
7b71daa929 added explicit tests for padding, margin and absolute 2016-12-16 10:59:28 +01:00
Kazuki Sakamoto
25b206ac53 Build native library with BUCK for .NET (Mono, Xamarin)
Summary:
Examples:

- macOS on macOS (Mono, Xamarin.Mac, Unity)
  - `buck build //csharp:yoganet#shared,default` -> `libyoga.dylib`
- Android (Xamarin.Android, Unity)
  - `buck build //csharp:yoganet#shared,android-armv7` -> `libyoga.so`
- iOS (Xamarin.iOS, Unity)
  - `buck build //:yoga#static,iphoneos-arm64` -> `libyoga.a`
  - `buck build //csharp:yoganet#static,iphoneos-arm64` -> `libyoganet.a`
Closes https://github.com/facebook/yoga/pull/282

Reviewed By: emilsjolander

Differential Revision: D4333811

Pulled By: splhack

fbshipit-source-id: 54f4364d93b2419d7504392eb558296a5d06772f
2016-12-15 13:54:34 -08:00
Kazuki Sakamoto
e85c5ce39d lowercase argument
Summary: - Fix arguments of YogaNode.Create

Reviewed By: emilsjolander

Differential Revision: D4296488

fbshipit-source-id: f6eb5074b1b1462f2251d330929f7b8082ad72eb
2016-12-15 07:24:46 -08:00
Lukas Woehrl
687cbb8632 added tests for percentage 2016-12-11 16:49:01 +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
Emil Sjolander
6339467b6d Rename tests
Summary: Rename test files to use new name

Reviewed By: gkassabli

Differential Revision: D4265235

fbshipit-source-id: 0090d3949828058baf7435f33d4068de92756bad
2016-12-03 04:53:39 -08:00
Emil Sjolander
f7cc614d67 rename csharp code
Summary: new name

Reviewed By: splhack

Differential Revision: D4247106

fbshipit-source-id: 6e1097de104f3a011c78ae65b33e57865b007711
2016-12-02 11:23:20 -08:00