Commit Graph
1355 Commits
Author SHA1 Message Date
Evan Almloff 69ecc9caaf update tui tests 2022-06-10 17:47:43 -05:00
Demonthos c1112cfd3a Merge branch 'master' into stretch2_relative_layout 2022-06-10 17:41:51 -05:00
Evan Almloff 44686e217f remove empty match 2022-06-10 17:33:19 -05:00
Evan Almloff dcfe60c164 use taffy instead of stretch2 2022-06-10 17:23:30 -05:00
Jon Kelley ea4eb218ab Merge pull request #422 from rMazeiks/fix-web-missing-event-types
Fix web missing event types
2022-06-10 11:44:38 -04:00
Jon Kelley 8349e252b6 Merge pull request #434 from CGQAQ/patch-1
fix(desktop): makes release build working
2022-06-10 11:43:57 -04:00
Jon Kelley 0dbdaf1973 Merge pull request #436 from Demonthos/fix_remove_style
remove style attributes correctly for the js interpreter
2022-06-10 11:43:01 -04:00
CGQAQ 030f6d58fb conditional devtools 2022-06-10 06:04:54 +08:00
Evan Almloff 38de26d0e4 remove attributes correctly 2022-06-09 10:31:11 -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 017d269ca8 fix websocket error reporting 2022-06-09 09:36:28 -05:00
Jason 09b1d379d7 fix(desktop): makes release build working 2022-06-09 16:55:53 +08:00
Evan Almloff b480579169 derive clone and debug for SetRsxMessage 2022-06-08 12:33:55 -05:00
Evan Almloff e7cf382784 create websocket for hot reloading 2022-06-06 13:30:32 -05:00
Evan Almloff 07199c8a64 clean up imports 2022-06-06 13:29:56 -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 3cd4175e2e remove braces from captured variables 2022-06-05 08:39:50 -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 8c6fceb0c7 finish desktop implementation 2022-06-04 14:26:37 -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
Muhannad Alrusayni dded91a589 doc: put docs in once place instead of two 2022-06-04 13:40:50 +03:00
Muhannad Alrusayni 252f9343b8 fix: Support Div () as component
previously I from some reason I thought this not allowed syntax. Some test
failed because of my misunderstood, so now I fix this :D
2022-06-04 13:40:50 +03:00
Muhannad Alrusayni 03a14f4a86 fix: element start with lowercase letter again :D 2022-06-04 13:40:50 +03:00
Muhannad Alrusayni 062f986841 refactor: Remove unused types from scope 2022-06-04 13:40:50 +03:00
Muhannad Alrusayni 37f7fe2ac6 fix: Element must be of lowercase letters only 2022-06-04 13:40:50 +03:00
Muhannad Alrusayni 690efade88 fix: Support Input::<..> style to for generic components
before that, we accepted this style `Input<..>` but to be consistent
with Rust syntax this is dropped now.

> For reference, the two ways of specifying explicit type parameters in
> Rust are:
> // for functions
> let _ = foo::<MyType>();
>
> // for structs
> let _ = Foo::<MyType> { ... };
>
> by @jkelleyrtp
2022-06-04 13:40:50 +03:00
Muhannad Alrusayni 5b079075d7 refactor: clean up commented code. 2022-06-04 13:40:50 +03:00
Muhannad Alrusayni 0b5b7f09db feat: Support generic component with inline_props with some limitation 2022-06-04 13:40:50 +03:00
Muhannad Alrusayni a55b56b403 feat: Support generic components in rsx!() macro 2022-06-04 13:40:50 +03:00
Evan Almloff 0079f7d18b WIP: expose pipe for desktop 2022-06-02 13:33:08 -05:00
王一旋 2433b9d305 docs: examples of mistakes
docs: add hard_diff example missing parameter
2022-06-02 10:29:41 +08:00
Evan Almloff 3b2ac82e8d fix spelling of interpreter 2022-05-31 12:18:22 -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 c94cf9c8e2 return an error when a expression could not be found 2022-05-31 08:29:30 -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 29be00e9f5 add license 2022-05-28 14:32:49 -05:00
Evan Almloff c1072aa95a handle positional_args 2022-05-28 12:11:22 -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 4b1ea5879d Merge https://github.com/DioxusLabs/dioxus into jk/rsx-refactor 2022-05-27 18:26:31 -05:00
Demonthos 6ab79a11c0 Merge branch 'DioxusLabs:master' into master 2022-05-27 18:24:47 -05:00
Evan Almloff 04807a1ef7 update with AttributeValue 2022-05-27 18:18:40 -05:00
Evan Almloff f9713b2fe9 Merge remote-tracking branch 'origin/master' into jk/rsx-refactor 2022-05-27 17:56:50 -05:00
Evan Almloff cef2f52058 handle keys 2022-05-27 16:49:32 -05:00