Commit Graph
494 Commits
Author SHA1 Message Date
Jon Kelley 67dc6e6017 feat: implement type magic to allow strings, format args, and other types directly in rsx (#550)
* feat: implement type magic

* chore: undo example

* fix: let tests pass

* chore: add generic to allow any nesting of iterators

* Chore: remove comments

* chore: update rsx usage

* chore: use cleaner version of generic IntoVnode

* chore: don't derive default for lfietimed thing

* chore: remove latent comment

* fix: accept a third parameter
2022-09-12 22:49:04 -07:00
Marc Espín 8427a3f657 Support Bytes in AttributeValue (#543) 2022-09-07 09:20:35 -05:00
Reinis Mazeiks d734dc5b46 Remove argument from use_hook closure (#496)
Also; update docs for said function
2022-07-11 15:50:56 -04:00
Jon Kelley d9546d9504 Renderers are now packages, not features. (#387)
* feat: use synchronous router design

* feat: function to get router out of dom

* chore: restructure workspace to use renderers as packages, not features
2022-07-09 15:15:20 -04:00
Jonathan Kelley 7e454e770a chore: remove some hotpath logging 2022-07-03 00:14:15 -04:00
Jonathan Kelley 94004cfe19 chore: clean up some clippy stuff 2022-07-03 00:11:28 -04:00
Jonathan Kelley a6e8852ced polish: make clippy happy on use_hook 2022-06-30 15:41:45 -04:00
Evan Almloff bf548d4a0e set id before creating listener 2022-06-29 09:48:16 -05:00
Evan Almloff 11d9a7d013 Merge remote-tracking branch 'upstream/master' into fix_nonbubbling_web_events 2022-06-22 13:59:10 -05:00
Evan Almloff 61b4bb2f19 handle bubbling events 2022-06-22 13:57:05 -05:00
Evan Almloff 9e7e5b0859 Merge remote-tracking branch 'upstream/master' into jk/rsx-refactor 2022-06-16 09:17:36 -05:00
Yin Jifeng 3cbf8ed6fa fix: remove task id from scope when success 2022-06-13 18:43:36 +08:00
Yin Jifeng 814235f145 docs: update func names 2022-06-13 18:43:36 +08:00
Yin Jifeng 7576426c93 core: cleanup tasks polling fn 2022-06-13 18:43:36 +08:00
Evan Almloff 71d31556e5 Merge https://github.com/DioxusLabs/dioxus into jk/rsx-refactor 2022-06-10 18:16:05 -05:00
Evan Almloff fe5c698c09 add DirtyAll to SchedulerMsg 2022-06-09 10:01:09 -05:00
王一旋 2433b9d305 docs: examples of mistakes
docs: add hard_diff example missing parameter
2022-06-02 10:29:41 +08:00
Evan Almloff 43d750c329 fix clippy 2022-05-22 21:21:28 -05:00
Evan Almloff db1866090a fix broken doc links 2022-05-22 20:44:32 -05:00
Reinis Mazeiks 85aa4584ff Fix: expose AttributeValue; update tests to pass 2022-05-07 13:43:40 +03:00
Reinis Mazeiks 2eca71e644 Fix: serialize AttributeValue as a simple value 2022-05-07 12:17:47 +03:00
Jonathan Kelley 03110b85cd fix: cargo fmt 2022-05-06 20:46:33 -04:00
Jonathan Kelley bded314251 wip: remove color 2022-05-05 16:50:36 -04:00
Jonathan Kelley 356f37e9ee feat: arbitrary attributes 2022-05-05 16:50:33 -04:00
Demonthos f4689a4e27 Merge branch 'DioxusLabs:master' into lazy_tui 2022-04-17 08:48:39 -05:00
Dave Rolsky 69752313eb Fix typo in docs for NodeFactory.bump 2022-04-11 10:33:06 -05:00
Demonthos 479c12725f Merge branch 'DioxusLabs:master' into lazy_tui 2022-04-04 12:10:18 -05:00
Jonathan Kelley 93405c2a40 Fix: diffing should poproots too 2022-04-04 12:18:51 -04:00
Evan Almloff 7f4e257757 bugfixes, testing and refactoring 2022-03-26 20:32:49 -05:00
Evan Almloff 26d92b6e51 rebase master 2022-03-26 20:27:10 -05:00
Evan Almloff 43b5a230f0 PushRoot before adding children 2022-03-26 13:35:23 -05:00
Evan Almloff aec5cd9dfa fix lazynode diff bug adding children 2022-03-26 12:53:24 -05:00
Jonathan Kelley c466425b82 fix: remove logging 2022-03-04 13:17:03 -05:00
Jonathan Kelley c19995fed9 fix: debug multistage edits in desktop 2022-03-04 13:17:01 -05:00
Jonathan Kelley f2979cb12a feat: apply local router changes 2022-03-04 13:16:37 -05:00
Jonathan Kelley e5b034c6a4 fix: don't propogate empty edits 2022-03-04 13:13:50 -05:00
Jonathan Kelley 0e09dda1be chore: add additional debugging to VNode fields 2022-03-04 13:13:29 -05:00
Jonathan Kelley e04a6d63a5 chore: move tests out of core and into the top level crate
This commit moves the tests out of core so rust analyzer
is happier with the workspace.
2022-03-02 22:48:22 -05:00
Jonathan Kelley 0883ff76e6 chore: convert debug to trace 2022-03-02 17:56:26 -05:00
Jonathan Kelley e51b47d1fb chore: move macros around 2022-03-02 17:56:12 -05:00
Jonathan Kelley b4c5b96980 chore: switch log to eprintln 2022-03-02 17:54:11 -05:00
Jonathan Kelley 42979d922b Merge pull request #208 from DioxusLabs/jk/use-future-leak
feat: auto cancel tasks when scopes are dropped
2022-02-27 23:39:06 -05:00
Jonathan Kelley e416e31bc7 feat: new spawn_forever for tasks that never die 2022-02-27 17:22:21 -05:00
Jonathan Kelley 70177ed49d feat: tasks are dropped when components are unmounted 2022-02-27 17:03:43 -05:00
Jonathan Kelley a46bd8d6d7 Merge branch 'master' into jk/use-future-leak 2022-02-27 16:42:07 -05:00
Jonathan Kelley 35a3eaabdf fix: actually remove nodes in keyed_diff_middle 2022-02-27 14:49:47 -05:00
Jonathan Kelley f77f8c8500 fmt 2022-02-26 17:38:05 -05:00
Jonathan Kelley 56517ef5de fix: merge conflicts 2022-02-26 17:35:23 -05:00
Jonathan Kelley 77631bff1f Merge branch 'master' into jk/documet-everything 2022-02-26 17:33:06 -05:00
Jonathan Kelley d8718efed6 Merge pull request #275 from BarryYan/master
fix: add ns param for removeAttribute
2022-02-25 11:50:21 -05:00