Commit Graph

167 Commits

Author SHA1 Message Date
Roman Yurchak a1241301dc
DOC Add more related projects (#1296)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2021-03-02 17:43:46 +01:00
Aditya Shankar 7f66a38ffd
Create related-projects.md, a file to show related projects (#1271)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-03-02 13:47:31 +01:00
joemarshall 451924ba97
Clapack as so (#1236) 2021-02-26 17:01:10 +01:00
Hood Chatham c86a3b7521
Use eval_code_async in runPythonAsync (#1269) 2021-02-23 22:53:23 +01:00
Hood Chatham 4d213a6b6e
ENH PyProxy getattr/etc traps & added getitem/etc for PyMappings (#1175) 2021-02-23 20:25:10 +01:00
wojsam c8fb97723d
DOC Update webworker.md (#1270) 2021-02-21 11:22:54 +01:00
Roman Yurchak f34787df54
Re-organize changelog by submodule (#1255) 2021-02-17 08:58:56 +01:00
leafjolt fe1e304ae7
DOC Fix broken links in documentation homepage (#1260) 2021-02-16 22:59:51 +01:00
Roman Yurchak a79e2893f2
DOC Update project subtitle to be more general (#1246) 2021-02-15 21:27:28 +01:00
Hood Chatham 65e3a808e7
DOC Update faq on custom namespaces (#1253) 2021-02-15 20:38:07 +01:00
Hood Chatham 264157a480
Highlight embedded python code in docs (#1252) 2021-02-15 09:38:49 +01:00
Roman Yurchak 2771ded002
DOC Fix pyodide logo in readme (#1254) 2021-02-15 09:28:58 +01:00
Roman Yurchak 444e11f416
DOC update to sphinx book theme (#1250) 2021-02-15 08:59:38 +01:00
Hood Chatham 547753b8ed
Make a pyproxy of an awaitable py object an awaitable js object (#1170) 2021-02-14 12:12:55 +01:00
Hood Chatham 3c5db381cd
Rename deepCopyToJavascript -> toJs & rm shallowCopyToJavascript (#1231) 2021-02-11 22:02:15 +01:00
Hood Chatham f64bee40d7
Simplify setup code (#1195) 2021-02-11 07:39:01 +08:00
Hood Chatham 19ebad28dc
DOC Use sphinx-js for pyodide_js documentation (#1197) 2021-02-06 21:17:57 +01:00
Hood Chatham a4fad9b500
Add simple web loop (#1158) 2021-02-05 09:20:15 +01:00
Hood Chatham 503741ea48
PyProxy methods for iterators / iterables / generators (#1180) 2021-02-04 21:16:27 +01:00
Hood Chatham b3a965a1f6
Don't automatically copy python objects into javascript (#1167)
* Don't automatically copy python objects into javascript, add new PyProxy.shallowCopyToJavascript and deepCopyToJavascript apis

* Lint

* Adjust conftest to automatically deep_copy results of run / run_async

* Update conftest again

* Fix deep/shallowCopyToJavascript

* Fix shallowCopyToJavascript and deepCopyToJavascript to return js object not hiwire id

* Fix the remaining tests (hopefully)

* Lint

* Fix more tests

* Fix some numpy tests

* Lint

* Fix more tests

* Lint

* Temporarily dummy out setLineDash since it breaks test

* Fix test_console

* Update changelog
2021-02-02 19:45:56 +01:00
Hood Chatham f9fb31d102
Add setInterruptBuffer to public API, update changelog and docs (#1173) 2021-01-31 15:59:13 +01:00
casatir 1fa4b07809
Use rlcompleter instead of Jedi for completion in console (#1160) 2021-01-21 22:27:35 +01:00
Roman Yurchak f9f01be97d
MAINT/CI Fix documentation CI (#1157) 2021-01-20 23:34:38 +01:00
casatir 829e2d4d1e
Completion support in InteractiveConsole (#1155) 2021-01-20 08:10:59 +01:00
casatir e8a8a107ff
REPL Correct repr in InteractiveConsole (#1141) 2021-01-19 07:30:07 +01:00
Hood Chatham 3e2e4960ad
DOCS: document core (#1048) 2021-01-19 06:28:59 +01:00
Hood Chatham dbc60a8abf
DOCS: Move docs into three subfolders based on top level sections (#1149) 2021-01-18 20:56:47 +01:00
Hood Chatham 7374be5c29
Flexible jsimport (#1146)
This allows users to bind arbitrary JS objects as python modules. This is used to implement the `js` module. Fixes #960
2021-01-17 12:33:50 +08:00
casatir c01ce7415b
Add InteractiveConsole in pyodide-py (#1125) 2021-01-14 11:15:51 +01:00
Hood Chatham 61c56f88dc
FIX: Make JsBoundMethod a subclass of JsProxy (#1124) 2021-01-14 08:35:05 +01:00
Hood Chatham 7c0705c316
Fix error in JsProxy_Call kwargs handling (#1033) 2021-01-13 23:16:31 +01:00
Hood Chatham 40bd09348b
MAINT Replace var ==> let and added semicolons (#979) 2021-01-13 22:20:39 +01:00
Dexter Chua a48a1ffc03
Refactor loadPackage (#1084)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2021-01-12 09:36:25 +01:00
Dexter Chua 65a9da04a3
Experimental new test system (#1047) 2021-01-11 18:25:55 +01:00
Roman Yurchak a68833fe6e
Add `meta.yaml` validation (#1105) 2021-01-11 15:59:22 +08:00
Hood Chatham f772ca8ebf
ENH Separate ns variable in eval_code into globals and locals (#1083) 2021-01-10 19:06:27 +01:00
Michael Greminger 9c7ff5658f
Add build/script for nonlib pkg (#1070)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Dexter Chua <dalcde@users.noreply.github.com>
2021-01-08 17:30:39 +01:00
Hood Chatham 1baffc14f8
Add `version` field to pyodide in main.c (#1065)
This is now a string constant not a function and no longer imports the pyodide python package into the main user namespace.
2021-01-08 11:06:48 +08:00
Hood Chatham 42d9d6caed
API Change: Remove repr API (#1067) 2021-01-08 11:00:27 +08:00
Hood Chatham cb29e5ef53
More careful impl of hiwire_bool, added test cases (#1061) 2021-01-08 10:35:16 +08:00
Hood Chatham a99859e62b
API: Remove pyodide.get_completions (#1066) 2021-01-07 22:20:13 +01:00
Michael Greminger 3e89750d16
PKG Add nlopt package (#1034) 2021-01-07 19:22:38 +01:00
Hood Chatham 34af5c0c7a
Make Jsproxy getattr and dir use GenericGetAttr and __dir__ (#1017) 2021-01-05 13:49:02 +01:00
Dexter Chua ac3f1a358e
Build C libraries with the Python build system (#1027) 2021-01-03 22:09:40 +01:00
Roman Yurchak d15fe32c21
Don't include jedi and parso in the core pyodide package (#987) 2021-01-03 17:50:48 +01:00
Dexter Chua 5489c9b3ba
Update docs for six change (#1026) 2021-01-03 20:00:31 +08:00
Dexter Chua 28d0dc2874
Update bleach and packaging (#1021) 2021-01-03 11:51:58 +08:00
Michael Greminger 07e9352c6a
BLD Add cxxflags to build packages using cpp (#1019)
* Adding nlopt package (WIP)

* cxxflags added, nlopt builds

* Add docs and test for cxxflags feature

* Applied black formatter

* Remove nlopt new pkg from this branch

* Removed empty cxxflags option from SciPy meta.yaml
2021-01-03 08:17:08 +08:00
Hood Chatham eeaa3c3ecf
runPython refactoring (#923)
Co-authored-by: Dexter Chua <dec41@srcf.net>
2021-01-02 23:44:24 +01:00
Dexter Chua 869044ba2e
Build six using usual build system (#1010) 2021-01-02 16:59:28 +08:00