Commit Graph

2419 Commits

Author SHA1 Message Date
Stephen Chung
42058836ba Fix panic in property access parsing error. 2021-01-31 18:44:50 +08:00
Stephen Chung
3a8a56dafd
Merge pull request #339 from schungx/master
Change rhaiscript.github.io to rhai.rs
2021-01-30 08:15:51 +08:00
Stephen Chung
7fc38d4cd2 Change rhaiscript.github.io to rhai.rs 2021-01-30 07:19:54 +08:00
Stephen Chung
38266f3bd8
Merge pull request #338 from schungx/master
Fix bug and FuncArgs enhancement.
2021-01-29 23:27:46 +08:00
Stephen Chung
bb925a697c Fix bug in Array::insert. 2021-01-29 22:29:36 +08:00
Stephen Chung
903b6d6795 Rename set_doc_comments to enable_doc_comments. 2021-01-28 16:59:19 +08:00
Stephen Chung
cef61bc924 Fix no_function build. 2021-01-28 16:48:56 +08:00
Stephen Chung
f76daadcba Refine FuncArgs trait. 2021-01-28 15:29:55 +08:00
Stephen Chung
d14168a419 Refine Dynamic::take_immutable_string when shared. 2021-01-27 18:34:32 +08:00
Stephen Chung
2a209b82e9 Fix threading example for sync. 2021-01-25 12:55:10 +08:00
Stephen Chung
e902c74073 Add threading example. 2021-01-25 11:31:54 +08:00
Stephen Chung
ab317bec4e Add test for NativeCallContext. 2021-01-24 21:33:05 +08:00
Stephen Chung
c245fe88fd Allow stacking ! operators. 2021-01-24 21:21:15 +08:00
Stephen Chung
d2908384c2
Merge pull request #335 from schungx/master
Fix plugin function argument bug.
2021-01-23 11:25:15 +08:00
Stephen Chung
049f472ac9 Fix bug in internals. 2021-01-23 10:34:38 +08:00
Stephen Chung
3b42cc5bb2 Fix bug where plugin module parameters are consumed. 2021-01-23 09:37:27 +08:00
Stephen Chung
8aae3ac46c Add function name to NativeCallContext. 2021-01-21 21:49:25 +08:00
Stephen Chung
f6553c1426 Fix feature builds. 2021-01-21 10:32:05 +08:00
Stephen Chung
62462ffead Add wasm-bindgen and stdweb for WASM builds. 2021-01-20 23:17:28 +08:00
Stephen Chung
9acf7b4774 Bump ahash to 0.6. 2021-01-19 14:23:05 +08:00
Stephen Chung
0f7b390881 Serialize Timestamp with type name instead of panic. 2021-01-19 14:22:55 +08:00
Stephen Chung
0a763542ad
Merge pull request #333 from schungx/master
Serialize/Deserialize for Dynamic and wasm-bindgen/stdweb features.
2021-01-18 12:07:09 +08:00
Stephen Chung
aef18b5473 Add wasm-bindgen and stdweb features. 2021-01-18 11:35:55 +08:00
Stephen Chung
4a8debb5ed Fix builds. 2021-01-18 10:56:42 +08:00
Stephen Chung
ec272cf9b9 Add Serialize/Deserialize for Dynamic and ImmutableString. 2021-01-18 10:30:58 +08:00
Stephen Chung
6b5a14ee88 Fix compilation bug. 2021-01-18 10:23:41 +08:00
Stephen Chung
65621b79b1 Fix volatile warnings. 2021-01-16 14:46:03 +08:00
Stephen Chung
e6c6ed759f Merge branch 'master' of https://github.com/schungx/rhai 2021-01-16 11:31:04 +08:00
Stephen Chung
234f543db3
Merge pull request #62 from Eliah-Lakhin/ast-shared-module
Exposing AST functions shared module under internals feature
2021-01-16 11:30:39 +08:00
Stephen Chung
def1e7fe14 Use smallvec/union and update ahash. 2021-01-16 11:26:44 +08:00
Ilya Lakhin
421baebbc1 Exposing AST functions shared module under internals feature 2021-01-16 01:38:50 +07:00
Stephen Chung
c4b6c31bf0 Use ahash as default hasher. 2021-01-15 23:52:56 +08:00
Stephen Chung
1c7884f0d8 Switch to fxhash for fast hashing. 2021-01-15 23:30:45 +08:00
Stephen Chung
9e2c1a5860 Bump version. 2021-01-15 19:55:14 +08:00
Stephen Chung
75bb5ef650 Bump version. 2021-01-15 17:13:24 +08:00
Stephen Chung
92c7fd9e5b Better error messages. 2021-01-15 17:13:04 +08:00
Stephen Chung
0744884bf3
Merge pull request #331 from schungx/master
Ready 0.19.10.
2021-01-14 19:26:41 +08:00
Stephen Chung
3f44e2893c Wrap up 0.19.10. 2021-01-14 19:07:03 +08:00
Stephen Chung
fe65bf6137 Fix bug in optimizer. 2021-01-12 23:52:50 +08:00
Stephen Chung
bbd83ba201
Merge pull request #330 from schungx/master
Update playground link.
2021-01-12 10:34:31 +08:00
Stephen Chung
8c47d61456 Refine documentation and comments. 2021-01-11 23:09:33 +08:00
Stephen Chung
5b9a18f5b8 Fix FileModuleResolver::clear_cache_for_path. 2021-01-10 19:34:26 +08:00
Stephen Chung
14fe4f9f1b Change resolve_ast return type. 2021-01-09 23:26:50 +08:00
Stephen Chung
7dc67940e4
Merge pull request #329 from schungx/master
Make Engine::compile_into_self_contained recursive.
2021-01-09 19:24:42 +08:00
Stephen Chung
0b6657d1b1 Fix clippy. 2021-01-09 17:13:34 +08:00
Stephen Chung
e5b345bca4 Fix feature builds. 2021-01-09 17:06:01 +08:00
Stephen Chung
f8b36a470a Fix test. 2021-01-09 16:57:21 +08:00
Stephen Chung
ad250fc973 Recursive self-contained AST. 2021-01-09 16:52:22 +08:00
Stephen Chung
637f47d259 Split AST::set_source into set_source/clear_source. 2021-01-09 15:20:07 +08:00
Stephen Chung
e4a781f24a
Delete benchmark.yml 2021-01-09 10:19:19 +08:00