Matt Campbell
7a46a23db5
Update MSRV to Rust 1.61.0 ( #1846 )
2022-07-26 16:50:53 +02:00
Emil Ernerfeldt
29973e5d02
Make document-features an opt-in dependency
2022-06-09 17:41:37 +02:00
Emil Ernerfeldt
3169ce62d5
Document feature flags using crate document-features ( #1725 )
2022-06-09 15:27:22 +02:00
Emil Ernerfeldt
dc26890a80
Release 0.18.0 - Shape::Callback, Table, and better text contrast
2022-04-30 20:27:27 +02:00
Emil Ernerfeldt
ed002acc68
Refactor: move things into eframe ( #1542 )
...
* Move all epi-related code from egui_glow into eframe
* Move epi stuff from egui-winit into eframe
* Remove mention of epi in egui
* Remove mention of epi in egui_glium
* Remove trait epi::NativeTexture
* Remove confusing mentions of epi
* Refactor egui_web: break up into smaller files
* Clean up feature flags further, and update changelogs
* Clean up check.sh
* Small cleanup of egui_web/Cargo.toml
* Fix dependencies for pure_glow example
* Fix clippy false positive
2022-04-29 08:17:49 +02:00
Emil Ernerfeldt
cf0338d48f
Rust 1.60.0 + refactor cargo features ( #1467 )
...
* Update to rust 1.60.0
* Rename the feature `convert_bytemuck` to `bytemuck`
* Rename the feature `serialize` to `serde`.
* Make use of the "weak dependency" cargo feature
* Set rust-version = "1.60" for all crates
* egui_glow: clipboard, links, persistence & winit are now opt-in features
2022-04-09 13:54:47 +02:00
Emil Ernerfeldt
15254f8235
Remove the single_threaded/multi_threaded feature flags ( #1390 )
...
Always use parking_lot for mutexes, i.e. always be multi-threaded.
Closes #1379
2022-03-21 22:20:37 +01:00
Emil Ernerfeldt
29c52e8eb6
Remove epi backend from egui_glow ( #1361 )
2022-03-13 22:49:24 +01:00
Emil Ernerfeldt
510cef02ca
Run a formatter on all toml files
2022-03-10 14:25:33 +01:00
Emil Ernerfeldt
a05520b9d3
Release 0.17.0 - Improved font selection and image handling
2022-02-22 19:32:30 +01:00
Emil Ernerfeldt
0fa4bb9c64
Clean up all Cargo.toml: put features higher, and document them better
2022-02-05 11:11:15 +01:00
Emil Ernerfeldt
47038c631e
Update image 0.23 -> 0.24
2022-02-04 13:31:06 +01:00
Emil Ernerfeldt
66d80e2519
Texture loading in egui ( #1110 )
...
* Move texture allocation into epaint/egui proper
* Add TextureHandle
* egui_glow: cast using bytemuck instead of unsafe code
* Optimize glium painter
* Optimize WebGL
* Add example of loading an image from file
2022-01-15 13:59:52 +01:00
Emil Ernerfeldt
0146c7e7fc
Release 0.16.0 - Context menus and rich text
2021-12-29 12:07:05 +01:00
Emil Ernerfeldt
c60d17b91b
Set MSRV to 1.56.0 and use rust edition 2021 ( #998 )
2021-12-25 19:32:25 +01:00
Jay Oster
dd99f68e82
Update winit to 0.26 ( #930 )
...
Also update glium, glutin and rfd
2021-12-20 22:44:53 +01:00
Emil Ernerfeldt
08cc07bb2d
Release 0.15.0 - Syntax highlighting, hscroll, egui-winit and egui_glow
2021-10-24 16:15:07 +02:00
Emil Ernerfeldt
8178d23d19
Deduplicate code found in both egui_glium and egui_glow ( #819 )
...
* Move window building to egui-winit
* Move icon loading to egui-winit
* `use glow::HasContext;` -> `use glow::HasContext as _;`
* Move FileStorage into epi behind a feature flag
* De-duplicate screen_size_in_pixels and native_pixels_per_point
* Move creation of FileStorage to epi
* Handle epi app output (window size changes etc) in egui-winit
* Move app and memory persistence and autosave logic to egui-winit
* fix check.sh
* Make the epi backend opt-in for egui_glium and egui_glow
* Fix persistence
* Add integration name to epi::IntegrationInfo and the demo
* Clean up Cargo.toml files and fix making egui_glium optional
* fix typo
* Make egui_glium compile without the `epi` feature
2021-10-19 21:40:55 +02:00
Emil Ernerfeldt
844dd9d7a4
Remove "seconds_since_midnight" from epi/eframe. Use chrono instead
...
chrono works both natively and on web.
Related: https://github.com/emilk/egui/issues/212
2021-10-19 15:37:20 +02:00
Emil Ernerfeldt
e2bdd40985
Move WindowSettings from egui_glium to egui-winit
2021-09-30 19:18:51 +02:00
Emil Ernerfeldt
1b36863248
Split out new crate egui-winit from egui_glium ( #735 )
2021-09-28 17:33:28 +02:00
triangle drawer
203d571c8b
Add api for accessing backend texture via epi ( #695 )
...
* Define NativeTexture trait for offscreen rendering
add demo for NativeTexture trait
* write changelog
* add comment for native texture example
* formatting
* add license of Rust logo
* NativeTexture trait method rename
remove duplicate function with native texture
remove rust logo
* deprecated notice for register_glium_texture,register_webgl_texture
* collect deprecated notice
2021-09-05 11:00:45 +02:00
Emil Ernerfeldt
3b75a84d3b
Point crate repository & homepage urls to their subfolders
2021-09-03 21:12:44 +02:00
Emil Ernerfeldt
9598596bdc
Replace all http code in epi/eframe/egui_glium/egui_web with ehttp ( #697 )
...
I've extracted all the http request code and turned it
into its own crate at <https://github.com/emilk/ehttp >.
There was never a reason for the HTTP request library to be part of
`eframe`. Much better to have it as its own crate!
2021-09-03 21:04:43 +02:00
Emil Ernerfeldt
cb566fc295
Release 0.14.0 - Ui panels and bug fixes
2021-08-24 16:47:10 +02:00
Emil Ernerfeldt
ccecad88b1
egui_glium and eframe 0.13.1: fix http feature and docs
2021-06-24 20:36:36 +02:00
Emil Ernerfeldt
d807451348
Release 0.13.0 - Better panels, plots and new visual style
2021-06-24 20:00:06 +02:00
Emil Ernerfeldt
eb6c293774
Update crates glium, tts, and run cargo update
2021-06-24 17:51:39 +02:00
Emil Ernerfeldt
442b953964
Tell docs.rs to use the --all-features flag when generating docs
...
Closes https://github.com/emilk/egui/issues/381
2021-05-12 20:02:25 +02:00
Emil Ernerfeldt
8f8ba16696
Release 0.12.0 - Multitouch, user memory, window pivots, and improved plots
2021-05-10 18:27:39 +02:00
Emil Ernerfeldt
7747a1f171
Update tts 0.15 -> 0.16
2021-05-09 14:42:14 +02:00
Emil Ernerfeldt
b30cb3313a
Try to allow turning off default_fonts for all libs ( #266 )
2021-04-07 20:14:44 +02:00
Emil Ernerfeldt
d544c3dd8b
Release 0.11.0 - Optimization, screen reader & new layout logic
2021-04-05 14:49:06 +02:00
Emil Ernerfeldt
7792ee0422
Update tts from 0.14 -> 0.15 (screen reader feature)
2021-04-05 14:23:42 +02:00
Emil Ernerfeldt
aba2108159
Replace JSON with RON for persistence (epi/eframe/glium/web)
2021-04-05 14:23:42 +02:00
Jay Oster
269bcdfce3
Replace clipboard with copypasta ( #221 )
...
- Fixes #146
2021-03-10 11:16:45 +01:00
Emil Ernerfeldt
4c45ca113e
Make sure to include license files in the next release
2021-03-09 18:35:13 +01:00
Emil Ernerfeldt
44cd304cdf
Add experimental screen_reader feature
...
Part of https://github.com/emilk/egui/issues/167
2021-03-08 20:58:01 +01:00
Emil Ernerfeldt
fb2db4940e
Release 0.10.0 - Plot and polish
2021-02-28 20:11:37 +01:00
Emil Ernerfeldt
8fb1472560
Add glsl files to egui_web and egui_glium includes
2021-02-28 20:11:37 +01:00
Emil Ernerfeldt
b61db038f2
Release 0.9.0 - light mode, right clicks and more
2021-02-07 17:06:51 +01:00
Emil Ernerfeldt
37a3fe7f76
Release 0.8.0 - Grid layout & new visual style
2021-01-17 15:28:52 +01:00
Emil Ernerfeldt
31b7eda51e
Rename Egui to egui
...
Also update iamges in README.md
2021-01-17 14:48:59 +01:00
Emil Ernerfeldt
a0b0f36d29
Move egui/math into new crate emath
2021-01-10 11:37:47 +01:00
Emil Ernerfeldt
d0d22ea09b
Release 0.7.0
2021-01-04 15:52:29 +01:00
Emil Ernerfeldt
1bcf35d774
Update ureq to 2.0
2021-01-04 15:52:29 +01:00
Emil Ernerfeldt
69d31a5e47
[eframe] Make persistence, http and time optional features
...
Saves on compile times.
2021-01-04 10:25:13 +01:00
Emil Ernerfeldt
9db1b8dbf9
Add http fetch to eframe and implement it in egui_glium using ureq
2020-12-30 20:56:50 +01:00
Emil Ernerfeldt
d7459bc13d
Move egui::app
into new epi
crate
2020-12-29 14:15:46 +01:00
Emil Ernerfeldt
dca7f85f21
Release Egui 0.6.0
2020-12-26 22:43:29 +01:00