Commit Graph
189 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
Jonathan Kelley 2ae3241cc0 Merge branch 'master' into jk/breaking-merged 2024-01-11 16:04:36 -08:00
Jonathan Kelley d9b84f9f8f Disambiguate expressions in rsx by requiring curlies 2024-01-10 19:33:34 -08:00
Evan Almloff 55f76fede6 work on fixing some core tests 2024-01-10 19:21:15 -06:00
ealmloff 6c9c081f5c Merge branch 'DioxusLabs:master' into fix-native-core-leak 2023-12-07 06:27:00 -06: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
Jani MustonenandJani Mustonen 31f8bab20d Add ScopeId::ROOT (#1398)
* add ScopeId::ROOT

* replace ScopeId(0) with ScopeId::ROOT

---------

Co-authored-by: Jani Mustonen <jani.mustonen@taitounited.fi>
2023-08-25 08:31:23 -05:00
Evan Almloff 0d773eac63 fix clippy 2023-08-15 10:37:27 -05:00
Evan Almloff 9c2e713dae fix recycling nodes in native core 2023-08-15 09:30:43 -05:00
Evan Almloff 24c626b306 fix clippy 2023-08-08 13:43:57 -07: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
Jonathan Kelley f4b3be1b13 Merge pull request #940 from Demonthos/make-widgets-cross-framework 2023-07-11 20:47:01 -07:00
Evan Almloff d99a5f3338 Merge branch 'master' into make-widgets-cross-framework 2023-06-30 12:44:15 -07:00
marc2332 5ea04017e9 renamed the feature 2023-05-20 22:57:17 +02:00
marc2332 c741a32f4a resolved conflicts 2023-05-20 22:10:54 +02:00
marc2332 02355ddd4c feat: Move layout_attributes behind a feature in native-core 2023-05-20 22:06:35 +02:00
Nico Burns 287227bf48 Fix clippy lints 2023-05-17 13:13:57 +01:00
Nico Burns 67d99b3a16 Add support for parsing grid value of Display property 2023-05-16 20:24:44 +01:00
Nico Burns 8010d9b4e3 Fix unused import 2023-05-16 19:15:29 +01:00
Nico Burns c1f7600085 native-core: add support for CSS Grid properties 2023-05-16 19:10:11 +01:00
Nico Burns 2b0a86701e Upgrade Taffy to v0.3.12] 2023-05-16 10:46:13 +01:00
Evan Almloff ed4709101c fix duplicate example names 2023-05-02 09:38:58 -05:00
Evan Almloff 9877b0f0b1 finish shadow dom docs 2023-04-17 12:41:54 -05:00
Evan Almloff efa7305794 Port widgets to the new system 2023-04-13 10:29:38 -05:00
Evan Almloff 4e582d0374 custom element test passing 2023-04-12 11:35:57 -05:00
Evan Almloff 43372c7609 Merge branch 'upstream' into make-widgets-cross-framework 2023-04-12 10:06:58 -05:00
Evan Almloff 788c00274e create a shadow dom when a custom element is mounted 2023-04-12 10:05:09 -05:00
Evan Almloff d29514968f fix native core dependancies in a different direction than the pass direction 2023-04-10 11:12:54 -05:00
Evan Almloff 500a73abae allow registering custom element and fix deadlock 2023-04-08 19:01:48 -05:00
Evan Almloff 60be849ff0 handle passes entering or avoiding the shadow tree 2023-04-08 18:53:53 -05:00
Evan Almloff 32945998c3 implement removing subtrees 2023-04-07 11:23:37 -05:00
Evan Almloff 874956bc50 intial implementation of shadow trees 2023-04-07 11:11:46 -05:00
Evan Almloff b2c87f5c47 create scafolding for the shadow dom 2023-04-06 16:59:25 -05:00
Evan Almloff 8b5f2cb02f Merge branch 'upstream' into make-widgets-cross-framework 2023-04-06 14:07:01 -05:00
Evan Almloff a9b5c92fbb avoid duplicating dirty nodes in native core 2023-03-28 08:35:57 -05:00
Evan Almloff e4cb8c3aa0 fix Dirty Nodes for large NodeIds 2023-03-24 13:41:00 -05:00
Evan Almloff 6bc9bc6ef9 fix nodes not being marked as dirty with multiple mutations 2023-03-24 12:57:19 -05:00
Evan Almloff 625dc662d2 make TUI widgets cross framework 2023-03-24 12:43:51 -05:00
Evan Almloff f0bcb3c2c6 make dioxus intigration generic over custom value type 2023-03-19 07:14:35 -05:00
Evan Almloff 9a16687bdc fix custom attribute values and add example 2023-03-18 07:16:53 -05:00
Evan Almloff a37b29947b Remove the box::new passed into RealDom::new 2023-03-14 16:35:11 -05:00
Evan Almloff 4b81cdbf1b Update custom renderer guide 2023-03-14 16:06:32 -05:00
Evan Almloff ae1300b015 improve ergonomics of custom drivers and add a counter example to rink 2023-03-13 21:26:44 -05:00
Evan Almloff b255800511 fix TUI and tests building 2023-03-13 18:09:20 -05:00
Evan Almloff daac9f540f document every item in native-core 2023-03-13 17:49:37 -05:00
Evan Almloff ad374a8b9d fix formatting and lints 2023-03-13 10:03:45 -05:00
Evan Almloff c4845d5c8d update TUI to new native-core 2023-03-12 16:20:01 -05:00
Evan Almloff 865c5aa957 all native-core tests passing 2023-03-12 15:35:48 -05:00
Evan Almloff ec3e02e4bb finish macro 2023-03-12 08:26:16 -05:00
= bab3c8d584 WIP: derive macro 2023-03-08 09:06:21 -06:00