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
apple502j
bfbea4266a
wrapClamp direction during sb3 deserialization
2020-05-30 21:58:14 +09:00
apple502j
1012a2aa61
wrapClamp direction during sb/sb2 deserialization
2020-05-30 21:54:14 +09: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
83bcbb8eb2
Remove Timer.relativeTime
2020-05-18 01:39:39 -04:00
adroitwhiz
05dcbc176f
Remove RenderedTarget.setSay + its test
2020-05-18 01:35:32 -04:00
adroitwhiz
3341489dfd
Remove BlockCached._shadowOps
2020-05-12 15:30:20 -04:00
jokebookservice1
57445a4d49
Merge branch 'develop' into fix/random-costume
2020-05-07 16:11:08 +01:00
adroitwhiz
112989da0e
Cast malformed color hex strings to black
2020-05-01 14:50:39 -04:00
apple502j
3e48cd7df6
Reset counter and timer too
2020-04-06 20:21:31 +09:00
DD Liu
f5ce73ae51
Merge pull request #2314 from adroitwhiz/dont-update-rotation-center
...
Remove calls to updateDrawableSkinIdRotationCenter
2020-04-02 14:23:02 -04:00
adroitwhiz
c30fcd23b5
grammar
2020-03-28 01:07:14 -04:00
adroitwhiz
5387f3a729
Clarify loadBitmap_ comments
2020-03-26 23:12:10 -04:00
apple502j
6055823f20
Reset answer when runtime gets disposed
2020-03-25 17:51:08 +09:00
DD Liu
2a42285abe
Revert "Consistently format text bubbles"
...
This reverts commit bc61e547b5
.
2020-03-19 12:40:55 -04:00
DD Liu
7330129cc6
Revert "add SAY_OR_THINK getter"
...
This reverts commit ffd2a2a9e8
.
2020-03-19 12:40:01 -04:00
DD Liu
db33da2753
Revert "Don't fix small values less than .01 to 2 decimal points. This matches 2.0 behavior"
...
This reverts commit 2770f925fe
.
2020-03-19 12:37:34 -04:00
DD Liu
748dbdd241
Merge pull request #2333 from fsih/dontFixSmallValues
...
Dont fix small values
2020-03-18 12:52:40 -04:00
DD Liu
7fbdf969a1
Merge pull request #2325 from adroitwhiz/fix-list-monitor-names
...
Fix old/incorrect list monitor names during deserialization
2020-03-17 11:49:35 -04:00
DD Liu
8a39d23d1f
Merge pull request #2322 from apple502j/patch-8
...
Use correct name in changeBlock in renameVariable
2020-03-17 11:49:18 -04:00
Daiki Fukumori
432d220fd5
Change the operator position
2020-03-14 20:56:30 +08:00
Daiki Fukumori
013e09b290
Correct the maxlen
2020-03-14 20:46:17 +08:00
DD Liu
c8694256b6
Update src/blocks/scratch3_looks.js
...
Thanks!
Co-Authored-By: adroitwhiz <adroitwhiz@protonmail.com>
2020-03-13 19:43:15 -04:00
DD Liu
2770f925fe
Don't fix small values less than .01 to 2 decimal points. This matches 2.0 behavior
2020-03-13 19:39:03 -04:00
Daiki Fukumori
71631f5aa2
Correct the trigger of isTilted()
2020-03-11 22:15:20 +08:00
DD Liu
772fbe1aab
Merge pull request #2187 from adroitwhiz/say-think-consistency
...
Consistently format text bubbles
2020-03-10 16:14:51 -04:00
adroitwhiz
ffd2a2a9e8
add SAY_OR_THINK getter
2020-03-06 15:33:31 -05:00
DD Liu
01cb244e3d
Merge pull request #2239 from adroitwhiz/replace-item-by-index
...
replaceItemOfList() by assigning value to array index instead of Array.splice
2020-02-27 15:39:57 -05:00
adroitwhiz
267395b13b
Remove remaining updateDrawableProperties calls
2020-02-26 21:20:50 -05:00
adroitwhiz
48088f40f8
Fix up list monitor names during deserialization
2020-02-17 01:39:02 -05:00
apple502j
8e46f1c037
Use correct name in changeBlock in renameVariable
2020-02-10 22:28:10 +09:00
adroitwhiz
bc61e547b5
Consistently format text bubbles
2020-02-05 00:21:38 -05:00
adroitwhiz
a434bc5a34
Remove calls to updateDrawableSkinIdRotationCenter
2020-01-30 00:53:16 -05:00
Karishma Chadha
8faad67439
Merge pull request #2302 from ErikMejerHansen/develop
...
Fix custom field types
2019-12-27 11:44:00 -05:00
DD Liu
d47ea58bc3
Merge pull request #2203 from mzgoddard/render-update-drawable
...
Use new updateDrawable* methods
2019-11-19 15:33:21 -05:00
Eric Rosenbaum
24116e5514
Merge pull request #2289 from ericrosenbaum/bugfix/localize-tts-languages
...
Localize the Text to Speech extension "set language" menu
2019-11-18 16:22:15 -05:00
Erik Mejer Hansen
a6d8f6cbf2
Fix indents
2019-11-13 15:00:38 +01:00
Erik Mejer Hansen
700e163abe
Fix handling of custom field types
2019-11-13 14:58:44 +01:00
Michael "Z" Goddard
52b6d76d35
use updateDrawable* methods from renderer
...
- replace updateDrawableProperties with updateDrawablePosition and other methods
- use all of the updateDrawable* methods in updateAllDrawableProperties
2019-11-12 13:19:53 -05:00
Ikuo Terado
fbbccacd74
Allow extension to force to write without response as well as with response
2019-11-03 22:07:16 +09:00
Eric Rosenbaum
27c424532f
Add explanatory comment
2019-10-31 16:03:50 -04:00
Eric Rosenbaum
83781fd380
Check for spokenLanguages object
2019-10-29 11:39:14 -04:00
Karishma Chadha
0a5673d5d3
Merge pull request #2280 from kchadha/inline-images-in-extensions
...
Inline Images in Extensions
2019-10-18 10:20:16 -04:00
Chris Willis-Ford
da53d61e05
Merge pull request #2286 from dlech/patch-1
...
Fix mod operator comment
2019-10-17 13:16:58 -07:00
Karishma Chadha
3859013606
Move inline image specific code into separate helper function. Remove unnecessary todo.
2019-10-17 15:29:04 -04:00
Paul Kaplan
b13a40fb2e
Update src/extensions/scratch3_video_sensing/library.js
...
Co-Authored-By: Karishma Chadha <kchadha@media.mit.edu>
2019-10-17 11:01:22 -04:00
Paul Kaplan
3cf45f4e07
Fix video sensing by calling updateMatrix manually before using isTouching
2019-10-15 12:10:14 -04:00
Paul Kaplan
94188fc075
Fix tests by more carefully checking for the skin
2019-10-14 12:03:48 -04:00
Paul Kaplan
5913cae969
Use bitmap skin for video preview
2019-10-11 12:32:03 -04:00
Eric Rosenbaum
8971ee4668
use lowercase language codes
...
this ensures that when editor is set to ja-Hira, the default text loads and the language is set to ja
2019-10-03 13:22:53 -04:00
Eric Rosenbaum
dad1ced3d4
Use lowercase lang code for editor lang (to match ja-Hira)
2019-10-03 12:42:50 -04:00
Eric Rosenbaum
03e6d73cc6
update comment
2019-10-02 14:46:12 -04:00
Karishma Chadha
8bba60aaf3
Merge pull request #2196 from mzgoddard/develop-profiler
...
add Profiler.increment and Profiler.frame
2019-10-01 09:46:59 -05:00
David Lechner
3070e30241
Fix mod operator comment
...
The remainder of mod in Scratch is not always positive.
According to the wiki, Scratch uses floored division like Smalltalk instead of truncated division like JavaScript.
With floored division, the sign of the remainder matches the sign of the divisor - it is not always positive.
2019-09-30 17:08:43 -05:00
Karishma Chadha
a9e081859e
Remove todo comment about flip_rtl default based on discussion from PR.
2019-09-27 11:48:31 -05:00
Karishma Chadha
470fdb761d
Remove 'alt' from field_image descriptor since it seems to only be used for 'collapsed blocks' from blockly. This is not a feature being used in scratch. Update docs.
2019-09-27 11:46:48 -05:00
Karishma Chadha
b1392572ca
Update tests and fix bug causing type error.
2019-09-27 11:39:15 -05:00
Karishma Chadha
c5879633d5
Make ArgumentTypeMap clearer now that there is an image field which is not technically an argument. Make the color picker consistent with the other arguments so that an extension developer can specify a default color if they wish. Add docs to document this.
2019-09-27 11:04:03 -05:00
Karishma Chadha
6afbe192d8
Log a warning if dataURI
property is missing from image argument specification in extension info. Default to empty string if dataURI or alt are not provided.
2019-09-20 16:56:02 -07:00
Karishma Chadha
167f502edc
Add comment for flipRTL property.
2019-09-20 16:02:18 -07:00
Karishma Chadha
7129f8c4a9
Add support for specifying that whether or not the image should be flipped in an RTL language.
2019-09-20 15:47:33 -07:00
Karishma Chadha
21430a5366
Add support for image argument type in extensions. Add example in core example extension.
2019-09-20 15:19:14 -07:00
Kevin Nørby Andersen
23d94b3820
Merge pull request #2231 from knandersen/bugfix/2230
...
Implements BLE manufacturer data-feature in LEGO BOOST extension
2019-09-19 17:44:03 -04:00
Karishma Chadha
5be322c1d5
Merge pull request #2192 from apple502j/list-cast-safely
...
Fix Cast.LIST_ALL casting case
2019-09-17 17:53:00 -07:00
Karishma Chadha
30ee33c50a
Merge pull request #2146 from adroitwhiz/no-ie-hacks
...
Remove Internet Explorer-specific Number.isNaN polyfill
2019-09-17 09:29:40 -07:00
Eric Rosenbaum
b540b2107a
Remove mock data
2019-09-16 18:23:55 -04:00
DD Liu
cbb668a7ec
Update src/import/load-costume.js
...
Thanks!
Co-Authored-By: Karishma Chadha <kchadha@media.mit.edu>
2019-09-16 13:59:45 -04:00