Commit graph

154 commits

Author SHA1 Message Date
Evan Almloff
2bcaa2e43e refactor interperting macro into function and don't rely on cx being in scope 2022-06-04 12:20:56 -05:00
Evan Almloff
0079f7d18b WIP: expose pipe for desktop 2022-06-02 13:33:08 -05:00
Evan Almloff
b921dc4eec call error handler when error occurs 2022-05-31 12:06:53 -05:00
Evan Almloff
51b87dafcc derive serde for Errors and Location, and add error handler 2022-05-31 12:03:04 -05:00
Evan Almloff
94448ea4aa handle formatting options 2022-05-30 18:32:57 -05:00
Evan Almloff
2183ecf3fb better error handling 2022-05-29 08:04:08 -05:00
Evan Almloff
06390b9be5 allow rsx to be used outside of a proc_macro context 2022-05-28 12:10:32 -05:00
Evan Almloff
94169083f5 use __varibles 2022-05-27 13:09:29 -05:00
Evan Almloff
3c7db0631b handle iterators and nested rsx calls 2022-05-27 12:21:12 -05:00
Evan Almloff
a0c7e4d78a add component support 2022-05-27 09:47:44 -05:00
Evan Almloff
5b0a60c294 handle expressions in attributes 2022-05-26 19:16:51 -05:00
Evan Almloff
62cca95905 update interperter to use CapuredContext 2022-05-26 17:02:36 -05:00
Evan Almloff
871f51f91b It compiles 2022-05-25 14:08:59 -05:00
Evan Almloff
ca10d89670 add RsxTextIndex 2022-05-25 11:20:07 -05:00
Evan Almloff
c7c84da8ab WIP hot reload 2022-05-25 08:58:59 -05:00
Jonathan Kelley
2a1970b3a9 feat: add prettyplease vendored and get basic test working 2022-04-24 02:55:20 -04:00
Jonathan Kelley
794f43ffee concept: move rsx out to its own crate 2022-04-24 02:35:52 -04:00
Jonathan Kelley
24bca45612 fix: inline props should look for attributes 2022-04-09 19:41:29 -04:00
Jon Kelley
4edaeb0aae
Merge pull request #324 from overlisted/inlineprops-generics
`#[inline_props]` generics
2022-03-20 20:28:06 -04:00
Jon Kelley
d3ac3db296
Merge pull request #315 from Synphonyte/master
Option<...> props are optional by default.
2022-03-20 19:59:35 -04:00
Ilya Maximov
46b7f3b623
feat: basic generic support 2022-03-20 20:59:30 +01:00
Ilya Maximov
334936b276
fix: typos 2022-03-19 21:04:48 +01:00
Ilya Maximov
86159d0b55
fix: wrong type of error 2022-03-19 20:48:54 +01:00
Ilya Maximov
1f065acb4c
refactor: simplify and organize the errors 2022-03-19 20:37:25 +01:00
Ilya Maximov
0be88d20ee
docs: remove capitals and periods from errors 2022-03-19 19:29:57 +01:00
Maccesch
5818da5f70 auto detect optional props 2022-03-15 16:52:45 +00:00
Jonathan Kelley
56517ef5de fix: merge conflicts 2022-02-26 17:35:23 -05:00
Jonathan Kelley
03feaa446a fix: make clippy happy 2022-02-23 11:37:28 -05:00
Jonathan Kelley
45231651dd fix: quick patch 2022-02-22 16:34:06 -05:00
Jonathan Kelley
185902f935 fix: macro compiles 2022-02-18 23:14:17 -05:00
Jonathan Kelley
ca7ce46cdb Merge branch 'master' into jk/partialexpansion 2022-02-13 12:36:02 -05:00
Jonathan Kelley
0820e18d3d feat: make component name accessible 2022-01-31 02:49:37 -05:00
Dave Rolsky
9e4ec43b1e Fix various typos and grammar nits
I also removed all trailing whitespace from lines since I have Emacs
configured to highlight this.
2022-01-21 21:43:43 -06:00
Jonathan Kelley
174d287062 wip: extract to rsx module 2022-01-17 23:02:36 -05:00
Jonathan Kelley
abfac0d59b wip: move macro lib out of proc macro crate 2022-01-17 16:37:44 -05:00
Jonathan Kelley
47bc4e4a44 feat: add "optional" flag for props 2022-01-16 15:27:41 -05:00
Jonathan Kelley
d2372717bd feat: flatten props attrs 2022-01-10 02:57:03 -05:00
Jonathan Kelley
f4132d1874
Merge pull request #108 from DioxusLabs/jk/fstring-component-fields
Fix: string formatting detection in component fields
2022-01-10 01:20:58 -05:00
Jonathan Kelley
90abd9c9a0 fix: detection of f-string formatting in components 2022-01-10 01:20:03 -05:00
Alexandre Kirszenberg
b6903bf558 Enable clippy 2022-01-08 16:35:26 +01:00
Jonathan Kelley
c439b0ac7e fix: component pass thru events 2022-01-07 11:51:25 -05:00
Dave Rolsky
51c177be9e Fix typo "misisng" that occurred in several error messages 2022-01-06 16:18:10 -06:00
Dave Rolsky
706b0e21a5 Fix reference to "html!" macro in "rsx!" macro docs 2022-01-06 10:44:05 -06:00
Jonathan Kelley
bd341f5571 fix: tests 2022-01-05 17:30:12 -05:00
Jonathan Kelley
427b126bc1 feat: add prevent default attribute and upgrade router 2022-01-05 16:34:24 -05:00
Jonathan Kelley
cb2782b4bb wip: memoize dom in the prescence of identical components 2022-01-05 00:27:22 -05:00
Jonathan Kelley
2481cd05c2 fix: attempt to fix ice 2022-01-03 17:20:22 -05:00
Jonathan Kelley
cafb7df736 docs: remove all usages of static closure syntax and update readme 2022-01-02 18:35:38 -05:00
Jonathan Kelley
d1560450ba wip: remove runner on hook and then update docs 2022-01-02 02:15:04 -05:00
Jonathan Kelley
4c85bcfdc8 awesome: arbitrary expressions excepted without braces 2021-12-30 03:14:47 -05:00