Commit Graph

84 Commits

Author SHA1 Message Date
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
Michael Droettboom 6fec713b24 Fix kiwisolver build 2018-06-15 14:17:14 -04:00
Michael Droettboom b8b9519575 More work trying to get linting working again 2018-06-15 12:30:22 -04:00
Michael Droettboom af3a0a13e4 Move CPython tests to their own package 2018-06-15 12:21:12 -04:00
Michael Droettboom cb7a4046ba Move kiwisolver to its own package 2018-06-15 12:05:52 -04:00
Michael Droettboom 08beb135eb Move wasm_backend.py to the matplotlib package 2018-06-15 11:57:02 -04:00
Michael Droettboom cac03cd91e Disable C linting for now due to clang-format versioning 2018-06-14 15:01:48 -04:00
Michael Droettboom 7c0457cead Add linting 2018-06-14 14:19:08 -04:00
Michael Droettboom 82ddc3f0dc Update to new custom URL 2018-06-07 10:05:03 -04:00
Michael Droettboom d106b87e2a Move to new tag of Iodide 2018-06-04 20:57:12 -04:00
Michael Droettboom f2e46063d6 Pin the compiler to a particular version 2018-05-31 18:46:57 -04:00
Michael Droettboom 544ed5a6b9 Don't use cwrap
We only have two entry points, so it's easy to hardcode.
2018-05-30 19:53:17 -04:00
Michael Droettboom 9579aa99bc Working state 2018-05-30 13:49:49 -04:00
Michael Droettboom 69b20cb42f Delete lazy_import.py -- it isn't used anymore. 2018-05-24 11:41:14 -04:00
Michael Droettboom 43e910f0b7 Support downloading of plot files 2018-05-21 15:35:46 -04:00
Michael Droettboom 12b05ad373 Fix #32: Separate build of filesystem from main wasm module 2018-05-18 14:47:21 -04:00
Michael Droettboom 918ccc7300 First pass at matplotlib interaction 2018-05-18 13:32:33 -04:00
Michael Droettboom ac84840cc0 Reinstate the removal of legacy mac encodings 2018-05-17 12:03:06 -04:00
Michael Droettboom 6dc91e0846 First pass at matplotlib support 2018-05-17 11:57:39 -04:00
Michael Droettboom b537908b2b Simplify Makefiles. Support parallel compilation. 2018-05-16 13:06:44 -04:00
Michael Droettboom aa433aaf81 Add first version of pyodide.py 2018-05-09 14:59:35 -04:00
Michael Droettboom 158b85ce40 Fix #20: Basic modularization of file system. 2018-04-30 11:31:36 -04:00
Michael Droettboom b2599e314c Fix #28: Work in Chrome through async compilation 2018-04-27 14:36:52 -04:00
Michael Droettboom 0e8963a480 Add Jupyter's stylesheet for inline html content 2018-04-26 11:04:28 -04:00
Michael Droettboom 5f42b61862 Lots of pandas fixes:
- Install dependencies: dateutil, pytz and six
- Patch things for threading and mmap
- Disable deployment (for related reasons)
2018-04-24 19:29:54 -04:00