dependabot-preview[bot]
e38244e6d7
Bump @testing-library/jest-dom from 4.2.4 to 5.8.0
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 4.2.4 to 5.8.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v4.2.4...v5.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-22 20:14:06 -05:00
dependabot-preview[bot]
8aca9ee929
Bump @types/react-dom from 16.9.7 to 16.9.8
...
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ) from 16.9.7 to 16.9.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-22 20:04:55 -05:00
David Lechner
dd9d789e9a
license
2020-05-22 19:54:48 -05:00
David Lechner
2a0cba80b8
remove incorrect use of ThunkDispatch
2020-05-22 19:54:48 -05:00
David Lechner
1898787eb5
add open and save button
...
Chrome has an annoying warning when downloading .py files, e.g https://stackoverflow.com/q/34130774/1976323
Workaround is to enable the "Ask where to save each file before downloading" setting.
2020-05-22 19:54:48 -05:00
David Lechner
ac6c798148
Fix city hub bootloader compatibility
...
The city hub requires that certain messages are write with response and
others are write without response, otherwise it will cause BlueZ to
disconnect because it does not follow proper BLE protocol.
2020-05-22 19:54:48 -05:00
David Lechner
21208344be
Add error notification for service error
...
On Linux/BlueZ, sometimes the services are not enumerated properly and
the user has to remove the Bluetooth device from BlueZ, then it should
work correctly.
2020-05-22 19:54:48 -05:00
dependabot-preview[bot]
416c5b16e2
Bump bootstrap from 4.4.1 to 4.5.0
...
Bumps [bootstrap](https://github.com/twbs/bootstrap ) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/twbs/bootstrap/releases )
- [Commits](https://github.com/twbs/bootstrap/compare/v4.4.1...v4.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-22 15:38:24 -05:00
dependabot-preview[bot]
669f7838b2
Bump @testing-library/user-event from 10.3.2 to 10.3.4
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 10.3.2 to 10.3.4.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v10.3.2...v10.3.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-21 21:33:04 -05:00
David Lechner
154907a201
fix package name
2020-05-21 21:27:47 -05:00
David Lechner
6ef0dee20c
test utils/web-bluetooth
2020-05-21 21:27:47 -05:00
David Lechner
c979d21255
use describe in math tests
...
just for better organization
2020-05-21 21:27:47 -05:00
David Lechner
ae21501aa2
test sumComplement32
2020-05-21 21:27:47 -05:00
David Lechner
858cf26e5e
smoother firmware flash progress
...
This waits for the OS to give a reply about the request being sent before updating progress. Before, we were just updating progress when requests were queued rather than actually sent.
2020-05-21 21:27:47 -05:00
David Lechner
ed5bd4728a
add id to bootloader request actions
...
This will be used to match didRequest to a requst to avoid issues with messages being queued concurrently
2020-05-21 21:27:47 -05:00
David Lechner
0d57338d71
add bootloader message serialization test
2020-05-21 21:27:47 -05:00
David Lechner
9b06bc7bd1
add basic tests for bootloader message encoder
...
Doesn't test errors yet
2020-05-21 21:27:47 -05:00
David Lechner
3b22c0377f
add tests for bootloader message decoder
...
also fix errors found by test
2020-05-21 21:27:47 -05:00
dependabot-preview[bot]
c665ba9d1f
Bump xterm from 4.5.0 to 4.6.0
...
Bumps [xterm](https://github.com/xtermjs/xterm.js ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/4.5.0...4.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-21 11:09:40 -05:00
dependabot-preview[bot]
36cca07a19
Bump @types/web-bluetooth from 0.0.5 to 0.0.6
...
Bumps [@types/web-bluetooth](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/web-bluetooth ) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/web-bluetooth )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-21 10:19:18 -05:00
David Lechner
23566a7d4a
Check Web Bluetooth capabilities
...
This adds/improves checks for the various Web Bluetooth capabilities
that we are using and notifies the user when capabilities are missing.
2020-05-20 21:31:51 -05:00
David Lechner
3ae2fb2eef
wire up firmware flash progress
...
Also turn off logging and longer checksum interval to improve performance
94K movehub fw flashes in about 1:45
2020-05-20 19:57:23 -05:00
David Lechner
7ba99d62bb
github: make lftp verbose
...
also move the install to a separate step so it is easier to read the logs
2020-05-20 16:58:50 -05:00
David Lechner
1a57031dd7
github: drop cache
...
this doesn't seem to speed things up much, so let's remove it for now
2020-05-20 16:58:50 -05:00
David Lechner
19d9d9c29f
github: rename CI test job ID
...
This conflicts with the ID in build-dev.yml
2020-05-20 16:46:35 -05:00
David Lechner
0171255be9
fix lint error
2020-05-20 16:30:39 -05:00
David Lechner
8a90acde8b
add script for code coverage
...
It is not easy to remember --watchAll=false
https://github.com/facebook/create-react-app/issues/6888
2020-05-20 16:30:39 -05:00
dependabot-preview[bot]
9257053905
Bump @testing-library/user-event from 7.2.1 to 10.3.2
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 7.2.1 to 10.3.2.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Commits](https://github.com/testing-library/user-event/compare/v7.2.1...v10.3.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-20 15:06:04 -05:00
dependabot-preview[bot]
69a0175d5f
Bump @testing-library/react from 9.5.0 to 10.0.4
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 9.5.0 to 10.0.4.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v9.5.0...v10.0.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-20 15:00:06 -05:00
David Lechner
90817a1ae7
github: add CI for pull requests
...
and hacks to get tests working
2020-05-20 14:52:45 -05:00
dependabot-preview[bot]
cde8d6b764
Bump @types/jest from 24.9.1 to 25.2.3
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 24.9.1 to 25.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-20 13:19:32 -05:00
dependabot-preview[bot]
83460fd786
Bump node-sass from 4.14.0 to 4.14.1
...
Bumps [node-sass](https://github.com/sass/node-sass ) from 4.14.0 to 4.14.1.
- [Release notes](https://github.com/sass/node-sass/releases )
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sass/node-sass/compare/v4.14.0...v4.14.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-20 13:19:01 -05:00
David Lechner
01374b6890
update for react-dropzone API change
2020-05-20 13:08:34 -05:00
dependabot-preview[bot]
abff0e58b9
Bump react-dropzone from 10.2.2 to 11.0.1
...
Bumps [react-dropzone](https://github.com/react-dropzone/react-dropzone ) from 10.2.2 to 11.0.1.
- [Release notes](https://github.com/react-dropzone/react-dropzone/releases )
- [Commits](https://github.com/react-dropzone/react-dropzone/compare/v10.2.2...v11.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-20 13:08:34 -05:00
dependabot-preview[bot]
c4e1aa95c1
Bump @typescript-eslint/parser from 2.30.0 to 2.34.0
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 2.30.0 to 2.34.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.34.0/packages/parser )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-20 13:00:01 -05:00
dependabot-preview[bot]
88d9ffa762
Bump @types/react-redux from 7.1.7 to 7.1.9
...
Bumps [@types/react-redux](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-redux ) from 7.1.7 to 7.1.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-redux )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-20 12:59:20 -05:00
dependabot-preview[bot]
9837fb9e7c
Bump react-transition-group from 4.3.0 to 4.4.1
...
Bumps [react-transition-group](https://github.com/reactjs/react-transition-group ) from 4.3.0 to 4.4.1.
- [Release notes](https://github.com/reactjs/react-transition-group/releases )
- [Changelog](https://github.com/reactjs/react-transition-group/blob/master/CHANGELOG.md )
- [Commits](https://github.com/reactjs/react-transition-group/compare/v4.3.0...v4.4.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-20 12:58:46 -05:00
dependabot-preview[bot]
ad0af8a69f
Bump typescript from 3.7.5 to 3.9.3
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 3.7.5 to 3.9.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.7.5...v3.9.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-20 12:57:44 -05:00
Laurens Valk
93e0bf8902
hub: check response to size message
...
The hub responds to every message with a checksum. The mpy size message is no different, so we need to read it.
This fixes the checksum messages being out of sync by one.
2020-05-08 12:08:25 +02:00
David Lechner
a44e97f4a3
terminal resizing
2020-05-04 22:08:44 -05:00
David Lechner
fce6b25e0b
github: build and publish master branch
2020-05-04 16:32:47 -05:00
David Lechner
02d4726092
update to @pybricks/mpy-cross-4 v2
...
v2 allows us to pass the mpy-cross options from the firmware to the
mpy-cross compiler.
2020-05-04 14:05:18 -05:00
David Lechner
9a64e68c60
hub: change size to little-endian
...
firmware now expects little endian checksum
2020-05-04 12:03:34 -05:00
David Lechner
c7b7162693
implement flashing firmware from new zip format
2020-05-02 14:40:18 -05:00
David Lechner
9d545f8f5c
add polyfill for new Web Bluetooth methods
2020-05-01 21:37:45 -05:00
David Lechner
0a50ebddd7
bootloader: add withResponse option
...
This takes advantage of new (not implemented yet) Web Bluetooth APIs to write with or without response
2020-05-01 21:11:01 -05:00
David Lechner
70e5da1b42
update @pybricks/mpy-cross-4
...
older versions were broken (missing files)
2020-05-01 20:23:11 -05:00
David Lechner
3b8706c8a4
yarn upgrade
2020-05-01 19:41:15 -05:00
David Lechner
03dba3ab9a
use published @pybricks/mpy-cross-4 package
2020-05-01 19:13:17 -05:00
David Lechner
13a2b271b0
remove debug code
...
This was just there for debugging and forgot to remove it before pushing.
2020-04-20 17:25:33 -05:00