Browse Source

Release 0.14.0 - Ui panels and bug fixes

pull/649/head 0.14.0
Emil Ernerfeldt 3 years ago
parent
commit
cb566fc295
  1. 16
      CHANGELOG.md
  2. 18
      Cargo.lock
  3. 818
      docs/egui_demo_app.js
  4. BIN
      docs/egui_demo_app_bg.wasm
  5. 3
      eframe/CHANGELOG.md
  6. 10
      eframe/Cargo.toml
  7. 4
      egui/Cargo.toml
  8. 6
      egui_demo_app/Cargo.toml
  9. 6
      egui_demo_lib/Cargo.toml
  10. 3
      egui_glium/CHANGELOG.md
  11. 6
      egui_glium/Cargo.toml
  12. 3
      egui_web/CHANGELOG.md
  13. 6
      egui_web/Cargo.toml
  14. 2
      emath/Cargo.toml
  15. 4
      epaint/Cargo.toml
  16. 4
      epi/Cargo.toml

16
CHANGELOG.md

@ -7,6 +7,9 @@ NOTE: [`eframe`](eframe/CHANGELOG.md), [`egui_web`](egui_web/CHANGELOG.md) and [
## Unreleased
## 0.14.0 - 2021-08-24 - Ui panels and bug fixes
### Added ⭐
* Panels can now be added to any `Ui`.
* Plot:
@ -18,6 +21,7 @@ NOTE: [`eframe`](eframe/CHANGELOG.md), [`egui_web`](egui_web/CHANGELOG.md) and [
* `CollapsingHeader` can now optionally be selectable.
### Changed 🔧
* A single-line `TextEdit` will now clip text that doesn't fit in it, and scroll.
* Return closure return value from `Area::show`, `ComboBox::show_ui`, `ComboBox::combo_box_with_label`, `Window::show`, `popup::*`, `menu::menu`.
* Only move/resize windows with primary mouse button.
* Tooltips are now moved to not cover the widget they are attached to.
@ -30,6 +34,18 @@ NOTE: [`eframe`](eframe/CHANGELOG.md), [`egui_web`](egui_web/CHANGELOG.md) and [
* Fix case where `Plot`'s `min_auto_bounds` could be ignored after the first call to `Plot::ui`.
* Fix slow startup when using large font files.
### Contributors 🙏
* [barrowsys](https://github.com/barrowsys)
* [EmbersArc](https://github.com/EmbersArc)
* [gents83](https://github.com/gents83 )
* [lucaspoffo](https://github.com/lucaspoffo)
* [mankinskin](https://github.com/mankinskin)
* [mental32](https://github.com/mental32)
* [mitchmindtree](https://github.com/mitchmindtree)
* [parasyte](https://github.com/parasyte)
* [rekka](https://github.com/rekka)
* [zu1k](https://github.com/zu1k)
## 0.13.1 - 2021-06-28 - Plot fixes

18
Cargo.lock

@ -778,7 +778,7 @@ checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf"
[[package]]
name = "eframe"
version = "0.13.1"
version = "0.14.0"
dependencies = [
"egui",
"egui_glium",
@ -788,7 +788,7 @@ dependencies = [
[[package]]
name = "egui"
version = "0.13.1"
version = "0.14.0"
dependencies = [
"epaint",
"ron",
@ -798,7 +798,7 @@ dependencies = [
[[package]]
name = "egui_demo_app"
version = "0.13.0"
version = "0.14.0"
dependencies = [
"eframe",
"egui_demo_lib",
@ -806,7 +806,7 @@ dependencies = [
[[package]]
name = "egui_demo_lib"
version = "0.13.0"
version = "0.14.0"
dependencies = [
"criterion",
"egui",
@ -819,7 +819,7 @@ dependencies = [
[[package]]
name = "egui_glium"
version = "0.13.1"
version = "0.14.0"
dependencies = [
"chrono",
"copypasta",
@ -836,7 +836,7 @@ dependencies = [
[[package]]
name = "egui_web"
version = "0.13.0"
version = "0.14.0"
dependencies = [
"egui",
"epi",
@ -857,7 +857,7 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
[[package]]
name = "emath"
version = "0.13.0"
version = "0.14.0"
dependencies = [
"mint",
"serde",
@ -878,7 +878,7 @@ dependencies = [
[[package]]
name = "epaint"
version = "0.13.0"
version = "0.14.0"
dependencies = [
"ab_glyph",
"ahash",
@ -892,7 +892,7 @@ dependencies = [
[[package]]
name = "epi"
version = "0.13.0"
version = "0.14.0"
dependencies = [
"egui",
"ron",

818
docs/egui_demo_app.js

File diff suppressed because it is too large

BIN
docs/egui_demo_app_bg.wasm

Binary file not shown.

3
eframe/CHANGELOG.md

@ -3,6 +3,9 @@ All notable changes to the `eframe` crate.
## Unreleased
## 0.14.0 - 2021-08-24
* Add dragging and dropping files into egui.
* Improve http fetch API.
* `run_native` now returns when the app is closed.

10
eframe/Cargo.toml

@ -1,6 +1,6 @@
[package]
name = "eframe"
version = "0.13.1"
version = "0.14.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "egui framework - write GUI apps that compiles to web and/or natively"
edition = "2018"
@ -23,16 +23,16 @@ all-features = true
[lib]
[dependencies]
egui = { version = "0.13.0", path = "../egui", default-features = false }
epi = { version = "0.13.0", path = "../epi" }
egui = { version = "0.14.0", path = "../egui", default-features = false }
epi = { version = "0.14.0", path = "../epi" }
# For compiling natively:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
egui_glium = { version = "0.13.1", path = "../egui_glium", default-features = false }
egui_glium = { version = "0.14.0", path = "../egui_glium", default-features = false }
# For compiling to web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
egui_web = { version = "0.13.0", path = "../egui_web", default-features = false }
egui_web = { version = "0.14.0", path = "../egui_web", default-features = false }
[features]
default = ["default_fonts"]

4
egui/Cargo.toml

@ -1,6 +1,6 @@
[package]
name = "egui"
version = "0.13.1"
version = "0.14.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Simple, portable immediate mode GUI library for Rust"
edition = "2018"
@ -20,7 +20,7 @@ include = [
[lib]
[dependencies]
epaint = { version = "0.13.0", path = "../epaint", default-features = false }
epaint = { version = "0.14.0", path = "../epaint", default-features = false }
serde = { version = "1", features = ["derive", "rc"], optional = true }
ron = { version = "0.6.4", optional = true }

6
egui_demo_app/Cargo.toml

@ -1,6 +1,6 @@
[package]
name = "egui_demo_app"
version = "0.13.0"
version = "0.14.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.13.0", path = "../eframe", features = ["time"] }
egui_demo_lib = { version = "0.13.0", path = "../egui_demo_lib", features = ["extra_debug_asserts"] }
eframe = { version = "0.14.0", path = "../eframe", features = ["time"] }
egui_demo_lib = { version = "0.14.0", path = "../egui_demo_lib", features = ["extra_debug_asserts"] }
[features]
default = ["persistence"]

6
egui_demo_lib/Cargo.toml

@ -1,6 +1,6 @@
[package]
name = "egui_demo_lib"
version = "0.13.0"
version = "0.14.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Example library for egui"
edition = "2018"
@ -23,8 +23,8 @@ all-features = true
[lib]
[dependencies]
egui = { version = "0.13.0", path = "../egui", default-features = false }
epi = { version = "0.13.0", path = "../epi" }
egui = { version = "0.14.0", path = "../egui", default-features = false }
epi = { version = "0.14.0", path = "../epi" }
unicode_names2 = { version = "0.4.0", default-features = false }
# feature "http":

3
egui_glium/CHANGELOG.md

@ -4,6 +4,9 @@ All notable changes to the `egui_glium` integration will be noted in this file.
## Unreleased
## 0.14.0 - 2021-08-24
* Fix native file dialogs hanging (eg. when using [`rfd`](https://github.com/PolyMeilex/rfd)).
* Implement drag-and-dropping files into the application.
* [Fix minimize on Windows](https://github.com/emilk/egui/issues/518).

6
egui_glium/Cargo.toml

@ -1,6 +1,6 @@
[package]
name = "egui_glium"
version = "0.13.1"
version = "0.14.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Bindings for using egui natively using the glium library"
edition = "2018"
@ -23,8 +23,8 @@ all-features = true
[dependencies]
copypasta = "0.7"
egui = { version = "0.13.0", path = "../egui", default-features = false, features = ["single_threaded"] }
epi = { version = "0.13.0", path = "../epi" }
egui = { version = "0.14.0", path = "../egui", default-features = false, features = ["single_threaded"] }
epi = { version = "0.14.0", path = "../epi" }
glium = "0.30"
webbrowser = "0.5"

3
egui_web/CHANGELOG.md

@ -5,6 +5,9 @@ All notable changes to the `egui_web` integration will be noted in this file.
## Unreleased
## 0.14.0 - 2021-08-24
### Added ⭐
* Added support for dragging and dropping files into the browser window.

6
egui_web/Cargo.toml

@ -1,6 +1,6 @@
[package]
name = "egui_web"
version = "0.13.0"
version = "0.14.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"
@ -25,10 +25,10 @@ all-features = true
crate-type = ["cdylib", "rlib"]
[dependencies]
egui = { version = "0.13.0", path = "../egui", default-features = false, features = [
egui = { version = "0.14.0", path = "../egui", default-features = false, features = [
"single_threaded",
] }
epi = { version = "0.13.0", path = "../epi" }
epi = { version = "0.14.0", path = "../epi" }
js-sys = "0.3"
ron = { version = "0.6", optional = true }
serde = { version = "1", optional = true }

2
emath/Cargo.toml

@ -1,6 +1,6 @@
[package]
name = "emath"
version = "0.13.0"
version = "0.14.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Minimal 2D math library for GUI work"
edition = "2018"

4
epaint/Cargo.toml

@ -1,6 +1,6 @@
[package]
name = "epaint"
version = "0.13.0"
version = "0.14.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Minimal 2D graphics library for GUI work"
edition = "2018"
@ -22,7 +22,7 @@ include = [
[lib]
[dependencies]
emath = { version = "0.13.0", path = "../emath" }
emath = { version = "0.14.0", path = "../emath" }
ab_glyph = "0.2.11"
ahash = { version = "0.7", features = ["std"], default-features = false }

4
epi/Cargo.toml

@ -1,6 +1,6 @@
[package]
name = "epi"
version = "0.13.0"
version = "0.14.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Backend-agnostic interface for writing apps using egui"
edition = "2018"
@ -23,7 +23,7 @@ all-features = true
[lib]
[dependencies]
egui = { version = "0.13.0", path = "../egui", default-features = false, features = ["single_threaded"] }
egui = { version = "0.14.0", path = "../egui", default-features = false, features = ["single_threaded"] }
ron = { version = "0.6", optional = true }
serde = { version = "1", optional = true }

Loading…
Cancel
Save