Christopher Chedeau
c3a2ddcce7
Merge pull request #84 from lukasreichart/master
...
If the measure function is defined: only return from execution of lay…
2015-05-14 08:48:04 -07:00
Christopher Chedeau
9c9c74bb11
Merge pull request #87 from foghina/spacing
...
[java] implement proper spacing objects, with support for default spacing
2015-05-14 07:39:19 -07:00
Felix Oghină
bb8fdf57eb
[java] implement proper spacing objects, with support for default spacing
2015-05-14 13:59:13 +01:00
Christopher Chedeau
ba879af8ae
Merge pull request #85 from nicklockwood/master
...
Fixed spacing for wrapped elements
2015-05-13 18:10:34 -07:00
Nick Lockwood
9175721f07
Removed space before -- for consistency with code style.
2015-05-12 10:10:39 +01:00
Nick Lockwood
bf1d7eacfd
Fixed spacing for wrapped elements
2015-05-12 09:54:02 +01:00
Christopher Chedeau
729f7d42b1
Merge pull request #82 from lucasr/rtl
...
Support RTL direction and ROW_REVERSE & COLUMN_REVERSE flex direction
2015-05-11 10:32:42 -07:00
Lucas Rocha
36a46673f9
Support ROW_REVERSE, COLUMN_REVERSE and RTL direction
2015-05-11 11:24:21 +01:00
Lukas Reichart
fca176109d
If the measure function is defined: only return from execution of layoutNode, when the node has no children.
2015-05-10 17:46:48 +02:00
Pierre Renaux
a91566d6db
[src/Layout.c & Layout-test-utils.c]: Don't define fmaxf/fminf if we're building with VC12+, its already declared from then on ;
2015-05-10 00:20:29 +08:00
Pierre Renaux
176bb6097b
[Makefile]: Use cl (MSVC) on Windows ;
2015-05-10 00:20:29 +08:00
Pierre Renaux
09f0c12a8f
[src/Layout.js]: Cleaner line loop in <Loop E> (alignContent layout) ;
2015-05-10 00:20:29 +08:00
Pierre Renaux
14e264f5be
Made relevant JS tests transpile to C ; [src/Layout.c]: print_css_node_rec(): print alignContent ; [src/Layout-test-utils.c]: add_failed_test(): Sets failed_test->next to NULL, otherwise the test crashes if there's one and only one failure ; Added type casts so that it can be compiled as C++ by MSVC on Windows ; [Makefile]: Added c_test_msvc target when running in Windows so that the test executable can be built and debugged with Visual Studio on Windows ;
2015-05-10 00:20:28 +08:00
Pierre Renaux
c7fbf44474
'alignContent' defaults to 'flex-start' instead of 'stretch' ;
2015-05-10 00:19:30 +08:00
Pierre Renaux
b6de3e600e
[Makefile]: Updated so that it works on OSX & Windows - for Windows it requires GCC, make 3.82 & wget to be on PATH ;
2015-05-10 00:19:29 +08:00
Pierre Renaux
8493789989
[src/Layout-test-utils.js]: Fix so that RunLayoutTests.html works on Chrome for Windows ;
2015-05-10 00:19:29 +08:00
Pierre Renaux
cc5f772bff
Style fixes ;
2015-05-10 00:19:29 +08:00
Pierre Renaux
9ca681ff28
[src/__tests__/Layout-random-test.js]: Added alignContent in the list of random permutations ;
2015-05-10 00:19:28 +08:00
Pierre Renaux
7679ed77d9
Updated generated C & Java code ;
2015-05-10 00:19:28 +08:00
Pierre Renaux
15a8430be9
[src/Layout-test-utils.js]: Added inplaceRoundNumbersInObject to testRandomLayout so that much less random tests fail ; Moved inplaceRoundNumbersInObject in the main functions instead of having it in nameLayout ;
2015-05-10 00:19:28 +08:00
Pierre Renaux
68d029e460
[src/__tests__/Layout-test.js]: Added 16 test cases for each alignContent / alignItems combination - also includes alignSelf testing within the test data ;
2015-05-10 00:19:27 +08:00
Pierre Renaux
f4226d3ff5
[src/Layout-test-utils.js]: Added testMeasurePrecision and inplaceRoundNumbersInObject which snap the numbers to pixels so that we don't have to re-adjust for each browser version (Chrome 42 changed their computation, it can output floating point values for dom elements) ;
2015-05-10 00:19:27 +08:00
Pierre Renaux
998fa1d6ba
[Issue facebook/css-layout#78 ]: Implemented alignContent ;
2015-05-10 00:19:27 +08:00
Christopher Chedeau
8cdf0d0228
Display children for test failures
2015-05-08 17:02:34 -07:00
Christopher Chedeau
329bbfd569
Update README.md
2015-05-08 13:42:55 -07:00
Christopher Chedeau
9f75dc7b3e
Update README.md
2015-05-08 13:42:37 -07:00
Christopher Chedeau
3203e86155
Merge pull request #70 from tadeuzagallo/remove-dead-code
...
Remove unused code pointed by Xcode
2015-05-05 08:10:04 -07:00
Christopher Chedeau
a8b7859613
Merge pull request #77 from prenaux/master
...
[Layout.c/h]: Minor modifications so that the Microsoft compiler can compile the file as C++ directly ;
2015-05-05 08:09:32 -07:00
Pierre Renaux
ee5e8c1722
[Layout.c/h]: Minor modifications so that the Microsoft compiler can compile the file as C++ directly ;
2015-05-05 18:07:06 +08:00
Christopher Chedeau
3859d0ec26
Merge pull request #75 from arasmussen/master
...
Revert "Ensure that flex children adopt their parent's cross-axis min di...
2015-05-01 12:21:47 -07:00
Andrew Rasmussen
86c39b5e4f
Revert "Ensure that flex children adopt their parent's cross-axis min dimension."
...
This reverts commit b8316413b3
.
This was causing issues for existing components built with React
Native.. we need to investigate more in the future.
2015-05-01 12:16:47 -07:00
Christopher Chedeau
1124b654b2
Merge pull request #74 from arasmussen/master
...
Fix layout for absolutely positioned nodes with absolutely positioned parents that have border and/or padding
2015-04-30 15:14:15 -07:00
Andrew Rasmussen
5f52e947cb
Fix layout for absolutely positioned nodes with absolutely positioned parents that have border and/or padding
2015-04-30 14:40:39 -07:00
Christopher Chedeau
0af68d137a
Merge pull request #72 from Kroisse/fix-consts
...
Transpile to update the changes of consts omitted in #69
2015-04-27 09:23:43 -07:00
Eunchong Yu
129e41f832
Transpile to update the changes of consts omitted in #69
2015-04-26 14:11:05 +09:00
Tadeu Zagallo
aad5efe938
Remove unused code pointed by Xcode
2015-04-24 16:45:49 +01:00
Christopher Chedeau
efeba90985
Merge pull request #69 from tadeuzagallo/fix-eslint-errors
...
Fix lint errors and consts tests
2015-04-24 08:28:32 -07:00
Tadeu Zagallo
1cbb5eef26
Fix lint errors and consts tests
2015-04-24 14:00:40 +01:00
Christopher Chedeau
b01ff10cf1
Update Patent Grant
...
http://fb.me/patents2
2015-04-10 12:14:30 -07:00
Christopher Chedeau
b138d3a5e6
Merge pull request #68 from freakboy3742/minmax
...
Ensure that flex children adopt their parent's cross-axis min dimension.
2015-04-06 20:06:26 -07:00
Russell Keith-Magee
b8316413b3
Ensure that flex children adopt their parent's cross-axis min dimension.
2015-04-07 10:52:15 +08:00
Christopher Chedeau
b912acf8e3
Add more failing tests if someone wants to pick them up and have fun :p
2015-04-06 16:08:12 -07:00
Christopher Chedeau
9c6fc6caf9
Merge pull request #67 from freakboy3742/minmax
...
Cleanup and extra tests for min/max support
2015-04-01 03:53:58 -07:00
Russell Keith-Magee
6ca5fc5cb4
Cleanup of accessor logic in boundAxis.
2015-04-01 14:46:55 +08:00
Russell Keith-Magee
9cf2e71e01
Added extra test to check for potential division by zero.
2015-04-01 14:46:28 +08:00
Christopher Chedeau
8ae56041b5
Merge pull request #66 from kassens/test-helper
...
Fix getIframe test helper
2015-03-31 20:42:40 -07:00
Jan Kassens
dda464cdb9
Fix getIframe test helper
...
Chrome seems to always be ready on the first iteration, so this doesn't affect
Chrome, but on Firefox, the `iframe` is undefined in the recursive call.
This makes most of the test in `RunLayoutTests.html` pass in Firefox. The only
failing test is the one checking font sizes.
2015-03-31 20:27:58 -07:00
Christopher Chedeau
b664517e52
Merge pull request #65 from freakboy3742/minmax
...
Added support for min/max width and height constraints.
2015-03-31 08:43:37 -07:00
Russell Keith-Magee
2b6844f00a
Simplified logic distributing flex space.
2015-03-31 18:58:56 +08:00
Russell Keith-Magee
c523b7c404
Added support for min/max width and height constraints.
2015-03-31 17:32:54 +08:00