Commit Graph
4338 Commits
Author SHA1 Message Date
Thomas Weber cfd3d8fefb Fix loading projects with custom extensions
Specifically, if someone saves a project with a custom extension in it, they will actually be able to load it if they go back to TW with that extension enabled.
We're not automatically loading custom extensions from projects, that's unsafe.
2021-03-15 16:49:07 -05:00
Thomas Weber 87d05af4f1 Store extension worker in js with hash-based filename
This will improve the file's caching
2021-03-12 22:24:57 -06:00
Thomas Weber b2e853e6c7 Revert "Make extension worker inline"
This reverts commit cda4f85256.

If we ever want to start applying a CSP to the website, moving the extension worker back to its own file will be necessary to avoid removing functionality
2021-03-12 22:19:27 -06:00
Thomas Weber 74c23d007d Remove beforeStep and afterStep 2021-03-12 21:25:53 -06:00
Thomas Weber 6de2f834a4 Call compilerRegisterExtension in loadExtensionIdSync
Previously it was only called in loadExtensionURL
2021-03-09 22:44:56 -06:00
Thomas Weber b97ddc8730 Merge branch 'develop' of https://github.com/llk/scratch-vm into develop 2021-03-08 16:07:45 -06:00
dependabot-preview[bot] e8d5caaba4 Merge pull request #2943 from LLK/dependabot/npm_and_yarn/elliptic-6.5.4 2021-03-08 19:32:20 +00:00
Christopher Willis-Ford 08fcae8fc6 Merge pull request #2891 from adroitwhiz/remove-nets
Replace nets with Fetch API
2021-03-08 11:10:20 -08:00
dependabot-preview[bot] 152062a505 [Security] Bump elliptic from 6.5.3 to 6.5.4
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4. **This update includes a security fix.**
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 17:44:51 +00:00
dependabot-preview[bot] 5b511f6ea2 Merge pull request #2942 from LLK/dependabot/npm_and_yarn/scratch-blocks-0.1.0-prerelease.20210308034730 2021-03-08 11:58:38 +00:00
dependabot-preview[bot] eaa3363022 Merge pull request #2939 from LLK/dependabot/npm_and_yarn/scratch-l10n-3.11.20210308031514 2021-03-08 11:31:42 +00:00
dependabot-preview[bot] 87f8c55d1c Bump scratch-blocks
Bumps [scratch-blocks](https://github.com/LLK/scratch-blocks) from 0.1.0-prerelease.20210305033235 to 0.1.0-prerelease.20210308034730.
- [Release notes](https://github.com/LLK/scratch-blocks/releases)
- [Commits](https://github.com/LLK/scratch-blocks/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 11:26:01 +00:00
dependabot-preview[bot] f7e6ed908e Bump scratch-l10n from 3.11.20210305031531 to 3.11.20210308031514
Bumps [scratch-l10n](https://github.com/LLK/scratch-l10n) from 3.11.20210305031531 to 3.11.20210308031514.
- [Release notes](https://github.com/LLK/scratch-l10n/releases)
- [Commits](https://github.com/LLK/scratch-l10n/compare/3.11.20210305031531...3.11.20210308031514)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 11:22:43 +00:00
dependabot-preview[bot] 5e3a8d5f4d Merge pull request #2932 from LLK/dependabot/npm_and_yarn/scratch-blocks-0.1.0-prerelease.20210305033235 2021-03-05 10:56:14 +00:00
dependabot-preview[bot] a426480048 Merge pull request #2931 from LLK/dependabot/npm_and_yarn/scratch-l10n-3.11.20210305031531 2021-03-05 10:48:23 +00:00
dependabot-preview[bot] 22175f79c8 Bump scratch-blocks
Bumps [scratch-blocks](https://github.com/LLK/scratch-blocks) from 0.1.0-prerelease.20210304032830 to 0.1.0-prerelease.20210305033235.
- [Release notes](https://github.com/LLK/scratch-blocks/releases)
- [Commits](https://github.com/LLK/scratch-blocks/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-05 10:37:07 +00:00
dependabot-preview[bot] ec3a829c7a Bump scratch-l10n from 3.11.20210304031526 to 3.11.20210305031531
Bumps [scratch-l10n](https://github.com/LLK/scratch-l10n) from 3.11.20210304031526 to 3.11.20210305031531.
- [Release notes](https://github.com/LLK/scratch-l10n/releases)
- [Commits](https://github.com/LLK/scratch-l10n/compare/3.11.20210304031526...3.11.20210305031531)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-05 10:36:16 +00:00
dependabot-preview[bot] 4028bdfd92 Merge pull request #2929 from LLK/dependabot/npm_and_yarn/scratch-blocks-0.1.0-prerelease.20210304032830 2021-03-04 11:09:04 +00:00
dependabot-preview[bot] a8557a4550 Merge pull request #2928 from LLK/dependabot/npm_and_yarn/scratch-l10n-3.11.20210304031526 2021-03-04 10:55:45 +00:00
dependabot-preview[bot] 35b0ea0c97 Bump scratch-blocks
Bumps [scratch-blocks](https://github.com/LLK/scratch-blocks) from 0.1.0-prerelease.20210226034512 to 0.1.0-prerelease.20210304032830.
- [Release notes](https://github.com/LLK/scratch-blocks/releases)
- [Commits](https://github.com/LLK/scratch-blocks/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-04 10:42:12 +00:00
dependabot-preview[bot] 84db946090 Bump scratch-l10n from 3.11.20210303031534 to 3.11.20210304031526
Bumps [scratch-l10n](https://github.com/LLK/scratch-l10n) from 3.11.20210303031534 to 3.11.20210304031526.
- [Release notes](https://github.com/LLK/scratch-l10n/releases)
- [Commits](https://github.com/LLK/scratch-l10n/compare/3.11.20210303031534...3.11.20210304031526)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-04 10:41:20 +00:00
adroitwhiz 1035e9da28 Clean up TTS request code 2021-03-04 00:29:50 -05:00
Thomas Weber 75eb096abd js: Store timer for control.wait on thread 2021-03-03 12:49:19 -06:00
dependabot-preview[bot] f38ee90a9d Merge pull request #2924 from LLK/dependabot/npm_and_yarn/scratch-l10n-3.11.20210303031534 2021-03-03 11:02:19 +00:00
dependabot-preview[bot] b93ba347b9 Merge pull request #2923 from LLK/dependabot/npm_and_yarn/scratch-render-0.1.0-prerelease.20210302210916 2021-03-03 10:54:26 +00:00
dependabot-preview[bot] d455ff8849 Bump scratch-l10n from 3.11.20210226031520 to 3.11.20210303031534
Bumps [scratch-l10n](https://github.com/LLK/scratch-l10n) from 3.11.20210226031520 to 3.11.20210303031534.
- [Release notes](https://github.com/LLK/scratch-l10n/releases)
- [Commits](https://github.com/LLK/scratch-l10n/compare/3.11.20210226031520...3.11.20210303031534)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-03 10:40:01 +00:00
dependabot-preview[bot] 31e931f645 Bump scratch-render
Bumps [scratch-render](https://github.com/LLK/scratch-render) from 0.1.0-prerelease.20210225211601 to 0.1.0-prerelease.20210302210916.
- [Release notes](https://github.com/LLK/scratch-render/releases)
- [Commits](https://github.com/LLK/scratch-render/compare/0.1.0-prerelease.20210225211601...0.1.0-prerelease.20210302210916)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-03 10:39:19 +00:00
Eric Rosenbaum f71f2b7fe2 Merge pull request #2920 from ericrosenbaum/do-not-translate-only-numbers
Do not translate strings containing only digits
2021-03-02 12:42:41 -05:00
dependabot-preview[bot] ef05dae7a9 Merge pull request #2921 from LLK/dependabot/npm_and_yarn/babel/preset-env-7.13.9 2021-03-02 10:50:42 +00:00
dependabot-preview[bot] b897dd9854 Bump @babel/preset-env from 7.13.8 to 7.13.9
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.8 to 7.13.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.9/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-02 10:41:55 +00:00
dependabot-preview[bot] e6a7698da8 Merge pull request #2919 from LLK/dependabot/npm_and_yarn/babel/preset-env-7.13.8 2021-03-01 22:44:49 +00:00
Eric Rosenbaum ddab65bac2 do not translate strings containing only digits 2021-03-01 11:48:07 -05:00
dependabot-preview[bot] 5b5b96c0b3 Bump @babel/preset-env from 7.13.5 to 7.13.8
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.5 to 7.13.8.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.8/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 16:32:17 +00:00
Thomas Weber fce6f8792b Further tune interpolation heuristic
The interpolator is now generally more willing to interpolate movement.
2021-02-28 19:34:14 -06:00
Thomas Weber bcef677c61 Update README 2021-02-28 09:36:07 -06:00
Thomas Weber 4b21fb6fae Add more unsafe equality test checks 2021-02-28 09:35:04 -06:00
Thomas Weber 96c0219d1a Fix empty strings being interpreted as numbes (#50) 2021-02-28 09:31:15 -06:00
Thomas Weber c8f8f1ac9c Compile looks_changeeffectby and looks_seteffectto 2021-02-28 00:16:55 -06:00
Thomas Weber 89d0e25955 Slightly optimize startHats 2021-02-27 23:58:10 -06:00
Thomas Weber 7182b7218f Clean up interpolation formatting 2021-02-27 23:11:49 -06:00
Thomas Weber b51c6cce03 Revert "Replace TextEncoder polyfill"
This reverts commit d93a26bec5.
2021-02-27 19:47:22 -06:00
Thomas Weber d93a26bec5 Replace TextEncoder polyfill 2021-02-27 18:18:20 -06:00
dependabot-preview[bot] bea802a3b1 Merge pull request #2911 from LLK/dependabot/npm_and_yarn/scratch-svg-renderer-0.2.0-prerelease.20210225205629 2021-02-26 13:26:04 +00:00
dependabot-preview[bot] 393d12db9c Merge pull request #2913 from LLK/dependabot/npm_and_yarn/scratch-l10n-3.11.20210226031520 2021-02-26 13:08:18 +00:00
dependabot-preview[bot] 732bd7e98e Merge pull request #2912 from LLK/dependabot/npm_and_yarn/scratch-blocks-0.1.0-prerelease.20210226034512 2021-02-26 13:00:21 +00:00
dependabot-preview[bot] 9e5483b13f Bump scratch-svg-renderer
Bumps [scratch-svg-renderer](https://github.com/LLK/scratch-svg-renderer) from 0.2.0-prerelease.20210219193204 to 0.2.0-prerelease.20210225205629.
- [Release notes](https://github.com/LLK/scratch-svg-renderer/releases)
- [Commits](https://github.com/LLK/scratch-svg-renderer/commits/0.2.0-prerelease.20210225205629)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-26 12:46:57 +00:00
dependabot-preview[bot] fa055074cb Merge pull request #2910 from LLK/dependabot/npm_and_yarn/scratch-render-0.1.0-prerelease.20210225211601 2021-02-26 12:44:12 +00:00
dependabot-preview[bot] fc4fa14d1f Bump scratch-l10n from 3.11.20210225031524 to 3.11.20210226031520
Bumps [scratch-l10n](https://github.com/LLK/scratch-l10n) from 3.11.20210225031524 to 3.11.20210226031520.
- [Release notes](https://github.com/LLK/scratch-l10n/releases)
- [Commits](https://github.com/LLK/scratch-l10n/compare/3.11.20210225031524...3.11.20210226031520)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-26 12:38:39 +00:00
dependabot-preview[bot] 00a9528a69 Bump scratch-blocks
Bumps [scratch-blocks](https://github.com/LLK/scratch-blocks) from 0.1.0-prerelease.20210225034724 to 0.1.0-prerelease.20210226034512.
- [Release notes](https://github.com/LLK/scratch-blocks/releases)
- [Commits](https://github.com/LLK/scratch-blocks/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-26 12:37:49 +00:00
dependabot-preview[bot] 8e1d2d2330 Bump scratch-render
Bumps [scratch-render](https://github.com/LLK/scratch-render) from 0.1.0-prerelease.20210219213024 to 0.1.0-prerelease.20210225211601.
- [Release notes](https://github.com/LLK/scratch-render/releases)
- [Commits](https://github.com/LLK/scratch-render/commits/0.1.0-prerelease.20210225211601)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-26 12:34:53 +00:00