Commit Graph

307 Commits

Author SHA1 Message Date
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
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
Krzysztof Magiera
cf3f7ccda1 Merge pull request #60 from tcmulcahy/thread-safe-measure
Make Java measure thread-safe.
2015-03-27 10:01:33 -07:00
Tom Mulcahy
ddd7a899ac Make Java measure thread-safe. 2015-03-26 22:49:48 +00:00
Christopher Chedeau
a7a8d1d40d Merge pull request #59 from freakboy3742/normalize_isDimDefined
Normalized C and Java definition of isDimDefined.
2015-03-22 09:08:53 -07:00
Russell Keith-Magee
8f6a96adbc Normalized C and Java definition of isDimDefined.
The JavaScript implementation of isDimDefined contains a check to ensure
that the dimension value is positive; the C and Java versions did not
have this check. As a result, a negative style value for 'width' (such
as that used by the "should layout node with negative width" test) would
have different layout under the C/Java implementation to the JavaScript
implementation.

This was hidden because the C/Java transpilers filtered out any negative
instantiation values from the test suite. In effect, the negative value
tests weren't running on the C/Java implementation.

This patch removes the negative value filter from the transpiler, and
makes the isDimDefined definition consistent between the three
implementations.
2015-03-22 14:36:16 +08:00
Christopher Chedeau
f5850b56e5 update link for infer 1.4 2015-03-05 10:03:37 -08:00
Christopher Chedeau
24a97a5384 Update package.json 2015-03-05 09:35:37 -08:00
Christopher Chedeau
0b892f7142 Update README.md 2015-02-22 09:25:54 -08:00
Christopher Chedeau
74a031e396 Merge pull request #44 from daviskoh/improvement/add-linter
Improvement/add linter
2015-02-20 11:44:19 -06:00
daviskoh
9c71cc6d1f resolve merge conflicts 2015-02-17 21:30:41 -05:00
daviskoh
3a6e50db99 Address eslint errors:
* modify .eslintrc w/ globals & rules
* use judgement in deciding bet proj style & eslint recommendation
* make
2015-02-17 21:12:29 -05:00