Stephen Chung
|
848bdf3f01
|
Add combine_with_exported_module.
|
2020-09-16 21:50:44 -05:00 |
|
J Henry Waugh
|
381e80179e
|
Re-bless ui tests
|
2020-09-12 22:57:17 -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
|
b311688fee
|
Fix test.
|
2020-09-11 22:56:19 +08:00 |
|
Stephen Chung
|
36fe02558e
|
Fix tests output.
|
2020-09-11 22:45:15 +08:00 |
|
Stephen Chung
|
d527ef7dbf
|
Remove SC from codegen authors, add jhwgh1968 to Rhai authors.
|
2020-09-09 09:12:28 +08:00 |
|
J Henry Waugh
|
229475caef
|
Add tests fixed by workspace
|
2020-09-08 16:04:04 -05:00 |
|
Stephen Chung
|
bd30edb877
|
Fix test output.
|
2020-09-07 17:08:47 -05:00 |
|
Stephen Chung
|
397acb4fce
|
Add tests for multiple renames.
|
2020-09-07 17:08:41 -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
|
9882b97fca
|
Fix trybuild tests for latest nightly
|
2020-09-06 15:25:01 +08:00 |
|
J Henry Waugh
|
0b3fef6651
|
Add nested module export_prefix test
|
2020-09-02 20:31:22 -05: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
|
e66adaa60f
|
Revert diagnostic tests which trigger trybuild path bug
|
2020-08-27 23:33:46 -05:00 |
|
J Henry Waugh
|
d8e85df9dc
|
Add return_raw tests for rhai_fn in module
|
2020-08-27 23:13:44 -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
|
fedc4c5338
|
Add exported_fn tests for rhai_fn in module
|
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 |
|
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
|
767c39d974
|
Simplify rhai_fn attribute.
|
2020-08-17 23:35:04 +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 |
|
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 |
|