Stephen Chung
|
6e40215631
|
Merge branch 'main' of https://github.com/rhaiscript/rhai
|
2022-12-20 22:19:11 +08:00 |
|
Fabrizio Sestito
|
06b40723e4
|
Add array find and find_map methods
|
2022-12-20 13:28:24 +01:00 |
|
Stephen Chung
|
99080be91d
|
Move to FnPtr.
|
2022-12-20 14:43:30 +08:00 |
|
Stephen Chung
|
cabab14475
|
Deprecate array methods that take function names as parameters.
|
2022-12-19 22:42:21 +08:00 |
|
Stephen Chung
|
2c55c248fb
|
Fix builds.
|
2022-12-11 17:18:14 +08:00 |
|
Stephen Chung
|
1f815f995f
|
Speed up FnPtr::call when there is a linked scripted function.
|
2022-12-11 16:55:30 +08:00 |
|
Stephen Chung
|
55922b5c20
|
Hard code constant checking.
|
2022-12-03 16:20:13 +08:00 |
|
Stephen Chung
|
6791ef64da
|
Remove crate:: from types.
|
2022-11-24 11:00:47 +08:00 |
|
Stephen Chung
|
4e27039521
|
Use bitflags.
|
2022-11-23 11:36:30 +08:00 |
|
Stephen Chung
|
d911327242
|
Use SmartString for buffers and literal_syntax can panic.
|
2022-11-22 23:30:43 +08:00 |
|
Stephen Chung
|
988222418e
|
Check data size at built-in.
|
2022-10-20 11:38:54 +08:00 |
|
Stephen Chung
|
ea63c66cf0
|
Add call_native_fn for context.
|
2022-10-14 16:57:14 +08:00 |
|
Stephen Chung
|
42c0eeed57
|
Remove unnecessary unchecked gates.
|
2022-10-05 15:07:54 +08:00 |
|
Stephen Chung
|
3a3653f42a
|
Refactor.
|
2022-09-26 23:35:37 +08:00 |
|
Stephen Chung
|
640471f865
|
Revert "Enable capacity on packages."
This reverts commit 85ca6ec4a1 .
|
2022-09-14 15:17:36 +08:00 |
|
Stephen Chung
|
85ca6ec4a1
|
Enable capacity on packages.
|
2022-09-13 21:47:11 +08:00 |
|
Stephen Chung
|
fcdd2eb143
|
Use caching for fast operators.
|
2022-09-03 11:27:13 +08:00 |
|
Stephen Chung
|
80772df4f4
|
Shut up clippy.
|
2022-08-29 14:27:05 +08:00 |
|
Stephen Chung
|
bf5d6ab35a
|
Shut up clippy.
|
2022-08-27 16:26:41 +08:00 |
|
ltabis
|
4b3608cedc
|
feat(data-structures): add is_empty getter to map, string and blob.
|
2022-08-24 09:54:41 +02:00 |
|
ltabis
|
9c3443538a
|
feat(array): add an empty getter for arrays.
|
2022-08-23 16:36:43 +02:00 |
|
Stephen Chung
|
2f948a784c
|
Clean up more clippy.
|
2022-07-27 18:04:59 +08:00 |
|
Stephen Chung
|
39dee556c4
|
Clean up clippy.
|
2022-07-27 16:04:24 +08:00 |
|
Stephen Chung
|
b9cbeb65d6
|
Use Option instead of once/empty.
|
2022-06-11 16:01:15 +08:00 |
|
Stephen Chung
|
47d0d014e3
|
Reduce cloning.
|
2022-05-19 14:32:43 +08:00 |
|
Stephen Chung
|
d1a97be9e3
|
New syntax for package definition.
|
2022-02-10 12:33:48 +08:00 |
|
Stephen Chung
|
f8cee0fe4e
|
Simplify using ..
|
2022-02-08 09:02:15 +08:00 |
|
Stephen Chung
|
2dc1fea40a
|
Remove non_snake_case warnings.
|
2022-01-27 16:58:11 +08:00 |
|
Stephen Chung
|
16c03cc864
|
Add comments to standard library functions.
|
2022-01-17 21:49:06 +08:00 |
|
Stephen Chung
|
5232bbbff8
|
Add get/set methods to arrays, blobs, maps and strings.
|
2022-01-17 10:21:03 +08:00 |
|
Stephen Chung
|
57cfd6a354
|
Fix builds.
|
2022-01-16 23:15:37 +08:00 |
|
Stephen Chung
|
3667761340
|
Fix bugs and add comments to standard library.
|
2022-01-15 23:34:38 +08:00 |
|
Stephen Chung
|
e2e0b8d083
|
Fix Array::chop.
|
2022-01-14 10:04:24 +08:00 |
|
Stephen Chung
|
5ab7c59ba0
|
Fix Array::pad infinite loop.
|
2022-01-13 22:05:07 +08:00 |
|
Stephen Chung
|
0f4e8848f9
|
Extract index calculataion into functions.
|
2022-01-13 18:13:27 +08:00 |
|
Stephen Chung
|
33bfff3722
|
Fix build.
|
2022-01-06 23:29:11 +08:00 |
|
Stephen Chung
|
c75d51ae88
|
Reduce unnecessary data size checking.
|
2022-01-06 22:10:16 +08:00 |
|
Stephen Chung
|
80edb1200d
|
Fix Array::pad limits.
|
2022-01-06 15:30:17 +08:00 |
|
Stephen Chung
|
64bf2eef5c
|
Better error messages.
|
2021-12-30 12:19:41 +08:00 |
|
Stephen Chung
|
05d4c81e7a
|
Use type alias for error.
|
2021-12-27 12:27:31 +08:00 |
|
Stephen Chung
|
e7ca3f41dd
|
Fix formatting.
|
2021-12-27 11:43:11 +08:00 |
|
Stephen Chung
|
01c35808cb
|
Use type alias
|
2021-12-25 23:49:14 +08:00 |
|
Stephen Chung
|
5c31ec7f78
|
Fix array bug.
|
2021-12-22 22:22:20 +08:00 |
|
Stephen Chung
|
3751b6d018
|
Build in array/blob concat functions.
|
2021-12-22 19:59:48 +08:00 |
|
Stephen Chung
|
bca9fe53b0
|
New syntax for def_package.
|
2021-12-20 11:42:39 +08:00 |
|
Stephen Chung
|
0ae4d14a62
|
Move BLOB concat and push to builtin.
|
2021-12-18 15:37:20 +08:00 |
|
Stephen Chung
|
ef14079c61
|
Add ranges.
|
2021-12-15 12:06:17 +08:00 |
|
Stephen Chung
|
5eaf85254f
|
Fix builds.
|
2021-12-12 17:26:15 +08:00 |
|
Stephen Chung
|
ba0a6c667e
|
Add FnPtr::call_within_context.
|
2021-11-29 12:43:59 +08:00 |
|
Stephen Chung
|
9fa4d60336
|
Minor code and docs refactor.
|
2021-11-28 22:57:28 +08:00 |
|