Commit Graph

63 Commits

Author SHA1 Message Date
Michael Droettboom 2d0b9ee23a Use pathlib for path manipulations 2018-08-03 17:11:38 -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 6c1b25101b Fix some tests 2018-07-25 11:07:57 -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 144e6f04bc LINT 2018-07-24 13:02:49 -04:00
Michael Droettboom 876c9a5bc0 Turn off full Python tests 2018-07-24 12:59:03 -04:00
Michael Droettboom 9d74363275 Turn on core Python tests 2018-07-23 12:43:08 -04:00
Michael Droettboom 1aa2fc1265 LINT 2018-07-23 11:39:10 -04:00
Michael Droettboom 59bf78f93c Decrease Python call stack size so it doesn't exceed JS call stack 2018-07-23 11:38:51 -04:00
Michael Droettboom 565548c9fd LINT 2018-07-17 12:46:02 -04:00
Michael Droettboom 66e811dac1 Don't copy data if already on the WASM heap 2018-07-17 10:38:59 -04:00
Michael Droettboom b5e9630f0d
Merge pull request #70 from iodide-project/chromedriver
Add testing with Chrome
2018-07-11 10:50:00 -04:00
Michael Droettboom 075ffca0e2 Handle catching Javascript exceptions in a unified way 2018-07-09 20:59:03 -04:00
Michael Droettboom aa03438131 Proxy compatibility for Chrome 2018-07-09 17:15:10 -04:00
Michael Droettboom 670473f29b Fix webserver 2018-07-09 17:15:04 -04:00
Michael Droettboom 66cb9445d5 Add testing with Chrome 2018-07-09 15:09:49 -04:00
Michael Droettboom 5d29723374 Convert typedarrays to/from buffers/memoryviews 2018-06-29 16:18:29 -04:00
Michael Droettboom 55aedee7b3
Merge pull request #63 from iodide-project/js2python-typed-array
Fix the passing of Javascript typed arrays to Python
2018-06-27 11:45:18 -04:00
Michael Droettboom 9b5024613b Fix the passing of Javascript typed arrays to Python 2018-06-27 10:57:53 -04:00
Michael Droettboom 6b8f5e2727 Add a lot more jsproxy functionality 2018-06-25 16:55:35 -04:00
Michael Droettboom c00b9bb6b8 Fix expected error message 2018-06-25 09:09:16 -04:00
Michael Droettboom a4154d9669 Add destroy method to remove references to Python objects 2018-06-24 12:29:46 -04:00
Michael Droettboom e2e8b29739 Linting 2018-06-24 12:23:30 -04:00
Michael Droettboom d9b74e0571 Don't run core Python tests on CircleCI 2018-06-24 12:13:24 -04:00
Michael Droettboom c68233c7eb Skip pandas tests 2018-06-23 07:53:56 -04:00
Michael Droettboom d58f6b1f6e Fix loadPackage in tests 2018-06-21 10:14:25 -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 2bc63bcaea Fix python2js test 2018-06-05 06:16:32 -04:00
Michael Droettboom 7d19fcd6bb Fix bugs found from examples 2018-06-04 20:37:40 -04:00
Michael Droettboom 6153e635e0 Add Circle-CI configuration 2018-06-04 16:17:03 -04:00
Michael Droettboom 0ef811c94d Fix core CPython tests 2018-05-30 13:59:09 -04:00
Michael Droettboom 9579aa99bc Working state 2018-05-30 13:49:49 -04:00
Michael Droettboom 035cf3cc65 Remove debugging print 2018-05-29 10:33:56 -04:00
Michael Droettboom 43e910f0b7 Support downloading of plot files 2018-05-21 15:35:46 -04:00
Michael Droettboom 14db9e693c Fix matplotlib test 2018-05-17 14:30:52 -04:00
Michael Droettboom 6dc91e0846 First pass at matplotlib support 2018-05-17 11:57:39 -04:00
Michael Droettboom 21e9a4c770 Get full output on test failure 2018-05-11 10:52:49 -04:00
Michael Droettboom 5a7992f87b More floating-point-related tests passing 2018-05-11 10:52:34 -04:00
Michael Droettboom 527a2e79eb Fix jsproxy 2018-05-10 10:37:46 -04:00
Michael Droettboom 47b2d51522 Remove obsolete code 2018-05-09 15:00:38 -04:00
Michael Droettboom 3a625fad3d Only skip tests if on Travis 2018-05-09 15:00:21 -04:00
Michael Droettboom 1e45ffe957 Improve py_proxy test 2018-05-09 14:59:55 -04:00
Michael Droettboom 75d6ea20e9 Fix pandas test 2018-05-09 14:59:35 -04:00
Michael Droettboom aa433aaf81 Add first version of pyodide.py 2018-05-09 14:59:35 -04:00
Michael Droettboom d385b7c9f1 Use Proxy to make calling Python objects from JS more natural 2018-05-07 08:27:21 -04:00
Michael Droettboom f88ec06642 Fix tests for new modular packaging 2018-05-04 13:09:32 -04:00
Michael Droettboom f1e0cc9085 Fix "from js import foo" 2018-04-26 11:43:48 -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