Fabio Pliger
20e8c00f79
more cleaning
2023-08-25 18:07:10 -05:00
Fabio Pliger
b1aa4d345b
remove attributes in Style that were mapping directly to JS API
2023-08-25 17:59:40 -05:00
Fabio Pliger
6f516ed4d1
remove other unused code
2023-08-25 17:58:08 -05:00
Fabio Pliger
04d117c12d
clean up non used old code during experimentation
2023-08-25 17:54:07 -05:00
Fabio Pliger
579e7ab87a
add initial pydom code, raw from experimentation
2023-08-25 17:51:45 -05:00
Fabio Pliger
10e497c753
Merge branch 'antocuni/tmp-next-stdlib' into fpliger/stdlib
2023-08-25 17:39:22 -05:00
Fabio Pliger
3b46609614
add the python folder to src, where we can collect all python resources
2023-08-25 11:19:26 -05:00
Antonio Cuni
320ca306bd
introduce the _pyscript python package, and move the code for display inside. This is probably incomplete, see the XXX inside the comments
2023-08-25 18:12:01 +02:00
Fabio Pliger
e087deef09
account for new display.py location
2023-08-24 12:56:02 -05:00
Fabio Pliger
c3bac976c8
move display.py to a stdlib folder
2023-08-24 12:42:03 -05:00
Fabio Pliger
4c3e5fabb9
move display.py to a stdlib folder
2023-08-24 12:41:51 -05:00
Andrea Giammarchi
e48e6276e1
[next] PyScript Next basic documentation ( #1634 )
2023-08-17 08:12:55 -07:00
Andrea Giammarchi
75a57a49f5
[next] Porting most basic examples ( #1631 )
2023-08-10 22:42:01 +02:00
Andrea Giammarchi
8a1db288fc
[next] Updated polyscript to use PyScript custom stderr when running code ( #1629 )
2023-08-09 19:30:18 +02:00
Andrea Giammarchi
84dcde188b
[next] Bring in the good old PyScript display ( #1628 )
2023-08-09 16:28:06 +02:00
Andrea Giammarchi
27c91e9703
[next] Updated LICENSE & dependencies ( #1626 )
2023-08-08 17:16:43 +02:00
Andrea Giammarchi
b5a0cd4057
[sw] Added a first version of the PyScript Service Worker ( #1621 )
...
* Added a first version of the PyScript Service Worker
* Fix typo as suggested
Co-authored-by: Fabio Pliger <fpliger@users.noreply.github.com >
---------
Co-authored-by: Fabio Pliger <fpliger@users.noreply.github.com >
2023-08-08 10:57:26 +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
Andrea Giammarchi
c96f5912df
Prepared for the first publish ( #1620 )
2023-08-03 11:22:16 +02:00
Andrea Giammarchi
8a01a56e51
Add pyscript module in both Main and Workers ( #1619 )
2023-08-03 10:44:17 +02:00
Andrea Giammarchi
2774e49ab9
[next] Brought back home PyScript Next ( #1616 )
2023-08-01 22:28:57 +02:00
Andrea Giammarchi
26e7a54f1f
@pyscript/core deprecation ( #1607 )
2023-07-21 11:07:42 +02:00
Jack Zhao
f0e69cbc36
fix interpreter absoluteURL ( #1603 )
2023-07-19 13:21:44 +02:00
Andrea Giammarchi
413428f535
[next] Better Errors - Worker ( #1602 )
2023-07-19 13:20:03 +02:00
Andrea Giammarchi
0c54036466
[next] Add basic integrations tests ( #1576 )
...
* [next] WIP: Add basic integrations tests
* fix typos in README.md
* Update README.md to specify when files are _ files ignored
---------
Co-authored-by: Fabio Pliger <fpliger@users.noreply.github.com >
2023-07-19 10:18:17 +02:00
Andrea Giammarchi
2555833831
[next] FS create folder before writing in it ( #1582 )
2023-07-17 13:46:17 +02:00
Andrea Giammarchi
7e0aceced1
[next] Updated to latest coincident + MicroPython ( #1595 )
2023-07-13 17:00:04 +02:00
Andrea Giammarchi
77234f6df3
[next] Updated coincident to fix a MicroPython bug ( #1591 )
2023-07-12 17:55:39 +02:00
Andrea Giammarchi
45af96aad4
[next] Updated to latest MicroPython ( #1590 )
2023-07-12 10:45:46 +02:00
Andrea Giammarchi
184d29055e
[next] Await events when invoked ( #1589 )
2023-07-11 13:27:59 +02:00
Andrea Giammarchi
9e73181816
[next] Use the very same source for all Python interpreters ( #1588 )
2023-07-10 17:54:13 +02:00
Andrea Giammarchi
0b0e03456c
[next] Improve the whole events story ( #1584 )
2023-07-10 15:36:48 +02:00
Andrea Giammarchi
c6b5ce7f55
[next] Drop web like events ( #1578 )
...
* Use registerJSModule when available (#1573 )
* Updated version to publish latest
2023-07-06 17:56:06 +02:00
Andrea Giammarchi
a14e701be4
Use registerJSModule when available ( #1573 )
2023-06-29 22:50:35 +02:00
Andrea Giammarchi
7813c3f03f
Added npm run dev ( #1572 )
2023-06-29 12:45:07 +02:00
Andrea Giammarchi
3a3cb7b11d
Align npm versioning ( #1568 )
2023-06-27 22:34:10 +02:00
Andrea Giammarchi
d7b0731385
Added a section dedicated to XWorker required headers ( #1567 )
2023-06-27 20:56:16 +02:00
Andrea Giammarchi
df8973736f
Update latest package.json version + lock ( #1565 )
2023-06-27 17:11:53 +02:00
Andrea Giammarchi
9121071ba3
PyScript Core Documentation ( #1560 )
2023-06-27 16:53:19 +02:00
Andrea Giammarchi
bf6470c046
Cleanup and improve the index.html for tests ( #1558 )
2023-06-22 21:37:11 +02:00
Andrea Giammarchi
3b7099cd3d
Fixed issues around XWorker context ( #1556 )
2023-06-22 19:04:57 +02:00
Andrea Giammarchi
f6dfc5361e
Implement PyScript custom <script type> ( #1548 )
...
* updated MicroPython to latest in order to have `globals` API available
* reduced code around helpers for both MicroPython and Pyodide as now these are more aligned
* updated all dependencies and brought in latest [coincident/window](https://github.com/WebReflection/coincident#coincidentwindow ) goodness to any `xworker`, preserving the `sync` previous behavior
* using [@ungap/structured-clone/json](https://github.com/ungap/structured-clone#tojson ) as *coincident* default `parse` and `stringify` utility to allow recursive and more complex data to travel back from the *Worker* (forward data is still fully [structured clone algorithm compatible](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm ))
* renamed all *plugin/s* references to *custom/s* as plugin as a word was too misleading
* changed *custom types* helpers logic to allow any single node to have its own version of the interpreter wrapper, and all the extra fields it carries with it, including a way to augment every interpreter execution, among as every worker code execution
* created a `custom` folder where I've landed the very first `pyscript.js` custom type
* created an exhaustive test page to demonstrate the current abilities of *PyScript Next* among its ability to expose utilities that can be used to create *PyScript* plugins
2023-06-22 17:29:07 +02:00
Andrea Giammarchi
0a7e1ce0d7
Fix #1531 - Remove overall need for globalThis pollution ( #1543 )
2023-06-19 18:05:45 +02:00
Andrea Giammarchi
d6b1c393f6
MicroPython as CDN ( #1521 )
2023-06-19 12:06:15 +02:00
Andrea Giammarchi
bccd5e3750
Fix #1538 - use same customElements Registry utilities ( #1542 )
2023-06-16 15:34:05 +02:00
Andrea Giammarchi
6df5905b2b
[next] Ditch handy shortcuts for good ( #1537 )
2023-06-15 17:08:28 +02:00
Andrea Giammarchi
6284c02032
[next] Rename all runtime(s) references to interpreter(s) ( #1536 )
2023-06-15 15:34:07 +02:00
Andrea Giammarchi
db27d52352
[next] Update MicroPython and other dependencies ( #1535 )
2023-06-15 14:04:47 +02:00
Fábio Rosado
8ba28989fb
Add ci for next ( #1530 )
...
* Add ci for next
* Install deps from the right folder and build the project
* Rename CI job for test next
* Remove all things pyscriptjs
* Remove ESLint job
2023-06-14 16:01:01 +01:00