Commit graph

147 commits

Author SHA1 Message Date
Evan Almloff
a789d6a64e make eval copy 2024-02-02 14:47:59 -06:00
Jonathan Kelley
6ed3aafb2f
Get cargo check --all working 2024-01-18 19:27:55 -08:00
Evan Almloff
940108f242 fix hydration 2024-01-15 13:23:35 -06:00
Evan Almloff
cfebb6c900 remove async-channel now that context and eval is global 2024-01-15 11:46:00 -06:00
Jonathan Kelley
2ae3241cc0
Merge branch 'master' into jk/breaking-merged 2024-01-11 16:04:36 -08:00
Jonathan Kelley
8ef7503a90
fix playwright tests by fixing inlinejs 2024-01-08 13:58:47 -08:00
Evan Almloff
56798b3d1c Merge branch 'master' into add-file-data-drag-event 2024-01-08 14:16:09 -06:00
Evan Almloff
44ccdba0fe remove wasm-bindgen cache (we use sledgehammer) 2024-01-06 16:56:07 -06:00
Evan Almloff
dccfba12d8 Merge branch 'master' into events-2 2024-01-04 19:02:00 -06:00
Jonathan Kelley
a2f44be2a2
Merge branch 'master' into binary-protocal 2024-01-04 10:17:10 -08:00
w3irdrobot
2321c1ad44
add error log when root element isn't found (#1724) 2023-12-15 17:55:19 -06:00
Evan Almloff
33f0f0c172 fix clippy 2023-10-20 09:38:10 -05:00
Evan Almloff
f20b740abe switch liveview to sledgehammer 2023-10-09 14:28:12 -05:00
Evan Almloff
219c068283 Merge branch 'master' into events-2 2023-09-17 20:01:21 -05:00
Evan Almloff
847801908f Merge branch 'master' into add-file-data-drag-event 2023-09-17 18:56:59 -05:00
marc2332
7f8c963cd9
fix: Update doc links from v3 to v4 2023-09-16 19:03:27 +02:00
Evan Almloff
de0c34ec60 fix hydrate example 2023-09-12 09:07:57 -05:00
Evan Almloff
6e74d08bf5 remove log from a few examples 2023-09-11 19:42:08 -05:00
Evan Almloff
c55c17cb81 switch to tracing for logging 2023-09-06 17:47:33 -05:00
Evan Almloff
b54f7dd5d2 fix no default features on the web renderer 2023-08-25 21:28:44 -05:00
Brian Donovan
50230b6f71
build(web): fix default-features warning (#1296)
`cargo build` would print this warning:

```
warning: dioxus/packages/web/Cargo.toml: `default-features` is ignored for dioxus-html, since `default-features` was not specified for `workspace.dependencies.dioxus-html`, this could become a hard error in the future
```

Since it's being ignored anyway and that doesn't seem to be causing problems, I figured I'd remove it and get rid of the warning.
2023-08-04 12:51:17 -05:00
Jonathan Kelley
39e89c1fac
Bump crate versions, fix any publish errors 2023-07-31 18:49:54 -07:00
Evan Almloff
45d386810b create features for large web-sys events/types 2023-07-28 15:38:07 -07:00
Miles Murgaw
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
Andrea Frigido
dccad58f1d Update license field following SPDX 2.1 license expression standard 2023-07-20 18:00:07 +01:00
ealmloff
8a3d1e47b3
Merge branch 'master' into add-file-data-drag-event 2023-07-19 18:12:57 -07:00
Jonathan Kelley
5ceb4cc11e
Merge branch 'master' into timeout-count 2023-07-12 13:41:36 -07:00
Evan Almloff
7577019946 Merge branch 'master' into add-file-data-drag-event 2023-07-11 17:53:09 -05:00
Marc Espín
32d4472bfd
fix: Remove duplicated doc links and improved some descriptions (#1167) 2023-07-08 11:04:27 -05:00
Evan Almloff
c39f55920c fix CI tests 2023-06-19 14:57:58 -05:00
Evan Almloff
5f873511c5 use workspace dependancies 2023-06-19 14:29:11 -05:00
Miles Murgaw
d09c92beda
Add initial_value attribute & fix static special attribute handling (#1063)
* feat & fix: initial_value attribute, special attribute handling

* revision: rename js file

* fix: rustfmt

* fix: clippy

* fix: desktop not finding common.js

* fix: desktop failing to render

Missed a single ``this.SetAttributeInner`` as it was now ``setAttributeInner``
Javascript didn't even throw any errors about this smh

* revision: no need for match statement
2023-06-04 11:29:34 -05:00
Jonathan Kelley
c97f43146d bump hooks and web crates 2023-05-18 13:42:15 +02:00
Evan Almloff
ada246c12e add file property to drag data 2023-04-27 10:21:05 -05:00
Evan Almloff
bed1d58a77 create web file engine 2023-04-18 09:24:34 -05:00
Ivan Tham
05caa475b1 Add timeout count example 2023-04-09 22:54:18 +08:00
Jonathan Kelley
f420c6f333 bump web and interpreter 2023-02-16 13:42:49 -08:00
Evan Almloff
ea46db0966 enable hydration feature in dev-dependancies 2023-01-31 14:19:19 -06:00
Jonathan Kelley
7f01f61138 feat: publish 0.3 versions of many crates 2023-01-04 14:31:07 -05:00
Jon Kelley
051f85f78f
Merge branch 'master' into return-from-js 2022-12-09 13:19:05 -08:00
Evan Almloff
bf47f64852 Merge branch 'upstream' into return-from-js 2022-12-08 11:25:15 -06:00
Evan Almloff
e863ef29b8 allow returning values from use_eval 2022-12-08 10:44:56 -06:00
Evan Almloff
b79ad4f50e Merge remote-tracking branch 'upstream/master' into optimize-templates-v3 2022-12-07 17:20:31 -06:00
Evan Almloff
5c6c235df0 cleanup code 2022-12-07 15:48:25 -06:00
Jonathan Kelley
b182a6ee75 chore: clean up interpreter and bindings 2022-12-05 16:47:04 -08:00
Jonathan Kelley
18d6b1ad6f feat: get web working properly 2022-11-30 17:21:10 -05:00
Jonathan Kelley
073fea9ed3 Merge branch 'master' into jk/templates-v3 2022-11-16 22:24:21 -08:00
Demonthos
f21c8423eb
optimizations for wasm size (#582)
* optimize for size

* fix tests

* revert log feature

* make backtrace not optional

* remove dev feature from web dev-deps
2022-11-16 22:22:13 -08:00
Jonathan Kelley
90982e0ccb wip: start to refactor out hot reloading from packages
Also implement alternative simpler template system
2022-10-20 09:56:09 -07:00
saicu
e8c48d46cf
replace fxhash crate with rustc-hash (#588) 2022-10-12 18:27:26 -07:00