Jon Kelley
28fba42e7e
feat: add an unhygenic render macro ( #556 )
...
* feat: add an unhygenic render macro
* chore: use render instead of rsx!(cx,
2022-09-25 01:05:16 -07: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
2884d72b08
chore: make clippy happy
2022-07-02 23:45:32 -04:00
Demonthos
c9b7b5b3b8
Merge remote-tracking branch 'upstream/master' into pr/Demonthos/473
2022-07-02 20:17:28 -05:00
Demonthos
de3e2a48f8
Merge remote-tracking branch 'upstream/master' into pr/Demonthos/482
2022-07-02 19:03:08 -05:00
Demonthos
55e262b2c6
Merge remote-tracking branch 'upstream/master' into pr/Demonthos/473
2022-07-02 18:48:32 -05:00
Evan Almloff
c0b9b54d9b
allow custom string literals to be captured for hot reloading
2022-07-01 10:51:11 -05:00
Evan Almloff
f0655a11ad
panic on errors in hot-reload if no error handler socket is connected
2022-07-01 09:01:15 -05:00
Evan Almloff
ab533864db
Merge remote-tracking branch 'upstream/master' into fix_hot_reloading_svg_attributes
2022-06-30 07:18:08 -05:00
Evan Almloff
e444d3d4bc
fix svg attributes
2022-06-30 07:17:59 -05:00
Demonthos
7f5ad96c0b
Merge pull request #462 from Demonthos/fix_hot_reload_paths
...
fix path separator for hot reloading
2022-06-29 12:24:14 -05:00
Evan Almloff
cf2f504d77
fix unnessisary mut
2022-06-28 12:48:38 -05:00
Evan Almloff
8c3c75cab6
update tests
2022-06-28 10:02:50 -05:00
Evan Almloff
884723831b
fix path seperator
2022-06-28 09:48:19 -05:00
Evan Almloff
041f474329
Merge remote-tracking branch 'upstream/master' into clean_up_rsx_imports
2022-06-26 07:22:55 -05:00
Evan Almloff
02756f6f92
fix key parsing
2022-06-25 10:14:36 -05:00
Evan Almloff
fbf8e13b8d
clean up imports
2022-06-25 08:27:10 -05:00
Evan Almloff
dd335cda59
use line!, col!, and row! instead of panic location
2022-06-20 15:44:10 -05:00
Evan Almloff
21206390f8
more formatting
2022-06-17 15:33:28 -05:00
Evan Almloff
f7b2869082
fix formatting
2022-06-17 15:15:02 -05:00
Evan Almloff
ffc9bf763a
pass clippy
2022-06-17 13:50:41 -05:00
Evan Almloff
0f2ff34a30
add tests for the interperter
2022-06-17 09:50:25 -05:00
Evan Almloff
75e13749ea
set multiple rsx calls at once to prevent duplicated errors
2022-06-16 09:11:56 -05:00
Evan Almloff
b761bdb767
include element/attribute in errors
2022-06-15 14:20:36 -05:00
Evan Almloff
d9ee305575
offset column numbers
2022-06-15 13:36:18 -05:00
Demonthos
df4ea20bb8
create serde compatible parse error
2022-06-15 12:58:08 -05:00
Evan Almloff
41e905144c
add warning when hot_reload is used in release builds
2022-06-14 10:32:49 -05:00
Evan Almloff
f132a08f7d
fix merge
2022-06-13 16:50:22 -05:00
Evan Almloff
9e4a069f42
Merge branch 'jk/rsx-refactor' of https://github.com/demonthos/dioxus into jk/rsx-refactor
2022-06-13 16:48:52 -05:00
Evan Almloff
c614506734
report error on unknown attribute
2022-06-13 16:48:15 -05:00
Demonthos
8ed8758d35
clean up and document items
2022-06-11 20:06:50 -05:00
Evan Almloff
fe5c698c09
add DirtyAll to SchedulerMsg
2022-06-09 10:01:09 -05:00
Evan Almloff
d4dda577d6
remove extra print
2022-06-09 09:36:48 -05:00
Evan Almloff
b480579169
derive clone and debug for SetRsxMessage
2022-06-08 12:33:55 -05:00
Evan Almloff
c7a332efaa
remove mutex from RsxContext
2022-06-06 13:29:32 -05:00
Evan Almloff
0e97af989a
capture varibles in keys
2022-06-06 13:02:15 -05:00
Evan Almloff
7b629ef0f5
cleanup imports
2022-06-05 09:24:08 -05:00
Evan Almloff
2a6d9ed075
handle rsx!{cx, ...}
2022-06-05 07:38:05 -05:00
Evan Almloff
586e29d815
force rerender after rsx is updated
2022-06-04 15:31:40 -05:00
Evan Almloff
031640c9a4
document RSX_CONTEXT
2022-06-04 14:59:24 -05:00
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
3b2ac82e8d
fix spelling of interpreter
2022-05-31 12:18:22 -05:00