Release 0.11.0 - Optimization, screen reader & new layout logic

This commit is contained in:
Emil Ernerfeldt 2021-04-05 14:49:06 +02:00
parent c96819e95e
commit d544c3dd8b
14 changed files with 47 additions and 61 deletions

View file

@ -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.

18
Cargo.lock generated
View file

@ -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",

View file

@ -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.

View file

@ -1,6 +1,6 @@
[package]
name = "eframe"
version = "0.10.0"
version = "0.11.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
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 = []

View file

@ -1,6 +1,6 @@
[package]
name = "egui"
version = "0.10.0"
version = "0.11.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
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]

View file

@ -1,6 +1,6 @@
[package]
name = "egui_demo_app"
version = "0.10.0"
version = "0.11.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
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"]

View file

@ -1,6 +1,6 @@
[package]
name = "egui_demo_lib"
version = "0.10.0"
version = "0.11.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
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 }

View file

@ -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)

View file

@ -1,6 +1,6 @@
[package]
name = "egui_glium"
version = "0.10.0"
version = "0.11.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
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"

View file

@ -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

View file

@ -1,6 +1,6 @@
[package]
name = "egui_web"
version = "0.10.0"
version = "0.11.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
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 }

View file

@ -1,6 +1,6 @@
[package]
name = "emath"
version = "0.10.0"
version = "0.11.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Minimal 2D math library for GUI work"
edition = "2018"

View file

@ -1,6 +1,6 @@
[package]
name = "epaint"
version = "0.10.0"
version = "0.11.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
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.

View file

@ -1,6 +1,6 @@
[package]
name = "epi"
version = "0.10.0"
version = "0.11.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
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 }