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
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
Andrea Giammarchi
181d276c8b
Allow Workers w/out SharedArrayBuffer ( #1967 )
...
Allow Workers w/out SharedArrayBuffer
2024-02-02 15:03:30 +01:00
Andrea Giammarchi
7ad7f0abfb
Fix #1943 - Updated Polyscript with configURL ( #1944 )
2024-01-17 16:15:51 +01:00
Andrea Giammarchi
136e95498f
Reduce conflicts on multiple custom scripts ( #1897 )
2023-12-14 18:32:46 +01:00
Andrea Giammarchi
72f266532b
PyScript Terminal - the latest kind ( #1816 )
2023-10-31 15:16:15 +01:00
Andrea Giammarchi
cd95a42e5e
Fix #1812 - Avoid duplicated pyscript module ( #1813 )
2023-10-26 19:44:31 +02:00
Andrea Giammarchi
e67eb06d8b
Breaking: new Polyscript Hooks mechanism ( #1811 )
...
* Breaking: new Polyscript Hooks mechanism
* Added proper smoke test
2023-10-26 17:13:36 +02:00
Andrea Giammarchi
a24113f42b
Fix #1799 - Avoid multiple bootstraps when embedded ( #1800 )
2023-10-23 15:54:51 +02:00
Andrea Giammarchi
d5b6935c0b
Wait for plugins before defining the custom type ( #1788 )
2023-10-05 13:54:55 +02:00
Andrea Giammarchi
50f7ab0f34
Improved py:all-done event ( #1778 )
2023-10-02 13:38:28 +02:00
Andrea Giammarchi
5c4e400d32
Fix #1766 - Ensure correct hooks types ( #1772 )
2023-09-29 14:01:35 +02:00
Andrea Giammarchi
dffac642a1
Fix #1765 - Pass the optional config interpreter value ( #1768 )
2023-09-28 17:49:11 +02:00
Andrea Giammarchi
97699eaded
Fix #1764 - Unescape innerHTML artifacts ( #1767 )
2023-09-28 16:05:51 +02:00
Andrea Giammarchi
3ac2ac0982
Added py:all-done event ( #1756 )
2023-09-26 15:56:50 +02:00
Jeff Glass
ffee4add4a
Fix target attribute lookup on <script type="py"> ( #1751 )
...
* queryTarget takes element as first param
* Add test for 'target' attribute on script tags test_tag_target_attribute
2023-09-25 07:27:47 -05:00
Andrea Giammarchi
e4eedd80bc
[RC] Work on the reverted changes ( #1753 )
2023-09-25 11:41:34 +02:00
Ted Patrick
5079dd19cb
Revert "[RC] Ensure dedicated configs per interpreter ( #1743 )" ( #1747 )
...
This reverts commit b4c686f411 .
2023-09-21 14:11:22 -05:00
Andrea Giammarchi
b4c686f411
[RC] Ensure dedicated configs per interpreter ( #1743 )
2023-09-21 19:20:02 +02:00
Andrea Giammarchi
ad0dde3f17
[next] Add mpy as custom type with PyScript magic attached ( #1728 )
2023-09-20 18:06:52 +02:00
Andrea Giammarchi
8f3c36deea
[next] Fix #1730 - Make worker an empty attribute only ( #1732 )
2023-09-20 16:44:00 +02:00
Andrea Giammarchi
f6decfd93d
[next] Errors on ambiguous/conflicting code intents ( #1724 )
2023-09-19 18:10:46 +02:00
Antonio Cuni
5191c45113
Refactor the pyscript python package. ( #1713 )
2023-09-15 13:57:06 +02:00
Andrea Giammarchi
840bc803b7
[next] Improve config parsing on bootstrap ( #1704 )
2023-09-15 12:50:52 +02:00
Andrea Giammarchi
3aef5a99dc
[next] Bootstrap plugins directly ( #1698 )
2023-09-14 11:11:44 +02:00
Andrea Giammarchi
7994207c78
[next] Dispatch ready event for the custom py type ( #1694 )
2023-09-13 12:02:04 +02:00
Andrea Giammarchi
7d2df4895e
[next] improve integration tests ( #1684 )
2023-09-08 17:59:50 +02:00
Andrea Giammarchi
59db56feec
[next] Add PyScript Developers Team copy ( #1685 )
2023-09-08 17:43:54 +02:00
Andrea Giammarchi
0696e4682d
[next] Cumulative pre-release patches ( #1682 )
2023-09-07 15:17:09 +02:00
Andrea Giammarchi
1d015c7534
[next] Include most basic error plugin ( #1677 )
2023-09-06 16:49:43 +02:00
Andrea Giammarchi
264675d0c3
[next] Fix #1675 - use async runner in py-script too ( #1676 )
2023-09-06 11:28:58 +02:00
Andrea Giammarchi
cabb1c72b6
[next] Provide less magic around the display ( #1673 )
2023-09-05 18:51:10 +02:00
Andrea Giammarchi
94b0bf4131
[next] Updated latest Polyscript bringing in worker attribute ( #1667 )
2023-09-04 10:04:12 +02:00
Fabio Pliger
12428c0617
Bring tests to next ( #1657 )
...
* bring Makefile to root folder
* add back the print to console when pyscript is ready
* fix build path on tests, link to core.js and overall timeout since it now loads faster
* fix and mark some tests accordingly
* change default timeout to 20s
* review tests and skip what is a known regression
* more tests review until pycondif and skip what is a known regression
* fix pyodide version used on tests
* remove display from config test since it's not testing anything more than console already tests and display as its own tests
* disable config tests that rely on the banner
* skip REPL tests since it's not included in pyscript NEXT
* skip PyTerminal tests since it's not included in pyscript NEXT
* skip more tests relying on Element
* Fix wrong script type from py-script to py
* review more tests related to attributes and add test for worker
* skip spashscreen tests
* wrap up reviews on remaining tests
* update core
* update display tests to use import
* fix more tests and skip some that have known issues
* skip other 2 tests that fail because the test framework injects values that cause the config to fail
* fix getPySrc test due to changed interface
* another round of fixes and commenting on specific tests
---------
Co-authored-by: Fabio Pliger <fpliger@anaconda.com >
2023-09-01 10:01:09 -07:00
Andrea Giammarchi
ef44df5dda
[next] Bring in stdlib as artifact ( #1666 )
2023-09-01 09:24:49 -07:00
Andrea Giammarchi
da3b43abdd
[next] xworker.sync pollution example ( #1659 )
2023-08-31 15:37:17 +02:00
Andrea Giammarchi
4cc9647dc6
[next] allow document.createElement(py-script) ( #1662 )
2023-08-31 14:23:01 +02:00
Andrea Giammarchi
74cd7c840a
[next] Sanitize <py-script> content + deprecate html content ( #1663 )
2023-08-31 10:43:28 +02:00
Andrea Giammarchi
0f2deeb71a
[next] Place a target in the body ( #1658 )
2023-08-30 14:43:48 +02:00
Andrea Giammarchi
93539c9b5a
Fix #1651 - Avoid leaks from the registered module ( #1655 )
2023-08-29 22:32:05 +02:00
Andrea Giammarchi
75a57a49f5
[next] Porting most basic examples ( #1631 )
2023-08-10 22:42:01 +02:00
Andrea Giammarchi
84dcde188b
[next] Bring in the good old PyScript display ( #1628 )
2023-08-09 16:28:06 +02:00
Andrea Giammarchi
77d8fe3562
[next] Improved worker attribute DX ( #1625 )
2023-08-07 18:36:33 +02:00
Andrea Giammarchi
a484aff457
Moved back pyscript.core where it belongs ( #1622 )
2023-08-07 15:15:05 +02:00