Commit Graph

2870 Commits

Author SHA1 Message Date
Stephen Chung
00659d65d9 Implement global module in EvalState. 2021-10-27 17:52:48 +08:00
Stephen Chung
79dd3f8186 Add $$ marker to custom syntax. 2021-10-25 22:41:42 +08:00
Stephen Chung
76ac24dd85 Merge branch 'v1.1-fixes' 2021-10-23 18:17:09 +08:00
Stephen Chung
dac99a9907 Update CI. 2021-10-23 18:16:51 +08:00
Stephen Chung
1cc50bc543 Enhance CI. 2021-10-23 18:02:15 +08:00
Stephen Chung
96f08e8cad Merge branch 'v1.1-fixes' 2021-10-23 17:54:03 +08:00
Stephen Chung
4e965c3f3f Fix no_module+internals build. 2021-10-23 17:49:52 +08:00
Stephen Chung
6459ff9c69
Merge pull request #459 from schungx/master
Fix error templates.
2021-10-23 12:49:35 +08:00
Stephen Chung
a51482e9c8 Fix formatting. 2021-10-23 12:28:42 +08:00
Stephen Chung
07181feacf Revise test output. 2021-10-23 12:12:23 +08:00
Stephen Chung
34cf494545 Add Array::sort with no predicate. 2021-10-23 11:51:48 +08:00
wackbyte
9f0347df9f Fix some rustdoc warnings and a typo in FLOAT's docs
Unfortunately, I can't fix the 2 remaining warnings.
2021-10-22 12:03:06 +08:00
Stephen Chung
a6e294da5b
Merge pull request #466 from wackbyte/docs-and-typo
Fix some rustdoc warnings and a typo in FLOAT's docs
2021-10-22 11:59:26 +08:00
wackbyte
13b8f360cb
Fix some rustdoc warnings and a typo in FLOAT's docs
Unfortunately, I can't fix the 2 remaining warnings.
2021-10-21 22:43:30 -04:00
Stephen Chung
8a7912a901 Fix build. 2021-10-21 19:51:35 +08:00
Stephen Chung
83f83307ca Fix builds. 2021-10-21 19:30:58 +08:00
Stephen Chung
65ef402440 Eliminate optimize module with no_optimize. 2021-10-21 19:17:34 +08:00
Stephen Chung
315a891ba6 Fine tune array methods. 2021-10-21 19:04:53 +08:00
Stephen Chung
1c921f3784 Add dedup to array. 2021-10-21 17:59:54 +08:00
Stephen Chung
9c16d90de9 Use #[inline(always)] only when relatively certain. 2021-10-21 17:26:43 +08:00
Stephen Chung
313999b0ac Reduce nesting in plugin sub-modules. 2021-10-20 16:22:12 +08:00
Stephen Chung
ae493918a2 Update test outputs. 2021-10-20 15:34:21 +08:00
Stephen Chung
3f2dd23e6e Allow #[cfg(...)] in plugin functions. 2021-10-20 15:30:11 +08:00
Stephen Chung
0265af415d General code cleanup. 2021-10-20 13:36:40 +08:00
Stephen Chung
c8e7c970d1 Add variants of Array methods taking FnPtr with function names. 2021-10-20 11:06:38 +08:00
Stephen Chung
3001e90775 Deprecate From<EvalAltResult> for Result<T, Box<EvalAltResult>> because it is clearer for code to explicitly wrap errors in Err. 2021-10-19 23:52:58 +08:00
Stephen Chung
6d31bb0d19 Do not inline error path functions. 2021-10-19 20:16:36 +08:00
Stephen Chung
2334cd8f56 Avoid cloning in array methods as much as possible. 2021-10-19 19:57:15 +08:00
Stephen Chung
9d1ab2c8a1 Add test for parsing overflow. 2021-10-18 16:40:54 +08:00
Stephen Chung
3174b4759e Simplify code. 2021-10-18 15:09:07 +08:00
Stephen Chung
b091fea17b Add event handler test. 2021-10-16 13:59:12 +08:00
Stephen Chung
716e6191c0 Update error templates. 2021-10-12 20:57:47 +08:00
Stephen Chung
6177a291e2 Bump version. 2021-10-11 17:57:11 +08:00
Stephen Chung
c768ef4ca9 Bump version. 2021-10-11 17:56:22 +08:00
Stephen Chung
3c40c302d1
Merge pull request #458 from schungx/master
Version 1.1.0
2021-10-11 17:43:34 +08:00
Stephen Chung
782f6a3e12 Revert change. 2021-10-11 16:46:34 +08:00
Stephen Chung
90b6b15f15 Use into(). 2021-10-11 15:49:51 +08:00
Stephen Chung
4908b58473 Lazy calculate indexer call hashes. 2021-09-29 12:16:59 +08:00
Stephen Chung
504e695956 Turn on smartstring/serde with metadata. 2021-09-28 19:19:17 +08:00
Stephen Chung
c977140ecb
Merge pull request #456 from schungx/master
Bug fixes.
2021-09-28 17:22:03 +08:00
Stephen Chung
87d48948f9 Merge branch 'bug-fixes' 2021-09-28 16:55:33 +08:00
Stephen Chung
0cde18d3b5 Bump version. 2021-09-28 16:51:23 +08:00
Stephen Chung
7ce8887343 Fix no_index build. 2021-09-28 16:36:31 +08:00
Stephen Chung
b90776911d Fix tests output. 2021-09-28 16:32:31 +08:00
Stephen Chung
07acc6e125 Fix test output. 2021-09-28 16:24:08 +08:00
Stephen Chung
85dcd6e754 Fix bug with changing property of value obtained via index getter. 2021-09-28 15:59:46 +08:00
Stephen Chung
0b72a31d07 Fix test output. 2021-09-27 11:24:48 +08:00
Stephen Chung
0d651f74ce Extract expected result. 2021-09-27 11:13:48 +08:00
Stephen Chung
e963a7251c Check if empty string came from global instance. 2021-09-27 11:09:19 +08:00
Stephen Chung
c4a00f5269 Change consume to run. 2021-09-27 10:59:38 +08:00