From 8b3d218f4ba3f92ae72064472aad605afdc1645f Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Sat, 23 Jul 2022 23:54:13 +0200 Subject: [PATCH] Update changelogs with all changes from all PR:s since 0.18 release --- CHANGELOG.md | 15 +++++++++++---- eframe/CHANGELOG.md | 24 ++++++++++++++++++------ egui-winit/CHANGELOG.md | 6 ++++-- egui_extras/CHANGELOG.md | 1 + egui_glow/CHANGELOG.md | 5 ++++- 5 files changed, 38 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d19355e2..afffbeb8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,21 +7,28 @@ NOTE: [`epaint`](epaint/CHANGELOG.md), [`eframe`](eframe/CHANGELOG.md), [`egui-w ## Unreleased ### Added ⭐ * Added `*_released` & `*_clicked` methods for `PointerState` ([#1582](https://github.com/emilk/egui/pull/1582)). +* Added `PointerButton::Extra1` and `PointerButton::Extra2` ([#1592](https://github.com/emilk/egui/pull/1592)). * Added `egui::hex_color!` to create `Color32`'s from hex strings under the `color-hex` feature ([#1596](https://github.com/emilk/egui/pull/1596)). * Optimized painting of filled circles (e.g. for scatter plots) by 10x or more ([#1616](https://github.com/emilk/egui/pull/1616)). * Added opt-in feature `deadlock_detection` to detect double-lock of mutexes on the same thread ([#1619](https://github.com/emilk/egui/pull/1619)). * Added `InputState::stable_dt`: a more stable estimate for the delta-time in reactive mode ([#1625](https://github.com/emilk/egui/pull/1625)). * You can now specify a texture filter for your textures ([#1636](https://github.com/emilk/egui/pull/1636)). -* Added support for using `PaintCallback` shapes with the WGPU backend ([#1684](https://github.com/emilk/egui/pull/1684)) +* Added functions keys in `egui::Key` ([#1665](https://github.com/emilk/egui/pull/1665)). +* Added support for using `PaintCallback` shapes with the WGPU backend ([#1684](https://github.com/emilk/egui/pull/1684)). +* Added `Contex::request_repaint_after` ([#1694](https://github.com/emilk/egui/pull/1694)). +* `ctrl-h` now acts like backspace in `TextEdit` ([#1812](https://github.com/emilk/egui/pull/1812)). ### Changed -* `PaintCallback` shapes now require the whole callback to be put in an `Arc` with the value being a backend-specific callback type. ([#1684](https://github.com/emilk/egui/pull/1684)) -* Replaced `needs_repaint` in `FullOutput` with `repaint_after`. Used to force repaint after the set duration in reactive mode.([#1694](https://github.com/emilk/egui/pull/1694)). +* `PaintCallback` shapes now require the whole callback to be put in an `Arc` with the value being a backend-specific callback type ([#1684](https://github.com/emilk/egui/pull/1684)). +* Replaced `needs_repaint` in `FullOutput` with `repaint_after`. Used to force repaint after the set duration in reactive mode ([#1694](https://github.com/emilk/egui/pull/1694)). * `Layout::left_to_right` and `Layout::right_to_left` now takes the vertical align as an argument. Previous default was `Align::Center`. ### Fixed 🐛 +* Fixed `Response::changed` for `ui.toggle_value` ([#1573](https://github.com/emilk/egui/pull/1573)). * Fixed `ImageButton`'s changing background padding on hover ([#1595](https://github.com/emilk/egui/pull/1595)). -* Fix dead-lock when alt-tabbing while also showing a tooltip ([#1618](https://github.com/emilk/egui/pull/1618)). +* Fixed `Plot` auto-bounds bug ([#1599](https://github.com/emilk/egui/pull/1599)). +* Fixed dead-lock when alt-tabbing while also showing a tooltip ([#1618](https://github.com/emilk/egui/pull/1618)). +* Fixed `ScrollArea` scrolling when editing an unrelated `TextEdit` ([#1779](https://github.com/emilk/egui/pull/1779)). ## 0.18.1 - 2022-05-01 diff --git a/eframe/CHANGELOG.md b/eframe/CHANGELOG.md index 4f40df08..40d96474 100644 --- a/eframe/CHANGELOG.md +++ b/eframe/CHANGELOG.md @@ -5,14 +5,26 @@ NOTE: [`egui-winit`](../egui-winit/CHANGELOG.md), [`egui_glium`](../egui_glium/C ## Unreleased +* Added `wgpu` rendering backed ([#1564](https://github.com/emilk/egui/pull/1564)): + * Added features "wgpu" and "glow" + * Added `NativeOptions::renderer` to switch between the rendering backends * `egui_glow`: remove calls to `gl.get_error` in release builds to speed up rendering ([#1583](https://github.com/emilk/egui/pull/1583)). -* Add `wgpu` rendering backed ([#1564](https://github.com/emilk/egui/pull/1564)): - * Add features "wgpu" and "glow" - * Add `NativeOptions::renderer` to switch between the rendering backends -* Fix clipboard on Wayland ([#1613](https://github.com/emilk/egui/pull/1613)). -* Allow running on native without hardware accelerated rendering. Change with `NativeOptions::hardware_acceleration` ([#1681]([#1693](https://github.com/emilk/egui/pull/1693)). +* Add `App::post_rendering` for e.g. reading the framebuffer ([#1591](https://github.com/emilk/egui/pull/1591)). +* Use `Arc` for `glow::Context` instead of `Rc` ([#1640](https://github.com/emilk/egui/pull/1640)). +* Fixed bug where the result returned from `App::on_exit_event` would sometimes be ignored ([#1696](https://github.com/emilk/egui/pull/1696)). +* Added `NativeOptions::follow_system_theme` and `NativeOptions::default_theme` ([#1726](https://github.com/emilk/egui/pull/1726)). + +#### Desktop/Native: +* Fixed clipboard on Wayland ([#1613](https://github.com/emilk/egui/pull/1613)). +* Added ability to read window position and size with `frame.info().window_info` ([#1617](https://github.com/emilk/egui/pull/1617)). +* Allow running on native without hardware accelerated rendering. Change with `NativeOptions::hardware_acceleration` ([#1681](https://github.com/emilk/egui/pull/1681), [#1693](https://github.com/emilk/egui/pull/1693)). +* Fixed window position persistence ([#1745](https://github.com/emilk/egui/pull/1745)). * `dark-light` (dark mode detection) is now enabled by default on Mac and Windows ([#1726](https://github.com/emilk/egui/pull/1726)). -* Add `NativeOptions::follow_system_theme` and `NativeOptions::default_theme` ([#1726](https://github.com/emilk/egui/pull/1726)). +* Fixed mouse cursor change on Linux ([#1747](https://github.com/emilk/egui/pull/1747)). +* Added `Frame::set_visible` ([#1808](https://github.com/emilk/egui/pull/1808)). + +#### Web: +* Added option to select WebGL version ([#1803](https://github.com/emilk/egui/pull/1803)). ## 0.18.0 - 2022-04-30 diff --git a/egui-winit/CHANGELOG.md b/egui-winit/CHANGELOG.md index 38386326..af97ec29 100644 --- a/egui-winit/CHANGELOG.md +++ b/egui-winit/CHANGELOG.md @@ -3,8 +3,10 @@ All notable changes to the `egui-winit` integration will be noted in this file. ## Unreleased -* Fix clipboard on Wayland ([#1613](https://github.com/emilk/egui/pull/1613)). -* Allow deferred render + surface state initialization for Android ([#1634](https://github.com/emilk/egui/pull/1634)) +* Fixed clipboard on Wayland ([#1613](https://github.com/emilk/egui/pull/1613)). +* Allow deferred render + surface state initialization for Android ([#1634](https://github.com/emilk/egui/pull/1634)). +* Fix window position persistence ([#1745](https://github.com/emilk/egui/pull/1745)). +* Fixed mouse cursor change on Linux ([#1747](https://github.com/emilk/egui/pull/1747)). ## 0.18.0 - 2022-04-30 diff --git a/egui_extras/CHANGELOG.md b/egui_extras/CHANGELOG.md index 81db4ecc..bfee42cd 100644 --- a/egui_extras/CHANGELOG.md +++ b/egui_extras/CHANGELOG.md @@ -4,6 +4,7 @@ All notable changes to the `egui_extras` integration will be noted in this file. ## Unreleased * You can now specify a texture filter for `RetainedImage` ([#1636](https://github.com/emilk/egui/pull/1636)). +* Fix uneven `Table` striping ([#1680](https://github.com/emilk/egui/pull/1680)). ## 0.18.0 - 2022-04-30 diff --git a/egui_glow/CHANGELOG.md b/egui_glow/CHANGELOG.md index 0fccbb55..e7d16086 100644 --- a/egui_glow/CHANGELOG.md +++ b/egui_glow/CHANGELOG.md @@ -3,7 +3,10 @@ All notable changes to the `egui_glow` integration will be noted in this file. ## Unreleased -* `EguiGlow::new` now takes an `EventLoopWindowTarget` instead of a `winit::Window` ([#1634](https://github.com/emilk/egui/pull/1634)) +* `EguiGlow::new` now takes an `EventLoopWindowTarget` instead of a `winit::Window` ([#1634](https://github.com/emilk/egui/pull/1634)). +* Use `Arc` for `glow::Context` instead of `Rc` ([#1640](https://github.com/emilk/egui/pull/1640)). +* Fix `glClear` on WebGL1 ([#1658](https://github.com/emilk/egui/pull/1658)). + ## 0.18.1 - 2022-05-05 * Remove calls to `gl.get_error` in release builds to speed up rendering ([#1583](https://github.com/emilk/egui/pull/1583)).