Commit Graph

3633 Commits

Author SHA1 Message Date
Rachel Fenichel
8d7eaf65e1 Cherry-pick in annotation changes and rebuild 2019-07-17 13:00:22 -07:00
Rachel Fenichel
d6e50f6633 Merge branch 'master' into rc/Jul_19 2019-07-16 11:29:30 -07:00
Rachel Fenichel
53efc23d6c Rebuild 2019-07-15 16:13:18 -07:00
Neil Fraser
7fbe47c02c Fix colour injection vulnerability.
The new validators already solve this problem, but as a second layer of defence, the generators should also be secured.  Issue #2637
2019-07-15 16:11:25 -07:00
Rachel Fenichel
ff9da74571 Merge pull request #2643 from rachel-fenichel/rebuild_07_15_19
Rebuild
2019-07-15 14:57:29 -07:00
Rachel Fenichel
03776a6bfd Rebuild 2019-07-15 14:53:01 -07:00
Rachel Fenichel
79be89facc Merge pull request #2638 from rachel-fenichel/dependency_check
Update dependencies
2019-07-15 14:46:56 -07:00
Neil Fraser
2d3b514425 Ensure last variable category is last variable added.
Resolves #2050.
2019-07-15 14:37:27 -07:00
Neil Fraser
2ac3447383 Create null objects properly.
new Object(null) doesn’t do anything, that’s just broken.
And the for loop with keys is silly.
2019-07-15 14:37:27 -07:00
Neil Fraser
bbb6e03801 Don’t save IDs of shadow blocks. 2019-07-15 14:37:27 -07:00
Neil Fraser
0e82677f27 Create stub for Node contstants.
Ironic that Node doesn’t have Node.  Not tested.
Fix two missing dependencies.
2019-07-15 14:37:27 -07:00
Neil Fraser
31a9c02362 Stop generating dynamic XML from text.
Removes last goog.string reference.
2019-07-15 14:37:27 -07:00
Neil Fraser
829dcc207c Make type and variabletype attributes optional
If a variable doesn’t have a type, then don’t add these empty attributes in the XML.
2019-07-15 14:37:27 -07:00
Rachel Fenichel
4915fdfe12 Update dependencies 2019-07-15 10:48:36 -07:00
RoboErikG
8abba6ae10 Remove edit handler that is just eating events (#2634)
This handler should be unnecessary on most versions of Android, and it's currently just swallowing events that would be handled by default. Removing it to let the system take the default action.
2019-07-12 13:29:46 -07:00
Neil Fraser
5bb98bc998 Routine recompile
Closure changed, everything broke.  Again.

Verbal LGTM from @alschmiedt
2019-07-12 12:36:10 -07:00
Neil Fraser
3647b6e38e Add XSD to validate Blockly’s XML (#2633)
* Add XSD to validate Blockly’s XML

This XSD might be used in tests or other tooling.
2019-07-12 12:05:55 -07:00
Tiago Quelhas
588840875e Replace --dependency_mode=STRICT with PRUNE. (#2631)
STRICT is a deprecated alias for PRUNE.
2019-07-11 17:57:54 -07:00
Monica Kozbial
c19c55db65 Merge pull request #2629 from moniika/moniika-collapsed-insertion-marker
Added setCollapsed to insertion marker block creation.
2019-07-11 12:56:00 -07:00
kozbial
da26594307 Added setCollapsed to insertion marker block creation. 2019-07-11 10:25:21 -07:00
Beka Westberg
b7e6d3704a Fixed Procedure Argument Escaping (#2626)
* Refactored procedure decompose to build XML node by node. Fixed argument name escaping.

* Fixed review comments.
2019-07-10 16:58:25 -07:00
Rachel Fenichel
0af94c4880 Merge pull request #2623 from rachel-fenichel/remove_accessible
Remove accessibility demo from Blockly repo
2019-07-10 13:35:55 -07:00
Rachel Fenichel
b602240c8b Fix comment 2019-07-10 12:40:46 -07:00
alschmiedt
6e9761b249 Merge pull request #2618 from alschmiedt/dynamic_variable_error
Fixes bug with using dynamic variable in toolbox
2019-07-09 16:29:11 -07:00
Rachel Fenichel
074d7f7443 Merge pull request #2594 from BeksOmega/demos/CustomFields
Added custom fields demo.
2019-07-09 16:25:16 -07:00
Rachel Fenichel
16a1a747e3 Merge pull request #2602 from abhinavsagar/patch-1
Remove sudo tag in travis
2019-07-09 16:23:19 -07:00
Beka Westberg
c053130da3 Fixed Procedure Decomposition Not Working with >1 Arguments (#2622)
* Fixed procedure decomposition not working with >1 arguments.

* Fixed typo causing #2612.
2019-07-09 16:06:58 -07:00
Rachel Fenichel
deb675f82d Remove accessibility code from build process 2019-07-09 16:00:43 -07:00
Rachel Fenichel
9db73a69dc Delete accessibility demo code 2019-07-09 16:00:27 -07:00
alschmiedt
35341959d3 Fixes eslint error 2019-07-09 11:28:36 -07:00
alschmiedt
f30d79fbc8 Fixes bug with using dynamic variable in toolbox 2019-07-09 11:02:02 -07:00
Beka Westberg
39e414c2bf Rebuild. 2019-07-09 10:25:40 -07:00
Beka Westberg
f837b7ca04 Moved SVG creation into a separate function. 2019-07-09 10:21:22 -07:00
Beka Westberg
69ea81fba8 Changed modifier validator turtle field example. 2019-07-09 10:21:22 -07:00
Beka Westberg
fa57ab23e5 Adding XML example. 2019-07-09 10:21:22 -07:00
Beka Westberg
b74254662e Added custom fields demo. 2019-07-09 10:21:22 -07:00
Neil Fraser
e06d4e648c Rename BlockAnimation > blockAnimation
Issue 2102.  And do a full recompile due to changed the dependency name.
2019-07-08 17:31:38 -07:00
Neil Fraser
d1fb3f0480 Fix typo in Blockly Factory. 2019-07-08 13:29:43 -07:00
Neil Fraser
dd6cb19f5d Backward compatibility check for ‘variableType’ 2019-07-08 13:29:43 -07:00
Neil Fraser
52b6ce18a5 Fix unit tests 2019-07-08 13:29:43 -07:00
Neil Fraser
20d4a27f0a Add namespacing to XML
Fixes #1978.
2019-07-08 13:29:43 -07:00
Neil Fraser
74be35e23d Rename Blockly.Xml.utils to Blockly.utils.xml 2019-07-08 13:29:43 -07:00
translatewiki.net
880dc4cbef Localisation updates from https://translatewiki.net. 2019-07-08 20:00:49 +02:00
translatewiki.net
a5892f8e27 Localisation updates from https://translatewiki.net. 2019-07-05 07:00:23 +02:00
alschmiedt
7c57432faf Merge pull request #2611 from alschmiedt/shadow_fixes
Adds fill to svg dark path
2019-07-03 16:08:42 -07:00
alschmiedt
06f31e31c2 Merge pull request #2610 from alschmiedt/procedure_fix
Fixes spacing problem in procedure name
2019-07-03 16:08:19 -07:00
alschmiedt
a7ec185c69 Adds fill to svg dark path 2019-07-03 14:10:56 -07:00
alschmiedt
c45be91f7a Fixes spacing problem in procedure name 2019-07-03 11:40:55 -07:00
alschmiedt
674bc27516 Merge pull request #2609 from alschmiedt/update_templates
Update github templates
2019-07-02 16:31:34 -07:00
alschmiedt
878c85acaf Delete old issue template 2019-07-02 14:19:53 -07:00