Neil Fraser
90b3f75d82
Remove @author tags ( #5601 )
...
Our files are up to a decade old, and have churned so much, that the initial author of the file no longer has much meaning.
Furthermore, this will encourage developers to post to the developer group, rather than emailing Googlers (usually me) directly.
2021-10-15 09:50:46 -07:00
Neil Fraser
c929b3015b
chore: Convert == to === and != to !== where possible. ( #5599 )
2021-10-15 09:17:04 -07:00
Neil Fraser
7ac1e27cd6
Add Croatian to Code demo ( #5583 )
...
Contributed courtesy of Lidija Kralj.
2021-10-14 23:45:04 -07:00
Sandeep Dubey
ec9092fd67
Changes Css.register API to accept string param ( #5472 )
...
* Chnages Css.register API to accept string param
* Address self review comments and nits
* Fix code-comment
* Address minor review comments and nits
* Allow passing an array of strings when registering CSS
* Fix lint errors
Co-authored-by: Aaron Dodson <adodson@google.com >
2021-10-14 15:47:10 -07:00
hpnrep6
abee92c7c9
fix: clear dropdown div before rendering content ( #5429 )
2021-10-14 09:43:12 -07:00
Aaron Dodson
246927a7ee
fix: Make update_metadata.sh work on macOS ( #5590 )
2021-10-07 11:19:52 -07:00
Rachel Fenichel
b25e24fd02
chore: Run clang-format on core/*.js ( #5589 )
...
* Run clang-format on core/*.js
* Revert changes for css formatting
2021-10-07 10:32:02 -07:00
Aaron Imming
2b1f33cc7b
feat: add Blockly.Extensions.isRegistered function ( #5500 )
...
Co-authored-by: Monica Kozbial <6621618+moniika@users.noreply.github.com >
2021-10-07 10:15:00 -07:00
Monica Kozbial
ca61d8cbc6
fix: Fix errors in injected CSS ( #5587 )
2021-10-07 09:58:18 -07:00
dependabot[bot]
03e164e5a1
chore: Bump mocha from 9.1.1 to 9.1.2 ( #5574 )
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 9.1.1 to 9.1.2.
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v9.1.1...v9.1.2 )
---
updated-dependencies:
- dependency-name: mocha
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-10-01 18:06:44 +01:00
dependabot[bot]
487d2ad878
chore: Bump @wdio/selenium-standalone-service from 7.13.0 to 7.13.2 ( #5546 )
...
Bumps [@wdio/selenium-standalone-service](https://github.com/webdriverio/webdriverio ) from 7.13.0 to 7.13.2.
- [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.13.0...v7.13.2 )
---
updated-dependencies:
- dependency-name: "@wdio/selenium-standalone-service"
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-10-01 17:53:56 +01:00
alschmiedt
1c1918ebb2
chore: rebuild for release ( #5573 )
7.20211209.0-beta.0
2021-10-01 08:04:20 -07:00
Christopher Allen
02333bfadc
fix: Fix Block Factory preview ( #5571 )
...
It's OK to modify the contents of Blockly.Blocks, but it's not OK
to try to replace this export with a completely different object.
Fixes #5556
2021-09-30 23:13:35 +01:00
Beka Westberg
f994a9ca58
fix: RTL copy-paste and duplicate ( #5560 )
2021-09-30 14:55:18 -07:00
Maribeth Bottorff
ad57942efa
fix: Fix JS Spaghetti button. ( #5569 )
2021-09-30 13:22:27 -07:00
Christopher Allen
d2d5dc4b71
fix: Use require instead of requireType for interfaces ( #5568 )
...
But only if the interface is used in an @implements or @extends
declaration.
Fixes #5450
2021-09-29 17:44:21 +01:00
Christopher Allen
c5ffd036ca
fix: JSDoc improvments for accessors, etc. ( #5567 )
...
* fix: Revert removal of documentation for get/set accessors.
This partially reverts commit 839cb7b ,
"fix: infinite loop when using defineProperties (#5549 )"
* docs: Use @name to attach JSDocs to accessors
Reintroduce documentation for deprecated properties where it was
removed when converting them to accessors.
* docs: Remove duplicate @package declarations
* fix: Fix eslint and compiler errors/warnings
* fix: Minor JSDoc tweaks to address comments on PR #5567
2021-09-29 01:57:28 +01:00
Monica Kozbial
49bc2b1ae4
Replace namespace annotation with class annotation in files that define a class ( #5566 )
2021-09-28 15:57:09 -07:00
Neil Fraser
c9329ea8eb
chore: Rollup of all Q3 message changes ( #5564 )
...
Courtesy of Translatewiki
2021-09-28 12:20:42 -07:00
Monica Kozbial
cd5ea681f1
Add missing alias annotations ( #5561 )
2021-09-28 11:08:51 -07:00
Monica Kozbial
2f44dfd3ef
Add JSDoc to theme classes. ( #5551 )
...
* Add JSDoc to theme classes.
2021-09-28 08:56:03 -07:00
Monica Kozbial
f67214dac5
Update @package annotations ( #5558 )
2021-09-28 08:55:49 -07:00
Monica Kozbial
56d26b8a35
Add missing @alias annotations ( #5559 )
2021-09-28 08:55:30 -07:00
Monica Kozbial
d8fbe1b05b
Add namespace and alias annotations to jsdoc ( #5550 )
...
* Add annotations to files under core/events
* Add annotations to files under core/interfaces
* Add annotations to files under core/keyboard_nav
* Add annotations to files under core/renderers
* Add annotations to files under core/serialization
* Add annotations to files under core/theme
* Add annotations to files under core/toolbox
* Add annotations to files under core/utils
* Add annotations to files under core
2021-09-27 14:42:54 -07:00
alschmiedt
839cb7bef1
fix: infinite loop when using defineProperties ( #5549 )
2021-09-27 14:31:30 -07:00
Beka Westberg
ba5766c835
fix: blocks dragged from RTL flyout being incorrectly positioned
2021-09-27 14:42:40 -04:00
Christopher Allen
3f063f095e
BREAKING CHANGE: Migrate core/ to goog.module ( #5544 )
...
This merges all the work done in the `goog_module` branch to `develop` in preparation for the 2021Q3 release.
2021-09-27 18:34:05 +01:00
Christopher Allen
06a41de61e
fix: Add hack to copy accessors to global Blockly namespace object ( #5536 )
...
Ugly, but it works.
2021-09-27 17:51:59 +01:00
kozbial
a598751d48
Fix typo in alias
2021-09-24 14:54:19 -07:00
alschmiedt
2b34748e0e
chore: remove declareLegacyNamespace from events ( #5532 )
...
- Adds an extra events/utils.js file to hold helper methods related to events.
2021-09-24 14:20:32 -07:00
Christopher Allen
16b6d4526a
refactor: Rename Blockly.Blocks, migrate to named exports ( #5515 )
...
* Rename Blockly.Blocks to Blockly.blocks
Because it does not export a type as its default export.
Part of #5073 .
* Name default export of Blockly.blocks Blocks.
Use named exports in Blockly.blocks by giving the former default
export the name Blocks.
Part of #5153 .
* Reexport Blockly.blocks from blockly.js
* Document the format of renamings.js better.
2021-09-24 19:12:03 +01:00
Christopher Allen
f931b2eb36
Reexport global.globalThis as Blockly.utils.global ( #5534 )
...
Fixes #5503
This makes the value of Blockly.utils.global the same as it was
before PR #5451 .
2021-09-24 18:47:43 +01:00
Christopher Allen
8ab8536739
refactor: Migrate Blockly.ConnectionType to named exports ( #5533 )
...
* refactor: Migrate Blockly.ConnectionType to named exports
* Add corresponding information to renamings.js
2021-09-24 17:38:08 +01:00
kozbial
757878c646
chore: Remove declareLegacyNamespace() from files under interfaces/*
2021-09-24 09:05:17 -07:00
kozbial
10485dd838
Fix typo
2021-09-24 09:02:14 -07:00
Aaron Dodson
6b07ccab96
chore: Remove declareLegacyNamespace from renderers ( #5528 )
...
* chore: Remove declareLegacyNamespace from Geras renderer
* chore: Remove declareLegacyNamespace from minimalist renderer
* chore: Remove declareLegacyNamespace from thrasos renderer
* chore: Remove declareLegacyNamespace from zelos renderer
* fix: Move debugger functionality out of Blockly.blockRendering to avoid dependency cycle when re-exporting submodules
* chore: Remove declareLegacyNamespace from Blockly.blockRendering.*
2021-09-24 08:33:35 -07:00
Himanshu
3629ed5f65
refactor: Rename Blockly.connectionTypes to Blockly.ConnectionType ( #5407 )
...
* Renamed Blockly.connectionTypes to Blockly.ConnectionType
* Renamed core/connection_types.js to connection_type.js
* Add entry to renamings.js for renaming of Blockly.connectionTypes
Co-authored-by: Christopher Allen <cpcallen+git@google.com >
2021-09-24 12:45:10 +01:00
kozbial
de330c8874
chore: Remove declareLegacyNamespace() from theme files
2021-09-23 15:32:28 -07:00
Aaron Dodson
e0693a65d2
chore: Remove declareLegacyNamespace() from files in core ( #5525 )
...
* chore: Remove declareLegacyNamespace() from files in core
* fix: Update missing/errant re-exports in blockly.js
2021-09-23 14:48:52 -07:00
Aaron Dodson
9f09d50df4
Merge pull request #5522 from gonfunko/field_namespace
...
chore: Remove declareLegacyNamespace() from field_* files
2021-09-23 14:34:09 -07:00
Aaron Dodson
ede7e8c18d
chore: Remove declareLegacyNamespace() from field_* files
2021-09-23 14:29:56 -07:00
kozbial
57ccb1e14a
Remove unecessary block variable block definition
2021-09-23 12:31:55 -07:00
kozbial
e2e8ece9ae
Update test block in trashcan_test to not trigger warning log
2021-09-23 12:31:55 -07:00
kozbial
4efdd72a24
Update captureWarnings usages to assertWarnings
2021-09-23 12:31:55 -07:00
kozbial
d7d74f4fba
Remove usage of deprecated method in onKeyDown handler
2021-09-23 12:31:55 -07:00
kozbial
b331d780d1
Initialize generators in generator tests
2021-09-23 12:31:55 -07:00
kozbial
f3e8c25a50
Catch warnings logged during registry test
2021-09-23 12:31:55 -07:00
kozbial
5f72a61b2d
Remove unecessary deprecation warnings stubs
2021-09-23 12:31:55 -07:00
kozbial
8bd2e8c9e2
chore: Remove declareLegacyNamespace() from toolbox/ files
2021-09-23 11:23:02 -07:00
Neil Fraser
fd917f42b8
Migrate core/field_angle.js to to goog.module syntax ( #5521 )
...
Move angle picker field to goog module and ES6.
2021-09-23 09:37:23 -07:00