Commit Graph

87 Commits

Author SHA1 Message Date
coolreader18
86103bfd01 Fix WASM 2019-09-10 23:17:50 -05:00
coolreader18
2920c87a19 Fix more stuff on redox 2019-09-10 20:24:02 -05:00
coolreader18
5dd5b44b59 Use the rustyline prompt on redox 2019-09-10 18:01:21 -05:00
Tommaso Thea Cioni
b99ff48567 Raised chrono version to 0.4.7. 2019-09-04 03:01:38 +02:00
Noah
c61f1d20ea Allow time.time() to work on WASM 2019-08-26 21:21:31 +00:00
coolreader18
e61cbe7008 Update to work on Redox 2019-08-25 23:16:25 -05:00
Windel Bouwman
4e256e3775 Merge pull request #1284 from Writtic/module_factorial
Update factorial module of math
2019-08-16 13:01:19 +02:00
johan.park
48ae9a309d Update factorial module of math
- Implement factorial function with test case
- Deal with Negative input as a ValueError
2019-08-16 14:28:35 +09:00
Dong-hee Na
850f479dd2 stdlib_io: Implement fileIO.close 2019-08-16 05:28:12 +09:00
kluid
43c1143e67 Implemented stdlib os.cpu_count 2019-08-15 14:30:57 +09:00
Marcin Pajkowski
49f53bfba8 Disable zlib on wasm32 2019-08-12 19:54:32 +02:00
Marcin Pajkowski
128bd8c836 Add zlib module
+ Implement following functions:
  * zlib.compress
  * zlib.decompress
  * zlib.crc32
  * zlib.adler32

+ Add compression level constants
2019-08-12 18:32:24 +02:00
Aviv Palivoda
58d7da7f4b Don't depend on subprocess in wasm 2019-08-08 17:33:39 +03:00
Aviv Palivoda
6486780025 Add subprocess module 2019-08-08 17:32:24 +03:00
Aviv Palivoda
d63839a5ea Merge pull request #1205 from Lynskylate/impl-socket-module
Extend Socket module
2019-08-08 17:30:02 +03:00
lynskylate
fccb0d2ade Disable socket import on wasm 2019-08-08 00:16:27 +08:00
lynskylate
c9c580d2fe Add inet_ntoa and windows gethostname 2019-08-07 01:28:17 +08:00
Aviv Palivoda
61bf0763dd User arr_macro to create triggers array 2019-08-02 09:46:19 +03:00
Antonio Yang
0f4c2c10b7 byte.decode
- support ascii, utf-8 encoding
- raise LookupError for unhandled encoding
2019-08-01 22:57:17 +08:00
Marcin Pajkowski
53c653fd2b Implement several methods - os module
os.getpid  [RUST STD]
os.getegid [UNIX]
os.getgid  [UNIX]
os.getsid  [UNIX]
os.getuid  [UNIX]
os.geteuid [UNIX]
os.getppid [UNIX]
os.getpgid [UNIX]
os.setgid  [UNIX]
os.setegid [UNIX]
os.setpgid [UNIX]
os.setuid  [UNIX]
os.seteuid [UNIX]
2019-07-30 18:15:33 +02:00
Aviv Palivoda
befe1803db Add freeze-stdlib compile flag 2019-07-20 12:23:16 +03:00
coolreader18
f59d84a750 Add codecs, locale, shutil, errno, and encodings modules 2019-07-14 23:09:59 -05:00
coolreader18
86a6b2a366 Use feature for proc_macro_hack 2019-07-13 00:59:18 -05:00
coolreader18
dd11780877 Fix num-* crates 2019-07-12 11:45:27 -05:00
coolreader18
838aaa557d Update num-bigint version 2019-07-11 21:22:52 -05:00
coolreader18
869ea2e679 Remove pwd on redox 2019-07-11 19:26:59 -05:00
coolreader18
2c65988ea7 Switch to hexf_parse 2019-07-11 18:53:47 -05:00
coolreader18
76dbd8ebb0 Remove proc-macro-hack 2019-07-11 18:40:07 -05:00
Windel Bouwman
0ab39651b8 Add time.gmtime function. 2019-07-10 16:12:30 +02:00
coolreader18
29e046f457 Add flamegraph profiling 2019-07-08 18:52:57 -05:00
Windel Bouwman
ff21c14c49 Merge pull request #1116 from RustPython/remove-cpython-bytecode-tests
Remove bytecode compilation.
2019-07-07 21:54:38 +02:00
Windel Bouwman
f3e2abd290 Move importlib python files into vm crate. 2019-07-07 21:31:02 +02:00
Windel Bouwman
e45dfc6f51 Published unicode-casing to crates.io 2019-07-07 20:28:25 +02:00
Windel Bouwman
310f89ec21 Remove bytecode compilation. Add feature to enable verbose logging in vm. 2019-07-07 15:23:43 +02:00
Windel Bouwman
cc24b73031 Set all versions to 0.1.0 2019-07-07 13:04:12 +02:00
Windel Bouwman
6a58b76ef7 Change authors to team name. 2019-07-01 21:14:07 +02:00
Windel Bouwman
bedbad284e Change underscore into hyphen 2019-07-01 21:05:29 +02:00
Windel Bouwman
4a108c1ef5 Merge pull request #1059 from RustPython/unicodedata
Add initial unicodedata module.
2019-07-01 20:44:14 +02:00
Windel Bouwman
13be2cf3f4 Merge master branch 2019-06-30 21:22:33 +02:00
Windel Bouwman
3954dbe716 Make parser and compiler optional features for vm crate. 2019-06-30 20:11:40 +02:00
Windel Bouwman
f1d250b10a Merge branch 'master' of https://github.com/RustPython/RustPython into bytecode-crate 2019-06-30 11:42:47 +02:00
Windel Bouwman
183415e64b Move bytecode into own crate. 2019-06-30 11:01:40 +02:00
Windel Bouwman
7ab5d53642 update to newer version of DynDigest trait which allows clone. 2019-06-30 10:10:17 +02:00
Windel Bouwman
f4d63c923a Switch to better supported crypto lib. 2019-06-29 14:03:19 +02:00
Windel Bouwman
0a369d821d Add initial hashlib module. 2019-06-27 19:09:35 +02:00
Windel Bouwman
4db83aca7f Add initial unicodedata module. 2019-06-26 13:41:58 +02:00
coolreader18
743adf10de Merge branch 'master' into coolreader18/comptime-pycompilation 2019-06-16 09:05:34 -05:00
Aviv Palivoda
82f83ef345 Support more open flags 2019-06-15 16:22:51 +03:00
coolreader18
48966a76e2 Make py_compile_bytecode!() an expression 2019-06-14 18:20:02 -05:00
coolreader18
e592f3d888 Add py_compile_bytecode! macro 2019-06-14 10:42:45 -05:00