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
## 0.9.0 - 2021-02-07 - Light Mode and much more
### Added ⭐
<img src="media/0.9.0-disabled.gif" width="50%">
* Add support for secondary and middle mouse buttons.
* Add `Label` methods for code, strong, strikethrough, underline and italics.
* 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]]
name = "eframe"
version = "0.8.0"
version = "0.9.0"
dependencies = [
"egui",
"egui_glium",
@ -638,7 +638,7 @@ dependencies = [
[[package]]
name = "egui"
version = "0.8.0"
version = "0.9.0"
dependencies = [
"epaint",
"serde",
@ -646,7 +646,7 @@ dependencies = [
[[package]]
name = "egui_demo_app"
version = "0.8.0"
version = "0.9.0"
dependencies = [
"eframe",
"egui_demo_lib",
@ -654,7 +654,7 @@ dependencies = [
[[package]]
name = "egui_demo_lib"
version = "0.8.1"
version = "0.9.0"
dependencies = [
"criterion",
"egui",
@ -666,7 +666,7 @@ dependencies = [
[[package]]
name = "egui_glium"
version = "0.8.0"
version = "0.9.0"
dependencies = [
"chrono",
"clipboard",
@ -682,7 +682,7 @@ dependencies = [
[[package]]
name = "egui_web"
version = "0.8.0"
version = "0.9.0"
dependencies = [
"egui",
"epi",
@ -702,14 +702,14 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
[[package]]
name = "emath"
version = "0.8.0"
version = "0.9.0"
dependencies = [
"serde",
]
[[package]]
name = "epaint"
version = "0.8.0"
version = "0.9.0"
dependencies = [
"ahash",
"atomic_refcell",
@ -721,7 +721,7 @@ dependencies = [
[[package]]
name = "epi"
version = "0.8.0"
version = "0.9.0"
dependencies = [
"egui",
"serde",

View File

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

View File

@ -1,6 +1,6 @@
[package]
name = "eframe"
version = "0.8.0"
version = "0.9.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "egui framework - write GUI apps that compiles to web and/or natively"
edition = "2018"
@ -15,16 +15,16 @@ include = [ "**/*.rs", "Cargo.toml"]
[lib]
[dependencies]
egui = { version = "0.8.0", path = "../egui" }
epi = { version = "0.8.0", path = "../epi" }
egui = { version = "0.9.0", path = "../egui" }
epi = { version = "0.9.0", path = "../epi" }
# For compiling natively:
[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:
[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]
default = []

View File

@ -1,6 +1,6 @@
[package]
name = "egui"
version = "0.8.0"
version = "0.9.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Simple, portable immediate mode GUI library for Rust"
edition = "2018"
@ -18,7 +18,7 @@ include = [
[lib]
[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 }
[features]

View File

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

View File

@ -1,6 +1,6 @@
[package]
name = "egui_demo_lib"
version = "0.8.1"
version = "0.9.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Example library for egui"
edition = "2018"
@ -15,8 +15,8 @@ include = [ "**/*.rs", "Cargo.toml"]
[lib]
[dependencies]
egui = { version = "0.8.0", path = "../egui" }
epi = { version = "0.8.0", path = "../epi" }
egui = { version = "0.9.0", path = "../egui" }
epi = { version = "0.9.0", path = "../epi" }
# feature "http":
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
## 0.9.0 - 2021-02-07
* Nothing new
## 0.8.0 - 2021-01-17
### Fixed 🐛

View File

@ -1,6 +1,6 @@
[package]
name = "egui_glium"
version = "0.8.0"
version = "0.9.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Bindings for using egui natively using the glium library"
edition = "2018"
@ -14,8 +14,8 @@ include = [ "**/*.rs", "Cargo.toml"]
[dependencies]
clipboard = "0.5"
egui = { version = "0.8.0", path = "../egui" }
epi = { version = "0.8.0", path = "../epi" }
egui = { version = "0.9.0", path = "../egui" }
epi = { version = "0.9.0", path = "../epi" }
glium = "0.29"
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
## 0.9.0 - 2021-02-07
### Added ⭐
* Right-clicks will no longer open browser context menu.

View File

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

View File

@ -1,6 +1,6 @@
[package]
name = "emath"
version = "0.8.0"
version = "0.9.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.8.0"
version = "0.9.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Minimal 2D graphics library for GUI work"
edition = "2018"
@ -19,7 +19,7 @@ include = [
[lib]
[dependencies]
emath = { version = "0.8.0", path = "../emath" }
emath = { version = "0.9.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

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

View File

@ -1,6 +1,6 @@
[package]
name = "epi"
version = "0.8.0"
version = "0.9.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Backend-agnostic interface for writing apps using egui"
edition = "2018"
@ -15,7 +15,7 @@ include = [ "**/*.rs", "Cargo.toml"]
[lib]
[dependencies]
egui = { version = "0.8.0", path = "../egui" }
egui = { version = "0.9.0", path = "../egui" }
serde = { version = "1", optional = true }
serde_json = { version = "1", optional = true }