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
## 0.10.0 - 2021-02-28 - Plot and polish
<img src="media/egui-0.10-plot.gif" width="50%">
### Added ⭐
* Add `egui::plot::Plot` to plot some 2D data.

18
Cargo.lock generated
View File

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

View File

@ -7,7 +7,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## 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 maximum egui web canvas size with `App::max_size_points`.
* `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
* Nothing new
* [Add support for HTTP body](https://github.com/emilk/egui/pull/139).
## 0.8.0 - 2021-01-17

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
[package]
name = "egui_glium"
version = "0.9.0"
version = "0.10.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Bindings for using egui natively using the glium library"
edition = "2018"
@ -18,8 +18,8 @@ include = [
[dependencies]
clipboard = "0.5"
egui = { version = "0.9.0", path = "../egui" }
epi = { version = "0.9.0", path = "../epi" }
egui = { version = "0.10.0", path = "../egui" }
epi = { version = "0.10.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.10.0 - 2021-02-28
### Added ⭐
* You can control the maximum egui canvas size with `App::max_size_points`.

View File

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