Commit graph

519 commits

Author SHA1 Message Date
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
2ae3241cc0
Merge branch 'master' into jk/breaking-merged 2024-01-11 16:04:36 -08:00
Evan Almloff
404c864246 make the root component take no arguments 2024-01-11 10:48:04 -06:00
Jonathan Kelley
d9b84f9f8f
Disambiguate expressions in rsx by requiring curlies 2024-01-10 19:33:34 -08:00
Evan Almloff
4a1a00b0f0 fix dioxus ssr 2024-01-10 17:57:15 -06:00
Jonathan Kelley
4a39f71143
get more space on the test runner 2024-01-08 18:26:56 -08:00
Jonathan Kelley
8ef7503a90
fix playwright tests by fixing inlinejs 2024-01-08 13:58:47 -08:00
Evan Almloff
194c9d43e3 fix merge 2024-01-08 14:51:35 -06:00
Evan Almloff
56798b3d1c Merge branch 'master' into add-file-data-drag-event 2024-01-08 14:16:09 -06:00
Jonathan Kelley
44c9697021
Fix merge conflicts 2024-01-08 10:26:33 -08:00
Jonathan Kelley
7f6e2dd64b
Merge branch 'master' into get-parsed-values-for-form-values 2024-01-08 09:57:03 -08:00
Evan Almloff
9ef4f465a6 fix formatting 2024-01-06 16:57:54 -06:00
Evan Almloff
44ccdba0fe remove wasm-bindgen cache (we use sledgehammer) 2024-01-06 16:56:07 -06:00
Evan Almloff
88e2da6c11 update the web renderer to the new dioxus core 2024-01-06 16:44:07 -06:00
Evan Almloff
f3ad445882 fix hydration 2024-01-06 09:08:51 -06:00
Evan Almloff
e5df83ceec Merge branch 'master' into pr/atty303/1349 2024-01-06 08:52:37 -06:00
Evan Almloff
0388a5c1f4 fix formatting 2024-01-04 19:21:06 -06:00
Evan Almloff
0b40878fce fix cargo check 2024-01-04 19:11:32 -06:00
Evan Almloff
dccfba12d8 Merge branch 'master' into events-2 2024-01-04 19:02:00 -06:00
Jonathan Kelley
1a8bf13ff5
Merge branch 'master' into resilient-hydration 2024-01-04 10:28:41 -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
0a7873fcd0 merge upstream 2023-12-30 14:12:21 -06:00
Hampus Lidin
0166eafafb
Send mount event when hydrating (#1764) 2023-12-30 13:53:12 -06:00
Evan Almloff
f34053c18f fix formatting 2023-12-27 10:32:01 -06:00
Evan Almloff
9e9b7a2459 fix clippy 2023-12-27 10:23:56 -06:00
Evan Almloff
e2646e655e fix hydration after suspense 2023-12-27 10:17:18 -06:00
Evan Almloff
2d7d721fd6 make hydration more resilient using ids to hydrate 2023-12-19 16:02:07 -06:00
w3irdrobot
2321c1ad44
add error log when root element isn't found (#1724) 2023-12-15 17:55:19 -06:00
Evan Almloff
0e3fd225a8 Merge branch 'master' into binary-protocal 2023-12-08 08:44:04 -06:00
Exotik850
fc31876a57
Wasm target check before build (#1689)
* Add `rustup show` check for wasm32 target

* better place for check

* fmt

* clippy fmt
2023-12-07 12:35:16 -06:00
Evan Almloff
355cd9b19e Merge branch 'master' into pr/atty303/1349 2023-11-20 18:37:33 -06:00
Bunny Bites
cf77325f67 fix code format issues (pipeline) 2023-11-14 23:27:50 +05:30
ealmloff
4631050a04
fix FormValue 2023-11-14 10:52:39 -06:00
Bunny Bites
c6b39c05b7 1. remove value_types from FormData.
2. modify type of values to accept dynamic type.
2023-11-10 11:44:19 +05:30
Bunny Bites
2cbbdc23c6 add impl fn for FormData to get input types 2023-11-09 11:04:47 +05:30
Evan Almloff
7590cf822d fix the scroll event on the web renderer 2023-11-02 21:00:43 -05:00
Evan Almloff
77d53df532 Merge branch 'master' into pr/atty303/1349 2023-10-31 13:39:20 -05:00
ealmloff
5bb06b9719
Merge branch 'master' into events-2 2023-10-30 15:37:29 -05:00
Evan Almloff
9abc390d04 bench 2023-10-20 13:21:27 -05:00
Evan Almloff
33f0f0c172 fix clippy 2023-10-20 09:38:10 -05:00
Leonard
2d1234c3d1
Include README and Dioxus logo in package docs (#1536)
* Include README in docs.rs and add Dioxus logo

* Update README.md
2023-10-10 10:52:48 -05:00
Evan Almloff
f20b740abe switch liveview to sledgehammer 2023-10-09 14:28:12 -05:00
Evan Almloff
eb15014b9d fix hydration mounted element 2023-10-03 16:42:42 -05:00
Evan Almloff
c137357094 fix hydration 2023-09-27 10:22:49 -05:00
Evan Almloff
d3eefe4a27 fix clippy 2023-09-19 09:16:58 -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
ealmloff
f449823d10
Merge branch 'master' into events-2 2023-09-12 09:33:54 -05:00
Evan Almloff
de0c34ec60 fix hydrate example 2023-09-12 09:07:57 -05:00
ealmloff
9ff5d24d42
Merge branch 'master' into tracing 2023-09-11 19:43:57 -05:00
Evan Almloff
6e74d08bf5 remove log from a few examples 2023-09-11 19:42:08 -05:00
Gijs de Jong
300cbf4fc6
Remove stray log (#1453) 2023-09-11 08:36:04 -05:00
Evan Almloff
3a02520ffa fix web onmount event 2023-09-08 10:32:48 -05:00
Evan Almloff
c55c17cb81 switch to tracing for logging 2023-09-06 17:47:33 -05:00
Stygmates
1b977fdce9
Add query segment example and documentation (#1417)
* fix a few new clippy lints

* Add query segment example

* Add trait documentation

* Change core package to root package

The core package contains the virtual dom implementation ([here](https://github.com/DioxusLabs/dioxus/tree/master/packages/core)). Root package might be a more clear way to refer to the main directory

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2023-09-02 10:24:30 -05:00
Evan Almloff
f812e52ccb Merge branch 'fix-new-clippy-lints' into events-2 2023-08-31 16:44:42 -05:00
Evan Almloff
364654e1fd fix clippy with events 2023-08-31 16:43:24 -05:00
Evan Almloff
177db238b9 add some inline hints 2023-08-28 17:55:23 -05:00
Evan Almloff
097eb2099c add extension to downcast web events 2023-08-28 17:16:56 -05:00
Evan Almloff
8ba1c05a93 fix desktop events 2023-08-28 16:37:19 -05:00
Evan Almloff
bd387d601c fix formatting 2023-08-28 15:49:46 -05:00
Evan Almloff
b54f7dd5d2 fix no default features on the web renderer 2023-08-25 21:28:44 -05:00
Evan Almloff
ca1a502714 use an event converter for bundle splitting 2023-08-25 21:03:03 -05:00
Evan Almloff
299b123446 trait based event system 2023-08-25 17:02:48 -05:00
Evan Almloff
3ac2346e46 fix a few new clippy lints 2023-08-25 07:54:04 -05:00
wooden-worm
f652474a6e
FileEngine: expose native file types on different platforms (#1258)
* Get native file

* Correct visibility
2023-08-17 08:03:56 -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
Evan Almloff
2d51a1c4f2 make more of core private 2023-07-26 16:17:48 -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
Evan Almloff
14867931a4 fix clippy 2023-07-20 13:51:26 -07:00
Evan Almloff
67a2d31f9c Merge branch 'master' into prevent-default-form-web 2023-07-20 13:42:14 -07: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
2871c8bb4d
Don't use boxed cell slice, use a refcell instead 2023-07-19 12:08:13 -07:00
Evan Almloff
fa97f5450f add nicer debug messaging in trace level for hydration 2023-07-14 16:16:13 -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
Jon Kelley
e3b4021d34
Merge pull request #898 from Demonthos/make-use-eval-web-Rc
Make web and desktop use_eval compatible
2023-06-30 12:15:22 -07:00
Jon Kelley
abccc7463f
Merge pull request #1010 from Demonthos/fix-onload-event
Fix the onload event
2023-06-30 12:14:35 -07: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
Evan Almloff
04f066ddb7 fix clippy 2023-06-19 08:22:50 -05:00
ealmloff
cf9ed74303
Merge branch 'master' into fix-onload-event 2023-06-19 08:16:40 -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
Jon Kelley
6bd3437e3a
Merge branch 'master' into server-fn 2023-05-18 13:18:41 +02:00
Jon Kelley
379ea09b12
Merge pull request #894 from Demonthos/query-system
Create onmounted Event
2023-05-18 13:17:15 +02:00
Evan Almloff
4a8542c28e fix response spelling 2023-05-11 18:40:02 -05:00
Evan Almloff
043aae1689 fix the onload event 2023-05-08 17:49:28 -05:00
Evan Almloff
19436e210f Merge branch 'upstream' into query-system 2023-05-05 11:09:25 -05:00
Evan Almloff
230afadf3d Fix web events starting on a text node 2023-05-03 09:00:17 -05:00
Attilio
c645e1c6aa
Allow multiple prevent default for Web, Desktop and LiveView (#987)
* Allow multiple prevent default in dioxus_web

* Use SplitWhitespace for prevent default requests

* Add multiple prevent default option to liveview and desktop

* Update docs about prevent_default attribute

* cargo clippy

* update prevent default guide example

---------

Co-authored-by: Evan Almloff <ealmlof1@stumail.jccc.edu>
2023-04-27 11:26:04 -05:00
Evan Almloff
ada246c12e add file property to drag data 2023-04-27 10:21:05 -05:00
Evan Almloff
e1f02f8135 Merge branch 'upstream' into query-system 2023-04-26 18:00:39 -05:00