Commit Graph

7314 Commits

Author SHA1 Message Date
alschmiedt
55c176623e chore(deps): bump @blockly/block-test from 1.1.5 to 2.0.1 (#5836) (#5856)
Bumps [@blockly/block-test](https://github.com/google/blockly-samples/tree/HEAD/plugins/block-test) from 1.1.5 to 2.0.1.
- [Release notes](https://github.com/google/blockly-samples/releases)
- [Commits](https://github.com/google/blockly-samples/commits/@blockly/block-test@2.0.1/plugins/block-test)

---
updated-dependencies:
- dependency-name: "@blockly/block-test"
  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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-07 10:22:02 -08:00
Rachel Fenichel
07a75dee8d fix: msg imports in type definitions (#5858)
This is a copy of https://github.com/google/blockly/pull/5846/files against master, which will fix https://github.com/google/blockly/issues/5841 in the next patch release.

When we released v7 we committed to making patch releases for typescript definition errors, since our pipeline for typings was convoluted this quarter.
2022-01-07 10:11:13 -08:00
Rachel Fenichel
df2eafb8dd refactor: move properties into constructors and convert to classes (#5822)
* refactor: move properties to constructor in block_drag_surface.js

* refactor: move properties to constructor in block_svg.js

* refactor: move properties to constructor in block.js

* refactor: move properties to constructor in bubble.js

* refactor: move properties to constructor in connection.js

* refactor: move properties to constructor in flyout_base.js

* refactor: move properties to constructor in flyout_button.js

* refactor: move properties to constructor in generator.js

* refactor: move properties to constructor in grid.js

* refactor: move properties to constructor in input.js

* refactor: move properties to constructor in mutator.js

* refactor: move properties to constructor in scrollbar.js

* refactor: move properties to constructor in trashcan.js

* refactor: move properties to constructor in warning.js

* refactor: move properties to constructor in workspace_audio.js

* refactor: move properties to constructor in workspace_drag_surface_svg.js

* refactor: move properties to constructor in workspace_svg.js

* refactor: move properties to constructor in workspace.js

* refactor: move properties to constructor in zoom_controls.js

* chore: rebuild

* refactor: convert zoom_controls.js to es6 class and format

* refactor: convert workspace_audio.js to es6 class and format

* refactor: convert workspace_dragger.js to es6 class and format

* refactor: convert workspace_drag_surface_svg.js to es6 class and format

* refactor: convert variable_model.js to es6 class and format

* refactor: convert variable_map.js to es6 class and format

* refactor: convert theme.js to es6 class and format

* chore: remove bad comment
2022-01-06 13:13:40 -08:00
dependabot[bot]
69642f74ea chore(deps): bump google-closure-deps from 20211107.0.0 to 20211201.0.0 (#5852)
Bumps [google-closure-deps](https://github.com/google/closure-library) from 20211107.0.0 to 20211201.0.0.
- [Release notes](https://github.com/google/closure-library/releases)
- [Commits](https://github.com/google/closure-library/compare/v20211107...v20211201)

---
updated-dependencies:
- dependency-name: google-closure-deps
  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>
2022-01-06 11:32:03 -08:00
alschmiedt
2adf326c23 fix: update the playground to load compressed when hosted (#5835) 2022-01-06 11:28:27 -08:00
dependabot[bot]
18b56d5da8 chore(deps): bump eslint from 8.4.1 to 8.6.0 (#5850)
Bumps [eslint](https://github.com/eslint/eslint) from 8.4.1 to 8.6.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.4.1...v8.6.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>
2022-01-06 10:53:45 -08:00
dependabot[bot]
b124610bd7 chore(deps): bump concurrently from 6.4.0 to 7.0.0 (#5847)
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 6.4.0 to 7.0.0.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v6.4.0...v7.0.0)

---
updated-dependencies:
- dependency-name: concurrently
  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>
2022-01-06 10:47:24 -08:00
dependabot[bot]
5cef21b55c chore(deps): bump webdriverio from 7.16.10 to 7.16.12 (#5824)
Bumps [webdriverio](https://github.com/webdriverio/webdriverio) from 7.16.10 to 7.16.12.
- [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.16.10...v7.16.12)

---
updated-dependencies:
- dependency-name: webdriverio
  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>
2022-01-06 10:43:23 -08:00
Neil Fraser
769a25f4ba fix: Don't throw if drag surface is empty. (#5695)
Observed this error in Blockly Games Bird 6 (Chrome OS):
Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.
It has only shown up once, and I can't reproduce, but it looks like the drag surface was being cleared while empty.  Maybe some weird multi-touch operation?

Open question: Leave the code as is so that the error is thown and visible, or supress it?
2022-01-06 10:42:32 -08:00
dependabot[bot]
4b2b658f3e chore(deps): bump closure-calculate-chunks from 3.0.2 to 3.0.3 (#5815)
Bumps [closure-calculate-chunks](https://github.com/chadkillingsworth/closure-calculate-chunks) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/chadkillingsworth/closure-calculate-chunks/releases)
- [Commits](https://github.com/chadkillingsworth/closure-calculate-chunks/compare/v3.0.2...v3.0.3)

---
updated-dependencies:
- dependency-name: closure-calculate-chunks
  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>
2022-01-06 10:41:12 -08:00
dependabot[bot]
9b63fd9397 chore(deps): bump @blockly/theme-modern from 2.1.24 to 2.1.25 (#5837)
Bumps [@blockly/theme-modern](https://github.com/google/blockly-samples/tree/HEAD/plugins/theme-modern) from 2.1.24 to 2.1.25.
- [Release notes](https://github.com/google/blockly-samples/releases)
- [Commits](https://github.com/google/blockly-samples/commits/@blockly/theme-modern@2.1.25/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>
2022-01-06 10:35:48 -08:00
Beka Westberg
5204569cff fix: bumping a block after duplicate breaking undo (#5844)
* fix: bumping a block after duplicate breaking undo

* fix: fixup dependencies
2022-01-06 10:08:43 -08:00
Beka Westberg
8a71f87950 fix: procedure param edits breaking undo (#5845) 2022-01-04 15:07:41 -08:00
alschmiedt
835fb02343 fix: setting null for a font style on a theme (#5831) 2022-01-04 15:06:41 -08:00
Rachel Fenichel
b5abb3e644 chore(release): add release-please config (#5848) 2022-01-04 15:00:14 -08:00
dependabot[bot]
b58dc05d1c chore(deps): bump @blockly/block-test from 1.1.5 to 2.0.1 (#5836)
Bumps [@blockly/block-test](https://github.com/google/blockly-samples/tree/HEAD/plugins/block-test) from 1.1.5 to 2.0.1.
- [Release notes](https://github.com/google/blockly-samples/releases)
- [Commits](https://github.com/google/blockly-samples/commits/@blockly/block-test@2.0.1/plugins/block-test)

---
updated-dependencies:
- dependency-name: "@blockly/block-test"
  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-12-21 13:40:22 -08:00
dependabot[bot]
bf4e640b28 chore(deps): bump google-closure-compiler (#5810)
Bumps [google-closure-compiler](https://github.com/google/closure-compiler-npm) from 20211107.0.0 to 20211201.0.0.
- [Release notes](https://github.com/google/closure-compiler-npm/releases)
- [Commits](https://github.com/google/closure-compiler-npm/compare/v20211107.0.0...v20211201.0.0)

---
updated-dependencies:
- dependency-name: google-closure-compiler
  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-12-21 13:39:24 -08:00
dependabot[bot]
7af05012ff chore(deps): bump typescript from 4.5.2 to 4.5.4 (#5825)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.2 to 4.5.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.2...v4.5.4)

---
updated-dependencies:
- dependency-name: typescript
  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-12-21 13:20:50 -08:00
ChrisJaunes
e8ea2e9902 fix: Fixed the label closure on demo/blockfactory (#5833)
* fix: Fixed the label closure on demo/blockfactory

* fix: remove </input> on demo/blockfactory
2021-12-21 08:49:35 -08:00
Mark Friedman
68d81132b8 fix: change getCandidate_ and showInsertionMarker_ to be more dynamic (#5722)
* Change getCandidate_ and showInsertionMarker_ to be more dynamic

* Ran clang formatter

* Fix typos

* Fix issue with dragging stacks

* From PR comment
2021-12-15 15:46:17 -08:00
Rachel Fenichel
4e87be7069 chore: clean up issue templates and pull request templates (#5827) 2021-12-15 14:53:26 -08:00
alschmiedt
4be78910e8 Merge pull request #5828 from alschmiedt/add_package_lock
chore: update the package-lock
7.20211209.1
2021-12-15 14:06:57 -08:00
alschmiedt
876afb79f3 chore: update the package-lock 2021-12-15 13:47:31 -08:00
alschmiedt
81e5931d53 Merge pull request #5826 from alschmiedt/patch_2021
chore: patch release 1 for Q4 2021
2021-12-15 13:42:39 -08:00
alschmiedt
d43e524905 chore: cleanup 2021-12-15 13:38:48 -08:00
alschmiedt
7daf693f9d chore: update to the correct version 2021-12-15 13:36:33 -08:00
alschmiedt
553f8bcd1e chore: update build files for patch release 2021-12-15 13:26:34 -08:00
alschmiedt
620e43e138 chore: update the dev-tools version (#5823) 2021-12-15 13:11:32 -08:00
Rachel Fenichel
0e5f3ce607 fix: re-expose HSV_VALUE and HSV_SATURATION as settable properties on Blockly (#5821) 2021-12-15 13:11:25 -08:00
Maribeth Bottorff
b8cc983324 fix: Use correct namespace for svgMath functions (#5813) 2021-12-15 13:11:19 -08:00
alschmiedt
da07cbdcbf chore: update the dev-tools version (#5823) 2021-12-15 11:41:13 -08:00
Rachel Fenichel
6fc3316309 fix: re-expose HSV_VALUE and HSV_SATURATION as settable properties on Blockly (#5821) 2021-12-14 11:51:03 -08:00
Aaron Dodson
2e57d5e45a docs: Update README to reflect next release date (#5820) 2021-12-14 10:41:25 -08:00
Maribeth Bottorff
025bab6566 fix: Use correct namespace for svgMath functions (#5813) 2021-12-13 14:56:22 -08:00
Maribeth Bottorff
0a96543a11 fix: fix keycodes type (#5805) 2021-12-13 14:56:05 -08:00
dependabot[bot]
cc3a1eea90 chore(deps): bump typescript from 4.4.4 to 4.5.2 (#5725)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.4 to 4.5.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.4...v4.5.2)

---
updated-dependencies:
- dependency-name: typescript
  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-12-10 17:21:49 +00:00
dependabot[bot]
c14a88945e chore(deps): bump eslint from 7.32.0 to 8.4.1 (#5807)
Bumps [eslint](https://github.com/eslint/eslint) from 7.32.0 to 8.4.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.32.0...v8.4.1)

---
updated-dependencies:
- dependency-name: eslint
  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-12-10 10:24:05 +00:00
Christopher Allen
ec6bf32ade chore(deps): Remove dependency on babel-eslint; simplify eslintrc for mocha tests (#5794)
* chore(deps): Remove deprecated babel-lint package

  When dependabot submitted PR #5791, it became apparent that eslint
  version >= 8 is incompatible with babel-eslint v10.1.0 despite the
  latter not having a version restriction against it.  This is probably
  because v10.1.0 is the last version of the package before it was
  deprecated and renamed @babel/eslint-parser.

  A little more investigation determined that there is no longer any
  need to have eslint use a non-default parser for tests/mocha/**/*.js,
  so the most straight forward solution is just to remove the dependency
  entirely.

* refactor(tests): Simplify tests/mocha/.eslintrc.json

  Remove all rules that seem to be redundant with our top-level
  .eslintrc.json.

  This finishes reverting most of the changes made in PR #4062.
2021-12-10 10:08:39 +00:00
Aaron Dodson
6ed2b6a31f chore: Update metadata for December 2021 (#5811) 2021-12-09 13:18:21 -08:00
Maribeth Bottorff
428574d499 release: Merge pull request #5809 from google/master
release: Merge master into develop 7.20211209.0
2021-12-09 12:56:15 -08:00
Maribeth Bottorff
02a57122de Merge pull request #5808 from google/rc_2021_12
release: Rc 2021 12
7.20211209.0
2021-12-09 12:48:02 -08:00
Rachel Fenichel
bb9b64e081 chore(deps): Update package-lock.json 2021-12-09 12:41:26 -08:00
Maribeth Bottorff
297ae3dbf7 Merge branch 'master' into rc_2021_12 2021-12-09 12:09:52 -08:00
Maribeth Bottorff
ed4bb0eeb8 Merge pull request #5806 from maribethb/rebuild_12_9_2021
release: rebuild for 7.20211209.0 release
2021-12-09 11:33:37 -08:00
Maribeth Bottorff
de7daacf96 Rebuild 2021-12-09 11:17:40 -08:00
Maribeth Bottorff
1fb204e36b fix: Upload new TypeScript typings for Q4 release (#5802)
* fix: Run intial typings script for q4 release

* fix: manually fix errors with types

* fix: update core module
2021-12-09 10:43:43 -08:00
Maribeth Bottorff
64107ccb04 fix: don't use fully qualified namespace in aria (#5804) 2021-12-09 10:40:12 -08:00
Maribeth Bottorff
98f94707ac fix: allow undefined color in toolbox definition (#5801) 2021-12-08 18:17:19 -08:00
Maribeth Bottorff
7784eac9be chore!: Add deprecation notices to values in blockly.js (#5555)
* Add deprecation warnings and reorganize blockly.js

* Update usages of deprecated properties

* chore: make dates consistent, remove extra function

* chore: run clang-format and fix lint

* chore: add more  tags

* chore: fix updated location of Align types

* chore: fix deprecated usages in tests

* chore: rebuild deps

* chore: fix moved Align types in demos and tests

* chore: update which properties are actually deprecated

* chore: don't deprecate Blockly.selected.
2021-12-08 18:16:13 -08:00
Rachel Fenichel
243d1e9608 fix: multi-playground should use goog.require to get blocks. (#5797) 2021-12-08 09:27:46 -08:00