63 Commits (c0ca4bb85f4f1307cbd34fe499035b16bcd22637)

Author SHA1 Message Date
Damien George c0ca4bb85f webassembly: Set GC threshold and do top-level GC collect when possible. 6 months ago
Damien George cdaf2de80c webassembly: Track the current depth of calls to external C functions. 6 months ago
Damien George ed2885facb webassembly/proxy_c: Don't return value of a void function. 6 months ago
Damien George d7f031397d webassembly/objjsproxy: Make jsproxy_it keep ref to jsproxy. 6 months ago
Damien George cfd5a8ea3a webassembly/proxy_c: Return undefined if dict lookup failed on JS side. 6 months ago
Damien George aa2e3880c1 webassembly/proxy_js: Create a special "undefined" type for Python. 6 months ago
Damien George 0148bbb495 webassembly/proxy_js: Revert back to converting Py None to JS null. 6 months ago
Damien George 154d602b6e webassembly/mpconfigport: Enable importing of .mpy files. 6 months ago
Damien George fa23e4b093 webassembly/proxy_js: Convert JS undefined and JS null to Py None. 6 months ago
Damien George a67e326cb9 webassembly/proxy_c: Ensure objs thrown into generators are exceptions. 6 months ago
Damien George 3f34be69c7 webassembly/asyncio: Fix case where a Promise is resolved with no arg. 6 months ago
Damien George c37eb93f2d webassembly/proxy_c: Support more than 4 args when JS calls Py func. 6 months ago
Damien George be1ecb54e6 webassembly/api: Resolve thenables returned from runPythonAsync. 6 months ago
Damien George c056840ee8 webassembly/objpyproxy: Implement JS iterator protocol for Py iterables. 6 months ago
Damien George e860e32e24 webassembly/objjsproxy: Fix proxying in arguments to JS new function. 6 months ago
Damien George 50b43fec1a webassembly/proxy_c: Only proxy across resolve/reject funs when needed. 6 months ago
Damien George 9da63a343e webassembly/proxy_c: Reject promises with a PythonError instance. 6 months ago
Damien George 9681a66c6b webassembly/api: Fix importing micropython.mjs module from node REPL. 6 months ago
Damien George 49af8cad49 webassembly/api: Inject asyncio.run if needed by the script. 7 months ago
Damien George 8a3546b3bd webassembly: Add JavaScript-based asyncio support. 7 months ago
Damien George 84d6f8e8cb webassembly/modjsffi: Add jsffi.async_timeout_ms. 7 months ago
Damien George d998ca78c8 webassembly/proxy_c: Fix then-continue to convert reason to throw value. 7 months ago
Damien George 92b3b69648 webassembly/proxy_c: Fix proxy then reject handling. 7 months ago
Damien George 4c3f5f552b webassembly/objjsproxy: Fix handling of thrown value into JS generator. 7 months ago
Damien George 9c7f0659e2 webassembly/api: Allocate code data on C heap when running Python code. 7 months ago
Damien George 45848f77ca webassembly/api: Fix waiting for Emscripten module to be loaded. 7 months ago
Damien George 5114f2c1ea webassembly/proxy_js: Allow a Python proxy of a function to be undone. 7 months ago
Damien George 7c62fbe3f2 webassembly/proxy_js: Promote Python thenable to a Promise. 7 months ago
Damien George 3997532186 webassembly/proxy_c: Ensure return value of async fun is passed to JS. 7 months ago
Damien George c2cf58befc webassembly/library: Fix formatting and style for Biome. 8 months ago
Damien George 26d6969fef webassembly: Update README.md to describe latest changes. 8 months ago
Damien George b9eb74e73b webassembly/variants/pyscript: Add pyscript variant. 1 year ago
Damien George 6ff3e356e2 webassembly: Implement replInit() and replProcessChar(). 8 months ago
Damien George 625b17a410 webassembly: Implement runCLI() for a Node-based CLI. 9 months ago
Damien George 9b090603a0 webassembly: Implement runPythonAsync() for top-level async code. 1 year ago
Damien George 39bd0b8a0a webassembly: Add JavaScript proxying, and js and jsffi modules. 1 year ago
Damien George 691cd3a56d webassembly: Clean up Makefile and add variant support. 1 year ago
Damien George 98a8ff7a1a webassembly: Add support for enabling MICROPY_GC_SPLIT_HEAP_AUTO. 1 year ago
Damien George ae6bcc9d23 webassembly: Use POSIX write for output and add stderr. 1 year ago
Damien George 8e3b701dee webassembly: Enable time localtime, gmtime, time, time_ns. 11 months ago
Damien George 76898cbfa1 webassembly: Implement MICROPY_PY_RANDOM_SEED_INIT_FUNC. 11 months ago
Damien George 8282bd93a2 webassembly: Move MP_JS_EPOCH init to library postset. 1 year ago
Damien George ff15dfcaa8 webassembly: Include lib in sys.path. 2 years ago
Angus Gratton decf8e6a8b all: Remove the "STATIC" macro and just use "static" instead. 8 months ago
Damien George 90e517862d webassembly/Makefile: Remove --memory-init-file from linker options. 8 months ago
Maarten van der Schrieck 3bca93b2d0 ports: Fix sys.stdout.buffer.write() return value. 1 year ago
Jim Mussared 5015779a6f py/builtinevex: Handle invalid filenames for execfile. 1 year ago
Nicholas H.Tollervey 14c2b64131 webassembly: Replace typeof window check with ENVIRONMENT_IS_NODE flag. 1 year ago
elibdev 813d559bc0 webassembly: Make mp_js_process_char asynchronous. 1 year ago
elibdev b2ad7e238b webassembly: Make mp_js_do_str asynchronous. 1 year ago