Neil Fraser
63ca83b545
chore: Make startsWith faster ( #6118 )
...
by using built-in function (polyfill will handle IE).
2022-04-27 15:25:07 -07:00
Maribeth Bottorff
69f3d4ae89
fix: Update typings for q1 2022 release ( #6051 )
...
* fix: initial commit for typings for q1 2022 release
* fix: update interface declarations
* fix: remove spurious override
* fix: add explicit any type
* fix: remove spurious Array type
* fix: CopyData declaration
* fix: fix extra-state
2022-03-30 18:37:51 -07:00
alschmiedt
10d9cc45d2
Merge branch 'develop' into master_into_develop
2022-03-29 15:25:39 -07:00
Andrew Wyer
5d7c890243
fix: TypeScript exporting of the serialization functions ( #5890 )
...
* Relocates serialization typing to be adjacent
* Gathers serialization imports and exports from Blockly
2022-01-25 16:35:47 +00:00
Rachel Fenichel
07a75dee8d
fix: msg imports in type definitions ( #5858 )
...
This is a copy of https://github.com/google/blockly/pull/5846/files against master, which will fix https://github.com/google/blockly/issues/5841 in the next patch release.
When we released v7 we committed to making patch releases for typescript definition errors, since our pipeline for typings was convoluted this quarter.
2022-01-07 10:11:13 -08:00
Maribeth Bottorff
1fb204e36b
fix: Upload new TypeScript typings for Q4 release ( #5802 )
...
* fix: Run intial typings script for q4 release
* fix: manually fix errors with types
* fix: update core module
2021-12-09 10:43:43 -08:00
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
alschmiedt
1c1918ebb2
chore: rebuild for release ( #5573 )
2021-10-01 08:04:20 -07:00
Sam El-Husseini
6136d93cdf
Fix msg typings script and move to typings build directory
2021-07-10 13:02:47 +01:00
Beka Westberg
30d7f0914e
Rebuild ( #4975 )
2021-07-01 08:17:08 -07:00
叶伟伟
978b1b83c4
fix: Fix typing error of generators ( #4753 )
2021-04-12 16:00:16 -07:00
Maribeth Bottorff
aed9ba13a9
Rebuild ( #4733 )
2021-03-25 09:37:19 -07:00
alschmiedt
ee99aec820
Fix toolbox typings ( #4588 )
2021-01-25 09:48:05 -08:00
alschmiedt
92f2ab0258
Rebuild ( #4547 )
2020-12-17 12:19:28 -08:00
alschmiedt
ebd9d51f3d
Revert "Allow .js script files to refer to Blockly global from blockly.d.ts ( #4434 )" ( #4543 )
...
This reverts commit 9a2f288dd4 .
2020-12-17 10:08:16 -08:00
Sam El-Husseini
7ebb53968c
Update typings script and fix two typing issues: ( #4542 )
2020-12-16 19:29:20 -08:00
David Foster
9a2f288dd4
Allow .js script files to refer to Blockly global from blockly.d.ts ( #4434 )
2020-11-16 14:12:10 -08:00
Monica Kozbial
bdee690ab2
Rebuild ( #4318 )
2020-09-24 12:14:11 -07:00
Sam El-Husseini
d70d896a9f
Fix field registry typings ( #4281 )
...
* Fix field registry types
2020-09-16 09:10:41 -07:00
Sam El-Husseini
ba68081d8f
Rebuild
2020-07-06 11:11:05 -07:00
alschmiedt
a1727b1717
Rebuild ( #4001 )
2020-06-25 16:11:32 -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
888e348c69
Clean out the date field ( #3876 )
2020-05-06 09:42:24 -07:00
Sam El-Husseini
12c8a50a0f
Update the options object to reflect its properties, update the public option interface to include keymap and other little things ( #3826 )
2020-04-15 17:51:57 -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
alschmiedt
66a47025b7
Update build files in preparation for release ( #3786 )
2020-04-02 13:10:19 -07:00
Neil Fraser
4e2f8e6e02
Use SPDX licences.
...
This is a followup to #3127 .
At the time, SPDX licenses were pending approval by Google.
2020-02-11 13:27:20 -08:00
Sam El-Husseini
639218e883
Add renderer into typings options ( #3631 )
2020-01-22 11:07:28 -08:00
Sam El-Husseini
92a19d8340
Rebuild ( #3622 )
2020-01-21 14:15:35 -08:00
Sam El-Husseini
b87d23b976
Rebuild for release with options parsing fix. ( #3618 )
2020-01-21 13:40:17 -08:00
Sam El-Husseini
2f3716a022
Update Typings in preparation for release ( #3603 )
2020-01-16 11:36:51 -08:00
Sam El-Husseini
0f659b25fa
Support workspace theme option as JSON ( #3379 )
...
* Allow passing in a theme as JSON
2019-10-31 15:49:48 -07:00
Sam El-Husseini
a782645851
Add setLocale to the Blockly typescript definition file. ( #3197 )
2019-10-08 11:12:29 -07:00
Sam El-Husseini
7d83cc57e8
Rebuild typings: ( #3163 )
2019-10-04 13:32:43 -07:00
Neil Fraser
b46a4fe286
Bring our license format up to date ( #3127 )
...
* Google changed from an Inc to an LLC.
This happened back in 2017 but we didn’t notice. Officially we should update files from Inc to LLC when they are changed as part of regular edits, but this is a nightmare to remember for the next decade.
* Remove project description/titles from licenses
This is no longer part of Google’s header requirements. Our existing descriptions were useless (“Visual Blocks Editor”) or grossly obselete (“Visual Blocks Language”).
* License no longer requires URL.
* Fix license regexps.
2019-10-02 14:46:56 -07:00
Neil Fraser
b701475984
Simplify trashcan code ( #3110 )
...
Also delete unused props in CSS.
2019-09-27 11:43:56 -07:00
Sam El-Husseini
b9c81f6254
Remove closure typings ( #2861 )
2019-08-20 13:18:37 -07:00
Sam El-Husseini
f118d6de88
No closure toolbox ( #2819 )
...
* Update the toolbox to not rely on closure and instead use the built in Blockly.tree component
2019-08-14 13:48:21 -07:00
Sam El-Husseini
5ada490eca
Cherry pick npm distribution change to develop ( #2785 )
2019-08-07 10:53:53 -07:00
Sam El-Husseini
b7b4af4edf
Add jsdoc to messages ( #2774 )
...
* Add jsdoc annotations to messages so that the typescript generator tool picks it up.
2019-08-07 10:34:12 -07:00
Sam El-Husseini
d2d621aec3
Update typings after removing references to goog.math ( #2743 )
...
* Update typings after removing references to goog.math
2019-07-30 13:19:14 -07:00
Sam El-Husseini
9d593f2cb8
TypeScript Definition file ( #2738 )
...
* Add Typescript definition file for Blockly
2019-07-30 11:17:57 -07:00