Commit Graph
194 Commits
Author SHA1 Message Date
Evan Almloff 6234f60b0e Fix desktop drag events that don't have associated files (#2358) 2024-04-25 13:34:21 -04:00
Jonathan Kelley 0a3291084f Use a VecDequeue instead of a vec for bytes (#2246)
* Fix: add both the rAF queue and vecdequeue

* Fix: Take before recycle
2024-04-04 16:29:28 -07:00
Jonathan Kelley aca38e6a34 Fix typo is style tag removal (#2220) 2024-04-01 16:01:44 -05:00
Mattia Schiano 266551e7c9 Allow <input type="file"> without event handlers to open web view file dialog on Desktop (#2134)
* Allowing webview file picker

* cargo fmt
2024-03-24 14:23:29 -07:00
Jonathan Kelley e923c6462c Resume window position/size, watch cargo/dioxus tomls, fix css reverting during hotreloading, allow menubar events to be captured from within dioxus (#2116)
* Fix: css hotreloading being invalidated, watcher not watching cargo/dioxus tomls, add feature to restore window state

* Make clappy hippier

* remove console log

* use simpler css invalidator

* Less flash, remove log on web hotreload

* Fix floating window managed behavior on mac

* clippy...
2024-03-20 09:16:18 -07:00
Jonathan Kelley 2dc6cecf2e Fix #2043: use formvalue instead of String for forms (#2103)
Fix #2043: use formvalue instead of String for forms
2024-03-18 18:21:08 -07:00
Jonathan Kelley b05ea0b202 FIx: pushroot should actually push the right root on native mutations 2024-03-07 18:02:44 -08:00
Jonathan Kelley feb80ce509 remove old interpreter 2024-03-06 20:24:37 -08:00
Jonathan Kelley 2995647e99 trim line feeds 2024-03-06 19:18:41 -08:00
Jonathan Kelley a2907d138d dont even hash it! 2024-03-06 18:59:15 -08:00
Jonathan Kelley f073322bb3 use md5 instead 2024-03-06 18:43:07 -08:00
Jonathan Kelley e02e41d6f1 Attempt even dumber hashing mechanism 2024-03-06 17:43:43 -08:00
Jonathan Kelley 60616d0ba7 fix liveview 2024-03-06 17:26:52 -08:00
Jonathan Kelley 1f6195b2ec try new hashing strategy 2024-03-06 17:05:03 -08:00
Jonathan Kelley 81f38a0bc5 cfg out globalhotkey 2024-03-06 16:42:45 -08:00
Jonathan Kelley f7f416ee3a Fix hydration 2024-03-06 12:19:59 -08:00
Jonathan Kelley 713ab98dd3 fix els bug 2024-03-06 02:08:18 -08:00
Jonathan Kelley 95d7012c8d fix hashing system, bump wasm-bindgen 2024-03-06 02:00:24 -08:00
Jonathan Kelley 73e7c3e560 Attempt order invariance 2024-03-06 00:05:42 -08:00
Jonathan Kelley 4b2e426958 clippy, and don't hash invisible files for ts generation 2024-03-05 22:38:38 -08:00
Jonathan Kelley 624e58bd78 native file drop 2024-03-05 14:11:12 -08:00
Jonathan Kelley 78d16536a7 wip: native file handles when dropping 🎉 2024-03-05 13:57:28 -08:00
Jonathan Kelley 403e8e2f49 Clean up file uploads in desktop/liveview, remove minify 2024-03-05 13:00:27 -08:00
Jonathan Kelley 56a365742c clean up native js more 2024-03-05 12:08:33 -08:00
Jonathan Kelley b751674354 Web works with the js structure 2024-03-05 11:16:34 -08:00
Jonathan Kelley 16b38e339d Merge branch 'main' into jk/fix-form-inputs 2024-03-04 17:46:38 -08:00
Jonathan Kelley 22266cc560 Switch to bun, clean up web implementation 2024-03-04 15:23:48 -08:00
Jonathan Kelley 199173a409 fix navigating when files are dropped 2024-03-01 23:37:46 -08:00
Jonathan Kelley 0ff0eb7846 Use the platform as the base interpreter instead of trying to extend it 2024-03-01 14:23:53 -08:00
Evan Almloff 8a969a26dc make interpreter extend the interpreter core class 2024-02-28 11:22:15 -06:00
Jonathan Kelley f196514b4f change serialization 2024-02-27 19:23:36 -08:00
Jonathan Kelley 925d0617da add glue to webonly interpreter 2024-02-27 16:39:40 -08:00
Jonathan Kelley 774fba85e4 track the configs too 2024-02-27 16:36:25 -08:00
Jonathan Kelley f447f01403 Commit js 2024-02-27 16:33:34 -08:00
Jonathan Kelley 4b64894fc5 Add proper bundling to tsc 2024-02-27 16:33:18 -08:00
Evan Almloff fe839ab347 Move some global variables in the interpreter into locals in the interpreter 2024-02-27 15:15:12 -06:00
Jonathan Kelley bdacca0dfb use this. on the unified bindings 2024-02-27 12:55:47 -08:00
Jonathan Kelley 206a48257b Merge branch 'main' into jk/fix-form-inputs 2024-02-27 12:50:57 -08:00
Jonathan Kelley b5447c162f extend interpreter base class with platform methods 2024-02-27 12:31:11 -08:00
Evan Almloff 93ee53454f bump the sledgehammer bindgen version 2024-02-27 10:35:16 -06:00
Jonathan Kelley 7f60010c1e set up a typescript pipeline for interpreter 2024-02-23 18:52:21 -08:00
Jonathan Kelley 53cafefdef wip: add tests and slightly refactor interpreter code 2024-02-23 17:38:04 -08:00
Jonathan Kelley eff1dd6c90 Merge branch 'master' into breaking 2024-01-30 16:20:19 -08:00
Ege Gungordu d3ded8c677 add isComposing support of KeyboardEvent 2024-01-23 18:31:14 +03:00
Jonathan Kelley 6ed3aafb2f Get cargo check --all working 2024-01-18 19:27:55 -08:00
Jonathan Kelley 451a2b6cfc Trim off 150 deps for examples 2024-01-18 12:32:01 -08:00
Evan Almloff 694bef0d93 fix hydration 2024-01-18 10:47:10 -06:00
Evan Almloff 9a38331826 restore liveview renderer 2024-01-15 11:28:27 -06:00
Jonathan Kelley 2ae3241cc0 Merge branch 'master' into jk/breaking-merged 2024-01-11 16:04:36 -08:00
Evan Almloff 56798b3d1c Merge branch 'master' into add-file-data-drag-event 2024-01-08 14:16:09 -06:00