From d544c3dd8b694f12fdcfc5c4571a9af0e64211f3 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Mon, 5 Apr 2021 14:49:06 +0200 Subject: [PATCH] Release 0.11.0 - Optimization, screen reader & new layout logic --- CHANGELOG.md | 3 +++ Cargo.lock | 18 +++++++++--------- eframe/CHANGELOG.md | 5 +++-- eframe/Cargo.toml | 10 +++++----- egui/Cargo.toml | 4 ++-- egui_demo_app/Cargo.toml | 6 +++--- egui_demo_lib/Cargo.toml | 6 +++--- egui_glium/CHANGELOG.md | 7 +++++-- egui_glium/Cargo.toml | 6 +++--- egui_web/CHANGELOG.md | 27 +++------------------------ egui_web/Cargo.toml | 6 +++--- emath/Cargo.toml | 2 +- epaint/Cargo.toml | 4 ++-- epi/Cargo.toml | 4 ++-- 14 files changed, 47 insertions(+), 61 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bb700f8..dc1fa3ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ NOTE: `eframe`, `egui_web` and `egui_glium` has their own changelogs! ## Unreleased + +## 0.11.0 - 2021-04-05 - Optimization, screen reader & new layout logic + ### Added ⭐ * You can now give focus to any clickable widget with tab/shift-tab. * Use space or enter to click the selected widget. diff --git a/Cargo.lock b/Cargo.lock index d999d978..522abc99 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -743,7 +743,7 @@ checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf" [[package]] name = "eframe" -version = "0.10.0" +version = "0.11.0" dependencies = [ "egui", "egui_glium", @@ -753,7 +753,7 @@ dependencies = [ [[package]] name = "egui" -version = "0.10.0" +version = "0.11.0" dependencies = [ "epaint", "serde", @@ -761,7 +761,7 @@ dependencies = [ [[package]] name = "egui_demo_app" -version = "0.10.0" +version = "0.11.0" dependencies = [ "eframe", "egui_demo_lib", @@ -769,7 +769,7 @@ dependencies = [ [[package]] name = "egui_demo_lib" -version = "0.10.0" +version = "0.11.0" dependencies = [ "criterion", "egui", @@ -781,7 +781,7 @@ dependencies = [ [[package]] name = "egui_glium" -version = "0.10.0" +version = "0.11.0" dependencies = [ "chrono", "copypasta", @@ -798,7 +798,7 @@ dependencies = [ [[package]] name = "egui_web" -version = "0.10.0" +version = "0.11.0" dependencies = [ "egui", "epi", @@ -819,7 +819,7 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" [[package]] name = "emath" -version = "0.10.0" +version = "0.11.0" dependencies = [ "serde", ] @@ -839,7 +839,7 @@ dependencies = [ [[package]] name = "epaint" -version = "0.10.0" +version = "0.11.0" dependencies = [ "ahash", "atomic_refcell", @@ -852,7 +852,7 @@ dependencies = [ [[package]] name = "epi" -version = "0.10.0" +version = "0.11.0" dependencies = [ "egui", "ron", diff --git a/eframe/CHANGELOG.md b/eframe/CHANGELOG.md index aeacb831..bcc4eea1 100644 --- a/eframe/CHANGELOG.md +++ b/eframe/CHANGELOG.md @@ -1,10 +1,11 @@ # Changelog for eframe All notable changes to the `eframe` crate. -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - ## Unreleased + + +## 0.11.0 - 2021-04-05 * You can now turn your window transparent with the `App::transparent` option. * You can now disable window decorations with the `App::decorated` option. diff --git a/eframe/Cargo.toml b/eframe/Cargo.toml index 48001a23..caa24300 100644 --- a/eframe/Cargo.toml +++ b/eframe/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "eframe" -version = "0.10.0" +version = "0.11.0" authors = ["Emil Ernerfeldt "] description = "egui framework - write GUI apps that compiles to web and/or natively" edition = "2018" @@ -20,16 +20,16 @@ include = [ [lib] [dependencies] -egui = { version = "0.10.0", path = "../egui" } -epi = { version = "0.10.0", path = "../epi" } +egui = { version = "0.11.0", path = "../egui" } +epi = { version = "0.11.0", path = "../epi" } # For compiling natively: [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -egui_glium = { version = "0.10.0", path = "../egui_glium" } +egui_glium = { version = "0.11.0", path = "../egui_glium" } # For compiling to web: [target.'cfg(target_arch = "wasm32")'.dependencies] -egui_web = { version = "0.10.0", path = "../egui_web" } +egui_web = { version = "0.11.0", path = "../egui_web" } [features] default = [] diff --git a/egui/Cargo.toml b/egui/Cargo.toml index 4d092a0f..cd2bfecf 100644 --- a/egui/Cargo.toml +++ b/egui/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egui" -version = "0.10.0" +version = "0.11.0" authors = ["Emil Ernerfeldt "] description = "Simple, portable immediate mode GUI library for Rust" edition = "2018" @@ -20,7 +20,7 @@ include = [ [lib] [dependencies] -epaint = { version = "0.10.0", path = "../epaint", default-features = false } +epaint = { version = "0.11.0", path = "../epaint", default-features = false } serde = { version = "1", features = ["derive", "rc"], optional = true } [features] diff --git a/egui_demo_app/Cargo.toml b/egui_demo_app/Cargo.toml index 37b92681..0f6fcc92 100644 --- a/egui_demo_app/Cargo.toml +++ b/egui_demo_app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egui_demo_app" -version = "0.10.0" +version = "0.11.0" authors = ["Emil Ernerfeldt "] license = "MIT OR Apache-2.0" edition = "2018" @@ -10,8 +10,8 @@ publish = false crate-type = ["cdylib", "rlib"] [dependencies] -eframe = { version = "0.10.0", path = "../eframe", features = ["time"] } -egui_demo_lib = { version = "0.10.0", path = "../egui_demo_lib" } +eframe = { version = "0.11.0", path = "../eframe", features = ["time"] } +egui_demo_lib = { version = "0.11.0", path = "../egui_demo_lib" } [features] default = ["persistence", "screen_reader"] diff --git a/egui_demo_lib/Cargo.toml b/egui_demo_lib/Cargo.toml index e5f52c71..acb53425 100644 --- a/egui_demo_lib/Cargo.toml +++ b/egui_demo_lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egui_demo_lib" -version = "0.10.0" +version = "0.11.0" authors = ["Emil Ernerfeldt "] description = "Example library for egui" edition = "2018" @@ -20,8 +20,8 @@ include = [ [lib] [dependencies] -egui = { version = "0.10.0", path = "../egui" } -epi = { version = "0.10.0", path = "../epi" } +egui = { version = "0.11.0", path = "../egui" } +epi = { version = "0.11.0", path = "../epi" } # feature "http": image = { version = "0.23", default-features = false, features = ["jpeg", "png"], optional = true } diff --git a/egui_glium/CHANGELOG.md b/egui_glium/CHANGELOG.md index 9add483e..a4c19d51 100644 --- a/egui_glium/CHANGELOG.md +++ b/egui_glium/CHANGELOG.md @@ -2,11 +2,14 @@ All notable changes to the `egui_glium` integration will be noted in this file. -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - ## Unreleased +## 0.11.0 - 2021-04-05 +* [Position IME candidate window next to text cursor](https://github.com/emilk/egui/pull/258). +* [Register your own glium textures](https://github.com/emilk/egui/pull/226). +* [Fix cursor icon flickering on Windows(https://github.com/emilk/egui/pull/218). + ## 0.10.0 - 2021-02-28 * [Add shaders for GLSL 1.2, GLSL ES 1.0 and 3.0](https://github.com/emilk/egui/pull/187) diff --git a/egui_glium/Cargo.toml b/egui_glium/Cargo.toml index 630d36f3..5e859b4f 100644 --- a/egui_glium/Cargo.toml +++ b/egui_glium/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egui_glium" -version = "0.10.0" +version = "0.11.0" authors = ["Emil Ernerfeldt "] description = "Bindings for using egui natively using the glium library" edition = "2018" @@ -20,8 +20,8 @@ include = [ [dependencies] copypasta = "0.7" -egui = { version = "0.10.0", path = "../egui" } -epi = { version = "0.10.0", path = "../epi" } +egui = { version = "0.11.0", path = "../egui" } +epi = { version = "0.11.0", path = "../epi" } glium = "0.29" webbrowser = "0.5" diff --git a/egui_web/CHANGELOG.md b/egui_web/CHANGELOG.md index 9384efcb..6e0a7651 100644 --- a/egui_web/CHANGELOG.md +++ b/egui_web/CHANGELOG.md @@ -2,88 +2,67 @@ All notable changes to the `egui_web` integration will be noted in this file. -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - ## Unreleased -### Added ⭐ +## 0.11.0 - 2021-04-05 + +### Added ⭐ * [Fix mobile and IME text input](https://github.com/emilk/egui/pull/253) * Hold down a modifier key when clicking a link to open it in a new tab. Contributors: [n2](https://github.com/n2) - ## 0.10.0 - 2021-02-28 - ### Added ⭐ - * You can control the maximum egui canvas size with `App::max_size_points`. ## 0.9.0 - 2021-02-07 - ### Added ⭐ - * Right-clicks will no longer open browser context menu. ### Fixed ⭐ - * Fix a bug where one couldn't select items in a combo box on a touch screen. ## 0.8.0 - 2021-01-17 - ### Added ⭐ - * WebGL2 is now supported, with improved texture sampler. WebGL1 will be used as a fallback. ### Changed - * Slightly improved alpha-blending (work-around for non-existing linear-space blending). ### Fixed ⭐ - * Call prevent_default for arrow keys when entering text ## 0.7.0 - 2021-01-04 - ### Changed - * `http` and `persistence` are now optional (and opt-in) features. ### Fixed ⭐ - * egui_web now compiled without `RUSTFLAGS=--cfg=web_sys_unstable_apis`, but copy/paste won't work. ## 0.6.0 - 2020-12-26 - ### Added ⭐ - * Auto-save of app state to local storage ### Changed ⭐ - * Set a maximum canvas size to alleviate performance issues on some machines * Simplify `egui_web::start` arguments - ## 0.4.0 - 2020-11-28 - ### Added ⭐ - * A simple HTTP fetch API (wraps `web_sys`). * Add ability to request a repaint * Copy/cut/paste suppoert ### Changed ⭐ - * Automatic repaint every second ### Fixed ⭐ - * Web browser zooming should now work as expected * A bunch of bug fixes related to keyboard events diff --git a/egui_web/Cargo.toml b/egui_web/Cargo.toml index 9b03d454..17a11c08 100644 --- a/egui_web/Cargo.toml +++ b/egui_web/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egui_web" -version = "0.10.0" +version = "0.11.0" authors = ["Emil Ernerfeldt "] description = "Bindings for compiling egui code to WASM for a web page" license = "MIT OR Apache-2.0" @@ -22,8 +22,8 @@ include = [ crate-type = ["cdylib", "rlib"] [dependencies] -egui = { version = "0.10.0", path = "../egui" } -epi = { version = "0.10.0", path = "../epi" } +egui = { version = "0.11.0", path = "../egui" } +epi = { version = "0.11.0", path = "../epi" } js-sys = "0.3" ron = { version = "0.6", optional = true } serde = { version = "1", optional = true } diff --git a/emath/Cargo.toml b/emath/Cargo.toml index a25c878d..6f2ccc73 100644 --- a/emath/Cargo.toml +++ b/emath/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "emath" -version = "0.10.0" +version = "0.11.0" authors = ["Emil Ernerfeldt "] description = "Minimal 2D math library for GUI work" edition = "2018" diff --git a/epaint/Cargo.toml b/epaint/Cargo.toml index 77f5e09e..faa29daa 100644 --- a/epaint/Cargo.toml +++ b/epaint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "epaint" -version = "0.10.0" +version = "0.11.0" authors = ["Emil Ernerfeldt "] description = "Minimal 2D graphics library for GUI work" edition = "2018" @@ -22,7 +22,7 @@ include = [ [lib] [dependencies] -emath = { version = "0.10.0", path = "../emath" } +emath = { version = "0.11.0", path = "../emath" } ahash = { version = "0.7", features = ["std"], default-features = false } atomic_refcell = { version = "0.1", optional = true } # Used instead of parking_lot when you are always using epaint in a single thread. About as fast as parking_lot. Panics on multi-threaded use. diff --git a/epi/Cargo.toml b/epi/Cargo.toml index 7450fa0d..62b46fd6 100644 --- a/epi/Cargo.toml +++ b/epi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "epi" -version = "0.10.0" +version = "0.11.0" authors = ["Emil Ernerfeldt "] description = "Backend-agnostic interface for writing apps using egui" edition = "2018" @@ -20,7 +20,7 @@ include = [ [lib] [dependencies] -egui = { version = "0.10.0", path = "../egui" } +egui = { version = "0.11.0", path = "../egui" } ron = { version = "0.6", optional = true } serde = { version = "1", optional = true }