Commit Graph
41 Commits
Author SHA1 Message Date
Jonathan Kelley cbadea022a Eval should never return an error
Only awaiting eval should error.
Eval should always be available, even if using its methods returns errors.
2024-02-14 15:13:15 -08:00
Jonathan Kelley f2ec5c5cb8 fix headless event counter 2024-02-05 17:58:13 -08:00
Jonathan Kelley d2346cc477 maybe windows needs even longer for windows to open 2024-02-05 17:15:06 -08:00
Evan Almloff 72ae13ccb5 fix the double click event 2024-02-05 18:24:21 -06:00
Jonathan Kelley a72c035de4 Fix cargo check on examples 2024-01-30 17:59:57 -08:00
Jonathan Kelley 0bd9692e45 Fix cargo test and a number of little cleanup bugs 2024-01-30 17:33:14 -08:00
Jonathan Kelley eff1dd6c90 Merge branch 'master' into breaking 2024-01-30 16:20:19 -08:00
Ege Gungordu 8887d674ed add is_composing check to desktop headless tests 2024-01-23 18:33:28 +03:00
Jonathan Kelley d8af9b7ed1 Fix compile checks on numerous packages using --all --all-features 2024-01-18 16:27:43 -08:00
Jonathan Kelley 94b17cc8ca Fix non tokio builds for desktop 2024-01-18 04:07:28 -08:00
Evan Almloff e65c5f0eb3 depreciate the render macro 2024-01-16 13:18:46 -06:00
Evan Almloff d17a04931b Merge branch 'master' into breaking 2024-01-15 12:01:09 -06:00
Jonathan Kelley 1dde044697 remove cx.render 2024-01-13 21:12:21 -08:00
Jonathan Kelley fae0b08e61 Fix the router and stub out a number of crates to get compiling 2024-01-13 20:51:37 -08:00
Evan Almloff fe1b35d610 fix mount event 2024-01-12 17:47:27 -06:00
Jonathan Kelley d9b84f9f8f Disambiguate expressions in rsx by requiring curlies 2024-01-10 19:33:34 -08:00
Jonathan Kelley 47306bf89b Merge branch 'master' into jk/rework-desktop-crate 2024-01-05 12:22:59 -08:00
Jonathan Kelley 785b61a05e Merge branch 'master' into intigrate-collect-assets 2024-01-05 12:13:31 -08:00
Evan Almloff 0388a5c1f4 fix formatting 2024-01-04 19:21:06 -06:00
Evan Almloff 4f654d61b7 fix cargo check 2024-01-04 19:05:36 -06:00
Evan Almloff dccfba12d8 Merge branch 'master' into events-2 2024-01-04 19:02:00 -06:00
Jonathan Kelley ec3eaa6b26 Add ID to filedrop handler 2024-01-04 16:48:53 -08:00
Evan Almloff b1de7d850c Merge branch 'master' into intigrate-collect-assets 2024-01-04 18:44:29 -06:00
Jonathan Kelley 62a9583fff Fix merge conflict 2024-01-04 16:44:16 -08:00
Jonathan Kelley a2f44be2a2 Merge branch 'master' into binary-protocal 2024-01-04 10:17:10 -08:00
ealmloff 937be8b752 fix the on double click event and depreciate ondblclick (#1743) 2024-01-03 14:02:08 -06:00
Evan Almloff a647ce2f36 remove headless tests for CI 2023-12-17 11:30:17 -06:00
Evan Almloff 8984482b63 fix headless windows 2023-12-08 15:14:32 -06:00
Evan Almloff 0e3fd225a8 Merge branch 'master' into binary-protocal 2023-12-08 08:44:04 -06:00
Evan Almloff df222c121a port examples to new events 2023-09-01 15:38:55 -05:00
Evan Simkowitz f599ad6ad7 remove unnecessary PointInteraction imports now that it's in prelude 2023-08-23 22:14:57 -04:00
Evan Simkowitz 56095116e2 Fix tests 2023-08-23 17:58:43 -04:00
Miles MurgawandEvan Almloff 6210c6fefe Convert use_eval to use send/recv system (#1080)
* progress: reworked

don't run this, it'll kill your web browser

* feat: use_eval but with comms

* revision: async recv & recv_sync

* revision: use_eval

* revision: standard eval interface

* revision: use serde_json::Value instead of JsValue

* revision: docs

* revision: error message

* create: desktop eval (wip)

* fix: desktop eval

* revision: wrap use_eval in Rc<RefCell<_>>

* fix: fmt, clippy

* fix: desktop tests

* revision: change to channel system

- fixes clippy errors
- fixes playwright tests

* fix: tests

* fix: eval example

* fix: fmt

* fix: tests, desktop stuff

* fix: tests

* feat: drop handler

* fix: tests

* fix: rustfmt

* revision: web promise/callback system

* fix: recv error

* revision: IntoFuture, functionation

* fix: ci

* revision: playwright web

* remove: unescessary code

* remove dioxus-html from public examples

* prototype-patch

* fix web eval

* fix: rustfmt

* fix: CI

* make use_eval more efficient

* implement eval for liveview as well

* fix playwright tests

* fix clippy

* more clippy fixes

* fix clippy

* fix stack overflow

* fix desktop mock

* fix clippy

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2023-07-21 17:36:25 -05:00
Miles Murgaw a5aa7db3da fix: trigger it now? 2023-07-05 12:52:54 -04:00
Evan Almloff ec5999b3b4 fix clippy 2023-05-05 15:45:38 -05:00
Evan Almloff ae71e4ce33 don't render headless tests 2023-05-05 11:11:50 -05:00
Evan Almloff ea5e664364 fix formatting 2023-05-04 11:39:46 -05:00
Evan Almloff 1b199977d1 add rendering tests 2023-05-04 11:04:06 -05:00
Evan Almloff 70687748d3 fix events test 2023-04-27 18:36:28 -05:00
Evan Almloff 01d673e654 create event tests 2023-04-27 18:00:43 -05:00
Evan Almloff f381e56ab3 test scafolding 2023-04-27 16:38:09 -05:00