unknown
0a9f629fb4
Comment out console logs.
2019-03-07 08:26:38 -05:00
unknown
43fde03f57
Fixing the comment yet again.
2019-03-06 13:17:06 -05:00
unknown
f1fc54bfaf
Fixing comment based on cwf suggestion.
2019-03-06 13:13:57 -05:00
unknown
2148e9ead1
Adding stopAll binding back in after un-rebased merge.
2019-03-06 13:08:55 -05:00
unknown
54ed67ac22
Adding TaskQueue import back in after un-rebased merge.
2019-03-06 12:57:32 -05:00
unknown
7a14dad668
Removing console logs that came in accidentally via un-rebased merge.
2019-03-06 12:55:04 -05:00
unknown
fed43e1841
Removing busy flag again which was reintroduced via a un-rebased merge.
2019-03-06 12:53:17 -05:00
unknown
47139426f2
Putting package-lock back.
2019-03-06 12:51:01 -05:00
unknown
30d7b34e06
Removing package-lock.
2019-03-06 12:48:14 -05:00
unknown
b31a1f0e98
Move argument processing outside of TaskQueue.do calls.
2019-03-06 12:47:44 -05:00
Evelyn Eastmond
f5dc90f729
Fixing comment again.
2019-03-06 12:47:44 -05:00
Evelyn Eastmond
d2c14f872c
Fixing comment.
2019-03-06 12:47:44 -05:00
Evelyn Eastmond
00d1a407ac
Fixing some comments.
2019-03-06 12:47:44 -05:00
Evelyn Eastmond
3c77f82238
Changing maxTokens and refillRate for microbit test.
2019-03-06 12:47:44 -05:00
Evelyn Eastmond
fb36731ce4
Add catches for task queue Promise rejections, and some debug console logs.
2019-03-06 12:47:44 -05:00
Evelyn Eastmond
eecd508464
Fix usage of task queue with an opcode that has its own promise/time delay resolution (i.e. displayText in microbit).
2019-03-06 12:46:56 -05:00
Evelyn Eastmond
dbb884ddef
Removing task queue constructor hacks.
2019-03-06 12:46:08 -05:00
Evelyn Eastmond
6688106852
Continuing to test the newest TaskQueue with microbit.
2019-03-06 12:44:22 -05:00
Eric Rosenbaum
59586291d7
Comments
2019-03-06 12:03:54 -05:00
Eric Rosenbaum
ee0d395b9c
Cleanup check supported and get extension locale
2019-03-06 12:03:46 -05:00
Karishma Chadha
fa3771b320
Merge pull request #2037 from LLK/greenkeeper/scratch-parser-4.3.6
...
Update scratch-parser to the latest version 🚀
2019-03-06 11:59:14 -05:00
greenkeeper[bot]
6cf225c59d
chore(package): update lockfile package-lock.json
2019-03-06 16:28:50 +00:00
greenkeeper[bot]
d354d89f97
fix(package): update scratch-parser to version 4.3.6
2019-03-06 16:28:43 +00:00
Michael "Z" Goddard
882a83db9a
do not evaluate text-encoding until it is needed
...
text-encoding has about ~700KB of data that is great to skip decoding
for systems that have a browser provided TextDecoder.
2019-03-06 11:11:44 -05:00
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
Eric Rosenbaum
8fc3111b21
use id for default language
2019-03-06 10:51:08 -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
Eric Rosenbaum
65d0a3aa11
cleanup
2019-03-06 10:37:36 -05:00
Eric Rosenbaum
d059f8baa6
Check and set language, handling many-to-one mapping
2019-03-06 10:37:36 -05:00
Eric Rosenbaum
ab633d3448
WIP updating to use new language info data
2019-03-06 10:37:36 -05:00
Eric Rosenbaum
bc9e215ee8
Fill in language info data
2019-03-06 10:37:36 -05:00
Eric Rosenbaum
04c6bc189a
Add language ids
2019-03-06 10:37:36 -05:00
Eric Rosenbaum
da212bcf06
wip switching from using locales to language IDs internally
2019-03-06 10:37:36 -05:00
Eric Rosenbaum
920096d061
Add romanian and fix ordering
2019-03-06 10:37:36 -05:00
Eric Rosenbaum
3996cc0c6b
Add Welsh, Swedish and Turkish
2019-03-06 10:37:36 -05:00
Eric Rosenbaum
f33e07132e
Add hindi, korean, norwegian, and adjust rates
2019-03-06 10:37:36 -05:00
Eric Rosenbaum
5b5c0d80eb
Set tenor playback rate for single gender languages
2019-03-06 10:37:36 -05:00
Eric Rosenbaum
0d12cead31
key language info by locale id, and add chinese
2019-03-06 10:37:36 -05:00
Kevin Andersen
a4e005cf2b
Merge branch 'develop' of https://github.com/LLK/scratch-vm into boostextension
2019-03-04 18:11:26 -05:00
Kevin Andersen
6cf00a4235
Linted
2019-03-04 17:39:02 -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
Kevin Andersen
852ae43348
This commit is a combination of changes after an internal play test with the Scratch Team, as well as code cleanup.
...
Motors:
- motor position will now initially report 0 instead of false
- removed remaining motor position zeroing functions.
- removed startBraking().
- turnOn() and turnOnForDegrees() are now using an absolute max power as per the protocol documentation.
- the "turn for rotations"-block now accepts negative values.
-- turnOnForDegrees() accepts a direction to reflect the change above. The direction from the block is calculated against the motors current direction.
- commented EV3 tacho calculation code for motor positioning removed.
- Changed BoostMotorLabel to reflect actual motor block argument.
- startMotorPower() renamed to setMotorPower() since it doesn't start the motor.
- setMotorPower() will not start the motor.
- Max number of rotations for a motor-block is clamped to 100 rotations.
- 'Default' removed from BoostMotorLabel-enum as it wasn't used.
Sensors:
- removed remaining distance-related functions.
- color-reporters default value is now none rather than black.
- tilt-angles left and right switched to reflect the hubs orientation.
2019-03-04 12:38:02 -05:00