Commit Graph

17 Commits

Author SHA1 Message Date
Christopher Chedeau
e53bf49746 fix bug where nested align: stretch were not properly working
The way the algorithm work is that you first layout fixed children on the main axis, then compute all the dimensions so that you can layout flexible children. This separation doesn't work anymore if we add the other axis. The solution here is a hacky (but working!) attempt at fixing the issue. We start by doing a pass to set the children dimensions if they are stretch.
2014-05-19 12:43:26 -07:00
Christopher Chedeau
eae5cdfe68 -Weverything and fix all the warnings 2014-05-16 18:04:24 -07:00
Christopher Chedeau
e9550a6116 split test utils for c 2014-04-28 12:36:36 -07:00
Christopher Chedeau
6123dbb33b initial support for string in c 2014-04-28 12:34:04 -07:00
Christopher Chedeau
c63281a064 update C 2014-04-22 17:37:55 -07:00
Christopher Chedeau
aad9fab75f port latest updates to C 2014-04-22 14:59:59 -07:00
Christopher Chedeau
db510d590a port changes to C 2014-04-22 13:20:51 -07:00
Christopher Chedeau
901db3c3a6 All the generated tests are passing :) 2014-04-19 22:08:10 -07:00
Christopher Chedeau
94aedd25f6 swap space_around and between. all tests pass! 2014-04-19 15:21:57 -07:00
Christopher Chedeau
c95de81d37 print what when wrong in case of errors 2014-04-19 14:41:42 -07:00
Christopher Chedeau
c0fa2619b1 colorize PASS and FAIL 2014-04-19 14:37:51 -07:00
Christopher Chedeau
9e0926adf2 actually do the tests 2014-04-19 14:35:54 -07:00
Christopher Chedeau
6fdae626b0 add expected layout to tests 2014-04-19 14:26:19 -07:00
Christopher Chedeau
40fac63469 correctly outputting all attributes 2014-04-19 12:15:01 -07:00
Christopher Chedeau
05b2c5a749 transpiling all the attributes (rough pass) 2014-04-19 12:11:45 -07:00
Christopher Chedeau
a90b876e93 autogen c tests initial commit 2014-04-18 17:15:03 -07:00
Christopher Chedeau
5f2a219394 decouple js tests from jasmine so that we can generate them in c
moved the c example inside of test file
added a make test
2014-04-18 16:35:37 -07:00