Stephen Chung
|
283495a02f
|
Setters should have no return value.
|
2020-09-22 12:14:26 +08:00 |
|
Stephen Chung
|
8095ebc9e4
|
Remove unused imports.
|
2020-09-21 18:00:46 +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
|
a49b58002a
|
Fix doc tests.
|
2020-09-20 15:55:11 +08:00 |
|
Stephen Chung
|
c7a675e18a
|
Fix no_object builds.
|
2020-09-20 14:52:38 +08:00 |
|
Stephen Chung
|
1ae6af5289
|
Merge branch 'plugins_dev' of https://github.com/schungx/rhai into plugins
|
2020-09-20 14:32:44 +08:00 |
|
Stephen Chung
|
2ba875a177
|
Use take_string for &str and String parameters.
|
2020-09-20 14:23:14 +08:00 |
|
Stephen Chung
|
5a7a0f11ae
|
Fix doc test.
|
2020-09-20 10:51:37 +08:00 |
|
Stephen Chung
|
cfe28c9282
|
Remove Position parameter from plugin call function.
|
2020-09-20 10:51:37 +08:00 |
|
Stephen Chung
|
3341f40fd2
|
Refine docs.
|
2020-09-20 10:50:58 +08:00 |
|
Stephen Chung
|
39546b7053
|
Enable &str and String parameters in module functions.
|
2020-09-19 18:12:23 +08:00 |
|
Stephen Chung
|
848bdf3f01
|
Add combine_with_exported_module.
|
2020-09-16 21:50:44 -05:00 |
|
Ilya Lakhin
|
4bb1a34abb
|
Fixes bug in Module::set_fn_4_mut
|
2020-09-15 10:14:34 +07:00 |
|
Stephen Chung
|
db59aed14e
|
Fix bug in optimizer for if statements with empty true blocks.
|
2020-09-14 22:24:55 +08:00 |
|
Stephen Chung
|
6c69a40083
|
Allow scripted functions in packages.
|
2020-09-11 22:32:59 +08:00 |
|
Stephen Chung
|
a75aba8a85
|
Rename calc_fn_spec to calc_fn_hash.
|
2020-09-11 22:24:44 +08:00 |
|
Stephen Chung
|
d1ab9a2848
|
Fix bug on unary function hashes.
|
2020-09-11 22:09:09 +08:00 |
|
Stephen Chung
|
fed65676a2
|
cargo fmt.
|
2020-09-10 17:42:34 +08: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
|
1dacf21a84
|
Fix no_std builds by pulling in num-traits.
|
2020-08-23 18:28:55 +08:00 |
|
Stephen Chung
|
3902e49a7d
|
Fix bug in right-shifts.
|
2020-08-23 18:04:19 +08:00 |
|
Stephen Chung
|
a72f797da1
|
Merge branch 'plugins' into plugins_dev
|
2020-08-23 17:54:37 +08:00 |
|
Stephen Chung
|
4fff90d19b
|
Merge branch 'master' into plugins
|
2020-08-23 17:54:02 +08:00 |
|
Stephen Chung
|
7cd345b128
|
Fix bug in closure capture for no_object.
|
2020-08-23 17:46:39 +08:00 |
|
Stephen Chung
|
57acd618de
|
Merge branch 'master' into plugins
|
2020-08-23 17:24:27 +08:00 |
|
Stephen Chung
|
e2f271644a
|
Expand packages and raw Engine write-up.
|
2020-08-23 17:22:39 +08:00 |
|
Stephen Chung
|
196e145c96
|
Derive standard traits for Limits.
|
2020-08-23 16:29:32 +08:00 |
|
Stephen Chung
|
c62914b91a
|
Merge branch 'master' into plugins_dev
|
2020-08-22 23:04:34 +08:00 |
|
Stephen Chung
|
86c7862ac4
|
Merge branch 'master' into plugins
|
2020-08-22 23:03:32 +08:00 |
|
Stephen Chung
|
177a0de23c
|
Fix closure test.
|
2020-08-22 23:01:25 +08:00 |
|
Stephen Chung
|
3042e3d9db
|
Merge branch 'master' into plugins_dev
|
2020-08-22 22:51:41 +08:00 |
|
Stephen Chung
|
0ece75aba3
|
Allow module access in closures.
|
2020-08-22 22:44:24 +08: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
|
0b04d05afe
|
Do not parse closures when allow_anonymous_fn is false.
|
2020-08-22 11:08:27 +08:00 |
|
Stephen Chung
|
08977e2a62
|
Use combine_flatten for plugin modules.
|
2020-08-21 21:48:45 +08:00 |
|
Stephen Chung
|
3c0d431fd2
|
Merge branch 'plugins' into plugins_dev
|
2020-08-20 22:14:56 +08:00 |
|
Stephen Chung
|
729ab99ec3
|
Refine packages.
|
2020-08-20 22:11:41 +08:00 |
|
Stephen Chung
|
6e54b22b31
|
Merge branch 'master' into plugins_dev
|
2020-08-20 17:02:57 +08:00 |
|