Commit Graph

6092 Commits

Author SHA1 Message Date
Aaron Dodson
03e1725f32 Migrate core/field_colour.js to goog.module 2021-07-21 13:00:05 -07:00
Aaron Dodson
5f305041a9 Migrate core/field_colour.js to ES6 const/let 2021-07-21 12:57:19 -07:00
kozbial
8d6f2626cd Remove command to add missing nullability modifiers 2021-07-20 19:02:36 -07:00
kozbial
e6817778db fix formatting and help 2021-07-20 19:02:36 -07:00
kozbial
5e3209b6f5 Remove extra logging line 2021-07-20 19:02:36 -07:00
kozbial
972f9bc386 Fix bugs caused by Blockly being a require 2021-07-20 19:02:36 -07:00
kozbial
b2ed132ebb Fix bug where script was incorrectly reporting missing requires 2021-07-20 19:02:36 -07:00
kozbial
3c77ff1fb2 Migrate core/interfaces/i_collapsible_toolbox_item.js, core/interfaces/i_selectable_toolbox_item.js, and core/interfaces/i_toolbox_item.js named requires 2021-07-20 18:26:05 -07:00
kozbial
1b09c8d8b7 Migrate core/interfaces/i_collapsible_toolbox_item.js, core/interfaces/i_selectable_toolbox_item.js, and core/interfaces/i_toolbox_item.js to goog.module 2021-07-20 18:26:05 -07:00
kozbial
599385891a Break up interfaces in core/i_toolbox_item.js into separate files 2021-07-20 18:26:05 -07:00
kozbial
6b10f9545c Migrate core/interfaces/i_registrable.js to goog.module 2021-07-20 18:25:19 -07:00
Maribeth Bottorff
e9a1668445 Only lint once in CI (#5128) 2021-07-20 16:48:30 -07:00
jschanker
50a66c024d Permit single field disabling (#4932) (#4941)
* Permit single field disabling (https://github.com/google/blockly/issues/4932)

* Permit single field disabling (#4932)

* Fixed lint error (moved && to end of line and adjusted line breaks accordingly)

* Added XML Field (De)Serialization

* Call parent method in FieldDropdown's fromXml
* Added protected helper methods to handle serialization/deserialization of enabled property/attribute of fields
* Minor changes to annotations to account for field disabling and 4 spaces per line break per style guide

* Revert "Added XML Field (De)Serialization"

This reverts commit 1964e866b6.

* Comment style changes

* Comment reversions

* Indentation fix

* Indentation reversion
2021-07-20 16:48:30 -07:00
Christopher Allen
3aa6b476aa Ignore public/ directory; always serve repository root
By default http-server will serve ./public if it exists.  We
want it to always serve the repository root, so configure the
start script to specify that explicitly, so that the existence of
a public/ directory will not break things.
2021-07-20 16:48:30 -07:00
hpnrep6
926b14b15e Fix code in code demo executing twice on mobile (#5037)
* Prevent code from executing twice on touchscreens
2021-07-20 16:48:30 -07:00
Aaron Dodson
78a5d98c20 Gzip build output files in update_metadata.sh instead of update_metadata.yml. 2021-07-20 16:48:30 -07:00
Aaron Dodson
eddc5f676b Calculate metadata size from freshly-built and gzipped Blockly. 2021-07-20 16:48:30 -07:00
Aaron Dodson
8d3c39212b Added script and workflow to automatically update build artifact sizes in check_metadata.sh 2021-07-20 16:48:30 -07:00
dependabot[bot]
ce078a0139 Bump typescript from 4.3.2 to 4.3.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.2 to 4.3.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.2...v4.3.5)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-20 16:48:30 -07:00
dependabot[bot]
1d2e19bb4f Bump google-closure-compiler from 20210505.0.0 to 20210601.0.0
Bumps [google-closure-compiler](https://github.com/google/closure-compiler-npm) from 20210505.0.0 to 20210601.0.0.
- [Release notes](https://github.com/google/closure-compiler-npm/releases)
- [Commits](https://github.com/google/closure-compiler-npm/compare/v20210505.0.0...v20210601.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>
2021-07-20 16:48:30 -07:00
kozbial
edfb87fd61 Update more grep calls 2021-07-20 15:48:44 -07:00
kozbial
41eead78ff Update grep calls 2021-07-20 15:48:44 -07:00
kozbial
89e4151810 Update commands to be OSX compatible 2021-07-20 15:48:44 -07:00
kozbial
5f5b437025 Add script for partially automating goog.module conversion steps 2021-07-20 15:48:44 -07:00
alschmiedt
be76e034ca Merge pull request #5076 from alschmiedt/migrate_utils_toolbox
Migrate core/utils/toolbox.js to goog.module syntax
2021-07-20 14:12:55 -07:00
alschmiedt
d101e591de Removes unnecessary test 2021-07-20 13:06:39 -07:00
Aaron Dodson
627ce9962c Merge pull request #5102 from gonfunko/connection
Migrate core/connection.js to goog.module syntax
2021-07-20 11:17:34 -07:00
kozbial
c9f2a92ace Migrate core/keyboard_nav/cursor.js named requires 2021-07-20 10:58:08 -07:00
kozbial
e50c60bfdb Migrate core/keyboard_nav/cursor.js to goog.module 2021-07-20 10:58:08 -07:00
kozbial
317a2e6f53 Migrate core/keyboard_nav/cursor.js to ES6 const/let 2021-07-20 10:58:08 -07:00
kozbial
9eee886925 Migrate core/interfaces/i_connection_checker.js named requires 2021-07-20 10:57:50 -07:00
kozbial
77aaab0e1f Migrate core/interfaces/i_connection_checker.js to goog.module 2021-07-20 10:57:50 -07:00
Aaron Dodson
afcbcfe696 Merge branch 'goog_module' into connection 2021-07-20 10:52:26 -07:00
Aaron Dodson
da960d5973 Convert private static functions to module-internal functions in core/connection.js 2021-07-20 10:49:21 -07:00
kozbial
2ef8b2c86b clang-format core/keyboard_nav/basic_cursor.js 2021-07-20 10:42:03 -07:00
kozbial
4a3d67abeb Migrate core/keyboard_nav/basic_cursor.js named requires 2021-07-20 10:42:03 -07:00
kozbial
29cfb470aa Migrate core/keyboard_nav/basic_cursor.js to goog.module 2021-07-20 10:42:03 -07:00
kozbial
09b020e62f Migrate core/keyboard_nav/basic_cursor.js to ES6 const/let 2021-07-20 10:42:03 -07:00
Aaron Dodson
784c1c86a3 Merge pull request #5098 from gonfunko/comment
Migrate core/comment.js to goog.module syntax
2021-07-20 09:47:32 -07:00
Aaron Dodson
52bde51784 Merge branch 'comment' of https://github.com/gonfunko/blockly into comment 2021-07-20 09:38:16 -07:00
Aaron Dodson
d9625b1caf Require userAgent module instead of destructuring in core/comment.js 2021-07-20 09:38:06 -07:00
kozbial
514f744a6f Migrate core/interfaces/i_autohideable.js named requires 2021-07-19 15:20:10 -07:00
kozbial
e43c82d9bb Migrate core/interfaces/i_autohideable.js to goog.module 2021-07-19 15:20:10 -07:00
kozbial
867c6cb140 Migrate core/interfaces/i_toolbox.js named requires 2021-07-19 15:14:54 -07:00
kozbial
c72805b48a Migrate core/interfaces/i_toolbox.js to goog.module 2021-07-19 15:14:54 -07:00
kozbial
d55ce59224 Migrate core/interfaces/i_flyout.js named requires 2021-07-19 15:14:28 -07:00
kozbial
583e321647 Migrate core/interfaces/i_flyout.js to goog.module 2021-07-19 15:14:28 -07:00
Aaron Dodson
b2210de0a5 Merge pull request #5121 from gonfunko/connection_db
Migrate core/connection_db.js to goog.module syntax
2021-07-19 14:36:47 -07:00
Aaron Dodson
a8cba441e7 Fix comment indentation in core/connection_db.js 2021-07-19 14:33:15 -07:00
Aaron Dodson
cf176fc476 Merge branch 'goog_module' into comment 2021-07-19 13:55:27 -07:00