Andrea Giammarchi
6dc75e50f9
Merge branch 'main' into poc_ui_blocks
2024-04-17 17:11:06 +02:00
Andrea Giammarchi
cf92996071
Avoid PyWeb as part of stdlib on MicroPython ( #2030 )
...
* Avoid PyWeb as part of stdlib on MicroPython
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-17 17:10:23 +02:00
Andrea Giammarchi
9b46e7cc24
Merge branch 'main' into poc_ui_blocks
2024-04-15 13:51:52 +02:00
Andrea Giammarchi
c653296821
Added @xterm/addon-web-links to the terminal ( #2027 )
...
* Added @xterm/addon-web-links to the terminal
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024.4.1
2024-04-12 16:25:12 +02:00
Andrea Giammarchi
44cd6273ba
PyTerminal .process(code) utility ( #2026 )
...
* PyTerminal .process(code) utility
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-12 15:44:20 +02:00
pre-commit-ci[bot]
d7d2dfb383
[pre-commit.ci] pre-commit autoupdate ( #2012 )
...
updates:
- [github.com/psf/black: 24.1.1 → 24.3.0](https://github.com/psf/black/compare/24.1.1...24.3.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Andrea Giammarchi <andrea.giammarchi@gmail.com >
2024-04-10 16:22:15 +02:00
Andrea Giammarchi
2d5cf096e0
Fix MicroPython badly handling unicode chars ( #2018 )
...
## Changes
* fixed an issue with the **py-editor** related to the new `linebuffer` directive
* provide in worker hook scope a simple callback that pre-buffers unicode sequences [accordingly to the standard](https://encoding.spec.whatwg.org/#utf-8-bytes-needed ) so that the buffer is sent to the terminal only once those sequences are fulfilled
* test with both `µ` and way more convoluted sequences such as 👩❤️👨 that the output, if either requested as input or already evaluated from the page works ... in latter case `test = "👩❤️👨 "` completely messes up the program and the resulting string is empty
2024-04-09 14:51:10 +02:00
Andrea Giammarchi
6ee8217593
Updated dev-dependencies w/ ESLint 9 ( #2021 )
2024-04-09 14:27:06 +02:00
dependabot[bot]
6d45728787
Bump dorny/test-reporter from 1.8.0 to 1.9.0 in the github-actions group ( #2019 )
...
Bumps the github-actions group with 1 update: [dorny/test-reporter](https://github.com/dorny/test-reporter ).
Updates `dorny/test-reporter` from 1.8.0 to 1.9.0
- [Release notes](https://github.com/dorny/test-reporter/releases )
- [Changelog](https://github.com/dorny/test-reporter/blob/main/CHANGELOG.md )
- [Commits](https://github.com/dorny/test-reporter/compare/v1.8.0...v1.9.0 )
---
updated-dependencies:
- dependency-name: dorny/test-reporter
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 10:40:53 +02:00
Andrea Giammarchi
65954a627e
Allow MicroPython input("...") to work beside the code.interact() ( #2017 )
2024-04-04 18:13:00 +02:00
Andrea Giammarchi
2f1b764251
Provide input("") and sync output to MicroPython ( #2016 )
...
Provide input("") and sync output to MicroPython
2024-04-04 17:34:12 +02:00
Andrea Giammarchi
1fb6cddd70
Forgot to update current npm version ( #2015 )
2024-04-04 15:53:52 +02:00
Andrea Giammarchi
239add4e20
Better MicroPython Terminal ( #2014 )
...
* Better MicroPython Terminal + fixed Pyodide astty value
2024-04-04 15:33:41 +02:00
pre-commit-ci[bot]
d7ac58d18d
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-04-03 22:57:01 +00:00
Fabio Pliger
80529cae71
lint
2024-04-03 17:56:43 -05:00
Fabio Pliger
106a78b635
Merge branch 'main' into poc_ui_blocks
2024-04-03 17:56:13 -05:00
pre-commit-ci[bot]
abe706b9e9
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-04-03 22:53:13 +00:00
Andrea Giammarchi
4e4ac56729
Fix #1998 - Allow lazy terminal bootstrap + MicroPython terminal
...
* Fix #1998 - Allow lazy PyTerminal bootstrap
* Fix #1998 - Allow lazy terminal bootstrap / runtime
* Implemented mpy terminal in both main and worker
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-03 15:50:20 +02:00
Andrea Giammarchi
1447cb3094
Fix #1997 - Bring pyscript stdlib to the PyEditor ( #2010 )
...
* Fix #1997 - Bring pyscript stdlib to the PyEditor
2024-03-28 10:43:26 +01:00
Fabio Pliger
f6a634ce6e
precommit again
2024-03-26 17:18:14 -05:00
Fabio Pliger
152ad6cf4a
Merge branch 'poc_ui_blocks' of github.com:pyscript/pyscript into poc_ui_blocks
2024-03-26 17:11:43 -05:00
Fabio Pliger
307eb738d5
precommit
2024-03-26 17:10:30 -05:00
pre-commit-ci[bot]
27363f4c59
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-03-26 22:09:31 +00:00
Fabio Pliger
b73b30b2d8
remove js_property and fix references
2024-03-26 17:08:25 -05:00
Fabio Pliger
0eadcc10e9
fix bug around Element not being able to map global attributes in subclasses
2024-03-26 17:08:10 -05:00
Fabio Pliger
4cc30925ec
Merge branch 'poc_ui_blocks' of github.com:pyscript/pyscript into poc_ui_blocks
2024-03-26 16:27:13 -05:00
Fabio Pliger
8d955ad183
remove js_property and just use JSProperty with name and allow_nones as arguments
2024-03-26 16:25:35 -05:00
pre-commit-ci[bot]
1c315f8318
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-03-26 21:02:03 +00:00
Fabio Pliger
da3db5141e
fixed merge conflicts
2024-03-26 16:01:48 -05:00
Fabio Pliger
ef43e1f6b2
Merge branch 'poc_ui_blocks' of github.com:pyscript/pyscript into poc_ui_blocks
2024-03-26 16:01:20 -05:00
pre-commit-ci[bot]
5d22ec1fb0
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-03-26 20:59:40 +00:00
Fabio Pliger
111616a780
replace JSProperty with js_property
2024-03-26 15:59:34 -05:00
Fabio Pliger
ee9403971f
replace JSProperty with js_property
2024-03-26 15:59:18 -05:00
Fabio Pliger
35e7273b69
remove _add_js_properties
2024-03-26 15:40:33 -05:00
Fabio Pliger
2bb751a638
finish moving all properties manually on each class
2024-03-26 15:38:52 -05:00
Fabio Pliger
012e6591d4
replace all the calls to _add_js_properties with defining attributes directly in the classes
2024-03-26 15:34:25 -05:00
Fabio Pliger
7f26724235
move global attributes to base class
2024-03-26 15:03:32 -05:00
Fabio Pliger
ff7e2effe5
Merge branch 'main' into poc_ui_blocks
2024-03-26 14:58:17 -05:00
dependabot[bot]
2f3659b676
Bump the github-actions group with 6 updates ( #1995 )
...
Bumps the github-actions group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [actions/setup-node](https://github.com/actions/setup-node ) | `3` | `4` |
| [actions/cache](https://github.com/actions/cache ) | `3` | `4` |
| [softprops/action-gh-release](https://github.com/softprops/action-gh-release ) | `1` | `2` |
| [conda-incubator/setup-miniconda](https://github.com/conda-incubator/setup-miniconda ) | `2` | `3` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact ) | `3` | `4` |
| [dorny/test-reporter](https://github.com/dorny/test-reporter ) | `1.6.0` | `1.8.0` |
Updates `actions/setup-node` from 3 to 4
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v3...v4 )
Updates `actions/cache` from 3 to 4
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
Updates `softprops/action-gh-release` from 1 to 2
- [Release notes](https://github.com/softprops/action-gh-release/releases )
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md )
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2 )
Updates `conda-incubator/setup-miniconda` from 2 to 3
- [Release notes](https://github.com/conda-incubator/setup-miniconda/releases )
- [Changelog](https://github.com/conda-incubator/setup-miniconda/blob/main/CHANGELOG.md )
- [Commits](https://github.com/conda-incubator/setup-miniconda/compare/v2...v3 )
Updates `actions/upload-artifact` from 3 to 4
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
Updates `dorny/test-reporter` from 1.6.0 to 1.8.0
- [Release notes](https://github.com/dorny/test-reporter/releases )
- [Changelog](https://github.com/dorny/test-reporter/blob/main/CHANGELOG.md )
- [Commits](https://github.com/dorny/test-reporter/compare/v1.6.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: softprops/action-gh-release
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: conda-incubator/setup-miniconda
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: dorny/test-reporter
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024.3.2
2024-03-25 11:00:29 +01:00
Andrea Giammarchi
910c666319
pyscript.ffi - expose most essential utilities ( #2005 )
...
pyscript.ffi - expose most essential utilities
2024-03-22 17:41:06 +01:00
Andrea Giammarchi
eee2f64c1d
Update Polyscript with its latest untar.gz and unzip abilities ( #2004 )
2024-03-22 10:42:01 +01:00
Andrea Giammarchi
d080246a0f
Update MicroPython to its latest ( #2003 )
2024-03-21 11:47:47 +01:00
Andrea Giammarchi
98c0f5e50d
Fix #2000 - Allow advanced users to deal themselves with responses ( #2001 )
...
* Fix #2000 - Allow advanced users to deal themselves with responses
* rolled back the direct utility idea
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Updated to latest MicroPython and latest way to have direct access with fetch
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-20 16:40:24 +01:00
Andrea Giammarchi
a1268f1aa2
Fix #1993 - Expose a handy fetch API ( #1994 )
2024.3.1
2024-03-14 19:36:23 +01:00
Christian Clauss
69b8884045
Keep GitHub Actions up to date with GitHub's Dependabot ( #1992 )
...
* Keep GitHub Actions up to date with GitHub's Dependabot
Fix the warning like at the bottom right of
https://github.com/pyscript/pyscript/actions/runs/8263920642
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-14 15:36:18 +01:00
Andrea Giammarchi
df1d699fe6
[feature] py-editor setup ( #1989 )
2024-03-13 12:25:30 +01:00
Fabio Pliger
15896cd12c
fix issue with example code not showing created button
2024-03-04 11:56:40 -06:00
Fabio Pliger
b9cfe74aa2
adapt shoelace to latest upates in ui.elements
2024-02-29 14:14:55 -06:00
pre-commit-ci[bot]
43c085d56f
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-02-28 22:18:27 +00:00
Fabio Pliger
34552ae62d
minor fixes and complete tests for all elements
2024-02-28 16:17:38 -06:00