Boris-Chengbiao Zhou
8eeb3e0d28
Fix resizable columns option in the table demo ( #2780 )
2023-03-29 15:53:56 +02:00
Samit Basu
f38904336b
Prefer the client width/height for the canvas parent ( #2804 )
2023-03-29 15:04:04 +02:00
Gabriel Féron
24eccca8e6
Only enable instant/wasm-bindgen when building for wasm32 architecture ( #2808 )
2023-03-29 14:59:45 +02:00
Ryan Hileman
73a011f83a
fix scroll bars not appearing ( #2826 ) ( #2827 )
2023-03-29 14:53:24 +02:00
YgorSouza
8ec9233e28
Add #![forbid(unsafe_code)] where unsafe isn't needed ( #2773 )
...
To be consistent with the use of the safety badge in the README.
2023-03-29 14:39:51 +02:00
ItsEthra
c5caed5b35
Enabled wayland feature for winit when running native ( #2751 )
...
* Enabled wayland feature for winit when native
* Enable egui-winit/wayland through eframe instead by on by default
2023-03-29 14:38:27 +02:00
lictex_
94f8b02286
improve fallback fonts alignment ( #2724 )
...
* use font metrics in layout
* properly center scaled fonts
* adjust docs
* fix raised text
* fix easymark viewer small text alignment
caused by variable row heights
2023-03-29 14:36:09 +02:00
Jeremy Leibs
089c7b46f3
Fix the OS check for windows ( #2832 )
2023-03-23 15:15:00 +01:00
Emil Ernerfeldt
59c2c4c70d
Update tempfile to fix CVE ( #2809 )
...
> cargo update -p tempfile
Updating crates.io index
Adding errno v0.2.8
Adding errno-dragonfly v0.1.2
Adding io-lifetimes v1.0.6
Adding linux-raw-sys v0.1.4
Removing remove_dir_all v0.5.3
Adding rustix v0.36.9
Updating tempfile v3.3.0 -> v3.4.0
2023-03-14 08:50:06 +01:00
Emil Ernerfeldt
f94187ab71
Remove misleading safety-badges
...
See https://github.com/emilk/egui/issues/2723
2023-02-28 22:35:08 +01:00
谢克
8345847853
fix window position display error (physical pixels converted to logic… ( #2763 )
2023-02-28 21:35:09 +01:00
Ivan
e9d869c4c5
hsva color_slider_2d orientation change ( #2727 )
...
* hsva color_slider_2d orientation change
* color_slider_2d doc fix
---------
Co-authored-by: IVANMK-7 <68190772+IVANMK-7@users.noreply.github.com>
2023-02-28 21:21:01 +01:00
Ivan
5910144112
Scroll bar visibility options ( #2729 )
...
* add scroll bar visibility options
* ScrollBarVisibility derive Eq
---------
Co-authored-by: IVANMK-7 <68190772+IVANMK-7@users.noreply.github.com>
2023-02-28 21:20:10 +01:00
YgorSouza
f85a25307d
Fix deadlock when using show_blocking_widget ( #2753 )
...
Calling the layer painter from inside a write() call causes a deadlock
on the Context. This change stores the necessary data (the two
overlapping Rects) in the write() call but uses them outside.
Closes #2752
2023-02-28 20:52:37 +01:00
Emil Ernerfeldt
7215fdfb7c
Release eframe 0.21.3 - fix web input of the the letter P
2023-02-15 08:26:45 +01:00
Emil Ernerfeldt
e2778d9d6a
eframe: Fix inputting of the letter P on web ( #2740 )
...
* eframe: Fix inputting of the letter P on web
* Update changelog
* silence clippy
2023-02-15 08:24:52 +01:00
Emil Ernerfeldt
38849fe381
Release eframe 0.21.2 - support --no-default-features
2023-02-12 19:34:37 +01:00
Emil Ernerfeldt
df7e5bd57a
Allow compiling eframe with `--no-default-features` ( #2728 )
...
* Check that we can compile eframe with --no-default-features
* Allow compiling eframe with `--no-default-features`
This is useful for libraries that depend on `eframe::Frame`
but don't care what renderer eframe is using.
2023-02-12 19:29:42 +01:00
Emil Ernerfeldt
e3e781ced8
fix puffin_profiler example
2023-02-12 19:27:10 +01:00
Emil Ernerfeldt
97756bc246
Add badges to all crates' README.md
2023-02-12 18:08:13 +01:00
Emil Ernerfeldt
f71d79a0ff
Release egui-winit, eframe 0.21.1 - fix crash on monitor size/dpi change
...
https://github.com/emilk/egui/pull/2722
The crash could happen if the monitor size or DPI changes between runs
2023-02-12 15:29:47 +01:00
Aevyrie
95247daa17
Fix window position assertion caused by negative window size ( #2722 )
2023-02-12 15:14:38 +01:00
Emil Ernerfeldt
530e9f667c
format: add some blank lines where it was needed
2023-02-10 18:03:46 +01:00
Emil Ernerfeldt
409fb968d3
add cargo config file that sets --cfg=web_sys_unstable_apis on wasm32
2023-02-10 17:56:10 +01:00
Emil Ernerfeldt
1581f0229e
examples/README.md: explain that the examples are for master
...
and add a link to the latest release
2023-02-08 20:34:43 +01:00
Emil Ernerfeldt
ae722ab0cf
Release 0.21.0 - Deadlock fix and winit update
2023-02-08 20:11:21 +01:00
Emil Ernerfeldt
1384fa3287
Publish new web demo
2023-02-08 20:10:12 +01:00
Emil Ernerfeldt
83b5b81227
Update changelogs with recent additions
2023-02-08 19:36:33 +01:00
Emil Ernerfeldt
63fa3aec10
Update example screenshots
2023-02-08 19:04:04 +01:00
Emil Ernerfeldt
ebeb788b1f
We no longer use tts, so remove speech-related dependencies ( #2698 )
2023-02-08 18:45:44 +01:00
Emil Ernerfeldt
0fc25c2680
Fix: make sure always_on_top is respected on glow again
2023-02-08 18:12:52 +01:00
Emil Ernerfeldt
449dd1c23c
cargo update ( #2697 )
...
* cargo update
Updating anyhow v1.0.68 -> v1.0.69
Updating bindgen v0.63.0 -> v0.64.0
Removing cocoa v0.24.1
Updating glutin v0.30.3 -> v0.30.4
Updating glutin_egl_sys v0.3.1 -> v0.4.0
Updating glutin_glx_sys v0.3.0 -> v0.4.0
Updating glutin_wgl_sys v0.3.0 -> v0.4.0
Updating proc-macro2 v1.0.50 -> v1.0.51
Updating rgb v0.8.34 -> v0.8.35
Updating serde_json v1.0.91 -> v1.0.92
Updating tiny-skia v0.8.2 -> v0.8.3
Updating tiny-skia-path v0.8.2 -> v0.8.3
Removing windows-sys v0.36.1
Removing windows_aarch64_msvc v0.36.1
Removing windows_i686_gnu v0.36.1
Removing windows_i686_msvc v0.36.1
Removing windows_x86_64_gnu v0.36.1
Removing windows_x86_64_msvc v0.36.1
Updating zbus v3.8.0 -> v3.9.0
Updating zbus_macros v3.8.0 -> v3.9.0
* Update wasm-bindgen to 0.2.84
* cargo update
Updating js-sys v0.3.60 -> v0.3.61
Updating wasm-bindgen-futures v0.4.33 -> v0.4.34
Updating web-sys v0.3.60 -> v0.3.61
* Update pollster to 0.3
* Update rfd to 0.11
* Make sure we never depend on cmake
2023-02-08 18:11:34 +01:00
Emil Ernerfeldt
636a39cbe1
Update `glow` to 0.12 ( #2695 )
...
* Remove three-d example due to glow incompatibility
* Update to glow 0.12
* Remove three-d from deny.toml
* Add line to changelog
2023-02-08 17:16:44 +01:00
Red Artist
be9b5a3641
polish glutin upgrade with glutin-winit crate ( #2526 )
...
* use glutin-winit for glow context creation
* added some tracing for easier debugging of glutin problems
* fmt
* add more debug logs
* more tracing
* fallback egl instead of prefer egl
* update pure glow example to use glutin_winit
* add more logging. ignore vsync option if not supported
* cranky lint
* add some logging for easier debugging
* drop window after glutin surface
* small changes based on pr review
* build fix
---------
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2023-02-08 14:28:42 +01:00
Emil Ernerfeldt
e8b9e706ca
Fix `Window::pivot` causing windows to move around ( #2694 )
...
* Fix Window::pivot causing windows to move around
* Add line to changelog
2023-02-08 12:41:36 +01:00
Emil Ernerfeldt
a8d5a82a7f
Lowe multisampling in examples from 8 to 4
...
Closes https://github.com/emilk/egui/issues/2658
2023-02-08 10:14:43 +01:00
Emil Ernerfeldt
c2d37571f7
constrain popups to the screen
2023-02-08 10:02:50 +01:00
Emil Ernerfeldt
90cd178117
Document GlyphInfo::id
2023-02-08 10:01:47 +01:00
Emil Ernerfeldt
7397be3401
Fix item spacing in CollapsingHeader
2023-02-08 10:01:37 +01:00
Emil Ernerfeldt
1edd333864
Update to winit 0.28.1
2023-02-08 10:00:03 +01:00
Harrison Gieraltowski
b40dba18c6
DragValue: when keyboard editing, only update the value on focus lost ( #2688 )
...
* test
* moved some accesskit stuff
* reverted accesskit change
* Add explanatory comment
* fmt
---------
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2023-02-08 09:35:44 +01:00
Emil Ernerfeldt
4721a0a680
Check --all-targets in CI ( #1395 )
2023-02-08 09:35:01 +01:00
Emil Ernerfeldt
8d6c2580f4
Add Checkbox::without_text
...
Closes https://github.com/emilk/egui/pull/2508
2023-02-08 08:42:00 +01:00
lictex_
8bc88c9bf4
make dragvalue textedit style consistent with button ( #2649 )
...
* make dragvalue textedit style consistent with button
* fix comments & fix wrong interactive cursor pos
* * apply button_padding to textedit
* support vertical align
* add same min size as button to avoid unintented height shrink
2023-02-07 10:52:48 +01:00
Andreas Reich
b52cd2052f
Support for transparent backbuffer in wgpu winit binding ( #2684 )
...
* Support for transparent backbuffer in wgpu winit binding
Choose best fitting composite alpha mode on the fly.
* Compilation fix
* Add line to eframe CHANGELOG
* Attempt to mollify CI: try different way to install apt packages
---------
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2023-02-06 14:16:17 +01:00
Emil Ernerfeldt
b1e214bbdf
Add Order::TOP
2023-02-06 08:48:12 +01:00
Emil Ernerfeldt
cef0c0b6d8
Fix typo
2023-02-05 21:58:15 +01:00
Emil Ernerfeldt
d5dcc87ace
Improve custom_window_frame
2023-02-05 21:58:15 +01:00
Matt Campbell
853d492724
Update for AccessKit refactor that drastically reduces memory usage ( #2678 )
...
* Update for AccessKit refactor that drastically reduces memory usage
* changelog entry
* satisfy clippy
2023-02-05 19:10:40 +01:00
Emil Ernerfeldt
d15ce22e2e
winit: Fix bug where the cursor could get stuck using the wrong icon
2023-02-05 08:48:40 +01:00