Commit graph

2587 commits

Author SHA1 Message Date
Ray Schamp
df56e615ec Add method for collecting all targets' assets
Resolves #1601. Does not include the project JSON since that would require knowledge of a project ID, which the VM has not been responsible for so far.

For now, it is the responsibility of the consumer to determine if these assets should be saved or not. Otherwise the VM would need to be responsible for saving, which has been out of its scope.
2018-11-12 15:13:02 +00:00
Katie Broida
5cf10b1af1
Tests to check whether extensions load (#1700) 2018-10-31 17:22:21 -04:00
Katie Broida
6ef600dc2c
Add runtime event for when the project is loaded (#1669) 2018-10-30 15:26:22 -04:00
Karishma Chadha
fd5e178d3b
Merge pull request #1703 from kchadha/cloud-io
Cloud IO
2018-10-30 11:57:20 -04:00
Karishma Chadha
991d7be7f4 Fix documentation of cloud io device. 2018-10-29 18:31:35 -04:00
Paul Kaplan
b245b3868f
Merge pull request #1416 from paulkaplan/fix-mouse-down
Make click hats trigger on mouse down instead of up
2018-10-29 15:05:18 -04:00
Karishma Chadha
be238d35d2
Merge pull request #1517 from joker314/costume-compatibility
Make "switch costume" and "switch backdrop" blocks compatible with 2.0
2018-10-29 11:39:41 -04:00
Karishma Chadha
96c010b441 Update package-lock file 2018-10-29 01:00:38 -04:00
Karishma Chadha
19b6c35cab Add unit tests for cloud io device 2018-10-29 00:59:24 -04:00
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
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