Commit Graph

3656 Commits

Author SHA1 Message Date
Sam El-Husseini de39d5f2d0 NPM distribution (#2780)
* Add NPM distribution tasks.
2019-08-07 10:35:17 -07:00
Sam El-Husseini 325adbabb0 Version bump for Node patch fix (#2771) 2.20190722.1 2019-08-02 13:38:12 -07:00
Sam El-Husseini 72b14856d4 Cherry pick to master: Fix node build (#2756) 2019-08-02 13:07:32 -07:00
Rachel Fenichel 5029f2d3a0 Merge pull request #2699 from rachel-fenichel/cp/2692
Cherrypick of #2692
2019-07-24 11:50:46 -07:00
Rachel Fenichel 661f3ec58b Add "What" section to documentation template 2019-07-24 11:50:07 -07:00
Rachel Fenichel 5175f76ffd Add question about pull requests. 2019-07-24 11:36:10 -07:00
Rachel Fenichel 4456301a2f Add template for documentation issues 2019-07-24 11:35:59 -07:00
alschmiedt bb8fb10ef7 Merge pull request #2684 from google/fix_bug_template
Update bug_report.md
2019-07-23 08:54:38 -07:00
alschmiedt 52903ae6cf Update bug_report.md 2019-07-23 07:27:18 -07:00
Rachel Fenichel d471f51045 Merge pull request #2644 from google/rc/Jul_19
July 2019 release candidate (Q2 2019)
2.20190722.0
2019-07-22 10:48:53 -07:00
Rachel Fenichel 3ca783485e Version bump 2019-07-22 10:39:52 -07:00
Rachel Fenichel d3e2b890af Rebuild 2019-07-19 17:07:58 -07:00
Erik Pasternak fa6f41f395 Redo the fixes to event groups in connection.js 2019-07-19 17:06:49 -07:00
Erik Pasternak 060c2b34df Revert "Propagate the visible state when blocks connect (#2003)"
This reverts commit ec78eeb39b.
2019-07-19 17:06:38 -07:00
Erik Pasternak a002621ec2 Revert "Properly set the display style on blocks when connections are unhidden"
This reverts commit bacfae24dd.
2019-07-19 17:06:28 -07:00
Erik Pasternak 198e445cb7 Revert "Fix wrong method call"
This reverts commit 3adc554f6b.
2019-07-19 17:06:19 -07:00
Rachel Fenichel 39930977de Link to custom fields demo from demos/index.html 2019-07-19 17:05:21 -07:00
Rachel Fenichel fad6c006b1 Rebuild 2019-07-18 16:23:59 -07:00
Erik Pasternak 7e3bdf024f Fix wrong method call 2019-07-18 16:14:30 -07:00
Erik Pasternak c95d5771c8 Properly set the display style on blocks when connections are unhidden
We weren't always setting the display style on blocks when the hidden
state changed on a connection. This meant that sometimes unhiding a
connection would cause the attached block to be invisible.

This moves the display style code into the setHidden so it is never
skipped.
2019-07-18 16:14:22 -07:00
Rachel Fenichel ea4c3c59d5 rename Blockly.utils.Paths -> Blockly.utils.svgPath 2019-07-18 15:16:57 -07:00
Rachel Fenichel 2133f426ee Rebuild 2019-07-18 15:13:52 -07:00
alschmiedt 954cb5acb1 Revert "Adds type to FieldNumber editor" 2019-07-18 15:12:07 -07:00
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