Commit Graph

7267 Commits

Author SHA1 Message Date
alschmiedt
7eed6a6302 chore: remove bootstrap sha for release please 2022-04-21 16:13:08 -07:00
Rachel Fenichel
7c7cfbea63 fix: improve types in touch code (#6099) 2022-04-21 15:53:45 -07:00
Tobias Weinert
5240301611 fix: dragging fails for collapsed blocks with Icons, which have been … (#6081)
* fix: 6076 "dragging fails" improved

* fix: "dragging fails (bug #6076)" tested version

* fix: "dragging fails (bug google#6076)" moved fix-code after L625
2022-04-21 14:01:11 -07:00
Aaron Dodson
29b6b878dc fix: Silence Closure errors when modifying tooltips. (#6098) 2022-04-21 13:22:21 -07:00
alschmiedt
eb0dbe1f15 chore: update release please to handle github releases (#6095) 2022-04-21 09:21:12 -07:00
dependabot[bot]
bddd35499f chore(deps): bump google-closure-deps from 20220104.0.0 to 20220301.0.0 (#6005)
Bumps [google-closure-deps](https://github.com/google/closure-library) from 20220104.0.0 to 20220301.0.0.
- [Release notes](https://github.com/google/closure-library/releases)
- [Commits](https://github.com/google/closure-library/compare/v20220104...v20220301)

---
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-04-20 14:42:02 -07:00
dependabot[bot]
3ec7e43bfb chore(deps): bump eslint from 8.9.0 to 8.13.0 (#6070)
Bumps [eslint](https://github.com/eslint/eslint) from 8.9.0 to 8.13.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.9.0...v8.13.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-04-20 14:39:28 -07:00
dependabot[bot]
5165261a54 chore(deps): bump google-github-actions/deploy-appengine (#6086)
Bumps [google-github-actions/deploy-appengine](https://github.com/google-github-actions/deploy-appengine) from 0.2.0 to 0.8.0.
- [Release notes](https://github.com/google-github-actions/deploy-appengine/releases)
- [Changelog](https://github.com/google-github-actions/deploy-appengine/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google-github-actions/deploy-appengine/compare/v0.2.0...v0.8.0)

---
updated-dependencies:
- dependency-name: google-github-actions/deploy-appengine
  dependency-type: direct:production
  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-04-20 14:36:14 -07:00
Rachel Fenichel
7353c61b2b fix: type error in uneditable bubbles (#6092) 2022-04-20 11:20:12 -07:00
dependabot[bot]
f30a64c1bf chore(deps): bump peter-evans/create-pull-request from 3.10.0 to 4.0.2 (#6087)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3.10.0 to 4.0.2.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](9825ae65b1...bd72e1b792)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  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-04-19 15:30:27 -07:00
Aaron Dodson
edc2a5cd0c fix: Fix compilation errors under Closure's strict mode (#6073)
* fix: Fix errors under strict compilation.

* fix: Fix tests that referenced properties converted to data attributes.

* fix: Incorporate feedback on resolving compiler errors.

* refactor: Revert changes to skew and translate attributes.

* refactor: Introduce LegacyContextMenuOption type to correspond to documented fields.

* refactor: Introduce PathLeftShape and PathDownShape vs casting to PuzzleTab/Notch.

* chore: Added nullability modifiers to type annotations.

* refactor: Export FlyoutItem directly.

* chore: clang-format renderers/zelos/drawer.js.
2022-04-19 14:17:17 -07:00
dependabot[bot]
b0612da6f3 chore(deps): bump actions/github-script from 5 to 6 (#6085)
Bumps [actions/github-script](https://github.com/actions/github-script) from 5 to 6.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  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-04-19 09:29:29 -07:00
alschmiedt
f8b6f5201b Merge pull request #6083 from google/master
chore: merge master into develop
2022-04-18 09:03:44 -07:00
Naveen
d2329f8cba chore: Included githubactions for dependabot (#6080)
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool

Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
2022-04-18 09:00:08 -07:00
Naveen
e0d81ef03d chore: Set permissions for GitHub actions (#6077)
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

 Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
2022-04-18 08:59:51 -07:00
Rachel Fenichel
9e2d17f144 chore(tests): delete test pages from rendering rewrite in 2019 (#6074) 2022-04-12 15:31:05 -07:00
Rachel Fenichel
37d3846eab chore(demos): delete more duplicated demos (#6067)
* chore(demos): delete headless demo

* chore(demos): delete mirror demo

* chore(demos): delete resizable demo

* chore(demos): delete rtl demo

* chore(demos): delete toolbox demo

* chore(demos): delete link to old accessibility experiment

* chore(demos): delete keyboard nav demo

* chore(demos): Update text on demo index page to poitn to blockly-samples
2022-04-08 10:59:17 -07:00
Rachel Fenichel
c289b629c5 chore(demos): delete some duplicated demos (#6066)
* chore(demos): delete codelab folder

* chore(demos): delete custom dialog demo

* chore(demos): delete custom fields demos

* chore(demos): delete fixed injection demo

* chore(demos): delete generator demo

* chore(demos): delete interpreter demos

* chore(demos): delete max blocks demo

* chore(demos): delete graph demo

* chore(demos): remove deleted demos from index.html
2022-04-07 17:04:36 -07:00
Neil Fraser
a202558950 feat: Add margin around zoomToFit (#6042)
* Add margin around zoomToFit

* Change configurable property to fixed constant.

* VS Code keeps indenting stuff for no reason.
2022-04-06 17:22:26 -07:00
Rachel Fenichel
7991c8aeb3 chore(demos): delete plane demo (#6064) 2022-04-05 16:38:28 -07:00
Beka Westberg
2e3913d327 chore: update renamings file for new release (#6063) 2022-04-05 14:43:57 +00:00
Beka Westberg
964fb43f9a chore: update renamings file for new release (#6063) 2022-04-04 15:40:50 -07:00
Maribeth Bottorff
44edbb89c3 fix: fix message loading from script tags (#6060) 2022-04-04 12:18:44 -07:00
Aaron Dodson
e36b23cc77 chore: Update sizes in check_metadata.sh (#6058) 2022-04-01 16:03:48 -07:00
Rachel Fenichel
6c4a62f03c chore(demos): redirect some demos to gh-pages (#6045) 2022-04-01 14:57:10 -07:00
Beka Westberg
493444c687 fix: mutators disconnecting from children instead of moving them (#6047)
* fix: mutators disconnecting from children instead of moving them

* fix: debug build
2022-04-01 13:03:04 -07:00
Maribeth Bottorff
55cae6ec85 fix: update extraState property in serializer typedefs (#6057)
* fix: add quotes to serializer typedefs

* fix: update typedef

Co-authored-by: Beka Westberg <bwestberg@google.com>

* fix: update typedef

Co-authored-by: Beka Westberg <bwestberg@google.com>

Co-authored-by: Beka Westberg <bwestberg@google.com>
2022-03-31 17:35:37 -07:00
Maribeth Bottorff
05b47e27d9 chore: fix screenshot lint (#6056)
* chore: fix screenshot lint

* chore: remove extra space
2022-03-31 14:34:33 -07:00
Christopher Allen
c42aede94d doc: Fix comment for loopTypes (#6055) 2022-03-31 19:17:57 +01:00
alschmiedt
2bf842ac65 Merge pull request #6054 from google/rc_2022_3
release: v8.0.0
8.0.0
2022-03-31 09:17:37 -07:00
alschmiedt
31f5a73fca Merge pull request #5888 from google/release-please--branches--develop--components--blockly
chore(develop): release blockly 8.0.0
blockly-v8.0.0
2022-03-31 08:58:00 -07:00
alschmiedt
d8c5a1d7ac Merge pull request #6053 from alschmiedt/rebuild_03_31_2022
release: rebuild for q1 2022 release
2022-03-31 08:38:22 -07:00
alschmiedt
d6e415ea74 release: rebuild 2022-03-31 08:30:20 -07:00
alschmiedt
95a058d6c8 Merge pull request #6052 from alschmiedt/Q1_2022_language_rollup
chore: rollup of Q4 2021 and Q1 2022 messages
2022-03-31 08:20:54 -07:00
alschmiedt
8d5f7d6151 chore: rollup of Q4 2021 and Q1 2022 messages 2022-03-31 08:02:03 -07:00
release-please[bot]
808fb99128 chore(develop): release blockly 8.0.0 2022-03-31 01:38:41 +00:00
Maribeth Bottorff
69f3d4ae89 fix: Update typings for q1 2022 release (#6051)
* fix: initial commit for typings for q1 2022 release

* fix: update interface declarations

* fix: remove spurious override

* fix: add explicit any type

* fix: remove spurious Array type

* fix: CopyData declaration

* fix: fix extra-state
2022-03-30 18:37:51 -07:00
alschmiedt
8d2e181b42 Merge pull request #6044 from google/master_into_develop
chore: merge master into develop
2022-03-29 16:04:08 -07:00
alschmiedt
10d9cc45d2 Merge branch 'develop' into master_into_develop 2022-03-29 15:25:39 -07:00
Beka Westberg
c4a25eb3c4 fix: revert "Delete events should animate when played (#5919)" (#6031)
* Revert "Delete events should animate when played (#5919)"

This reverts commit bce4c5e2c6.

* fix: lint in screenshot
2022-03-29 11:47:50 -07:00
Aaron Dodson
2cf8eb87dc fix: Fix bug where workspace comments could not be created. (#6024) 2022-03-28 15:56:30 -07:00
dependabot[bot]
058209796d chore(deps): bump minimist from 1.2.5 to 1.2.6 (#6027)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 15:09:57 -07:00
Aaron Dodson
ca6e590101 fix: Fix downloading screenshots on the playground. (#6025)
* fix: Fix downloading screenshots on the playground.

* fix: Resolve lint warning about unused variable.
2022-03-25 08:27:08 -07:00
Maribeth Bottorff
2c15d002ab fix: export Blockly.Names.NameType and Blockly.Input.Align correctly (#6030)
* fix: make NameType available externally

* fix: export Input.Align
2022-03-24 15:05:38 -07:00
alschmiedt
364bf14ce6 fix: advanced playground and playground to work when hosted (#6021) 2022-03-23 11:08:55 -07:00
Beka Westberg
c7a359a842 fix: undo/redo for auto disabling if-return blocks (#6018)
* fix: undo/redo for auto disabling if-return blocks

* fix: update inline docs
2022-03-23 08:48:40 -07:00
Beka Westberg
c4308007bc fix: always rename caller to legal name (#6014)
* fix: always rename caller to legal name

* fix: enable tests for non-matching callers which overlap names getting renamed

* fix: remove TODOs
2022-03-21 15:38:23 -07:00
Beka Westberg
7abf3de910 fix: playground test blocks, text area listeners, and show/hide buttons (#6015) 2022-03-21 14:12:47 -07:00
Christopher Allen
9d62f92a2f refactor(build): Prepare UMD wrapper generation for transition to ES modules (#5993)
* fix(build): Correctly handle out-of-order chunks

It turns out that closure-calculate-chunks does not guarantee that
calculated chunks will be output in the same order as the
entrypoints, so modify getChunkOptions so that it no longer makes
that assumption.

* refactor(build): Introduce NAMESPACE_PROPERTY; rename NAMESPACE_OBJECT

Rename the constant NAMESPACE_OBJECT to NAMESPACE_VARIABLE to
better explain its actual meaning, and introduce
NAMESPACE_PROPERTY to specify what property the namespace object
will be stored in (and change the previous value, "internal_",
to "__namespace__" to reduce the chance of conflicts with
properties created by the output of Closure Compiler).

* refactor(build): Always save namespace object on chunk exports object

This is so that chunks whose parent chunk is not the root chunk
(chunks[0]) can obtain the namespace object.  (See following commit.)

* fix(build): Correct handling of chunk dependencies

Previously getChunkOptions and chunkWrapper incorrectly assumed
that a chunk could have more than one dependency.

In fact, each chunk can have only a single dependency, which is
its parent chunk.  It is used only to retrieve the namespace
object, which is saved on to the exports object for the chunk so
that any child chunk(s) can obtain it.

Update getChunkOptions and chunkWrapper (making the latter
longer but more readable) accordingly.

* refactor(build): Rename/repurpose chunk.exports -> .reexport

And remove chunk.importAs, since it was no longer being used
anywhere.

* fix: remove unnecessary s from reexports

Co-authored-by: alschmiedt <aschmiedt@google.com>
2022-03-21 13:10:48 -07:00
alschmiedt
98d619b46e chore: update PR template to include formatting info (#5839) 2022-03-21 09:20:45 -07:00