Commit graph

3996 commits

Author SHA1 Message Date
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
64eace3b90 Add test for localized spoken language name 2019-10-31 14:58:45 -04:00
Eric Rosenbaum
94e2478a10 Add test for dropped language name 2019-10-31 14:56:28 -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
5a556dd671
Merge pull request #2293 from paulkaplan/fix-video-motion-matrix
Fix video sensing error with stale matrices
2019-10-17 11:07:16 -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
69f30a4fb5 Add updateMatrix to fake drawable test 2019-10-15 12:25:15 -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
9b7a9770d7
Merge pull request #2292 from paulkaplan/use-bitmap-video
Use bitmap skin for video preview
2019-10-14 20:17:07 -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
246e40a68c update test 2019-10-04 14:14:37 -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
5c16df1157 Update unit tests to reflect removal of 'alt' property from inline image spec. 2019-09-27 12:00:23 -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
ebb3f29734 Add unit test for inline image in extension block. Update internal-extension integration test. 2019-09-20 21:49:49 -07: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
2f7012a2b8 Add docs for the different argument types as well as for new inline image support. 2019-09-20 15:48:15 -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
1dc2e3ff2e
Merge pull request #2278 from fsih/warnMsg
Move error log to right place
2019-09-16 14:44:06 -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
Eric Rosenbaum
7011084517 Check for empty menuMap 2019-09-15 12:05:20 -04:00
DD Liu
82e0f71643 Move error log to right place 2019-09-13 16:15:36 -04:00
Eric Rosenbaum
5e84441542 Support dropped language names 2019-09-10 21:35:34 -04:00
Eric Rosenbaum
5ba476c833 Working localized Text to Speech language menu with dummy data 2019-09-10 18:37:21 -04:00
DD Liu
0ad611a200
Merge pull request #2266 from fsih/warnMsg
Give some indication of why asset load failed
2019-09-04 11:38:16 -04:00
DD Liu
e447f003a1 Fix variable name 2019-09-04 11:26:23 -04:00
DD Liu
d3f687a6a7 use template 2019-08-23 17:31:11 -04:00
DD Liu
89db44bc6a Give some indication of why asset load failed 2019-08-23 17:28:13 -04:00
DD Liu
7e1582c034
Merge pull request #2264 from fsih/addMd5ToDefaultAsset
Add md5 for default asset
2019-08-22 15:40:01 -04:00
DD Liu
1204fc68fc Add md5 for default asset 2019-08-22 13:10:53 -04:00
Eric Rosenbaum
0052383657
Merge pull request #2247 from spl237/keyboard
Add enter key to list of keyboard events detected.
2019-08-15 14:47:41 -04:00
chrisgarrity
5adf5ba8fc
Merge pull request #2252 from chrisgarrity/custom-mimetype
Add custom mime-type to exported sb3 and sprite
2019-08-13 15:22:10 -04:00