Commit graph

212 commits

Author SHA1 Message Date
Evan Almloff
d297e2baa2 Add optional attributes 2023-09-18 19:50:02 -05:00
Evan Almloff
98335bd9a6 Merge branch 'master' into fix-event-bubbling 2023-09-17 20:00:22 -05:00
marc2332
7f8c963cd9
fix: Update doc links from v3 to v4 2023-09-16 19:03:27 +02:00
Evan Almloff
9f1c735cf1 combine style and class attributes when there are multiple 2023-09-14 16:40:49 -05:00
Evan Almloff
be4b0c801a fix raw attributes with dynamic values 2023-09-14 16:10:48 -05:00
Evan Almloff
30b124189c fix raw attribute names 2023-09-14 15:56:17 -05:00
Evan Almloff
8c47dfaf78 clean up attribute parsing 2023-09-14 14:08:39 -05:00
Evan Almloff
35b643e23f switch to bubble ids on vnodes to fix nodes under fragments pointing to an invalid parent 2023-09-11 15:55:58 -05:00
Evan Almloff
e337aff0a4 WIP split element from element ref 2023-08-23 10:48:10 -05:00
Evan Almloff
943c76b1da Fix memory leak in core 2023-08-15 12:19:05 -05:00
Koji AGAWA
d573f5dfd5 feat: props spread 2023-08-13 16:45:17 +09:00
Evan Almloff
24c626b306 fix clippy 2023-08-08 13:43:57 -07:00
Jonathan Kelley
39e89c1fac
Bump crate versions, fix any publish errors 2023-07-31 18:49:54 -07:00
Evan Almloff
3eab363e51 Add authors to all crates 2023-07-31 17:30:18 -07:00
Jonathan Kelley
f0289068a2
Merge pull request #1219 from Demonthos/improve-build-times
Halve Build Times
2023-07-20 10:50:15 -07:00
Andrea Frigido
dccad58f1d Update license field following SPDX 2.1 license expression standard 2023-07-20 18:00:07 +01:00
Evan Almloff
3d8d8a1b6f half-build-times 2023-07-19 10:19:23 -07:00
Evan Almloff
05fb8c1e91 Merge branch 'master' into router-typesafe 2023-07-07 18:31:48 -07:00
Torstein Grindvik
a3169ac17b Change missing trailing comma span to point to span where comma is missing from
Signed-off-by: Torstein Grindvik <torstein.grindvik@nordicsemi.no>
2023-07-02 15:19:03 +02:00
Jon Kelley
6f38c765e5
Merge pull request #877 from Demonthos/fix-component-attribute-formatting
Don't accept raw attributes in components without trailing commas
2023-06-30 12:10:57 -07:00
Evan Almloff
8f67d0aafd make creating rsx nodes from macros possible 2023-06-29 12:52:27 -07:00
Evan Almloff
7b1f0c9412 Merge branch 'master' into router-typesafe 2023-06-28 08:56:07 -07:00
Evan Almloff
5f873511c5 use workspace dependancies 2023-06-19 14:29:11 -05:00
Jon Kelley
7e96475951
Merge pull request #895 from Demonthos/inline-custom-elements
Allow raw elements if they include a dash
2023-05-29 15:05:19 +02:00
Evan Almloff
f9b33f12cb fix more complex workspaces with hot reloading 2023-03-28 15:39:52 -05:00
Evan Almloff
e0563bd637 allow paths in format expressions 2023-03-23 13:15:47 -05:00
Evan Almloff
c04ce2901e fix the span the error reports under 2023-03-21 07:59:25 -05:00
Evan Almloff
3655e7c89e throw an error instead of accepting attributes without commas 2023-03-21 07:55:36 -05:00
Evan Almloff
f74854b38c fix formatting with raw elements 2023-03-20 07:21:31 -05:00
Evan Almloff
03413a68ab fix formatting 2023-03-19 20:47:16 -05:00
Evan Almloff
209a55da69 allow raw elements if they include a dash 2023-03-19 20:37:40 -05:00
Evan Almloff
3f1d525734 make trailing commas in components optional 2023-03-11 18:27:50 -06:00
Evan Almloff
55787c2e7d fix hot reloading in a workspace 2023-02-26 18:42:14 -06:00
Jonathan Kelley
f664ce8fe0 Merge branch 'master' of github.com:DioxusLabs/dioxus 2023-02-22 13:06:41 -08:00
Jonathan Kelley
b27db17f76 bump hot-reload 2023-02-22 12:55:54 -08:00
Jonathan Kelley
ab0023129d bump rsx 2023-02-22 12:22:45 -08:00
Evan Almloff
c012855659 collect non-fatal errors in hot reloading 2023-02-22 09:18:12 -06:00
Evan Almloff
a51f67c2ec add version to docs links in readmes 2023-02-18 18:38:30 -06:00
Jon Kelley
4f0f2484fd
Merge pull request #774 from Demonthos/update-doc-links
Update guide doc links
2023-02-17 11:53:15 -08:00
Evan Almloff
32dc68c539 hot reloading: filter intial read of files by excluded dirs 2023-02-09 16:37:12 -06:00
Evan Almloff
b6c7d44a27 fix clippy 2023-01-27 20:35:46 -06:00
Evan Almloff
3f3db39c28 update doc links 2023-01-15 15:18:12 -06:00
Jonathan Kelley
6cd87796f2 feat: allow ifchains and for loops 2023-01-13 10:51:12 -08:00
Jon Kelley
e5b39bb61f
Merge pull request #744 from Demonthos/update-readmes
Update READMEs and tags for the 0.3 release
2023-01-10 18:21:55 -08:00
Jonathan Kelley
1940855e39 feat: implement comments in zero children nodes 2023-01-10 17:47:58 -08:00
Evan Almloff
52d5c8d4e7 update READMEs and tags for the 0.3 release 2023-01-10 10:16:11 -06:00
Jonathan Kelley
7f01f61138 feat: publish 0.3 versions of many crates 2023-01-04 14:31:07 -05:00
Evan Almloff
c5672650f1 use the namespace and volitity defined in the html crate 2023-01-03 09:03:20 -06:00
Jonathan Kelley
4fdbce9a70 chore: clean up readmes 2022-12-29 16:17:03 -05:00
Jonathan Kelley
4aac2cdae1 fix: raw attr names 2022-12-26 22:57:45 -05:00
Jonathan Kelley
c240aebfa1 chore: start instead of flart 2022-12-26 09:58:41 -05:00
Jonathan Kelley
8b854963e9 fix: serialize custom attrs properly 2022-12-25 23:58:31 -05:00
Evan Almloff
a6c226ae57 fmt 2022-12-23 18:31:40 -06:00
Evan Almloff
555b192436 Merge branch 'upstream' into fix-hot-reloading 2022-12-23 18:06:47 -06:00
Jonathan Kelley
c9e13984e3 chore: use safe span split 2022-12-23 18:27:53 -05:00
Evan Almloff
33af22638e don't panic if the formatting of the span is different than expected 2022-12-23 17:23:46 -06:00
Jonathan Kelley
0dce3e03c8 chore: rollback some unecessary changes 2022-12-23 18:08:23 -05:00
Jonathan Kelley
e7e21fa2f0 fix: errors when using render macro 2022-12-23 17:47:57 -05:00
Jonathan Kelley
fd8015e943 fix: hovers 2022-12-23 17:39:07 -05:00
Evan Almloff
d98821da47 move hot reloading utilities to dioxus repository 2022-12-23 15:42:34 -06:00
Evan Almloff
3165c90e9f update rsx tests 2022-12-22 19:32:21 -06:00
Evan Almloff
cc35298a1d more resiliant span debug parsing 2022-12-22 18:34:20 -06:00
Evan Almloff
1530445972 fix hot reloading rsx with nested rsx calls 2022-12-22 16:38:07 -06:00
Evan Almloff
04a923f83e fix changing the order of dynamic nodes 2022-12-22 11:36:38 -06:00
Evan Almloff
db7a1ec0b0 fix lints 2022-12-21 13:04:57 -06:00
Evan Almloff
4c1fe1d9bb allow changing the number of root nodes 2022-12-21 12:50:48 -06:00
Evan Almloff
e5a5850354 merge master 2022-12-20 20:48:28 -06:00
Jonathan Kelley
d3be971f4e chore: rollback to option instead of anyhow 2022-12-19 18:06:13 -08:00
Evan Almloff
4364a4b511 handle updating templates better 2022-12-19 19:28:44 -06:00
Jonathan Kelley
4313dea351 chore: clear readme 2022-12-19 16:12:51 -08:00
Jonathan Kelley
3fd08ef49e chore: remove unneeded files 2022-12-19 16:12:15 -08:00
Jonathan Kelley
09b38574db Merge branch 'master' into jk/autofmt-fixues 2022-12-19 12:19:51 -08:00
Evan Almloff
96ce704f8e fix serialization 2022-12-19 11:48:28 -06:00
Evan Almloff
fbc89a7088 make 'static lifetime explicit 2022-12-19 09:37:15 -06:00
=
894e3bf6b5 make it compile after merge 2022-12-16 10:18:23 -06:00
=
14dd568987 Merge branch 'upstream-master' into fix-hot-reloading 2022-12-16 10:07:11 -06:00
=
6d2e510200 WIP implement hot reloading context for html 2022-12-12 21:46:49 -06:00
Jonathan Kelley
d4b6bb8a7b feat: fix the scope rollover bug 2022-12-12 18:31:30 -08:00
Jonathan Kelley
d160f38bc2 fix: parsing of attributes without trailing commas 2022-12-12 11:18:36 -08:00
=
b1d053d6cc fix template diffing 2022-12-11 09:38:38 -06:00
Evan Almloff
2419a2ae9d WIP diffing templates 2022-12-10 21:18:44 -06:00
Evan Almloff
6b19229b53 use interning to leak less memory 2022-12-10 16:21:31 -06:00
Evan Almloff
3e7dbe868a unwrap instead of using unreachable 2022-12-10 15:05:41 -06:00
Evan Almloff
134a45b89d fix fmt escape sequences in static attribute/text nodes 2022-12-10 14:58:13 -06:00
Evan Almloff
2131e5658b add hot reloading context trait 2022-12-10 14:09:59 -06:00
Evan Almloff
f16e3be2c2 Merge branch 'fix-hot-reloading' of https://github.com/demonthos/dioxus into fix-hot-reloading 2022-12-10 12:29:17 -06:00
Evan Almloff
da64b0c2a8 WIP parising 2022-12-10 12:29:15 -06:00
Jonathan Kelley
b254d9e761 chore: remove cross-crate doc comments 2022-12-09 15:03:56 -08:00
Evan Almloff
a9b7da1890 remove some unused files 2022-12-09 12:00:37 -06:00
Jonathan Kelley
0bf4725639 fix: namespacing of dynamic attributes 2022-12-07 15:11:51 -08:00
Jonathan Kelley
5673017def chore: clean up the repo some 2022-12-06 17:50:25 -08:00
Jonathan Kelley
b182a6ee75 chore: clean up interpreter and bindings 2022-12-05 16:47:04 -08:00
Jonathan Kelley
7b1cdb7d85 feat: get desktop working with new template strategy 2022-12-05 16:08:41 -08:00
Jonathan Kelley
a61daf220d feat: context api overhaul 2022-12-02 16:24:49 -08:00
Jonathan Kelley
3b166c9edd wip: clean up some things 2022-11-30 23:54:30 -05:00
Jonathan Kelley
7c3d308ab5 chore: make warnings go away 2022-11-29 16:31:04 -05:00
Jonathan Kelley
5713e13ff2 feat: implement ID cycling 2022-11-24 09:11:27 -05:00
Jonathan Kelley
4dd9a616a5 wip: fragment diffing working 2022-11-23 23:15:01 -08:00
Jonathan Kelley
9c4abcbea0 wip: more tests! 2022-11-22 21:32:26 -08:00
Jonathan Kelley
0e5a59f9ed wip: error boundary 2022-11-22 18:38:27 -08:00