Commit Graph

6122 Commits

Author SHA1 Message Date
Rachel Fenichel
b3f837a8d2 Replace references to constants with internalConstants 2021-07-21 15:33:55 -07:00
Rachel Fenichel
8b5f5f72d6 Refer to more constants through internalConstants 2021-07-21 15:33:55 -07:00
Rachel Fenichel
ad5836b26d Convert more names to use internalConstants 2021-07-21 15:33:55 -07:00
Rachel Fenichel
cc7a263fb3 Replace references to SPRITE and SOUND_LIMIT with internalConstants versions 2021-07-21 15:33:55 -07:00
Rachel Fenichel
324c3c038f Rebuild 2021-07-21 15:33:53 -07:00
Rachel Fenichel
c15f1e4767 Move constants to internal_constants.js and add aliases 2021-07-21 15:33:16 -07:00
Aaron Dodson
d85c9f1cc6 Merge pull request #5147 from gonfunko/field_checkbox
Migrate core/field_checkbox.js to goog.module syntax
2021-07-21 14:24:58 -07:00
Aaron Dodson
393cdf1fa4 Switch from destructuring to normal imports in core/field_checkbox.js 2021-07-21 14:18:05 -07:00
Aaron Dodson
453a3e3207 Merge pull request #5154 from gonfunko/field
Migrate core/field.js to goog.module syntax
2021-07-21 14:14:03 -07:00
Aaron Dodson
48a86f1550 Merge pull request #5151 from gonfunko/drag_target
Migrate core/drag_target.js to goog.module syntax
2021-07-21 12:50:54 -07:00
Aaron Dodson
edcfc04da1 clang-format core/field.js 2021-07-21 11:45:32 -07:00
Aaron Dodson
a3ae4f3016 Migrate core/field.js to named requires 2021-07-21 11:41:48 -07:00
kozbial
7d946afb4e Migrate core/interfaces/i_registrable_field.js named requires 2021-07-21 11:28:04 -07:00
kozbial
00a74e9d37 Migrate core/interfaces/i_registrable_field.js to goog.module 2021-07-21 11:28:04 -07:00
Rachel Fenichel
d87614f5a2 Merge pull request #5107 from rachel-fenichel/update_renderer_info
Migrate core/renderers/common/info.js to goog.module syntax
2021-07-21 11:21:46 -07:00
Aaron Dodson
91721f7d16 Migrate core/field.js to goog.module 2021-07-21 11:18:41 -07:00
Aaron Dodson
a57399704f Migrate core/field.js to ES6 const/let 2021-07-21 11:15:25 -07:00
Aaron Dodson
b1b5358b67 Migrate core/drag_target.js to named requires 2021-07-21 11:06:53 -07:00
Aaron Dodson
0dc01b1618 Migrate core/drag_target.js to goog.module 2021-07-21 11:02:32 -07:00
kozbial
ecec6daf80 clang-format core/keyboard_nav/tab_navigate_cursor.js 2021-07-21 10:26:15 -07:00
kozbial
9a6a92bf52 Migrate core/keyboard_nav/tab_navigate_cursor.js named requires 2021-07-21 10:26:15 -07:00
kozbial
f282c57323 Migrate core/keyboard_nav/tab_navigate_cursor.js to goog.module 2021-07-21 10:26:15 -07:00
kozbial
9d6cbe96d3 Migrate core/keyboard_nav/tab_navigate_cursor.js to ES6 const/let 2021-07-21 10:26:15 -07:00
Aaron Dodson
5bc41ac960 clang-format core/field_checkbox.js 2021-07-21 08:48:43 -07:00
Aaron Dodson
29135ec920 Migrate core/field_checkbox.js to named requires 2021-07-21 08:47:44 -07:00
Aaron Dodson
7a050d021d Migrate core/field_checkbox.js to goog.module 2021-07-21 08:43:46 -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