Commit graph

2692 commits

Author SHA1 Message Date
Karishma Chadha
a8618b378f Update load costume fixes to handle storage resolving null and put all error handling in one place. Could be used in the future to handle bitmap loading issues as well 2022-05-13 19:05:30 -04:00
Karishma Chadha
deadce3bc6 Let GQM replace broken costume data but explicitly save and serialize broken costume data before finishing loading the costume. 2022-05-11 10:57:24 -04:00
Christopher Willis-Ford
c59af735ef support Scratch Link on ws://127.0.0.1:20111 2022-02-16 15:02:35 -08:00
Christopher Willis-Ford
d119ca2477
Merge pull request #2903 from cwillisf/performance-mark-deserialize
use performance.mark to measure deserialize time
2021-10-29 07:32:14 -07:00
DD Liu
53c16601f6 Update comment 2021-06-01 13:42:13 -04:00
Eric Rosenbaum
679efb28fd lint 2021-04-29 11:39:05 -04:00
Eric Rosenbaum
0b4b32dcb0 Save and load the origin 2021-04-29 11:32:13 -04:00
DD Liu
529a87cdb8 Go back to only using svgrenderer to process vectors that we think are coming from scratch 2 2021-04-10 22:43:02 -04:00
DD Liu
62e7dde84e Put back deprecated function to not break gui 2021-04-01 18:28:15 -04:00
DD Liu
74928ede7c Fix playground 2021-03-23 16:32:05 -04:00
DD Liu
e5560b067b Merge branch 'develop' into removev2SvgAdapter 2021-03-16 16:53:40 -04:00
DD Liu
bb9c318561 Rename variables to be not homonyms 2021-03-16 16:36:14 -04: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
DD Liu
627e62a339 Remove v2SvgAdapter 2021-03-04 15:32:14 -05:00
adroitwhiz
1035e9da28 Clean up TTS request code 2021-03-04 00:29:50 -05:00
Eric Rosenbaum
ddab65bac2 do not translate strings containing only digits 2021-03-01 11:48:07 -05:00
Christopher Willis-Ford
6dda5c4963 use performance.mark to measure deserialize time 2021-02-23 13:26:49 -08:00
adroitwhiz
1aa38db4e6 replace nets with Fetch API 2021-02-19 10:56:33 -05:00
DD Liu
04d401996c Remove commented code 2020-11-24 16:54:07 -05:00
DD Liu
87cb4a7ef0 Add userDidPickPeripheral to bt 2020-11-24 16:49:54 -05:00
DD Liu
f19fd83563 Handle user did not pick peripheral 2020-11-23 01:01:06 -05:00
DD Liu
04b6963788 Pass on event type from CDM 2020-10-15 19:56:24 -04:00
DD Liu
7eabcb8a29
Merge pull request #2329 from adroitwhiz/remove-updatedrawableproperties
Remove remaining updateDrawableProperties calls
2020-09-24 15:50:26 -04:00
Eric Rosenbaum
9329f93e74
Merge pull request #2557 from ericrosenbaum/broadcast-wait-var-change-fix
Prevent "broadcast and wait" being interrupted by a change to its input
2020-09-16 17:52:28 -04:00
DD Liu
7c652246df
Merge pull request #2356 from adroitwhiz/cast-to-black
Cast malformed color hex strings to RGBA 0,0,0,255 instead of null
2020-09-03 15:52:52 -04:00
Eric Rosenbaum
a2b4cf8cfb store broadcastVar on stackFrame to prevent canceling
a broadcast early if the variable changes
2020-08-12 11:21:55 -04:00
apple502j
9bed114e48 Use new updateCPURenderAttributes in video sensing 2020-08-01 00:09:53 +09:00
Chris Willis-Ford
a9f473feb6
Merge pull request #2476 from cwillisf/fix-extension-url
sanitize extension ID in getExtensionIdForOpcode
2020-07-14 11:47:02 -07:00
KisaragiEffective
c1745cc979
Update scratch3_data.js
fix inappropriate jsdoc type
2020-07-06 14:22:25 +09:00
Eric Rosenbaum
540d9c676c
Merge pull request #2341 from apple502j/patch-9
Clear some stats when disposing runtime
2020-06-22 10:25:41 -04:00
DD Liu
f7ab011c30
Merge pull request #2455 from adroitwhiz/filter-pen-blocks
When the stage is selected, hide all pen blocks except "erase all"
2020-06-19 12:47:41 -04:00
adroitwhiz
3478643f44
Revert "Set graphic effect to zero if it's Infinity" 2020-06-18 12:17:57 -04:00
adroitwhiz
62504cecb9 Hide pen blocks from palette on stage 2020-06-16 16:04:52 -04:00
adroitwhiz
5462fe9966
Merge pull request #2442 from adroitwhiz/filter-extension-blocks
Support extension block filtering per-target
2020-06-16 16:01:51 -04:00
adroitwhiz
8ca737702f
Merge pull request #2465 from adroitwhiz/say-think-consistency
Consistently format text bubbles (this time, like 2.0 does)
2020-06-16 16:00:05 -04:00
Christopher Willis-Ford
90b9da45f4 sanitize extension ID in getExtensionIdForOpcode 2020-06-15 17:59:15 -07:00
DD Liu
b67ba75d8b
Merge pull request #2437 from apple502j/patch-12
Set graphic effect to zero if it's Infinity
2020-06-11 15:57:22 -04:00
adroitwhiz
9ed587ff5e add SAY_OR_THINK getter 2020-06-09 13:28:58 -04:00
adroitwhiz
fe6b07acca Consistently format text bubbles 2020-06-09 13:28:58 -04:00
adroitwhiz
61a0739950 add comment on hideFromPalette 2020-06-02 16:29:49 -04:00
adroitwhiz
2373f9483e
Merge pull request #2441 from adroitwhiz/sensing-of-change-clear-cache
Reset blocks cache when sensing_of blocks are updated
2020-06-02 11:12:41 -04:00
adroitwhiz
d6e7ede03a Support extension block filtering per-target 2020-05-28 12:15:22 -04:00
adroitwhiz
3c0ae4ebbf Reset blocks cache when sensing_of blocks update 2020-05-28 11:24:05 -04:00
apple502j
7b8c2a99c4
Set graphic effect to zero if it's Infinity 2020-05-28 14:11:27 +09:00
apple502j
4bd04e20e2
oops 2020-05-24 09:30:27 +09:00
DD Liu
32f87b3396
Merge pull request #2335 from daikifukumori/fix/tilted-any-trigger
WeDo 2.0 isTilted-any function bug fix
2020-05-22 23:31:42 -04:00
Daiki Fukumori
8c83b3a970 Changed to rely on _getTiltAngle() instead of calculating by myself 2020-05-23 09:14:42 +08:00
apple502j
03db30d400 Update sensing_of fields if variable gets renamed
Thanks @adroitwhiz and @fsih for some advice!
2020-05-22 19:00:43 +09:00
Chris Willis-Ford
7af161f1a2
Merge pull request #2011 from joker314/fix/random-costume
Give all backdrops a more equal chance of being randomly picked
2020-05-19 13:11:38 -07:00
adroitwhiz
05dcbc176f Remove RenderedTarget.setSay + its test 2020-05-18 01:35:32 -04:00