Commit Graph

441 Commits

Author SHA1 Message Date
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
daviskoh
4dc175dda4 replace jshint w/ eslint 2015-02-17 15:44:08 -05:00
Christopher Chedeau
b99ce3736f Merge pull request #50 from jimmyhmiller/master
Rework javascript api to match README
2015-02-15 18:07:59 -08:00
Jimmy Miller
8fe8c15e6d Rework javascript api to match README 2015-02-15 20:56:37 -05:00
daviskoh
0c62b9e4ed Merge branch 'improvement/add-linter' of github.com:daviskoh/css-layout into improvement/add-linter 2015-02-14 12:24:37 -05:00
daviskoh
654a1a67e2 run only desired tests 2015-02-13 11:36:31 -05:00
Christopher Chedeau
ce81ef793a Merge pull request #49 from alexanderGugel/umd
Add UMD
2015-02-12 12:41:53 -08:00
Alexander Gugel
b942b5ff60 Add UMD 2015-02-12 20:46:29 +01:00
daviskoh
3c3b73d229 only run Layout-test & Layout-consts-test 2015-02-05 20:33:27 -05:00
daviskoh
5d016bdb03 run all test files 2015-02-05 20:04:00 -05:00
daviskoh
55d6f9fba6 Merge branch 'master' into improvement/add-linter 2015-02-05 19:51:45 -05:00
daviskoh
cf9b841e33 Fix jshint issues
* add .jshintrc
* address semicolon errors
* ignore 'already defined' errors
2015-02-05 19:49:55 -05:00
Christopher Chedeau
b95cb8da75 Merge pull request #43 from ryanseddon/iframe_firefox_fix
Fix firefox iframe timing issue in test runners, fixes #25
2015-02-05 07:05:16 -08:00
Ryan Seddon
1ad94fa4e1 Fix firefox iframe timing issue, fixes #25 2015-02-05 21:14:19 +11:00
daviskoh
6956b56765 Add jshint
* add npm package
* add npm pretest script
2015-02-04 22:43:02 -05:00
daviskoh
e67d71959a update docs w/ npm test command 2015-02-04 22:42:27 -05:00
daviskoh
49e39dc299 add npm-debug.log to gitignore 2015-02-04 22:40:16 -05:00