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 |
|
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 |
|
J Henry Waugh
|
3ccc08b6e0
|
Convert args length check to debug assert
|
2020-08-15 14:25:19 -05:00 |
|
Stephen Chung
|
db9d8b81cf
|
Move BasicStringsPackage to plugins.
|
2020-08-15 12:57:47 +08:00 |
|
Stephen Chung
|
73f35f9518
|
Merge branch 'master' into plugins
|
2020-08-15 12:10:07 +08:00 |
|
Stephen Chung
|
6b5741ecaa
|
Merge pull request #34 from jhwgh1968/plugins
Improve CI and Fix Warnings and Errors
|
2020-08-15 11:13:09 +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 |
|
J Henry Waugh
|
431c80b46b
|
Run CI on every push to plugins branch
|
2020-08-14 16:27:47 -05:00 |
|
Stephen Chung
|
f9807a3c1e
|
Remove content on avoiding &mut ImmutableString which is invalid.
|
2020-08-15 00:10:14 +08: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 |
|