Commit Graph
100 Commits
Author SHA1 Message Date
Jonathan Kelley 92a8b7c75f fmt: fix formatting 2022-07-07 02:52:37 -04:00
Jonathan Kelley 3d47cb48fa fix: autofmt on single line rsx calls 2022-07-07 02:06:50 -04:00
Jonathan Kelley 2b9888627b Merge branch 'master' of github.com:DioxusLabs/dioxus 2022-07-07 01:46:48 -04:00
Jonathan Kelley 7ff4d616d3 chore: remove outdated docs 2022-07-07 01:42:03 -04:00
Jonathan Kelley 251aafa5fd fix: fmting 2022-07-05 18:42:00 -04:00
Jonathan Kelley 575f92d2d4 chore: update readme and tests for autofmt 2022-07-05 18:23:30 -04:00
Jonathan Kelley 76581e7400 fix: disappearing manual props 2022-07-05 18:03:04 -04:00
Jonathan Kelley 19e6e43358 fix: only apply comments if relevant 2022-07-05 17:59:33 -04:00
Jonathan Kelley fa9ebe17cc feat: fix autoformatting around one liners 2022-07-05 17:49:16 -04:00
Jonathan Kelley 64d669e934 chore: add todo list to autofmt crate 2022-07-05 13:31:26 -04:00
Jonathan Kelley 2634755620 fix: handle comments around attributes better 2022-07-05 02:06:54 -04:00
Jonathan Kelley 4471ccba49 fix: even better comment handling 2022-07-05 01:53:08 -04:00
Jonathan Kelley 47f3cc2529 fix: correct comment handling for first line 2022-07-05 00:30:09 -04:00
Jonathan Kelley 150d824561 feat: more advanced comment handling 2022-07-05 00:22:06 -04:00
Jon Kelley 3a30b36f68 fix: some edge cases around autoformatting (#485)
* wip: remove comment support from autofmt

* fix: some edge cases around autoformatting

* fix: revert readme

* fix: failing test
2022-07-04 21:11:03 -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 2884d72b08 chore: make clippy happy 2022-07-02 23:45:32 -04:00
Jonathan Kelley fcbd260f1a chore: clean up example a bit more 2022-07-02 23:17:48 -04:00
Jonathan Kelley 41872a075f chore: clean up all_events example 2022-07-02 23:12:26 -04:00
Jon Kelley faf1103597 Merge pull request #473 from Demonthos/fix_hot_reloading_svg_attributes
Fix hot reloading svg attributes
2022-07-02 22:58:07 -04:00
Jon Kelley c70cd04835 Merge pull request #454 from DioxusLabs/jk/autofmt
Add autoformatting package
2022-07-02 22:57:28 -04:00
Jonathan Kelley 59c38c2ff1 Merge branch 'master' into jk/autofmt 2022-07-02 22:49:21 -04:00
Jonathan Kelley 30c1e702b3 fix: fmt 2022-07-02 22:49:19 -04:00
Jon Kelley 2de8bfc176 Merge pull request #482 from Demonthos/allow_custom_attributes_hot_reload
allow custom attributes to be captured for hot reloading
2022-07-02 20:59:39 -04:00
Jon Kelley 5c767ececd Merge pull request #476 from rMazeiks/delete-blank-docs
Delete blank docs
2022-06-30 16:37:48 -04:00
Jon Kelley 67f78bc8ae Merge pull request #477 from rMazeiks/remove-lifetimes
Remove unneeded lifetimes
2022-06-30 16:36:41 -04:00
Jonathan Kelley cd7ee47e40 fix: make clippy happier with rust 1.63 2022-06-30 16:35:33 -04:00
Jonathan Kelley 7550731a96 Merge branch 'master' of github.com:DioxusLabs/dioxus 2022-06-30 15:42:46 -04:00
Jonathan Kelley a6e8852ced polish: make clippy happy on use_hook 2022-06-30 15:41:45 -04:00
Jon Kelley 2ee703f509 Merge pull request #474 from rMazeiks/rewrite-example-readme
Rewrite Readme in example directory
2022-06-30 15:39:03 -04:00
Jonathan Kelley e627a66acc Merge branch 'master' into jk/autofmt 2022-06-30 15:23:05 -04:00
Jonathan Kelley 28a0c67275 polish: clean up the examples and move autofmt sample into dedicated file 2022-06-30 15:19:58 -04:00
Jon Kelley 6e7015b997 Merge pull request #466 from Demonthos/fix_js_interperter
check that an node is an element before removing listeners
2022-06-30 15:18:40 -04:00
Jon Kelley dde9ca6ce0 Merge pull request #406 from rMazeiks/rusty-events
Rustify events api for WheelData and KeyboardData
2022-06-30 14:56:02 -04:00
Jon Kelley 8d6afe70b8 Merge pull request #468 from Demonthos/fix_diffing_equal_length_listeners
Fix Diffing Equal Length Listeners
2022-06-29 11:48:13 -04:00
Jonathan Kelley 0aec375371 wip: clean up formatting package 2022-06-28 17:33:11 -04:00
Jon Kelley ca13bf7358 Merge pull request #459 from Demonthos/clean_up_rsx_imports
Clean up rsx imports for components and tests
2022-06-28 17:32:39 -04:00
Jonathan Kelley bd936d3af2 feat: more cleanup 2022-06-28 17:29:10 -04:00
Jonathan Kelley fa756ba245 feat: manual props 2022-06-28 17:16:26 -04:00
Jon Kelley 22677c2992 Merge pull request #463 from Demonthos/fix_escape_sequence
fix escape sequences in ifmt
2022-06-28 16:10:40 -04:00
Jonathan Kelley 5bab835843 fix: allow keys 2022-06-28 15:35:46 -04:00
Jonathan Kelley 1e4af430a8 wip: eliminate warnings 2022-06-28 15:15:09 -04:00
Jonathan Kelley a825cdcf58 feat: simple support for comments 2022-06-28 15:01:51 -04:00
Jonathan Kelley d70b436157 wip: more cleanup, more tests 2022-06-27 16:24:36 -04:00
Jonathan Kelley a2a194ca40 wip: use stateful buffer 2022-06-27 13:36:41 -04:00
Jonathan Kelley 79b475798d wip: make element printer more comprehensive 2022-06-25 02:22:26 -04:00
Jonathan Kelley 398cbc6534 wip: rely on git version of prettyplease, refactor autofmt 2022-06-25 00:55:52 -04:00
Jon Kelley 83288e274f Merge pull request #452 from Demonthos/fix_nonbubbling_web_events
Fix nonbubbling web events
2022-06-24 17:05:32 -04:00
Jon Kelley 716bd6ea23 Merge pull request #455 from Demonthos/fix_tui_tests
fix tui event tests
2022-06-24 17:02:06 -04:00
Jonathan Kelley 5b9e34aadd feat: add fork of prettyplease for autoformatting 2022-06-24 14:22:08 -04:00
Jonathan Kelley 541d67dcfa fix: only enable liveview drivers if feature is present 2022-06-24 14:06:04 -04:00
Jon Kelley 478fea58d9 Merge pull request #425 from Demonthos/jk/rsx-refactor
Hot Reloading Rsx
2022-06-21 11:07:44 -04:00
Jonathan Kelley 8be66bd34d fix: apply some clippy lints and rename the liveview methods to not intersect 2022-06-20 02:24:39 -04:00
Jon Kelley c3e573b7cb Merge pull request #445 from Demonthos/test_tui_events
test tui events
2022-06-19 22:10:10 -04:00
Jon Kelley d117e5c470 Merge pull request #390 from Demonthos/tui_focus
add tui focus system
2022-06-19 22:04:46 -04:00
Jon Kelley d9e14db434 Merge pull request #417 from Demonthos/master
handle backtab for tui
2022-06-13 11:13:00 -04:00
Jon Kelley 24273e4433 Merge pull request #443 from flisky/master
fixes to usability and some edge case cleanup
2022-06-13 10:57:23 -04:00
Jon Kelley e97072f387 Merge pull request #438 from Demonthos/stretch2_relative_layout
Use Taffy instead of stretch2 for tui and native core
2022-06-11 10:45:01 -04:00
Jon Kelley e51b18dcde Merge pull request #413 from duan-zhou/master
Example: SVG Basic shapes from https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Basic_Shapes
2022-06-11 10:32:57 -04:00
Jon Kelley 03973f692e Merge pull request #385 from MuhannadAlrusayni/master
feat: Support generic components in `rsx!()` macro
2022-06-11 10:32:31 -04: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
Jon Kelley 1ef4f7b5a8 Merge pull request #430 from madcodelife/master
docs: examples of mistakes
2022-06-10 11:42:25 -04:00
Jon Kelley 33eb59e21f Merge pull request #431 from AOx0/master
Fix outdated guide section (React-like foo, set_foo)
2022-06-10 11:41:57 -04:00
Jon Kelley a4375c84fb Merge pull request #420 from ZingerLittleBee/master
fix: desktop project name in docs
2022-06-10 11:41:30 -04:00
Jon Kelley fe1279a1c5 Merge pull request #415 from mrxiaozhuox/patch-2 2022-05-24 12:40:55 +03:00
Jon Kelley 929acfd3aa Merge pull request #421 from Demonthos/update_stale_doc_refrences 2022-05-24 12:40:14 +03:00
Jon Kelley 62294d36d9 Merge pull request #411 from duan-zhou/master 2022-05-17 14:33:51 -04:00
Jon Kelley 0ac5e76d98 Merge pull request #398 from rMazeiks/rusty-mousedata
Idea: Better, more Rusty, MouseData
2022-05-11 23:18:39 -04:00
Jon Kelley ff25017512 Merge pull request #405 from mrxiaozhuox/master
Add some new window api for desktop
2022-05-11 22:55:54 -04:00
Jon Kelley 5ad484f4bf Merge pull request #403 from rowinbot/patch-1 2022-05-09 14:56:50 -04:00
Jon Kelley dab24e9ad9 Merge pull request #402 from Demonthos/tui_preformance
Tui performance improvements
2022-05-07 10:32:09 -04:00
Jon Kelley 87413c28c5 Merge pull request #401 from rMazeiks/arbitrary_value_serialize_fix
Fix: AttributeValue bug; tests; CI
2022-05-07 10:02:16 -04:00
Jonathan Kelley 9c9928d226 fix: tui values 2022-05-06 20:48:57 -04:00
Jonathan Kelley 03110b85cd fix: cargo fmt 2022-05-06 20:46:33 -04:00
Jon Kelley 14c0630242 Merge pull request #397 from Demonthos/tui_fix_mousemove
only trigger onmousemove if the position has changed (tui)
2022-05-06 20:37:23 -04:00
Jon Kelley 00147d6f18 Merge pull request #399 from Synphonyte/master
fixed FUNDING.yml
2022-05-06 20:29:28 -04:00
Jon Kelley fff341a6a9 Merge pull request #396 from jmoore34/patch-1 2022-05-05 19:32:04 -04:00
Jon Kelley f57234a635 Merge pull request #384 from DioxusLabs/jk/enum-values
Arbitrary Attribute Values
2022-05-05 16:51:02 -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
Jon KelleyandAr37-rs f2c48c5d90 Merge pull request #395 from DioxusLabs/jk/update-tauri
feat: upgrade wry

Co-authored-by:  Ar37-rs<adyaro37@gmail.com>
2022-05-05 16:33:07 -04:00
Jonathan Kelley 8ab1c4d0de feat: upgrade wry 2022-05-05 16:29:24 -04:00
Jon Kelley b8c739826a Merge pull request #392 from Demonthos/tui_offset
add offset mouse data to tui
2022-05-05 13:17:25 -04:00
Jon Kelley 5cc24343a8 Merge pull request #391 from rMazeiks/relative-mouse-coordinates
Offset coordinates for mouse events
2022-05-04 13:31:21 -04:00
Jonathan Kelley a62e729bfa Release dioxus v0.2.4 2022-05-03 00:05:58 -04:00
Jonathan Kelley 4ef2cfaba5 fix: specify version 2022-05-03 00:05:54 -04:00
Jonathan Kelley 12420f34c2 Release dioxus-native-core-macro v0.2.0, dioxus-router v0.2.3, dioxus-ssr v0.2.1, dioxus-tui v0.2.2, dioxus-web v0.2.1, fermi v0.2.1, dioxus v0.2.4 2022-05-03 00:03:35 -04:00
Jonathan Kelley cf378d34d8 fix: add version for package 2022-05-03 00:03:31 -04:00
Jonathan Kelley 0bcaa11463 Release dioxus-native-core v0.2.0, dioxus-native-core-macro v0.2.0, dioxus-router v0.2.3, dioxus-ssr v0.2.1, dioxus-tui v0.2.2, dioxus-web v0.2.1, fermi v0.2.1, dioxus v0.2.4 2022-05-03 00:02:12 -04:00
Jonathan Kelley 85a09314a6 chore: fill out cargo meta 2022-05-03 00:02:09 -04:00
Jonathan Kelley 8352c1bc3f Release dioxus-liveview v0.1.0, dioxus-native-core v0.2.0, dioxus-native-core-macro v0.2.0, dioxus-router v0.2.3, dioxus-ssr v0.2.1, dioxus-tui v0.2.2, dioxus-web v0.2.1, fermi v0.2.1, dioxus v0.2.4 2022-05-03 00:00:33 -04:00
Jonathan Kelley 05ab8d2c78 fix: update liveview docs 2022-05-03 00:00:16 -04:00
Jonathan Kelley 3febd42588 Release dioxus-core v0.2.1, dioxus-core-macro v0.2.1, dioxus-html v0.2.1, dioxus-interpreter-js v0.2.1, dioxus-desktop v0.2.3, dioxus-hooks v0.2.1, dioxus-liveview v0.1.0, dioxus-native-core v0.2.0, dioxus-native-core-macro v0.2.0, dioxus-router v0.2.3, dioxus-ssr v0.2.1, dioxus-tui v0.2.2, dioxus-web v0.2.1, fermi v0.2.1, dioxus v0.2.4 2022-05-02 23:57:20 -04:00
Jonathan Kelley 5503aeb7a6 fix: specify dioxus version in liveview 2022-05-02 23:45:59 -04:00
Jonathan Kelley b8e8e69523 fix: use published stretch 2022-05-02 22:20:52 -04:00
Jonathan Kelley 22a423e2f6 chore: use fixed stretch version 2022-05-02 22:17:01 -04:00
Jon Kelley f7e67cb2d7 Merge pull request #329 from Demonthos/lazy_tui
Tui Lazy Attributes and Layout
2022-05-02 21:38:18 -04:00