Stephen Chung
|
46b92c9d1f
|
Allow NativeCallContext in function arguments.
|
2020-10-18 21:47:34 +08:00 |
|
Stephen Chung
|
82e6dd446a
|
Encapsulate register_fn_raw parameters into NativeCallContext.
|
2020-10-18 17:02:17 +08:00 |
|
Stephen Chung
|
58c820785b
|
Add drain and retain for arrays.
|
2020-10-18 13:18:12 +08:00 |
|
Stephen Chung
|
8eb6c821d4
|
Fix tests.
|
2020-10-17 14:08:59 +08:00 |
|
Stephen Chung
|
39474d6420
|
Streamline function pointers and currying.
|
2020-10-17 13:49:16 +08:00 |
|
Stephen Chung
|
e62df6cbed
|
Remove none for array.
|
2020-10-16 21:02:16 +08:00 |
|
Stephen Chung
|
3b99b8f166
|
Simplify iterator registration.
|
2020-10-15 22:11:18 +08:00 |
|
Stephen Chung
|
707ece7e80
|
Refactor iterators API.
|
2020-10-14 23:22:10 +08:00 |
|
Stephen Chung
|
e0c39edff4
|
Enhance array functions.
|
2020-10-14 21:27:31 +08:00 |
|
Stephen Chung
|
6db412815b
|
Add chop and extract for arrays.
|
2020-10-13 14:39:49 +08:00 |
|
Stephen Chung
|
1c86c66f1a
|
Add more functions to arrays.
|
2020-10-13 10:57:29 +08:00 |
|
Stephen Chung
|
a0d5249c4d
|
Fix unchecked build.
|
2020-10-12 23:17:16 +08:00 |
|
Stephen Chung
|
747fda1ec7
|
Add filter, map, reduce to Array.
|
2020-10-12 22:49:51 +08:00 |
|
Stephen Chung
|
994e5a4251
|
Move some concat functions to builtin.
|
2020-10-10 22:13:55 +08:00 |
|
Stephen Chung
|
612ecc4ebc
|
Move StaticVec definition to lib.rs.
|
2020-10-10 13:41:55 +08:00 |
|
Stephen Chung
|
95c4ac4180
|
Fix no_float bug in time.
|
2020-10-09 13:47:35 +08:00 |
|
Stephen Chung
|
a4b674d015
|
Trap elapsed error when timestamp is later than now.
|
2020-10-09 12:51:26 +08:00 |
|
Stephen Chung
|
1272eeb81a
|
Add/remove #[inline] attributes.
|
2020-10-08 22:25:50 +08:00 |
|
Stephen Chung
|
e1ce67adc2
|
Add TimeStamp variant.
|
2020-09-27 22:15:35 +08:00 |
|
Stephen Chung
|
726b030616
|
Implement +/- operators for timestamp.
|
2020-09-26 19:45:33 +08:00 |
|
Stephen Chung
|
4efe6b90e7
|
Add string::split().
|
2020-09-25 23:02:49 +08:00 |
|
Stephen Chung
|
9fcbda1ba4
|
Add reverse function to arrays.
|
2020-09-24 10:51:21 +08:00 |
|
Stephen Chung
|
39433164f2
|
Fix no_float build.
|
2020-09-23 12:06:17 +08:00 |
|
Stephen Chung
|
4e0f887025
|
Merge branch 'master' into plugins
|
2020-09-23 12:00:15 +08:00 |
|
Stephen Chung
|
ed38b50490
|
Add parse_int and parse_float.
|
2020-09-23 12:00:03 +08:00 |
|
Stephen Chung
|
5718f454c4
|
Merge pull request #60 from jhwgh1968/plugins
Remove redundant clones in codegen
|
2020-09-23 11:54:57 +08:00 |
|
J Henry Waugh
|
d65042088e
|
Remove redundant clones in codegen
|
2020-09-22 21:38:59 -05:00 |
|
Stephen Chung
|
035b9cb839
|
Avoid &mut ImmutableString.
|
2020-09-22 22:45:11 +08:00 |
|
Stephen Chung
|
5a37497a22
|
Flatten type groups and types in parentheses.
|
2020-09-22 21:29:44 +08:00 |
|
Stephen Chung
|
3224c5baf5
|
Avoid &mut ImmutableString.
|
2020-09-22 19:42:44 +08:00 |
|
Stephen Chung
|
41a16c9cf7
|
Use modules.
|
2020-09-22 19:17:50 +08:00 |
|
Stephen Chung
|
594dcc3a06
|
Disallow registering indexers for arrays, maps and strings.
|
2020-09-22 17:57:56 +08:00 |
|
Stephen Chung
|
83f9df2852
|
Fix op-assignment overrides.
|
2020-09-21 16:15:52 +08:00 |
|
J Henry Waugh
|
c8dffff515
|
Fix clippy::perf lint errors
|
2020-09-20 13:07:46 -05:00 |
|
J Henry Waugh
|
788a22108b
|
Hide clippy errors from exported modules
|
2020-09-20 13:03:35 -05:00 |
|
Stephen Chung
|
848bdf3f01
|
Add combine_with_exported_module.
|
2020-09-16 21:50:44 -05:00 |
|
Stephen Chung
|
d41fde9c31
|
Use multiple renames to simplify plugins.
|
2020-09-08 18:01:34 +08:00 |
|
Stephen Chung
|
91b4f8a6bc
|
Fix no-std build.
|
2020-08-31 12:09:52 +08:00 |
|
Stephen Chung
|
ee3781e86e
|
Simplify error handling code.
|
2020-08-31 11:46:32 +08:00 |
|
Stephen Chung
|
32985c9480
|
Fix string package for no_std.
|
2020-08-30 23:18:47 +08:00 |
|
Stephen Chung
|
75ca495199
|
Nicer formatting/less indentation of module plugin blocks.
|
2020-08-30 17:28:53 +08:00 |
|
Stephen Chung
|
9ab3d87cfc
|
Refactor.
|
2020-08-24 22:37:44 +08:00 |
|
Stephen Chung
|
2fbc1b7910
|
Add missing pub to functions.
|
2020-08-24 10:38:15 +08:00 |
|
Stephen Chung
|
03237c9852
|
Merge branch 'plugins' into plugins_dev
|
2020-08-24 08:36:15 +08:00 |
|
J Henry Waugh
|
9fe3672514
|
string_more: add missing pub from crop_string
|
2020-08-23 17:49:50 -05:00 |
|
Stephen Chung
|
211ce54973
|
Move most packages to modules.
|
2020-08-22 22:26:49 +08:00 |
|
Stephen Chung
|
5d6fdba24d
|
Merge branch 'plugins' into plugins_dev
|
2020-08-22 16:20:53 +08:00 |
|
J Henry Waugh
|
15a8f528ae
|
Avoid export_fn+cfg attributes in Rhai packages
|
2020-08-21 23:26:24 -05:00 |
|
Stephen Chung
|
08977e2a62
|
Use combine_flatten for plugin modules.
|
2020-08-21 21:48:45 +08:00 |
|
Stephen Chung
|
729ab99ec3
|
Refine packages.
|
2020-08-20 22:11:41 +08:00 |
|