Stephen Chung
|
ac1b7debe9
|
Add pure function attribute.
|
2021-02-19 23:13:41 +08:00 |
|
Stephen Chung
|
61d7356e08
|
Reduce spelling warnings in codegen.
|
2021-02-18 17:42:49 +08:00 |
|
Stephen Chung
|
809b813def
|
Simplify codegen.
|
2020-12-24 21:28:40 +08:00 |
|
Stephen Chung
|
9fd7e01197
|
Simplify code.
|
2020-12-23 23:29:19 +08:00 |
|
Stephen Chung
|
8d410dfc71
|
Add return type to function metadata.
|
2020-11-22 22:15:17 +08:00 |
|
Stephen Chung
|
07fe132e1a
|
Add gen_fn_siguatures API.
|
2020-11-22 17:21:34 +08:00 |
|
Stephen Chung
|
863c6b45a5
|
Fine tune codegen for global exports.
|
2020-11-17 14:29:28 +08:00 |
|
Stephen Chung
|
a19865d811
|
Add global/internal parameters to rhai_fn.
|
2020-11-17 12:09:56 +08:00 |
|
Stephen Chung
|
643ecc86a3
|
Minor refactor
|
2020-10-20 09:21:41 +08:00 |
|
Stephen Chung
|
46b92c9d1f
|
Allow NativeCallContext in function arguments.
|
2020-10-18 21:47:34 +08:00 |
|
Stephen Chung
|
8abb3c5203
|
Fix ui tests.
|
2020-10-15 14:06:54 +08:00 |
|
Stephen Chung
|
3c9250b0bf
|
Skip wrapping if function returns Dynamicc.
|
2020-10-15 13:28:22 +08:00 |
|
Stephen Chung
|
e8d5f78f88
|
Simplify code.
|
2020-10-01 23:31:27 +08:00 |
|
Stephen Chung
|
a04ed02b54
|
Simplify macro system and update doc comments.
|
2020-09-30 22:55:40 +08:00 |
|
Stephen Chung
|
ea78fa2b27
|
Change SharedPluginFunction to Shared<FnPlugin>
|
2020-09-29 13:06:48 +08:00 |
|
Stephen Chung
|
a2551a4650
|
Check rename collisions with special names.
|
2020-09-26 00:30:30 +08:00 |
|
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
|
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
|
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 |
|
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
|
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
|
5498443517
|
Major refactor of attribute handling
|
2020-08-23 17:53:37 -05:00 |
|
J Henry Waugh
|
3fd3da6bfc
|
Improve diagonstics on return_raw return mismatches
|
2020-08-23 17:24:18 -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
|
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 |
|
Stephen Chung
|
767c39d974
|
Simplify rhai_fn attribute.
|
2020-08-17 23:35:04 +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
|
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 |
|
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 |
|
J Henry Waugh
|
7fcbfcc7fd
|
codegen: explicit import of format! macro
|
2020-08-14 19:37:25 -05:00 |
|
J Henry Waugh
|
b27ebb318d
|
Rearrange imports to support no_std
|
2020-08-13 23:04:30 -05:00 |
|