diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a7ca6bf..d7299eae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,13 +8,12 @@ NOTE: [`epaint`](epaint/CHANGELOG.md), [`eframe`](eframe/CHANGELOG.md), [`egui_w ## Unreleased ### Added ⭐ -* Support a subset of macOS' emacs input field keybindings in `TextEdit` ([#1243](https://github.com/emilk/egui/pull/1243). * Much improved font selection ([#1154](https://github.com/emilk/egui/pull/1154)): * You can now select any font size and family using `RichText::size` amd `RichText::family` and the new `FontId`. * Easily change text styles with `Style::text_styles`. * Added `Ui::text_style_height`. * Added `TextStyle::resolve`. - * Made v-align and scale of user fonts tweakable ([#1241](https://github.com/emilk/egui/pull/1027)). + * Made the v-align and scale of user fonts tweakable ([#1241](https://github.com/emilk/egui/pull/1027)). * Plot: * Added `Plot::x_axis_formatter` and `Plot::y_axis_formatter` for custom axis labels ([#1130](https://github.com/emilk/egui/pull/1130)). * Added `Plot::allow_boxed_zoom()`, `Plot::boxed_zoom_pointer()` for boxed zooming on plots ([#1188](https://github.com/emilk/egui/pull/1188)). @@ -23,13 +22,14 @@ NOTE: [`epaint`](epaint/CHANGELOG.md), [`eframe`](eframe/CHANGELOG.md), [`egui_w * `Context::load_texture` to convert an image into a texture which can be displayed using e.g. `ui.image(texture, size)` ([#1110](https://github.com/emilk/egui/pull/1110)). * `Ui::input_mut` to modify how subsequent widgets see the `InputState` and a convenience method `InputState::consume_key` for shortcuts or hotkeys ([#1212](https://github.com/emilk/egui/pull/1212)). * Added `Ui::add_visible` and `Ui::add_visible_ui`. -* Opt-in dependency on `tracing` crate for logging warnings ([#1192](https://github.com/emilk/egui/pull/1192)). * Added `CollapsingHeader::icon` to override the default open/close icon using a custom function. ([1147](https://github.com/emilk/egui/pull/1147)). * Added `ui.data()`, `ctx.data()`, `ctx.options()` and `ctx.tessellation_options()` ([#1175](https://github.com/emilk/egui/pull/1175)). * Added `Response::on_hover_text_at_pointer` as a convenience akin to `Response::on_hover_text` ([1179](https://github.com/emilk/egui/pull/1179)). +* Opt-in dependency on `tracing` crate for logging warnings ([#1192](https://github.com/emilk/egui/pull/1192)). * Added `ui.weak(text)`. -* Added `Context::move_to_top` and `Context::top_most_layer` for managing the layer on the top ([#1242](https://github.com/emilk/egui/pull/1242)). * Added `Slider::step_by` ([1225](https://github.com/emilk/egui/pull/1225)). +* Added `Context::move_to_top` and `Context::top_most_layer` for managing the layer on the top ([#1242](https://github.com/emilk/egui/pull/1242)). +* Support a subset of macOS' emacs input field keybindings in `TextEdit` ([#1243](https://github.com/emilk/egui/pull/1243)). * Added ability to scroll an UI into view without specifying an alignment ([1247](https://github.com/emilk/egui/pull/1247)). * Added `Ui::scroll_to_rect` ([1252](https://github.com/emilk/egui/pull/1252)). @@ -49,28 +49,52 @@ NOTE: [`epaint`](epaint/CHANGELOG.md), [`eframe`](eframe/CHANGELOG.md), [`egui_w * Replaced `Style::body_text_style` with more generic `Style::text_styles` ([#1154](https://github.com/emilk/egui/pull/1154)). * `TextStyle` is no longer `Copy` ([#1154](https://github.com/emilk/egui/pull/1154)). * Replaced `TextEdit::text_style` with `TextEdit::font` ([#1154](https://github.com/emilk/egui/pull/1154)). -* Replaced `corner_radius: f32` with `rounding: Rounding`, allowing per-corner rounding settings ([#1206](https://github.com/emilk/egui/pull/1206)). -* Replaced Frame's `margin: Vec2` with `margin: Margin`, allowing for different margins on opposing sides ([#1219](https://github.com/emilk/egui/pull/1219)). * `Plot::highlight` now takes a `bool` argument ([#1159](https://github.com/emilk/egui/pull/1159)). * `ScrollArea::show` now returns a `ScrollAreaOutput`, so you might need to add `.inner` after the call to it ([#1166](https://github.com/emilk/egui/pull/1166)). +* Replaced `corner_radius: f32` with `rounding: Rounding`, allowing per-corner rounding settings ([#1206](https://github.com/emilk/egui/pull/1206)). +* Replaced Frame's `margin: Vec2` with `margin: Margin`, allowing for different margins on opposing sides ([#1219](https://github.com/emilk/egui/pull/1219)). * Renamed `Plot::custom_label_func` to `Plot::label_formatter` ([#1235](https://github.com/emilk/egui/pull/1235)). * Tooltips that don't fit the window don't flicker anymore ([#1240](https://github.com/emilk/egui/pull/1240)). * `Areas::layer_id_at` ignores non interatable layers (i.e. Tooltips) ([#1240](https://github.com/emilk/egui/pull/1240)). * `ScrollArea`:s will not shrink below a certain minimum size, set by `min_scrolled_width/min_scrolled_height` ([1255](https://github.com/emilk/egui/pull/1255)). ### Fixed 🐛 -* Context menus now respects the theme ([#1043](https://github.com/emilk/egui/pull/1043)). * Plot `Orientation` was not public, although fields using this type were ([#1130](https://github.com/emilk/egui/pull/1130)). +* Context menus now respects the theme ([#1043](https://github.com/emilk/egui/pull/1043)). * Calling `Context::set_pixels_per_point` before the first frame will now work. * Tooltips that don't fit the window don't flicker anymore ([#1240](https://github.com/emilk/egui/pull/1240)). -* Scroll areas now follow text cursor ([1252](https://github.com/emilk/egui/pull/1252)). +* Scroll areas now follow text cursor ([#1252](https://github.com/emilk/egui/pull/1252)). * Slider: correctly respond with drag and focus events when interacting with the value directly ([1270](https://github.com/emilk/egui/pull/1270)). ### Contributors 🙏 -* [AlexxxRu](https://github.com/alexxxru): [#1108](https://github.com/emilk/egui/pull/1108). -* [danielkeller](https://github.com/danielkeller): [#1050](https://github.com/emilk/egui/pull/1050). -* [juancampa](https://github.com/juancampa): [#1147](https://github.com/emilk/egui/pull/1147). - +* [4JX](https://github.com/4JX) +* [55nknown](https://github.com/55nknown) +* [AlanRace](https://github.com/AlanRace) +* [AlexxxRu](https://github.com/AlexxxRu) +* [awaken1ng](https://github.com/awaken1ng) +* [BctfN0HUK7Yg](https://github.com/BctfN0HUK7Yg) +* [Bromeon](https://github.com/Bromeon) +* [cat-state](https://github.com/cat) +* [danielkeller](https://github.com/danielkeller) +* [dvec](https://github.com/dvec) +* [Friz64](https://github.com/Friz64) +* [Gordon01](https://github.com/Gordon01) +* [HackerFoo](https://github.com/HackerFoo) +* [juancampa](https://github.com/juancampa) +* [justinj](https://github.com/justinj) +* [lampsitter](https://github.com/lampsitter) +* [LordMZTE](https://github.com/LordMZTE) +* [manuel-i](https://github.com/manuel) +* [Mingun](https://github.com/Mingun) +* [niklaskorz](https://github.com/niklaskorz) +* [nongiach](https://github.com/nongiach) +* [parasyte](https://github.com/parasyte) +* [psiphi75](https://github.com/psiphi75) +* [s-nie](https://github.com/s) +* [t18b219k](https://github.com/t18b219k) +* [terhechte](https://github.com/terhechte) +* [xudesheng](https://github.com/xudesheng) +* [yusdacra](https://github.com/yusdacra) ## 0.16.1 - 2021-12-31 - Add back `CtxRef::begin_frame,end_frame` @@ -591,7 +615,7 @@ This is when I started the CHANGELOG.md, after almost two years of development. * 2020-08-10: renamed the project to "egui" * 2020-05-30: first release on crates.io (0.1.0) -* 2020-05-01: serious work starts (pandemic project) +* 2020-04-01: serious work starts (pandemic project) * 2019-03-12: gave a talk about what would later become egui: https://www.youtube.com/watch?v=-pmwLHw5Gbs * 2018-12-23: [initial commit](https://github.com/emilk/egui/commit/856bbf4dae4a69693a0324da34e8b0dd3754dfdf) * 2018-11-04: started tinkering on a train diff --git a/eframe/CHANGELOG.md b/eframe/CHANGELOG.md index 77842f5c..ac864375 100644 --- a/eframe/CHANGELOG.md +++ b/eframe/CHANGELOG.md @@ -12,7 +12,7 @@ NOTE: [`egui_web`](../egui_web/CHANGELOG.md), [`egui-winit`](../egui-winit/CHANG * Fix horizontal scrolling direction on Linux. * Added `App::on_exit_event` ([#1038](https://github.com/emilk/egui/pull/1038)) * Added `NativeOptions::initial_window_pos`. -* Fixed `enable_drag` for Windows ([#1108](https://github.com/emilk/egui/pull/1108)). +* Fixed `enable_drag` for Windows OS ([#1108](https://github.com/emilk/egui/pull/1108)). * Shift-scroll will now result in horizontal scrolling on all platforms ([#1136](https://github.com/emilk/egui/pull/1136)). * Log using the `tracing` crate. Log to stdout by adding `tracing_subscriber::fmt::init();` to your `main` ([#1192](https://github.com/emilk/egui/pull/1192)). * Expose all parts of the location/url in `frame.info().web_info` ([#1258](https://github.com/emilk/egui/pull/1258)). diff --git a/egui-winit/CHANGELOG.md b/egui-winit/CHANGELOG.md index 80de1eaa..1ed32545 100644 --- a/egui-winit/CHANGELOG.md +++ b/egui-winit/CHANGELOG.md @@ -5,11 +5,11 @@ All notable changes to the `egui-winit` integration will be noted in this file. ## Unreleased * Fixed horizontal scrolling direction on Linux. -* Automatically detect and apply dark or light mode from system ([#1045](https://github.com/emilk/egui/pull/1045)). * Replaced `std::time::Instant` with `instant::Instant` for WebAssembly compatability ([#1023](https://github.com/emilk/egui/pull/1023)) +* Automatically detect and apply dark or light mode from system ([#1045](https://github.com/emilk/egui/pull/1045)). +* Fixed `enable_drag` on Windows OS ([#1108](https://github.com/emilk/egui/pull/1108)). * Shift-scroll will now result in horizontal scrolling on all platforms ([#1136](https://github.com/emilk/egui/pull/1136)). * Require knowledge about max texture side (e.g. `GL_MAX_TEXTURE_SIZE`)) ([#1154](https://github.com/emilk/egui/pull/1154)). -* Fixed `enable_drag` for Windows. Now called only once just after left click ([#1108](https://github.com/emilk/egui/pull/1108)). ## 0.16.0 - 2021-12-29 diff --git a/egui_glow/CHANGELOG.md b/egui_glow/CHANGELOG.md index b5bcdb6d..37f0f97b 100644 --- a/egui_glow/CHANGELOG.md +++ b/egui_glow/CHANGELOG.md @@ -6,8 +6,7 @@ All notable changes to the `egui_glow` integration will be noted in this file. * `EguiGlow::run` no longer returns the shapes to paint, but stores them internally until you call `EguiGlow::paint` ([#1110](https://github.com/emilk/egui/pull/1110)). * Added `set_texture_filter` method to `Painter` ([#1041](https://github.com/emilk/egui/pull/1041)). * Fix failure to run in Chrome ([#1092](https://github.com/emilk/egui/pull/1092)). -* `EguiGlow::new` now takes `&winit::Window` because there are no reason to use `&glutin::WindowedContext` ([#1151](https://github.com/emilk/egui/pull/1151)). -* `EguiGlow::paint` now takes `&winit::Window` because there are no reason to use `&glutin::WindowedContext` ([#1151](https://github.com/emilk/egui/pull/1151)). +* `EguiGlow::new` and `EguiGlow::paint` now takes `&winit::Window` ([#1151](https://github.com/emilk/egui/pull/1151)). * Automatically detect and apply dark or light mode from system ([#1045](https://github.com/emilk/egui/pull/1045)). diff --git a/egui_web/CHANGELOG.md b/egui_web/CHANGELOG.md index 99bbbce7..47407c24 100644 --- a/egui_web/CHANGELOG.md +++ b/egui_web/CHANGELOG.md @@ -9,7 +9,6 @@ All notable changes to the `egui_web` integration will be noted in this file. * Fixed glow failure on Chromium ([#1092](https://github.com/emilk/egui/pull/1092)). * Shift-scroll will now result in horizontal scrolling ([#1136](https://github.com/emilk/egui/pull/1136)). * Updated `epi::IntegrationInfo::web_location_hash` on `hashchange` event ([#1140](https://github.com/emilk/egui/pull/1140)). -* Panics will now be logged using `console.error`. * Parse and percent-decode the web location query string ([#1258](https://github.com/emilk/egui/pull/1258)). diff --git a/epaint/CHANGELOG.md b/epaint/CHANGELOG.md index 0a58bde1..38598b7a 100644 --- a/epaint/CHANGELOG.md +++ b/epaint/CHANGELOG.md @@ -7,7 +7,7 @@ All notable changes to the epaint crate will be documented in this file. * Much improved font selection ([#1154](https://github.com/emilk/egui/pull/1154)): * Replaced `TextStyle` with `FontId` which lets you pick any font size and font family. * Replaced `Fonts::font_image` with `font_image_delta` for partial font atlas updates. -* Made v-align and scale of user fonts tweakable ([#1241](https://github.com/emilk/egui/pull/1027)). +* Made the v-align and scale of user fonts tweakable ([#1241](https://github.com/emilk/egui/pull/1027)). * Added `ImageData` and `TextureManager` for loading images into textures ([#1110](https://github.com/emilk/egui/pull/1110)). * Added `Shape::dashed_line_many` ([#1027](https://github.com/emilk/egui/pull/1027)). * Replaced `corner_radius: f32` with `rounding: Rounding`, allowing per-corner rounding settings ([#1206](https://github.com/emilk/egui/pull/1206)).