Commit Graph
568 Commits
Author SHA1 Message Date
David Lechner 124a959527 pybricks-micropython firmware v3.0.0a8 2020-09-04 16:21:56 -05:00
David Lechner 1d3094e3df yarn upgrade 2020-09-04 16:21:56 -05:00
dependabot-preview[bot] 5b6d9d37a6 Bump react-ace from 9.1.2 to 9.1.3
Bumps [react-ace](https://github.com/securingsincity/react-ace) from 9.1.2 to 9.1.3.
- [Release notes](https://github.com/securingsincity/react-ace/releases)
- [Changelog](https://github.com/securingsincity/react-ace/blob/main/CHANGELOG.md)
- [Commits](https://github.com/securingsincity/react-ace/compare/v9.1.2...v9.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-24 15:46:33 -05:00
David Lechner 11bec2eb59 pybricks-micropython firmware v3.0.0a7 2020-08-22 10:16:54 -05:00
David Lechner 03acff8db7 yarn upgrade 2020-08-22 10:16:54 -05:00
dependabot-preview[bot] 0e3d06b7b2 Bump react-ace from 9.1.1 to 9.1.2
Bumps [react-ace](https://github.com/securingsincity/react-ace) from 9.1.1 to 9.1.2.
- [Release notes](https://github.com/securingsincity/react-ace/releases)
- [Changelog](https://github.com/securingsincity/react-ace/blob/main/CHANGELOG.md)
- [Commits](https://github.com/securingsincity/react-ace/compare/v9.1.1...v9.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 15:17:28 -05:00
David Lechner 1ac032497b update to pybricks-micropython v3.0.0a6 2020-08-05 16:34:22 -05:00
dependabot-preview[bot] 6f0b0d5061 Bump @blueprintjs/core from 3.30.0 to 3.30.1
Bumps [@blueprintjs/core](https://github.com/palantir/blueprint/tree/HEAD/packages/core) from 3.30.0 to 3.30.1.
- [Release notes](https://github.com/palantir/blueprint/releases)
- [Changelog](https://github.com/palantir/blueprint/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/palantir/blueprint/commits/@blueprintjs/core@3.30.1/packages/core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 12:23:12 -05:00
dependabot-preview[bot] 55457701a5 Bump eslint-plugin-react from 7.20.3 to 7.20.5
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.20.3 to 7.20.5.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.20.3...v7.20.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 11:34:40 -05:00
dependabot-preview[bot] 1ceb59a459 Bump react-redux from 7.2.0 to 7.2.1
Bumps [react-redux](https://github.com/reduxjs/react-redux) from 7.2.0 to 7.2.1.
- [Release notes](https://github.com/reduxjs/react-redux/releases)
- [Changelog](https://github.com/reduxjs/react-redux/blob/master/CHANGELOG.md)
- [Commits](https://github.com/reduxjs/react-redux/compare/v7.2.0...v7.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 10:03:37 -05:00
dependabot-preview[bot] 1f45a32dc3 Bump typescript from 3.9.6 to 3.9.7
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.6 to 3.9.7.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.6...v3.9.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-20 11:48:44 -05:00
dependabot-preview[bot] 10005c7211 Bump @blueprintjs/core from 3.29.0 to 3.30.0
Bumps [@blueprintjs/core](https://github.com/palantir/blueprint/tree/HEAD/packages/core) from 3.29.0 to 3.30.0.
- [Release notes](https://github.com/palantir/blueprint/releases)
- [Changelog](https://github.com/palantir/blueprint/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/palantir/blueprint/commits/@blueprintjs/core@3.30.0/packages/core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-20 09:51:40 -05:00
David Lechner 68021545c5 Add Clear command to terminal context menu
Fixes pybricks/support#103
2020-07-17 20:40:00 -05:00
David Lechner 5c3727b3ce Update @types/web-bluetooth
Now includes writeValueWithResponse and writeValueWithoutResponse
2020-07-15 13:17:40 -05:00
David Lechner 70d98511c2 Add screenshot to README 2020-07-15 13:01:56 -05:00
David Lechner dff453af7b firmware v3.0.0a5 2020-07-15 13:01:56 -05:00
David Lechner 4adb0763ec yarn upgrade 2020-07-15 13:01:56 -05:00
David Lechner 6d998b9736 remove encoding snippets 2020-07-15 13:01:56 -05:00
David Lechner a1d5fd531a fix indentation of cityhub snippet 2020-07-15 13:01:56 -05:00
David Lechner 441d517a52 Rework web assembly inclusion
This moves the .wasm file out of the static/js/ folder and into the
source tree. This way we can import it and webpack will pick it up
and version the file with a hash.

This fixes possibly running with an out of date file from the browser
cache and also fixes running offline.

The file extension had to be changed because there is a default rule in
webpack that matches the .wasm extension and causes the following error:

    Failed to compile.

    ./src/sagas/mpy-cross.wasm
    Module parse failed: magic header not detected
    File was processed with these loaders:
    * ./node_modules/file-loader/dist/cjs.js
    You may need an additional loader to handle the result of these loaders.
    Error: magic header not detected

The webpack configuration cannot be modified without ejecting
create-react-app or using something like react-app-rewired, which we
would like to avoid.

Also using ncp to copy file now which fixes building on Windows.
2020-07-03 20:29:19 -05:00
David Lechner 9cfc7c5bd1 wait for feedback more often during flashing
There have been some reports of firmware flashing not working with a
checksum timeout error, meaning that we probably overflowed a buffer
on the Bluetooth chip from sending data too fast.

We don't have info of the Bluetooth firmware so we are just guessing
here.
2020-07-02 21:37:00 -05:00
David Lechner 0944a27eb9 increase firmware flashing packet size 2020-07-02 21:37:00 -05:00
David Lechner c3037a56e6 Clarify city hub error message
It is only the bootloader/flashing firmware that is not compatible. It
can still be used with older browsers after Pybricks firmware has been
flashed.
2020-07-02 21:37:00 -05:00
David Lechner 7b49d84876 add code snippet for city hub 2020-07-02 21:37:00 -05:00
David Lechner 78b17df163 add city hub to firmware flasher 2020-07-02 21:37:00 -05:00
David Lechner e7f9d55bc3 Update firmware to v3.0.0a4 2020-07-02 21:37:00 -05:00
David Lechner a0ec150231 yarn upgrade 2020-07-02 21:37:00 -05:00
David Lechner d44fcad411 yarn upgrade 2020-06-17 16:52:21 -05:00
David Lechner 4a3440d8a5 fix typo 2020-06-17 16:52:21 -05:00
David Lechner 8d2d6e12ed add notes about authenticating to Github package manager 2020-06-17 16:52:21 -05:00
Laurens Valk e9783ff821 tweak beta watermark 2020-06-16 09:39:09 +02:00
David Lechner 2fdcea091e add beta watermark 2020-06-16 09:39:09 +02:00
David Lechner 44b200d1cc github: use coveralls on master branch 2020-06-15 15:31:59 -05:00
David Lechner a59a0e96d1 github: use coveralls 2020-06-15 15:20:45 -05:00
David Lechner b3d2d94b78 update link for more info when app is updated
For now this is just linking to a github issue until we get a proper
changelog.
2020-06-15 14:53:16 -05:00
David Lechner 30db09daf5 enable code snippets in auto completion 2020-06-15 14:53:16 -05:00
David Lechner 33b80fe2c8 re-enable service worker
Password has been turned off on the website, so we can enable this again.
2020-06-15 11:51:49 -05:00
David Lechner 199fc120ca github: remove private token
We should no longer need this since @pybricks packages are now public
2020-06-15 11:51:49 -05:00
David Lechner 087fb43b35 check for missing files in firmware.zip
Found by https://github.com/pybricks/pybricks-code/pull/98/checks?check_run_id=772712591
2020-06-15 08:34:07 -05:00
dependabot-preview[bot] 369a15d604 Bump jszip from 3.4.0 to 3.5.0
Bumps [jszip](https://github.com/Stuk/jszip) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/Stuk/jszip/releases)
- [Changelog](https://github.com/Stuk/jszip/blob/master/CHANGES.md)
- [Commits](https://github.com/Stuk/jszip/compare/v3.4.0...v3.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 08:34:07 -05:00
dependabot-preview[bot] c95e7e2493 Bump @testing-library/user-event from 11.4.1 to 11.4.2
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 11.4.1 to 11.4.2.
- [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/v11.4.1...v11.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 08:05:00 -05:00
dependabot-preview[bot] 3cfbf4856f Bump jest-mock-extended from 1.0.8 to 1.0.9
Bumps [jest-mock-extended](https://github.com/marchaos/jest-mock-extended) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/marchaos/jest-mock-extended/releases)
- [Commits](https://github.com/marchaos/jest-mock-extended/compare/1.0.8...1.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 07:50:21 -05:00
Laurens Valk 44607ca410 images: add support and pybricks docs buttons 2020-06-13 16:38:22 +02:00
Laurens Valk cab8b66117 images: remove local references 2020-06-13 16:38:22 +02:00
David Lechner 37a3967f3a fix race condition when flashing firmware
On Windows, we can get the GATT notification from the bootloader before
Windows says we are done writing to the characteristic. This was
observed on the erase and checksum messages with the Control+ hub.
2020-06-13 00:41:31 -05:00
David Lechner e0e2d98cd0 rename translation files
This fixes case-insensitive file name conflicts, e.g. editor.ts Editor.ts
2020-06-13 00:00:42 -05:00
David Lechner 712117c8d8 convert lwp3-bootloader from a service to a saga
For some reason this significantly improved bluetooth performance so we
had to readjust the frequency of getting the checksum. The new value
actually makes much more sense. It is unlikely that the bootloader
actually had an 8k buffer.
2020-06-12 21:46:00 -05:00
David Lechner 3f80374215 use new app startup action in terminal sagas 2020-06-12 21:46:00 -05:00
David Lechner 72a90df92a implement context menu in terminal 2020-06-12 21:46:00 -05:00
David Lechner 084fc4b599 implement CTRL+SHIFT+C to copy from terminal 2020-06-12 21:46:00 -05:00