Stephen Chung
|
196e145c96
|
Derive standard traits for Limits.
|
2020-08-23 16:29:32 +08:00 |
|
Stephen Chung
|
f4c74cc03b
|
Add external closure test.
|
2020-08-23 16:29:15 +08:00 |
|
Stephen Chung
|
d134b72473
|
Add link from parse_json to serde.
|
2020-08-23 14:50:53 +08:00 |
|
Stephen Chung
|
e52f8c3aca
|
Merge branch 'plugins' into plugins_dev
|
2020-08-23 12:16:07 +08:00 |
|
Stephen Chung
|
c6a3397b29
|
Remove dependency on num-traits.
|
2020-08-23 11:16:08 +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 |
|
Stephen Chung
|
812a1e690b
|
Merge pull request #42 from jhwgh1968/submodules_cfg
Add #[cfg] support in submodules
|
2020-08-22 15:54:01 +08:00 |
|
J Henry Waugh
|
65009dd193
|
Block #[cfg] attributes on inner constants
|
2020-08-21 23:26:25 -05:00 |
|
J Henry Waugh
|
55870e7b37
|
Add #[cfg] support in submodules
|
2020-08-21 23:26:25 -05:00 |
|
J Henry Waugh
|
382e60e91a
|
Move UI tests to separate tests file
|
2020-08-21 23:26:25 -05:00 |
|
J Henry Waugh
|
708c0f385e
|
Block #[cfg] attributes on exported or inner functions
|
2020-08-21 23:26:25 -05: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
|
5b3467631f
|
No need for rhai_mod if not renaming.
|
2020-08-22 10:44:51 +08:00 |
|
Stephen Chung
|
08977e2a62
|
Use combine_flatten for plugin modules.
|
2020-08-21 21:48:45 +08:00 |
|
Stephen Chung
|
40f71320f3
|
Merge branch 'plugins' into plugins_dev
|
2020-08-21 14:40:14 +08:00 |
|
Stephen Chung
|
5b507f9c60
|
Merge pull request #40 from jhwgh1968/submodule_nesting
codegen: add rhai_mod and submodule support
|
2020-08-21 14:21:01 +08:00 |
|
J Henry Waugh
|
7962c6dc52
|
codegen: add rhai_mod and submodule support
|
2020-08-20 22:21:41 -05: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
|
38a6c15da1
|
Merge pull request #39 from jhwgh1968/rename_nonidents
codegen: rhai_fn test improvements and name restrictions
|
2020-08-20 15:29:12 +08:00 |
|
J Henry Waugh
|
c87da31328
|
codegen: prevent name duplication in Rust or Rhai
|
2020-08-19 23:12:43 -05:00 |
|
J Henry Waugh
|
8efde3c7ce
|
codegen: Rhai names cannot contain dot
|
2020-08-19 22:16:00 -05:00 |
|
J Henry Waugh
|
f1dc2cbf18
|
codegen: update tests for new name attribute behavior
|
2020-08-19 21:09:12 -05:00 |
|
Stephen Chung
|
eedebf11d2
|
Fix plugins test.
|
2020-08-19 13:39:20 +08:00 |
|
Stephen Chung
|
9e7516ba27
|
Merge branch 'plugins_dev' into plugins
|
2020-08-19 13:29:03 +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
|
111f5931b3
|
Add multiple instantiation.
|
2020-08-18 23:06:48 +08:00 |
|
Stephen Chung
|
d024f912e0
|
Merge branch 'master' into plugins_dev
|
2020-08-18 22:02:44 +08:00 |
|
Stephen Chung
|
096a009418
|
Merge branch 'master' into plugins
|
2020-08-18 22:01:57 +08:00 |
|
Stephen Chung
|
d2593576d2
|
Add multiple instantiation.
|
2020-08-18 22:01:29 +08:00 |
|
Stephen Chung
|
e3f2157c6a
|
Treat leading #{ in Engine::parse_json.
|
2020-08-18 22:01:13 +08:00 |
|
Stephen Chung
|
772e44aa3d
|
Test getter.
|
2020-08-18 09:25:43 +08:00 |
|
Stephen Chung
|
767c39d974
|
Simplify rhai_fn attribute.
|
2020-08-17 23:35:04 +08:00 |
|
Stephen Chung
|
09b75ed1a3
|
Fix bug in strings package.
|
2020-08-17 10:00:50 +08:00 |
|
Stephen Chung
|
371c131395
|
Fix CI.
|
2020-08-17 09:44:28 +08:00 |
|
Stephen Chung
|
810514dd31
|
Add get/set/index_get/index_set parameters to rhai_fn.
|
2020-08-17 00:13:52 +08:00 |
|