Commit Graph
693 Commits
Author SHA1 Message Date
Jeong YunWon dded3ffc53 Remove redundant clone from new_class 2020-08-23 19:10:46 +09:00
Jeong YunWon c9c1ac9532 Give module names for classes 2020-08-23 18:24:46 +09:00
Jeong YunWon 5e9df32b18 #[pyclass] must contains name 2020-08-23 18:24:46 +09:00
Noah 513bf1638b Don't pass --all to cargo in ci 2020-08-22 21:46:51 -05:00
Noah 794c91be6e Remove generational-arena dependency 2020-08-22 16:27:00 -05:00
Noah 7218d1d998 Make more dyn Fn()s threading-optional 2020-08-22 16:18:26 -05:00
Jeong YunWon 7b6ab8da72 Replace vm.new_{int,str,bool} with vm.new_pyobj 2020-08-10 02:16:29 +09:00
Jeong YunWon ab37e455f3 BorrowValue for PyString 2020-08-09 14:14:55 +09:00
Jeong YunWon 67b5d61d1f Refactor DictKey 2020-08-04 02:12:56 +09:00
Jeong YunWon 84b5475d4c obj::objbyteinner::PyByteInner -> bytesinner::PyBytesInner 2020-07-27 08:38:53 +09:00
Noah 76df8773e7 Use PyRc in rustpython_wasm 2020-07-25 15:22:03 -04:00
Noah 642a1ee7ee Disable the threading feature for rustpython-wasm 2020-07-25 15:22:03 -04:00
Ben Lewis fe347370c6 Avoid cloning within isinstance/issubclass calls. 2020-07-12 09:12:41 +12:00
Noah b1ecca7c4c Fix issues with wasm code missing _thread 2020-07-04 18:02:25 -05:00
Noah bc1717b7ac Release 0.1.2
rustpython@0.1.2
rustpython-bytecode@0.1.2
rustpython-compiler@0.1.2
rustpython-derive@0.1.2
rustpython-parser@0.1.2
rustpython-vm@0.1.2
rustpython_freeze@0.1.2
rustpython_wasm@0.1.2

Generated by cargo-workspaces
2020-06-23 18:47:08 -05:00
Noah 6ed172d84a Merge pull request #1933 from RustPython/coolreader18/arc-vm-state
Move some vm fields to an Arc-wrapped struct
2020-05-22 12:32:16 -05:00
Noah bf6060a6df Move some vm fields to an Arc-wrapped struct 2020-05-17 00:43:22 -05:00
Aviv Palivoda fd708516bd Make wasm objects Send + Sync 2020-05-16 09:24:20 +03:00
Noah b6f4c68431 Update wasm tests to just check the text of stdout 2020-05-06 22:45:44 -05:00
Noah 34ceee9de1 Refactor wasm function storage 2020-05-06 22:38:49 -05:00
Aviv Palivoda bfd14b4712 Support multiple js functions 2020-05-01 20:15:59 +03:00
Aviv Palivoda 7101a53879 Put JS_FUNC in thread local storage 2020-04-29 12:05:16 +03:00
Jeong YunWon ce2d9d8d7c Fix build warnings for Rust 1.43.0 2020-04-25 04:14:36 +09:00
Noah c82b9864bf Fix WASM Rc/Arc/Weak usage 2020-04-11 15:16:50 -05:00
Noah f33e2d3b39 Remove incognito from vm 2020-04-03 12:34:00 -05:00
Noah 80f11466b3 Add "incognito" compilation 2020-04-03 12:34:00 -05:00
Noah 9925d5b3bc Add test_inject_module 2020-04-03 12:34:00 -05:00
Noah 92ca0e7359 Add WASM vm.injectModule(name, source, imports?, strict_private?) 2020-04-03 12:34:00 -05:00
Noah 3530540679 Move syntax error conversion to convert.rs, add PyResultExt 2020-04-03 12:33:59 -05:00
Noah 457602d5f1 Merge pull request #1819 from RustPython/coolreader18/only-gh-actions
Remove Travis and Azure CI
2020-03-20 14:39:56 -05:00
Noah 6e63e4fc04 Remove travis config 2020-03-14 23:44:33 -05:00
Noah a81a16ef9e Use -O1 optimization for wasm-opt 2020-03-13 08:04:35 -05:00
Noah f873c0e2c3 Merge pull request #1746 from RustPython/coolreader18/wasm-test-production
Have wasm/demo's "test" npm script build the demo in release mode
2020-02-06 10:45:05 -06:00
Jeong YunWon 6ddb690e09 Remove _vm parameter when it is not required 2020-02-06 11:07:51 +09:00
Jeong YunWon 1bac582921 &str::to_string -> &str::to_owned for literals 2020-02-05 22:55:33 +09:00
Noah 4c49185b52 Have wasm/demo's "test" npm script build the demo in release mode 2020-02-04 20:36:11 -06:00
Noah 69830bb44d Merge pull request #1675 from RustPython/coolreader18/demo-improvements
Demo improvements
2020-01-22 22:46:02 -06:00
coolreader18 049df44fe3 Fix default import from raw-loader 2020-01-19 23:08:00 -06:00
coolreader18 6feb0d7401 Fix contest 2020-01-12 21:57:58 -06:00
coolreader18 22653ac373 Add clean-webpack-plugin 2020-01-12 21:55:43 -06:00
coolreader18 53be1a07b5 Improve WASM testing and CI 2020-01-12 21:55:43 -06:00
coolreader18 338ac4db54 Update demo dependencies 2020-01-12 21:55:43 -06:00
coolreader18 e01e7116ca Add the other rp.py* functions to the mini-doc 2020-01-12 21:55:43 -06:00
coolreader18 96dfaa0eae Combine index.js and main.js into one to improve UX while loading rustpython 2020-01-12 21:55:43 -06:00
coolreader18 73b363dd60 Add asyncbrowser demo snippet 2020-01-12 21:55:43 -06:00
Jeong YunWon 943a1488b0 fix bytes for wasm 2020-01-13 12:30:11 +09:00
Jeong YunWon 70b63eb758 new_rustfunc -> new_function & new_method to distinguish bindable functions 2020-01-12 18:39:16 +09:00
coolreader18 c5264c942d Update wasm-bindgen, export PyError to JS 2020-01-11 12:43:06 -06:00
coolreader18 c090f45759 Add optional source_path argument to vm.run functions 2020-01-08 20:49:25 -06:00
coolreader18 6f43d22b56 Fix pyExec not returning errors, remove typescript hack 2020-01-08 18:50:48 -06:00