Commit Graph

  • 176bb6097b [Makefile]: Use cl (MSVC) on Windows ; Pierre Renaux 2015-05-09 16:57:07 +08:00
  • 09f0c12a8f [src/Layout.js]: Cleaner line loop in <Loop E> (alignContent layout) ; Pierre Renaux 2015-05-09 13:10:26 +08:00
  • 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 ; Pierre Renaux 2015-05-09 13:03:21 +08:00
  • c7fbf44474 'alignContent' defaults to 'flex-start' instead of 'stretch' ; Pierre Renaux 2015-05-09 11:58:02 +08:00
  • b6de3e600e [Makefile]: Updated so that it works on OSX & Windows - for Windows it requires GCC, make 3.82 & wget to be on PATH ; Pierre Renaux 2015-05-09 11:49:17 +08:00
  • 8493789989 [src/Layout-test-utils.js]: Fix so that RunLayoutTests.html works on Chrome for Windows ; Pierre Renaux 2015-05-09 11:47:27 +08:00
  • cc5f772bff Style fixes ; Pierre Renaux 2015-05-09 11:46:28 +08:00
  • 9ca681ff28 [src/__tests__/Layout-random-test.js]: Added alignContent in the list of random permutations ; Pierre Renaux 2015-05-08 15:18:38 +08:00
  • 7679ed77d9 Updated generated C & Java code ; Pierre Renaux 2015-05-08 15:12:17 +08:00
  • 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 ; Pierre Renaux 2015-05-08 15:10:28 +08:00
  • 68d029e460 [src/__tests__/Layout-test.js]: Added 16 test cases for each alignContent / alignItems combination - also includes alignSelf testing within the test data ; Pierre Renaux 2015-05-08 14:52:11 +08:00
  • 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) ; Pierre Renaux 2015-05-08 14:51:05 +08:00
  • 998fa1d6ba [Issue facebook/css-layout#78]: Implemented alignContent ; Pierre Renaux 2015-05-06 15:14:57 +08:00
  • 8cdf0d0228 Display children for test failures Christopher Chedeau 2015-05-08 17:01:11 -07:00
  • 329bbfd569 Update README.md Christopher Chedeau 2015-05-08 13:42:55 -07:00
  • 9f75dc7b3e Update README.md Christopher Chedeau 2015-05-08 13:42:37 -07:00
  • 3203e86155 Merge pull request #70 from tadeuzagallo/remove-dead-code Christopher Chedeau 2015-05-05 08:10:04 -07:00
  • a8b7859613 Merge pull request #77 from prenaux/master Christopher Chedeau 2015-05-05 08:09:32 -07:00
  • ee5e8c1722 [Layout.c/h]: Minor modifications so that the Microsoft compiler can compile the file as C++ directly ; Pierre Renaux 2015-05-05 18:07:06 +08:00
  • 3859d0ec26 Merge pull request #75 from arasmussen/master Christopher Chedeau 2015-05-01 12:21:47 -07:00
  • 86c39b5e4f Revert "Ensure that flex children adopt their parent's cross-axis min dimension." Andrew Rasmussen 2015-05-01 12:16:47 -07:00
  • 1124b654b2 Merge pull request #74 from arasmussen/master Christopher Chedeau 2015-04-30 15:14:15 -07:00
  • 5f52e947cb Fix layout for absolutely positioned nodes with absolutely positioned parents that have border and/or padding Andrew Rasmussen 2015-04-30 14:35:59 -07:00
  • 0af68d137a Merge pull request #72 from Kroisse/fix-consts Christopher Chedeau 2015-04-27 09:23:43 -07:00
  • 129e41f832 Transpile to update the changes of consts omitted in #69 Eunchong Yu 2015-04-26 14:11:05 +09:00
  • aad5efe938 Remove unused code pointed by Xcode Tadeu Zagallo 2015-04-24 14:12:18 +01:00
  • efeba90985 Merge pull request #69 from tadeuzagallo/fix-eslint-errors Christopher Chedeau 2015-04-24 08:28:32 -07:00
  • 1cbb5eef26 Fix lint errors and consts tests Tadeu Zagallo 2015-04-24 14:00:40 +01:00
  • b01ff10cf1 Update Patent Grant Christopher Chedeau 2015-04-10 12:14:30 -07:00
  • b138d3a5e6 Merge pull request #68 from freakboy3742/minmax Christopher Chedeau 2015-04-06 20:06:26 -07:00
  • b8316413b3 Ensure that flex children adopt their parent's cross-axis min dimension. Russell Keith-Magee 2015-04-07 10:52:15 +08:00
  • b912acf8e3 Add more failing tests if someone wants to pick them up and have fun :p Christopher Chedeau 2015-04-06 16:08:12 -07:00
  • 9c6fc6caf9 Merge pull request #67 from freakboy3742/minmax Christopher Chedeau 2015-04-01 03:53:58 -07:00
  • 6ca5fc5cb4 Cleanup of accessor logic in boundAxis. Russell Keith-Magee 2015-04-01 14:46:55 +08:00
  • 9cf2e71e01 Added extra test to check for potential division by zero. Russell Keith-Magee 2015-04-01 14:46:28 +08:00
  • 8ae56041b5 Merge pull request #66 from kassens/test-helper Christopher Chedeau 2015-03-31 20:42:40 -07:00
  • dda464cdb9 Fix getIframe test helper Jan Kassens 2015-03-31 20:27:19 -07:00
  • b664517e52 Merge pull request #65 from freakboy3742/minmax Christopher Chedeau 2015-03-31 08:43:37 -07:00
  • 2b6844f00a Simplified logic distributing flex space. Russell Keith-Magee 2015-03-31 18:58:56 +08:00
  • c523b7c404 Added support for min/max width and height constraints. Russell Keith-Magee 2015-03-31 17:27:13 +08:00
  • cf3f7ccda1 Merge pull request #60 from tcmulcahy/thread-safe-measure Krzysztof Magiera 2015-03-27 10:01:33 -07:00
  • ddd7a899ac Make Java measure thread-safe. Tom Mulcahy 2015-03-23 17:49:47 +00:00
  • a7a8d1d40d Merge pull request #59 from freakboy3742/normalize_isDimDefined Christopher Chedeau 2015-03-22 09:08:53 -07:00
  • 8f6a96adbc Normalized C and Java definition of isDimDefined. Russell Keith-Magee 2015-03-22 14:36:16 +08:00
  • f5850b56e5 update link for infer 1.4 Christopher Chedeau 2015-03-05 10:03:37 -08:00
  • 24a97a5384 Update package.json Christopher Chedeau 2015-03-05 09:35:37 -08:00
  • 0b892f7142 Update README.md Christopher Chedeau 2015-02-22 09:25:54 -08:00
  • 74a031e396 Merge pull request #44 from daviskoh/improvement/add-linter Christopher Chedeau 2015-02-20 11:44:19 -06:00
  • 9c71cc6d1f resolve merge conflicts daviskoh 2015-02-17 21:30:41 -05:00
  • 3a6e50db99 Address eslint errors: * modify .eslintrc w/ globals & rules * use judgement in deciding bet proj style & eslint recommendation * make daviskoh 2015-02-17 21:12:29 -05:00
  • 4dc175dda4 replace jshint w/ eslint daviskoh 2015-02-17 15:44:08 -05:00
  • b99ce3736f Merge pull request #50 from jimmyhmiller/master Christopher Chedeau 2015-02-15 18:07:59 -08:00
  • 8fe8c15e6d Rework javascript api to match README Jimmy Miller 2015-02-07 00:01:35 -05:00
  • 0c62b9e4ed Merge branch 'improvement/add-linter' of github.com:daviskoh/css-layout into improvement/add-linter daviskoh 2015-02-14 12:24:37 -05:00
  • 654a1a67e2 run only desired tests daviskoh 2015-02-13 11:36:31 -05:00
  • ce81ef793a Merge pull request #49 from alexanderGugel/umd Christopher Chedeau 2015-02-12 12:41:53 -08:00
  • b942b5ff60 Add UMD Alexander Gugel 2015-02-12 20:46:29 +01:00
  • 3c3b73d229 only run Layout-test & Layout-consts-test daviskoh 2015-02-05 20:33:27 -05:00
  • 5d016bdb03 run all test files daviskoh 2015-02-05 20:04:00 -05:00
  • 55d6f9fba6 Merge branch 'master' into improvement/add-linter daviskoh 2015-02-05 19:51:45 -05:00
  • cf9b841e33 Fix jshint issues * add .jshintrc * address semicolon errors * ignore 'already defined' errors daviskoh 2015-02-05 19:49:55 -05:00
  • b95cb8da75 Merge pull request #43 from ryanseddon/iframe_firefox_fix Christopher Chedeau 2015-02-05 07:05:16 -08:00
  • 1ad94fa4e1 Fix firefox iframe timing issue, fixes #25 Ryan Seddon 2015-02-05 17:23:56 +11:00
  • 6956b56765 Add jshint * add npm package * add npm pretest script daviskoh 2015-02-04 22:43:02 -05:00
  • e67d71959a update docs w/ npm test command daviskoh 2015-02-04 22:42:27 -05:00
  • 49e39dc299 add npm-debug.log to gitignore daviskoh 2015-02-04 22:40:16 -05:00
  • e52c67b902 Merge pull request #42 from daviskoh/improvement/add-test-runner Christopher Chedeau 2015-02-04 19:08:19 -08:00
  • 58198d8102 adhere to coding style daviskoh 2015-02-04 21:56:40 -05:00
  • ce4f64dc73 Add Karma Test Runner * update package.json w/ karma dependencies * add npm test script * add node_modules to .gitignore daviskoh 2015-02-04 21:45:10 -05:00
  • 0e56641b28 Update font constants Christopher Chedeau 2015-02-04 07:57:13 -08:00
  • 5f8c3b0eb7 Update C version Christopher Chedeau 2015-02-04 07:50:15 -08:00
  • 9ccb4b6c42 Merge pull request #31 from ColinEberhardt/master Christopher Chedeau 2015-02-02 14:01:31 -08:00
  • b702eedaa7 Merge pull request #30 from KyleAMathews/patch-2 Christopher Chedeau 2015-02-02 14:01:16 -08:00
  • 04cc0abd23 Added package.json Colin Eberhardt 2015-02-01 00:21:51 +00:00
  • ecc61dae85 Remove "not used in production" warning Kyle Mathews 2015-02-02 00:20:40 -07:00
  • 99c7ce24b1 Merge pull request #26 from dimsuz/master Christopher Chedeau 2015-02-01 14:24:28 -08:00
  • 4edef60ba3 Fix running 'make': upgrade to infer-annotations-1.4 Dmitry Suzdalev 2015-01-31 19:42:52 +02:00
  • 58cd786a4d Merge pull request #23 from kmagiera/javaimprovements Andy Street 2015-01-28 17:40:29 -08:00
  • e1969bda05 Couple of major improvements for Java version. Krzysztof Magiera 2015-01-19 12:37:30 +00:00
  • d82ec0ddfd add bug reports urls for weird behaviors Christopher Chedeau 2014-12-12 15:16:25 +00:00
  • 1605bdfb1e add weird result from chrome Christopher Chedeau 2014-12-12 13:14:18 +00:00
  • 9001a3d2ac do not infinite loop when there's an element bigger than the container with flex-wrap Christopher Chedeau 2014-12-12 12:24:26 +00:00
  • 10fb645777 Initial implementation of flexWrap Christopher Chedeau 2014-12-12 12:03:31 +00:00
  • 28243156e4 make C and Java tests pass and update their code Christopher Chedeau 2014-12-11 20:23:53 +00:00
  • e838124625 remove support for flex: 0 since chrome behavior is really weird Christopher Chedeau 2014-12-11 16:52:38 +00:00
  • 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 Christopher Chedeau 2014-12-11 16:31:57 +00:00
  • ab64a5b624 fix children with left Christopher Chedeau 2014-12-11 15:58:45 +00:00
  • ba873aa3d7 fix layout border bottom and flex end with an empty child Christopher Chedeau 2014-12-11 14:42:31 +00:00
  • 79286e6263 fix positive margin top inside of justify content center container Christopher Chedeau 2014-12-11 14:31:17 +00:00
  • 570f7bf98a fix test case not passing because of div by 0 Christopher Chedeau 2014-12-11 14:22:04 +00:00
  • 5a3303ac5e fix bug with negative margin inside of a justifyContent: center container Christopher Chedeau 2014-12-11 14:12:12 +00:00
  • ef73ebd935 add tests for flexWrap Christopher Chedeau 2014-12-11 13:57:03 +00:00
  • e0bcbdcfc1 more tweaks to the pretty print function Christopher Chedeau 2014-12-11 13:56:29 +00:00
  • 0f9b777623 better way to ignore iframe width Christopher Chedeau 2014-12-11 13:44:03 +00:00
  • fde2328ba6 better pretty-print function Christopher Chedeau 2014-12-11 13:30:46 +00:00
  • 8031cbe134 do not infinite loop on random layouts anymore Christopher Chedeau 2014-12-11 12:17:40 +00:00
  • a81f4abb0e Merge pull request #22 from foghina/master Andy Street 2014-12-05 15:45:15 +00:00
  • 5ab64a699f Add jsr305, couple of @Nullable annotations Felix Oghină 2014-12-05 14:11:14 +00:00
  • 29ce319f79 Merge pull request #21 from kmagiera/extractundefined Andy Street 2014-12-02 23:00:03 +00:00
  • fbd14263f9 Move isUndefined check to CSSConstants in java code Krzysztof Magiera 2014-12-02 22:30:44 +00:00