J Henry Waugh
|
bb6a044182
|
Add test case for overloading rename
|
2020-08-23 17:49:50 -05:00 |
|
J Henry Waugh
|
3fd3da6bfc
|
Improve diagonstics on return_raw return mismatches
|
2020-08-23 17:24:18 -05:00 |
|
J Henry Waugh
|
7c273e0aac
|
Add missing skip submodule test
|
2020-08-23 17:24:18 -05: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
|
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
|
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
|
0ece75aba3
|
Allow module access in closures.
|
2020-08-22 22:44:24 +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
|
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
|
729ab99ec3
|
Refine packages.
|
2020-08-20 22:11:41 +08:00 |
|
Stephen Chung
|
24610688d3
|
Fix no_std build.
|
2020-08-20 17:02:25 +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 |
|
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
|
31a05f8c48
|
Revise treatment of name parameter.
|
2020-08-16 18:24:42 +08:00 |
|
Stephen Chung
|
7eb75f6790
|
Merge pull request #35 from jhwgh1968/plugins
Convert args length check to debug assert
|
2020-08-16 11:29:03 +08:00 |
|
Stephen Chung
|
30679a938e
|
Merge pull request #36 from jhwgh1968/module_nesting
Add rhai_fn nested attribute and skip fn parameter
|
2020-08-16 11:27:36 +08:00 |
|
J Henry Waugh
|
bcf14025a7
|
Add rhai_fn nested attribute and skip fn parameter
|
2020-08-15 21:51:45 -05:00 |
|