Matt Campbell
7a46a23db5
Update MSRV to Rust 1.61.0 ( #1846 )
2022-07-26 16:50:53 +02:00
Emil Ernerfeldt
c062bca6ee
faster builds: remove tracing-attributes
feature from tracing
2022-07-04 00:11:08 +02:00
Emil Ernerfeldt
0f0031ebbb
cargo update ( #1794 )
...
* cargo update
Updating crates.io index
Updating anyhow v1.0.57 -> v1.0.58
Updating arboard v2.1.0 -> v2.1.1
Updating async-broadcast v0.3.4 -> v0.4.0
Updating async-io v1.6.0 -> v1.7.0
Updating async-trait v0.1.53 -> v0.1.56
Updating bindgen v0.59.2 -> v0.60.1
Updating bumpalo v3.9.1 -> v3.10.0
Updating bytemuck v1.9.1 -> v1.10.0
Updating cfg-expr v0.10.2 -> v0.10.3
Updating clang-sys v1.3.1 -> v1.3.3
Adding clap v3.2.8
Adding clap_lex v0.2.4
Updating crossbeam-channel v0.5.4 -> v0.5.5
Updating crossbeam-epoch v0.9.8 -> v0.9.9
Updating crossbeam-utils v0.8.8 -> v0.8.10
Updating dyn-clone v1.0.5 -> v1.0.6
Updating either v1.6.1 -> v1.7.0
Updating enum-map v2.1.0 -> v2.4.0
Updating enum-map-derive v0.8.0 -> v0.9.0
Updating flate2 v1.0.23 -> v1.0.24
Updating getrandom v0.2.6 -> v0.2.7
Updating gif v0.11.3 -> v0.11.4
Adding hashbrown v0.12.1
Updating indexmap v1.8.1 -> v1.9.1
Updating itoa v1.0.1 -> v1.0.2
Updating jpeg-decoder v0.2.4 -> v0.2.6
Updating linked-hash-map v0.5.4 -> v0.5.6
Updating log v0.4.16 -> v0.4.17
Updating memmap2 v0.5.3 -> v0.5.4
Updating miniz_oxide v0.5.1 -> v0.5.3
Updating mio v0.8.2 -> v0.8.4
Removing miow v0.3.7
Adding nix v0.24.1
Removing ntapi v0.3.7
Updating num-rational v0.4.0 -> v0.4.1
Updating num-traits v0.2.14 -> v0.2.15
Updating num_threads v0.1.5 -> v0.1.6
Updating object v0.28.3 -> v0.28.4
Updating once_cell v1.10.0 -> v1.12.0
Adding os_str_bytes v6.1.0
Updating parking_lot v0.12.0 -> v0.12.1
Updating parking_lot_core v0.9.1 -> v0.9.3
Updating proc-macro2 v1.0.37 -> v1.0.40
Updating profiling v1.0.5 -> v1.0.6
Updating puffin v0.13.1 -> v0.13.3
Updating quote v1.0.18 -> v1.0.20
Updating rayon v1.5.2 -> v1.5.3
Updating rayon-core v1.9.2 -> v1.9.3
Updating regex v1.5.5 -> v1.5.6
Updating regex-syntax v0.6.25 -> v0.6.26
Adding remove_dir_all v0.5.3
Updating rfd v0.8.0 -> v0.8.4
Updating rgb v0.8.32 -> v0.8.33
Updating ron v0.7.0 -> v0.7.1
Updating rustls v0.20.4 -> v0.20.6
Updating rustybuzz v0.5.0 -> v0.5.1
Updating ryu v1.0.9 -> v1.0.10
Updating semver v1.0.7 -> v1.0.12
Updating serde v1.0.136 -> v1.0.138
Updating serde_derive v1.0.136 -> v1.0.138
Updating serde_json v1.0.79 -> v1.0.82
Updating serde_repr v0.1.7 -> v0.1.8
Updating smallvec v1.8.0 -> v1.9.0
Adding smithay-client-toolkit v0.16.0
Updating smithay-clipboard v0.6.5 -> v0.6.6
Updating str-buf v1.0.5 -> v1.0.6
Removing strsim v0.8.0
Updating svgtypes v0.8.0 -> v0.8.1
Updating syn v1.0.92 -> v1.0.98
Adding tempfile v3.3.0
Adding textwrap v0.15.0
Updating thiserror v1.0.30 -> v1.0.31
Updating thiserror-impl v1.0.30 -> v1.0.31
Removing time v0.1.43
Removing time v0.3.9
Adding time v0.1.44
Adding time v0.3.11
Updating tiny-skia v0.6.3 -> v0.6.6
Updating tracing v0.1.34 -> v0.1.35
Updating tracing-attributes v0.1.21 -> v0.1.22
Updating tracing-core v0.1.26 -> v0.1.28
Updating tracing-subscriber v0.3.11 -> v0.3.14
Updating ttf-parser v0.15.0 -> v0.15.2
Updating tts v0.20.3 -> v0.20.4
Updating twox-hash v1.6.2 -> v1.6.3
Adding uds_windows v1.0.2
Adding unicode-ident v1.0.1
Updating unicode-normalization v0.1.19 -> v0.1.21
Removing vec_map v0.8.2
Updating wasi v0.10.2+wasi-snapshot-preview1 -> v0.10.0+wasi-snapshot-preview1
Updating wgpu v0.13.0 -> v0.13.1
Updating wgpu-core v0.13.0 -> v0.13.1
Updating wgpu-hal v0.13.0 -> v0.13.1
Removing windows v0.32.0
Adding windows v0.33.0
Adding windows v0.37.0
Updating windows-sys v0.32.0 -> v0.36.1
Removing windows_aarch64_msvc v0.32.0
Adding windows_aarch64_msvc v0.33.0
Adding windows_aarch64_msvc v0.36.1
Adding windows_aarch64_msvc v0.37.0
Removing windows_i686_gnu v0.32.0
Adding windows_i686_gnu v0.33.0
Adding windows_i686_gnu v0.36.1
Adding windows_i686_gnu v0.37.0
Removing windows_i686_msvc v0.32.0
Adding windows_i686_msvc v0.33.0
Adding windows_i686_msvc v0.36.1
Adding windows_i686_msvc v0.37.0
Removing windows_x86_64_gnu v0.32.0
Adding windows_x86_64_gnu v0.33.0
Adding windows_x86_64_gnu v0.36.1
Adding windows_x86_64_gnu v0.37.0
Removing windows_x86_64_msvc v0.32.0
Adding windows_x86_64_msvc v0.33.0
Adding windows_x86_64_msvc v0.36.1
Adding windows_x86_64_msvc v0.37.0
Updating zbus v2.1.1 -> v2.3.2
Updating zbus_macros v2.1.1 -> v2.3.2
Updating zstd v0.10.0+zstd.1.5.2 -> v0.11.2+zstd.1.5.2
Updating zstd-safe v4.1.4+zstd.1.5.2 -> v5.0.2+zstd.1.5.2
Updating zstd-sys v1.6.3+zstd.1.5.2 -> v2.0.1+zstd.1.5.2
Updating zvariant v3.1.2 -> v3.4.1
Updating zvariant_derive v3.1.2 -> v3.4.1
❯ cargo update -p smithay-clipboard --precise 0.6.5
Updating crates.io index
Removing nix v0.24.1
Removing smithay-client-toolkit v0.16.0
Updating smithay-clipboard v0.6.6 -> v0.6.5
* Downgrade enum-map so we can build with rust 1.60
* update syntect
* Update usvg and resvg
* Fix syntect update
* Update tts to 0.22
* Make egui_demo_app compile for wasm with wgpu feature
This broke in https://github.com/emilk/egui/pull/1781
* Ignore rfd tree in deny.toml
* Revert "Update tts to 0.22"
This reverts commit 2e1280b61ef9422c76491ab718ad8da105657097.
* Explain why tts is stuck on an old version
* Downgrade `rfd` to avoid problems with duplicate `windows` crate
2022-07-03 20:12:57 +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
355d70d2b9
Move code from egui_demo_lib
to egui_demo_app
( #1540 )
...
Also clean up feature names and dependencies
2022-04-28 11:23:34 +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
861b0e11ba
Fix sh/check.sh ( #1446 )
...
* Don't bother serializing date in widget gallery
* Make egui_extras non-optional dependency of egui_demo_lib
2022-04-03 18:14:40 +02:00
René Rössler
1d32670cf3
Dynamic sized strips, tables, and date picker ( #963 )
2022-03-31 21:13:25 +02:00
Emil Ernerfeldt
c768d1d48e
Context::request_repaint will wake up the UI thread ( #1366 )
...
This adds a callback (set by `Context::set_request_repaint_callback`)
which integration can use to wake up the UI thread.
eframe (egui_web and egui_glow) will use this, replacing
`epi::Frame::request_repaint`.
Existing code calling `epi::Frame::request_repaint` should be changed
to instead call `egui::Context::request_repaint`.
This is the first callback added to the egui API, which otherwise is
completely driven by data.
The purpose of this is to remove the confusion between the two
`request_repaint` methods (by removing one). Furthermore, it makes
`epi::Frame` a lot simpler, allowing future simplifications to it
(perhaps no longer having it be `Send+Sync+Clone`).
2022-03-15 17:21:52 +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
476a3057b0
egui_demo_lib: make egui_extras an optional dependency
2022-02-21 16:10:16 +01:00
Emil Ernerfeldt
ddf914b517
Update crates ( #1283 )
...
* Update rfd 0.8 -> 0.8
* Update webbrowser 0.5 -> 0.6
* Update unicode_names2 0.4 -> 0.5
* cargo update
Updating crates.io index
Adding arrayvec v0.7.2
Updating async-lock v2.4.0 -> v2.5.0
Updating autocfg v1.0.1 -> v1.1.0
Updating cc v1.0.72 -> v1.0.73
Updating cfg-expr v0.9.1 -> v0.10.1
Updating core-foundation v0.9.2 -> v0.9.3
Updating crc32fast v1.3.1 -> v1.3.2
Updating crossbeam-epoch v0.9.6 -> v0.9.7
Updating crossbeam-utils v0.8.6 -> v0.8.7
Updating deflate v0.9.1 -> v1.0.0
Removing encoding v0.2.33
Removing encoding-index-japanese v1.20141219.5
Removing encoding-index-korean v1.20141219.5
Removing encoding-index-simpchinese v1.20141219.5
Removing encoding-index-singlebyte v1.20141219.5
Removing encoding-index-tradchinese v1.20141219.5
Removing encoding_index_tests v0.1.4
Updating enum-map v2.0.1 -> v2.0.2
Updating futures-core v0.3.19 -> v0.3.21
Updating futures-io v0.3.19 -> v0.3.21
Updating futures-sink v0.3.19 -> v0.3.21
Updating futures-task v0.3.19 -> v0.3.21
Updating futures-util v0.3.19 -> v0.3.21
Updating gio-sys v0.15.4 -> v0.15.6
Updating glib-sys v0.15.4 -> v0.15.6
Updating gobject-sys v0.15.1 -> v0.15.5
Updating image v0.24.0 -> v0.24.1
Updating kurbo v0.8.0 -> v0.8.3
Updating libc v0.2.117 -> v0.2.119
Updating memmap2 v0.5.2 -> v0.5.3
Adding miniz_oxide v0.5.1
Adding ndk-context v0.1.0
Removing ndk-glue v0.5.0
Removing ndk-glue v0.6.0
Adding ndk-glue v0.5.1
Adding ndk-glue v0.6.1
Updating ntapi v0.3.6 -> v0.3.7
Updating png v0.17.2 -> v0.17.3
Updating proc-macro-crate v1.1.0 -> v1.1.2
Updating rand v0.8.4 -> v0.8.5
Removing rand_hc v0.3.1
Updating rustls v0.20.2 -> v0.20.4
Updating semver v1.0.4 -> v1.0.5
Updating serde_json v1.0.78 -> v1.0.79
Updating system-deps v6.0.1 -> v6.0.2
Updating tracing v0.1.30 -> v0.1.31
Updating tracing-subscriber v0.3.7 -> v0.3.9
Updating tts v0.20.2 -> v0.20.3
Removing windows v0.30.0
Removing windows_aarch64_msvc v0.30.0
Removing windows_i686_gnu v0.30.0
Removing windows_i686_msvc v0.30.0
Removing windows_x86_64_gnu v0.30.0
Removing windows_x86_64_msvc v0.30.0
2022-02-21 15:40:25 +01:00
Emil Ernerfeldt
c3fc8997d6
Introduce egui_extras with RetainedImage for loading svg,png,jpeg,… ( #1282 )
2022-02-21 15:26:26 +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
b2c8cd0867
Simplify http demo and add new download_image eframe demo
2022-01-15 20:34:03 +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
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
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
f0868c2f07
Code editor demo: nice syntax highlighting with customizable theme
2021-10-01 21:29:33 +02:00
Emil Ernerfeldt
5539dbe620
Add separate serialize feature and better persitence control ( #753 )
...
* Rename epaint feature "persistence" to "serialize"
* Add separate "serialize" feature to egui
* egui_demo_lib: separate serialize and persistence features
* Add App::persist_native_window and App::persist_egui_memory
Controls what gets persisted
2021-09-29 08:45:13 +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
d807451348
Release 0.13.0 - Better panels, plots and new visual style
2021-06-24 20:00:06 +02:00
Emil Ernerfeldt
1363ac4a24
demo: in font book, ask font what characters are supported
...
This replaces manual lists with a call to ab_glypgh::Font::codepoint_ids
plus names from the unicode_names2 crate.
2021-06-24 17:35:56 +02:00
Emil Ernerfeldt
6e5b52e3bc
Add features extra_asserts and extra_debug_asserts for more asserts
...
This replaces all debug_asserts with these opt-in asserts
Related: https://github.com/emilk/egui/issues/395
2021-05-17 22:38:39 +02:00
Emil Ernerfeldt
bd5a85808a
egui_demo_lib: fix persistence feature flag
2021-05-17 22:37:36 +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
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
f79f24c83e
Clean up dependencies and features flags
2021-03-31 22:53:54 +02:00
Emil Ernerfeldt
4c45ca113e
Make sure to include license files in the next release
2021-03-09 18:35:13 +01:00
Emil Ernerfeldt
fb2db4940e
Release 0.10.0 - Plot and polish
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
6377a4231f
[demo] Refactor and minor cleanup
2021-02-07 17:04:03 +01:00
Emil Ernerfeldt
e529bd3ea4
[demo] Make syntect an optional dependency
...
Adds a whopping 1.4 MB to the WASM
2021-01-31 16:52:26 +01:00
Emil Ernerfeldt
29bb7c9f9d
egui_demo_lib 0.8.1: export ColorTest
2021-01-19 17:13:29 +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
d0d22ea09b
Release 0.7.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
4fc12bf324
[egui_demo_lib] Add missing "serde" feature to egui dependency
2021-01-02 16:48:56 +01:00
Emil Ernerfeldt
0a61e2d5da
Add missing epi features to egui_demo_lib
2021-01-02 16:43:45 +01:00
Emil Ernerfeldt
3fe6eaa78a
Add missing serde feature to egui_demo_lib
2021-01-02 16:12:01 +01:00