Commit Graph
34 Commits
Author SHA1 Message Date
Jonathan Kelley bdeedc13eb feat: router-based wasm bundle splitting (#3683)
* feat: wasm-split base implementation

* kinda sorta works with the cli

* okay great it actually works

* fix: cache busting for chunks

* cleaned up version

* it works with the router

* wip: migrate to a faster linear solution using id remapping

* add a good harness

* it works completely on the docsite

* the super tight build works too

* make parallelizable

* works on the docsite but not the harness

* light cleanups, fix for both harness and docsite

* make codegen smaller by extract some shared functions to prevent monos

* chunking works, but tbd on tuning heuristics

* extract used module

* wip: cleaning up module

* wip: much better understanding of how imports work

* fix the call graph

* working again...

* wip: thinking about ifuncs

* ifunc approach works

* yes the ifunc approach works!!

* it all works completely even with chunks

* small cleanups

* comments

* actually locate all of the symbols

* clean up final implementation

* clean up tomls, revert some mono changs

* clean up, add some more comments / docs in places

* hoist more packages

* clean up impl a bit more

* clean cli

* move harness to playwright

* update playwright

* extract codgen

* add lazy to components

* Add docs to split loader

* clippy

* typos

* clippy, don't generate splits if not on wasm

* whoops, const

* Typos and docs

* enable optimizations in ci

* add optimizations to ci

* add wasm-split router feature

* parallel playwright?

* fix no case check

* disable pre-compress... think that might be the issue

* better logging, no default pre-compress, caching of shared symbols
* Fix: compressing assets

* fix non-interactive logging for serve

* cache playwright even on failure, use the cli with optimizations

* fix prebuild

* fix playwright webserver
2025-02-13 18:54:38 -08:00
Jonathan Kelley 8a2922c663 feat: allow android apps with any name, fix android + windows for aarch64 target (#3213)
* use llvm objcopy to rename syms
* use handlebars
* it works!
* remove linker code
* better docs internally about dev.dioxus.main
* use bundle identifier
* double check bundle identifier is proper
2024-11-13 18:48:21 -05:00
Jonathan Kelley 3fb1f739d1 Simplify cli-config, hotreload -> devtools (drop to 0 deps, fast compile times) (#2975)
* simplify cli-config crate
* clean up configs
* add devtools crate, update cargo imports
* fix serve addr, fix websocket proxy issue
* add comment about opt profiles
* rename hot-reload to devtools
2024-09-17 17:18:23 -07:00
Miles MurgawandJonathan Kelley 856fadc9d6 Splash Screens (#2657)
* progress: loading splash screen

* feat: loading screen plash

* feat: splash screens

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-07-23 10:22:49 -07:00
Jonathan Kelley d4831edcf7 edit settings.json to disable format on save for the repo (#2572) 2024-07-02 12:18:25 -07:00
Jonathan Kelley ad7a350d2e fix hotreloading issues in the CLI 2024-03-12 13:39:42 -07:00
Jonathan Kelley 403e8e2f49 Clean up file uploads in desktop/liveview, remove minify 2024-03-05 13:00:27 -08:00
Jonathan Kelley 214a907adc Upgrade to axum 0.7, drop 3rd party adapters 2024-02-15 18:05:30 -08:00
Jonathan Kelley 22a5acfcb8 Remove SSR evalulator 2024-02-14 16:38:05 -08:00
Jonathan Kelley bc707db832 chore: make clippy happy and limit workspace checks 2022-12-29 00:46:02 -05:00
Jon Kelley 540e785d8b Less clumsy configuration for desktop and mobile (#553)
* chore: dont use prebuilt builder pattern for configuring desktop

* chore: use regular config pattern for web

* Chore: update docs too

* chore: clean up some warnings
2022-09-13 16:22:27 -07:00
t1m0t 3f97cbdaa5 format on save: toml excluded 2022-02-01 21:44:21 +01:00
t1m0t 8ad3f85872 fix ordering to match original one 2022-02-01 21:13:18 +01:00
Jonathan Kelley 4de16c4779 docs: update local examples and docs to support new syntaxes 2021-12-15 15:56:53 -05:00
Jonathan Kelley 82953f2ac3 wip: threadsafe 2021-10-01 02:07:12 -04:00
Jonathan Kelley 718fa14b45 feat: a cute crm 2021-09-24 01:24:03 -04:00
Jonathan Kelley 098d3821ed wip: changes to scheduler 2021-09-22 01:25:28 -04:00
Jonathan Kelley b32e2611e3 polish: clean up warnings 2021-09-21 18:13:09 -04:00
Jonathan Kelley bf6a149c3b Chore: ignore settings 2021-02-24 09:50:53 -05:00
Jonathan Kelley 06ae4fc178 Feat: wire up rebuild 2021-02-24 03:51:26 -05:00
Jonathan Kelley 4d01455729 Feat: update websys with lifecycle 2021-02-24 02:22:05 -05:00
Jonathan Kelley 5204862bc2 Feat: fix internal lifecycle 2021-02-24 01:31:19 -05:00
Jonathan Kelley bdc25b581b Feat: finally solve the component lifetime problem <3 2021-02-20 22:57:13 -05:00
Jonathan Kelley c4e8d8bb31 Feat: wire up a very basic dom updater 2021-02-14 23:39:46 -05:00
Jonathan Kelley 4c291a0efd Feat: remove generic paramter on VDOM
This makes storage of VDoms easier, and removes static dispatch on any function that relies on VDOMs.
2021-02-13 03:19:35 -05:00
Jonathan Kelley 8295ac4b3d Feat: major overhaul, wire up event system 2021-02-12 03:07:35 -05:00
Jonathan Kelley f47651b32a Feat: overall API updates 2021-02-12 00:29:46 -05:00
Jonathan Kelley c97a9647e3 Feat: update solved problems with context API 2021-02-10 12:48:02 -05:00
Jonathan Kelley e939373616 Feat: capture pointer type 2021-02-07 16:21:38 -05:00
Jonathan Kelley 2c2882c9a2 Feat: more updates to hooks 2021-02-07 14:59:34 -05:00
Jonathan Kelley 07341d2c65 Feat: include the helper 2021-02-03 02:26:04 -05:00
Jonathan Kelley a2406b33d6 Feat: updates to docs, extension 2021-01-29 11:57:52 -05:00
Jonathan Kelley 65d0d611ea Feat: add webview example 2021-01-22 15:50:16 -05:00
Jonathan Kelley ce34d0dfcd Feat: WIP 2021-01-14 20:56:28 -05:00