Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/vrwn 5712 update blockly from goolge blockly q3 2022 #110

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1420 commits
Select commit Hold shift + click to select a range
3e98781
chore(build): Update compiler & linter input language to ES2020 (#5745)
cpcallen Nov 30, 2021
b21130a
refactor: Migrate `blocks/procedures.js` to goog.module syntax (#5736)
cpcallen Nov 30, 2021
1a99238
refactor: Migrate `blocks/lists.js` to `goog.module` syntax (#5746)
cpcallen Nov 30, 2021
4db047f
chore: fix missing requires in generators (#5744)
rachel-fenichel Nov 30, 2021
8ef0b20
feat: clarify variable and procedure constants (#5743)
rachel-fenichel Nov 30, 2021
2ca6740
refactor: Migrate `blocks/logic.js` to `goog.module` syntax (#5748)
cpcallen Nov 30, 2021
341dba5
fix: Prevent error when maxTrashcanContents is 0 (#5739)
NeilFraser Nov 30, 2021
af2bf58
refactor: migrate `generators/dart.js` to `goog.module` syntax (#5749)
rachel-fenichel Nov 30, 2021
780198e
chore: revert #5730 (#5740)
alschmiedt Nov 30, 2021
874bbc1
refactor: convert some js block generators to goog.module (#5750)
rachel-fenichel Nov 30, 2021
208d200
refactor: Migrate `blocks/loops.js` to `goog.module` syntax (#5755)
cpcallen Nov 30, 2021
47c8210
fix: procedure callers now remove inputs properly (#5751)
alschmiedt Dec 1, 2021
d999151
refactor: convert generators/javascript/procedures.js to goog.module …
rachel-fenichel Dec 1, 2021
e11fe34
refactor: convert some js block generators to goog.module (#5756)
rachel-fenichel Dec 1, 2021
93a1bce
refactor: convert generators/javascript/loops.js to goog.module (#5758)
rachel-fenichel Dec 1, 2021
37a1e97
refactor: convert some block generators to goog.module (#5762)
rachel-fenichel Dec 1, 2021
d7b82cd
refactor: Migrate `blocks/math.js` to `goog.module` syntax (#5765)
cpcallen Dec 1, 2021
a939fec
refactor: convert some block generators to goog.module (#5769)
rachel-fenichel Dec 1, 2021
c0517ea
refactor: convert some block generators to goog.module (#5770)
rachel-fenichel Dec 2, 2021
9314992
refactor: convert python block generators to goog.module (#5771)
rachel-fenichel Dec 2, 2021
ee18553
refactor: Migrate `blocks/text.js` to `goog.module` syntax (#5766)
cpcallen Dec 2, 2021
35279eb
chore: correctly updates the compiled flag (#5767)
alschmiedt Dec 2, 2021
da16a66
refactor: msg.js: use named export, remove declareLegacyNamespace (#5…
cpcallen Dec 2, 2021
5515afc
chore: Remove declareLegacyNamespace from serialization folder (#5757)
alschmiedt Dec 2, 2021
7d7bd75
refactor: Migrate `blocks/variables.js` to `goog.module` syntax (#5774)
cpcallen Dec 2, 2021
6128f2d
feat: make checkAndDelete a public API (#5772)
alschmiedt Dec 2, 2021
0493011
fix: the advanced playground to work with dec 2021 release (#5775)
alschmiedt Dec 3, 2021
719e0fb
chore: updates the names for parsing (#5778)
alschmiedt Dec 3, 2021
8b3635a
chore: Simplify NPM package wrappers, improve chunk wrapper generator…
cpcallen Dec 3, 2021
c93e1df
deprecate!: removes deprecated connection functions (#5713)
alschmiedt Dec 3, 2021
b08187c
refactor: Migrate `blocks/variables_dynamic.js` to `goog.module` synt…
cpcallen Dec 3, 2021
b52c017
chore: Fix inadvertent block migration inconsistencies (#5780)
cpcallen Dec 3, 2021
3d7262f
fix(tests): Fix & reenable the advanced compilation test (#5781)
cpcallen Dec 3, 2021
8635942
chore(test): Add playground that uses compressed files (#5782)
rachel-fenichel Dec 3, 2021
3770f20
chore(deps): remove dependency on typescript-closure-tools (#5776)
rachel-fenichel Dec 3, 2021
5a70f8a
chore(test): add version of multi_playground with compressed files (#…
rachel-fenichel Dec 3, 2021
10cfc11
chore: Remove `core/requires.js` (#5718)
cpcallen Dec 6, 2021
4a8668a
release: merge master into develop (#5792)
rachel-fenichel Dec 7, 2021
243d1e9
fix: multi-playground should use goog.require to get blocks. (#5797)
rachel-fenichel Dec 8, 2021
7784eac
chore!: Add deprecation notices to values in blockly.js (#5555)
maribethb Dec 9, 2021
98f9470
fix: allow undefined color in toolbox definition (#5801)
maribethb Dec 9, 2021
64107cc
fix: don't use fully qualified namespace in aria (#5804)
maribethb Dec 9, 2021
1fb204e
fix: Upload new TypeScript typings for Q4 release (#5802)
maribethb Dec 9, 2021
de7daac
Rebuild
maribethb Dec 9, 2021
ed4bb0e
Merge pull request #5806 from maribethb/rebuild_12_9_2021
maribethb Dec 9, 2021
297ae3d
Merge branch 'master' into rc_2021_12
maribethb Dec 9, 2021
bb9b64e
chore(deps): Update package-lock.json
rachel-fenichel Dec 9, 2021
02a5712
Merge pull request #5808 from google/rc_2021_12
maribethb Dec 9, 2021
428574d
release: Merge pull request #5809 from google/master
maribethb Dec 9, 2021
6ed2b6a
chore: Update metadata for December 2021 (#5811)
gonfunko Dec 9, 2021
ec6bf32
chore(deps): Remove dependency on `babel-eslint`; simplify eslintrc f…
cpcallen Dec 10, 2021
c14a889
chore(deps): bump eslint from 7.32.0 to 8.4.1 (#5807)
dependabot[bot] Dec 10, 2021
cc3a1ee
chore(deps): bump typescript from 4.4.4 to 4.5.2 (#5725)
dependabot[bot] Dec 10, 2021
0a96543
fix: fix keycodes type (#5805)
maribethb Dec 13, 2021
025bab6
fix: Use correct namespace for svgMath functions (#5813)
maribethb Dec 13, 2021
2e57d5e
docs: Update README to reflect next release date (#5820)
gonfunko Dec 14, 2021
6fc3316
fix: re-expose HSV_VALUE and HSV_SATURATION as settable properties on…
rachel-fenichel Dec 14, 2021
da07cbd
chore: update the dev-tools version (#5823)
alschmiedt Dec 15, 2021
b8cc983
fix: Use correct namespace for svgMath functions (#5813)
maribethb Dec 13, 2021
0e5f3ce
fix: re-expose HSV_VALUE and HSV_SATURATION as settable properties on…
rachel-fenichel Dec 14, 2021
620e43e
chore: update the dev-tools version (#5823)
alschmiedt Dec 15, 2021
553f8bc
chore: update build files for patch release
alschmiedt Dec 15, 2021
7daf693
chore: update to the correct version
alschmiedt Dec 15, 2021
d43e524
chore: cleanup
alschmiedt Dec 15, 2021
81e5931
Merge pull request #5826 from alschmiedt/patch_2021
alschmiedt Dec 15, 2021
876afb7
chore: update the package-lock
alschmiedt Dec 15, 2021
4be7891
Merge pull request #5828 from alschmiedt/add_package_lock
alschmiedt Dec 15, 2021
4e87be7
chore: clean up issue templates and pull request templates (#5827)
rachel-fenichel Dec 15, 2021
68d8113
fix: change getCandidate_ and showInsertionMarker_ to be more dynamic…
mark-friedman Dec 15, 2021
e8ea2e9
fix: Fixed the label closure on demo/blockfactory (#5833)
ChrisJaunes Dec 21, 2021
7af0501
chore(deps): bump typescript from 4.5.2 to 4.5.4 (#5825)
dependabot[bot] Dec 21, 2021
bf4e640
chore(deps): bump google-closure-compiler (#5810)
dependabot[bot] Dec 21, 2021
b58dc05
chore(deps): bump @blockly/block-test from 1.1.5 to 2.0.1 (#5836)
dependabot[bot] Dec 21, 2021
b5abb3e
chore(release): add release-please config (#5848)
rachel-fenichel Jan 4, 2022
835fb02
fix: setting null for a font style on a theme (#5831)
alschmiedt Jan 4, 2022
8a71f87
fix: procedure param edits breaking undo (#5845)
BeksOmega Jan 4, 2022
5204569
fix: bumping a block after duplicate breaking undo (#5844)
BeksOmega Jan 6, 2022
9b63fd9
chore(deps): bump @blockly/theme-modern from 2.1.24 to 2.1.25 (#5837)
dependabot[bot] Jan 6, 2022
4b2b658
chore(deps): bump closure-calculate-chunks from 3.0.2 to 3.0.3 (#5815)
dependabot[bot] Jan 6, 2022
769a25f
fix: Don't throw if drag surface is empty. (#5695)
NeilFraser Jan 6, 2022
5cef21b
chore(deps): bump webdriverio from 7.16.10 to 7.16.12 (#5824)
dependabot[bot] Jan 6, 2022
b124610
chore(deps): bump concurrently from 6.4.0 to 7.0.0 (#5847)
dependabot[bot] Jan 6, 2022
18b56d5
chore(deps): bump eslint from 8.4.1 to 8.6.0 (#5850)
dependabot[bot] Jan 6, 2022
2adf326
fix: update the playground to load compressed when hosted (#5835)
alschmiedt Jan 6, 2022
69642f7
chore(deps): bump google-closure-deps from 20211107.0.0 to 20211201.0…
dependabot[bot] Jan 6, 2022
df2eafb
refactor: move properties into constructors and convert to classes (#…
rachel-fenichel Jan 6, 2022
07a75de
fix: msg imports in type definitions (#5858)
rachel-fenichel Jan 7, 2022
55c1766
chore(deps): bump @blockly/block-test from 1.1.5 to 2.0.1 (#5836) (#5…
alschmiedt Jan 7, 2022
5a4e30a
release: update files for Q4 2021 patch release (#5859)
alschmiedt Jan 7, 2022
9d8eeb3
refactor: convert some files to es6 classes (#5861)
rachel-fenichel Jan 7, 2022
6ee6389
chore: declare properties in the constructor instead of at first use …
rachel-fenichel Jan 7, 2022
1c74679
refactor: convert some files to es6 classes (#5863)
rachel-fenichel Jan 10, 2022
29fb7b7
refactor: convert leaf event classes to es6 classes (#5870)
rachel-fenichel Jan 12, 2022
f5caf96
refactor: convert renderer classes to es6 classes (#5874)
rachel-fenichel Jan 14, 2022
23a19f8
chore(deps): bump @blockly/dev-tools from 3.0.1 to 3.0.3 (#5877)
dependabot[bot] Jan 18, 2022
1bac2ef
chore(deps): bump google-closure-compiler (#5865)
dependabot[bot] Jan 18, 2022
1572fe8
chore(deps): bump yargs from 17.3.0 to 17.3.1 (#5851)
dependabot[bot] Jan 18, 2022
0563680
chore(deps): bump mocha from 9.1.3 to 9.1.4 (#5882)
dependabot[bot] Jan 18, 2022
789c7f7
chores(deps): Update follow-redirects to 1.14.7 to fix CVE-2022-0155.…
cpcallen Jan 18, 2022
c6c6822
chore(deps): Update follow-redirects to 1.14.7 to fix CVE-2022-0155 (…
cpcallen Jan 18, 2022
7b64536
chore(deps): bump http-server from 14.0.0 to 14.1.0 (#5881)
dependabot[bot] Jan 19, 2022
050c89d
chore: configure release-please as a bot, not an action (#5886)
rachel-fenichel Jan 19, 2022
3ec70fd
chore(deps): bump @wdio/selenium-standalone-service (#5878)
dependabot[bot] Jan 19, 2022
423d2e5
chore: add release-please config on master (#5887)
rachel-fenichel Jan 19, 2022
bf0f4d9
chore(deps): bump eslint from 8.6.0 to 8.7.0 (#5884)
dependabot[bot] Jan 19, 2022
f0b1077
refactor!: remove unused constants from internalConstants (#5889)
alschmiedt Jan 21, 2022
004d12e
chore(deps): bump typescript from 4.5.4 to 4.5.5 (#5895)
dependabot[bot] Jan 24, 2022
e3207ff
chore(deps): bump webdriverio from 7.16.12 to 7.16.13 (#5883)
dependabot[bot] Jan 24, 2022
5d7c890
fix: TypeScript exporting of the serialization functions (#5890)
AndrewWyer-Dover Jan 25, 2022
3f4f505
fix: Adds check for changedTouches (#5869)
alschmiedt Jan 25, 2022
efdb654
refactor: convert some classes to es6 classes (#5873)
rachel-fenichel Jan 25, 2022
f68043d
chore(build): add a script to run the ts compiler and send the new fi…
rachel-fenichel Jan 25, 2022
a31003f
fix(generators): Fix an operator precedence issue in the math_number_…
RichDoherty Jan 27, 2022
1f6a1bd
chore: Use ES6 template strings in CSS and code generators (#5902)
NeilFraser Jan 29, 2022
9b06fc8
chore(deps): bump eslint from 8.7.0 to 8.8.0 (#5905)
dependabot[bot] Jan 31, 2022
74ef1cb
fix!: Export loopTypes from Blockly.blocks.loops (#5900)
cpcallen Jan 31, 2022
ffb8907
feature(blocks): Export block definitions (#5908)
cpcallen Jan 31, 2022
0690a1a
chore(deps): bump @blockly/theme-modern from 2.1.25 to 2.1.27 (#5906)
dependabot[bot] Feb 1, 2022
75238ba
chore(deps): bump @blockly/block-test from 2.0.1 to 2.0.3 (#5907)
dependabot[bot] Feb 1, 2022
2b73dd5
chore(deps): bump selenium-standalone from 8.0.8 to 8.0.9 (#5885)
dependabot[bot] Feb 1, 2022
97c19be
refactor: convert renderer measurables to es6 classes (#5899)
rachel-fenichel Feb 1, 2022
7bbea82
chore(deps): bump mocha from 9.1.4 to 9.2.0 (#5910)
dependabot[bot] Feb 2, 2022
b26a3f8
chore(deps): bump @blockly/dev-tools from 3.0.3 to 3.0.5 (#5911)
dependabot[bot] Feb 4, 2022
4cf1a5c
refactor: convert some files to es classes (#5913)
rachel-fenichel Feb 4, 2022
328cd35
refactor: Migrate Blockly.Events.Abstract to named exports (#5916)
gonfunko Feb 4, 2022
e3f40a6
refactor(build): Stop flattening Blockly sources during compilation i…
gonfunko Feb 8, 2022
9e8c5ea
refactor: convert some files to es classes (#5917)
rachel-fenichel Feb 9, 2022
4b5733e
refactor!: allows previously internal constants to be configurable (#…
alschmiedt Feb 9, 2022
c2c5d19
chore(deps): bump @wdio/selenium-standalone-service (#5912)
dependabot[bot] Feb 9, 2022
b266969
chore(deps): bump webdriverio from 7.16.13 to 7.16.14 (#5909)
dependabot[bot] Feb 9, 2022
45be541
chore(deps): bump @blockly/block-test from 2.0.3 to 2.0.4 (#5920)
dependabot[bot] Feb 9, 2022
8ae8f31
chore(deps): bump @blockly/theme-modern from 2.1.27 to 2.1.28 (#5921)
dependabot[bot] Feb 9, 2022
b9453a5
chore(deps): bump @blockly/dev-tools from 3.0.5 to 3.0.6 (#5922)
dependabot[bot] Feb 9, 2022
ec34954
chore(deps): bump chai from 4.3.4 to 4.3.6 (#5915)
dependabot[bot] Feb 9, 2022
4f74210
fix!: Export loopTypes from Blockly.blocks.loops (#5900)
cpcallen Jan 31, 2022
6037694
release: bump version and rebuild
alschmiedt Feb 10, 2022
02c556c
chore(deps): bump google-closure-deps from 20211201.0.0 to 20220104.0…
dependabot[bot] Feb 10, 2022
60ee400
chore(deps): bump google-closure-compiler (#5923)
dependabot[bot] Feb 10, 2022
caba596
Merge pull request #5925 from alschmiedt/Q4_2021_patch_4
alschmiedt Feb 11, 2022
bce4c5e
Delete events should animate when played (#5919)
NeilFraser Feb 11, 2022
3854ebb
Revert "release: Patch #3 for Q4 2021 release"
alschmiedt Feb 14, 2022
c15a3cf
Merge pull request #5938 from google/revert-5925-Q4_2021_patch_4
alschmiedt Feb 14, 2022
e21a8fc
release: update version number in preparation for release (#5942)
alschmiedt Feb 15, 2022
556de8b
chore(deps): bump eslint from 8.8.0 to 8.9.0 (#5934)
dependabot[bot] Feb 15, 2022
b52c65c
refactor: convert some classes to ES6 classes (#5928)
rachel-fenichel Feb 16, 2022
f1148f1
refactor: convert registry files to es6 classes (#5940)
rachel-fenichel Feb 18, 2022
71ab146
fix(build): Correctly handle deep export paths in UMD wrapper (#5945)
cpcallen Feb 22, 2022
be9ca98
refactor: convert toolbox items to ES6 classes (#5947)
BeksOmega Feb 22, 2022
4e64d0e
chore(deps): bump mocha from 9.2.0 to 9.2.1 (#5951)
dependabot[bot] Feb 22, 2022
c9be8d9
chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 (#5941)
dependabot[bot] Feb 22, 2022
b1f0a6a
refactor(tests): Use `goog.bootstrap` to allow loading ES modules in …
cpcallen Feb 23, 2022
0c1362f
chore(deps): bump webdriverio from 7.16.14 to 7.16.15 (#5935)
dependabot[bot] Feb 23, 2022
5078dcb
refactor(blocks)!: Rename Blockly.blocks.* modules to Blockly.library…
cpcallen Feb 23, 2022
00a75ca
refactor: Be more selective in eslint ignorance (#5955)
cpcallen Feb 23, 2022
7e221c2
refactor: convert PathObject to an ES6 class (#5954)
BeksOmega Feb 23, 2022
00e1dad
chore(build): Disable visibility warnings (#5958)
cpcallen Feb 24, 2022
237e66c
refactor: convert row.js and base.js to ES6 classes (#5957)
BeksOmega Feb 25, 2022
4cbb4c4
chore(deps): bump @wdio/selenium-standalone-service (#5962)
dependabot[bot] Feb 28, 2022
4201d43
chore(deps): bump webdriverio from 7.16.15 to 7.16.16 (#5964)
dependabot[bot] Feb 28, 2022
cb4521b
refactor: Convert fields to ES6 classes (#5943)
BeksOmega Feb 28, 2022
fa14e9d
refactor: convert blocksvg and block to ES6 classes (#5952)
BeksOmega Feb 28, 2022
9ba2571
deprecate: the debug renderer (#5961)
alschmiedt Mar 1, 2022
88334be
fix(tests): Enable --debug for test:compile:advanced; fix some errors…
cpcallen Mar 1, 2022
2a0e547
Revert "fix(tests): Enable --debug for test:compile:advanced; fix som…
BeksOmega Mar 1, 2022
b34db5b
fix(blocks): correct the callType_ of procedures_defreturn (#5974)
gpfernandezflorio Mar 3, 2022
8058df2
fix: custom block context menus (#5976)
BeksOmega Mar 3, 2022
6841ccc
feat: Allow developers to set a custom tooltip rendering function. (#…
maribethb Mar 4, 2022
2edd228
fix: move test helpers from samples into core (#5969)
BeksOmega Mar 4, 2022
543cb8e
fix: move the dropdown div to a namespace instead of a class with onl…
BeksOmega Mar 7, 2022
7d250fa
feat: add mocha failure messages to console output (#5984)
maribethb Mar 8, 2022
c1004be
fix: convert the common renderer to an ES6 class (#5978)
BeksOmega Mar 8, 2022
e11b583
fix(tests): Enable `--debug` for `test:compile:advanced`; fix some er…
cpcallen Mar 8, 2022
3740d51
chore: makes types of divs more specific (#5988)
rachel-fenichel Mar 9, 2022
01d4597
fix: revert converting test helpers to es modules (#5982)
BeksOmega Mar 9, 2022
3c723f0
feat(tests): Add a test to validate `scripts/migration/renamings.js` …
cpcallen Mar 9, 2022
afc4088
feat(tests): Use official semver.org RegExp (#5990)
cpcallen Mar 9, 2022
5f822fd
chore: Update to latest Closure compiler and remove our SVG externs (…
gonfunko Mar 10, 2022
9e1cda8
fix: playground access to Blockly
BeksOmega Mar 14, 2022
fec44d9
fix: Change the truthy tests of width and height in WorkspaceSvg.setC…
markfinn Mar 15, 2022
20f1475
fix!: change paste to return the pasted thing to support keyboard nav…
BeksOmega Mar 15, 2022
a65b895
chore: remove deprecation console log for debug renderer (#5998)
alschmiedt Mar 16, 2022
e2eaebe
fix: convert the Workspace class to an ES6 class (#5977)
BeksOmega Mar 16, 2022
1647a32
fix: Move @alias onto classes instead of constructors (#6003)
gonfunko Mar 16, 2022
0b2bf3a
feat: make mocha fail if it encounters 0 tests (#5981)
maribethb Mar 17, 2022
5ee94e2
chore(deps): bump webdriverio from 7.16.16 to 7.17.4 (#5992)
dependabot[bot] Mar 17, 2022
152f017
chore(deps): bump google-closure-deps from 20220104.0.0 to 20220202.0…
dependabot[bot] Mar 17, 2022
f344f9a
chore(deps): bump @blockly/dev-tools from 3.0.6 to 3.0.7 (#5963)
dependabot[bot] Mar 17, 2022
cefb505
chore(deps): bump @wdio/selenium-standalone-service (#6006)
dependabot[bot] Mar 17, 2022
e502eaa
fix: incorrect module for event data in renamings database (#6012)
BeksOmega Mar 18, 2022
85ce3b8
fix: comments not being restored when dragging (#6011)
yamadayutaka Mar 21, 2022
243fc52
fix: opening/closing the mutators (#6000)
alschmiedt Mar 21, 2022
98d619b
chore: update PR template to include formatting info (#5839)
alschmiedt Mar 21, 2022
9d62f92
refactor(build): Prepare UMD wrapper generation for transition to ES …
cpcallen Mar 21, 2022
7abf3de
fix: playground test blocks, text area listeners, and show/hide butto…
BeksOmega Mar 21, 2022
c430800
fix: always rename caller to legal name (#6014)
BeksOmega Mar 21, 2022
c7a359a
fix: undo/redo for auto disabling if-return blocks (#6018)
BeksOmega Mar 23, 2022
364bf14
fix: advanced playground and playground to work when hosted (#6021)
alschmiedt Mar 23, 2022
2c15d00
fix: export Blockly.Names.NameType and Blockly.Input.Align correctly …
maribethb Mar 24, 2022
ca6e590
fix: Fix downloading screenshots on the playground. (#6025)
gonfunko Mar 25, 2022
0582097
chore(deps): bump minimist from 1.2.5 to 1.2.6 (#6027)
dependabot[bot] Mar 28, 2022
2cf8eb8
fix: Fix bug where workspace comments could not be created. (#6024)
gonfunko Mar 28, 2022
c4a25eb
fix: revert "Delete events should animate when played (#5919)" (#6031)
BeksOmega Mar 29, 2022
10d9cc4
Merge branch 'develop' into master_into_develop
alschmiedt Mar 29, 2022
8d2e181
Merge pull request #6044 from google/master_into_develop
alschmiedt Mar 29, 2022
69f3d4a
fix: Update typings for q1 2022 release (#6051)
maribethb Mar 31, 2022
808fb99
chore(develop): release blockly 8.0.0
release-please[bot] Mar 31, 2022
8d5f7d6
chore: rollup of Q4 2021 and Q1 2022 messages
alschmiedt Mar 31, 2022
95a058d
Merge pull request #6052 from alschmiedt/Q1_2022_language_rollup
alschmiedt Mar 31, 2022
d6e415e
release: rebuild
alschmiedt Mar 31, 2022
d8c5a1d
Merge pull request #6053 from alschmiedt/rebuild_03_31_2022
alschmiedt Mar 31, 2022
31f5a73
Merge pull request #5888 from google/release-please--branches--develo…
alschmiedt Mar 31, 2022
2bf842a
Merge pull request #6054 from google/rc_2022_3
alschmiedt Mar 31, 2022
2e3913d
chore: update renamings file for new release (#6063)
BeksOmega Apr 4, 2022
e0d81ef
chore: Set permissions for GitHub actions (#6077)
naveensrinivasan Apr 18, 2022
d2329f8
chore: Included githubactions for dependabot (#6080)
naveensrinivasan Apr 18, 2022
f5206d4
fix: dragging fails for collapsed blocks with Icons, which have been …
tweini Apr 21, 2022
75a071e
fix: JSON deserialization fails (bug #6091) (collapsed procedure call…
tweini Apr 27, 2022
b5c4494
fix: update package files
BeksOmega Apr 28, 2022
f21b9db
fix: checkin built files
BeksOmega Apr 28, 2022
7eebd78
Merge pull request #6126 from BeksOmega/patch/json-serialization
BeksOmega Apr 28, 2022
4937346
chore(deps): bump ejs from 3.1.6 to 3.1.7 (#6127)
dependabot[bot] May 5, 2022
5620515
fix: bump version to 8.0.2
BeksOmega May 9, 2022
b92cbd3
Merge pull request #6158 from BeksOmega/patch/8.0.2
BeksOmega May 9, 2022
7c76208
chore: update PR template for test requirements (#6183)
BeksOmega Jun 2, 2022
d61f4ca
fix: Fix errors in TS declarations with blocks and generators (#6200)
maribethb Jun 8, 2022
24a808d
chore: update version number for patch release (#6201)
maribethb Jun 8, 2022
188ba98
fix: loading messages from script tags. (#6184)
BeksOmega Jun 13, 2022
4bb3f87
chore: rebuild message files
BeksOmega Jun 13, 2022
c137801
fix: update versions
BeksOmega Jun 13, 2022
e1bfbfa
Merge pull request #6210 from BeksOmega/rc/8.0.4
BeksOmega Jun 13, 2022
6132229
chore: enable ts for the clang-format workflow (#6225)
BeksOmega Jun 21, 2022
79bbb32
Merge branch 'master' of github.com:google/blockly into feature/VRWN-…
Jul 13, 2022
cb971ce
Fixes build errors
Jul 14, 2022
134bc40
Fiz exports
Jul 14, 2022
4ce67a7
remove codeowners
Jul 14, 2022
0064c51
Remove git workflow settings
Jul 14, 2022
de925f5
Fix flyout events
Jul 14, 2022
813fbef
Fix argument locals import
Jul 14, 2022
ce3d000
fix connections
Jul 15, 2022
fb9a37d
Debug connections
Jul 18, 2022
184b090
Fix define of argument local
Jul 18, 2022
61f27a7
Fix export of procedures_local_argument
Jul 18, 2022
4e92e35
Debug local arguments
Jul 18, 2022
c9f882d
output connection
Jul 19, 2022
31299cc
Fix jsonInit for local_arguments
Jul 19, 2022
4da6270
Remove debuggers and logs
Jul 19, 2022
d736f35
Fix comment
Jul 19, 2022
95efd4d
Merge master
Jul 19, 2022
7d7a67d
Fix after merge from master
Jul 19, 2022
501805c
Fix removeRender
Jul 19, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
*_compressed*.js
blockly_uncompressed.js
gulpfile.js
/msg/*
/build/*
/dist/*
/core/utils/global.js
/tests/blocks/*
/tests/themes/*
/tests/compile/*
Expand Down
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "8.0.0"
}
77 changes: 77 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Changelog

## [8.0.0](https://github.com/google/blockly/compare/blockly-v7.20211209.0...blockly-v8.0.0) (2022-03-31)


### ⚠ BREAKING CHANGES

* change paste to return the pasted thing to support keyboard nav (#5996)
* **blocks:** ...and rename Blockly.blocks.all (blocks/all.js) to Blockly.libraryBlocks (blocks/blocks.js
* * refactor(blocks): Make loopTypes a Set
* allows previously internal constants to be configurable (#5897)
* * refactor(blocks): Make loopTypes a Set
* remove unused constants from internalConstants (#5889)

### Features

* add mocha failure messages to console output ([#5984](https://github.com/google/blockly/issues/5984)) ([7d250fa](https://github.com/google/blockly/commit/7d250fa9cfb30f95e7af523720b66c8b001df15c))
* Allow developers to set a custom tooltip rendering function. ([#5956](https://github.com/google/blockly/issues/5956)) ([6841ccc](https://github.com/google/blockly/commit/6841ccc99fdbcc5f6d5a63bb36cb3b6ebd2be246))
* **blocks:** Export block definitions ([#5908](https://github.com/google/blockly/issues/5908)) ([ffb8907](https://github.com/google/blockly/commit/ffb8907db8d0f11609c1fe14b2a450d3e639a871))
* make mocha fail if it encounters 0 tests ([#5981](https://github.com/google/blockly/issues/5981)) ([0b2bf3a](https://github.com/google/blockly/commit/0b2bf3ae9d0c777f4d13d47692f5ae224dff1ec8))
* **tests:** Add a test to validate `scripts/migration/renamings.js` ([#5980](https://github.com/google/blockly/issues/5980)) ([3c723f0](https://github.com/google/blockly/commit/3c723f0199b1f3b5eaac58f064b02d52b60d0ddb))
* **tests:** Use official semver.org RegExp ([#5990](https://github.com/google/blockly/issues/5990)) ([afc4088](https://github.com/google/blockly/commit/afc4088ce278f97585f9ff5e65a921f7c4c65531))


### Bug Fixes

* Adds check for changedTouches ([#5869](https://github.com/google/blockly/issues/5869)) ([3f4f505](https://github.com/google/blockly/commit/3f4f5057919fdb4a329e9d2b15378c5c5831ae3b))
* advanced playground and playground to work when hosted ([#6021](https://github.com/google/blockly/issues/6021)) ([364bf14](https://github.com/google/blockly/commit/364bf14ce6932f426591e3f53c1d066771ddcb8e))
* always rename caller to legal name ([#6014](https://github.com/google/blockly/issues/6014)) ([c430800](https://github.com/google/blockly/commit/c4308007bc4b58d51adf1fda7b51ffa9f1d3f093))
* **blocks:** correct the callType_ of procedures_defreturn ([#5974](https://github.com/google/blockly/issues/5974)) ([b34db5b](https://github.com/google/blockly/commit/b34db5bd01f7b532ebabc80264ca9fc804a76c75))
* **build:** Correctly handle deep export paths in UMD wrapper ([#5945](https://github.com/google/blockly/issues/5945)) ([71ab146](https://github.com/google/blockly/commit/71ab146bc21aef9bdd6b2385c1df5f51e3ff5b58))
* bumping a block after duplicate breaking undo ([#5844](https://github.com/google/blockly/issues/5844)) ([5204569](https://github.com/google/blockly/commit/5204569cff58c1ead7c15165a1351fa6a2ba2ad3))
* change getCandidate_ and showInsertionMarker_ to be more dynamic ([#5722](https://github.com/google/blockly/issues/5722)) ([68d8113](https://github.com/google/blockly/commit/68d81132b851d20884ee9da41719fa62cdfce0ee))
* change paste to return the pasted thing to support keyboard nav ([#5996](https://github.com/google/blockly/issues/5996)) ([20f1475](https://github.com/google/blockly/commit/20f1475afc1abf4b5e600219c2981150fc621ba5))
* Change the truthy tests of width and height in WorkspaceSvg.setCachedParentSvgSize to actual comparisons with null so that zero value can be saved into the cache ([#5997](https://github.com/google/blockly/issues/5997)) ([fec44d9](https://github.com/google/blockly/commit/fec44d917e4b8475beba28e4769a50982425e887))
* comments not being restored when dragging ([#6011](https://github.com/google/blockly/issues/6011)) ([85ce3b8](https://github.com/google/blockly/commit/85ce3b82c6c32e8a2a1608c6d604262ea0e5c38d))
* convert the common renderer to an ES6 class ([#5978](https://github.com/google/blockly/issues/5978)) ([c1004be](https://github.com/google/blockly/commit/c1004be1f24debe1df1566e6067cf2f6769d51aa))
* convert the Workspace class to an ES6 class ([#5977](https://github.com/google/blockly/issues/5977)) ([e2eaebe](https://github.com/google/blockly/commit/e2eaebec47b08a83eb36d0d04cefa254d1c5d666))
* custom block context menus ([#5976](https://github.com/google/blockly/issues/5976)) ([8058df2](https://github.com/google/blockly/commit/8058df2a71dcecdc1190ae1d6f5dcccfafc980e8))
* Don't throw if drag surface is empty. ([#5695](https://github.com/google/blockly/issues/5695)) ([769a25f](https://github.com/google/blockly/commit/769a25f4badffd2409ce19535344c98f5d8b01c9))
* export Blockly.Names.NameType and Blockly.Input.Align correctly ([#6030](https://github.com/google/blockly/issues/6030)) ([2c15d00](https://github.com/google/blockly/commit/2c15d002ababcba7f34c526c05f231735e3e0169))
* Export loopTypes from Blockly.blocks.loops ([#5900](https://github.com/google/blockly/issues/5900)) ([4f74210](https://github.com/google/blockly/commit/4f74210e74ef0b06216ab0f288268192674d69c9))
* Export loopTypes from Blockly.blocks.loops ([#5900](https://github.com/google/blockly/issues/5900)) ([74ef1cb](https://github.com/google/blockly/commit/74ef1cbf521f7c6447ea9672ddbfe861d2292e5f))
* Fix bug where workspace comments could not be created. ([#6024](https://github.com/google/blockly/issues/6024)) ([2cf8eb8](https://github.com/google/blockly/commit/2cf8eb87dcb029ba152b63b01ee7e4df431d1bb6))
* Fix downloading screenshots on the playground. ([#6025](https://github.com/google/blockly/issues/6025)) ([ca6e590](https://github.com/google/blockly/commit/ca6e590101d511a8d98a5c5438af32ff6749e020))
* fix keycodes type ([#5805](https://github.com/google/blockly/issues/5805)) ([0a96543](https://github.com/google/blockly/commit/0a96543a1179636e4efeb3c654c075952aca0c9f))
* Fixed the label closure on demo/blockfactory ([#5833](https://github.com/google/blockly/issues/5833)) ([e8ea2e9](https://github.com/google/blockly/commit/e8ea2e9902fb9f642459e7341c3d59e19f359fca))
* **generators:** Fix an operator precedence issue in the math_number_property generators to remove extra parentheses ([#5685](https://github.com/google/blockly/issues/5685)) ([a31003f](https://github.com/google/blockly/commit/a31003fab964e529152389029ec3126a3802851b))
* incorrect module for event data in renamings database ([#6012](https://github.com/google/blockly/issues/6012)) ([e502eaa](https://github.com/google/blockly/commit/e502eaa6e1c88b2bb34e9a87917a15098b81cfa3))
* Move [@alias](https://github.com/alias) onto classes instead of constructors ([#6003](https://github.com/google/blockly/issues/6003)) ([1647a32](https://github.com/google/blockly/commit/1647a3299ac48b5924f987015d8f3c47593922af))
* move test helpers from samples into core ([#5969](https://github.com/google/blockly/issues/5969)) ([2edd228](https://github.com/google/blockly/commit/2edd22811752f05e16c68d593e5d1b809e24ed25))
* move the dropdown div to a namespace instead of a class with only static properties ([#5979](https://github.com/google/blockly/issues/5979)) ([543cb8e](https://github.com/google/blockly/commit/543cb8e1b1c1a7fca5a1629f42f71c9b18e1a255))
* msg imports in type definitions ([#5858](https://github.com/google/blockly/issues/5858)) ([07a75de](https://github.com/google/blockly/commit/07a75dee8de13b6c5a02959325a0155d413d6712))
* opening/closing the mutators ([#6000](https://github.com/google/blockly/issues/6000)) ([243fc52](https://github.com/google/blockly/commit/243fc52a96e1089aad89ff6b642c6605d8f71afd))
* playground access to Blockly ([9e1cda8](https://github.com/google/blockly/commit/9e1cda8f45cea1707c5a228d5ce79b4cd81566f8))
* playground test blocks, text area listeners, and show/hide buttons ([#6015](https://github.com/google/blockly/issues/6015)) ([7abf3de](https://github.com/google/blockly/commit/7abf3de910a35e1a6086a3243570627a41e73339))
* procedure param edits breaking undo ([#5845](https://github.com/google/blockly/issues/5845)) ([8a71f87](https://github.com/google/blockly/commit/8a71f879504503f4aec1140fe653d93602c664df))
* re-expose HSV_VALUE and HSV_SATURATION as settable properties on Blockly ([#5821](https://github.com/google/blockly/issues/5821)) ([0e5f3ce](https://github.com/google/blockly/commit/0e5f3ce6074fbbb2923e9a62bffefeae0a813be8))
* re-expose HSV_VALUE and HSV_SATURATION as settable properties on Blockly ([#5821](https://github.com/google/blockly/issues/5821)) ([6fc3316](https://github.com/google/blockly/commit/6fc3316309534270106050f0e1fecb7a09b8e62c))
* revert "Delete events should animate when played ([#5919](https://github.com/google/blockly/issues/5919))" ([#6031](https://github.com/google/blockly/issues/6031)) ([c4a25eb](https://github.com/google/blockly/commit/c4a25eb3c432b0e8a9a18aae42839d163a177c48))
* revert converting test helpers to es modules ([#5982](https://github.com/google/blockly/issues/5982)) ([01d4597](https://github.com/google/blockly/commit/01d45972d4df8b5e4afa4a19d93defb8961fea57))
* setting null for a font style on a theme ([#5831](https://github.com/google/blockly/issues/5831)) ([835fb02](https://github.com/google/blockly/commit/835fb02343df0a4b9dab7704a4b3d8be8e9a497c))
* **tests:** Enable --debug for test:compile:advanced; fix some errors ([#5959](https://github.com/google/blockly/issues/5959)) ([88334be](https://github.com/google/blockly/commit/88334bea80aa26c08705f16aba5e79dd708158f9))
* **tests:** Enable `--debug` for `test:compile:advanced`; fix some errors (and demote the rest to warnings) ([#5983](https://github.com/google/blockly/issues/5983)) ([e11b583](https://github.com/google/blockly/commit/e11b5834e5e4e8fe991be32afb08eafa7c8adffd))
* TypeScript exporting of the serialization functions ([#5890](https://github.com/google/blockly/issues/5890)) ([5d7c890](https://github.com/google/blockly/commit/5d7c890243ba7d0501514ba48778715097ce5a3b))
* undo/redo for auto disabling if-return blocks ([#6018](https://github.com/google/blockly/issues/6018)) ([c7a359a](https://github.com/google/blockly/commit/c7a359a8424287f139752573a27a8a6eb97cb7b3))
* update the playground to load compressed when hosted ([#5835](https://github.com/google/blockly/issues/5835)) ([2adf326](https://github.com/google/blockly/commit/2adf326c230589800880faa9599eca2ecc94d283))
* Update typings for q1 2022 release ([#6051](https://github.com/google/blockly/issues/6051)) ([69f3d4a](https://github.com/google/blockly/commit/69f3d4ae89ce16a558443dd0a772e35b62c096d3))
* Use correct namespace for svgMath functions ([#5813](https://github.com/google/blockly/issues/5813)) ([b8cc983](https://github.com/google/blockly/commit/b8cc983324338b2cbd536425c93ff3e7d512751e))
* Use correct namespace for svgMath functions ([#5813](https://github.com/google/blockly/issues/5813)) ([025bab6](https://github.com/google/blockly/commit/025bab656669f99ebdb8b95bea39ebae296f1495))


### Code Refactoring

* allows previously internal constants to be configurable ([#5897](https://github.com/google/blockly/issues/5897)) ([4b5733e](https://github.com/google/blockly/commit/4b5733e7c85f2e196719550a3cfdcbcbd61739df))
* **blocks:** Rename Blockly.blocks.* modules to Blockly.libraryBlocks.* ([#5953](https://github.com/google/blockly/issues/5953)) ([5078dcb](https://github.com/google/blockly/commit/5078dcbc6d4d48422313732e87191b29569b5eed))
* remove unused constants from internalConstants ([#5889](https://github.com/google/blockly/issues/5889)) ([f0b1077](https://github.com/google/blockly/commit/f0b10776eb0657a5446adcfc62ad13f419c14271))
25 changes: 0 additions & 25 deletions blocks/all.js

This file was deleted.

21 changes: 15 additions & 6 deletions blocks/argument_local.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,18 @@

'use strict';

goog.module('Blockly.blocks.argumentLocal');
goog.module('Blockly.libraryBlocks.argumentLocal');

const dialog = goog.require('Blockly.dialog');
const Extensions = goog.require('Blockly.Extensions');
const Events = goog.require('Blockly.Events');
const {Blocks} = goog.require('Blockly.blocks');
const {Msg} = goog.require('Blockly.Msg');
const {defineBlocks} = goog.require('Blockly.common');

Blocks['argument_local'] = {

const blocks = {};

blocks['argument_local'] = {
init: function() {
this.jsonInit({
'message0': '%1',
Expand All @@ -36,7 +39,6 @@ const {Msg} = goog.require('Blockly.Msg');
'extensions': ['contextMenu'],
});
},

onchange: function(event) {
if (event.type !== Events.BLOCK_MOVE) {
return;
Expand Down Expand Up @@ -71,6 +73,9 @@ const {Msg} = goog.require('Blockly.Msg');
},
};


exports.blocks = blocks;

/**
* Mixin to add context menu items to rename argument.
* Used by blocks 'argument_local'.
Expand All @@ -79,7 +84,7 @@ const {Msg} = goog.require('Blockly.Msg');
* @package
* @readonly
*/
const CUSTOM_CONTEXT_MENU = {
const CUSTOM_CONTEXT_MENU = {
/**
* Add menu option to rename argument and delete option
* to disable block.
Expand Down Expand Up @@ -109,13 +114,17 @@ const {Msg} = goog.require('Blockly.Msg');
},
};

// Register provided blocks.
defineBlocks(blocks);

/**
* Factory for callbacks for rename argument dropdown menu option
* @param {!Block} block The block with the argument to rename.
* @return {!function()} A function that renames the argument.
*/
const renameOptionCallbackFactory = function(block) {
const renameOptionCallbackFactory = function(block) {
const argumentValue = block.getFieldValue('VALUE');

return function() {
const callback = (newName) => {
block.changeArgumentName.call(block, newName);
Expand Down
60 changes: 60 additions & 0 deletions blocks/blocks.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

/**
* @fileoverview All the blocks. (Entry point for blocks_compressed.js.)
* @suppress {extraRequire}
*/
'use strict';

goog.module('Blockly.libraryBlocks');
goog.module.declareLegacyNamespace();

const argumentLocal = goog.require('Blockly.libraryBlocks.argumentLocal');
const colour = goog.require('Blockly.libraryBlocks.colour');
const lists = goog.require('Blockly.libraryBlocks.lists');
const logic = goog.require('Blockly.libraryBlocks.logic');
const loops = goog.require('Blockly.libraryBlocks.loops');
const math = goog.require('Blockly.libraryBlocks.math');
const procedures = goog.require('Blockly.libraryBlocks.procedures');
const proceduresLocalArgument = goog.require('Blockly.libraryBlocks.proceduresLocalArgument');
const texts = goog.require('Blockly.libraryBlocks.texts');
const variables = goog.require('Blockly.libraryBlocks.variables');
const variablesDynamic = goog.require('Blockly.libraryBlocks.variablesDynamic');
/* eslint-disable-next-line no-unused-vars */
const {BlockDefinition} = goog.requireType('Blockly.blocks');

exports.argumentLocal = argumentLocal;
exports.colour = colour;
exports.lists = lists;
exports.logic = logic;
exports.loops = loops;
exports.math = math;
exports.procedures = procedures;
exports.proceduresLocalArgument = proceduresLocalArgument;
exports.texts = texts;
exports.variables = variables;
exports.variablesDynamic = variablesDynamic;

/**
* A dictionary of the block definitions provided by all the
* Blockly.libraryBlocks.* modules.
* @type {!Object<string, !BlockDefinition>}
*/
const blocks = Object.assign(
{},
argumentLocal.blocks,
colour.blocks,
lists.blocks,
logic.blocks,
loops.blocks,
math.blocks,
procedures.blocks,
proceduresLocalArgument.blocks,
variables.blocks,
variablesDynamic.blocks
);
exports.blocks = blocks;
17 changes: 13 additions & 4 deletions blocks/colour.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@
*/
'use strict';

goog.module('Blockly.blocks.colour');
goog.module('Blockly.libraryBlocks.colour');

const {defineBlocksWithJsonArray} = goog.require('Blockly.common');
/* eslint-disable-next-line no-unused-vars */
const {BlockDefinition} = goog.requireType('Blockly.blocks');
const {createBlockDefinitionsFromJsonArray, defineBlocks} = goog.require('Blockly.common');
/** @suppress {extraRequire} */
goog.require('Blockly.FieldColour');


defineBlocksWithJsonArray([
/**
* A dictionary of the block definitions provided by this module.
* @type {!Object<string, !BlockDefinition>}
*/
const blocks = createBlockDefinitionsFromJsonArray([
// Block for colour picker.
{
'type': 'colour_picker',
Expand Down Expand Up @@ -107,3 +112,7 @@ defineBlocksWithJsonArray([
'tooltip': '%{BKY_COLOUR_BLEND_TOOLTIP}',
},
]);
exports.blocks = blocks;

// Register provided blocks.
defineBlocks(blocks);
Loading