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
|
ff9ac41da2
|
Merge branch 'v1.1-fixes'
|
2021-11-01 10:08:27 +08:00 |
|
Stephen Chung
|
b23bdb6d13
|
Remove unnecessary string builtins.
|
2021-11-01 09:42:22 +08:00 |
|
Stephen Chung
|
a5ae002cb7
|
Refine namespace display.
|
2021-10-27 23:30:25 +08:00 |
|
Stephen Chung
|
34cf494545
|
Add Array::sort with no predicate.
|
2021-10-23 11:51:48 +08:00 |
|
Stephen Chung
|
83f83307ca
|
Fix builds.
|
2021-10-21 19:30:58 +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
|
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
|
adbe9a292e
|
Short circuit functions if empty: array, map, string.
|
2021-09-20 18:35:23 +08:00 |
|
Stephen Chung
|
6e7fbfa66f
|
Add pop to string.
|
2021-09-20 16:25:23 +08:00 |
|
Stephen Chung
|
e191f9d91e
|
Merge branch 'bug-fixes'
|
2021-09-19 22:34:47 +08:00 |
|
Stephen Chung
|
5163fb0a33
|
Upgrade to rust-decimal 1.16 and add sin/cos/tan.
|
2021-09-15 10:41:35 +08:00 |
|
Stephen Chung
|
08155c0978
|
Fix sign function for NaN.
|
2021-09-14 22:33:10 +08:00 |
|
Stephen Chung
|
b961a10d27
|
Refine code.
|
2021-09-12 14:33:48 +08:00 |
|
Stephen Chung
|
6510b617fe
|
Reduce usage of Default::default()
|
2021-09-11 19:40:40 +08:00 |
|
Stephen Chung
|
aec4417bd5
|
Refine expect messages.
|
2021-08-26 23:58:41 +08:00 |
|
Stephen Chung
|
288d575046
|
Add log10 for Decimal.
|
2021-08-17 15:50:56 +08:00 |
|
Stephen Chung
|
94674679d9
|
Rename as_string and as_immutable_string.
|
2021-08-17 15:50:55 +08:00 |
|
Stephen Chung
|
e0cae4546c
|
Polyfiill some functions for decimal+no_float.
|
2021-08-17 15:50:54 +08:00 |
|
Stephen Chung
|
0f46bc7725
|
Fix builds.
|
2021-08-13 14:04:27 +08:00 |
|
Stephen Chung
|
dba4510456
|
Better function parameter names.
|
2021-08-13 13:42:39 +08:00 |
|
Stephen Chung
|
df482d3574
|
Satisfy clippy.
|
2021-07-24 14:11:16 +08:00 |
|
Stephen Chung
|
713f8ea672
|
Implement more methods for custom iterators.
|
2021-07-12 13:05:38 +08:00 |
|
Stephen Chung
|
e0673a2f1a
|
Change some #[inline(always)] to [#inline].
|
2021-07-10 11:06:13 +08:00 |
|
Stephen Chung
|
4adc044c79
|
Fix builds.
|
2021-07-04 16:51:05 +08:00 |
|
Stephen Chung
|
bd35999b75
|
Remove unnecessary Box::new().
|
2021-06-29 21:58:05 +08:00 |
|
Stephen Chung
|
d146de4ff9
|
Make FnPtr::fn_name_raw const.
|
2021-06-29 21:47:27 +08:00 |
|
Stephen Chung
|
7196b017f5
|
Add is_odd, is_even and is_zero.
|
2021-06-27 22:10:52 +08:00 |
|
Stephen Chung
|
178fe6b978
|
Remove deprecated API.
|
2021-06-24 09:48:44 +08:00 |
|
Stephen Chung
|
4093727dcb
|
New string functions.
|
2021-06-17 13:31:58 +08:00 |
|
Stephen Chung
|
40e33fa6f9
|
Add to_hex, to_octal and to_binary.
|
2021-06-16 23:49:18 +08:00 |
|
Stephen Chung
|
42a14ab4cc
|
Make file structures consistent.
|
2021-06-16 18:36:33 +08:00 |
|
Stephen Chung
|
743d48f44f
|
Code style cleanup.
|
2021-06-13 17:41:34 +08:00 |
|
Stephen Chung
|
8ca24059b1
|
Add #[must_use]
|
2021-06-12 22:47:43 +08:00 |
|
Stephen Chung
|
79d9977cd5
|
Change take_string and take_immutable_string to as_XXX.
|
2021-06-10 10:45:44 +08:00 |
|
Stephen Chung
|
411b718a3b
|
Fix test.
|
2021-06-07 11:21:45 +08:00 |
|
Stephen Chung
|
989cb702c0
|
Use chars() to iterate strings.
|
2021-06-07 09:47:49 +08:00 |
|
Stephen Chung
|
4cf6550fc6
|
Fix tests.
|
2021-06-02 15:05:33 +08:00 |
|
Stephen Chung
|
71684f5e2a
|
Implement bit-fields.
|
2021-06-02 14:29:18 +08:00 |
|