Matt Campbell
a925511032
Expose the TextEdit multiline flag to AccessKit ( #2448 )
* Expose the TextEdit multiline flag to AccessKit
* Add changelog entry
2 years ago
Emil Ernerfeldt
126be51ac3
Add Visuals::striped as global default for Grids and Tables
2 years ago
Emil Ernerfeldt
51081d69fc
Maybe fix WSLg ( #2439 )
2 years ago
Emil Ernerfeldt
0ba2d8ca1d
Add Visuals::menu_rounding
2 years ago
Emil Ernerfeldt
4a72abc8ec
Clamp eframe window size to at most the size of the largest monitor ( #2445 )
This can hopefully fix some reported bugs where
2 years ago
Emil Ernerfeldt
32677a54e4
egui-winit: improve clipboard logging
2 years ago
Emil Ernerfeldt
26eb002270
Remove references to old, fixed Firefox WebGL bug
2 years ago
Emil Ernerfeldt
c58ac86935
egui-wgpu: only depend on epaint (not entire egui) ( #2438 )
* egui-wgpu: only depend on epaint (not entire egui)
* Update changelog link
* Fix doclinks
2 years ago
Emil Ernerfeldt
e0b5bb17e5
Improve the look of thin lines, making them look weaker ( #2437 )
* Revert "fix all clippy lints and remove them from allow list in cranky (#2419 )"
This reverts commit 930ef2db38
.
* Explain the cranky lints better
* Add Color32::gamma_multiply
* Remove unused pub use
* Remove non-existing crate category
* Improve color test with more lines
* Improve the look of thin lines, making them look weaker
Before they looked were too strong for the thickness.
* Use asserts for shader compilations
* Update changelogs
2 years ago
Emil Ernerfeldt
6c4fc50fdf
Make `egui_wgpu::winit::Painter::set_window` async ( #2434 )
* Make `egui_wgpu::winit::Painter::set_window` async
* Fix changelog link
2 years ago
Emil Ernerfeldt
7a658e3ddb
Add `Event::Key::repeat` that is set to `true` if the event is a repeat ( #2435 )
* Add `Event::Key::repeat` that is set to `true` if the event is a repeat
* Update changelog
* Improve docstring
2 years ago
Emil Ernerfeldt
cb77458f70
eframe error handling ( #2433 )
* eframe::run_native: return errors instead of crashing
* Detect and handle glutin errors
* egui_demo_app: silence wgpu log spam
* Add trace logs for why eframe is shutting down
* Fix: only save App state once on Mac
* Handle Winit failure
* Log where we load app state from
* Don't panic on zero-sized window
* Clamp loaded window size to not be too tiny to see
* Simplify code: more shared code in window_builder
* Improve code readability
* Fix wasm32 build
* fix android
* Update changelog
2 years ago
Emil Ernerfeldt
1437ec8903
Tell Rust Analyzer to run build to its own target folder
2 years ago
Ryan Hileman
c8dd5d1b2d
egui-wgpu: don't panic if we can't find a device ( #2427 ) ( #2428 )
2 years ago
Emil Ernerfeldt
059e6f719d
egui-winit: don't call set_cursor each frame on any platform
On some platforms (WSL?) the setting of the cursor can also fail,
leading to warnings being logged by winit each frame. Not good.
2 years ago
Red Artist
930ef2db38
fix all clippy lints and remove them from allow list in cranky ( #2419 )
* manual range contains clippy lint removed from allow list
* removed multiple redundant allowed clippy lints
2 years ago
Emil Ernerfeldt
228f30ed46
Release 0.20.1 of eframe egui-winit egui_glium egui_glow - docs fixes
2 years ago
Emil Ernerfeldt
d7189d69f6
Release 0.20.1 - Fix key-repeat
2 years ago
Emil Ernerfeldt
2713f60f5b
Update web demo
2 years ago
Emil Ernerfeldt
4e3ae098a9
Improve eframe wasm32 docs
2 years ago
Emil Ernerfeldt
0a1b85f35a
Revert key-repeat behavior ( #2429 )
* Revert key-repeat behavior
This fixes key-repeats everywhere in egui where it was broken,including:
- Enter in TextEdit:s
- Arrow keys for sliders and dragvalues
- …
* Update changelog
* Remove old comment
2 years ago
bilabila
e7471f1191
Fix drag_value.edit_string unexpected reset ( #2421 )
* Fix drag_value.edit_string unexpected reset
solve issue #2418 #2370
* Also reset drag_value.edit_string on click
* Fix for clippy check
2 years ago
Tomoya Matsuura
aca3807e43
Fixed docs comment in web::start ( #2422 )
* fixed typo in docs
* fixed example code in docs (wrong return type)
2 years ago
Emil Ernerfeldt
32606c2223
Fix docs.rs build issues for eframe, egui-winit, egui_glium, egui_glow ( #2420 )
* Fix docs.rs build issues for eframe, egui-winit, egui_glium, egui_glow
I hope we can get rid of the `tts` crate very soon,
now that AcessKit has landed. It is only used for web atm.
Should probably be removed from all native libraries.
* Update changelogs
2 years ago
Emil Ernerfeldt
54675f8983
Update changelog for #2416
2 years ago
ItsEthra
6cc43dbdd4
Fixed backspace repeat with TextEdit ( #2416 )
2 years ago
Emil Ernerfeldt
85f615f21c
Fix incorrect date in CHANGELOGs
2 years ago
Emil Ernerfeldt
7d91e90481
Release 0.20.0 - AccessKit, prettier text, overlapping widgets
2 years ago
Emil Ernerfeldt
124ef8ddf8
Update poll-promise and unicode_names2
2 years ago
Emil Ernerfeldt
896a299bf9
New web demo
2 years ago
Emil Ernerfeldt
4af7dc9e35
Very small doc and changelog tweaks
2 years ago
Emil Ernerfeldt
da0a178701
Style tweaks ( #2406 )
* Note the namechange of egui::color to egui::ecolor
* Use a solid triangle for collapsing headers and windows
* Add Shadow::NONE
* Add Visuals::panel_fill, window_fill and window_stroke
* Bug fix: ComboBox::width sets the outer width of the ComboBox
* egui_extras::Table: add functions to access the `Ui` for the header/body
* ComboBox: use solid triangle
* Tweak default menu margin
* Nudge panel separator lines so they stay visible
* Update changelogs
2 years ago
Andreas Reich
5effc68ba4
Split out ecolor crate ( #2399 )
* split out ecolor crate
* split up ecolor crate in lots of modules
* add changelog notes
* add readme to ecolor
* put clippy::manual_range_contains on cranky allow list
* fix hex color issues
* doc fixes
* more hex_color fixes
* Document features
* Rename hex_color module to avoid warning
* Sort the feature names
* fix link in CHANGELOG.md
* better wording
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2 years ago
Emil Ernerfeldt
e30ac7f91a
Only add glutin dependency if you are using the glow backend ( #2402 )
2 years ago
Red Artist
9145893066
fix wrong variable name ( #2400 )
* fix wrong variable name
* fmt
2 years ago
René Rössler
c3932f7f7f
Chrono update ( #2397 )
* limit day to last day of month if the month or year is changed
* update chrono to 0.4.23, switch to NaiveDate and remove use of deprecated functions.
2 years ago
Emil Ernerfeldt
9e3da91a59
Add pronunciation guide at the top of the README
2 years ago
Emil Ernerfeldt
452541d7c2
Add a "sponsored by Rerun" section at the end of the README.md
2 years ago
Luke Jones
be4a5be145
egui_glow: update example to latest glutin ( #2396 )
This lifts the context handling from commit hash 8eb687c
as this does
all the required handling for us that the older glutin once did.
2 years ago
Matt Campbell
32144d3cb9
Update README section on accessibility ( #2392 )
2 years ago
Emil Ernerfeldt
b8a1670781
Change demo keyboard shortcuts to some that work in the browser
2 years ago
Emil Ernerfeldt
a86ec5a749
Remove extra separator in color test
2 years ago
Emil Ernerfeldt
8ae4d49e6e
More changelog updates
2 years ago
Mike Krüger
ee2582964d
Added KeyRepeat event. ( #2389 )
KeyPress no longer repeats.
Co-authored-by: Mike Krueger <mkrueger@posteo.de>
2 years ago
Emil Ernerfeldt
3519358b7b
Clippy fix
2 years ago
Emil Ernerfeldt
be6d23eed1
Replace `Stroke::none()` with `Stroke::NONE`
2 years ago
Emil Ernerfeldt
df01db2df1
Add `show_separator_line` to `SidePanel` and `TopBottomPanel`
So as not to force it onto all users since #2261
2 years ago
Emil Ernerfeldt
aa503008ae
Update changelogs with recent additions
2 years ago
Emil Ernerfeldt
d7fa40ebba
`cargo update` ( #2386 )
* Better cargo deny check in check.sh
* cargo update
Updating ab_glyph v0.2.16 -> v0.2.18
Updating ab_glyph_rasterizer v0.1.5 -> v0.1.7
Removing adler32 v1.2.0
Removing ahash v0.4.7
Removing ahash v0.8.1
Adding ahash v0.8.2
Updating aho-corasick v0.7.18 -> v0.7.20
Updating android_system_properties v0.1.4 -> v0.1.5
Removing ansi_term v0.12.1
Updating anyhow v1.0.62 -> v1.0.66
Updating ash v0.37.0+1.3.209 -> v0.37.1+1.3.235
Updating async-channel v1.7.1 -> v1.8.0
Updating async-executor v1.4.1 -> v1.5.0
Updating async-io v1.8.0 -> v1.12.0
Updating async-lock v2.5.0 -> v2.6.0
Updating async-recursion v0.3.2 -> v1.0.0
Updating async-trait v0.1.57 -> v0.1.59
Updating base64 v0.13.0 -> v0.13.1
Updating bindgen v0.61.0 -> v0.63.0
Adding block-buffer v0.10.3
Updating bumpalo v3.11.0 -> v3.11.1
Updating bytemuck v1.12.1 -> v1.12.3
Updating bytemuck_derive v1.2.1 -> v1.3.0
Updating bytes v1.2.1 -> v1.3.0
Removing cache-padded v1.2.0
Updating calloop v0.10.1 -> v0.10.3
Updating cc v1.0.73 -> v1.0.77
Updating cfg-expr v0.10.3 -> v0.11.0
Updating chrono v0.4.22 -> v0.4.23
Updating clang-sys v1.3.3 -> v1.4.0
Updating clap v3.2.17 -> v3.2.23
Updating cmake v0.1.48 -> v0.1.49
Updating cocoa v0.24.0 -> v0.24.1
Updating concurrent-queue v1.2.4 -> v2.0.0
Adding cpufeatures v0.2.5
Updating crossbeam-utils v0.8.11 -> v0.8.14
Updating crossfont v0.5.0 -> v0.5.1
Adding crypto-common v0.1.6
Adding cxx v1.0.83
Adding cxx-build v1.0.83
Adding cxxbridge-flags v1.0.83
Adding cxxbridge-macro v1.0.83
Updating dark-light v0.2.2 -> v0.2.3
Removing deflate v1.0.0
Adding digest v0.10.6
Updating dlv-list v0.2.3 -> v0.3.0
Updating document-features v0.2.3 -> v0.2.6
Updating flate2 v1.0.24 -> v1.0.25
Updating fontconfig-parser v0.5.0 -> v0.5.1
Updating fontdb v0.9.1 -> v0.9.3
Updating form_urlencoded v1.0.1 -> v1.1.0
Updating futures-core v0.3.23 -> v0.3.25
Updating futures-io v0.3.23 -> v0.3.25
Updating futures-sink v0.3.23 -> v0.3.25
Updating futures-task v0.3.23 -> v0.3.25
Updating futures-util v0.3.23 -> v0.3.25
Adding generic-array v0.14.6
Updating getrandom v0.2.7 -> v0.2.8
Removing hashbrown v0.9.1
Updating iana-time-zone v0.1.46 -> v0.1.53
Adding iana-time-zone-haiku v0.1.1
Updating idna v0.2.3 -> v0.3.0
Updating image v0.24.3 -> v0.24.5
Updating indexmap v1.9.1 -> v1.9.2
Updating itertools v0.10.3 -> v0.10.5
Updating itoa v1.0.3 -> v1.0.4
Adding jni v0.20.0
Updating jobserver v0.1.24 -> v0.1.25
Adding jpeg-decoder v0.3.0
Updating libc v0.2.132 -> v0.2.138
Updating libloading v0.7.3 -> v0.7.4
Updating libm v0.2.5 -> v0.2.6
Adding link-cplusplus v1.0.7
Adding litrs v0.2.3
Updating lock_api v0.4.7 -> v0.4.9
Updating memmap2 v0.5.7 -> v0.5.8
Removing miniz_oxide v0.5.3
Adding miniz_oxide v0.5.4
Adding miniz_oxide v0.6.2
Updating mio v0.8.4 -> v0.8.5
Removing nix v0.22.3
Removing nix v0.23.1
Removing nix v0.24.2
Adding nix v0.24.3
Adding nix v0.25.1
Adding nu-ansi-term v0.46.0
Removing num_threads v0.1.6
Updating once_cell v1.13.1 -> v1.16.0
Updating ordered-multimap v0.3.1 -> v0.4.3
Updating ordered-stream v0.0.1 -> v0.1.2
Updating os_str_bytes v6.3.0 -> v6.4.1
Adding overload v0.1.1
Updating owned_ttf_parser v0.15.1 -> v0.17.1
Updating parking_lot_core v0.9.3 -> v0.9.5
Updating percent-encoding v2.1.0 -> v2.2.0
Updating pkg-config v0.3.25 -> v0.3.26
Updating png v0.17.5 -> v0.17.7
Updating polling v2.2.0 -> v2.5.1
Updating ppv-lite86 v0.2.16 -> v0.2.17
Updating proc-macro2 v1.0.43 -> v1.0.47
Updating profiling v1.0.6 -> v1.0.7
Updating rand_core v0.6.3 -> v0.6.4
Updating regex v1.6.0 -> v1.7.0
Updating regex-syntax v0.6.27 -> v0.6.28
Updating rgb v0.8.33 -> v0.8.34
Adding roxmltree v0.15.1
Updating rust-ini v0.17.0 -> v0.18.0
Updating rustls v0.20.6 -> v0.20.7
Updating scoped-tls v1.0.0 -> v1.0.1
Adding scratch v1.0.2
Updating sctk-adwaita v0.4.2 -> v0.4.3
Updating serde v1.0.143 -> v1.0.149
Updating serde_derive v1.0.143 -> v1.0.149
Updating serde_json v1.0.83 -> v1.0.89
Updating sha1 v0.6.1 -> v0.10.5
Removing sha1_smol v1.0.0
Updating smallvec v1.9.0 -> v1.10.0
Updating socket2 v0.4.4 -> v0.4.7
Updating svgtypes v0.8.1 -> v0.8.2
Updating syn v1.0.99 -> v1.0.105
Removing synstructure v0.12.6
Updating system-deps v6.0.2 -> v6.0.3
Updating textwrap v0.15.0 -> v0.16.0
Updating thiserror v1.0.32 -> v1.0.37
Updating thiserror-impl v1.0.32 -> v1.0.37
Removing time v0.1.44
Removing time v0.3.13
Adding time v0.1.45
Adding time v0.3.17
Adding time-core v0.1.0
Adding time-macros v0.2.6
Updating tracing v0.1.36 -> v0.1.37
Updating tracing-attributes v0.1.22 -> v0.1.23
Updating tracing-core v0.1.29 -> v0.1.30
Updating tracing-subscriber v0.3.15 -> v0.3.16
Adding ttf-parser v0.17.1
Adding typenum v1.15.0
Updating unicode-ident v1.0.3 -> v1.0.5
Updating unicode-normalization v0.1.21 -> v0.1.22
Updating unicode-script v0.5.4 -> v0.5.5
Updating unicode-width v0.1.9 -> v0.1.10
Updating unicode-xid v0.2.3 -> v0.2.4
Updating url v2.2.2 -> v2.3.1
Updating version-compare v0.1.0 -> v0.1.1
Updating wayland-client v0.29.4 -> v0.29.5
Updating wayland-commons v0.29.4 -> v0.29.5
Updating wayland-cursor v0.29.4 -> v0.29.5
Updating wayland-egl v0.29.4 -> v0.29.5
Updating wayland-protocols v0.29.4 -> v0.29.5
Updating wayland-scanner v0.29.4 -> v0.29.5
Updating wayland-sys v0.29.4 -> v0.29.5
Updating webbrowser v0.8.0 -> v0.8.2
Updating webpki-roots v0.22.4 -> v0.22.5
Updating wgpu v0.14.0 -> v0.14.2
Updating wgpu-core v0.14.0 -> v0.14.2
Updating wgpu-hal v0.14.0 -> v0.14.1
Updating wgpu-types v0.14.0 -> v0.14.1
Updating which v4.2.5 -> v4.3.0
Updating widestring v0.5.1 -> v1.0.2
Adding windows-sys v0.42.0
Updating winreg v0.8.0 -> v0.10.1
Updating x11-dl v2.20.0 -> v2.20.1
Updating xmlparser v0.13.3 -> v0.13.5
Updating zbus v2.3.2 -> v3.6.0
Updating zbus_macros v2.3.2 -> v3.6.0
Updating zbus_names v2.2.0 -> v2.4.0
Updating zerocopy-derive v0.3.1 -> v0.3.2
Updating zstd-sys v2.0.1+zstd.1.5.2 -> v2.0.4+zstd.1.5.2
Updating zvariant v3.6.0 -> v3.9.0
Updating zvariant_derive v3.6.0 -> v3.9.0
* downgrade image, webbrowser and fontconfig-parser to pass cargo deny
avoiding duplicate crate
* Remove unused dependency on egui_extras from screenshot demo
* Downgrade `chrono` to avoid having to fix egui-extras now
2 years ago
Red Artist
8eb687cf04
Glutin Upgrade ( #2187 )
* working. but x11 blurry
* fixed x11 blurry. was just accidentally using multisampling even when user didnt request it
* allow dbg macro temporarily
* add windows WGL fallback support when EGL fails
* fmt
* glutin features explicitly added
* extract glutin context creation into a fn
* fix warnings
2 years ago