David Lechner
3f24c35c24
WIP: add ble connect timeout
...
TODO:
- https://crbug.com/1406311 needs to be fixed
- timeout needs to be added to bootloader connect as well
Issue: https://github.com/pybricks/support/issues/911
2023-01-10 15:47:54 -06:00
b8d3e5c525
build(deps-dev): bump @typescript-eslint/parser from 5.48.0 to 5.48.1 ( #1429 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.48.0 to 5.48.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.48.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 06:22:03 +00:00
0c328bba82
build(deps-dev): bump @typescript-eslint/eslint-plugin ( #1428 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.48.0 to 5.48.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.48.1/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 06:12:04 +00:00
9be97c7fdd
build(deps-dev): bump prettier from 2.8.1 to 2.8.2 ( #1426 )
...
* build(deps-dev): bump prettier from 2.8.1 to 2.8.2
Bumps [prettier](https://github.com/prettier/prettier ) from 2.8.1 to 2.8.2.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.8.1...2.8.2 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* yarn lint
Fixes breaking changes in eslint.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Lechner <david@pybricks.com >
2023-01-09 15:28:56 +00:00
b850ff86fc
build(deps): bump postcss from 8.4.20 to 8.4.21 ( #1427 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.20 to 8.4.21.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.20...8.4.21 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 06:15:59 +00:00
David Lechner and GitHub
0db20ce894
Merge pull request #1425 from pybricks/dlech
...
v2.1.0
2023-01-06 15:59:33 -06:00
David Lechner
4551280544
v2.1.0
v2.1.0
2023-01-06 15:49:03 -06:00
David Lechner
7a052b6595
LICENSE: update copyright year
2023-01-06 15:47:52 -06:00
David Lechner
b24bd6a03b
package: update firmware to v3.2.2
2023-01-06 15:45:47 -06:00
9b1d602a6e
build(deps): bump @babel/core from 7.20.7 to 7.20.12 ( #1424 )
...
* build(deps): bump @babel/core from 7.20.7 to 7.20.12
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.20.7 to 7.20.12.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.20.12/packages/babel-core )
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* yarn dedupe
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Lechner <david@pybricks.com >
2023-01-05 15:53:45 +00:00
e070dd9433
build(deps): bump babel-loader from 9.1.0 to 9.1.2 ( #1423 )
...
Bumps [babel-loader](https://github.com/babel/babel-loader ) from 9.1.0 to 9.1.2.
- [Release notes](https://github.com/babel/babel-loader/releases )
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel-loader/compare/v9.1.0...v9.1.2 )
---
updated-dependencies:
- dependency-name: babel-loader
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-05 06:11:12 +00:00
David Lechner and David Lechner
5330821a96
pybricksMicropython: use new PythonError type property
...
This was introduced in Pyodide 0.22 and saves us from having to parse
the message for the type.
Could also affect https://github.com/pybricks/support/issues/772 (but
there is no known reproducible case to check it).
2023-01-04 11:20:52 -06:00
8ed49b6f55
build(deps): bump json5 from 1.0.1 to 1.0.2 ( #1421 )
...
Bumps [json5](https://github.com/json5/json5 ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 16:55:33 +00:00
3d4fe32303
build(deps): bump pyodide from 0.21.3 to 0.22.0 ( #1420 )
...
* build(deps): bump pyodide from 0.21.3 to 0.22.0
Bumps [pyodide](https://github.com/pyodide/pyodide ) from 0.21.3 to 0.22.0.
- [Release notes](https://github.com/pyodide/pyodide/releases )
- [Commits](https://github.com/pyodide/pyodide/compare/0.21.3...0.22.0 )
---
updated-dependencies:
- dependency-name: pyodide
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* yarn: drop pyodide patch
Fixes were merged upstream.
* webpack: drop pyodide/distuils.tar
This file is no longer distributed in the pyodide package.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Lechner <david@pybricks.com >
2023-01-04 16:45:44 +00:00
2c2b7dfb15
build(deps-dev): bump @typescript-eslint/parser from 5.47.1 to 5.48.0 ( #1419 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.47.1 to 5.48.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.48.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 06:26:27 +00:00
b47bc77357
build(deps-dev): bump @typescript-eslint/eslint-plugin ( #1418 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.47.1 to 5.48.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.48.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 06:14:14 +00:00
263488ae18
build(deps): bump react-complex-tree from 2.0.1 to 2.0.2 ( #1417 )
...
Bumps [react-complex-tree](https://github.com/lukasbach/react-complex-tree/tree/HEAD/packages/core ) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/lukasbach/react-complex-tree/releases )
- [Commits](https://github.com/lukasbach/react-complex-tree/commits/2.0.2/packages/core )
---
updated-dependencies:
- dependency-name: react-complex-tree
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-02 06:34:23 +00:00
6801a1bc5c
build(deps): bump @types/jest from 29.2.4 to 29.2.5 ( #1416 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 29.2.4 to 29.2.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-02 06:24:26 +00:00
3cb859983b
build(deps-dev): bump eslint from 8.30.0 to 8.31.0 ( #1415 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.30.0 to 8.31.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.30.0...v8.31.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-02 06:14:08 +00:00
David Lechner and GitHub
b18bb5e18a
Merge pull request #1414 from pybricks/dlech
...
v2.1.0-beta.4
2022-12-30 16:21:46 -06:00
David Lechner
2de7803c77
v2.1.0-beta.4
v2.1.0-beta.4
2022-12-30 16:10:49 -06:00
David Lechner
62d7fdff36
editor/sagas: disable code completion trigger on space
...
This gets in the way when typing comments and often results in
accepting a completion that was not intended.
Fixes: https://github.com/pybricks/support/issues/894
2022-12-30 16:07:52 -06:00
David Lechner
7d5c9710e5
editor/sagas: fix signature trigger characters
...
The intended behavior is that comma should trigger signature help when
it is not showing. retrigger only triggers if already showing.
2022-12-30 16:04:48 -06:00
David Lechner and David Lechner
d119cb564e
editor: fix find widget z-index
...
When open, the find widget was visible above modal dialogs because
of z-index.
2022-12-30 14:08:36 -06:00
David Lechner and David Lechner
ca50d60b2c
app: fix vertical resizing issues
...
Some new issues with layout when resizing the browser window vertically
were caused either by recent xterm updates or other recent style changes.
This works around those issues.
2022-12-30 14:08:36 -06:00
David Lechner and GitHub
594bd0495c
Merge pull request #1412 from pybricks/dlech
...
2.1.0-beta.3
2022-12-28 17:34:34 -06:00
David Lechner
810ee362c6
editor/sagas: maintain jedi sort order
...
Now that jedi returns names that start with `_`, we need to make sure
they don't end up at the top of the list for completions.
v2.1.0-beta.3
2022-12-28 17:23:59 -06:00
David Lechner
dfe1d3b721
v2.1.0-beta.3
2022-12-28 17:07:29 -06:00
David Lechner
e153ffe295
pybricksMicropython: fix import completion for user module
...
The pybricks_jedi package was filtering on only pybricks modules but
now has a feature to amend the filter to include user modules.
Fixes: https://github.com/pybricks/support/issues/759
2022-12-28 17:04:23 -06:00
David Lechner
a981bcbda2
editor/pybricksMicroPython: fix numeric literal highlighting
...
This was picking up leading underscores, e.g. the first `__` in
`__name__`.
2022-12-28 16:40:43 -06:00
David Lechner
2f14fde584
package: update @pybricks/jedi to v1.7.0
2022-12-28 16:20:03 -06:00
David Lechner and David Lechner
74f1619eb3
app: fix clipping of editor popups
...
Editor popups like the ones for code completion were getting clipped
by the layout pane containers.
2022-12-27 17:35:11 -06:00
David Lechner and David Lechner
1482e9f197
editor/pybricksMicroPython: add constant formatting
2022-12-27 17:35:11 -06:00
David Lechner and David Lechner
098c8e60ab
editor/pybricksMicroPython: add Side to hub template
...
This is included in pybricks.parameters on all hubs.
2022-12-27 17:35:11 -06:00
David Lechner and David Lechner
43a6f63eaf
editor/pybricksMicroPython: improve f-string highlighting
...
Fixes: https://github.com/pybricks/support/issues/875
2022-12-27 17:35:11 -06:00
David Lechner and David Lechner
5bef7e2637
editor/pybricksMicroPython: improve operator highlighting
...
This handles newer things like the := operator better.
2022-12-27 17:35:11 -06:00
David Lechner and David Lechner
1db0c48844
editor/pybricksMicroPython: improve numeric literal highlighting
...
- Drop Python 2.x "L" suffix.
- Add support for underscores.
- Drop including leading minus sign.
- Add support for binary.
- Add support for octal.
2022-12-27 17:35:11 -06:00
ac2d06204c
build(deps-dev): bump @typescript-eslint/eslint-plugin ( #1410 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.47.0 to 5.47.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.47.1/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-27 06:21:38 +00:00
5a46ff6834
build(deps-dev): bump @typescript-eslint/parser from 5.47.0 to 5.47.1 ( #1409 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.47.0 to 5.47.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.47.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-27 06:11:14 +00:00
David Lechner and GitHub
8dd0cb8c54
Merge pull request #1408 from pybricks/dlech
...
v2.1.0-beta.2
2022-12-26 09:49:26 -06:00
David Lechner
e5154013c3
v2.1.0-beta.2
v2.1.0-beta.2
2022-12-26 09:39:06 -06:00
David Lechner
212a3c85ff
package.json: update @pybricks/firmware@6.6.0
2022-12-26 09:36:24 -06:00
6071bfe59d
build(deps): bump @testing-library/dom from 8.19.0 to 8.19.1 ( #1407 )
...
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library ) from 8.19.0 to 8.19.1.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases )
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v8.19.0...v8.19.1 )
---
updated-dependencies:
- dependency-name: "@testing-library/dom"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-26 06:15:06 +00:00
David Lechner and GitHub
578a6afeab
Merge pull request #1406 from pybricks/dlech
...
v2.1.0-beta.1
2022-12-23 11:10:32 -06:00
David Lechner
90b7c2256e
v2.1.0-beta.1
v2.1.0-beta.1
2022-12-23 10:54:04 -06:00
b33677a162
build(deps): bump @babel/core from 7.20.5 to 7.20.7 ( #1405 )
...
* build(deps): bump @babel/core from 7.20.5 to 7.20.7
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.20.5 to 7.20.7.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.20.7/packages/babel-core )
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* yarn dedupe
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Lechner <david@pybricks.com >
2022-12-23 16:17:35 +00:00
fc395415c7
build(deps): bump canvas from 2.10.2 to 2.11.0 ( #1404 )
...
Bumps [canvas](https://github.com/Automattic/node-canvas ) from 2.10.2 to 2.11.0.
- [Release notes](https://github.com/Automattic/node-canvas/releases )
- [Changelog](https://github.com/Automattic/node-canvas/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Automattic/node-canvas/compare/v2.10.2...v2.11.0 )
---
updated-dependencies:
- dependency-name: canvas
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-23 06:12:36 +00:00
David Lechner and David Lechner
d5bcb8c758
package: bump @pybricks/python-program-analysis to v2.0.0
...
This includes fixes for parsing additional Python syntax features
added since Python 3.4 that are implemented by MicroPython.
2022-12-22 18:01:27 -06:00
David Lechner and David Lechner
bb2fa3ae1d
package: switch to @pybricks/python-program-analysis
...
The package we were using was only for Python 3.4 and didn't include
async/await which broke imports in any script that used async/await.
Fixes: https://github.com/pybricks/support/issues/873
2022-12-22 13:21:02 -06:00
David Lechner and David Lechner
a77acc1001
firmware/bootloaderInstructions: hide video from tests
...
The video element makes a bunch of noise (console.error) in tests.
2022-12-22 13:21:02 -06:00