Commit Graph

2460 Commits

Author SHA1 Message Date
Andrew n marshall acbf4fb4cc Test images for new test blocks. (#1630) 2018-02-16 11:06:13 -08:00
Rachel Fenichel 482f9576f1 Merge pull request #1621 from AnmAtAnm/closure-version-rc/feb_2018
Updating Closure to 20180204.0.0
2018-02-14 16:51:18 -08:00
Andrew n marshall f34f2507d9 Updateing Closure to 20180204.0.0 2018-02-14 16:17:50 -08:00
Rachel Fenichel 832e8df91d rebuild 2018-02-13 17:16:53 -08:00
Rachel Fenichel d718952e3b Merge pull request #1611 from AnmAtAnm/rc/feb_2018
Remove forceRerender() from FieldDropDown.
2018-02-13 17:14:44 -08:00
Andrew n marshall 32b7a8ea6b Remove forceRerender() from FieldDropDown.
Errantly forced whole block to rerender, including fields that
had not yet been initialized.

Fixes #1609
2018-02-13 16:27:21 -08:00
Rachel Fenichel 9d01adf269 Rebuild 2018-02-13 13:08:55 -08:00
Rachel Fenichel 962c38b718 Merge pull request #1607 from rachel-fenichel/bugfix/1604
Break circular dependency
2018-02-13 13:00:03 -08:00
Rachel Fenichel 6aa06e9b48 Merge pull request #1605 from rachel-fenichel/bugfix/1600
Bugfix/1600
2018-02-13 10:46:38 -08:00
Rachel Fenichel 5e0928e4f3 Break circular dependency 2018-02-13 10:44:07 -08:00
Rachel Fenichel 2bd606c5e7 Fix comments 2018-02-13 10:41:57 -08:00
Rachel Fenichel 3a8fc92143 Indentation 2018-02-12 17:14:26 -08:00
Rachel Fenichel 744e70e4d2 Split playground toolbox XML into typed and untyped examples. 2018-02-12 17:12:52 -08:00
Rachel Fenichel 3463799d83 Merge pull request #1599 from rachel-fenichel/bugfix/sb-1373
Don't allow block deletion in the flyout.  Make copy-paste always copy to the main workspace
2018-02-12 14:43:40 -08:00
Andrew n marshall dc7783ee01 Warn conflicts with Blockly.Generator.prototype (#1603)
Console warning if block prototypeName conflicts with Blockly.Generator.prototype.
2018-02-12 13:44:54 -08:00
Rachel Fenichel f471a23b2b Add comment 2018-02-12 13:25:07 -08:00
Andrew n marshall 03538c19a7 Fix #1601
Correct deprecated argument order in domToWorksapce call in WorkspaceFactory.
2018-02-12 12:52:34 -08:00
Rachel Fenichel 4a4a0fe569 Merge pull request #1596 from rachel-fenichel/master_to_develop
Master to develop
2018-02-09 10:55:46 -08:00
Rachel Fenichel 57852f0249 Don't allow block deletion in the flyout. Make copy-paste always copy to the main workspace. 2018-02-08 17:23:22 -08:00
Rachel Fenichel 90b0f34c08 Merge pull request #1597 from rachel-fenichel/bugfix/1554
Make WorkspaceSvg.refreshToolboxSelection_ package instead of private
2018-02-08 16:51:40 -08:00
Rachel Fenichel 6a018515af Make WorkspaceSvg.refreshToolboxSelection_ package instead of private 2018-02-08 16:45:19 -08:00
Rachel Fenichel 3635657029 Rebuild 2018-02-08 16:05:09 -08:00
Rachel Fenichel f2641d36aa Merge branch 'master' of https://github.com/google/blockly into master_to_develop 2018-02-08 15:48:24 -08:00
Andrew n marshall cf1c69686d In Code demo, give warning if a generator function is missing. (#1585)
Refactored renderContent() to use new attemptCodeGeneration()
function, reducing code duplication.
attemptCodeGeneration() now calls checkAllGeneratorFunctionsDefined()
before running the generator.
2018-02-08 13:01:33 -08:00
translatewiki.net 99f977e5c9 Localisation updates from https://translatewiki.net. 2018-02-08 09:52:28 +01:00
Rachel Fenichel e58c8a32d4 Merge pull request #1590 from rachel-fenichel/feature/bubble_dragger
Create a Dragger for moving bubbles around
2018-02-07 14:19:23 -08:00
Rachel Fenichel 85cb2b8c41 Merge pull request #1592 from jollytoad/feature-1486-fields-fromJson
Fields should implement fromJson #1486
2018-02-07 11:22:15 -08:00
Mark Gibson 28d3d68b62 Fix fromJson_ to fromJson in tests 2018-02-07 18:30:22 +00:00
Mark Gibson 2308ae8c22 Remove underscore from fromJson_ 2018-02-07 18:18:35 +00:00
Mark Gibson 6ab7cd25f5 Missing semi-colon! 2018-02-07 12:44:01 +00:00
Mark Gibson d40ef474ae See issue #1486 - adds fromJson_ fn to every Blockly.Field, removing Block.newField*FromJson_ helpers 2018-02-07 12:22:26 +00:00
Rachel Fenichel 4ddba5aadb rebuild 2018-02-06 19:00:32 -08:00
Rachel Fenichel 9d2cb829a9 Move code into the bubble dragger where possible 2018-02-06 18:56:26 -08:00
Rachel Fenichel 7acd4133aa Remove unused code in the bubble dragger. 2018-02-06 18:07:21 -08:00
RoboErikG 531c459147 Update the comment on eslint quotes checks (#1589)
We turn quotes checking off in eslint because the JSON blobs in Blockly's files must use double quotes. Everywhere else we prefer single quotes. This updates the comment to make that clearer.
2018-02-06 13:22:00 -08:00
Rachel Fenichel 68914be67d Wire up bubble dragging, with coordinate problems 2018-02-05 16:57:44 -08:00
translatewiki.net 66baae1312 Localisation updates from https://translatewiki.net. 2018-02-01 09:45:17 +01:00
Andrew n marshall f497c70be0 Ran ./build.py 2018-01-31 14:29:09 -08:00
Rachel Fenichel 6d96e4003b Merge pull request #1576 from rachel-fenichel/bugfix/1574
Add generators for dynamic variable blocks.
2018-01-29 16:20:28 -08:00
Rachel Fenichel c744664ad5 Merge pull request #1575 from rachel-fenichel/bugfix/1538
Fix #1538
2018-01-29 16:17:30 -08:00
Rachel Fenichel 4a059b23f8 Add tests 2018-01-29 16:04:47 -08:00
Rachel Fenichel 4c130aab83 Rename createVarBlock to createMockVarBlock, and pass in the workspace as a parameter 2018-01-29 15:15:32 -08:00
Rachel Fenichel fa38913f42 Merge pull request #1578 from windwood-xmu/issue/1571
Fix #1571
2018-01-29 10:47:35 -08:00
windwood-xmu 0023fb6837 Fix #1571
the Class Gen_compressed in build.py has two gen_accessible method.
The problem was produced by the commit 2bd056a and the PR #1243.

Delete the accidental incoming L266-L292 to fix that problem.
2018-01-29 22:42:57 +08:00
translatewiki.net 4988988ada Localisation updates from https://translatewiki.net. 2018-01-29 09:01:36 +01:00
Rachel Fenichel bce24fef6b Add generators for dynamic variable blocks. 2018-01-26 17:10:45 -08:00
Rachel Fenichel 3b168f5370 Fix #1538 2018-01-26 15:20:19 -08:00
Rachel Fenichel 5913f42b0a Merge pull request #1569 from rachel-fenichel/cleanup/lint
Get rid of the last indentation lint (that is checked by eslint) and …
2018-01-26 10:15:04 -08:00
Rachel Fenichel 870219e750 Get rid of the last indentation lint (that is checked by eslint) and turn indentation back to erroring instead of warning. 2018-01-25 17:33:43 -08:00
Rachel Fenichel f19d7a811c Merge pull request #1562 from rachel-fenichel/bugfix/matching_names
Fix #1559
2018-01-25 17:08:46 -08:00