Commit Graph

1432 Commits

Author SHA1 Message Date
kozbial
dbf6308f03 Migrate core/interfaces/i_movable.js to goog.module 2021-07-16 16:24:45 -07:00
Rachel Fenichel
b3877ffbb9 Migrate core/renderers/common/info.js to named requires 2021-07-16 15:13:41 -07:00
Aaron Dodson
530964e03b Migrate core/comment.js to goog.module 2021-07-16 14:48:29 -07:00
Rachel Fenichel
20079a64aa Migrate core/renderers/common/info.js to goog.module 2021-07-16 14:38:01 -07:00
kozbial
35cc70c528 Migrate core/interfaces/i_copyable.js to goog.module 2021-07-16 14:31:24 -07:00
Aaron Dodson
50793c20cb Migrate core/connection_checker.js to goog.module 2021-07-16 14:30:16 -07:00
kozbial
9806fc13f9 Migrate core/interfaces/i_draggable.js to goog.module 2021-07-16 14:15:17 -07:00
kozbial
cae985369d Migrate core/interfaces/i_delete_area.js to goog.module 2021-07-16 14:14:28 -07:00
Aaron Dodson
fc62fed33c Migrate core/connection.js to goog.module 2021-07-16 13:55:08 -07:00
Rachel Fenichel
aefeb1655f Merge pull request #5083 from rachel-fenichel/update_common_drawer
Migrate core/renderers/common/drawer.js to goog.module syntax
2021-07-16 13:16:26 -07:00
kozbial
a2d12a1536 Migrate core/interfaces/i_deletable.js to goog.module 2021-07-16 13:13:13 -07:00
kozbial
4ab9380434 Migrate core/interfaces/i_component.js to goog.module 2021-07-16 13:03:24 -07:00
kozbial
e922d2a831 Migrate core/interfaces/i_bounded_element.js to goog.module 2021-07-16 13:02:52 -07:00
kozbial
19e86ed5db Migrate core/interfaces/i_block_dragger.js to goog.module 2021-07-16 12:25:06 -07:00
kozbial
972f3022ed Migrate core/utils/coordinate.js to goog.module 2021-07-16 12:03:26 -07:00
kozbial
85b8ffce8b Migrate core/component_manager.js to goog.module 2021-07-16 11:49:33 -07:00
Aaron Dodson
410e0d58d1 Merge pull request #5079 from gonfunko/block_animations
Migrate core/block_animations.js to goog.module syntax
2021-07-16 11:12:47 -07:00
Rachel Fenichel
d2142a2e9f Clang-format core/renderers/common/drawer.js and remove unused require 2021-07-16 11:00:50 -07:00
kozbial
7e74017342 Migrate core/connection_types.js to goog.module 2021-07-16 10:52:29 -07:00
kozbial
7c23985d30 Migrate core/css.js to goog.module 2021-07-16 10:46:23 -07:00
kozbial
fed47362cd Migrate core/extensions.js to goog.module 2021-07-16 10:46:04 -07:00
Rachel Fenichel
94685bd8be Migrate core/renderers/common/drawer.js to goog.module 2021-07-16 09:52:32 -07:00
Aaron Dodson
42fd43b1c6 Migrate core/bubble_dragger.js to goog.module 2021-07-16 09:14:47 -07:00
Aaron Dodson
841d69644d Merge branch 'goog_module' into block_animations 2021-07-16 09:04:19 -07:00
kozbial
d8c4541130 Migrate core/blocks.js to goog.module 2021-07-15 18:33:56 -07:00
kozbial
81b16abb92 Migrate core/utils/metrics.js to goog.module 2021-07-15 17:52:04 -07:00
kozbial
4689c30634 Migrate core/block_drag_surface.js to goog.module 2021-07-15 16:20:49 -07:00
Aaron Dodson
ab0b03c472 Migrate core/block_animations.js to goog.module 2021-07-15 15:29:35 -07:00
alschmiedt
fe9273ad5c clang-format core/utils/toolbox.js 2021-07-15 13:00:45 -07:00
alschmiedt
2ab3bfd4cb Migrate core/utils/toolbox.js named requires 2021-07-15 12:56:39 -07:00
alschmiedt
d3cc70eb37 Migrate core/utils/toolbox.js to goog.module 2021-07-15 12:56:01 -07:00
Aaron Dodson
da81f9b229 Merge branch 'goog_module' of https://github.com/gonfunko/blockly into dom 2021-07-15 08:34:07 -07:00
kozbial
8abfa3d888 Migrate core/utils/colour.js to goog.module 2021-07-15 07:03:08 -07:00
kozbial
466a0db809 Migrate core/utils/rect.js to goog.module 2021-07-14 16:13:58 -07:00
Aaron Dodson
0ac3994343 Merge pull request #5062 from gonfunko/svg
Migrate core/utils/svg_paths.js to goog.module syntax
2021-07-14 15:59:43 -07:00
Aaron Dodson
1d8f6e903c Migrate core/utils/dom.js to named requires 2021-07-14 15:38:35 -07:00
kozbial
06cbde1dba Migrate core/utils/math.js to goog.module 2021-07-14 15:06:03 -07:00
Aaron Dodson
563defa3ba Migrate core/utils/dom.js to goog.module 2021-07-14 15:01:16 -07:00
Aaron Dodson
72a0761312 Migrate core/utils/svg_paths.js to goog.module 2021-07-14 14:43:15 -07:00
Aaron Dodson
656f4fc9d6 Migrate core/utils/style.js to goog.module 2021-07-14 13:58:05 -07:00
alschmiedt
92bc3bba0f Merge pull request #5056 from alschmiedt/migrate_idgenerator
Migrate core/utils/idgenerator.js to goog.module syntax
2021-07-14 13:29:50 -07:00
alschmiedt
08911510d2 Migrate core/utils/idgenerator.js to goog.module 2021-07-14 13:23:57 -07:00
Aaron Dodson
dee1059a50 Merge pull request #5033 from gonfunko/update-metadata-2
Added script and workflow to automatically update build artifact sizes in check_metadata.sh
2021-07-14 13:21:42 -07:00
Aaron Dodson
bad4b7036f Merge pull request #5057 from gonfunko/object
Migrate object.js to goog.module syntax
2021-07-14 11:19:47 -07:00
kozbial
2bf717019f Migrate core/utils/deprecation.js to goog.module 2021-07-14 11:16:32 -07:00
Aaron Dodson
8d33869a4a Gzip build output files in update_metadata.sh instead of update_metadata.yml. 2021-07-14 10:58:08 -07:00
kozbial
632ef12ed5 Migrate core/utils/keycodes.js to goog.module 2021-07-14 09:48:23 -07:00
Aaron Dodson
d224a2341d Migrate object.js to goog.module 2021-07-13 15:30:56 -07:00
Christopher Allen
d313ec804a Merge branch 'develop' into goog.module-prep
This resolves a conflict in `blockly_uncompressed.js`, and missing
updates to `test/deps.js`, caused by PR #5041.
2021-07-13 22:16:35 +01:00
jschanker
de1b3214be Enforce connection preconditions for setParent (#4999)
* Fix error conditions for setParent #4989

* Error now thrown when calling `a.setParent(b)` on non-null b if the output/previous connection of a is not connected to an input/next connection of b without removing block from old parent's child list.
* Commented out error for when calling `a.setParent(null)` if a is connected to superior block.
* Adjusted comment to reflect that blocks were no longer being disconnected in this method.
* Also changed == to === per #4924 (`newParent` and `this.parentBlock_` must both be instances of `Blockly.Block`).

* Fix error conditions for setParent #4989

* Error now thrown when calling `a.setParent(b)` on non-null b if the output/previous connection of a is not connected to an input/next connection of b without removing block from old parent's child list.
* Error now thrown when calling `a.setParent(null)` if a is connected to a superior block.
* Adjusted comment to reflect that blocks were no longer being disconnected in this method.
* Also changed == to === per #4924 (`newParent` and `this.parentBlock_` must both be instances of `Blockly.Block`).

* Fix error conditions for setParent #4989

* Error now thrown when calling `a.setParent(b)` on non-null b if the output/previous connection of a is not connected to an input/next connection of b without removing block from old parent's child list.
* Commented out error for when calling `a.setParent(null)` if a is connected to superior block.
* Adjusted comment to reflect that blocks were no longer being disconnected in this method.
* Also changed == to === per google#4924 (`newParent` and `this.parentBlock_` must both be instances of `Blockly.Block`).
* Fixed lint errors.

* Fix error conditions for setParent google#4989

* Error now thrown when calling `a.setParent(b)` on non-null b if the output/previous connection of a is not connected to an input/next connection of b without removing block from old parent's child list.
* Commented out error for when calling `a.setParent(null)` if a is connected to superior block.
* Adjusted comment to reflect that blocks were no longer being disconnected in this method.
* Also changed == to === per google#4924 (`newParent` and `this.parentBlock_` must both be instances of `Blockly.Block`).
* Fixed lint errors.
* Adjusted comment.

* Removed unnecessary set to null/added tests

* One is failing (commented out), will investigate later

* Lint fix

* Removed failing test that correctly fails

* Update comments to conform to style guide

Capitalize first letter, period at end
2021-07-13 13:56:42 -07:00