Commit Graph

5953 Commits

Author SHA1 Message Date
alschmiedt
631b3ead5a chore: remove support for node 10 (#5496) 2021-09-17 13:34:56 -07:00
dependabot[bot]
a046f547bb Bump http-server from 0.12.3 to 13.0.2 (#5492)
Bumps [http-server](https://github.com/http-party/http-server) from 0.12.3 to 13.0.2.
- [Release notes](https://github.com/http-party/http-server/releases)
- [Commits](https://github.com/http-party/http-server/compare/v0.12.3...v13.0.2)

---
updated-dependencies:
- dependency-name: http-server
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-17 11:49:57 -07:00
dependabot[bot]
05c6e403a2 Bump @blockly/dev-tools from 2.6.0 to 2.6.1 (#5490)
Bumps [@blockly/dev-tools](https://github.com/google/blockly-samples/tree/HEAD/plugins/dev-tools) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/google/blockly-samples/releases)
- [Commits](https://github.com/google/blockly-samples/commits/@blockly/dev-tools@2.6.1/plugins/dev-tools)

---
updated-dependencies:
- dependency-name: "@blockly/dev-tools"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-17 11:35:22 -07:00
dependabot[bot]
8c0bf4348e Bump @blockly/theme-modern from 2.1.22 to 2.1.24 (#5478)
Bumps [@blockly/theme-modern](https://github.com/google/blockly-samples/tree/HEAD/plugins/theme-modern) from 2.1.22 to 2.1.24.
- [Release notes](https://github.com/google/blockly-samples/releases)
- [Commits](https://github.com/google/blockly-samples/commits/@blockly/theme-modern@2.1.24/plugins/theme-modern)

---
updated-dependencies:
- dependency-name: "@blockly/theme-modern"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-17 11:26:08 -07:00
dependabot[bot]
96e39525c8 Bump @blockly/dev-tools from 2.5.4 to 2.6.0 (#5447)
Bumps [@blockly/dev-tools](https://github.com/google/blockly-samples/tree/HEAD/plugins/dev-tools) from 2.5.4 to 2.6.0.
- [Release notes](https://github.com/google/blockly-samples/releases)
- [Commits](https://github.com/google/blockly-samples/commits/@blockly/dev-tools@2.6.0/plugins/dev-tools)

---
updated-dependencies:
- dependency-name: "@blockly/dev-tools"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-16 16:59:25 +01:00
Apoorv Garg
dfba00701e fix: getBlocksByType not filtering out insertion markers (#5430)
* maxInstance fix

* requested changes applied
2021-09-09 11:33:03 -07:00
Aaron Dodson
c008bd07e8 Note behavior of centerOnBlock when block is part of a stack in the JSDoc (#5442) 2021-09-08 12:10:44 -07:00
Neil Fraser
49fcbc8411 Use Blockly.utils.arrayRemove (#5420)
Recently added code doesn't use existing utility function.
2021-09-03 11:40:55 -07:00
hpnrep6
e5830283ad Allow command key zoom on mac devices (#5419)
* Allow command key zoom on mac devices

* Clarify comment on mac command key zoom
2021-09-01 10:16:35 -07:00
Rachel Fenichel
46fe03cba8 Merge pull request #5416 from google/dependabot/npm_and_yarn/develop/webdriverio-7.11.1
Bump webdriverio from 7.11.0 to 7.11.1
2021-08-31 15:50:24 -07:00
dependabot[bot]
be8fbe3348 Bump webdriverio from 7.11.0 to 7.11.1
Bumps [webdriverio](https://github.com/webdriverio/webdriverio) from 7.11.0 to 7.11.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.11.0...v7.11.1)

---
updated-dependencies:
- dependency-name: webdriverio
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 22:44:38 +00:00
Rachel Fenichel
1a0afa4621 Merge pull request #5413 from google/dependabot/npm_and_yarn/develop/wdio/selenium-standalone-service-7.10.1
Bump @wdio/selenium-standalone-service from 6.12.1 to 7.10.1
2021-08-31 15:43:54 -07:00
dependabot[bot]
a2abb47277 Bump @wdio/selenium-standalone-service from 6.12.1 to 7.10.1
Bumps [@wdio/selenium-standalone-service](https://github.com/webdriverio/webdriverio) from 6.12.1 to 7.10.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.12.1...v7.10.1)

---
updated-dependencies:
- dependency-name: "@wdio/selenium-standalone-service"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 09:02:04 +00:00
hpnrep6
2a9ef4f0f0 fix: blocks with no next connections overlapping statement input in Zelos (#5369)
* Use zelos' StatementInput function in addInput_

* Add align check to addInput_
2021-08-13 17:32:26 -07:00
Maribeth Bottorff
50e470ccb1 Quiet the typings script unless you tell it to be verbose. (#5359) 2021-08-12 10:15:35 -07:00
dependabot[bot]
f0554606c9 Bump @blockly/dev-tools from 2.5.3 to 2.5.4 (#5355)
Bumps [@blockly/dev-tools](https://github.com/google/blockly-samples/tree/HEAD/plugins/dev-tools) from 2.5.3 to 2.5.4.
- [Release notes](https://github.com/google/blockly-samples/releases)
- [Commits](https://github.com/google/blockly-samples/commits/@blockly/dev-tools@2.5.4/plugins/dev-tools)

---
updated-dependencies:
- dependency-name: "@blockly/dev-tools"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-12 14:08:39 +01:00
Rachel Fenichel
df389f2c6a Merge pull request #5354 from google/dependabot/npm_and_yarn/develop/concurrently-6.2.1
Bump concurrently from 6.2.0 to 6.2.1
2021-08-10 17:57:43 -07:00
dependabot[bot]
ed500ba617 Bump concurrently from 6.2.0 to 6.2.1
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v6.2.0...v6.2.1)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-11 00:50:57 +00:00
Rachel Fenichel
4285caabb8 Merge pull request #5301 from google/dependabot/npm_and_yarn/develop/blockly/theme-modern-2.1.22
Bump @blockly/theme-modern from 2.1.21 to 2.1.22
2021-08-10 17:49:25 -07:00
Rachel Fenichel
104097ebdf Merge pull request #5271 from google/dependabot/npm_and_yarn/develop/blockly/block-test-1.1.3
Bump @blockly/block-test from 1.1.2 to 1.1.3
2021-08-10 17:49:10 -07:00
kozbial
2a62c06a92 Update script to use python3 command 2021-08-10 16:43:08 -07:00
Neil Fraser
b35b8aa603 Copy IOS_xxx to DIALOG_xxx where none existed. 2021-08-05 10:39:22 -07:00
Neil Fraser
d627023c0c Recompile of JSON to JS messages.
New dialog OK/Cancel messages.
2021-08-05 10:39:22 -07:00
Neil Fraser
04302641ee Add dialog Ok/Cancel to Blockly's JSON
They are being moved from Blockly Games' JSON.
2021-08-05 10:39:22 -07:00
Neil Fraser
52d280e615 Recompile of JSON to JS messages.
Delete unused Klingon message.
Remove '.' from message that confusingly appears after a filename.
2021-08-05 10:39:22 -07:00
translatewiki.net
0e4f11404c Localisation updates from https://translatewiki.net. 2021-08-05 10:39:22 -07:00
Neil Fraser
ae39fb9e23 Add supressPrefixSuffix to if/else block
Alternatively, this could be done by using an extension, rather than JSON.  I have no preference.
Issue #5268.
2021-08-04 10:19:25 -07:00
dependabot[bot]
07ba10e334 Bump @blockly/theme-modern from 2.1.21 to 2.1.22
Bumps [@blockly/theme-modern](https://github.com/google/blockly-samples/tree/HEAD/plugins/theme-modern) from 2.1.21 to 2.1.22.
- [Release notes](https://github.com/google/blockly-samples/releases)
- [Commits](https://github.com/google/blockly-samples/commits/@blockly/theme-modern@2.1.22/plugins/theme-modern)

---
updated-dependencies:
- dependency-name: "@blockly/theme-modern"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-04 16:08:08 +00:00
dependabot[bot]
4b0dbc5a56 Bump eslint from 7.31.0 to 7.32.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.31.0 to 7.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.31.0...v7.32.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-04 09:07:00 -07:00
hpnrep6
4f7009a599 Fix Mutator editor block positions sometimes being out of place for an instant (#5210) 2021-08-02 10:32:22 -07:00
dependabot[bot]
6e39b50c31 Bump @blockly/block-test from 1.1.2 to 1.1.3
Bumps [@blockly/block-test](https://github.com/google/blockly-samples/tree/HEAD/plugins/block-test) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/google/blockly-samples/releases)
- [Commits](https://github.com/google/blockly-samples/commits/@blockly/block-test@1.1.3/plugins/block-test)

---
updated-dependencies:
- dependency-name: "@blockly/block-test"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 09:01:21 +00:00
dependabot[bot]
47e4d05f8a Bump @blockly/dev-tools from 2.5.2 to 2.5.3
Bumps [@blockly/dev-tools](https://github.com/google/blockly-samples/tree/HEAD/plugins/dev-tools) from 2.5.2 to 2.5.3.
- [Release notes](https://github.com/google/blockly-samples/releases)
- [Commits](https://github.com/google/blockly-samples/commits/@blockly/dev-tools@2.5.3/plugins/dev-tools)

---
updated-dependencies:
- dependency-name: "@blockly/dev-tools"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-29 12:33:57 -07:00
dependabot[bot]
3a2618cdb0 Bump @blockly/block-test from 1.1.1 to 1.1.2
Bumps [@blockly/block-test](https://github.com/google/blockly-samples/tree/HEAD/plugins/block-test) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/google/blockly-samples/releases)
- [Commits](https://github.com/google/blockly-samples/commits/@blockly/block-test@1.1.2/plugins/block-test)

---
updated-dependencies:
- dependency-name: "@blockly/block-test"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-29 12:33:47 -07:00
Aaron Dodson
04fe602635 Merge pull request #5240 from gonfunko/trash-flyout
Fix issue where the trashcan flyout would remain an active delete region even when closed with the continuous toolbox plugin
2021-07-29 08:44:53 -07:00
Aaron Dodson
3f7f137e00 Fix issue where the trashcan flyout would remain an active delete region even when closed with the continuous toolbox plugin 2021-07-28 15:16:31 -07:00
alschmiedt
cccc4693a5 Remove extra output from generator and mocha tests (#5196)
* Remove extra output from generator tests

* Fix test

* Update loglevel for both tests
2021-07-27 11:03:16 -07:00
dependabot[bot]
fe8c9761a1 Bump @blockly/theme-modern from 2.1.20 to 2.1.21
Bumps [@blockly/theme-modern](https://github.com/google/blockly-samples/tree/HEAD/plugins/theme-modern) from 2.1.20 to 2.1.21.
- [Release notes](https://github.com/google/blockly-samples/releases)
- [Commits](https://github.com/google/blockly-samples/commits/@blockly/theme-modern@2.1.21/plugins/theme-modern)

---
updated-dependencies:
- dependency-name: "@blockly/theme-modern"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 22:05:46 +01:00
dependabot[bot]
ce453ac08a Bump eslint from 7.29.0 to 7.31.0 (#5116)
Bumps [eslint](https://github.com/eslint/eslint) from 7.29.0 to 7.31.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.29.0...v7.31.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-22 17:40:01 -07:00
Maribeth Bottorff
f38c7825c8 Update package-lock to try to unstick dependabot (#5184)
* Update package-lock

* Don't upgrade webdriverio
2021-07-22 17:14:21 -07:00
Neil Fraser
2325c66d69 Fix double execution in Code demo (#5152)
* Fix double execution in Code demo

PR #5037  fixed double execution of the run button on mobile.  But the link button and other events still suffer from double execution.  This PR moves the fix from the run button to the central bind function so that it applies universally.

* Pass the event to the user function

Not used but good to have.
2021-07-21 19:17:00 -07:00
Monica Kozbial
96420f0daf Add command to deploy beta version of demos (#4958) 2021-07-21 11:53:52 -07:00
Maribeth Bottorff
69dbcf17a2 Only lint once in CI (#5128) 2021-07-19 18:14:23 -07:00
jschanker
e8c4af32b0 Permit single field disabling (#4932) (#4941)
* Permit single field disabling (https://github.com/google/blockly/issues/4932)

* Permit single field disabling (#4932)

* Fixed lint error (moved && to end of line and adjusted line breaks accordingly)

* Added XML Field (De)Serialization

* Call parent method in FieldDropdown's fromXml
* Added protected helper methods to handle serialization/deserialization of enabled property/attribute of fields
* Minor changes to annotations to account for field disabling and 4 spaces per line break per style guide

* Revert "Added XML Field (De)Serialization"

This reverts commit 1964e866b6.

* Comment style changes

* Comment reversions

* Indentation fix

* Indentation reversion
2021-07-19 18:02:20 -07:00
Christopher Allen
607c5e191b Ignore public/ directory; always serve repository root
By default http-server will serve ./public if it exists.  We
want it to always serve the repository root, so configure the
start script to specify that explicitly, so that the existence of
a public/ directory will not break things.
2021-07-19 17:42:23 +01:00
hpnrep6
13b0442f75 Fix code in code demo executing twice on mobile (#5037)
* Prevent code from executing twice on touchscreens
2021-07-16 10:42:09 -07:00
Aaron Dodson
dee1059a50 Merge pull request #5033 from gonfunko/update-metadata-2
Added script and workflow to automatically update build artifact sizes in check_metadata.sh
2021-07-14 13:21:42 -07:00
Aaron Dodson
8d33869a4a Gzip build output files in update_metadata.sh instead of update_metadata.yml. 2021-07-14 10:58:08 -07:00
Rachel Fenichel
2675f95910 Merge pull request #4950 from google/dependabot/npm_and_yarn/develop/google-closure-compiler-20210601.0.0
Bump google-closure-compiler from 20210505.0.0 to 20210601.0.0
2021-07-14 09:54:14 -07:00
Rachel Fenichel
5614ec9de6 Merge pull request #4982 from google/dependabot/npm_and_yarn/develop/typescript-4.3.5
Bump typescript from 4.3.2 to 4.3.5
2021-07-14 09:53:35 -07:00
jschanker
de1b3214be Enforce connection preconditions for setParent (#4999)
* Fix error conditions for setParent #4989

* Error now thrown when calling `a.setParent(b)` on non-null b if the output/previous connection of a is not connected to an input/next connection of b without removing block from old parent's child list.
* Commented out error for when calling `a.setParent(null)` if a is connected to superior block.
* Adjusted comment to reflect that blocks were no longer being disconnected in this method.
* Also changed == to === per #4924 (`newParent` and `this.parentBlock_` must both be instances of `Blockly.Block`).

* Fix error conditions for setParent #4989

* Error now thrown when calling `a.setParent(b)` on non-null b if the output/previous connection of a is not connected to an input/next connection of b without removing block from old parent's child list.
* Error now thrown when calling `a.setParent(null)` if a is connected to a superior block.
* Adjusted comment to reflect that blocks were no longer being disconnected in this method.
* Also changed == to === per #4924 (`newParent` and `this.parentBlock_` must both be instances of `Blockly.Block`).

* Fix error conditions for setParent #4989

* Error now thrown when calling `a.setParent(b)` on non-null b if the output/previous connection of a is not connected to an input/next connection of b without removing block from old parent's child list.
* Commented out error for when calling `a.setParent(null)` if a is connected to superior block.
* Adjusted comment to reflect that blocks were no longer being disconnected in this method.
* Also changed == to === per google#4924 (`newParent` and `this.parentBlock_` must both be instances of `Blockly.Block`).
* Fixed lint errors.

* Fix error conditions for setParent google#4989

* Error now thrown when calling `a.setParent(b)` on non-null b if the output/previous connection of a is not connected to an input/next connection of b without removing block from old parent's child list.
* Commented out error for when calling `a.setParent(null)` if a is connected to superior block.
* Adjusted comment to reflect that blocks were no longer being disconnected in this method.
* Also changed == to === per google#4924 (`newParent` and `this.parentBlock_` must both be instances of `Blockly.Block`).
* Fixed lint errors.
* Adjusted comment.

* Removed unnecessary set to null/added tests

* One is failing (commented out), will investigate later

* Lint fix

* Removed failing test that correctly fails

* Update comments to conform to style guide

Capitalize first letter, period at end
2021-07-13 13:56:42 -07:00