Commit Graph

478 Commits

Author SHA1 Message Date
Noah
3d9812e748 Remove remaining borrow_value() uses 2021-05-20 10:30:42 -05:00
Noah
99104faaf7 Re-export pyobject::* from the root of the crate 2021-05-20 10:24:07 -05:00
dependabot[bot]
8915ac1d12 Bump py from 1.8.0 to 1.10.0 in /wasm/tests
Bumps [py](https://github.com/pytest-dev/py) from 1.8.0 to 1.10.0.
- [Release notes](https://github.com/pytest-dev/py/releases)
- [Changelog](https://github.com/pytest-dev/py/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/py/compare/1.8.0...1.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-20 18:00:27 +00:00
Noah
4343c45d8e Fix clippy for wasm 2021-04-01 21:06:52 -05:00
Noah
76f8ed5299 Fix clippy warnings for 1.51 2021-03-26 17:54:22 -05:00
Noah
28a26975b6 Fix lints for wasm libraries 2021-03-14 12:50:00 -05:00
Noah
2913754580 Rework wait_all 2021-03-14 12:50:00 -05:00
Noah
12f5ffe7af Version specification for whlimport 2021-03-14 12:50:00 -05:00
Noah
c1cc787bbd Run black 2021-03-14 12:49:59 -05:00
Noah
176702425d Get traceback working in wasm 2021-03-14 12:49:59 -05:00
Noah
46a070fb7f Add whlimport wasm module 2021-03-14 12:49:59 -05:00
Noah
f2f80902bb Add asyncweb wasm module 2021-03-14 12:49:59 -05:00
Noah
5d171f37ba Rework js promises a lot 2021-03-14 12:49:59 -05:00
Noah
cb9650e6ec wasm Lib directory 2021-03-14 12:49:59 -05:00
fanninpm
cc6baeddd6 Allow clippy::unnecessary_wraps lint, and rename "to_js" to "into_js" (#2452)
* Allow clippy::unnecessary_wraps lint

* Change PyResultExt to_js signature

* Change "to_js" to "into_js"

* Refactor "to_js" to "into_js"

* Continue refactoring "to_js" to "into_js"

* Move clippy::unnecessary_wraps to lib.rs

* Add allowed lint to jit/lib.rs

* Add allowed lint to vm/src/lib.rs
2021-02-13 19:07:07 -06:00
Noah
f49448a343 Merge pull request #2402 from RustPython/wasm-hooks
Add a way to inject modules to rustpython_wasm
2021-02-03 09:06:52 -06:00
Noah
20c33f8069 Declare ourselves as Python 3.9 2021-01-25 20:04:32 -06:00
Noah
be1bacd404 Add no-start-func feature 2021-01-20 12:56:30 -06:00
Noah
304a47af26 Add a way to inject modules to rustpython_wasm 2021-01-19 13:53:11 -06:00
Noah
a4aef93327 Make all builtin functions have names 2020-12-17 16:29:43 -06:00
Noah
dd14bb3516 Format wasm/ according to prettier rules 2020-12-16 09:21:07 -06:00
Mireille Raad
85e5486f93 wasm/notebook, responsive layout on mobile 2020-12-08 19:40:33 -05:00
Mireille Raad
22fa80e204 notebook resonspive ipad/tablet fixes 2020-12-07 21:08:32 -05:00
Noah
c1fd81fe40 Give css/js snippets proper file extensions 2020-12-07 14:04:21 -06:00
Noah
c8ee5582c3 Misc cleanup wasm 2020-12-07 14:01:09 -06:00
Noah
9e9ef0cb88 Add docs for injectPython et al in notebook/README 2020-12-07 14:00:44 -06:00
Noah
a1d3f445bd Add syntax highlighting for js 2020-12-07 13:34:52 -06:00
Noah
a61d4b2be4 Improve the py<->js notebook example 2020-12-07 13:34:33 -06:00
Noah
34237ec4fe Add functions to js make it easier to add functions to python 2020-12-07 12:56:33 -06:00
Noah
bdcdcb1917 Update formatting for wasm notebook 2020-12-07 12:56:32 -06:00
Noah
150d5ae908 Fix snippet test+wasm errors 2020-12-05 16:36:37 -06:00
Noah
2f232ecbe3 Implement string interning for variable names 2020-11-09 15:51:57 -06:00
Noah
b30ca99a09 Implement string interning 2020-11-08 21:35:04 -06:00
Noah
70907babe6 Fix wasm + examples 2020-11-07 15:43:23 -06:00
Noah
4528f17210 compiler/porcelain wrapper 2020-11-07 15:43:23 -06:00
Noah
991be82370 Merge pull request #2313 from mainsail-org/mir/notebook
wasm/notebook updates
2020-11-03 15:32:21 -06:00
Mireille Raad
4002b38337 add snippets 2020-10-27 21:40:44 -04:00
Mireille Raad
a742d0d377 update ui and test features 2020-10-27 21:37:56 -04:00
Mireille Raad
b3ee56ce72 obligatory readme 2020-10-27 21:36:31 -04:00
Mireille Raad
264f49b3b1 give up on adding good javascript support, clean up UI instead 2020-10-27 00:47:06 -04:00
Mireille Raad
e8ffd4ea92 rewire code to run with the new code editors, update user interface 2020-10-21 00:44:16 -04:00
Mireille Raad
31c718c34f add multiple editors, use buffers, redo ui 2020-10-20 01:11:50 -04:00
Noah
e44ea3f9a5 Fix wasm 2020-10-19 23:55:55 -05:00
Jeong YunWon
ecf1120bee Clean up static-type affected apis 2020-10-20 02:29:28 +09:00
Jeong YunWon
4add0220ae PyValue::class() returns ref 2020-10-20 02:29:20 +09:00
Jeong YunWon
5b32064cd6 trait StaticType 2020-10-20 01:43:39 +09:00
Noah
c61759bd92 Rework some of the _js module 2020-10-17 11:34:05 -05:00
Mireille Raad
a081ee95d3 create a snippet directory and move sample 2020-10-16 18:55:38 -04:00
Mireille Raad
4935a12c4f add javascript support and calls 2020-10-16 18:53:18 -04:00
Mireille Raad
d75aa1b47a update UI and clean up css a bit 2020-10-16 18:52:42 -04:00