Release 0.10.0 - Plot and polish

This commit is contained in:
Emil Ernerfeldt 2021-02-28 20:01:18 +01:00
parent f793ac7f3e
commit fb2db4940e
15 changed files with 51 additions and 37 deletions

View File

@ -9,6 +9,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## Unreleased ## Unreleased
## 0.10.0 - 2021-02-28 - Plot and polish
<img src="media/egui-0.10-plot.gif" width="50%">
### Added ⭐ ### Added ⭐
* Add `egui::plot::Plot` to plot some 2D data. * Add `egui::plot::Plot` to plot some 2D data.

18
Cargo.lock generated
View File

@ -630,7 +630,7 @@ checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650"
[[package]] [[package]]
name = "eframe" name = "eframe"
version = "0.9.0" version = "0.10.0"
dependencies = [ dependencies = [
"egui", "egui",
"egui_glium", "egui_glium",
@ -640,7 +640,7 @@ dependencies = [
[[package]] [[package]]
name = "egui" name = "egui"
version = "0.9.0" version = "0.10.0"
dependencies = [ dependencies = [
"epaint", "epaint",
"serde", "serde",
@ -648,7 +648,7 @@ dependencies = [
[[package]] [[package]]
name = "egui_demo_app" name = "egui_demo_app"
version = "0.9.0" version = "0.10.0"
dependencies = [ dependencies = [
"eframe", "eframe",
"egui_demo_lib", "egui_demo_lib",
@ -656,7 +656,7 @@ dependencies = [
[[package]] [[package]]
name = "egui_demo_lib" name = "egui_demo_lib"
version = "0.9.0" version = "0.10.0"
dependencies = [ dependencies = [
"criterion", "criterion",
"egui", "egui",
@ -668,7 +668,7 @@ dependencies = [
[[package]] [[package]]
name = "egui_glium" name = "egui_glium"
version = "0.9.0" version = "0.10.0"
dependencies = [ dependencies = [
"chrono", "chrono",
"clipboard", "clipboard",
@ -684,7 +684,7 @@ dependencies = [
[[package]] [[package]]
name = "egui_web" name = "egui_web"
version = "0.9.0" version = "0.10.0"
dependencies = [ dependencies = [
"egui", "egui",
"epi", "epi",
@ -704,14 +704,14 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
[[package]] [[package]]
name = "emath" name = "emath"
version = "0.9.0" version = "0.10.0"
dependencies = [ dependencies = [
"serde", "serde",
] ]
[[package]] [[package]]
name = "epaint" name = "epaint"
version = "0.9.0" version = "0.10.0"
dependencies = [ dependencies = [
"ahash", "ahash",
"atomic_refcell", "atomic_refcell",
@ -723,7 +723,7 @@ dependencies = [
[[package]] [[package]]
name = "epi" name = "epi"
version = "0.9.0" version = "0.10.0"
dependencies = [ dependencies = [
"egui", "egui",
"serde", "serde",

View File

@ -7,7 +7,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## Unreleased ## Unreleased
* You can now set your own app icons. See <https://github.com/emilk/egui/pull/193> for example code.
## 0.10.0 - 2021-02-28
* [You can now set your own app icons](https://github.com/emilk/egui/pull/193).
* You can control the initial size of the native window with `App::initial_window_size`. * You can control the initial size of the native window with `App::initial_window_size`.
* You can control the maximum egui web canvas size with `App::max_size_points`. * You can control the maximum egui web canvas size with `App::max_size_points`.
* `Frame::tex_allocator()` no longer returns an `Option` (there is always a texture allocator). * `Frame::tex_allocator()` no longer returns an `Option` (there is always a texture allocator).
@ -15,7 +18,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## 0.9.0 - 2021-02-07 ## 0.9.0 - 2021-02-07
* Nothing new * [Add support for HTTP body](https://github.com/emilk/egui/pull/139).
## 0.8.0 - 2021-01-17 ## 0.8.0 - 2021-01-17

View File

@ -1,6 +1,6 @@
[package] [package]
name = "eframe" name = "eframe"
version = "0.9.0" version = "0.10.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.9.0", path = "../egui" } egui = { version = "0.10.0", path = "../egui" }
epi = { version = "0.9.0", path = "../epi" } epi = { version = "0.10.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.9.0", path = "../egui_glium" } egui_glium = { version = "0.10.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.9.0", path = "../egui_web" } egui_web = { version = "0.10.0", path = "../egui_web" }
[features] [features]
default = [] default = []

View File

@ -1,6 +1,6 @@
[package] [package]
name = "egui" name = "egui"
version = "0.9.0" version = "0.10.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.9.0", path = "../epaint", default-features = false } epaint = { version = "0.10.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.9.0" version = "0.10.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.9.0", path = "../eframe", features = ["time"] } eframe = { version = "0.10.0", path = "../eframe", features = ["time"] }
egui_demo_lib = { version = "0.9.0", path = "../egui_demo_lib" } egui_demo_lib = { version = "0.10.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.9.0" version = "0.10.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.9.0", path = "../egui" } egui = { version = "0.10.0", path = "../egui" }
epi = { version = "0.9.0", path = "../epi" } epi = { version = "0.10.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

@ -7,8 +7,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## Unreleased ## Unreleased
* Added GLSL 1.2 shaders (now `egui` works well on old hardware which supports OpenGL 2.1 only like Raspberry Pi 1 and Zero)
* Added GLSL ES 1.0 and 3.0 shaders (by reusing from webgl backend) ## 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)
- now `egui` works well on old hardware which supports OpenGL 2.1 only like Raspberry Pi 1 and Zero.
## 0.9.0 - 2021-02-07 ## 0.9.0 - 2021-02-07

View File

@ -1,6 +1,6 @@
[package] [package]
name = "egui_glium" name = "egui_glium"
version = "0.9.0" version = "0.10.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"
@ -18,8 +18,8 @@ include = [
[dependencies] [dependencies]
clipboard = "0.5" clipboard = "0.5"
egui = { version = "0.9.0", path = "../egui" } egui = { version = "0.10.0", path = "../egui" }
epi = { version = "0.9.0", path = "../epi" } epi = { version = "0.10.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.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`.

View File

@ -1,6 +1,6 @@
[package] [package]
name = "egui_web" name = "egui_web"
version = "0.9.0" version = "0.10.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"
@ -20,8 +20,8 @@ include = [
crate-type = ["cdylib", "rlib"] crate-type = ["cdylib", "rlib"]
[dependencies] [dependencies]
egui = { version = "0.9.0", path = "../egui" } egui = { version = "0.10.0", path = "../egui" }
epi = { version = "0.9.0", path = "../epi" } epi = { version = "0.10.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.9.0" version = "0.10.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.9.0" version = "0.10.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.9.0", path = "../emath" } emath = { version = "0.10.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

@ -1,6 +1,6 @@
[package] [package]
name = "epi" name = "epi"
version = "0.9.0" version = "0.10.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.9.0", path = "../egui" } egui = { version = "0.10.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 }

BIN
media/egui-0.10-plot.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB