Release 0.9.0 - light mode, right clicks and more

This commit is contained in:
Emil Ernerfeldt 2021-02-07 17:06:42 +01:00
parent fdff33df5e
commit b61db038f2
15 changed files with 56 additions and 33 deletions

View File

@ -9,8 +9,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## Unreleased ## Unreleased
## 0.9.0 - 2021-02-07 - Light Mode and much more
### Added ⭐ ### Added ⭐
<img src="media/0.9.0-disabled.gif" width="50%">
* Add support for secondary and middle mouse buttons. * Add support for secondary and middle mouse buttons.
* Add `Label` methods for code, strong, strikethrough, underline and italics. * Add `Label` methods for code, strong, strikethrough, underline and italics.
* Add `ui.group(|ui| { … })` to visually group some widgets within a frame. * Add `ui.group(|ui| { … })` to visually group some widgets within a frame.

18
Cargo.lock generated
View File

@ -628,7 +628,7 @@ checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650"
[[package]] [[package]]
name = "eframe" name = "eframe"
version = "0.8.0" version = "0.9.0"
dependencies = [ dependencies = [
"egui", "egui",
"egui_glium", "egui_glium",
@ -638,7 +638,7 @@ dependencies = [
[[package]] [[package]]
name = "egui" name = "egui"
version = "0.8.0" version = "0.9.0"
dependencies = [ dependencies = [
"epaint", "epaint",
"serde", "serde",
@ -646,7 +646,7 @@ dependencies = [
[[package]] [[package]]
name = "egui_demo_app" name = "egui_demo_app"
version = "0.8.0" version = "0.9.0"
dependencies = [ dependencies = [
"eframe", "eframe",
"egui_demo_lib", "egui_demo_lib",
@ -654,7 +654,7 @@ dependencies = [
[[package]] [[package]]
name = "egui_demo_lib" name = "egui_demo_lib"
version = "0.8.1" version = "0.9.0"
dependencies = [ dependencies = [
"criterion", "criterion",
"egui", "egui",
@ -666,7 +666,7 @@ dependencies = [
[[package]] [[package]]
name = "egui_glium" name = "egui_glium"
version = "0.8.0" version = "0.9.0"
dependencies = [ dependencies = [
"chrono", "chrono",
"clipboard", "clipboard",
@ -682,7 +682,7 @@ dependencies = [
[[package]] [[package]]
name = "egui_web" name = "egui_web"
version = "0.8.0" version = "0.9.0"
dependencies = [ dependencies = [
"egui", "egui",
"epi", "epi",
@ -702,14 +702,14 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
[[package]] [[package]]
name = "emath" name = "emath"
version = "0.8.0" version = "0.9.0"
dependencies = [ dependencies = [
"serde", "serde",
] ]
[[package]] [[package]]
name = "epaint" name = "epaint"
version = "0.8.0" version = "0.9.0"
dependencies = [ dependencies = [
"ahash", "ahash",
"atomic_refcell", "atomic_refcell",
@ -721,7 +721,7 @@ dependencies = [
[[package]] [[package]]
name = "epi" name = "epi"
version = "0.8.0" version = "0.9.0"
dependencies = [ dependencies = [
"egui", "egui",
"serde", "serde",

View File

@ -8,6 +8,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## Unreleased ## Unreleased
## 0.9.0 - 2021-02-07
* Nothing new
## 0.8.0 - 2021-01-17 ## 0.8.0 - 2021-01-17
* Update all egui-related dependencies to `0.8.0` * Update all egui-related dependencies to `0.8.0`

View File

@ -1,6 +1,6 @@
[package] [package]
name = "eframe" name = "eframe"
version = "0.8.0" version = "0.9.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"
@ -15,16 +15,16 @@ include = [ "**/*.rs", "Cargo.toml"]
[lib] [lib]
[dependencies] [dependencies]
egui = { version = "0.8.0", path = "../egui" } egui = { version = "0.9.0", path = "../egui" }
epi = { version = "0.8.0", path = "../epi" } epi = { version = "0.9.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.8.0", path = "../egui_glium" } egui_glium = { version = "0.9.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.8.0", path = "../egui_web" } egui_web = { version = "0.9.0", path = "../egui_web" }
[features] [features]
default = [] default = []

View File

@ -1,6 +1,6 @@
[package] [package]
name = "egui" name = "egui"
version = "0.8.0" version = "0.9.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"
@ -18,7 +18,7 @@ include = [
[lib] [lib]
[dependencies] [dependencies]
epaint = { version = "0.8.0", path = "../epaint", default-features = false } epaint = { version = "0.9.0", path = "../epaint", default-features = false }
serde = { version = "1", features = ["derive", "rc"], optional = true } serde = { version = "1", features = ["derive", "rc"], optional = true }
[features] [features]

View File

@ -1,6 +1,6 @@
[package] [package]
name = "egui_demo_app" name = "egui_demo_app"
version = "0.8.0" version = "0.9.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.8.0", path = "../eframe", features = ["time"] } eframe = { version = "0.9.0", path = "../eframe", features = ["time"] }
egui_demo_lib = { version = "0.8.0", path = "../egui_demo_lib" } egui_demo_lib = { version = "0.9.0", path = "../egui_demo_lib" }
[features] [features]
default = ["persistence"] default = ["persistence"]

View File

@ -1,6 +1,6 @@
[package] [package]
name = "egui_demo_lib" name = "egui_demo_lib"
version = "0.8.1" version = "0.9.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"
@ -15,8 +15,8 @@ include = [ "**/*.rs", "Cargo.toml"]
[lib] [lib]
[dependencies] [dependencies]
egui = { version = "0.8.0", path = "../egui" } egui = { version = "0.9.0", path = "../egui" }
epi = { version = "0.8.0", path = "../epi" } epi = { version = "0.9.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 }

View File

@ -8,6 +8,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## Unreleased ## Unreleased
## 0.9.0 - 2021-02-07
* Nothing new
## 0.8.0 - 2021-01-17 ## 0.8.0 - 2021-01-17
### Fixed 🐛 ### Fixed 🐛

View File

@ -1,6 +1,6 @@
[package] [package]
name = "egui_glium" name = "egui_glium"
version = "0.8.0" version = "0.9.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"
@ -14,8 +14,8 @@ include = [ "**/*.rs", "Cargo.toml"]
[dependencies] [dependencies]
clipboard = "0.5" clipboard = "0.5"
egui = { version = "0.8.0", path = "../egui" } egui = { version = "0.9.0", path = "../egui" }
epi = { version = "0.8.0", path = "../epi" } epi = { version = "0.9.0", path = "../epi" }
glium = "0.29" glium = "0.29"
webbrowser = "0.5" webbrowser = "0.5"

View File

@ -7,6 +7,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## Unreleased ## Unreleased
## 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.

View File

@ -1,6 +1,6 @@
[package] [package]
name = "egui_web" name = "egui_web"
version = "0.8.0" version = "0.9.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"
@ -16,8 +16,8 @@ include = [ "**/*.rs", "Cargo.toml"]
crate-type = ["cdylib", "rlib"] crate-type = ["cdylib", "rlib"]
[dependencies] [dependencies]
egui = { version = "0.8.0", path = "../egui" } egui = { version = "0.9.0", path = "../egui" }
epi = { version = "0.8.0", path = "../epi" } epi = { version = "0.9.0", path = "../epi" }
js-sys = "0.3" js-sys = "0.3"
serde = { version = "1", optional = true } serde = { version = "1", optional = true }
serde_json = { version = "1", optional = true } serde_json = { version = "1", optional = true }

View File

@ -1,6 +1,6 @@
[package] [package]
name = "emath" name = "emath"
version = "0.8.0" version = "0.9.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"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "epaint" name = "epaint"
version = "0.8.0" version = "0.9.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"
@ -19,7 +19,7 @@ include = [
[lib] [lib]
[dependencies] [dependencies]
emath = { version = "0.8.0", path = "../emath" } emath = { version = "0.9.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.

View File

@ -8,6 +8,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## Unreleased ## Unreleased
## 0.9.0 - 2021-02-07
* Nothing new
## 0.8.0 - 2021-01-17 ## 0.8.0 - 2021-01-17
* Simplify `TextureAllocator` interface. * Simplify `TextureAllocator` interface.

View File

@ -1,6 +1,6 @@
[package] [package]
name = "epi" name = "epi"
version = "0.8.0" version = "0.9.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"
@ -15,7 +15,7 @@ include = [ "**/*.rs", "Cargo.toml"]
[lib] [lib]
[dependencies] [dependencies]
egui = { version = "0.8.0", path = "../egui" } egui = { version = "0.9.0", path = "../egui" }
serde = { version = "1", optional = true } serde = { version = "1", optional = true }
serde_json = { version = "1", optional = true } serde_json = { version = "1", optional = true }