Stephen Chung
|
68c0ee08c0
|
Reduce usage of Default::default() to make it easier to refactor.
|
2021-11-07 18:12:37 +08:00 |
|
Stephen Chung
|
61cc3d0bf2
|
Merge branch 'v1.1-fixes'
|
2021-11-05 23:26:00 +08:00 |
|
Stephen Chung
|
eeca8c90aa
|
Make sure the global namespace is always searched first.
|
2021-11-05 23:22:05 +08:00 |
|
Stephen Chung
|
46e99df9cd
|
Reverse regression on string + operator.
|
2021-11-05 20:34:27 +08:00 |
|
Stephen Chung
|
b2eb207ce4
|
Fix no_position builds.
|
2021-11-05 19:53:52 +08:00 |
|
Stephen Chung
|
affbb81d8a
|
Add NativeCallContext::position.
|
2021-11-05 19:35:33 +08:00 |
|
Stephen Chung
|
231584824a
|
Properly handle unary operators at beginning of statement.
|
2021-11-03 09:11:20 +08:00 |
|
Stephen Chung
|
7c6b444616
|
Fix display of 0.0.
|
2021-11-03 08:44:07 +08:00 |
|
Stephen Chung
|
ff9ac41da2
|
Merge branch 'v1.1-fixes'
|
2021-11-01 10:08:27 +08:00 |
|
Stephen Chung
|
c955c9200e
|
Fix build.
|
2021-11-01 10:07:45 +08:00 |
|
Stephen Chung
|
2ea86c3987
|
Fix bug in assignment parsing.
|
2021-11-01 09:55:50 +08:00 |
|
Stephen Chung
|
b23bdb6d13
|
Remove unnecessary string builtins.
|
2021-11-01 09:42:22 +08:00 |
|
Stephen Chung
|
77dfc80fe9
|
Use iter().rev().enumerate().
|
2021-11-01 09:31:48 +08:00 |
|
Stephen Chung
|
3d1b2d6f10
|
Fix no_function build.
|
2021-10-29 17:10:28 +08:00 |
|
Stephen Chung
|
dc2e824ce2
|
Fix no_module builds.
|
2021-10-29 17:01:29 +08:00 |
|
Stephen Chung
|
a5ae002cb7
|
Refine namespace display.
|
2021-10-27 23:30:25 +08:00 |
|
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
|
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
|
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
|
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
|
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
|
3174b4759e
|
Simplify code.
|
2021-10-18 15:09:07 +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
|
87d48948f9
|
Merge branch 'bug-fixes'
|
2021-09-28 16:55:33 +08:00 |
|
Stephen Chung
|
7ce8887343
|
Fix no_index build.
|
2021-09-28 16:36:31 +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
|
e963a7251c
|
Check if empty string came from global instance.
|
2021-09-27 11:09:19 +08:00 |
|
Stephen Chung
|
fe47058add
|
Merge branch 'bug-fixes'
|
2021-09-27 10:34:46 +08:00 |
|
Stephen Chung
|
6df2178460
|
Assume property getters are pure.
|
2021-09-27 10:34:24 +08:00 |
|
Stephen Chung
|
70828209fe
|
Fix builds.
|
2021-09-26 21:50:07 +08:00 |
|
Stephen Chung
|
42d3fde0af
|
Fix no_closure build.
|
2021-09-26 21:30:33 +08:00 |
|
Stephen Chung
|
a130960627
|
Fix empty strings.
|
2021-09-26 21:25:29 +08:00 |
|
Stephen Chung
|
3557db88e8
|
Merge empty strings.
|
2021-09-26 21:18:52 +08:00 |
|
Stephen Chung
|
65a1c24d7b
|
Add signatures to callback function docs.
|
2021-09-25 15:57:38 +08:00 |
|
Stephen Chung
|
0715262c44
|
Enhance signature of on_parse_token callback.
|
2021-09-24 22:44:39 +08:00 |
|
Stephen Chung
|
d791052d5c
|
Add Engine::on_parse_token.
|
2021-09-24 18:00:48 +08:00 |
|