Samuel Guerra
|
7d58c8f35a
|
Improved error messages for delegate_iter and children_iter in #[impl_ui_node(..)].
|
2021-03-01 19:05:46 -03:00 |
Samuel Guerra
|
d5fb0935c0
|
Improved error messages for incorrect expr type in impl_ui_node delegates.
|
2021-03-01 18:10:40 -03:00 |
Samuel Guerra
|
972856cbf9
|
Improved do test. Fixed bug in doc test.
|
2021-02-27 16:25:54 -03:00 |
Samuel Guerra
|
7d04aabebf
|
Added test for #[property] in item that is not a function.
Added test for #[impl_ui_node] in item that is not an impl block.
|
2021-02-27 01:13:11 -03:00 |
Samuel Guerra
|
64e47954db
|
Added test for lifetime declaration in property functions.
|
2021-02-27 00:29:13 -03:00 |
Well
|
f298ebd3b1
|
Fixed "do fmt". Added more signature validation tests.
|
2021-02-26 01:00:51 -03:00 |
Samuel Guerra
|
df8cb84adc
|
Implemented do fmt and applied it.
Changed do test to auto-discover test-crates.
|
2021-02-25 22:28:58 -03:00 |
Samuel Guerra
|
c226b9e082
|
Test incorrect #[property(..)] in methods.
|
2021-02-25 00:53:16 -03:00 |
Samuel Guerra
|
e06bbd737c
|
Changed syntax in #[property(..)] from allowed_in_when: <bool> to allowed_in_when = <bool>
|
2021-02-24 23:53:54 -03:00 |
Samuel Guerra
|
8db7193a99
|
Refactored proc-macro docs to show docs in main crate.
|
2021-02-24 21:09:47 -03:00 |
Samuel Guerra
|
5a9dde728c
|
Tested and improved validation of #[property] attribute arguments.
|
2021-02-24 15:34:34 -03:00 |
Samuel Guerra
|
7644d4e6e9
|
Added test for non-debuggable input type in properties. Changed property expansion to only highlight the non-debuggable type.
|
2021-02-23 21:56:46 -03:00 |
Samuel Guerra
|
664d057e5c
|
Added test for property function return type not implementing UiNode.
|
2021-02-23 19:27:58 -03:00 |
Samuel Guerra
|
25461744c2
|
Added test for property input patterns that don't define a field name.
|
2021-02-23 17:49:22 -03:00 |
Samuel Guerra
|
113675a4e9
|
Added tests for type validation of the `child` arg0 in property functions.
|
2021-02-23 17:33:51 -03:00 |
Samuel Guerra
|
b7fa05407b
|
Started testing input patterns in property function.
|
2021-02-23 01:06:21 -03:00 |
Samuel Guerra
|
d40907b9c3
|
Improved error for invalid capture_only return type.
|
2021-02-23 00:55:07 -03:00 |
Samuel Guerra
|
e6d6dde93c
|
Refactored impl_ui_node missing_delegate error to look more like a custom lint.
|
2021-02-22 18:43:36 -03:00 |
Samuel Guerra
|
2d2d61d777
|
More `#[impl_ui_node(..]` code gen tests.
|
2021-02-21 22:48:08 -03:00 |
Samuel Guerra
|
cccac26198
|
Started testing `#[impl_ui_node(..)]` code gen.
|
2021-02-21 18:52:57 -03:00 |
Well
|
da5cc8de1e
|
Used serial_test to make it possible to run all tests in build_tests with one command.
Added more fail test cases for macro generated compile errors.
Fixed errors in the fallback code generated by the macro in those test cases.
|
2021-02-20 01:16:35 -03:00 |
Samuel Guerra
|
e08f5f4794
|
More work in widget auto-generated docs.
|
2021-02-17 19:43:23 -03:00 |
Samuel Guerra
|
d752cec02a
|
Added build error message testing. Started testing #[property] compile errors.
|
2021-02-17 01:11:44 -03:00 |
Samuel Guerra
|
bc838661f4
|
Added failing test, widgets can only instantiate if the crate directly depends on zero-ui.
|
2020-12-30 18:17:43 -03:00 |