Commit graph

3097 commits

Author SHA1 Message Date
Michael "Z" Goddard
bc5605cf80
lazy evaluate project loading related code 2019-03-06 11:11:44 -05:00
Michael "Z" Goddard
a5009b4c59
delay extension evaluation until that extension is installed
Reduce the amount of code that needs to evaluated before we can
starting the target project if there is one. It is key to note that the
music extension includes ~2MB of base64 encoded sound samples. This
skips evaluating those samples and decoding base64 into binary typed
arrays.
2019-03-06 11:11:44 -05:00
Michael "Z" Goddard
a791a1e64e
Merge pull request #1970 from mzgoddard/image-bitmap
Use Promise.all, createImageBitmap, and one canvas in `load-costume.js`
2019-03-06 11:05:49 -05:00
Michael "Z" Goddard
d717763cf5
Merge pull request #1981 from mzgoddard/bump-text-encoding
update text-encoding to latest version
2019-03-06 11:04:36 -05:00
Michael "Z" Goddard
d05a414439
turn getCanvas into a class CanvasPool 2019-03-06 10:53:15 -05:00
Michael "Z" Goddard
c01175613b
load-costume: idiomatic promise and createImageBitmap 2019-03-06 10:49:27 -05:00
Michael "Z" Goddard
9bd1bc5915
load-costume: use one canvas pool 2019-03-06 10:49:27 -05:00
Evelyn Eastmond
cd85e8ddfa
Merge pull request #2014 from evhan55/extensions/microbit-timeout
Fix micro:bit auto-disconnect from setInterval to setTimeout
2019-03-04 15:29:38 -05:00
Michael "Z" Goddard
53b0b7e923
update text-encoding to latest version 2019-03-04 13:01:37 -05:00
Michael "Z" Goddard
33f4482127
Merge pull request #1972 from mzgoddard/sound-bank-over-sprite
Sound bank over sprite
2019-03-04 12:51:10 -05:00
Michael "Z" Goddard
9350c2a9c2
Merge pull request #1947 from mzgoddard/sb2-load-assets-first
Deserialize sb2 assets before other sprite data and blocks
2019-03-04 12:50:09 -05:00
Karishma Chadha
49a891a014
Merge pull request #2000 from LLK/greenkeeper/scratch-sb1-converter-0.2.7
Update scratch-sb1-converter to the latest version 🚀
2019-03-04 12:35:43 -05:00
Karishma Chadha
ebfba83989
Merge branch 'develop' into greenkeeper/scratch-sb1-converter-0.2.7 2019-03-04 12:15:20 -05:00
Karishma Chadha
ff59ebd7c5
Merge pull request #2019 from LLK/greenkeeper/scratch-parser-4.3.5
Update scratch-parser to the latest version 🚀
2019-03-01 13:24:24 -05:00
Evelyn Eastmond
59ab3b717d Fixing clearInterval > clearTimeout. 2019-03-01 10:04:56 -05:00
Evelyn Eastmond
7a1367d81a Change from setInterval to setTimeout for auto disconnect feature. 2019-03-01 10:02:30 -05:00
greenkeeper[bot]
0b6613b2c1 chore(package): update lockfile package-lock.json 2019-02-27 22:53:18 +00:00
greenkeeper[bot]
6715b2ec34 fix(package): update scratch-parser to version 4.3.5 2019-02-27 22:53:13 +00:00
Chris Willis-Ford
bb42c0019c
Merge pull request #1998 from cwillisf/task-queue-enhancements
Task queue enhancements
2019-02-25 21:28:05 -05:00
Ray Schamp
8f4480f9b4
Merge pull request #2003 from mzgoddard/depend-on-uglify
Depend on uglifyjs-webpack-plugin
2019-02-25 16:00:19 -05:00
Katie Broida
cff1c2c0a4
Merge pull request #1959 from ktbee/declare-const-once
Declare const once to be reused in for loop
2019-02-25 15:57:52 -05:00
Karishma Chadha
475eaf3dfa
Merge pull request #1969 from mzgoddard/benchmark-more-data
Benchmark more data
2019-02-25 11:38:09 -05:00
Eric Rosenbaum
ab6a60357e
Merge pull request #2008 from ericrosenbaum/feature/vernier-block-updates
Vernier Force & Accel extension updates
2019-02-25 11:10:02 -05:00
Michael "Z" Goddard
0e9357b062
benchmark load now
This is a slight ergonomics improvement for faster benchmark loading.
We should be able to apply this to gui as well if it already does do
the same thing.
2019-02-22 16:01:09 -05:00
Michael "Z" Goddard
991acbb36a
benchmark more loading stats
- Display time to load just the (json) data
- Display progress and time for content
- Display progress and time hydrating the downloaded assets
2019-02-22 16:01:08 -05:00
Eric Rosenbaum
c0e80edfcc Update block and menu icons 2019-02-20 11:13:00 -05:00
Eric Rosenbaum
931d7e9a62 More re-ordering 2019-02-20 11:00:21 -05:00
Eric Rosenbaum
9e650279a6 Re-order blocks 2019-02-20 10:59:07 -05:00
Eric Rosenbaum
7da54dd067 Add tilted any option 2019-02-20 10:49:03 -05:00
Eric Rosenbaum
a19585af75 Add tilt blocks 2019-02-19 16:09:58 -05:00
Eric Rosenbaum
ba548701e2 Set update rate to 80ms 2019-02-19 15:14:37 -05:00
Eric Rosenbaum
f4662f833f rename “tilt angle” and “spin speed” reporters 2019-02-19 15:06:03 -05:00
Eric Rosenbaum
ec2ca32ffa Remove “moved” gesture 2019-02-19 13:55:24 -05:00
Christopher Willis-Ford
e6dd3f1175 Fix TaskQueue constructor when no options passed 2019-02-15 15:20:38 -08:00
Michael "Z" Goddard
e79bed276a
depend on uglifyjs-webpack-plugin
uglifyjs-webpack-plugin is used in webpack.config.js.
2019-02-15 18:04:06 -05:00
Michael "Z" Goddard
146e93e4ec
start loading sb2 sounds before handling sb2 data 2019-02-15 17:43:55 -05:00
Michael "Z" Goddard
d4320f1c26
start loading sb2 assets before handling sb2 data 2019-02-15 17:34:14 -05:00
Karishma Chadha
a86dc5bb58
Merge pull request #1944 from mzgoddard/benchmark-load-time
Benchmark load time
2019-02-15 13:52:48 -05:00
greenkeeper[bot]
f1c7d10274 chore(package): update lockfile package-lock.json 2019-02-15 15:12:00 +00:00
greenkeeper[bot]
f64eaa3329 fix(package): update scratch-sb1-converter to version 0.2.7 2019-02-15 15:11:54 +00:00
Evelyn Eastmond
894828d54b
Merge pull request #1990 from evhan55/bug/gdxfor-tilt
Vernier gdxfor tilt values 0 when disconnected
2019-02-13 15:46:49 -05:00
unknown
ac571ece5a Fixing comment. 2019-02-13 14:14:05 -05:00
Evelyn Eastmond
8bbdc4e691 Resolves #1988: Vernier gdxfor tilt values should be 0 when disconnected. 2019-02-13 14:14:05 -05:00
Chris Willis-Ford
7ab41d2bd9
Merge pull request #1881 from apple502j/pen-legacy
Fix legacy `set pen color` block's transparency behavior
2019-02-13 10:51:47 -08:00
Chris Willis-Ford
a02fb3877b
Merge pull request #1871 from Affonso-Gui/fix_dynamic_menu_string
Fix dynamic menus for string arrays
2019-02-13 10:41:36 -08:00
Paul Kaplan
3b203a2a9b
Merge pull request #1995 from paulkaplan/is-discrete
Support isDiscrete flag on monitors
2019-02-13 11:19:51 -05:00
Christopher Willis-Ford
be040f4c9b TaskQueue: Add option for max total cost 2019-02-12 18:57:58 -08:00
Christopher Willis-Ford
2a9a3b11b9 TaskQueue: support canceling a single task 2019-02-12 18:11:13 -08:00
chrisgarrity
77fd88302f
Merge pull request #1993 from chrisgarrity/handle-nested-sb2
handle sb2 files zipped in a folder
2019-02-12 16:41:27 +01:00
chrisgarrity
8f22fc6af3 update scratch-parser version
include the new version of the scratch-parser that handles nested sb2 files.
2019-02-12 16:20:14 +01:00