Colin Eberhardt
|
ffa64f6fd3
|
Added a grunt build
This copies Layout.js to a dist folder, minifies and source-maps.
|
2015-08-11 13:49:52 +01:00 |
|
Christopher Chedeau
|
a87e9e382f
|
Merge pull request #99 from jaredly/flex-fix
Flex bug
|
2015-08-10 08:45:08 -07:00 |
|
Jared Forsyth
|
f7bab441e0
|
change to an xit
|
2015-08-06 12:35:12 -07:00 |
|
Jared Forsyth
|
3e9ac12d22
|
add failing test
|
2015-08-06 09:36:28 -07:00 |
|
Jared Forsyth
|
e1d99952f7
|
update const
|
2015-08-05 21:57:06 -07:00 |
|
Jared Forsyth
|
5221f3ab7e
|
Merge pull request #96 from mkonicek/master
Fix a typo in CSSLayout.toString()
|
2015-08-05 16:00:29 -07:00 |
|
Martin Konicek
|
b8981485d4
|
Fix a typo in CSSLayout.toString
|
2015-07-30 12:22:14 +01:00 |
|
Andy Street
|
93d6f84d3a
|
Merge pull request #95 from astreet/lazy_children
Lazy init children array in CSSNode, update removeChildAt to return removed child
|
2015-07-29 12:00:48 +01:00 |
|
Andy Street
|
7104f7c8eb
|
Lazy init children ArrayList in CSSNode, update removeChildAt to return removed child
|
2015-07-29 11:39:42 +01:00 |
|
Christopher Chedeau
|
ae56a1d618
|
Merge pull request #92 from lucasr/get-style-direction
Add style direction getter to CSSNode
|
2015-05-27 19:04:16 -07:00 |
|
Lucas Rocha
|
3fc99b02ae
|
Add style direction getter to CSSNode
|
2015-05-27 19:19:43 +01:00 |
|
Krzysztof Magiera
|
e932e4420d
|
Update visibility of isDirty in CSSNode
|
2015-05-21 17:35:46 +01:00 |
|
Felix Oghină
|
9b79121875
|
Merge pull request #91 from lucasr/expose-direction
Expose the resolved direction in the node's layout
|
2015-05-20 14:10:34 +01:00 |
|
Lucas Rocha
|
524b44200a
|
Expose the resolved direction in the node's layout
|
2015-05-20 11:35:01 +01:00 |
|
Christopher Chedeau
|
ee1cbacc30
|
Merge pull request #79 from prenaux/master
[Issue facebook/css-layout#78]: Implemented alignContent ;
|
2015-05-17 08:58:05 -07:00 |
|
Pierre Renaux
|
019fc9b88c
|
Merge remote-tracking branch 'upstream/master'
|
2015-05-17 21:54:30 +08:00 |
|
Felix Oghină
|
ef47d8e318
|
Merge pull request #90 from foghina/getraw
[java] use getRaw to test if START/END were set
|
2015-05-15 17:57:07 +01:00 |
|
Felix Oghină
|
da98e234d7
|
[java] use getRaw to test if START/END were set
|
2015-05-15 16:52:57 +01:00 |
|
Christopher Chedeau
|
0e47d8a972
|
Merge pull request #89 from foghina/better_spacing
[java] simplify Spacing, reduce allocations
|
2015-05-15 07:07:57 -07:00 |
|
Felix Oghină
|
11f09d1a65
|
[java] simplify Spacing, reduce allocations
|
2015-05-15 14:13:25 +01:00 |
|
Christopher Chedeau
|
b5da5e4d7c
|
Merge pull request #88 from lucasr/dimension-getters
Add getters for CSSNode's style width and height
|
2015-05-14 13:22:47 -07:00 |
|
Lucas Rocha
|
6d72f472f5
|
Add getters for CSSNode's style width and height
|
2015-05-14 20:59:14 +01:00 |
|
Christopher Chedeau
|
4036fa8c9e
|
Merge pull request #86 from lucasr/start-end
Implement (padding|border|margin)-(start|end) support
|
2015-05-14 10:10:32 -07:00 |
|
Lucas Rocha
|
03dfe7bb17
|
Implement (padding|border|margin)-(start|end) support
|
2015-05-14 17:43:33 +01:00 |
|
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 |
|