Evan Almloff
359b4e514b
remove some more unnessisary usages of unsafe
2023-01-01 18:44:54 -06:00
Evan Almloff
2d67dabfe5
require Send for S for resolve_passes multithreaded
2023-01-01 15:48:26 -06:00
Evan Almloff
c1fc00ed53
remove unsafe sync impl
2022-12-30 15:23:04 -06:00
Evan Almloff
845f2fb7a9
use get2_mut instead of unsafe
2022-12-30 14:19:56 -06:00
Evan Almloff
5b1d9c5c8d
Merge branch 'upstream' into fix-non-str-attributes
2022-12-30 11:52:55 -06:00
Evan Almloff
cb17252a21
clean up warnings and update prelude
2022-12-28 20:42:47 -06:00
Evan Almloff
044462876d
Merge branch 'upstream' into fix-non-str-attributes
2022-12-28 20:36:57 -06:00
Evan Almloff
738f1b3ce0
Merge branch 'upstream' into fix-non-str-attributes
2022-12-24 12:52:44 -06:00
Evan Almloff
c0d138fc1b
fix persistant iterator test
2022-12-24 11:37:17 -06:00
Evan Almloff
7eac90065a
fix mutations related to keyed lists
2022-12-24 10:58:56 -06:00
Evan Almloff
33c08b3d74
Merge branch 'upstream' into fix-hot-reloading
2022-12-23 18:59:57 -06: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
Evan Almloff
8fcccfa294
intigrate upstream changes
2022-12-23 17:59:51 -06: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
Evan Almloff
08c2440bca
update core tests
2022-12-23 16:10:05 -06:00
Evan Almloff
4caf95d639
add bubbling data to event listeners in the web renderer
2022-12-23 16:04:10 -06:00
Evan Almloff
afd024bcb6
Merge branch 'upstream' into fix-non-str-attributes
2022-12-23 15:53:39 -06:00
Evan Almloff
d98821da47
move hot reloading utilities to dioxus repository
2022-12-23 15:42:34 -06:00
Evan Almloff
a42ed7d445
create hot-reload-context flag
2022-12-23 15:08:44 -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
6a46a7c4fb
fix tests
2022-12-22 18:19:55 -06:00
Evan Almloff
6c28de7d05
fix tui
2022-12-22 17:09:00 -06:00
Evan Almloff
608c37428d
Merge branch 'upstream' into fix-hot-reloading
2022-12-22 16:58:30 -06:00
Evan Almloff
432bfd395e
fix swaping templetes before any instances are created
2022-12-22 16:54:49 -06:00
Evan Almloff
1530445972
fix hot reloading rsx with nested rsx calls
2022-12-22 16:38:07 -06:00
Evan Almloff
21ca1599eb
more bugfixes
2022-12-22 15:09:58 -06:00
Evan Almloff
776c5e8839
fix hot reloading with global and svg attibutes
2022-12-22 13:52:41 -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
Evan Almloff
67921cacc3
post merge fixes
2022-12-19 21:20:46 -06:00
Evan Almloff
493ee1cb3f
Merge branch 'upstream' into fix-hot-reloading
2022-12-19 21:17:22 -06:00
Evan Almloff
4364a4b511
handle updating templates better
2022-12-19 19:28:44 -06:00
Evan Almloff
c74a16b8d4
remove references to renderer features
2022-12-19 12:10:50 -06: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
Evan Almloff
f84166fb11
allow configering the root name in the desktop renderer
2022-12-18 22:28:40 -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
0ac02cc893
move any bound to trait instead of implementation
2022-12-10 13:24:39 -06:00
Evan Almloff
e4a7e4582b
make downcast_ref_unchecked unsafe
2022-12-10 12:59:12 -06:00
Evan Almloff
0813d531f1
add some utilities around AnyValueRc
2022-12-10 12:50:15 -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
Evan Almloff
f7717d8eb2
bump sledgehammer version
2022-12-10 08:29:54 -06:00
Evan Almloff
0c0158f62d
Merge branch 'upstream' into fix-non-str-attributes
2022-12-09 16:24:02 -06:00
Evan Almloff
8a1c96a68c
fix custom attribute value support
2022-12-09 16:18:37 -06:00
Evan Almloff
a9b7da1890
remove some unused files
2022-12-09 12:00:37 -06:00
Evan Almloff
bf47f64852
Merge branch 'upstream' into return-from-js
2022-12-08 11:25:15 -06:00
Evan Almloff
35bebbf0cb
wrap the web eval result in a compatability layer
2022-12-08 10:57:09 -06:00
Evan Almloff
e863ef29b8
allow returning values from use_eval
2022-12-08 10:44:56 -06:00
Evan Almloff
7ef180409d
use sledgehammer-bindgen 0.1.2
2022-12-08 07:41:04 -06:00
Evan Almloff
129a67cdc6
fix mouse interaction with widgets
2022-12-08 06:40:00 -06:00
Evan Almloff
15701d1c87
make clippy happy
2022-12-07 23:05:00 -06:00
Evan Almloff
bbd49bb37c
cleanup code and examples
2022-12-07 23:01:13 -06:00
Evan Almloff
029255c7ac
widgets
2022-12-07 20:28:01 -06:00
Evan Almloff
99a4a9d45b
Merge branch 'upstream' into optimize-templates-v3
2022-12-07 18:29:02 -06:00
Evan Almloff
56b027ef33
fix more lints
2022-12-07 17:24:50 -06:00
Evan Almloff
cbaf36251f
cargo fix
2022-12-07 17:24:11 -06:00
Evan Almloff
b79ad4f50e
Merge remote-tracking branch 'upstream/master' into optimize-templates-v3
2022-12-07 17:20:31 -06:00
Evan Almloff
5c6c235df0
cleanup code
2022-12-07 15:48:25 -06:00
Evan Almloff
84416cbe6a
check if templates are ptr eq before doing full equality check
2022-12-07 10:11:27 -06:00
Evan Almloff
08da53303d
optimizations aroud preallocating
2022-12-07 08:44:54 -06:00
Evan Almloff
d64d92e4b4
disable rif raf
2022-12-07 07:24:51 -06:00
Demonthos
67a6fa9eb8
Implement new mutations with native core ( #630 )
...
* work on seperating tree struture from realdom
* intial update to new mutations
* handle height
* update to taffy 0.2
* add as_varient functions to OwnedAttributeValue
* make get node parent mut optionally return a parent
* work on upward pass
* add more code for parrellel passes
* make resolve passes public
* more work on parallel passes
* fix deadlock and add more tests
* move height into the tree instead of the realdom
* make passes exicute in parallel instead of executing invidual passes in parellel
* fix some warnings
* add up dependant test
* clean up examples
* work on intigrating state with passes
* update to new mutations
* work on implementing macro
* make the macro compile
* more progress on macro
* mark cloned nodes as dirty
* update persistant_iterator utility
* fix mask generation
* update tui with new mutations
* more progress updating tui
* some basic tui examples working
* don't push template nodes onto the stack
* update hover example
* update benchmark
* update more examples
* fix root node layout
* ignore out of bounds renders
* update color picker example
* update all events example
* update remaining examples
* update tests
* tests passing
* move persistant iterator test
* update examples
* fix gaps in layout
* fix formatting
* fix memory leak
2022-12-06 15:38:04 -08:00
Evan Almloff
1081e4b772
Merge branch 'implement-new-mutations-with-native-core' into mutation-store
2022-12-06 14:24:40 -06:00
Evan Almloff
6102902387
work on optimizing web implementation
2022-12-06 14:24:35 -06:00
Evan Almloff
77381ceadd
fix memory leak
2022-12-06 09:54:44 -06:00
Evan Almloff
4b1c6125d4
fix formatting
2022-12-06 09:16:40 -06:00
Evan Almloff
4be64cb9f0
fix gaps in layout
2022-12-06 09:08:25 -06:00
Evan Almloff
6ee4f7df4f
update examples
2022-12-06 08:33:51 -06:00
Evan Almloff
40b15f834b
move persistant iterator test
2022-12-06 08:31:06 -06:00
Evan Almloff
32e93dee65
tests passing
2022-12-06 08:27:32 -06:00
Evan Almloff
ad33f2ce96
update tests
2022-12-05 21:36:24 -06:00
Evan Almloff
317aed7343
update remaining examples
2022-12-05 20:45:08 -06:00
Evan Almloff
b1db7a6400
update all events example
2022-12-05 20:43:11 -06:00
Evan Almloff
f10d47b53d
update color picker example
2022-12-05 20:37:55 -06:00
Evan Almloff
57ef56511c
ignore out of bounds renders
2022-12-05 20:30:05 -06:00
Evan Almloff
a823b45af9
fix root node layout
2022-12-05 20:18:10 -06:00
Evan Almloff
e6a11f50dd
update more examples
2022-12-05 14:20:45 -06:00
Evan Almloff
094012b07d
update benchmark
2022-12-05 14:04:13 -06:00
Evan Almloff
9a37da6393
update hover example
2022-12-05 13:53:43 -06:00
Evan Almloff
24cb503c09
don't push template nodes onto the stack
2022-12-05 13:49:55 -06:00
Evan Almloff
1587056a4b
some basic tui examples working
2022-12-05 13:30:13 -06:00
Evan Almloff
11b37ee141
more progress updating tui
2022-12-05 09:44:43 -06:00
Evan Almloff
8c07b4059f
update tui with new mutations
2022-12-04 20:39:54 -06:00
Evan Almloff
f21d099ae4
fix mask generation
2022-12-04 19:48:16 -06:00
Evan Almloff
72184e65ef
update persistant_iterator utility
2022-12-04 19:43:05 -06:00
Evan Almloff
d2047ed744
mark cloned nodes as dirty
2022-12-03 22:40:09 -06:00
Evan Almloff
0e17199e7a
more progress on macro
2022-12-03 22:26:37 -06:00
Evan Almloff
29a61b1855
make the macro compile
2022-12-03 19:35:37 -06:00
Evan Almloff
53094a7bbd
work on implementing macro
2022-12-03 18:28:32 -06:00
Evan Almloff
0d780fee61
update to new mutations
2022-12-03 18:28:25 -06:00
Evan Almloff
80674e4566
Merge branch 'jk/templates-v3' into implement-new-mutations-with-native-core
2022-12-03 13:21:44 -06:00