Commit Graph

108 Commits

Author SHA1 Message Date
Michael Droettboom 6536e5a07c Lint all the things 2018-10-01 19:11:38 -04:00
Roman Yurchak b9ad36fdd7 Set "BINARYEN_TRAP_MODE='clamp'" 2018-09-27 11:38:26 +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 fff45f8b78 Reinstate uglify 2018-09-20 08:27:16 -04:00
Roman Yurchak 5b0381bd4c Add src/python_dev.html 2018-09-20 14:18:50 +02:00
Michael Droettboom 2a6897a293 Remove debugging flags 2018-09-19 16:44:54 -04:00
Michael Droettboom 0d4b22ba77 Use LZ4 filesystem compression, using the canonical C implementation 2018-09-19 16:44:54 -04:00
Michael Droettboom fcc2b7a036 Reorg pyodide ns to separate emscripten details from public API 2018-09-19 10:50:23 -04:00
Roman Yurchak 98f843df0e Fix versioning with tags starting with v 2018-09-17 14:45:08 +02:00
Roman Yurchak 59de8d4a6d Expose version information in javascript 2018-09-14 17:12:32 +02:00
Roman Yurchak c36a044a03 Store version information in src/pyodide.py 2018-09-14 14:35:28 +02:00
Roman Yurchak 02ce5a4a9e
Merge pull request #155 from mdboom/allow-memory-growth
Set ALLOW_MEMORY_GROWTH=1
2018-09-13 18:01:55 +02:00
Michael Droettboom 84f2f28242 Vendor file_packager.py 2018-09-12 10:55:50 -04:00
Michael Droettboom 65817abc7d Add test 2018-09-12 10:16:23 -04:00
Michael Droettboom bf68705eb7 Set ALLOW_MEMORY_GROWTH=1 2018-09-11 17:07:31 -04:00
Michael Droettboom 56562257ef Fix #71: Upgrade to Python 3.7 2018-09-06 10:56:33 -04:00
Roman Yurchak bfd0e58631 Address review comments 2018-08-28 16:20:35 +03:00
Roman Yurchak 153c6324b9 Copy test data in a pytest fixture 2018-08-28 14:42:14 +03:00
Michael Droettboom 56ef3a0960
Merge pull request #123 from mdboom/no-full-paths
Don't include full paths in build products
2018-08-22 13:54:52 -04:00
Michael Droettboom c8527c5e5e Don't include full paths in package metadata 2018-08-21 11:29:14 -04:00
Roman Yurchak 02905d8ca5 Show pytest report for skipped tests, XFAIL, XPASS 2018-08-21 11:08:47 +03:00
Roman Yurchak 6ef80a8f5d Use python instead of python2 2018-08-17 00:09:50 +03:00
Roman Yurchak 4d2f4bf6ac Fix emscripten tag 1.38.10 2018-08-16 16:48:32 +03:00
Michael Droettboom a5c5101e11 Don't include compiled tests 2018-08-09 16:51:47 -04:00
Michael Droettboom 779da3cd4e
Merge pull request #96 from mdboom/fix93-string-decoding
Fix #93 by avoiding use of TextDecoder
2018-07-30 15:37:20 -04:00
Michael Droettboom a07b6f3913 Fix #93 by avoiding use of TextDecoder
Any use of TextDecoder on a part of the Wasm HEAP seems to cause crashes
when using WebAssembly.instantiate later on (in Chrome).

The fix is to:

- Avoid use of TextDecoder in emscripten-generated code by setting
  -s TEXTDECODER=0
- Do the Python-to-JS string conversion a different way:

  - Handle the native format of a Python Unicode string (which is either UCS1,
    UCS 2 or UCS 4) directly.  This has the added advantage of being
    computationally simpler than encoding/decoding to/from UTF8.
2018-07-26 16:50:12 -04:00
Michael Droettboom efac715e60
Merge pull request #79 from mdboom/codecs
Obsoletes #22.  Include all codecs, since removing tests imp. size
2018-07-25 16:23:38 -04:00
Michael Droettboom 860de942b8 Fix case where ccache isn't installed 2018-07-25 07:54:55 -04:00
Michael Droettboom 73934a3f44 Use instafail so we can see what's going on 2018-07-25 07:27:15 -04:00
Michael Droettboom 5c5bf6adf3 Obsoletes #22. Include all codecs, since removing tests imp. size. 2018-07-25 07:27:15 -04:00
Michael Droettboom b3d8e4c2a7 Add another symbol to force inclusion of C++ exceptions 2018-07-24 17:48:18 -04:00
Michael Droettboom a02c2de983 Fix paths 2018-07-24 17:48:18 -04:00
Michael Droettboom 757725bfba
Merge pull request #88 from mdboom/ccache
Use ccache to speed up rebuilds
2018-07-24 17:46:56 -04:00
Michael Droettboom 40ea94b463
Merge pull request #91 from rth/minor-build-fixes
MAINT Minor fixes in the Makefile for make clean
2018-07-24 13:11:44 -04:00
Michael Droettboom f2426e5719 Fix how the ccache symlinks are installed 2018-07-24 12:59:07 -04:00
Michael Droettboom ad3a7599fc Recreate symlinks 2018-07-24 12:58:31 -04:00
Michael Droettboom 409fe3b3f4 Use ccache 2018-07-24 12:58:31 -04:00
Roman Yurchak 8be338a19c Minor Makefile fixes 2018-07-19 17:37:27 -07:00
Michael Droettboom 10785faa9b Fix rebuilding of emsdk 2018-07-19 20:33:56 -04:00
Michael Droettboom e4f3ad147e Fix main Makefile 2018-07-19 11:24:36 -04:00
Michael Droettboom 6c2d77979f Use a file, rather than a directory as the target for OSX compat 2018-07-19 08:14:31 -04:00
Michael Droettboom 670473f29b Fix webserver 2018-07-09 17:15:04 -04:00
Michael Droettboom 0f724ec0c0 Don't disable minification 2018-06-23 08:26:09 -04:00
Michael Droettboom a81603286b Fix #28: Compile side modules asyncronously
Requires upstream changes to emscripten
2018-06-23 08:24:21 -04:00
Michael Droettboom 222c0248a1 Add documentation to new build tools.
Clean up argument parsing.
2018-06-22 10:22:00 -04:00
Michael Droettboom 037d485fac Linting 2018-06-20 17:10:06 -04:00
Michael Droettboom 17e1562ded MVP of a proper packaging system 2018-06-20 14:54:47 -04:00
Michael Droettboom 0c7980c005 Fix pyparsing build 2018-06-19 14:27:02 -04:00
Michael Droettboom 5e9393a8e3 Fix #37: Minify Javascript 2018-06-19 10:56:17 -04:00
Michael Droettboom 9e1af2f6fd Move pyparsing and cycler to their own packages 2018-06-15 16:40:25 -04:00