summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Ernerfeldt <emil.ernerfeldt@gmail.com>2021-10-24 16:08:44 +0200
committerEmil Ernerfeldt <emil.ernerfeldt@gmail.com>2021-10-24 16:15:07 +0200
commit08cc07bb2d12f06d086b2baf3f1db424a933401f (patch)
treebf5edaf1bcb4c10da933fbb687fbb8752f8789af
parentc3f61b67fe0a2aa1940ba34118a5c5804ae95c71 (diff)
Release 0.15.0 - Syntax highlighting, hscroll, egui-winit and egui_glow0.15.0
-rw-r--r--CHANGELOG.md5
-rw-r--r--Cargo.lock24
-rw-r--r--eframe/CHANGELOG.md3
-rw-r--r--eframe/Cargo.toml14
-rw-r--r--egui-winit/CHANGELOG.md3
-rw-r--r--egui-winit/Cargo.toml6
-rw-r--r--egui/Cargo.toml4
-rw-r--r--egui_demo_app/Cargo.toml8
-rw-r--r--egui_demo_lib/Cargo.toml6
-rw-r--r--egui_glium/CHANGELOG.md3
-rw-r--r--egui_glium/Cargo.toml8
-rw-r--r--egui_glow/CHANGELOG.md6
-rw-r--r--egui_glow/Cargo.toml8
-rw-r--r--egui_web/CHANGELOG.md3
-rw-r--r--egui_web/Cargo.toml6
-rw-r--r--emath/Cargo.toml2
-rw-r--r--epaint/CHANGELOG.md4
-rw-r--r--epaint/Cargo.toml4
-rw-r--r--epi/Cargo.toml4
19 files changed, 74 insertions, 47 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6e44ed4e..a08b31c4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,11 @@ NOTE: [`epaint`](epaint/CHANGELOG.md), [`eframe`](eframe/CHANGELOG.md), [`egui_w
## Unreleased
+
+## 0.15.0 - 2021-10-24 - Syntax highlighting and hscroll
+
+<img src="media/egui-0.15-code-editor.gif">
+
### Added ⭐
* Add horizontal scrolling support to `ScrollArea` and `Window` (opt-in).
* `TextEdit::layouter`: Add custom text layout for e.g. syntax highlighting or WYSIWYG.
diff --git a/Cargo.lock b/Cargo.lock
index 1e3cd7da..5348780a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1,5 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
+version = 3
+
[[package]]
name = "ab_glyph"
version = "0.2.11"
@@ -852,7 +854,7 @@ checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf"
[[package]]
name = "eframe"
-version = "0.14.0"
+version = "0.15.0"
dependencies = [
"egui",
"egui-winit",
@@ -866,7 +868,7 @@ dependencies = [
[[package]]
name = "egui"
-version = "0.14.2"
+version = "0.15.0"
dependencies = [
"ahash",
"epaint",
@@ -877,7 +879,7 @@ dependencies = [
[[package]]
name = "egui-winit"
-version = "0.14.0"
+version = "0.15.0"
dependencies = [
"copypasta",
"egui",
@@ -890,7 +892,7 @@ dependencies = [
[[package]]
name = "egui_demo_app"
-version = "0.14.0"
+version = "0.15.0"
dependencies = [
"eframe",
"egui_demo_lib",
@@ -898,7 +900,7 @@ dependencies = [
[[package]]
name = "egui_demo_lib"
-version = "0.14.0"
+version = "0.15.0"
dependencies = [
"chrono",
"criterion",
@@ -914,7 +916,7 @@ dependencies = [
[[package]]
name = "egui_glium"
-version = "0.14.0"
+version = "0.15.0"
dependencies = [
"egui",
"egui-winit",
@@ -925,7 +927,7 @@ dependencies = [
[[package]]
name = "egui_glow"
-version = "0.14.0"
+version = "0.15.0"
dependencies = [
"egui",
"egui-winit",
@@ -938,7 +940,7 @@ dependencies = [
[[package]]
name = "egui_web"
-version = "0.14.1"
+version = "0.15.0"
dependencies = [
"egui",
"epi",
@@ -972,7 +974,7 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
[[package]]
name = "emath"
-version = "0.14.0"
+version = "0.15.0"
dependencies = [
"bytemuck",
"mint",
@@ -1015,7 +1017,7 @@ dependencies = [
[[package]]
name = "epaint"
-version = "0.14.0"
+version = "0.15.0"
dependencies = [
"ab_glyph",
"ahash",
@@ -1030,7 +1032,7 @@ dependencies = [
[[package]]
name = "epi"
-version = "0.14.0"
+version = "0.15.0"
dependencies = [
"directories-next",
"egui",
diff --git a/eframe/CHANGELOG.md b/eframe/CHANGELOG.md
index 93b7aa7f..a49b7349 100644
--- a/eframe/CHANGELOG.md
+++ b/eframe/CHANGELOG.md
@@ -5,6 +5,9 @@ NOTE: [`egui_web`](egui_web/CHANGELOG.md), [`egui-winit`](egui-winit/CHANGELOG.m
## Unreleased
+
+
+## 0.15.0 - 2021-10-24
* `Frame` now provides `set_window_title` to set window title dynamically
* `Frame` now provides `set_decorations` to set whether to show window decorations.
* Remove "http" feature (use https://github.com/emilk/ehttp instead!).
diff --git a/eframe/Cargo.toml b/eframe/Cargo.toml
index d7e694c1..87e7a7cd 100644
--- a/eframe/Cargo.toml
+++ b/eframe/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "eframe"
-version = "0.14.0"
+version = "0.15.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "egui framework - write GUI apps that compiles to web and/or natively"
edition = "2018"
@@ -23,18 +23,18 @@ all-features = true
[lib]
[dependencies]
-egui = { version = "0.14.0", path = "../egui", default-features = false }
-epi = { version = "0.14.0", path = "../epi" }
+egui = { version = "0.15.0", path = "../egui", default-features = false }
+epi = { version = "0.15.0", path = "../epi" }
# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
-egui-winit = { version = "0.14.0", path = "../egui-winit", default-features = false }
-egui_glium = { version = "0.14.0", path = "../egui_glium", default-features = false, features = ["clipboard", "epi", "links"], optional = true }
-egui_glow = { version = "0.14.0", path = "../egui_glow", default-features = false, features = ["clipboard", "epi", "links"], optional = true }
+egui-winit = { version = "0.15.0", path = "../egui-winit", default-features = false }
+egui_glium = { version = "0.15.0", path = "../egui_glium", default-features = false, features = ["clipboard", "epi", "links"], optional = true }
+egui_glow = { version = "0.15.0", path = "../egui_glow", default-features = false, features = ["clipboard", "epi", "links"], optional = true }
# web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
-egui_web = { version = "0.14.0", path = "../egui_web", default-features = false }
+egui_web = { version = "0.15.0", path = "../egui_web", default-features = false }
[dev-dependencies]
image = { version = "0.23", default-features = false, features = ["png"] }
diff --git a/egui-winit/CHANGELOG.md b/egui-winit/CHANGELOG.md
index 5e5f5355..0cf9da31 100644
--- a/egui-winit/CHANGELOG.md
+++ b/egui-winit/CHANGELOG.md
@@ -4,4 +4,7 @@ All notable changes to the `egui-winit` integration will be noted in this file.
## Unreleased
+
+
+## 0.15.0 - 2021-10-24
First stand-alone release. Previously part of `egui_glium`.
diff --git a/egui-winit/Cargo.toml b/egui-winit/Cargo.toml
index 23aacf4e..ecfe7166 100644
--- a/egui-winit/Cargo.toml
+++ b/egui-winit/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "egui-winit"
-version = "0.14.0"
+version = "0.15.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Bindings for using egui with winit"
edition = "2018"
@@ -21,10 +21,10 @@ include = [
all-features = true
[dependencies]
-egui = { version = "0.14.0", path = "../egui", default-features = false }
+egui = { version = "0.15.0", path = "../egui", default-features = false, features = ["single_threaded"] }
winit = "0.25"
-epi = { version = "0.14.0", path = "../epi", optional = true }
+epi = { version = "0.15.0", path = "../epi", optional = true }
copypasta = { version = "0.7", optional = true }
serde = { version = "1.0", optional = true, features = ["derive"] }
diff --git a/egui/Cargo.toml b/egui/Cargo.toml
index 38064a3e..d2091dde 100644
--- a/egui/Cargo.toml
+++ b/egui/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "egui"
-version = "0.14.2"
+version = "0.15.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Simple, portable immediate mode GUI library for Rust"
edition = "2018"
@@ -23,7 +23,7 @@ all-features = true
[lib]
[dependencies]
-epaint = { version = "0.14.0", path = "../epaint", default-features = false }
+epaint = { version = "0.15.0", path = "../epaint", default-features = false }
ahash = "0.7"
nohash-hasher = "0.2"
diff --git a/egui_demo_app/Cargo.toml b/egui_demo_app/Cargo.toml
index fdc32fa0..0694c317 100644
--- a/egui_demo_app/Cargo.toml
+++ b/egui_demo_app/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "egui_demo_app"
-version = "0.14.0"
+version = "0.15.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
license = "MIT OR Apache-2.0"
edition = "2018"
@@ -10,10 +10,10 @@ publish = false
crate-type = ["cdylib", "rlib"]
[dependencies]
-eframe = { version = "0.14.0", path = "../eframe" }
-# eframe = { version = "0.14.0", path = "../eframe", default-features = false, features = ["default_fonts", "egui_glow"] }
+eframe = { version = "0.15.0", path = "../eframe" }
+# eframe = { version = "0.15.0", path = "../eframe", default-features = false, features = ["default_fonts", "egui_glow"] }
-egui_demo_lib = { version = "0.14.0", path = "../egui_demo_lib", features = ["extra_debug_asserts"] }
+egui_demo_lib = { version = "0.15.0", path = "../egui_demo_lib", features = ["extra_debug_asserts"] }
[features]
default = ["persistence"]
diff --git a/egui_demo_lib/Cargo.toml b/egui_demo_lib/Cargo.toml
index 4e44c303..75bbef7a 100644
--- a/egui_demo_lib/Cargo.toml
+++ b/egui_demo_lib/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "egui_demo_lib"
-version = "0.14.0"
+version = "0.15.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.14.0", path = "../egui", default-features = false }
-epi = { version = "0.14.0", path = "../epi" }
+egui = { version = "0.15.0", path = "../egui", default-features = false }
+epi = { version = "0.15.0", path = "../epi" }
chrono = { version = "0.4", features = ["js-sys", "wasmbind"], optional = true }
enum-map = { version = "1", features = ["serde"] }
diff --git a/egui_glium/CHANGELOG.md b/egui_glium/CHANGELOG.md
index 619deee2..bd5e6ca0 100644
--- a/egui_glium/CHANGELOG.md
+++ b/egui_glium/CHANGELOG.md
@@ -3,6 +3,9 @@ All notable changes to the `egui_glium` integration will be noted in this file.
## Unreleased
+
+
+## 0.15.0 - 2021-10-24
* Remove "http" feature (use https://github.com/emilk/ehttp instead!).
* Implement `epi::NativeTexture` trait for the glium painter.
* Deprecate 'Painter::register_glium_texture'.
diff --git a/egui_glium/Cargo.toml b/egui_glium/Cargo.toml
index c9401094..60fb0dba 100644
--- a/egui_glium/Cargo.toml
+++ b/egui_glium/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "egui_glium"
-version = "0.14.0"
+version = "0.15.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Bindings for using egui natively using the glium library"
edition = "2018"
@@ -22,9 +22,9 @@ include = [
all-features = true
[dependencies]
-egui = { version = "0.14.0", path = "../egui", default-features = false, features = ["single_threaded"] }
-egui-winit = { version = "0.14.0", path = "../egui-winit", default-features = false, features = ["epi"] }
-epi = { version = "0.14.0", path = "../epi", optional = true }
+egui = { version = "0.15.0", path = "../egui", default-features = false, features = ["single_threaded"] }
+egui-winit = { version = "0.15.0", path = "../egui-winit", default-features = false, features = ["epi"] }
+epi = { version = "0.15.0", path = "../epi", optional = true }
glium = "0.30"
diff --git a/egui_glow/CHANGELOG.md b/egui_glow/CHANGELOG.md
index ed8a1e9b..5e34b4a6 100644
--- a/egui_glow/CHANGELOG.md
+++ b/egui_glow/CHANGELOG.md
@@ -3,6 +3,10 @@ All notable changes to the `egui_glow` integration will be noted in this file.
## Unreleased
+
+
+## 0.15.0 - 2021-10-24
`egui_glow` has been newly created, with feature parity to `egui_glium`.
+
As `glow` is a set of lower-level bindings to OpenGL, this crate is potentially less stable than `egui_glium`,
-but there are no known issues, and the crate will only become more stable over time, if any issues manifest.
+but hopefully this will one day replace `egui_glium` as the default backend for `eframe`.
diff --git a/egui_glow/Cargo.toml b/egui_glow/Cargo.toml
index c874c9be..6279c884 100644
--- a/egui_glow/Cargo.toml
+++ b/egui_glow/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "egui_glow"
-version = "0.14.0"
+version = "0.15.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Bindings for using egui natively using the glow library"
edition = "2018"
@@ -22,9 +22,9 @@ include = [
all-features = true
[dependencies]
-egui = { version = "0.14.0", path = "../egui", default-features = false, features = ["single_threaded"] }
-egui-winit = { version = "0.14.0", path = "../egui-winit", default-features = false, features = ["epi"] }
-epi = { version = "0.14.0", path = "../epi", optional = true }
+egui = { version = "0.15.0", path = "../egui", default-features = false, features = ["single_threaded"] }
+egui-winit = { version = "0.15.0", path = "../egui-winit", default-features = false, features = ["epi"] }
+epi = { version = "0.15.0", path = "../epi", optional = true }
glow = "0.11"
glutin = "0.27"
diff --git a/egui_web/CHANGELOG.md b/egui_web/CHANGELOG.md
index 049d8c6c..d43b9beb 100644
--- a/egui_web/CHANGELOG.md
+++ b/egui_web/CHANGELOG.md
@@ -4,6 +4,9 @@ All notable changes to the `egui_web` integration will be noted in this file.
## Unreleased
+
+
+## 0.15.0 - 2021-10-24
### Added
* Remove "http" feature (use https://github.com/emilk/ehttp instead!).
* Implement `epi::NativeTexture` trait for the WebGL painter.
diff --git a/egui_web/Cargo.toml b/egui_web/Cargo.toml
index 66439000..4781372b 100644
--- a/egui_web/Cargo.toml
+++ b/egui_web/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "egui_web"
-version = "0.14.1"
+version = "0.15.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.14.0", path = "../egui", default-features = false, features = [
+egui = { version = "0.15.0", path = "../egui", default-features = false, features = [
"single_threaded",
] }
-epi = { version = "0.14.0", path = "../epi" }
+epi = { version = "0.15.0", path = "../epi" }
js-sys = "0.3"
ron = { version = "0.7", optional = true }
serde = { version = "1", optional = true }
diff --git a/emath/Cargo.toml b/emath/Cargo.toml
index 549e4dcf..ea7e8d8f 100644
--- a/emath/Cargo.toml
+++ b/emath/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "emath"
-version = "0.14.0"
+version = "0.15.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Minimal 2D math library for GUI work"
edition = "2018"
diff --git a/epaint/CHANGELOG.md b/epaint/CHANGELOG.md
index 74136157..91ac432c 100644
--- a/epaint/CHANGELOG.md
+++ b/epaint/CHANGELOG.md
@@ -2,7 +2,11 @@
All notable changes to the epaint crate will be documented in this file.
+
## Unreleased
+
+
+## 0.15.0 - 2021-10-24
* `Fonts::layout_job`: New text layout engine allowing mixing fonts, colors and styles, with underlining and strikethrough.
* New `CircleShape`, `PathShape`, `RectShape` and `TextShape` used in `enum Shape`.
* Add support for rotated text (see `TextShape`).
diff --git a/epaint/Cargo.toml b/epaint/Cargo.toml
index dd95ad57..7e5d966a 100644
--- a/epaint/Cargo.toml
+++ b/epaint/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "epaint"
-version = "0.14.0"
+version = "0.15.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Minimal 2D graphics library for GUI work"
edition = "2018"
@@ -25,7 +25,7 @@ all-features = true
[lib]
[dependencies]
-emath = { version = "0.14.0", path = "../emath" }
+emath = { version = "0.15.0", path = "../emath" }
ab_glyph = "0.2.11"
ahash = { version = "0.7", features = ["std"], default-features = false }
diff --git a/epi/Cargo.toml b/epi/Cargo.toml
index bca275c0..062ce2ec 100644
--- a/epi/Cargo.toml
+++ b/epi/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "epi"
-version = "0.14.0"
+version = "0.15.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.14.0", path = "../egui", default-features = false, features = ["single_threaded"] }
+egui = { version = "0.15.0", path = "../egui", default-features = false, features = ["single_threaded"] }
directories-next = { version = "2", optional = true }
ron = { version = "0.7", optional = true }