Thomas Weber
75a23e54c8
Disable intentionally broken tests
2021-08-03 16:26:22 -05:00
Thomas Weber
3342b38ef2
Increase cloud variable limit to 100
2021-08-03 16:04:49 -05:00
Thomas Weber
c1387a1e36
Remove trailing whitespace
2021-08-03 15:54:01 -05:00
Thomas Weber
1d8a9c12db
Improve custom extension sandbox ( #60 )
2021-07-22 15:44:56 -05:00
Thomas Weber
e79b7ecfd1
Init mouse scratch[X|Y] to 0
...
When autoplay is enabled, the runtime can start before a mouse event is fired
2021-07-22 10:49:34 -05:00
Thomas Weber
f79f1a07d9
Init mouse client[X|Y] to 0
2021-07-20 17:12:43 -05:00
Thomas Weber
f03d397936
Revert "Allow name of addon blocks category to be translated"
...
This reverts commit e2fdfc5bf5 .
It may be causing crashes.
2021-07-20 13:02:18 -05:00
Thomas Weber
e2fdfc5bf5
Allow name of addon blocks category to be translated
2021-07-13 22:10:27 -05:00
Thomas Weber
573ce9dc1c
Addon blocks should always be the top extension
2021-07-13 22:06:39 -05:00
Thomas Weber
e79998cf62
Add simple CLI project runner
2021-07-13 21:37:41 -05:00
Thomas Weber
71a0748d7e
Remove unnecessary newlines from baseRuntime
2021-07-13 11:53:00 -05:00
Thomas Weber
d0d27ddbd1
First unit tests for jsexecute runtime functions
2021-07-13 11:49:14 -05:00
Thomas Weber
4c4b215c9c
Update tw docsURI
2021-07-12 20:21:53 -05:00
Thomas Weber
0129c32a64
jsexecute: Only generate runtime functions that are used
2021-07-12 20:16:01 -05:00
Thomas Weber
84c43ea2a0
Refactor scopedEval
2021-07-12 18:18:06 -05:00
Thomas Weber
e156ed7ccb
jsexecute: Use new Function instead of eval
...
This shows significant performance improvement in some projects
2021-07-11 19:12:58 -05:00
Thomas Weber
705b3da07d
jsexecute: Maintain global state in separate object
2021-07-11 19:03:41 -05:00
Thomas Weber
b01640bbad
jsexecute: Remove unused Thread import
2021-07-11 18:51:44 -05:00
Thomas Weber
1450d213ac
Factory function should accept thread as only argument
2021-07-11 18:50:15 -05:00
Thomas Weber
2011c6c652
jsexecute: Hardcode thread status codes
2021-07-11 18:41:02 -05:00
Thomas Weber
cb4562e341
Merge branch 'develop' of github.com:TurboWarp/scratch-vm into develop
2021-07-08 17:35:54 -05:00
Thomas Weber
c8ed32b8d2
js+ir: check whether thread status after running addon block
...
Fixes "breakpoint" block working unreliably
2021-07-08 17:35:50 -05:00
Thomas Weber
dbae5fe7d6
Implement addon blocks in interpreter
2021-07-07 00:10:04 -05:00
Thomas Weber
297df0f552
Store addon block names, ids, defaults in cache
2021-07-07 00:03:09 -05:00
Thomas Weber
0a4d3a563f
Don't attempt to be clever when parsing extension URL
2021-06-20 17:28:26 -05:00
Thomas Weber
dae5a5ecd3
Theoretically allow loading extensions from file: URIs
...
https://github.com/TurboWarp/packager/issues/40
2021-06-20 14:16:27 -05:00
Thomas Weber
9e15b0f38a
Don't try to enable high quality pen if there is no renderer
2021-06-19 12:55:09 -05:00
Thomas Weber
7f0ee2beb8
Don't rename if the name didn't change
...
In large projects, Scratch tries to make sure every sprite has a unique name by renaming them to their current name
This can take >200ms on large projects when none of the names have actually changed because it also has to update blocks
2021-06-18 19:49:30 -05:00
Thomas Weber
29bac8c8d1
Merge branch 'develop' of github.com:LLK/scratch-vm into develop
2021-06-17 21:38:19 -05:00
Thomas Weber
5265deaa9b
Relicense to LGPL, part 2
2021-06-16 22:33:29 -05:00
Thomas Weber
8e18fd9f66
Relicense to LGPL 3.0
2021-06-16 22:30:16 -05:00
Thomas Weber
42b4e99e98
Fix addon blocks causing errors due to missing properties
2021-06-15 14:50:55 -05:00
Thomas Weber
3e15b7dfd1
Don't try to share errors between workers
...
It throws errors in Firefox
2021-06-15 10:46:06 -05:00
Christopher Willis-Ford
119b34876d
Merge pull request #3163 from LLK/dependabot/npm_and_yarn/scratch-l10n-3.12.20210614210413
...
Bump scratch-l10n from 3.11.20210324031512 to 3.12.20210614210413
2021-06-14 18:04:19 -07:00
dependabot-preview[bot]
5f769ebdff
Bump scratch-l10n from 3.11.20210324031512 to 3.12.20210614210413
...
Bumps [scratch-l10n](https://github.com/LLK/scratch-l10n ) from 3.11.20210324031512 to 3.12.20210614210413.
- [Release notes](https://github.com/LLK/scratch-l10n/releases )
- [Commits](https://github.com/LLK/scratch-l10n/compare/3.11.20210324031512...3.12.20210614210413 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2021-06-15 00:54:39 +00:00
Thomas Weber
20a9c26a0f
Just store all runtime options
2021-06-10 12:11:27 -05:00
Thomas Weber
91b9bcb6c6
Fix storing remove fencing
2021-06-10 12:10:57 -05:00
Thomas Weber
a8cfa25d9d
More work on the "thread map" concept
2021-06-10 11:44:41 -05:00
Thomas Weber
59f3c0ebe8
Fix some more startHats bugs
2021-06-09 23:02:57 -05:00
Thomas Weber
72a48e9ed7
Fix tw-restart-broadcast-threads.sb3 test
2021-06-09 22:41:00 -05:00
Thomas Weber
b64b7d83f7
Fix all remaining eslint errors
...
valid-jsdoc was disabled because typescript syntax comments make eslint upset
2021-06-09 22:28:26 -05:00
Thomas Weber
bbe7bc035b
Make startHats not O(n^2), attempt 2
2021-06-09 22:23:51 -05:00
Thomas Weber
b992b4637f
Fix eslint error
2021-06-09 21:56:54 -05:00
Thomas Weber
d27589e24a
Compute targetsUpdate targetList lazily
...
small up to 2% optimization in some projects when outside editor
2021-06-09 21:55:09 -05:00
Thomas Weber
75e4239e41
Remove leftover debugging logic
2021-06-09 19:34:21 -05:00
Thomas Weber
86de84e150
Initial "addon block" support
2021-06-09 19:15:25 -05:00
Thomas Weber
54d54a638c
js: control.for should be able to yield
2021-06-06 11:45:00 -05:00
Thomas Weber
09efb8b083
Merge branch 'develop' of github.com:LLK/scratch-vm into develop
2021-06-04 15:43:27 -05:00
Thomas Weber
3e7a5ac706
Remove check for default project comment ID
2021-06-04 15:10:57 -05:00
Thomas Weber
5637af71c0
Remove usesExtendedExtensions
2021-06-02 14:07:32 -05:00