Commit Graph
42 Commits
Author SHA1 Message Date
Evan Almloff b60671e0fe fix non extending attributes 2023-09-27 10:02:49 -05: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
Evan Almloff 9fa912bb59 create native file engine bindings for TUI/Blitz 2023-04-20 10:12:11 -05:00
Evan Almloff a42ed7d445 create hot-reload-context flag 2022-12-23 15:08:44 -06:00
Evan Almloff e5a5850354 merge master 2022-12-20 20:48:28 -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
Jon Kelley 5ac9b595ea Revert "fix: liveview interpreter using new templates" 2022-12-16 14:20:05 -08:00
Jonathan Kelley e256fe1079 wip: add html event type 2022-12-14 19:07:33 -08:00
Jonathan Kelley 85657d3906 feat: rip out mutations for templates 2022-12-01 00:46:15 -05:00
Jonathan Kelley 18d6b1ad6f feat: get web working properly 2022-11-30 17:21:10 -05:00
Jonathan Kelley 8caabb97d8 wip: more work on html 2022-11-15 16:51:22 -08:00
Jonathan Kelley 47d0f51e00 wip: overhaul event system 2022-11-15 16:05:22 -08:00
Reinis Mazeiks 765baf6e48 Rename module input to avoid naming conflict with element of the same name
Not sure if this was supposed to be allowed, but it was causing https://github.com/rust-lang/rust/issues/96934
2022-05-11 13:47:58 +03:00
Reinis Mazeiks 3fec31fe50 Use keyboard_types instead of bespoke ModifierSet 2022-05-07 10:05:52 +03:00
Reinis Mazeiks 2ef332085c Refactor: move input types to separate module 2022-05-07 09:39:53 +03:00
Reinis Mazeiks 6a5a3f47cc Remove allow(deprecated) to bring back the warnings 2022-05-07 00:59:12 +03:00
Reinis Mazeiks 0dbd3e370e Rusty MouseData API 2022-05-06 23:54:07 +03:00
Aster 8d42191d7a Add From trait to convert web_sys Events to html Data 2022-02-12 20:57:13 +08:00
Jonathan Kelley 95bd17e38f wip: more raw ptrs 2021-11-05 18:02:44 -04:00
Jonathan Kelley 601078f9cf fix: desktop and mobile 2021-10-22 01:16:39 -04:00
Jonathan Kelley cfc24f5451 feat: support innerhtml 2021-10-18 18:07:19 -04:00
Jonathan Kelley 285b33dd38 docs: update readme 2021-10-12 02:00:09 -04:00
Jonathan Kelley 4a4c7afca7 feat: shared state mechanisms 2021-10-11 15:35:20 -04:00
Jonathan Kelley da4423c141 bugs: fix web list issue 2021-10-10 22:27:08 -04:00
Jonathan Kelley 51e20052d9 polish: and publish 2021-09-24 20:53:58 -04:00
Jonathan Kelley 823adc0834 polish: clean up the web module 2021-09-24 20:11:30 -04:00
Jonathan Kelley 718fa14b45 feat: a cute crm 2021-09-24 01:24:03 -04:00
Jonathan Kelley 1a2f91ed91 polish: examples 2021-09-24 00:05:56 -04:00
Jonathan Kelley adf202eab9 wip: more doc 2021-09-20 17:36:39 -04:00
Jonathan Kelley dfaf5adee1 Feat: solve some issues regarding listeners 2021-07-24 00:29:23 -04:00
Jonathan Kelley 05c909f320 wip: some ideas 2021-07-18 03:54:42 -04:00
Jonathan Kelley 583fdfa561 docs: big updates to the reference 2021-07-16 16:11:25 -04:00
Jonathan Kelley 8f0bb5dc5b chore: cleanup workspace 2021-07-15 18:40:12 -04:00
Jonathan Kelley 3bedcb93ca feat: svgs working in webview 2021-07-15 12:18:11 -04:00
Jonathan Kelley de9f61bcf4 feat: more suspended nodes! 2021-07-14 23:18:02 -04:00
Jonathan Kelley 996247a164 wip 2021-07-13 15:34:12 -04:00
Jonathan Kelley 4091846934 feat: add aria 2021-07-13 00:56:39 -04:00
Jonathan Kelley c79d9ae674 feat: buff up html allowed attributes 2021-07-12 23:44:20 -04:00
Jonathan Kelley 56e7eb83a9 wip: more examples 2021-07-11 19:31:07 -04:00
Jonathan Kelley e4cdb645aa feat: beaf up the use_state hook 2021-07-08 09:29:12 -04:00
Jonathan Kelley 7aec40d57e feat: enable arbitrary body in rsx! macro 2021-07-07 18:17:00 -04:00