Commit Graph

1314 Commits

Author SHA1 Message Date
Roman Yurchak c4a4f518bb
RFC pyodide governance and decision-making process (#1229)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2021-03-03 19:09:05 +01:00
Mireille Raad 4a770ffb0c
DOC update docs/usage/webworker (#1298)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2021-03-03 19:03:43 +01:00
Roman Yurchak 16c3514b7e
DOC Update the documentation domain to pyodide.org (#1301) 2021-03-03 14:57:48 +01:00
Hood Chatham f8bb138fa7
DOC Normalize capitalization of Python, Pyodide, and Javascript (#1297) 2021-03-03 09:11:50 +01:00
Roman Yurchak cd470ec36a
BLD Fix overwriting package optflags via clfags etc in meta.yaml (#1287) 2021-03-02 19:48:57 +01:00
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
Hood Chatham e26204b14b
Set sys.{last_type,last_value,last_traceback} on exception (#1281) 2021-03-01 21:43:48 +01:00
Hood Chatham 328bd21b48
Use globals() for console.html (#1266) 2021-03-01 21:39:53 +01:00
Paul m. p. P d2bd70a52a
BLD match host and target in case of multiple pythons (#1292) 2021-02-27 10:50:30 +01:00
Roman Yurchak 16fd8e4b91
MAINT Simplify scipy patches in make-int-return-values.patch (#1291) 2021-02-27 08:44:52 +01:00
joemarshall 451924ba97
Clapack as so (#1236) 2021-02-26 17:01:10 +01:00
Hood Chatham 47018e0e61
Fixed various minor issues in python2js (#1248) 2021-02-25 20:44:59 +01:00
Hood Chatham 8a59f500ce
Fix support for brackets in error messages (#1285) 2021-02-25 18:23:05 +01:00
Hood Chatham fadbaf1c20
Fix jterm bug with error display introduced in #1274 (#1284) 2021-02-25 15:09:47 +01:00
Hood Chatham 69c8613ad3
Give the filename to ast.parse (so it will appear in syntax errors) (#1280) 2021-02-24 22:04:31 +01:00
Hood Chatham 3e460afc4f
Add JsProxy.to_py method (#1244) 2021-02-24 14:13:30 +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
Hood Chatham d4cde52f28
Use jquery v3.5.1 instead of v1.11.1 (#1274) 2021-02-23 18:45:59 +01:00
wojsam c8fb97723d
DOC Update webworker.md (#1270) 2021-02-21 11:22:54 +01:00
Hood Chatham 9bedba0d06
Fix console.html completions (#1261) 2021-02-17 18:16:09 +01:00
Roman Yurchak f34787df54
Re-organize changelog by submodule (#1255) 2021-02-17 08:58:56 +01:00
Hood Chatham 9207111c96
TST Fix test_asyncio by removing DumbLoop (#1259) 2021-02-16 23:03:27 +01:00
leafjolt fe1e304ae7
DOC Fix broken links in documentation homepage (#1260) 2021-02-16 22:59:51 +01:00
Dexter Chua df3861e469
Update to emscripten 2.0.14 (#1256) 2021-02-16 11:25:53 +08: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 ad611d608d
Don't implicitly convert tuple and bytes objects into Javascript (#1234) 2021-02-14 12:18:57 +01:00
Dexter Chua eb2bd5c458
Allow changing emscripten version with env var (#1249)
This makes it easier to test against different emscripten versions on
the same tree (e.g. tot a la #1223).
2021-02-14 12:17:20 +01:00
Hood Chatham 203a5c0c32
Add PyProxy.type (#1237) 2021-02-14 12:16:43 +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
Dexter Chua 4788dd750b
Change error code on waitpid to ENOSYS (#1240) 2021-02-14 09:56:39 +01:00
Dexter Chua b6e409876c
Use async functions for languageLoaderPlugin (#1239)
This allows us to use more conventional "modern" javascript.

In the future, I hope to make languageLoaderPlugin a function instead of
a promise (which would be very easy given this commit), so that users
can supply a custom Module object. One useful application would be to
supply stdout/stderr handlers. This would be a breaking change so I'll
leave it for antoher time.
2021-02-14 09:56:09 +01:00
Dexter Chua cce7b66b0d
Replace some scipy patches with sed (#1224) 2021-02-12 12:59:47 +01:00
Dexter Chua a73d7e7dee
TST Remove upstreamed memfsmtime emscripten test (#1241)
The patch is upstreamed and so are tests.
2021-02-12 12:00:27 +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
Dexter Chua 747152a008
Skip -ffixed-form flag (#1225)
This is only effective when compiling fortran code, which is not what we
are doing since we have applied f2c. Future versions of clang forbid
specifying the flag when not compiling fortran.
2021-02-10 18:25:56 +01:00
Roman Yurchak 1aea60d91d
MAINT Update to emscripten 2.0.13 (#1198)
Co-authored-by: Dexter Chua <dalcde@users.noreply.github.com>
2021-02-10 09:23:10 +01:00
Roman Yurchak a4907839dd
TST xfail the pillow test that fails on Chrome (#1222) 2021-02-09 23:39:07 +01: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
Roman Yurchak 0755f191b7
Deploy even with a failure of "tests packages" CI on chrome (#1216) 2021-02-08 13:51:28 +01:00
Hood Chatham 6e3f5747ec
Remove debug statements from fix_emulate_pointers (#1212)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Dexter Chua <dalcde@users.noreply.github.com>
2021-02-08 09:49:44 +01:00
Dexter Chua 56073be2a9
Re-enable ccache for binaryen build (#1214)
Binaryen now invokes cc instead of gcc, and the cc symlink isn't in
/usr/lib/ccache. This replaces the implementation in #1014.

This has the disadvantage that build is now broken if ccache is not
available.
2021-02-08 09:42:43 +01:00
Hood Chatham 7268e45c0f
Simplify hiwire constants (#1213)
Previously they were defined as macros and getters were defined for use in javascript, since javascript cannot access macros. Now both are replaced by global constants.
2021-02-08 13:51:12 +08:00
Roman Yurchak 5d50a5f96a
Revert removal of xfailed scipy dependent tests (#1205) 2021-02-07 08:37:22 +01:00