Commit Graph

493 Commits

Author SHA1 Message Date
Michael Droettboom 58048cff2c Upgrade to emscripten 1.38.12 2018-10-01 18:56:57 -04:00
Roman Yurchak 27d135e61d
Merge pull request #198 from mdboom/singleton-constants
Use constant hiwire ids for singleton values
2018-10-01 13:26:54 +02:00
Michael Droettboom fdab0249af Use constant hiwire ids for singleton values 2018-09-28 20:50:20 -04:00
Roman Yurchak a966927c6c
Merge pull request #197 from mdboom/faster-way-to-handle-bound-method-name
No need to copy bound method name
2018-09-28 10:41:49 +02:00
Michael Droettboom 5b84311d91 Just use pointer to bound method name, since we keep object around, it shouldn't die 2018-09-27 17:01:02 -04:00
Michael Droettboom 94e935b4c8
Merge pull request #107 from rth/pyodide-package
Refactoring common functions under pyodide_build
2018-09-27 12:32:43 -04:00
Michael Droettboom 556041c1e4
Merge pull request #195 from rth/trap-mode-clamp
Use "BINARYEN_TRAP_MODE='clamp'"
2018-09-27 10:34:34 -04:00
Michael Droettboom 3c03c56b7d
Merge pull request #194 from rth/disable-syscalls-sygaction-utimensat
Disable sigaction and utimensat syscalls
2018-09-27 10:32:09 -04:00
Roman Yurchak a34d18c0c4 Revert "Add test/test_numpy_suite_numeric.py"
This reverts commit 3ff79f6a2f.
2018-09-27 15:15:15 +02:00
Roman Yurchak b9ad36fdd7 Set "BINARYEN_TRAP_MODE='clamp'" 2018-09-27 11:38:26 +02:00
Roman Yurchak 3ff79f6a2f Add test/test_numpy_suite_numeric.py 2018-09-27 11:29:09 +02:00
Roman Yurchak 79b908938b Set #undef HAVE_UTIMENSAT and HAVE_SIGACTION 2018-09-27 11:10:43 +02:00
Roman Yurchak f58028e87b
Merge pull request #193 from mdboom/test-array-iter
Add test for iterating over a JS array
2018-09-27 11:02:25 +02:00
Michael Droettboom a164cd1946 ADd test for iterating over a JS array 2018-09-26 18:03:09 -04:00
Roman Yurchak 183cef70f8
Merge pull request #187 from mdboom/hardcode-pyconfig-h
Add a hard-coded pyconfig.h
2018-09-26 15:13:12 +02:00
Michael Droettboom 1ab92bc77f Implement pyconfig.h changes as something to be appended to end. 2018-09-25 16:53:40 -04:00
Roman Yurchak bde0b96416 Use bash instead of dash shell on ubuntu 2018-09-25 12:16:53 +02:00
Roman Yurchak 71e495e20a Use Path.resolve() to get the absolute path of bin/pyodide 2018-09-24 21:44:08 +02:00
Roman Yurchak 22e99f12d1 Debug failing build 2018-09-24 14:04:28 +02:00
Roman Yurchak dda6557b1b
Merge pull request #185 from mdboom/remove-old-if
MAINT: Remove old if statement that's always True
2018-09-24 11:20:47 +02:00
Roman Yurchak 18f28a93e9
Merge pull request #186 from mdboom/lz4-bugfix
Fix LZ4 decoding bug
2018-09-22 11:13:39 +02:00
Michael Droettboom f4280c25b0 Add a hard-coded pyconfig.h 2018-09-21 17:02:00 -04:00
Michael Droettboom ec7912005a Fix LZ4 decoding bug
This was introduced in #170, but wasn't caught since emsdk didn't get rebuilt
2018-09-21 14:53:13 -04:00
Michael Droettboom 87f0930d4e MAINT: Remove old if statement that's always True 2018-09-21 14:23:31 -04:00
Roman Yurchak 3b429e61f3 Address review comments 2018-09-21 18:10:48 +02:00
Roman Yurchak 0c6b653fd0 Revert using ROOTDIR instead of TOOLSDIR 2018-09-21 14:02:25 +02:00
Roman Yurchak 5fb848956c
Merge pull request #181 from rth/api-reference
Add API reference documentation
2018-09-21 13:58:27 +02:00
Roman Yurchak 8973c28642 Install Crome/Firefox in corresponding test jobs 2018-09-21 12:23:43 +02:00
Roman Yurchak ef3f4d2e94 Only allow develop mode installation of pyodide_build 2018-09-21 12:19:40 +02:00
Roman Yurchak da6bbb3b20 Set PYTHONPATH in Makefile.envs to avoiding installing pyodide_build 2018-09-21 12:02:13 +02:00
Roman Yurchak 3ee42aa779 Use pyodide_build in tests 2018-09-20 19:37:32 +02:00
Roman Yurchak 64ab676171 Add pyodide_build/__main__.py 2018-09-20 18:49:50 +02:00
Roman Yurchak 72293058b9 Converting tools scripts to a python package 2018-09-20 18:44:30 +02:00
Michael Droettboom 9d15654f1b
Merge pull request #170 from mdboom/lz4-c
WIP: Use LZ4 filesystem compression, using the canonical C implementation
2018-09-20 10:52:35 -04:00
Michael Droettboom 64699f0b46
Use Javascript type names 2018-09-20 10:51:14 -04:00
Michael Droettboom 4d002b2c7b
Updates 2018-09-20 10:50:31 -04:00
Roman Yurchak 26d9bb5124 Add docs/api_reference.md 2018-09-20 16:04:23 +02:00
Michael Droettboom 065c572a8d
Merge pull request #178 from rth/fix-custom-url-data-v2
Fix load .data files from the same base URL as .js
2018-09-20 08:34:21 -04:00
Michael Droettboom 6b99d6739c
Merge pull request #180 from rth/python_dev.html
Add dev python notebook python_dev.html
2018-09-20 08:32:49 -04:00
Michael Droettboom 127f81feb9
Merge pull request #179 from rth/better-tracebacks
Simplify traceback on package load timeout
2018-09-20 08:31:43 -04:00
Michael Droettboom 4adce231c6 Remove redundant code 2018-09-20 08:29:44 -04:00
Michael Droettboom fff45f8b78 Reinstate uglify 2018-09-20 08:27:16 -04:00
Michael Droettboom 362b736c0a Simplify library_lz4.js 2018-09-20 08:25:44 -04:00
Roman Yurchak 5b0381bd4c Add src/python_dev.html 2018-09-20 14:18:50 +02:00
Roman Yurchak 227f748795 Test loading from URLs using both the main and secondary web servers 2018-09-20 13:09:01 +02:00
Roman Yurchak 6de43c9e19 Update Module.locateFile inside _loadPackage 2018-09-20 12:57:00 +02:00
Roman Yurchak a711d059d5 Simplify traceback on package load timeout 2018-09-20 12:51:11 +02:00
Roman Yurchak c75531db2c
Merge pull request #177 from mdboom/firefox-for-testing
Use Firefox latest, rather than nightly, for testing
2018-09-20 11:15:56 +02:00
Roman Yurchak 73e3898b72 Load .data files from the same base URL as .js 2018-09-20 11:00:52 +02:00
Roman Yurchak f7aec29209 Add unit test to ensure that .data is loaded from the same base url as .js 2018-09-20 10:59:25 +02:00