Commit graph

3089 commits

Author SHA1 Message Date
Karishma Chadha
aa200e6df3 Set the cloud provider and request updates to the cloud var when updating the variable through blocks. 2018-10-29 00:59:06 -04:00
Karishma Chadha
4959ab9ff3 Create a new cloud io device 2018-10-29 00:58:30 -04:00
Paul Kaplan
e002db48f2 Add logic to trigger click hats on mouse up on a draggable target
As long as the event was not a drag
2018-10-25 15:08:37 -04:00
Paul Kaplan
9bf7ef8573 Add unit tests for activating click hats 2018-10-25 14:06:36 -04:00
Paul Kaplan
ef50092daa Make when clicked hats trigger on mouse down 2018-10-25 14:06:36 -04:00
Ray Schamp
de86eb3f19
Merge pull request #1691 from rschamp/storage-no-cache
Store asset objects on costumes and sounds
2018-10-25 10:15:47 +01:00
Karishma Chadha
d3e38c1ae9
Merge pull request #1640 from mzgoddard/set-procedure-param-missing
Set procedure param missing
2018-10-25 00:13:51 -04:00
Katie Broida
18c83dcc67
Prevent non-core extensions from adding monitors (#1688) 2018-10-24 16:43:01 -04:00
Andrew Sliwinski
21923905fe
Merge pull request #1685 from LLK/greenkeeper/htmlparser2-3.10.0
Update htmlparser2 to the latest version 🚀
2018-10-24 16:03:40 -04:00
Ray Schamp
902aee48ee Merge branch 'develop' of https://github.com/LLK/scratch-vm into storage-no-cache
# Conflicts:
#	package-lock.json
2018-10-24 12:09:06 +01:00
Ray Schamp
4a0aecfa43 Bump storage to version with createAsset
This should allow tests to begin passing.
2018-10-24 12:01:59 +01:00
Michael "Z" Goddard
fcafcbdd0a
return 0 from parameters outside of their procedure 2018-10-23 15:14:31 -04:00
Michael "Z" Goddard
afd2ed72c8
add procedure parameter used outside of proc integrations 2018-10-23 15:14:31 -04:00
Michael "Z" Goddard
58a7a6bb04
add get param blocks in wrong procedure integrations 2018-10-23 15:14:30 -04:00
Michael "Z" Goddard
ef4045aaf1
Merge pull request #1642 from mzgoddard/set-procedure-param-defaults
Set procedure param defaults
2018-10-23 15:13:16 -04:00
Michael "Z" Goddard
5e5655c916
Merge pull request #1632 from mzgoddard/stop-other-sounds
Stop other sounds
2018-10-23 15:11:08 -04:00
Ray Schamp
b47912dce4 Store asset objects on costumes and sounds
Stop using storage for in-memory storage, and keep these on the vm objects. Towards https://github.com/LLK/scratch-vm/issues/1577
2018-10-23 11:10:50 +01:00
greenkeeper[bot]
ae4225815b chore(package): update lockfile package-lock.json 2018-10-21 21:11:14 +00:00
greenkeeper[bot]
e1fc448493 fix(package): update htmlparser2 to version 3.10.0 2018-10-21 21:11:10 +00:00
Michael "Z" Goddard
b833ef8d24
remove finished threads every loop of all threads
When all threads are looped, finished threads must be removed so
threads that are waiting for those to complete and be removed may
continue executing. This effects broadcast and wait for example. The
threads created by broadcast and wait can finish in the same tick and
must be removed from the list of threads so that broadcast and wait
knows to stop waiting.
2018-10-19 16:43:36 -04:00
Michael "Z" Goddard
c986d0cf23
test that broadcast_and_wait can yield and continue in the same tick 2018-10-19 16:37:33 -04:00
Ray Schamp
204dc96b2f
Merge pull request #1680 from LLK/greenkeeper/copy-webpack-plugin-4.5.4
Update copy-webpack-plugin to version 4.5.4
2018-10-19 10:21:07 +01:00
greenkeeper[bot]
7690cbddaf chore(package): update lockfile package-lock.json 2018-10-18 23:11:06 +00:00
greenkeeper[bot]
2cae04fc33 chore(package): update copy-webpack-plugin to version 4.5.4 2018-10-18 23:11:01 +00:00
DD Liu
0e9cc421a7
Merge pull request #1675 from LLK/revert-1643-load-video-state
Revert "Confirm extension in use in sb2 serialization"
2018-10-18 12:02:27 -04:00
DD
91e2f3a935 Revert 1643 Confirm extension in use in sb2 serialization 2018-10-18 11:06:13 -04:00
Eric Rosenbaum
891f696570
Save and load the language setting for Text to Speech (#1670)
* Use scratch locales internally, with adapter for polly

* Save and load text2pseech language

* Only localize default input to “speak” if in a supported language
2018-10-17 17:34:12 -04:00
Evelyn Eastmond
2564b24d71 Differentiate peripheral errors: request vs. disconnect (#1654)
* Beginning to add differentiation for hardware disconnect alerts.

* Set connected status after error is sent.
2018-10-17 15:48:07 -04:00
jokebookservice1
9c128db723
docs: Provide more/clearer comments
We ensure that all code whose purpose may be confusing to grasp is
commented; and we remove information that is no longer required.
2018-10-17 18:32:01 +01:00
Katie Broida
899ce56214
Confirm extension in use in sb2 serialization (#1643)
Add a check when serializing sb2 projects to see whether an extension is actually in use in a block or a visible monitor.
2018-10-17 10:49:08 -04:00
Ray Schamp
17874030e6
Merge pull request #1668 from LLK/greenkeeper/babel-loader-8.0.4
Update babel-loader to version 8.0.4
2018-10-17 12:40:51 +01:00
Ray Schamp
4947194259 Use major ranges to match previous specificity 2018-10-17 12:17:16 +01:00
Ray Schamp
fd0ff04198 Update babel-core to @babel/core
Also required updating @babel/preset-env.
2018-10-17 12:14:49 +01:00
greenkeeperio-bot
01a181c3ce chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-10-17 11:58:55 +01:00
greenkeeper[bot]
69b075603d chore(package): update babel-loader to version 8.0.4
Closes #1539
2018-10-17 11:57:22 +01:00
Ray Schamp
5e79ad0fe9
Merge pull request #1667 from LLK/greenkeeper/babel-eslint-10.0.1
Update babel-eslint to version 10.0.1
2018-10-17 11:49:13 +01:00
greenkeeperio-bot
f322bf3a50 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-10-17 11:34:18 +01:00
Michael "Z" Goddard
2b257dde57
add getProcedureParamNamesIdsAndDefaults
Use getProcedureParamNamesIdsAndDefaults to get the defaults along with
names and ids so defaults may be set for a procedure call if the
parameter is not provided.
2018-10-16 16:31:45 -04:00
Michael "Z" Goddard
ca38fb2cc3
add recursive procedure default parameter execute integrations 2018-10-16 16:31:45 -04:00
Michael "Z" Goddard
e854d8d563
stop only waiting sounds when STOP_FOR_TARGET is emitted 2018-10-16 16:15:01 -04:00
Andrew Sliwinski
23f6346045
Merge pull request #1631 from mzgoddard/stop-other-asks
Stop other asks
2018-10-15 13:16:49 -04:00
Andrew Sliwinski
222efe2b78
Merge pull request #1657 from apple502j/patch-4
Remove "Don't translate Google"
2018-10-15 13:15:38 -04:00
apple502j
afd9549708
Remove "Don't translate Google" 2018-10-13 05:43:07 +09:00
greenkeeper[bot]
aa094f74b7 chore(package): update babel-eslint to version 10.0.1
Closes #1533
2018-10-12 13:25:08 +01:00
Eric Rosenbaum
6ce061d55d
Text to Speech voices update (#1655)
* Change voice names to alto and tenor

* Adjust voice pitches

* Support dropped numbers for setting voice
2018-10-11 13:48:43 -04:00
DD Liu
79e36a0316
Merge pull request #1636 from fsih/whatIsUpWithThePromises
Consistently return promises from functions that say they return promises
2018-10-11 10:21:06 -04:00
Andrew Sliwinski
c59425e38e
Merge pull request #1644 from LLK/greenkeeper/file-loader-2.0.0
Update file-loader to the latest version 🚀
2018-10-10 16:43:15 -04:00
Andrew Sliwinski
1dbf1894f6
Merge pull request #1652 from ericrosenbaum/feature/extension-icons
Add icons for Video Sensing, Translate and Text to Speech extensions
2018-10-10 16:42:57 -04:00
Evelyn Eastmond
2ade71590f
Merge pull request #1630 from evhan55/fixes/hardware-extensions
Hardware extensions: fixes and menu localization
2018-10-10 15:19:11 -04:00
jokebookservice1
341bd8f3d3
feat: Allow switching to specially named backdrops
The `switch costume` block accepts special values like "next costume" and
"previous costume". If you create a costume with these names, these take
priority over the special values. However, the `switch backdrop` block
keeps these special values for values like "next backdrop", "previous
backdrop", "random backdrop". It is impossible to navigate to such a
backdrop by name via block. This commit also modifies tests to allow for
this.

BREAKING CHANGE: specially-named backdrops can now be navigated
2018-10-10 20:06:54 +01:00