Commit graph

232 commits

Author SHA1 Message Date
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
Evan Almloff
eeab3658d4 bump sledgehammer bindgen to stable 2024-03-13 19:05:42 -05: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
bb5ecd779f
clean up some examples, ensuring stuff works 2024-03-06 19:50:07 -08:00
Jonathan Kelley
2995647e99
trim line feeds 2024-03-06 19:18:41 -08:00
Jonathan Kelley
c99c07db0c
warn 2024-03-06 18:59:27 -08:00
Jonathan Kelley
a2907d138d
dont even hash it! 2024-03-06 18:59:15 -08:00
Jonathan Kelley
c75aa48c74
add warning 2024-03-06 18:43:19 -08:00
Jonathan Kelley
f073322bb3
use md5 instead 2024-03-06 18:43:07 -08:00
Jonathan Kelley
f65ded2cb4
raw bytes instead of str 2024-03-06 18:16:09 -08:00
Jonathan Kelley
99748a611c
move debug 2024-03-06 17:59:05 -08:00
Jonathan Kelley
8df87c64c0
debug windows build 2024-03-06 17:54:20 -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
fa04edfed7
use hashmap defaulthasher 2024-03-06 00:11:21 -08:00
Jonathan Kelley
73e7c3e560
Attempt order invariance 2024-03-06 00:05:42 -08:00
Jonathan Kelley
45b824346c
attempt fix on inter 2024-03-05 23:49:27 -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
39d6580eca
use git version of sledgehammer 2024-03-05 15:14:07 -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