Commit Graph

339 Commits

Author SHA1 Message Date
Rachel Fenichel
a778ce0384 Merge pull request #2212 from rachel-fenichel/cleanup/remove_eslintrc
Remove old eslintrc and use .json for mocha eslintrc
2019-01-22 17:39:05 -08:00
alschmiedt
59e4d985aa Remove unnecessary scripts 2019-01-11 14:36:53 -08:00
alschmiedt
0d78f1dcd5 Fixing compiler error for blockly themes 2019-01-11 14:28:49 -08:00
Rachel Fenichel
c13833b6c5 Remove old eslintrc and use .json for mocha eslintrc 2019-01-11 12:30:34 -08:00
alschmiedt
7941651444 Merge pull request #2184 from alschmiedt/blockly_colours
Blockly Themes
2019-01-11 10:57:57 -08:00
Beka Westberg
969687ec34 Added flipRtl Support for FieldImages (#2203)
* Added flipRtl support for FieldImages. Added a flipRtl test block.

* Added blockfactory support.

* Fixed JSDoc.
2019-01-10 08:59:35 -08:00
alschmiedt
caf664db04 Small fixes 2019-01-09 15:38:30 -08:00
alschmiedt
55a46f8299 Fixes error thrown for style defined inline 2019-01-09 13:44:22 -08:00
Rachel Fenichel
089c30baa1 Add eslintrc to mocha directory 2019-01-09 13:31:07 -08:00
alschmiedt
40a1ae752b Adds support for category styles 2019-01-09 11:18:44 -08:00
alschmiedt
4fad29bf15 Fixes problem with hat style 2019-01-08 14:52:14 -08:00
alschmiedt
e7a120e69f Merge branch 'develop' of https://github.com/alschmiedt/blockly into blockly_colours 2019-01-08 13:36:39 -08:00
Rachel Fenichel
298b93c025 Fix eslint errors with in-file comments 2019-01-08 11:54:57 -08:00
Rachel Fenichel
0ec471332b Delete commented-out code 2019-01-08 11:44:15 -08:00
Rachel Fenichel
ecb8b4fb44 Remove dependenceis and use unpkg 2019-01-08 11:41:57 -08:00
alschmiedt
f480b1ff79 Changes Blockly style to be Blockly theme. 2019-01-08 11:40:57 -08:00
Rachel Fenichel
35f05ce582 Skip two broken test suites 2019-01-08 11:31:35 -08:00
Rachel Fenichel
1c413f0442 More testing with mocha 2019-01-08 11:31:35 -08:00
Rachel Fenichel
e27f58ada7 Add jsunit->chai assert converters, and block tests 2019-01-08 11:30:54 -08:00
Rachel Fenichel
376bed8c46 First pass at creating mocha tests 2019-01-08 11:30:54 -08:00
alschmiedt
1f742bf83d Fixing review comments 2019-01-07 10:38:49 -08:00
alschmiedt
1b3955d9d6 Fixing review comments 2018-12-21 07:52:50 -08:00
alschmiedt
d7de588aef Fix generator tests 2018-12-19 16:48:23 -08:00
alschmiedt
b8a2ccddb0 Debuggin 2018-12-19 16:10:45 -08:00
alschmiedt
3a63ae6feb Comment out removing tmp directory for testing 2018-12-19 15:22:49 -08:00
alschmiedt
8544491228 Small fixes 2018-12-19 09:53:54 -08:00
alschmiedt
692555cf1c Fixes broken set_style test 2018-12-18 13:58:09 -08:00
alschmiedt
efb51eec6a Fix multi playground to work with style 2018-12-18 12:42:33 -08:00
alschmiedt
75212a7413 Adds ability to choose different styles in playground 2018-12-18 10:03:55 -08:00
alschmiedt
4918da9538 Adds ability to provide a hue value for primary colour 2018-12-12 11:39:23 -08:00
alschmiedt
fbd44c80f9 Adds tests for adding blockly styles 2018-12-11 13:25:53 -08:00
Rachel Fenichel
7ec5599829 Merge pull request #2124 from google/update_chromedriver_develop
Update chromedriver version
2018-11-30 13:46:24 -08:00
Rachel Fenichel
b8d7ed1c14 Chromedriver 2.43 -> 2.44 2018-11-30 13:38:40 -08:00
BeksOmega
1c4ba38300 Added Max Instances Property to Workspace Options (#2130)
* Added Max Instances property to Blocks

* eslint cleanup

* eslint cleanup 2

* Moved maxInstances property from block to workspace (as a map of block type to max instances). isDuplicate() changed to correctly handle siblings/branches.

* eslint cleanup

* Changed checking types to map. Added hasBlockLimits. Fixed Nits.

* Added limit_instances test block. eslint fixes.

* fixup! Added limit_instances test block. eslint fixes.

* Changed sorting objects to a private static function of the workspace. Fixed nits. Undeleted .eslintrc

* Reverted .gitignore file.

* Added getBlockTypeCounts() to utils. Added isCapacityAvailable() to workspace. Changed clipboard to save typeCountsMap rather than object.
2018-11-27 16:34:21 -08:00
Rachel Fenichel
6169a6488f Merge pull request #2139 from rachel-fenichel/bugfix/2107
Bugfix/2107
2018-11-27 13:57:10 -08:00
Rachel Fenichel
9ed9dd2f08 Add tests 2018-11-27 13:48:23 -08:00
alschmiedt
76538e67e7 Merge pull request #2133 from alschmiedt/single_code_block
Generate Code For Single Block
2018-11-27 13:38:20 -08:00
alschmiedt
d64b6fe9e0 Changes function name 2018-11-27 13:31:32 -08:00
alschmiedt
e9773be499 Adds tests for a nested loop and disabled block 2018-11-27 09:32:48 -08:00
alschmiedt
6366d7be24 Tests blockToCode function for all generators 2018-11-21 11:45:25 -08:00
Rachel Fenichel
c7b502820b Merge pull request #1987 from rachel-fenichel/feature/insertion_markers
Insertion markers in Blockly!
2018-11-19 16:32:15 -08:00
Rachel Fenichel
13740f4c84 Add tests for canConnectToPrevious 2018-11-19 14:50:00 -08:00
Rachel Fenichel
779e70f640 Update selenium version 2018-11-19 13:28:59 -08:00
Rachel Fenichel
53d8ac8b0b Prefer inserting to wrapping for c-shape blocks 2018-11-19 11:16:03 -08:00
Rachel Fenichel
a4c3d1bd89 Update chromedriver version 2018-11-16 17:31:34 -08:00
Rachel Fenichel
17823db4df Fix problem with connecting a statement into a stack, but not a c-shape block 2018-11-14 11:22:57 -08:00
Rachel Fenichel
898810d709 Use firefox for generator tests 2018-11-14 10:56:33 -08:00
Rachel Fenichel
b33d832373 Check whether generator tests work under chrome + osx 2018-11-12 11:48:09 -08:00
Rachel Fenichel
6e300cc27c Add firefox to travis; quit early if files are not found in generator tests 2018-11-09 16:50:57 -08:00
Rachel Fenichel
abd22e867c Remove vestigial button 2018-11-09 13:25:29 -08:00