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
Christopher Chedeau
e52c67b902
Merge pull request #42 from daviskoh/improvement/add-test-runner
...
Improvement/add test runner
2015-02-04 19:08:19 -08:00
daviskoh
58198d8102
adhere to coding style
2015-02-04 21:56:40 -05:00
daviskoh
ce4f64dc73
Add Karma Test Runner
...
* update package.json w/ karma dependencies
* add npm test script
* add node_modules to .gitignore
2015-02-04 21:45:10 -05:00
Christopher Chedeau
0e56641b28
Update font constants
2015-02-04 07:57:13 -08:00
Christopher Chedeau
5f8c3b0eb7
Update C version
2015-02-04 07:50:15 -08:00
Christopher Chedeau
9ccb4b6c42
Merge pull request #31 from ColinEberhardt/master
...
Added package.json
2015-02-02 14:01:31 -08:00
Christopher Chedeau
b702eedaa7
Merge pull request #30 from KyleAMathews/patch-2
...
Remove "not used in production" warning
2015-02-02 14:01:16 -08:00
Colin Eberhardt
04cc0abd23
Added package.json
2015-02-02 10:18:43 +00:00
Kyle Mathews
ecc61dae85
Remove "not used in production" warning
...
Given recent announcements... :)
2015-02-02 00:20:40 -07:00
Christopher Chedeau
99c7ce24b1
Merge pull request #26 from dimsuz/master
...
Fix running 'make': upgrade to infer-annotations-1.4
2015-02-01 14:24:28 -08:00
Dmitry Suzdalev
4edef60ba3
Fix running 'make': upgrade to infer-annotations-1.4
2015-01-31 19:42:52 +02:00
Andy Street
58cd786a4d
Merge pull request #23 from kmagiera/javaimprovements
...
Couple of major improvements for Java version.
2015-01-28 17:40:29 -08:00
Krzysztof Magiera
e1969bda05
Couple of major improvements for Java version.
...
Including:
- Extracting spacing logic into a Spacing class
- Fix layout update issue
- Add null assertions support
2015-01-19 13:09:32 +00:00
Christopher Chedeau
d82ec0ddfd
add bug reports urls for weird behaviors
2014-12-12 15:16:25 +00:00
Christopher Chedeau
1605bdfb1e
add weird result from chrome
2014-12-12 13:14:18 +00:00
Christopher Chedeau
9001a3d2ac
do not infinite loop when there's an element bigger than the container with flex-wrap
2014-12-12 12:24:26 +00:00
Christopher Chedeau
10fb645777
Initial implementation of flexWrap
2014-12-12 12:03:31 +00:00
Christopher Chedeau
28243156e4
make C and Java tests pass and update their code
2014-12-11 20:23:53 +00:00
Christopher Chedeau
e838124625
remove support for flex: 0 since chrome behavior is really weird
2014-12-11 16:52:38 +00:00
Christopher Chedeau
544f377f20
implement 1/64 rounding like chrome. Didn't add a test for it because this is Chrome specific and shouldn't be on ios and android
2014-12-11 16:31:57 +00:00
Christopher Chedeau
ab64a5b624
fix children with left
2014-12-11 15:58:45 +00:00
Christopher Chedeau
ba873aa3d7
fix layout border bottom and flex end with an empty child
2014-12-11 14:42:31 +00:00
Christopher Chedeau
79286e6263
fix positive margin top inside of justify content center container
2014-12-11 14:31:17 +00:00
Christopher Chedeau
570f7bf98a
fix test case not passing because of div by 0
2014-12-11 14:22:04 +00:00