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 |
|
Stephen Chung
|
24610688d3
|
Fix no_std build.
|
2020-08-20 17:02:25 +08:00 |
|
Stephen Chung
|
7c1d4efeb7
|
Merge branch 'master' into plugins_dev
|
2020-08-20 16:54:00 +08:00 |
|
Stephen Chung
|
ac6d519d28
|
Fix bug that consumes first argument in module-qualified call.
|
2020-08-20 16:26:10 +08:00 |
|
Stephen Chung
|
980aba77a9
|
Use &mut.
|
2020-08-19 12:53:33 +08:00 |
|
Stephen Chung
|
c55b0d7883
|
Fix bug with plugin method call detection.
|
2020-08-19 12:50:23 +08:00 |
|
Stephen Chung
|
6a3e123306
|
Use split_first_mut instead of split_at_mut.
|
2020-08-18 23:19:26 +08:00 |
|
Stephen Chung
|
c5360db185
|
Handle #{ in Engine::parse_json, restrict to object hashes only.
|
2020-08-18 23:07:17 +08:00 |
|
Stephen Chung
|
d024f912e0
|
Merge branch 'master' into plugins_dev
|
2020-08-18 22:02:44 +08:00 |
|
Stephen Chung
|
e3f2157c6a
|
Treat leading #{ in Engine::parse_json.
|
2020-08-18 22:01:13 +08:00 |
|
Stephen Chung
|
09b75ed1a3
|
Fix bug in strings package.
|
2020-08-17 10:00:50 +08:00 |
|
Stephen Chung
|
810514dd31
|
Add get/set/index_get/index_set parameters to rhai_fn.
|
2020-08-17 00:13:52 +08:00 |
|
Stephen Chung
|
e75d91e9bf
|
Bring more functions into modules in plugins via rhai_fn(name) attribute.
|
2020-08-16 23:41:59 +08:00 |
|
Stephen Chung
|
db9d8b81cf
|
Move BasicStringsPackage to plugins.
|
2020-08-15 12:57:47 +08:00 |
|
J Henry Waugh
|
e4045256fe
|
Fix type resolution issue with no_float enabled
|
2020-08-14 19:39:28 -05:00 |
|
J Henry Waugh
|
89de2fe6b2
|
Feature gate make_getter imports
|
2020-08-14 19:37:34 -05:00 |
|
J Henry Waugh
|
eabf9db263
|
Add missing num_traits import
|
2020-08-14 19:37:25 -05:00 |
|
J Henry Waugh
|
7fcbfcc7fd
|
codegen: explicit import of format! macro
|
2020-08-14 19:37:25 -05:00 |
|
J Henry Waugh
|
1051a3f108
|
Add missing import of String and ToString
|
2020-08-14 19:37:25 -05:00 |
|
J Henry Waugh
|
e6a1b88b4c
|
Fully feature gate array string functions
|
2020-08-14 19:37:25 -05:00 |
|
J Henry Waugh
|
4de02c2bd7
|
Remove extra import
|
2020-08-14 16:30:00 -05:00 |
|
Stephen Chung
|
489b1ca00e
|
Add Module::combine.
|
2020-08-15 00:08:00 +08:00 |
|
Stephen Chung
|
209d1a174c
|
Yet more packages into plugins.
|
2020-08-15 00:04:10 +08:00 |
|
Stephen Chung
|
ceb1a26733
|
Move more packages to plugins.
|
2020-08-14 18:58:34 +08:00 |
|
Stephen Chung
|
c0dc47c9db
|
Convert some packages into plugins.
|
2020-08-14 13:43:26 +08:00 |
|
Stephen Chung
|
2495b367e5
|
Merge branch 'plugins' of https://github.com/schungx/rhai into plugins
|
2020-08-14 13:40:33 +08:00 |
|
J Henry Waugh
|
b27ebb318d
|
Rearrange imports to support no_std
|
2020-08-13 23:04:30 -05:00 |
|
Stephen Chung
|
d2ea981fac
|
Merge branch 'master' into plugins
|
2020-08-14 11:45:52 +08:00 |
|
Stephen Chung
|
b956639c2a
|
Move some math functions into plugins.
|
2020-08-13 14:57:46 +08:00 |
|
J Henry Waugh
|
fdcaa90cd9
|
Clean up plugin module for no_module macro support
|
2020-08-12 23:57:57 -05:00 |
|
J Henry Waugh
|
28572544d8
|
Split register export macro, add Engine support
|
2020-08-12 23:36:35 -05:00 |
|
J Henry Waugh
|
59e3ca0e79
|
Remove Dynamic::downcast_clone
|
2020-08-11 19:09:49 -05:00 |
|
Stephen Chung
|
a5b4d61dff
|
Fix docs.
|
2020-08-11 13:46:09 +08:00 |
|
Stephen Chung
|
564d3bc339
|
Add more closure tests.
|
2020-08-09 22:12:50 +08:00 |
|
Ilya Lakhin
|
39ee74112c
|
no-closure feature issue fixed
|
2020-08-09 18:42:33 +07:00 |
|
Ilya Lakhin
|
20cff87e14
|
False-positive capturing prevention bug fix
|
2020-08-09 18:35:29 +07:00 |
|
Stephen Chung
|
0e344ff3eb
|
Merge branch 'master' into plugins
|
2020-08-08 23:01:48 +08:00 |
|
Stephen Chung
|
da3cce58d3
|
Minor refactor.
|
2020-08-08 22:59:05 +08:00 |
|
Stephen Chung
|
e66873bb83
|
Merge pull request #27 from Eliah-Lakhin/capturing-bug
Function names capturing as external variables bug
|
2020-08-08 22:52:20 +08:00 |
|
Ilya Lakhin
|
45d021c7ef
|
Function names capturing as external variables bug
|
2020-08-08 17:55:58 +07:00 |
|
Stephen Chung
|
f68c5a699d
|
Fix sync feature.
|
2020-08-08 17:04:21 +08:00 |
|