Stephen Chung
|
5718f454c4
|
Merge pull request #60 from jhwgh1968/plugins
Remove redundant clones in codegen
|
2020-09-23 11:54:57 +08:00 |
|
J Henry Waugh
|
d65042088e
|
Remove redundant clones in codegen
|
2020-09-22 21:38:59 -05:00 |
|
Stephen Chung
|
235ad66d2b
|
Flatten types in functions.
|
2020-09-22 22:19:21 +08:00 |
|
Stephen Chung
|
5a37497a22
|
Flatten type groups and types in parentheses.
|
2020-09-22 21:29:44 +08:00 |
|
J Henry Waugh
|
c389014df7
|
Run cargo fmt for loose ends
|
2020-09-20 12:40:21 -05:00 |
|
Stephen Chung
|
3a98567139
|
Use take_string.
|
2020-09-20 14:29:10 +08:00 |
|
Stephen Chung
|
d8d3b52d64
|
Merge branch 'plugins_dev' of https://github.com/schungx/rhai into plugins_dev
|
2020-09-20 14:25:31 +08:00 |
|
Stephen Chung
|
2ba875a177
|
Use take_string for &str and String parameters.
|
2020-09-20 14:23:14 +08:00 |
|
Stephen Chung
|
bf245a798b
|
Enable String parameters.
|
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
|
7c3498a4e1
|
Prevent errors when using alternative error printout style.
|
2020-09-20 10:51:37 +08:00 |
|
Stephen Chung
|
20a453b3cc
|
Enable String parameters.
|
2020-09-19 18:18:40 +08:00 |
|
Stephen Chung
|
fe718fea39
|
Remove Position parameter from plugin call function.
|
2020-09-18 13:59:38 +08:00 |
|
Stephen Chung
|
23b5bc4bd9
|
Prevent errors when using alternative error printout style.
|
2020-09-18 12:31:41 +08:00 |
|
Stephen Chung
|
92be487e80
|
Implement constants via calling the constant.
|
2020-09-17 20:27:45 -05:00 |
|
Stephen Chung
|
c07c4561eb
|
Remove unused_variables.
|
2020-09-17 20:27:45 -05:00 |
|
Stephen Chung
|
5e4ba9c016
|
Swich back to assert_eq! for token stream tests.
|
2020-09-17 20:27:45 -05:00 |
|
Stephen Chung
|
3dc599c936
|
Streamline rhai_generate.
|
2020-09-16 21:53:22 -05:00 |
|
Stephen Chung
|
7ceb624ec1
|
Add combine_with_exported_module.
|
2020-09-16 21:53:22 -05:00 |
|
Stephen Chung
|
c63f30a6a2
|
Fix tests.
|
2020-09-16 21:53:22 -05:00 |
|
Stephen Chung
|
52298bd96c
|
Streamline rhai_generate.
|
2020-09-16 21:53:22 -05:00 |
|
Stephen Chung
|
654da2db8a
|
Fix tests.
|
2020-09-16 21:53:22 -05:00 |
|
Stephen Chung
|
d57ce9c050
|
Remove warning about unused constants in modules.
|
2020-09-16 21:53:22 -05:00 |
|
Stephen Chung
|
6dc5a81d53
|
Add cast to type for constants to avoid mis-typing.
|
2020-09-16 21:50:49 -05:00 |
|
Stephen Chung
|
848bdf3f01
|
Add combine_with_exported_module.
|
2020-09-16 21:50:44 -05:00 |
|
J Henry Waugh
|
b1f23ac3ed
|
Enforce signatures on user get/set/index functions
|
2020-09-12 22:48:40 -05:00 |
|
J Henry Waugh
|
0a2f93439e
|
Reorganize get/set/index code into FnSpecialAccess
|
2020-09-12 22:48:34 -05:00 |
|
J Henry Waugh
|
335d853060
|
Unit tests for rename + getter/setter/indexer
|
2020-09-12 22:46:45 -05:00 |
|
J Henry Waugh
|
18032ab8a0
|
Unit test for multiple renames
|
2020-09-12 22:46:45 -05:00 |
|
J Henry Waugh
|
cecf3dd585
|
Unit tests for index getters and setters
|
2020-09-12 22:46:45 -05:00 |
|
J Henry Waugh
|
b74923a63c
|
Unit tests for property getters and setters
|
2020-09-12 22:46:45 -05:00 |
|
J Henry Waugh
|
43969a7bee
|
Forbid $ in renames
|
2020-09-12 22:46:45 -05:00 |
|
J Henry Waugh
|
6e701bfe83
|
Catch getter, setter, indexer errors
|
2020-09-12 22:46:45 -05:00 |
|
Stephen Chung
|
dbfd3df810
|
Support multiple names in rhai_fn.
|
2020-09-07 17:08:37 -05:00 |
|
J Henry Waugh
|
384152004e
|
Split internal tests into their own files
|
2020-09-06 15:25:01 +08:00 |
|
J Henry Waugh
|
5585405bdc
|
Make export_prefix use fn name not export name
|
2020-09-02 20:10:52 -05:00 |
|
J Henry Waugh
|
3af49cec70
|
Implement export_* attributes for macros
|
2020-09-01 23:15:28 -05:00 |
|
J Henry Waugh
|
62dc142c58
|
Avoid bypassing setter checks by making fn.params.skip private
|
2020-08-27 23:13:44 -05:00 |
|
J Henry Waugh
|
8de095fa36
|
Improve diagnostics for non-clonable return types
|
2020-08-27 23:13:44 -05:00 |
|
J Henry Waugh
|
525ffe6f5a
|
Improve diagnostics for duplicated names
|
2020-08-27 23:13:44 -05:00 |
|
J Henry Waugh
|
5498443517
|
Major refactor of attribute handling
|
2020-08-23 17:53:37 -05:00 |
|
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 |
|
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
|
7962c6dc52
|
codegen: add rhai_mod and submodule support
|
2020-08-20 22:21:41 -05:00 |
|
J Henry Waugh
|
c87da31328
|
codegen: prevent name duplication in Rust or Rhai
|
2020-08-19 23:12:43 -05:00 |
|