Commit Graph

240 Commits

Author SHA1 Message Date
Hood Chatham c05c1cac78
Eliminate pyproxy leaks (#1616) 2021-06-07 09:23:47 +02:00
Hood Chatham 2e04752272
MAINT Improvements to node and file_packager invocations (#1600) 2021-05-29 10:31:56 -07:00
Hood Chatham 962140981a
API Don't expose pyodide as a global variable in loadPyodide (#1597) 2021-05-22 18:54:27 -07:00
Hood Chatham 2e284cc394
MAINT Use rollup instead of EM_JS to include pyproxy.js (#1593) 2021-05-22 18:36:25 -07:00
Hood Chatham af9bd035be
MAINT Update Makefile to repeat pip install pyodide_build and npm install less (#1599) 2021-05-22 15:19:46 -07:00
Hood Chatham 97d7dfcdf9
Some basic types (#1592) 2021-05-20 09:05:05 -07:00
Hood Chatham b512d32495
Update update_base_url Make recipe to fix release-dev (#1583) 2021-05-06 08:25:10 -07:00
Hood Chatham 463618f5cf
Use rollup (#1575)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-05-05 06:42:15 -07:00
Roman Yurchak 4e9d10833e
BLD Create an installable pyodide-build package (#1566) 2021-05-03 20:51:11 +02:00
Roman Yurchak 263309102d
Unvendor distutils (#1543)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2021-05-02 15:42:28 +02:00
Hood Chatham ab1b6c8d24
MAINT Use prettier to format javascript (#1554)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-05-01 10:17:32 -07:00
Hood Chatham 09ea322991
MAINT "use strict" in pyodide.asm.js (#1551) 2021-04-30 15:02:19 -07:00
Hood Chatham d2fc9eaa39
MAINT Change --export-name to globalThis.pyodide._module (#1540) 2021-04-25 19:55:52 -07:00
Hood Chatham 3a16e56fa4
Reduce pyodide.asm.js by factor of 2 with sed (#1500) 2021-04-19 18:42:59 -07:00
Hood Chatham c32740582e
MAINT mkdir -p docs/_build/html before trying to copy there (#1492)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-04-19 21:54:43 +02:00
Hood Chatham e5de0890b0
Improve console error handling, add console.html tests (#1480) 2021-04-18 07:28:21 -07:00
Hood Chatham 1485732211
Fix memory access out of bounds in numpy + chrome 89 (#1474) 2021-04-17 23:17:19 +02:00
Hood Chatham 1574d3dc1a
FIX Remove windows executables from distlib (#1467) 2021-04-14 09:55:00 +02:00
Roman Yurchak 60c1e04b15
Deploy console.html as part of the documentation (#1445) 2021-04-13 23:14:37 +02:00
Roman Yurchak cbf5f7e0cb
Correct PYODIDE_BASE_URL for console.html in CircleCI artifacts (#1453)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2021-04-13 13:58:24 +02:00
Hood Chatham 150c1f6b45
API Add "loadPyodide" function (#1363)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-04-01 00:43:46 +02:00
Hood Chatham fd88a18ca3
API Add PyProxyBufferMethods (#1215) 2021-03-26 15:59:06 -07:00
joemarshall b22b4f0c9e
Move all configuration variables for compile into Makefile.envs (#1369) 2021-03-26 15:37:59 +01:00
Hood Chatham e408dede25
Automatically generatate C method->ml_doc docstrings from Python (#1352)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-03-24 10:24:06 +01:00
Hood Chatham ccd0f1335b
DOC Implement autosummary for js autodoc, use autodocsumm for py autodoc (#1354) 2021-03-22 09:39:09 +01:00
Hood Chatham a88e8edd17
Minor improvements to build handling of PYODIDE_PACKAGES (#1341) 2021-03-20 19:00:35 +01:00
Roman Yurchak f4281bf572
MAINT Compile core with -Wall (#1336) 2021-03-16 14:05:49 -07:00
Hood Chatham d4e17295b3
Some tweaks to internal error handling (#1315) 2021-03-14 20:45:04 +01:00
joemarshall 451924ba97
Clapack as so (#1236) 2021-02-26 17:01:10 +01:00
Hood Chatham f64bee40d7
Simplify setup code (#1195) 2021-02-11 07:39:01 +08:00
Dexter Chua b46acbadc2
Use EM_COMPILER_WRAPPER to enable ccache (#1218)
Fixes #1007. As in #1214, this breaks build if ccache is not available.
2021-02-09 12:28:37 +08:00
joemarshall 1bd8380c01
Emscripten 2.0.12 Upstream backend (#1102)
Co-authored-by: Dexter Chua <dalcde@users.noreply.github.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-02-06 08:58:12 +01:00
Jan Max Meyer fd351bc4fc
MAINT Minor Makefile improvements (#1161) 2021-01-23 00:18:30 +01:00
Hood Chatham f8d363822c
Patch ceval to add callback to use for KeyboardInterrupt handling (#1148)
* Patch ceval to add interrupt handler callback

* Don't use SharedArrayBuffer in test, Firefox doesn't expose it

* Fix test

* Retest

Co-authored-by: Jan Max Meyer <jmm@phorward.de>
2021-01-20 23:27:28 +01:00
casatir 3128b1ad1e
MAINT Remove rendered.html (#1156) 2021-01-19 21:19:25 +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
Dexter Chua 4c5c30779f
Touch npm binaries after installation (#1140)
`npm i` does not update timestamps if it ends up not installing or updating the packages. Before this commit, if emsdk is recompiled after installing these packages, then `npm i` will be triggered every build, because lessc and uglifyjs are older than emsdk.
2021-01-16 09:00:53 +08:00
Hood Chatham 53e0a792cf
Added "make debug" which builds with DEBUG_F flag (#1108) 2021-01-12 13:39:59 +08:00
Hood Chatham f6a67d9503
Enable emjs error handling (#1080) 2021-01-12 12:37:50 +08:00
Dexter Chua 65a9da04a3
Experimental new test system (#1047) 2021-01-11 18:25:55 +01:00
Dexter Chua 72555048b6
BLD Don't copy artifacts to root (#1096) 2021-01-10 18:19:34 +01:00
Dexter Chua e46aa9cff6
BLD Remove sitecustomize (#1072) 2021-01-08 17:29:52 +01:00
Dexter Chua c5f9a98de3
BLD Stop hardcoding file_packager.py directory (#1073) 2021-01-08 17:29:01 +01:00
Dexter Chua 06b6285253
Properly monitor pyodide-py changes (#1071)
Fixes #1069
2021-01-08 10:18:40 +08:00
Hood Chatham a58c8d7186
EM_JS wrappers to convert calls to use Python error conventions (#1051) 2021-01-06 23:48:15 +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
joemarshall 324f595539
build .o files rather than .bc files. (#1028)
asm.js fastcomp build doesn't care about the file extension. upstream (wasm direct) build needs it to be .o
2021-01-03 22:14:56 +08:00
Dexter Chua f6f5da1145
Create script to set emscripten env vars (#1013) 2021-01-03 12:25:14 +01:00
Hood Chatham 9dff7308ec
Rename type_conversion ==> core (#1020) 2021-01-03 09:46:15 +01:00