Emil Ernerfeldt
8d98763fe1
Replace #[allow attributes with expect ( #7796 )
...
We do have `clippy::allow_attributes` turned on, but it doesn't seem to
work properly
2025-12-19 20:55:50 +01:00
Emil Ernerfeldt
b2995dcb83
Use Rust edition 2024 ( #7280 )
2025-06-30 14:01:57 +02:00
Emil Ernerfeldt
f9245954eb
Enable more clippy lints ( #6853 )
...
* Follows https://github.com/emilk/egui/pull/6848
2025-04-24 17:32:50 +02:00
Emil Ernerfeldt
af404fec63
Persist Area positions again ( #4749 )
...
* Reverts https://github.com/emilk/egui/pull/4577
We again persist area positions, but not sizes.
2024-07-01 17:33:03 +02:00
Emil Ernerfeldt
7b61e426d7
eframe web: map log::debug to console.debug; not console.trace
2024-07-01 16:25:48 +02:00
Emil Ernerfeldt
b766a48fa7
Update wgpu to 0.19 ( #3824 )
...
* Closes https://github.com/emilk/egui/issues/3675
---------
Co-authored-by: Andreas Reich <r_andreas2@web.de >
Co-authored-by: Mingun <Alexander_Sergey@mail.ru >
2024-01-19 10:14:13 +01:00
Emil Ernerfeldt
401de05630
Use Self everywhere ( #3787 )
...
This turns on the clippy lint
[`clippy::use_self`](https://rust-lang.github.io/rust-clippy/v0.0.212/index.html#use_self )
and fixes it everywhere.
2024-01-08 17:41:21 +01:00
Emil Ernerfeldt
5f742b9aba
Improve documentation of eframe, especially for wasm32 ( #3295 )
...
* Improve documentation of `eframe`, especially for wasm32
* remove dead code
* fix
2023-09-04 09:55:47 +02:00
Emil Ernerfeldt
3d6a15f442
Log warning instead of error when failing to decode RON in storage ( #2961 )
...
* Log warning instead of error when failing to decode RON in storage
* New web demo
* Clean up some warn/error logging
* Avoid deadlock that could happen on crash
* Log errors using console.warn, because console.error can cause crashes
* Use patched version of wasm-bindgen-cli, allowing >2GB memory
* New web demo
2023-04-27 09:45:44 +02:00
Emil Ernerfeldt
9c9a54ce36
Replace tracing with log ( #2928 )
...
* Replace tracing crate with log
It's just so much simpler to use
* Add `bacon wasm` job
* eframe: add a WebLogger for piping log events to the web console
2023-04-18 21:11:26 +02:00