Commit graph

183 commits

Author SHA1 Message Date
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
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
greenkeeper[bot]
e1fc448493 fix(package): update htmlparser2 to version 3.10.0 2018-10-21 21:11:10 +00:00
greenkeeper[bot]
2cae04fc33 chore(package): update copy-webpack-plugin to version 4.5.4 2018-10-18 23:11:01 +00: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
greenkeeper[bot]
69b075603d chore(package): update babel-loader to version 8.0.4
Closes #1539
2018-10-17 11:57:22 +01:00
greenkeeper[bot]
aa094f74b7 chore(package): update babel-eslint to version 10.0.1
Closes #1533
2018-10-12 13:25:08 +01:00
greenkeeper[bot]
ae32aeac66 chore(package): update file-loader to version 2.0.0 2018-10-05 23:04:17 +00:00
greenkeeper[bot]
c71da286c8 fix(package): update format-message to version 6.2.1 2018-09-19 04:28:57 +00:00
Andrew Sliwinski
51670dbb61
Merge pull request #1571 from LLK/greenkeeper/format-message-cli-6.2.0
Update format-message-cli to the latest version 🚀
2018-09-12 12:03:52 -04:00
greenkeeper[bot]
5779a48434 fix(package): update format-message to version 6.2.0 2018-09-12 15:11:10 +00:00
greenkeeper[bot]
c0e276f150 chore(package): update format-message-cli to version 6.2.0 2018-09-12 15:10:04 +00:00
greenkeeper[bot]
7d32c8107e fix(package): update diff-match-patch to version 1.0.4
Closes #1552
2018-09-04 10:19:05 +00:00
Andrew Sliwinski
d355c3b45e Update atob, format-message, adm-zip, docdash, format-message-cli, tap, and webpack-cli modules 2018-08-30 11:23:34 -04:00
greenkeeper[bot]
0a5a347525 chore(package): update scratch-storage to version 1.0.0
Closes #1192
2018-08-23 22:17:01 +00:00
Karishma Chadha
a0fd288420 Bump scratch-parser version, pulling in validation error fixes. 2018-08-13 18:09:14 -04:00
greenkeeper[bot]
d909ac5391 fix(package): update scratch-parser to version 4.3.1 2018-08-13 15:43:26 +00:00
Mx Corey Frang
30892dfd43
Update npm packages to get new renderer and update benchmark for Bob Ross 🌲 (#1443) 2018-08-13 10:47:41 -04:00
Ray Schamp
4b5cf6505a
Merge pull request #1398 from paulkaplan/publish-docs
Publish jsdoc to gh-pages
2018-08-08 16:46:48 -04:00
Michael "Z" Goddard
a15a9a1b7b Fix benchmark suite (#1397)
* add scratch-svg-renderer adaptors to benchmark vm

* disable benchmark with monitor error

* fixup! add scratch-svg-renderer adaptors to benchmark vm

* fixup! disable benchmark with monitor error
2018-08-08 14:36:38 -04:00
Paul Kaplan
5a429d90be Add jsdoc to package json and test/build tasks 2018-07-31 11:22:42 -04:00
greenkeeper[bot]
a103af8bb9 fix(package): update scratch-parser to version 4.3.0 2018-07-25 15:37:22 +00:00
Paul Kaplan
378fd672fc Bump vm version 2018-07-18 16:36:39 -04:00
greenkeeper[bot]
34fd7a1741 chore(package): update eslint to version 5.0.1
Closes #1267
2018-06-26 09:05:57 +00:00
kchadha
b6b501f761
Merge pull request #1243 from LLK/greenkeeper/scratch-parser-4.2.0
Update scratch-parser to the latest version 🚀
2018-06-19 08:08:45 -04:00
Evelyn Eastmond
d09c3f0418 MicroBit extension, Scratch Link first draft. (#1230)
* First microbit gui tests

* Fixed JSONRPC inheritance.  Renamed ScratchBLE/ScratchBT files.  Removed ScratchBT test code from Microbit extension.  Renamed addLine to log.

* Fixed log comments.  Removed addLine from Microbit.

* Adding auto-connect to Microbit at extension loading.  Adding hack for displayText block to Scratch-Link.

* Resolved merge conflicts and brought in latest microbit extension example code.

* Updated microbit write tests for displayText and displaySymbol blocks.  Some linting.

* Some linting and adding of BLE Characteristic consts.

* Linting fixes.

* Moving micro:bit device connection code all to the MicroBit class, decoupling Scratch3MicroBitBlocks from connection code.

* Removing old disconenct handlers from MicroBit class.  Moved service into new BLEUUID data structure.

* Renamed _write to _send.  Moved all BLE encoding concerns to the _send method.

* Using the util log.  Some linting.

* Added _read method to MicroBit class.  Renamed _send to _write.

* Some linting and formatting comments.

* First pass at peripheral chooser pattern for ScratchBLE.

* Testing characteristicDidChange events, and some changes to ScratchBLE on ready events.

* Refactoring work on PeripheralChooser and ScratchBLE.

* Some variable renaming and method signature stubs.

* Peripheral chooser method signatures.

* Moved base64 encoding/decoding to util.  Some method signature formatting.

* Adding test stubs for new util and io classes.

* Adding test stub for MicroBit extension.

* Clean up for PR.

* Clean up for PR.

* Final cleanup for PR.

* Removed logging to console.

* Adding 'btoa' and 'atob' node modules and using them in Base64Util.
2018-06-18 14:56:51 -04:00
greenkeeper[bot]
b1dacd4b59 fix(package): update scratch-parser to version 4.2.0 2018-06-18 13:49:58 +00:00
Ray Schamp
c915df3cc4 Clean up the rest of the dependencies
Hopefully.
2018-05-31 18:01:35 -04:00
Ray Schamp
61d7f70d1d Make canvas-toBlob a dependency 2018-05-31 17:29:38 -04:00
Michael "Z" Goddard
4ceeebb257 Use src/index as browser entry point
Use src/index.js as the entry by default in tools building scratch-vm
into a larger package. This saves file space by excluding extra webpack
boilerplate and may allow for deeper optimizations.

Depend on script dependencies for downstream webpack. For another
package to build in scratch-vm's dependencies without them already
being built into a consumed webpack build they need to be listed as
dependencies. This can benefit large projects that reuse the same
dependencies multiple times. Node will still use the main entry point
and its webpack build leaves the dependencies as external references so
it may reuse common modules in Node as well as in a build a browser
environment.
2018-05-31 16:32:46 -04:00
picklesrus
cd11e19717 Pin the diff-match-patch library 2018-05-30 13:20:38 -07:00
picklesrus
e7987a6a4c Initial version of the speech extension. There is certainly still some stuff to figure out but the core of it is here. 2018-05-30 13:20:38 -07:00
Eric Rosenbaum
3cdc9765a8
Translation extension imports translated language names (#1159)
* wip

* wip

* Get viewer language code, and cleanup

* Revert "wip"

This reverts commit 6598738ed2.

# Conflicts:
#	src/extensions/scratch3_translate/index.js
2018-05-23 17:00:59 -04:00
Andrew Sliwinski
1995753e94 Add localization support to music and video sensing extensions 2018-05-10 13:41:41 -04:00
Karishma Chadha
3e2dd67fda Update scratch-parser version and pin to specific version. 2018-05-09 09:54:38 -04:00
Ray Schamp
aad5131f93 Update remaining peer dependency 2018-05-08 19:35:29 -04:00
Ray Schamp
c705be4cfa Update expose-loader dependency instead
It doesn't make sense that webpack 4 has made Node 6 builds. Maybe it's due to peer dependencies on the install step?
2018-05-08 19:27:26 -04:00
Ray Schamp
a9a23ef589
Merge pull request #1104 from mzgoddard/webpack-4
Update to webpack 4
2018-05-07 11:28:51 -04:00
Ray Schamp
a3324c6a38 Major-pin webpack 2018-05-07 10:41:18 -04:00
Michael "Z" Goddard
dcb6a3ac56
Update babel-preset-es2015 to babel-preset-env
Use the common scratch browserlist configuration used for styling and babel
transforming in other scratch repositories.
2018-05-04 15:49:12 -04:00
Karishma Chadha
0848a1a4ca Update scratch-parser. 2018-05-04 11:00:45 -04:00
Karishma Chadha
7d36054cf6 Update scratch-parser version. 2018-05-04 11:00:45 -04:00
Michael "Z" Goddard
8e252f2d7d
Use arraybuffer-loader in place of buffer-loader 2018-05-03 18:58:59 -04:00
Michael "Z" Goddard
f60d8fc4c1
Update to webpack 4 2018-05-03 18:57:48 -04:00
DD
78cd327237 Move the place where we divide rotation center by resolution into the VM. Also revert the method of putting data into storage to the one that was convoluted but working 2018-04-30 16:35:24 -04:00
DD
009253a8d1 Code review 2018-04-26 18:34:35 -04:00
DD
3a3d807cba switch polyfill to one that doesn't break tests 2018-04-26 15:14:51 -04:00
DD
c73b06a254 add polyfill 2018-04-26 15:14:51 -04:00