Commit Graph

7263 Commits

Author SHA1 Message Date
Maribeth Bottorff
55a7076624 Merge pull request #6334 from maribethb/msg-patch
fix: Update message loading to work for wrapped and unwrapped message files.
blockly-v8.0.5
2022-08-10 13:47:21 -07:00
Maribeth Bottorff
a6aa0e2187 release: rebuild and reversion for patch 2022-08-10 13:34:00 -07:00
Maribeth Bottorff
c3af8deef3 fix: Make message files work in unpackaged mode, and rebuild msg files
(cherry picked from commit 4b1bb8c7b6)
2022-08-10 12:52:51 -07:00
Maribeth Bottorff
da8e486995 Merge pull request #6289 from maribethb/patch-msg
fix: message loading by fixing dependencies
2022-08-02 10:55:50 -07:00
Maribeth Bottorff
7306d1b359 chore: rebuild for release 2022-07-27 14:07:55 -07:00
Beka Westberg
c0f81c2007 fix: fix message loading by removing vestgial dependency (#6219)
(cherry picked from commit 334956be9b)
2022-07-27 13:58:48 -07:00
Beka Westberg
61322294da chore: enable ts for the clang-format workflow (#6225) 2022-06-21 07:00:25 -07:00
Beka Westberg
e1bfbfa8cd Merge pull request #6210 from BeksOmega/rc/8.0.4
fix: message loading
blockly-v8.0.4
2022-06-13 15:44:29 -07:00
Beka Westberg
c137801d6c fix: update versions 2022-06-13 21:27:11 +00:00
Beka Westberg
4bb3f879ee chore: rebuild message files 2022-06-13 21:24:55 +00:00
Beka Westberg
188ba985cc fix: loading messages from script tags. (#6184)
* fix: loading messages in the browser

* chore: fix comment

* fix: change unwrapped message files to write to a new object, rather than Blockly.Msg

* fix: fixup exports

* fix: PR comments

* fix: change to use for-in loop

* fix: ES6 compatibility and formatting
2022-06-13 21:22:17 +00:00
Maribeth Bottorff
24a808d54e chore: update version number for patch release (#6201)
* chore: update version number for patch release

* chore: update package-lock

* chore: rebuild to update version number
blockly-v8.0.3
2022-06-08 13:55:45 -07:00
Maribeth Bottorff
d61f4cad8d fix: Fix errors in TS declarations with blocks and generators (#6200) 2022-06-08 13:39:18 -07:00
Beka Westberg
7c762084f9 chore: update PR template for test requirements (#6183)
* chore: update PR template for test requirements

* fix: PR comments
2022-06-02 14:54:25 -07:00
Beka Westberg
b92cbd3b91 Merge pull request #6158 from BeksOmega/patch/8.0.2
fix: bump version to 8.0.2
blockly-v8.0.2
2022-05-09 09:37:37 -07:00
Beka Westberg
5620515ad6 fix: bump version to 8.0.2 2022-05-09 15:38:33 +00:00
dependabot[bot]
4937346b31 chore(deps): bump ejs from 3.1.6 to 3.1.7 (#6127)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.7)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-05 10:12:13 -07:00
Beka Westberg
7eebd78b5d Merge pull request #6126 from BeksOmega/patch/json-serialization
fix: JSON deserialization of certain collapsed blocks
blockly-v8.0.1
2022-04-28 13:36:28 -07:00
Beka Westberg
f21b9dbbf9 fix: checkin built files 2022-04-28 14:22:56 +00:00
Beka Westberg
b5c4494e6a fix: update package files 2022-04-28 14:20:03 +00:00
Tobias Weinert
75a071e5a9 fix: JSON deserialization fails (bug #6091) (collapsed procedure call… (#6103)
* fix: JSON deserialization fails (bug #6091) (collapsed procedure call blocks)

* fix: JSON deserialization fails (bug #6091) changed fix, added tests (collapsed procedure call blocks)
2022-04-28 14:17:48 +00:00
Tobias Weinert
f5206d4565 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-28 14:16:44 +00: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
Beka Westberg
2e3913d327 chore: update renamings file for new release (#6063) 2022-04-05 14:43:57 +00: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
alschmiedt
243fc52a96 fix: opening/closing the mutators (#6000) 2022-03-21 08:43:46 -07:00
YAMADA Yutaka
85ce3b82c6 fix: comments not being restored when dragging (#6011)
* fix comment deserialization

* add restore comment test

* Fix comment.

* fix: Modify test structure.
2022-03-21 07:51:51 -07:00
Beka Westberg
e502eaa6e1 fix: incorrect module for event data in renamings database (#6012) 2022-03-18 11:06:24 -07:00
dependabot[bot]
cefb505536 chore(deps): bump @wdio/selenium-standalone-service (#6006)
Bumps [@wdio/selenium-standalone-service](https://github.com/webdriverio/webdriverio) from 7.16.16 to 7.18.0.
- [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.16...v7.18.0)

---
updated-dependencies:
- dependency-name: "@wdio/selenium-standalone-service"
  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-03-17 13:33:53 -07:00