Commit Graph

56 Commits

Author SHA1 Message Date
Monica Kozbial
a15bbf1700 Revert #4697 (#4917) 2021-06-16 09:36:39 -07:00
Neil Fraser
76b5517008 Use null-prototype objects for maps
A {} has a bunch of names already defined on it (like ‘toString’).  When using an object as a map with arbitrary keys, it should not inherit from Object.prototype.
2021-06-09 11:41:42 -07:00
Neil Fraser
17f9209f2f Add missing extern 2021-05-27 21:30:26 -07:00
Neil Fraser
d919b0af21 Update JSDoc from Array.<> to Array<>
Same with Object.
2021-05-27 21:30:26 -07:00
Sam El-Husseini
d83279008b Remove dark theme in favour of @blockly/theme-dark (#4697)
* Remove dark theme in favour of @blockly/theme-dark
2021-04-21 13:33:59 -07:00
Rachel Fenichel
8ee2a85cd5 Merge pull request #4764 from rachel-fenichel/enable_es6
Change compilation language_in to STABLE
2021-04-13 14:08:53 -07:00
Rachel Fenichel
9c77e9b944 Don't explicitly set the default 2021-04-13 13:55:22 -07:00
alschmiedt
fa8cf15d8e Reverts #4573 (#4775) 2021-04-13 09:44:53 -07:00
Monica Kozbial
a05b26fa93 Add exclude paths as config for typings (#4721) 2021-04-13 09:42:31 -07:00
Rachel Fenichel
5416f1df75 Change compile scripts to use STABLE for language_in 2021-04-08 14:14:17 -07:00
alschmiedt
9a93ca486f Fix advanced compilation tests for Q1 2021 release (#4709) 2021-03-17 15:46:17 -07:00
Sam El-Husseini
63d26dc186 Add extra requires check (#4677)
* Add extra requires check
2021-03-05 09:50:51 -08:00
Sam El-Husseini
f97730e83c Sort requires (#4658)
* Cleanup gulp method to sort requires
2021-02-25 17:17:42 -08:00
alschmiedt
5da6bb05ba Updates beta release script to display current beta version (#4605) 2021-02-18 16:12:32 -08:00
Sam El-Husseini
628d45357f Update appengine_tasks to include playground dependencies (#4591)
* Update appengine_tasks to include playground dependencies
2021-01-27 11:36:16 -08:00
Sam El-Husseini
60e96c4d93 Temporarily disable strict require compiler errors (#4581)
* Disable strict require check in closure compiler
2021-01-11 14:07:29 -08:00
alschmiedt
1208987dbb Update release scripts (#4558) 2021-01-08 11:52:02 -08:00
Rachel Fenichel
fc0c2c5dbe Update jsdom 2021-01-07 18:32:29 -08:00
Monica Kozbial
dc22b30849 Update demo deploy script and fix gcloudignore file (#4566) 2021-01-06 14:58:28 -08:00
Monica Kozbial
77884550a5 Add script for deploying demos (#4551) 2021-01-05 11:08:29 -08:00
Sam El-Husseini
7ebb53968c Update typings script and fix two typing issues: (#4542) 2020-12-16 19:29:20 -08:00
alschmiedt
5dafd4fba7 Fix update gh pages (#4488) 2020-12-02 16:07:20 -08:00
Sam El-Husseini
6790d7f81c Fix windows path separator in uncompressed build (#4487)
* Fix windows path separator in uncompressed build
2020-12-01 14:07:29 -08:00
Rachel Fenichel
3a138936c3 Update closure 2020-11-17 10:34:34 -08:00
Monica Kozbial
40ef586260 Refactoring Ui events in core (#4418)
* Ui events base (#4370)

* Add constants for new ui event types

* Add property to indicate an event as UI event

* Click events (#4372)

* Creating new ui base class.

* Refactor theme event (#4391)

* Add themeName property to theme event

* Refactor marker move events. (#4389)

* Refactor trashcan open event (#4392)

* Refactor selected event (#4387)

* Refactor toolbox item change event (#4394)

* Refactor bubble open events (#4390)

* Refactor block drag event (#4388)

* Viewport events (#4395)

* Fix event filtering for ui events (#4401)

* Move events to new directory and rename Ui events base (#4400)

* Move events to new directory and rename Ui events base

* Add missing fromJson implementation for click event (#4410)

* Adding serialization tests for events

* Zoom controls event (#4407)

* Refactor zoom event

* Rename IS_UI_EVENT to isUiEvent
2020-11-04 14:43:54 -08:00
Sam El-Husseini
6181dd37c7 Add build strict option that builds with the strict type checker (#4098)
* Add build strict option that builds with the strict type checker
2020-09-08 17:08:39 -07:00
alschmiedt
d01169fa79 Toolbox Rewrite (#4223)
Rewrite the toolbox in order to get rid of old closure code and make it easier to extend.

Co-authored-by: Maribeth Bottorff <maribethb@google.com>
2020-09-02 08:13:07 -07:00
Monica Kozbial
408319823e Remove references to removed test_blocks.js (#4173)
* Remove test blocks reference from compile tests.

* Remove test blocks reference from compile script
2020-08-18 16:33:57 -07:00
Sam El-Husseini
ab2031c353 Upgrade closure compiler to latest 2020-08-10 11:57:56 -07:00
Sam El-Husseini
25821c888d Move package to scripts/package (#4045) 2020-07-14 16:31:53 -07:00
Sam El-Husseini
55e6f8000e Move i18n scripts under scripts/ (#4044)
* Move i18n scripts under scripts/
2020-07-14 12:07:56 -07:00
Sam El-Husseini
c0a0745f85 Move theme scripts to scripts dir (#4041) 2020-07-14 11:44:25 -07:00
Sam El-Husseini
f3136e61a1 Advanced compilation gulp script to replace the shell script. (#3996) 2020-07-01 10:55:17 -07:00
alschmiedt
32de43098c Update gh pages script (#3925)
* Update script for pushing to github pages

* Remove build github pages
2020-05-29 14:36:04 -07:00
alschmiedt
afba82222e Fix recompile script (#3926) 2020-05-29 11:17:16 -07:00
Sam El-Husseini
1052f7548b Enable unusedPrivateMembers check (#3924)
* Add unusedPrivateMembers check
2020-05-28 17:44:16 -07:00
alschmiedt
8ec3a49487 Update build scripts (#3923)
* Update build scripts
2020-05-28 17:10:52 -07:00
Sam El-Husseini
e3babee1f3 Add Blockly.utils.Metrics @record (#3913)
* Add Blockly.utils.Metrics
2020-05-21 15:03:17 -07:00
Sam El-Husseini
fd916fdb9b Bounding Box interface (#3906)
* Add an interface describing a bounding box registered on the workspace

* Clear the bounding box array

* PR comments

* Update chromedriver
2020-05-19 18:06:11 -07:00
Sam El-Husseini
cb86ad766e Fix gulp build on Windows (#3894)
* Fix gulp build compressed on Windows

Need to escape the separate for the regex.

* nit: formatt
2020-05-08 10:05:07 -07:00
Sam El-Husseini
43c2a0e85c Add sourcemaps (#3872)
* Update build scripts to produce source maps
2020-05-01 10:10:23 -07:00
Sam El-Husseini
4b20383831 Add Selectable interface (#3823)
* Add I Selectable interface
2020-04-16 18:22:32 -07:00
Sam El-Husseini
7e4e6c7286 Add typings modules to match UMD modules. (#3821)
* Add typings modules to match UMD modules.
2020-04-15 09:44:25 -07:00
Monica Kozbial
a9223b0b22 Typo fixes. (#3769) 2020-03-25 15:47:27 -07:00
alschmiedt
40d39fd0c5 Update gh pages task (#3762)
* Add task for updating github pages from develop
2020-03-23 16:49:03 -07:00
Sam El-Husseini
d838778a4a Script to check licenses (#3757)
* Add script task to check licenses of all dependenies
2020-03-19 10:53:29 -07:00
Sam El-Husseini
a6e3f78425 Cleanup build (#3756) 2020-03-18 12:08:24 -07:00
Rachel Fenichel
adeed59fed Fix package output location 2020-02-20 17:54:21 -08:00
Rachel Fenichel
e78a87a1e5 Break gulpfile into multiple subfiles 2020-02-14 13:42:38 -08:00
Neil Fraser
82705923cb Convert compile demo into a unit test. (#1360)
* Intentionally break Travis.

* Alphabetize tests, remove orphaned test, and add fail to test that's running.

* Unbreak test, disable OS X, move scripts, list compiler directory.

* Test Java, break test.

* Unbreak test, call compile script.

* Compile main_compressed.js

* Run test command using bash.

* Fix path.

* Exclude node modules.

* Be more specific about JS files to compile.

* Test failure.

* Restore OSX, undo Blockly failure, remove compilation demo, add compilation test.

* Delete manual test files.

* Ignore downloaded/generated files.

* Whitespace cleanup.
2017-10-12 14:54:57 -07:00