Commit Graph
29 Commits
Author SHA1 Message Date
Evan AlmloffandJonathan Kelley cbeda0af76 Refactor and fix eval channels (#2302)
* wip

* pull out eval into the interpreter

* fix web eval

* fix DioxusChannel name

* properly drop dioxus channel

* use typescript dioxus chanel in desktop

* add more comments to native eval

* add desktop headless eval tests

* expand web playwright eval tests

* fix web headless tests

* fix default hasher path

* run eval tests on windows

* restore desktop query drop code

* remove data from drop desktop query message

* catch syntax errors in desktop eval

* catch js runtime errors in desktop

* fix typo interprerter -> interpreter

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-04-26 11:55:48 -04: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 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 1f6195b2ec try new hashing strategy 2024-03-06 17:05:03 -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 b751674354 Web works with the js structure 2024-03-05 11:16:34 -08:00
Jonathan Kelley 199173a409 fix navigating when files are dropped 2024-03-01 23:37:46 -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
Jonathan Kelley b5447c162f extend interpreter base class with platform methods 2024-02-27 12:31:11 -08:00
Jonathan Kelley 7f60010c1e set up a typescript pipeline for interpreter 2024-02-23 18:52:21 -08:00
Jonathan Kelley ca0d7dc268 fix: remove code generation 2022-02-04 01:56:54 -05:00
Jonathan Kelley b4923b2b81 ci: move gen folder out of src 2022-02-01 16:07:50 -05:00
Jonathan Kelley 71656adc89 publish: generate our bindings.rs file from an inlinejs snippet 2022-02-01 15:54:32 -05:00
Jonathan Kelley ee67a041d2 feat: turn interpreter into crate 2022-02-01 15:38:48 -05:00