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
kchadha
8739a524eb
Merge pull request #1031 from kchadha/block_serialization_compression
...
Block serialization compression
2018-04-11 19:17:42 -04:00
Karishma Chadha
7fd6dca374
Pin scratch-parser to an actual version instead of latest.
2018-04-11 19:09:50 -04:00
Michael "Z" Goddard
d3ff8b5eed
Test VideoMotion and VideoSensing blocks
...
- Add pngjs dev dependency to read test images
2018-04-06 18:09:50 -04:00
Karishma Chadha
9d8602db93
Removing specific save-load branch dependency now that scratch-parser has been updated.
2018-03-05 15:16:06 -05:00
Karishma Chadha
605ce4b16d
Configuring scratch-vm to use changes made to scratch-parser.
2018-03-05 15:16:06 -05:00
Karishma Chadha
e0b23cde31
Can load saved sb3 files (including sounds and costumes that were modified in the 3.0 editors and saved in the sb3 zip when the project was saved). Tests still need to be fixed.
2018-03-05 15:16:06 -05:00
Karishma Chadha
1169f5badd
Hooking up vm to scratch-parser for sb2 validation.
2018-03-05 15:16:06 -05:00
Karishma Chadha
79169c81b3
Use scratch-parser to validate structure of project json files.
2018-02-26 22:43:55 -05:00
Eric Rosenbaum
063ac39019
Load music extension assets with require
2018-02-14 17:53:05 -05:00
Paul Kaplan
32e240f18a
Merge pull request #916 from LLK/greenkeeper/scratch-storage-0.4.0
...
Update scratch-storage to the latest version 🚀
2018-01-31 09:30:09 -05:00
greenkeeper[bot]
1be4565c4b
chore(package): update scratch-storage to version 0.4.0
2018-01-23 18:38:45 +00:00
Andrew Sliwinski
a9dd658445
Merge branch 'develop' into greenkeeper/tap-11.0.1
2018-01-19 08:45:58 -05:00
Paul Kaplan
d649b2555b
Require TextEncoder correctly
2018-01-17 11:41:24 -05:00
Ray Schamp
e83141e810
Revert "Use text-encoding library for text encoder"
2018-01-17 10:59:28 -05:00
DD
2c1412dda4
Use text-encoding library for text encoder
2018-01-16 17:41:18 -05:00
greenkeeper[bot]
2343e04ff9
chore(package): update tap to version 11.0.1
...
Closes #818
2017-12-21 22:28:11 +00:00
Ray Schamp
49aa363a30
Merge pull request #868 from LLK/greenkeeper/webpack-3.10.0
...
chore(package): update webpack to version 3.10.0
2017-12-19 09:50:29 -05:00
chrisgarrity
f51cf9877e
Preliminary localization ( #777 )
...
* localize the block and menu strings in the pen extension
* adds .tx/config to be able to push translations to transifex
* includes format-message to localize strings and extracting them.
* add setLocale function to VM to allow GUI to pass in locale data.
* refresh block definitions when the locale changes.
### Still to be decided
For now just extracting messages from the pen extension into their own file. We’ll need to decide if each category gets its own file, or group all the strings into one resource.
2017-12-11 15:41:45 -05:00
greenkeeper[bot]
48505fd7e2
chore(package): update webpack to version 3.10.0
...
Closes #620
2017-12-04 18:48:49 +00:00
Paul Kaplan
80b4dab104
Decode the encoded argument information
2017-11-29 10:34:59 -05:00
Christopher Willis-Ford
12acdefb5a
Add "browser" field to package.json
...
This informs webpack (say, in `scratch-gui`) about the web-targeted
build output so that it can resolve dependencies correctly. This fixes
build problems that became evident after merging #805 .
2017-11-27 19:15:05 -08:00
Andrew Sliwinski
519d41d966
Merge pull request #805 from thisandagain/bugfix/802
...
Replace 'got' module with 'nets'
2017-11-27 15:17:04 -05:00
Andrew Sliwinski
621087904d
Merge pull request #811 from LLK/greenkeeper/copy-webpack-plugin-4.2.1
...
chore(package): update copy-webpack-plugin to version 4.2.1
2017-11-21 12:30:44 -05:00
Andrew Sliwinski
51bd0349b0
Merge branch 'develop' into greenkeeper/expose-loader-0.7.4
2017-11-20 20:14:03 -05:00
Andrew Sliwinski
8395fffe52
Merge pull request #809 from LLK/greenkeeper/worker-loader-1.1.0
...
chore(package): update worker-loader to version 1.1.0
2017-11-20 20:12:45 -05:00
Andrew Sliwinski
8e154474b7
Merge branch 'develop' into greenkeeper/script-loader-0.7.2
2017-11-20 20:11:30 -05:00
Andrew Sliwinski
fef8f23a57
Merge pull request #690 from LLK/greenkeeper/eslint-config-scratch-5.0.0
...
Update eslint-config-scratch to the latest version 🚀
2017-11-20 20:09:24 -05:00
Andrew Sliwinski
a73ef6819f
Resolve merge conflicts
2017-11-20 17:39:07 -05:00
Andrew Sliwinski
d5acdbe983
Merge pull request #727 from LLK/greenkeeper/socket.io-client-2.0.4
...
Update socket.io-client to the latest version
2017-11-20 17:08:33 -05:00
Andrew Sliwinski
ea63fee483
Merge pull request #804 from LLK/greenkeeper/promise-8.0.1
...
chore(package): update promise to version 8.0.1
2017-11-20 17:06:36 -05:00