Michael "Z" Goddard
ec414fffc6
use Number.isNaN in Cast.toNumber
...
Number.isNaN does not coerce and may help performance since we either
do not need to coerce the value or already have with Number.
2018-10-31 14:40:19 -04:00
Michael "Z" Goddard
5b10d41ba3
check if toNumber is given a number and shortcut if so
...
If toNumber is called on a number avoiding passing the number to Number
can provide a small performance improvement.
2018-10-30 11:28:22 -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
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
Eric Rosenbaum
cdbd7c9af2
Add text2speech icons
2018-10-10 14:09:34 -04:00
Eric Rosenbaum
9403449846
Add translate icons
2018-10-10 14:04:37 -04:00
Evelyn Eastmond
4534649367
Fixing locale string.
2018-10-10 11:49:07 -04:00
Evelyn Eastmond
d83bf20803
Fixing tilt direction menu locales.
2018-10-10 11:47:55 -04:00
Eric Rosenbaum
b5c5481de0
Add video sensing extension icons
2018-10-10 10:43:04 -04:00
Karishma Chadha
fa52014650
Merge pull request #1619 from mzgoddard/execution-order-2
...
Execution order 2
2018-10-09 23:00:33 -04:00
greenkeeper[bot]
09202296b0
chore(package): update lockfile package-lock.json
2018-10-05 23:04:20 +00:00