fix(deps): update rust crate eframe to 0.33.0#9
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
67bbfdb to
d625b92
Compare
d625b92 to
aa82810
Compare
aa82810 to
049e5a4
Compare
049e5a4 to
be0e3c3
Compare
be0e3c3 to
afab67a
Compare
afab67a to
226bebf
Compare
226bebf to
a108318
Compare
a108318 to
d795e7c
Compare
d795e7c to
abfb0e6
Compare
ae1f35b to
89885f9
Compare
89885f9 to
7c57275
Compare
7c57275 to
4cbb14a
Compare
4cbb14a to
782bc62
Compare
782bc62 to
d44f430
Compare
d44f430 to
c2402e5
Compare
c2402e5 to
34a0bb9
Compare
34a0bb9 to
eec9134
Compare
eec9134 to
9886ae6
Compare
9886ae6 to
9e1eecf
Compare
9e1eecf to
21dfb0a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.20.1→0.33.0Release Notes
emilk/egui (eframe)
v0.33.3Compare Source
Nothing new
v0.33.2Compare Source
native_pixels_per_pointis set during app creation #7683 by @emilkv0.33.0Compare Source
⭐ Added
🔧 Changed
winapiwithwindows-syscrate #7416 by @unlimitedsolaDYLD_LIBRARY_PATHis set and we find no wgpu adapter #7572 by @emilk🐛 Fixed
v0.32.3Compare Source
Nothing new
v0.32.2Compare Source
Nothing new
v0.32.1Compare Source
popstateevent listener #7403 by @irevoirev0.32.0Compare Source
⭐ Added
movable_by_window_backgroundoption to viewport #5412 by @jim-echas_shadowandwith_has_shadowto ViewportBuilder #6850 by @gaelanmcmillan🔧 Changed
should_propagate_eventand addshould_prevent_default#5779 by @th0rexViewportpositioning #5715 by @aspiringLichweb-sysmin version to0.3.73#5862 by @wareyaronto0.10.1#6861 by @torokati44accesskiton Android NativeActivity, makinghello_androidworking again #6855 by @podusowskiprefers-color-scheme: no-preference#7293 by @emilk🐛 Fixed
glowbackend #6893 by @wareyaNSImagefrom png data #7252 by @Wumpfv0.31.1Compare Source
Nothing new
v0.31.0Compare Source
WindowSettings#5554 by @landairev0.30.0Compare Source
NOTE: you now need to enable the
waylandorx11features to get Linux support, including getting it to work on most CI systems.⭐ Added
ViewportCommand::Screenshoton web #5438 by @lucasmerlin🔧 Changed
profilingcrate to support more profiler backends #5150 by @teddemunnikx11andwaylandfeatures toglutin#5391 by @e00E🐛 Fixed
FallbackEgltoPreferEgl#5408 by @e00Ev0.29.1Compare Source
v0.29.0Compare Source
✨ Highlights
🧳 Migration
WebRunner::startnow expects aHtmlCanvasElementrather than the id of it (#4780)NativeOptions::follow_system_themeanddefault_themeis gone, and is now inegui::Optionsinstead (#4860 by @bash)⭐ Added
🔧 Changed
HtmlCanvasElementelement directly inWebRunner::start#4780 by @jprochazkstaticeframe::Applifetime #5060 by @timstrglowcontext switching #4814 by @rustbasicweb-sys&wasm-bindgen#4980 by @bircniweb_sys_unstable_apis#5000 by @emilkdirectoriesdependency #4904 by @YgorSouza🐛 Fixed
savewhen hiding web tab, andupdatewhen focusing it #5114 by @emilkeframe::run_simple_native()persistence #4846 by @tpstevensv0.28.1Compare Source
v0.28.0Compare Source
✨ Highlights
The eframe web canvas now works properly when its a small part of a larger web page.
Previously this caused a lot of weird bugs, such as the eframe canvas stealing focus, and resizing the canvas in annoying ways.
Now it should all work seamlessly to have an eframe canvas as part of a web page, including having multiple different eframe apps next to each other.
As part of that the eframe canvas can now be focused (or not), just like an
<input>HTML element.We've also implemented a better method for sizing and positioning the canvas so that it yields pixel-perfect rendering on all known browsers except for Desktop Safari.
What this means is that text is much less likely to be blurry on web for users (#4536 by @jprochazk).
⭐ Added
register_native_textureineframe::Frame#4246 by @ChaojimengnanNativeOptions::persistence_path#4423 by @lucasmerlinraw_input_hookon web #4646 by @owen-d🔧 Changed
glowbackend #4284, #4296 by @emilkobjc2and its framework crates #4395 by @madsmtmResizeObserverinstead ofresizeevent #4536 by @jprochazkrequest_animation_frameinto resize observer #4628 by @jprochazkdirectories-nextdependency withdirectories#4661 by @crumblingstatueeframe::Resultis now short foreframe::Result<()>#4706 by @emilk🐛 Fixed
ViewportCommand::InnerSizenot resizing viewport on Wayland (#4211) #4211 by @rustbasicEvent::Ime#4358 by @rustbasic.forget()RAF closure #4551 by @jprochazk🧳 Migration
Wrap app creator in a
ResultApplications can now return an error during the app creation (#4565 by @emilk), so you now need to wrap your
Box<dyn App>in aResultlike so:Change web CSS
To make the eframe canvas fill the entire web browser, set its CSS to:
See
index.htmland #4536 for details.Web canvas focus
If you are using eframe for a fullscreen app, you should call
.focus()on your canvas during startup:v0.27.2Compare Source
Desktop/Native
unwrap()#4285Web
v0.27.1Compare Source
#hashin the URL changes #4261zoom_factor#4260 (thanks @justusdieckmann!)v0.27.0Compare Source
App::raw_input_hookallows for the manipulation or filtering of raw input events #4008 (thanks @varphone!)Desktop/Native
winuserfeature towinapito fix unresolved import #4037 (thanks @varphone!)get_proc_addressin CreationContext #4145 (thanks @Chaojimengnan!)Web
webgpufeature by default to wgpu #4124 (thanks @ctaggart!)request_animation_framewhen destroying web runner #4169 (thanks @jprochazk!)Location::query_map: support repeated key #4183v0.26.2Compare Source
winuserfeature towinapito fix unresolved import #4037 (thanks @varphone!)v0.26.1Compare Source
v0.26.0Compare Source
wgputo 0.19 #3824wgpu#3875cpu_usagetiming #3913Desktop/Native
ViewportInfo::maximizedandminimizedup-to-date on Windows #3831 (thanks @rustbasic!)IconData::default()without crashing #3842WgpuConfiguration::desired_maximum_frame_latency#3874App::updateon minimized windows #3877 (thanks @rustbasic!)Web
wgpuon web,eframewill try to use WebGPU if available, then fall back to WebGL #3824 #3895 (thanks @Wumpf!)v0.25.0Compare Source
glowandwgpufeatures are enabled, default towgpu#3717Desktop/Native
Send + Syncagain #3646 (thanks @surban!)accesskitprocess window events #3733 (thanks @DataTriny!)Web
wasm32docs fordocs.rs#3757v0.24.1Compare Source
Desktop/Native
x11feature on Linux #3643glowbackend: clear framebuffer color before callingApp::update#3665Web
tts#3651v0.24.0Compare Source
eframe::Framecommands andWindowInfowith egui #3564egui::ViewportBuilderineframe::NativeOptions#3572Breaking changes:
Most settings in
NativeOptionshave been moved toNativeOptions::viewport, which uses the newegui::ViewportBuilder:let native_options = eframe::nativeOptions { - initial_window_size: Some(egui::vec2(320.0, 240.0)), - drag_and_drop_support: true, + viewport: egui::ViewportBuilder::default() + .with_inner_size([320.0, 240.0]) + .with_drag_and_drop(true), ..Default::default() };NativeOptions::fullsize_contenthas been replaced with four settings:ViewportBuilder::with_fullsize_content_view,with_title_shown,with_titlebar_shown,with_titlebar_buttons_shownframe.info().window_infois gone, replaced withctx.input(|i| i.viewport()).frame.info().native_pixels_per_pointis replaced withctx.input(|i| i.raw.native_pixels_per_point).Most commands in
eframe::Framehas been replaced withegui::ViewportCommand, so Soframe.close()becomesctx.send_viewport_cmd(ViewportCommand::Close), etc.App::on_close_eventhas been replaced withctx.input(|i| i.viewport().close_requested())andctx.send_viewport_cmd(ViewportCommand::CancelClose).eframe::IconDatais nowegui::IconData.eframe::IconData::try_from_png_bytesis noweframe::icon_data::from_png_bytes.App::post_renderingis gone. Screenshots are taken withctx.send_viewport_cmd(ViewportCommand::Screenshots)and are returned inegui::Eventwhich you can check with:v0.23.0Compare Source
wgpu0.17.0 #3170 (thanks @Aaron1011!)eframe, especially for wasm32 #3295eframe::Frame::inforeturns a reference #3301 (thanks @Barugon!)App::persist_windowtoNativeOptionsandApp::max_size_pointstoWebOptions#3397Desktop/Native
eframe::storage_dir#3286NativeOptions::window_builderfor more customization #3390 (thanks @twop!)eframe#3241 (thanks @lucasmerlin!)eframestate storage #3353 (thanks @sebbert!)winitfeatures #3228run_returntwice on Windows #3053 (thanks @pan93412!)eframe#3330 #3332Web
Function()invocation from eframe text_agent to bypass "unsafe-eval" restrictions in Chrome browser extensions. #3349 (thanks @aspect!)v0.22.0Compare Source
request_repaint_afterworks even when called from background thread #2939tracingwithlog#2928Desktop/Native
Frame::request_screenshotandFrame::screenshotto communicate to the backend that a screenshot of the current frame should be exposed byFrameduringApp::post_rendering(#2676).eframe::run_simple_native* a simple API for simple apps (#2453).NativeOptions::app_idwhich allows to set the Wayland application ID under Linux (#1600).NativeOptions::active#2813 (thanks @Dixeran!)android-activitydependency + addActivitybackend features #2863 (thanks @rib!)run_and_return(#2892)eon black background #2996NativeOptions::app_idfor the persistence location #3014 and for Wayland #3007 (thanks @thomaskrause!)Frame::request_screenshot870264bWeb
eframe::start_webhas been replaced witheframe::WebRunner, which also installs a nice panic hook (no need forconsole_error_panic_hook).wgpufeature ofeframe. To use WebGL withwgpu, you need to addwgpu = { version = "0.16.0", features = ["webgl"] }to your ownCargo.toml. (#2945)eframe::WebLoggerfor redirectinglogcalls to the web console (console.log).v0.21.3Compare Source
v0.21.2Compare Source
eframewith--no-default-features(#2728).v0.21.1Compare Source
v0.21.0Compare Source
App::clear_colornow expects you to return a raw float array (#2666).screen_readerfeature has now been renamedweb_screen_readerand only work on web. On other platforms, use theaccesskitfeature flag instead (#2669).Desktop/Native
eframe::run_nativenow returns aResult(#2433).winit0.28, adding support for mac trackpad zoom (#2654).NativeOptions::transparentnow works with the wgpu backend (#2684).Frame::set_minimizedandset_maximized(#2292, #2672).Web
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.