* Remove invalid global data attribute
Removes the non-existent global 'data' attribute from HTML global
attributes that was referencing broken MDN documentation. HTML
specification only supports data-* custom attributes and the
<data> element, not a global 'data' attribute.
Fixes#4241
* fix other attributes using datas
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* Cache hashed assets forever in fullstack
* fix clippy
* fix fullstack test port
* fix fullstack clippy
* fix double insertion of meta in fullstack test
* pull out head element changes
* Fix cli-optimization test when interrupted
* remove tests for raw assets
* fix playwright tests
* look for hash in asset name instead of building a manifest
* undo changes to cli
* fix clippy
* fix test_file_name_looks_immutable
* Fixes issue with the file dialog showing only folders and not files when the <input> element has no "accept" attribute.
* Handle spaces between file extensions in the accept attribute of file type input elements
* Use different release profiles for desktop and server builds
* fix clippy
* change the global cargo config instead of the local one
* fix merge
* fix release profile logic
* use adhoc profile generation
* fix compilation of dioxus-lib in fullstack
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* feat: Opt-out `html` in `dioxus-router`
* typo: Enable html by default
* Fix cargo doc on html
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* Translate position to account for the display scaling factor.
* re-generate JS bindings
* dont change cargo lock
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* Allows desktop apps to open mailto links
* Drop webbrowser, use `open` only
* switch to that_detached
* use workspace `open`
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* Switch to owned listener type
* remove html event workaround
* fix event conversion
* keep track of the origin scope
* fix clippy
* fix docs
* Use "ListenerCallback" instead of "ListenerCb"
* Add a small example
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* Pass args after -- to the executable during run and serve
* fix clippy
* switch to accepting a string argument for subcommand compatibility
* Handle merging with `@server` and `@client`
* fix clippy
* fix formatting
* always build into the client package
* fix clippy
* more clippy fixes
* white-list .rcgu.o files in the linking phase, otherwise dump them into the normal linking pile
* simplify a bit
* remove noisy trace
* remove wrong comment
* Fix deduping assets
* hash assets in the linker
* fix extracting assets
* Fix the hashed asset name
* deserialize the asset back from the link section
* prevent the read from being inlined
* remove some extra logs
* Fix liveview routing
* Only look for direct dependencies on dioxus features
* fix wasm split test
* On wasm, create a new object file with the asset information
* Fix multiple assets
* add a regression test for 3467
* fix image link
* fix linker out file
* fix linux linker args
* add windows linker command
* fix linux link args
* fix windows target triple
* Expose an option to build assets in the linker intercept
* Fix the standalone optimizer and document it in the dx help command
* include the cli opt version in the hash
* fix clippy
* fix ssg port
* add a safety note to the read_volatile call
* move found assets log
* fix some merge conflicts
* fix build
* make most env var for the linker optional
* guess the target triple when dx acts as the linker intercept
* automatically find the linker for normal builds
* use the right linker in wasm mode
* fix mac linker
* look inside archive files (rlibs)
* remove out.txt
* fix clippy
* fix typo
* fix clippy
* fix build
* fix dx link name in docs
* ignore libcompiler_builtins warnings
* fix playwright
* pass typocheck
* fix printing sysroot
* Modify final binary
* fix wasm assets
* remove old link section logic
* fix tests
* forward manganis export args
* fail to evaluate relocatable address
* retain all exports in the same pattern as other platforms
* Fix adding assets during a wasm hot patch
* less nesting and remove logs
* fix clippy
* log pdb files
* read from pdb
* print data section contents
* print with object
* normal windows builds working
* fix hot patch windows
* clean up logs
* fix clippy
* clean up assets
* use the most recent pdb
* fix doc test
* fix typo
* tiny nits
* make bundled a reference instead of a pointer
* add helpful comment to impl
* match on file format
* Fix asset hashing comment
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* Update to use latest Blitz net traits
* Pass url to flush_style_attribute
* Add system-fonts feature to dioxus-native
* Native: cleanup log output
* Make dioxus-native work with Blitz simplified Document and Renderer traits
* Native: upgrade to event refactor
* Upgrade to blitz 0.1.0-alpha.2
* Add typo exception
Signed-off-by: Nico Burns <nico@nicoburns.com>
* Ensure root_id is set to <main> element
---------
Signed-off-by: Nico Burns <nico@nicoburns.com>
* subsecond/cli: fix passing through -fuse-ld for LinkerFlavour::Gnu
* if linker isn't a relative, local path, keep it unresolved since its a command on PATH
* disable precompress by default
* go back to nuking wasm dir in some cases
* enable more wasm-opt flags, use stable
* add better logging for wasm-opt failure