Christopher Willis-Ford
64d17098a1
fix(build): misc webpack 5 build fixes
2024-03-04 11:10:29 -08:00
Christopher Willis-Ford
7d5a780638
style: fix the other lint complaints
2023-12-15 17:40:25 -08:00
Christopher Willis-Ford
8dbcc1fc8f
style: fix hasOwnProperty lint complaints
2023-12-15 17:40:05 -08:00
Christopher Willis-Ford
802d211f95
fix: update GitHub links with /scratchfoundation/
2023-09-28 09:16:47 -07:00
Christopher Willis-Ford
829ae1dfac
fix: tell fetchWithTimeout to use scratchFetch from storage instance
2023-03-31 09:07:06 -07:00
Christopher Willis-Ford
840ffb5df0
test: don't use process.exit to end tests
...
Newer versions of `tap` run more asynchronously, so sometimes using `process.nextTick(process.exit)`
to end a test would prevent the test from completing correctly. Removing all instances of
`process.nextTick(process.exit)` put tests into three categories:
* the test still worked correctly -- no fixup needed.
* the test would hang because the VM's `_steppingInterval` was keeping
Node alive. These tests call a new `quit()` method which ends the
stepping interval.
* the `load-extensions` test needed special attention because the "Video
Sensing" extension starts its own loop using `setTimeout`. I added a
`_stopLoop()` method on the extension and directly call that from the
test. I'm not completely happy with this solution but anything more
general would likely require a change to the extension spec, so I'm
leaving that as a followup task.
2022-06-07 11:44:06 -07:00
Christopher Willis-Ford
08fcae8fc6
Merge pull request #2891 from adroitwhiz/remove-nets
...
Replace nets with Fetch API
2021-03-08 11:10:20 -08:00
adroitwhiz
1035e9da28
Clean up TTS request code
2021-03-04 00:29:50 -05:00
Eric Rosenbaum
ddab65bac2
do not translate strings containing only digits
2021-03-01 11:48:07 -05:00
adroitwhiz
1aa38db4e6
replace nets with Fetch API
2021-02-19 10:56:33 -05:00
DD Liu
7eabcb8a29
Merge pull request #2329 from adroitwhiz/remove-updatedrawableproperties
...
Remove remaining updateDrawableProperties calls
2020-09-24 15:50:26 -04:00
apple502j
9bed114e48
Use new updateCPURenderAttributes in video sensing
2020-08-01 00:09:53 +09:00
adroitwhiz
62504cecb9
Hide pen blocks from palette on stage
2020-06-16 16:04:52 -04:00
Daiki Fukumori
8c83b3a970
Changed to rely on _getTiltAngle() instead of calculating by myself
2020-05-23 09:14:42 +08:00
Daiki Fukumori
432d220fd5
Change the operator position
2020-03-14 20:56:30 +08:00
Daiki Fukumori
013e09b290
Correct the maxlen
2020-03-14 20:46:17 +08:00
Daiki Fukumori
71631f5aa2
Correct the trigger of isTilted()
2020-03-11 22:15:20 +08:00
adroitwhiz
267395b13b
Remove remaining updateDrawableProperties calls
2020-02-26 21:20:50 -05:00
Eric Rosenbaum
24116e5514
Merge pull request #2289 from ericrosenbaum/bugfix/localize-tts-languages
...
Localize the Text to Speech extension "set language" menu
2019-11-18 16:22:15 -05:00
Eric Rosenbaum
27c424532f
Add explanatory comment
2019-10-31 16:03:50 -04:00
Eric Rosenbaum
83781fd380
Check for spokenLanguages object
2019-10-29 11:39:14 -04:00
Paul Kaplan
b13a40fb2e
Update src/extensions/scratch3_video_sensing/library.js
...
Co-Authored-By: Karishma Chadha <kchadha@media.mit.edu>
2019-10-17 11:01:22 -04:00
Paul Kaplan
3cf45f4e07
Fix video sensing by calling updateMatrix manually before using isTouching
2019-10-15 12:10:14 -04:00
Eric Rosenbaum
8971ee4668
use lowercase language codes
...
this ensures that when editor is set to ja-Hira, the default text loads and the language is set to ja
2019-10-03 13:22:53 -04:00
Eric Rosenbaum
dad1ced3d4
Use lowercase lang code for editor lang (to match ja-Hira)
2019-10-03 12:42:50 -04:00
Eric Rosenbaum
03e6d73cc6
update comment
2019-10-02 14:46:12 -04:00
Kevin Nørby Andersen
23d94b3820
Merge pull request #2231 from knandersen/bugfix/2230
...
Implements BLE manufacturer data-feature in LEGO BOOST extension
2019-09-19 17:44:03 -04:00
Eric Rosenbaum
b540b2107a
Remove mock data
2019-09-16 18:23:55 -04:00
Eric Rosenbaum
7011084517
Check for empty menuMap
2019-09-15 12:05:20 -04:00
Eric Rosenbaum
5e84441542
Support dropped language names
2019-09-10 21:35:34 -04:00
Eric Rosenbaum
5ba476c833
Working localized Text to Speech language menu with dummy data
2019-09-10 18:37:21 -04:00
Kevin Nørby Andersen
d379dc1bc6
Merge pull request #2229 from knandersen/bugfix/2215
...
Fix 2215 by properly remapping ports to fit new firmware changes
2019-07-31 11:02:06 -04:00
Kevin Andersen
7d7ce2db13
Fixed issue where port A motor position was not being reported because the port number was false-y
2019-07-30 10:20:34 -04:00
Kevin Andersen
4523597a04
Corrected old port mapping! Thanks for catching that @ericr.
2019-07-29 17:59:16 -04:00
Kevin Andersen
842a8e9778
Adjusted portmapping variables to match firmware versions correctly
2019-07-26 15:34:26 -04:00
Kevin Andersen
fcbac7516e
This commit addresses a discussion in #2229 around backward compatibility.
...
This change creates two different port mappings for the Move Hub. By default the extension will use the newer mapping introduced in firmware version 1.0.00.0224. When connected to the hub, the extension will request the hub's firmware version. If it's older than 1.0.00.0224 it will use the older mapping.
2019-07-26 15:31:37 -04:00
Kevin Andersen
e7634d50fa
Add port mappings to support older firmware version 2.0.00.0016 and later as well as newer firmware version 2.0.00.0017 or newer
2019-07-26 14:12:05 -04:00
Kevin Andersen
fd0944e505
Changed manufacturerData-filter to fit the changes in https://github.com/LLK/scratch-link/pull/139
2019-07-23 13:11:17 -04:00
Kevin Andersen
c89add4de9
Added START_POWER enum to BoostOutputSubCommand which allows the extension to use unregulated motor commands with the Move Hub. Changed BoostMotor.turnOff() to use unregulated motor commands since it seems like a more reliable way of turning the motor off
2019-07-15 09:48:12 -04:00
Kevin Andersen
f4e34131e3
Implements BLE manufacturer data-feature to only scan for properly initialised LEGO BOOST Move Hubs
2019-07-11 17:23:59 -04:00
Kevin Andersen
dcccae9656
Add case to onMessage to catch responses from the LED
2019-07-11 16:23:07 -04:00
Kevin Andersen
4041fbadc3
Changed port-mapping to reflect firmware update.
2019-07-11 16:10:23 -04:00
Evelyn Eastmond
cc04fb0994
Merge pull request #2211 from evhan55/ergonomics/1568
...
EV3 documentation and small refactors
2019-06-28 12:09:24 -04:00
Eric Rosenbaum
4bf5f85d9a
Lint (remove logs, add spaces)
2019-06-27 15:48:30 -04:00
Evelyn Eastmond
d7af8457e1
Making constants decimals.
2019-06-23 22:58:40 -04:00
Evelyn Eastmond
6520f3bd7c
Fixing enum var name again.
2019-06-23 22:54:28 -04:00
Evelyn Eastmond
87590202cc
Adding 'byte to follow' comments back.
2019-06-23 22:42:42 -04:00
Evelyn Eastmond
c5a954fb56
Testing some new variable names.
2019-06-23 22:20:50 -04:00
Evelyn Eastmond
471a22dbdc
Clarifying input_device_list args and return types.
2019-06-23 21:58:05 -04:00
Evelyn Eastmond
98deb1bebe
Removing test Ev3Args values.
2019-06-23 21:29:24 -04:00