Commit graph

3670 commits

Author SHA1 Message Date
DD Liu
7dad0d76dc Merge commit 'refs/pull/2187/head' of github.com:LLK/scratch-vm into develop 2020-03-05 14:54:00 -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
2acb39932a rerun build 2020-02-17 02:10:05 -05:00
adroitwhiz
af860711be Add test for loading renamed list monitors 2020-02-17 01:51:19 -05:00
adroitwhiz
48088f40f8 Fix up list monitor names during deserialization 2020-02-17 01:39:02 -05:00
Chris Willis-Ford
cd1890f77e
Merge pull request #2303 from adroitwhiz/no-socket-io-client
Remove unused socket.io-client dependency
2020-02-14 14:49:41 -08:00
adroitwhiz
a81ccd5b44 Remove socket.io-client dependency 2020-02-14 11:06:38 -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
Eric Rosenbaum
b39b64ad96 update package lock 2019-11-18 16:15:01 -05:00
Eric Rosenbaum
0518822236 update translate-extension-languages module 2019-11-18 16:07:51 -05:00
Chris Willis-Ford
ef50c15390
Merge pull request #2298 from terado0618/ble-write-withoutResponse
Allow extension to force to BLE write without response as well as with response
2019-11-18 11:19:08 -08:00
Erik Mejer Hansen
5a3e66469f fix test 2019-11-14 21:23:42 +01:00
Erik Mejer Hansen
d5a8d10f01 Fix linting errors 2019-11-14 21:05:45 +01:00
Erik Mejer Hansen
6fca83c8ca Added simple test of custom field types 2019-11-14 20:53:05 +01: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
1e9f2402b1 add updateDrawable* methods to FakeRenderer 2019-11-12 13:19:53 -05: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
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