Commit Graph

18 Commits

Author SHA1 Message Date
Antonio Cuni c54a6dad7e
DOC update the instructions on how to use Node.js (#2856)
[skip ci]
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2022-07-16 10:33:18 +01:00
Hood Chatham cdc59accf3
DOCS Edits and updates (#2756) 2022-06-21 20:15:37 -07:00
Hood Chatham 95b1194945
Enable Wasm BigInt (#2643)
This enables WASM_BIGINT while maintaining (hypothetical) Safari 14 support
by shimming BigInt64Array and BigUint64Array if they are missing. I think the
last time we tried to enable WASM_BIGINT was before #2019 so our chances
are significantly better this time.

This will fix dynamic linking bugs and yields a minor reduction in code size.
2022-06-02 10:09:54 -07:00
Gyeongjae Choi a11f72e145
Simplify the version bump process (#2587) 2022-05-30 10:26:40 +09:00
Gyeongjae Choi 410c875e04
DOC Add documentation entry about file system access (#2420)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-05-04 19:43:34 +09:00
Hood Chatham 952d9092a9 v0.21.0dev0 2022-04-09 13:50:07 -07:00
Hood Chatham 7a9273dd6c v0.20.0 2022-04-09 13:44:32 -07:00
Hood Chatham 7f908beb4c
ENH Calculate indexURL from error stack trace (#2292)
If no indexURL is provided, we throw and catch an error and
then use ErrorStackParser to calculate where pyodide.js has
been loaded from. Resolves #2290.

Question: But getting the URL from error stack trace is well... really
hacky. Can't we use
[`document.currentScript`](https://developer.mozilla.org/en-US/docs/Web/API/Document/currentScript)
or
[`import.meta.url`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import.meta)
instead?
Answer: `document.currentScript` works for the browser main thread.
`import.meta` works for es6 modules. In a classic webworker, I think there
is no approach that works. Also we would need some third approach for node
when loading a commonjs module using `require`. On the other hand, this
stack trace approach works for every case without any feature detection
code.
2022-03-20 22:44:54 -07:00
Henry Schreiner 4f8b0a0344
chore: more pre-commit checking (#2257) 2022-03-07 21:51:20 -08:00
Hood Chatham 9feb50bb48
Remove numpy patches work around for chrome 89 bug (#2171) 2022-03-04 16:09:51 -08:00
Hood Chatham cd1971ca0f Revert "Version 0.19.0 (#2099)"
This reverts commit 276d396fff.
2022-01-10 15:48:30 -08:00
Hood Chatham 276d396fff
Version 0.19.0 (#2099) 2022-01-10 15:17:53 -08:00
Gyeongjae Choi ce2746b690
DOCS Documentation cleanup [skip ci] (#2070)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Sylvain Riondet <sylvain.riondet@emailtree.ai>
Co-authored-by: Sylvain <sylvainriondet@gmail.com>
2022-01-04 16:46:00 +01:00
Gyeongjae Choi ea92661365
Replace "PyPi" to "PyPI" in docs and yaml (#1962) 2021-11-15 10:26:55 +01:00
Roman Yurchak 20d760ea7c
Typo and grammar fixes (#1959) 2021-11-14 21:47:49 +01:00
Hood Chatham 3e3d6eb8a9
ENH Support PyErr_CheckSignals interrupts (#1294) 2021-09-26 11:53:46 -07:00
Roman Yurchak d5c6ced6b2
DOC Document minimal supported browser versions [skip ci] (#1789) 2021-08-12 12:43:50 +02:00
Roman Yurchak 8797f92f59
Documentation on using Pyodide with Node.js [skip ci] (#1788) 2021-08-12 11:39:13 +02:00