Commit graph

2593 commits

Author SHA1 Message Date
Evelyn Eastmond
2d8ad05a78 Adding Ev3 extension with three test blocks to latest device-connection work, auto-connecting to device for now. 2018-07-09 13:49:40 -04:00
Evelyn Eastmond
4332725d33 Adding more errors based on web socket onerror and onclose. Moved extension runtime mapping of devices back to MicroBit class. 2018-07-09 13:41:57 -04:00
Evelyn Eastmond
9d66c54f8a Adding error reporting to runtime from BLESession. 2018-07-09 13:41:57 -04:00
Evelyn Eastmond
73cc149783 Adding promises to return on BLE write. Some refactoring. 2018-07-09 13:41:57 -04:00
Evelyn Eastmond
701f430e56 Remove pinging in BLE connection. 2018-07-09 13:41:57 -04:00
Evelyn Eastmond
730b798686 Extension/runtime protocol refactoring. 2018-07-09 13:41:57 -04:00
Eric Rosenbaum
d778ddf00e wip 2018-07-09 13:41:57 -04:00
Paul Kaplan
665bf9a322
Merge pull request #1305 from paulkaplan/fix-broadcast-wait
Fix tick yielding threads
2018-07-09 13:41:55 -04:00
kchadha
6c118cf8e0
Merge pull request #1301 from kchadha/variable-scope
Variable scope
2018-07-06 14:39:56 -04:00
Karishma Chadha
a0a11f2f19 Add 'islocal' flag to XML serialization for variables. 2018-07-06 13:02:23 -04:00
Paul Kaplan
26e59969de
Merge pull request #1303 from paulkaplan/loudness-hat
Add implementation for "When loudness >" block
2018-07-05 15:04:22 -04:00
Paul Kaplan
24355c6e6d Fix tick yielding threads 2018-07-05 14:56:00 -04:00
Paul Kaplan
2c7de6380e Add implementation for "When loudness >" block 2018-07-05 09:42:00 -04:00
Paul Kaplan
06573f4624
Merge pull request #1280 from paulkaplan/fix-bubble-state
Fix a few say bubble issues
2018-07-05 08:55:39 -04:00
Karishma Chadha
ed608ffe6f Refactor to fix issue with global var not checking for name conflicts on all sprites. 2018-07-03 23:20:49 -04:00
Ray Schamp
99bd87cdbc
Merge pull request #1286 from rschamp/sync-package-lock
Update package-lock.json
2018-07-02 15:15:23 -04:00
Ray Schamp
d482b5ddeb Update package-lock.json
This is needed because the branch for #1282 was created before my changes to use package-lock.json, so package-lock wasn't updated when Greenkeeper updated the eslint dependency.
2018-07-02 15:04:08 -04:00
Ray Schamp
4525139d59
Merge pull request #1212 from mzgoddard/unwrapped
execute optimization by unwrapping recursion
2018-07-02 11:20:01 -04:00
Ray Schamp
9b136de6be
Merge pull request #1282 from LLK/greenkeeper/eslint-5.0.1
chore(package): update eslint to version 5.0.1
2018-06-29 09:42:57 -04:00
Paul Kaplan
63e96634bf Use bounds of the renderer instead of stage target for positioning.
Fixes the regression where bubbles almost always point left instead of right.
2018-06-28 16:45:07 -04:00
Paul Kaplan
a6a29a5437 Fix hidden bubbles not resetting on stop 2018-06-28 16:44:33 -04:00
Ray Schamp
e44df6378b
Merge pull request #1277 from rschamp/fix-travis
Remove cache from Travis, begin using npm ci
2018-06-28 16:36:47 -04:00
Ray Schamp
bc7428ed07 Use production=false during install
Otherwise dev dependency bins aren't present
2018-06-28 11:22:35 -04:00
Ray Schamp
a8fd1f9c38 Set up package-lock support for greenkeeper 2018-06-28 10:52:04 -04:00
Ray Schamp
755cdd98e5 Remove cache from Travis, begin using npm ci
We have thought about moving to use package-lock.json the way NPM suggests, and at the same time have begun having issues with Travis caches. To address both at the same time, remove the cache from Travis, and make up the time by moving to package-lock.json + npm ci for install.
2018-06-28 10:52:04 -04:00
Andrew Sliwinski
c3a3dd8ad5
Merge pull request #1276 from thisandagain/bugfix/1275
Update colors for extensions
2018-06-28 10:26:18 -04:00
Andrew Sliwinski
840510c733 Update colors for extensions. Resolves GH-1275 2018-06-27 18:10:51 -04:00
Paul Kaplan
c3386ad84d
Merge pull request #1254 from paulkaplan/fix-undefined-block-parsing
Skip unknown opcode blocks while parsing
2018-06-27 17:01:00 -04:00
Karishma Chadha
92dfebdae6 Add variables from var_create events to appropriate target based on isLocal flag. 2018-06-27 16:32:10 -04:00
Eric Rosenbaum
aa400ea15b
Show extension status button via XML attr not button (#1270) 2018-06-27 15:53:18 -04:00
Paul Kaplan
0e3413e6bd Fix comment 2018-06-27 14:17:33 -04:00
Paul Kaplan
4967155285 Fix nits 2018-06-27 10:44:28 -04:00
Paul Kaplan
9f517bd483 Deal with comments attached to undefined blocks
Also fix an issue where you couldn't save/load projects that had multiple comments linked to a single block.
2018-06-26 16:41:10 -04:00
Paul Kaplan
e7e300caeb Skip unknown opcode blocks while parsing 2018-06-26 15:58:43 -04:00
Connor Hudson
326c41875e
Merge pull request #1255 from technoboy10/feature/extension-serialization
Serialize extensions used in a project
2018-06-26 09:49:19 -04:00
Connor Hudson
0bed25e01b Merge develop into feature/extension-serialization 2018-06-26 08:56:42 -04:00
greenkeeper[bot]
34fd7a1741 chore(package): update eslint to version 5.0.1
Closes #1267
2018-06-26 09:05:57 +00:00
Mx Corey Frang
236f914f55 delete clone should not stop sound (#1269) 2018-06-25 15:44:39 -04:00
Michael "Z" Goddard
0dffc65ce9 stop drum immediately if it is still starting (#1266) 2018-06-25 15:31:35 -04:00
kchadha
d187517d85
Merge pull request #1256 from kchadha/sprite-save-load
Sprite save load
2018-06-25 11:21:01 -04:00
Karishma Chadha
55a5592ab6 Add optional type param to export sprite API. 2018-06-25 09:23:04 -04:00
Karishma Chadha
f06b8a3943 Clean up calls to fixUpVariableReferences 2018-06-25 09:11:48 -04:00
Ray Schamp
e90b344b15
Merge pull request #1264 from LLK/unrevert-audio
Re-apply audio engine updates
2018-06-22 09:53:24 -04:00
Ray Schamp
96dd18cf44
Merge pull request #1263 from gnarf/fix-load-sounds-problems
Fix sound issue
2018-06-22 09:51:27 -04:00
Corey Frang
4431b43e45 A few leftover loadSound that werent updated 2018-06-22 09:45:23 -04:00
Ray Schamp
b5b24610c7
Merge pull request #1262 from rschamp/revert-audio
Revert #1260, #1258, #1239
2018-06-22 09:45:16 -04:00
Ray Schamp
9afe401dca Revert "Revert #1260, #1258, #1239"
This reverts commit 28f90648b0.
2018-06-22 09:33:08 -04:00
Ray Schamp
28f90648b0 Revert #1260, #1258, #1239
This reverts commits
c268bbae47
61dacfc915
30b8cb8eb1
2018-06-22 09:30:17 -04:00
Mx Corey Frang
ea3a23e37c
Fix before_deploy script to properly quote (#1261) 2018-06-21 17:53:45 -04:00
Michael "Z" Goddard
c268bbae47 add decoded SoundPlayer's to a Sprite's SoundBank (#1260) 2018-06-21 17:23:33 -04:00