Commit Graph

3157 Commits

Author SHA1 Message Date
alschmiedt
e7a120e69f Merge branch 'develop' of https://github.com/alschmiedt/blockly into blockly_colours 2019-01-08 13:36:39 -08:00
Rachel Fenichel
edf28bf431 Merge pull request #2208 from rachel-fenichel/testing/mocha
Mocha testing
2019-01-08 13:02:18 -08:00
Rachel Fenichel
420c3b0420 Merge pull request #2207 from rachel-fenichel/enable_insertion_markers
Enable insertion markers
2019-01-08 12:06:34 -08:00
Rachel Fenichel
298b93c025 Fix eslint errors with in-file comments 2019-01-08 11:54:57 -08:00
Rachel Fenichel
192b2f9415 Go back to run_all_tests.sh for npm test 2019-01-08 11:46:52 -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
Rachel Fenichel
d95f56f546 Enable insertion markers 2019-01-08 11:19:54 -08:00
Rachel Fenichel
fe514b1006 Merge pull request #2185 from BeksOmega/fixes/Issue2035
Trashcan/Zoom Anchored to Top when Toolbox is on Bottom.
2019-01-08 10:29:07 -08:00
alschmiedt
4982c5c310 Changes names for block styles 2019-01-08 09:40:30 -08:00
Beka Westberg
d2277f0c4b Updated createZoomSVG comments. 2019-01-07 16:04:10 -08:00
Rachel Fenichel
2cce50db7b Merge pull request #2196 from BeksOmega/fixes/FlyoutButtons
Fixed Being Unable to Register Button Callbacks in Category-less Toolbox
2019-01-07 15:45:17 -05:00
Noah Glaser
7c619a1dba Prevent duplicate parameters in functions (#2177)
Prevents the coder from using duplicate parameters names in functions.

In the validator function check for parameter names that have been used. If it finds a block with a name that matches return null so that it will revert the change. Also change the name each time a new parameter is created to try to prevent duplicate name.
2019-01-07 12:44:01 -08:00
Rachel Fenichel
7c8c2da8ee Merge pull request #2195 from BeksOmega/fixes/ScrollingHorizontalFlyout
Fixed Scrolling Horizontal Flyout with Mousewheel
2019-01-07 15:43:09 -05:00
alschmiedt
1f742bf83d Fixing review comments 2019-01-07 10:38:49 -08:00
translatewiki.net
4cc3708f0a Localisation updates from https://translatewiki.net. 2019-01-07 10:03:25 +01:00
alschmiedt
bca5fd36d3 Fix failing test 2019-01-03 13:20:28 -08:00
alschmiedt
bfc55ada27 Fixes refresh on simple toolbox withno categories 2019-01-03 12:56:19 -08:00
translatewiki.net
faf577d1c1 Localisation updates from https://translatewiki.net. 2018-12-27 10:45:13 +01:00
Beka Westberg
46545e5691 Changed callback to be looked up dynamically when the button is clicked. 2018-12-26 12:45:22 -08:00
Beka Westberg
ab84d5fb77 Fixed scrolling horizontal flyouts with mousewheel. 2018-12-26 11:50:36 -08:00
alschmiedt
d3a603ffd9 Update the style on blocks in the mutator 2018-12-21 09:00:55 -08:00
alschmiedt
1b3955d9d6 Fixing review comments 2018-12-21 07:52:50 -08:00
alschmiedt
d9c4608da8 Remove use of style variables in block definition 2018-12-20 10:09:47 -08:00
alschmiedt
ebe8492d3d Add error message for when style is not set 2018-12-20 09:04:45 -08:00
Beka Westberg
96e754cf36 Updated Comments. 2018-12-19 18:10:57 -08:00
Rachel Fenichel
6fefa49112 Bump version number on develop 2018-12-19 16:55:58 -08:00
alschmiedt
d7de588aef Fix generator tests 2018-12-19 16:48:23 -08:00
Rachel Fenichel
f9c0edb6a5 Merge pull request #2190 from google/master
master -> develop after release
2018-12-19 16:46:53 -08:00
Rachel Fenichel
0a25fb9fd7 Merge pull request #2189 from DubeySandeep/local_build_message
Fix #2172: Add a message to run local_build.sh file from local_build dir.
2018-12-19 16:11:16 -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
Rachel Fenichel
3342a375ff Merge pull request #2174 from google/rc/Dec_18
December 2018 release
2018-12-19 14:37:55 -08:00
Rachel Fenichel
817399a793 Bump version number on master 1.20181219.0 2018-12-19 14:29:54 -08:00
Rachel Fenichel
c042a94b2d Rebuild blocks_compressed 2018-12-19 14:28:36 -08:00
Sandeep Dubey
1ed809dc87 Changes in comment. 2018-12-20 02:18:57 +05:30
Sandeep Dubey
036790e4fb Added message for running local_build.sh from correct folder. 2018-12-20 02:07:15 +05:30
Rachel Fenichel
68ecd801ed Merge pull request #2186 from RoboErikG/roboerikg-emptyVar-cp
Avoid crashing when a procedure input has an empty string
2018-12-19 11:06:33 -08:00
Erik Pasternak
738d06a464 Avoid crashing when a procedure input has an empty string
Fixes #1958

This will drop the input when it's in the empty string state. This
causes the block to remove the input and re-add it when the text
is reverted, but prevents the breakage. A followup fix should leave
the input alone instead of removing it, but this works for now.
2018-12-19 10:54:45 -08:00
alschmiedt
f125065a17 Merge branch 'develop' of https://github.com/alschmiedt/blockly into blockly_colours 2018-12-19 10:39:10 -08:00
RoboErikG
a14ff64cf3 Avoid crashing when a procedure input has an empty string (#2182)
Fixes #1958

This will drop the input when it's in the empty string state. This
causes the block to remove the input and re-add it when the text
is reverted, but prevents the breakage. A followup fix should leave
the input alone instead of removing it, but this works for now.
2018-12-19 10:37:40 -08:00
Beka Westberg
9ee7319ac5 Trashcan/Zoom Anchored to Top when Toolbox is on Bottom. 2018-12-19 10:26:07 -08:00
alschmiedt
8544491228 Small fixes 2018-12-19 09:53:54 -08:00
alschmiedt
3b92380872 Fix link to color.js 2018-12-19 08:48:29 -08:00
alschmiedt
967c7db5f9 Changes high contrast colors 2018-12-19 08:45:38 -08:00