Release 0.11.0 - Optimization, screen reader & new layout logic
This commit is contained in:
parent
c96819e95e
commit
d544c3dd8b
14 changed files with 47 additions and 61 deletions
|
@ -7,6 +7,9 @@ NOTE: `eframe`, `egui_web` and `egui_glium` has their own changelogs!
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
|
||||||
|
## 0.11.0 - 2021-04-05 - Optimization, screen reader & new layout logic
|
||||||
|
|
||||||
### Added ⭐
|
### Added ⭐
|
||||||
* You can now give focus to any clickable widget with tab/shift-tab.
|
* You can now give focus to any clickable widget with tab/shift-tab.
|
||||||
* Use space or enter to click the selected widget.
|
* Use space or enter to click the selected widget.
|
||||||
|
|
18
Cargo.lock
generated
18
Cargo.lock
generated
|
@ -743,7 +743,7 @@ checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "eframe"
|
name = "eframe"
|
||||||
version = "0.10.0"
|
version = "0.11.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"egui",
|
"egui",
|
||||||
"egui_glium",
|
"egui_glium",
|
||||||
|
@ -753,7 +753,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "egui"
|
name = "egui"
|
||||||
version = "0.10.0"
|
version = "0.11.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"epaint",
|
"epaint",
|
||||||
"serde",
|
"serde",
|
||||||
|
@ -761,7 +761,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "egui_demo_app"
|
name = "egui_demo_app"
|
||||||
version = "0.10.0"
|
version = "0.11.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"eframe",
|
"eframe",
|
||||||
"egui_demo_lib",
|
"egui_demo_lib",
|
||||||
|
@ -769,7 +769,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "egui_demo_lib"
|
name = "egui_demo_lib"
|
||||||
version = "0.10.0"
|
version = "0.11.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"criterion",
|
"criterion",
|
||||||
"egui",
|
"egui",
|
||||||
|
@ -781,7 +781,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "egui_glium"
|
name = "egui_glium"
|
||||||
version = "0.10.0"
|
version = "0.11.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"copypasta",
|
"copypasta",
|
||||||
|
@ -798,7 +798,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "egui_web"
|
name = "egui_web"
|
||||||
version = "0.10.0"
|
version = "0.11.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"egui",
|
"egui",
|
||||||
"epi",
|
"epi",
|
||||||
|
@ -819,7 +819,7 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "emath"
|
name = "emath"
|
||||||
version = "0.10.0"
|
version = "0.11.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"serde",
|
"serde",
|
||||||
]
|
]
|
||||||
|
@ -839,7 +839,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "epaint"
|
name = "epaint"
|
||||||
version = "0.10.0"
|
version = "0.11.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ahash",
|
"ahash",
|
||||||
"atomic_refcell",
|
"atomic_refcell",
|
||||||
|
@ -852,7 +852,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "epi"
|
name = "epi"
|
||||||
version = "0.10.0"
|
version = "0.11.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"egui",
|
"egui",
|
||||||
"ron",
|
"ron",
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# Changelog for eframe
|
# Changelog for eframe
|
||||||
All notable changes to the `eframe` crate.
|
All notable changes to the `eframe` crate.
|
||||||
|
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
||||||
|
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
|
||||||
|
## 0.11.0 - 2021-04-05
|
||||||
* You can now turn your window transparent with the `App::transparent` option.
|
* You can now turn your window transparent with the `App::transparent` option.
|
||||||
* You can now disable window decorations with the `App::decorated` option.
|
* You can now disable window decorations with the `App::decorated` option.
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "eframe"
|
name = "eframe"
|
||||||
version = "0.10.0"
|
version = "0.11.0"
|
||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
description = "egui framework - write GUI apps that compiles to web and/or natively"
|
description = "egui framework - write GUI apps that compiles to web and/or natively"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
@ -20,16 +20,16 @@ include = [
|
||||||
[lib]
|
[lib]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
egui = { version = "0.10.0", path = "../egui" }
|
egui = { version = "0.11.0", path = "../egui" }
|
||||||
epi = { version = "0.10.0", path = "../epi" }
|
epi = { version = "0.11.0", path = "../epi" }
|
||||||
|
|
||||||
# For compiling natively:
|
# For compiling natively:
|
||||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
[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:
|
# For compiling to web:
|
||||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
[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]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "egui"
|
name = "egui"
|
||||||
version = "0.10.0"
|
version = "0.11.0"
|
||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
description = "Simple, portable immediate mode GUI library for Rust"
|
description = "Simple, portable immediate mode GUI library for Rust"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
@ -20,7 +20,7 @@ include = [
|
||||||
[lib]
|
[lib]
|
||||||
|
|
||||||
[dependencies]
|
[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 }
|
serde = { version = "1", features = ["derive", "rc"], optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "egui_demo_app"
|
name = "egui_demo_app"
|
||||||
version = "0.10.0"
|
version = "0.11.0"
|
||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
@ -10,8 +10,8 @@ publish = false
|
||||||
crate-type = ["cdylib", "rlib"]
|
crate-type = ["cdylib", "rlib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
eframe = { version = "0.10.0", path = "../eframe", features = ["time"] }
|
eframe = { version = "0.11.0", path = "../eframe", features = ["time"] }
|
||||||
egui_demo_lib = { version = "0.10.0", path = "../egui_demo_lib" }
|
egui_demo_lib = { version = "0.11.0", path = "../egui_demo_lib" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["persistence", "screen_reader"]
|
default = ["persistence", "screen_reader"]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "egui_demo_lib"
|
name = "egui_demo_lib"
|
||||||
version = "0.10.0"
|
version = "0.11.0"
|
||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
description = "Example library for egui"
|
description = "Example library for egui"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
@ -20,8 +20,8 @@ include = [
|
||||||
[lib]
|
[lib]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
egui = { version = "0.10.0", path = "../egui" }
|
egui = { version = "0.11.0", path = "../egui" }
|
||||||
epi = { version = "0.10.0", path = "../epi" }
|
epi = { version = "0.11.0", path = "../epi" }
|
||||||
|
|
||||||
# feature "http":
|
# feature "http":
|
||||||
image = { version = "0.23", default-features = false, features = ["jpeg", "png"], optional = true }
|
image = { version = "0.23", default-features = false, features = ["jpeg", "png"], optional = true }
|
||||||
|
|
|
@ -2,11 +2,14 @@
|
||||||
|
|
||||||
All notable changes to the `egui_glium` integration will be noted in this file.
|
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
|
## 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
|
## 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)
|
* [Add shaders for GLSL 1.2, GLSL ES 1.0 and 3.0](https://github.com/emilk/egui/pull/187)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "egui_glium"
|
name = "egui_glium"
|
||||||
version = "0.10.0"
|
version = "0.11.0"
|
||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
description = "Bindings for using egui natively using the glium library"
|
description = "Bindings for using egui natively using the glium library"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
@ -20,8 +20,8 @@ include = [
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
copypasta = "0.7"
|
copypasta = "0.7"
|
||||||
egui = { version = "0.10.0", path = "../egui" }
|
egui = { version = "0.11.0", path = "../egui" }
|
||||||
epi = { version = "0.10.0", path = "../epi" }
|
epi = { version = "0.11.0", path = "../epi" }
|
||||||
glium = "0.29"
|
glium = "0.29"
|
||||||
webbrowser = "0.5"
|
webbrowser = "0.5"
|
||||||
|
|
||||||
|
|
|
@ -2,88 +2,67 @@
|
||||||
|
|
||||||
All notable changes to the `egui_web` integration will be noted in this file.
|
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
|
## Unreleased
|
||||||
|
|
||||||
### Added ⭐
|
|
||||||
|
|
||||||
|
## 0.11.0 - 2021-04-05
|
||||||
|
|
||||||
|
### Added ⭐
|
||||||
* [Fix mobile and IME text input](https://github.com/emilk/egui/pull/253)
|
* [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.
|
* Hold down a modifier key when clicking a link to open it in a new tab.
|
||||||
|
|
||||||
Contributors: [n2](https://github.com/n2)
|
Contributors: [n2](https://github.com/n2)
|
||||||
|
|
||||||
|
|
||||||
## 0.10.0 - 2021-02-28
|
## 0.10.0 - 2021-02-28
|
||||||
|
|
||||||
### Added ⭐
|
### Added ⭐
|
||||||
|
|
||||||
* You can control the maximum egui canvas size with `App::max_size_points`.
|
* You can control the maximum egui canvas size with `App::max_size_points`.
|
||||||
|
|
||||||
|
|
||||||
## 0.9.0 - 2021-02-07
|
## 0.9.0 - 2021-02-07
|
||||||
|
|
||||||
### Added ⭐
|
### Added ⭐
|
||||||
|
|
||||||
* Right-clicks will no longer open browser context menu.
|
* Right-clicks will no longer open browser context menu.
|
||||||
|
|
||||||
### Fixed ⭐
|
### Fixed ⭐
|
||||||
|
|
||||||
* Fix a bug where one couldn't select items in a combo box on a touch screen.
|
* Fix a bug where one couldn't select items in a combo box on a touch screen.
|
||||||
|
|
||||||
|
|
||||||
## 0.8.0 - 2021-01-17
|
## 0.8.0 - 2021-01-17
|
||||||
|
|
||||||
### Added ⭐
|
### Added ⭐
|
||||||
|
|
||||||
* WebGL2 is now supported, with improved texture sampler. WebGL1 will be used as a fallback.
|
* WebGL2 is now supported, with improved texture sampler. WebGL1 will be used as a fallback.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
* Slightly improved alpha-blending (work-around for non-existing linear-space blending).
|
* Slightly improved alpha-blending (work-around for non-existing linear-space blending).
|
||||||
|
|
||||||
### Fixed ⭐
|
### Fixed ⭐
|
||||||
|
|
||||||
* Call prevent_default for arrow keys when entering text
|
* Call prevent_default for arrow keys when entering text
|
||||||
|
|
||||||
|
|
||||||
## 0.7.0 - 2021-01-04
|
## 0.7.0 - 2021-01-04
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
* `http` and `persistence` are now optional (and opt-in) features.
|
* `http` and `persistence` are now optional (and opt-in) features.
|
||||||
|
|
||||||
### Fixed ⭐
|
### Fixed ⭐
|
||||||
|
|
||||||
* egui_web now compiled without `RUSTFLAGS=--cfg=web_sys_unstable_apis`, but copy/paste won't work.
|
* egui_web now compiled without `RUSTFLAGS=--cfg=web_sys_unstable_apis`, but copy/paste won't work.
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0 - 2020-12-26
|
## 0.6.0 - 2020-12-26
|
||||||
|
|
||||||
### Added ⭐
|
### Added ⭐
|
||||||
|
|
||||||
* Auto-save of app state to local storage
|
* Auto-save of app state to local storage
|
||||||
|
|
||||||
### Changed ⭐
|
### Changed ⭐
|
||||||
|
|
||||||
* Set a maximum canvas size to alleviate performance issues on some machines
|
* Set a maximum canvas size to alleviate performance issues on some machines
|
||||||
* Simplify `egui_web::start` arguments
|
* Simplify `egui_web::start` arguments
|
||||||
|
|
||||||
|
|
||||||
## 0.4.0 - 2020-11-28
|
## 0.4.0 - 2020-11-28
|
||||||
|
|
||||||
### Added ⭐
|
### Added ⭐
|
||||||
|
|
||||||
* A simple HTTP fetch API (wraps `web_sys`).
|
* A simple HTTP fetch API (wraps `web_sys`).
|
||||||
* Add ability to request a repaint
|
* Add ability to request a repaint
|
||||||
* Copy/cut/paste suppoert
|
* Copy/cut/paste suppoert
|
||||||
|
|
||||||
### Changed ⭐
|
### Changed ⭐
|
||||||
|
|
||||||
* Automatic repaint every second
|
* Automatic repaint every second
|
||||||
|
|
||||||
### Fixed ⭐
|
### Fixed ⭐
|
||||||
|
|
||||||
* Web browser zooming should now work as expected
|
* Web browser zooming should now work as expected
|
||||||
* A bunch of bug fixes related to keyboard events
|
* A bunch of bug fixes related to keyboard events
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "egui_web"
|
name = "egui_web"
|
||||||
version = "0.10.0"
|
version = "0.11.0"
|
||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
description = "Bindings for compiling egui code to WASM for a web page"
|
description = "Bindings for compiling egui code to WASM for a web page"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
@ -22,8 +22,8 @@ include = [
|
||||||
crate-type = ["cdylib", "rlib"]
|
crate-type = ["cdylib", "rlib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
egui = { version = "0.10.0", path = "../egui" }
|
egui = { version = "0.11.0", path = "../egui" }
|
||||||
epi = { version = "0.10.0", path = "../epi" }
|
epi = { version = "0.11.0", path = "../epi" }
|
||||||
js-sys = "0.3"
|
js-sys = "0.3"
|
||||||
ron = { version = "0.6", optional = true }
|
ron = { version = "0.6", optional = true }
|
||||||
serde = { version = "1", optional = true }
|
serde = { version = "1", optional = true }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "emath"
|
name = "emath"
|
||||||
version = "0.10.0"
|
version = "0.11.0"
|
||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
description = "Minimal 2D math library for GUI work"
|
description = "Minimal 2D math library for GUI work"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "epaint"
|
name = "epaint"
|
||||||
version = "0.10.0"
|
version = "0.11.0"
|
||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
description = "Minimal 2D graphics library for GUI work"
|
description = "Minimal 2D graphics library for GUI work"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
@ -22,7 +22,7 @@ include = [
|
||||||
[lib]
|
[lib]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
emath = { version = "0.10.0", path = "../emath" }
|
emath = { version = "0.11.0", path = "../emath" }
|
||||||
|
|
||||||
ahash = { version = "0.7", features = ["std"], default-features = false }
|
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.
|
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.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "epi"
|
name = "epi"
|
||||||
version = "0.10.0"
|
version = "0.11.0"
|
||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
description = "Backend-agnostic interface for writing apps using egui"
|
description = "Backend-agnostic interface for writing apps using egui"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
@ -20,7 +20,7 @@ include = [
|
||||||
[lib]
|
[lib]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
egui = { version = "0.10.0", path = "../egui" }
|
egui = { version = "0.11.0", path = "../egui" }
|
||||||
ron = { version = "0.6", optional = true }
|
ron = { version = "0.6", optional = true }
|
||||||
serde = { version = "1", optional = true }
|
serde = { version = "1", optional = true }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue