-
Notifications
You must be signed in to change notification settings - Fork 1
fix(deps): update rust crate eframe to 0.31.0 #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/eframe-0.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
91e8721
to
ea3d865
Compare
ea3d865
to
84521ea
Compare
84521ea
to
268d3e8
Compare
268d3e8
to
5f85e06
Compare
5f85e06
to
a4d294e
Compare
a4d294e
to
6709925
Compare
6709925
to
2d9483e
Compare
2d9483e
to
f6091f0
Compare
f6091f0
to
fe8871e
Compare
fe8871e
to
84041e3
Compare
84041e3
to
df5682a
Compare
df5682a
to
9e33cde
Compare
9e33cde
to
72c8624
Compare
72c8624
to
5b543b6
Compare
5b543b6
to
518e594
Compare
518e594
to
04981c4
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.21.3
->0.31.0
Release Notes
emilk/egui (eframe)
v0.31.0
Compare Source
WindowSettings
#5554 by @landairev0.30.0
Compare Source
NOTE: you now need to enable the
wayland
orx11
features to get Linux support, including getting it to work on most CI systems.⭐ Added
ViewportCommand::Screenshot
on web #5438 by @lucasmerlin🔧 Changed
profiling
crate to support more profiler backends #5150 by @teddemunnikx11
andwayland
features toglutin
#5391 by @e00E🐛 Fixed
FallbackEgl
toPreferEgl
#5408 by @e00Ev0.29.1
Compare Source
v0.29.0
Compare Source
✨ Highlights
🧳 Migration
WebRunner::start
now expects aHtmlCanvasElement
rather than the id of it (#4780)NativeOptions::follow_system_theme
anddefault_theme
is gone, and is now inegui::Options
instead (#4860 by @bash)⭐ Added
🔧 Changed
HtmlCanvasElement
element directly inWebRunner::start
#4780 by @jprochazkstatic
eframe::App
lifetime #5060 by @timstrglow
context switching #4814 by @rustbasicweb-sys
&wasm-bindgen
#4980 by @bircniweb_sys_unstable_apis
#5000 by @emilkdirectories
dependency #4904 by @YgorSouza🐛 Fixed
save
when hiding web tab, andupdate
when focusing it #5114 by @emilkeframe::run_simple_native()
persistence #4846 by @tpstevensv0.28.1
Compare Source
v0.28.0
Compare 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_texture
ineframe::Frame
#4246 by @ChaojimengnanNativeOptions::persistence_path
#4423 by @lucasmerlinraw_input_hook
on web #4646 by @owen-d🔧 Changed
glow
backend #4284, #4296 by @emilkobjc2
and its framework crates #4395 by @madsmtmResizeObserver
instead ofresize
event #4536 by @jprochazkrequest_animation_frame
into resize observer #4628 by @jprochazkdirectories-next
dependency withdirectories
#4661 by @crumblingstatueeframe::Result
is now short foreframe::Result<()>
#4706 by @emilk🐛 Fixed
ViewportCommand::InnerSize
not resizing viewport on Wayland (#4211) #4211 by @rustbasicEvent::Ime
#4358 by @rustbasic.forget()
RAF closure #4551 by @jprochazk🧳 Migration
Wrap app creator in a
Result
Applications can now return an error during the app creation (#4565 by @emilk), so you now need to wrap your
Box<dyn App>
in aResult
like so:Change web CSS
To make the eframe canvas fill the entire web browser, set its CSS to:
See
index.html
and #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.2
Compare Source
Desktop/Native
unwrap()
#4285Web
v0.27.1
Compare Source
#hash
in the URL changes #4261zoom_factor
#4260 (thanks @justusdieckmann!)v0.27.0
Compare Source
App::raw_input_hook
allows for the manipulation or filtering of raw input events #4008 (thanks @varphone!)Desktop/Native
winuser
feature towinapi
to fix unresolved import #4037 (thanks @varphone!)get_proc_address
in CreationContext #4145 (thanks @Chaojimengnan!)Web
webgpu
feature by default to wgpu #4124 (thanks @ctaggart!)request_animation_frame
when destroying web runner #4169 (thanks @jprochazk!)Location::query_map
: support repeated key #4183v0.26.2
Compare Source
winuser
feature towinapi
to fix unresolved import #4037 (thanks @varphone!)v0.26.1
Compare Source
v0.26.0
Compare Source
wgpu
to 0.19 #3824wgpu
#3875cpu_usage
timing #3913Desktop/Native
ViewportInfo::maximized
andminimized
up-to-date on Windows #3831 (thanks @rustbasic!)IconData::default()
without crashing #3842WgpuConfiguration::desired_maximum_frame_latency
#3874App::update
on minimized windows #3877 (thanks @rustbasic!)Web
wgpu
on web,eframe
will try to use WebGPU if available, then fall back to WebGL #3824 #3895 (thanks @Wumpf!)v0.25.0
Compare Source
glow
andwgpu
features are enabled, default towgpu
#3717Desktop/Native
Send + Sync
again #3646 (thanks @surban!)accesskit
process window events #3733 (thanks @DataTriny!)Web
wasm32
docs fordocs.rs
#3757v0.24.1
Compare Source
Desktop/Native
x11
feature on Linux #3643glow
backend: clear framebuffer color before callingApp::update
#3665Web
tts
#3651v0.24.0
Compare Source
eframe::Frame
commands andWindowInfo
with egui #3564egui::ViewportBuilder
ineframe::NativeOptions
#3572Breaking changes:
Most settings in
NativeOptions
have been moved toNativeOptions::viewport
, which uses the newegui::ViewportBuilder
:NativeOptions::fullsize_content
has been replaced with four settings:ViewportBuilder::with_fullsize_content_view
,with_title_shown
,with_titlebar_shown
,with_titlebar_buttons_shown
frame.info().window_info
is gone, replaced withctx.input(|i| i.viewport())
.frame.info().native_pixels_per_point
is replaced withctx.input(|i| i.raw.native_pixels_per_point)
.Most commands in
eframe::Frame
has been replaced withegui::ViewportCommand
, so Soframe.close()
becomesctx.send_viewport_cmd(ViewportCommand::Close)
, etc.App::on_close_event
has been replaced withctx.input(|i| i.viewport().close_requested())
andctx.send_viewport_cmd(ViewportCommand::CancelClose)
.eframe::IconData
is nowegui::IconData
.eframe::IconData::try_from_png_bytes
is noweframe::icon_data::from_png_bytes
.App::post_rendering
is gone. Screenshots are taken withctx.send_viewport_cmd(ViewportCommand::Screenshots)
and are returned inegui::Event
which you can check with:v0.23.0
Compare Source
wgpu
0.17.0 #3170 (thanks @Aaron1011!)eframe
, especially for wasm32 #3295eframe::Frame::info
returns a reference #3301 (thanks @Barugon!)App::persist_window
toNativeOptions
andApp::max_size_points
toWebOptions
#3397Desktop/Native
eframe::storage_dir
#3286NativeOptions::window_builder
for more customization #3390 (thanks @twop!)eframe
#3241 (thanks @lucasmerlin!)eframe
state storage #3353 (thanks @sebbert!)winit
features #3228run_return
twice 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.0
Compare Source
request_repaint_after
works even when called from background thread #2939tracing
withlog
#2928Desktop/Native
Frame::request_screenshot
andFrame::screenshot
to communicate to the backend that a screenshot of the current frame should be exposed byFrame
duringApp::post_rendering
(#2676).eframe::run_simple_native
* a simple API for simple apps (#2453).NativeOptions::app_id
which allows to set the Wayland application ID under Linux (#1600).NativeOptions::active
#2813 (thanks @Dixeran!)android-activity
dependency + addActivity
backend features #2863 (thanks @rib!)run_and_return
(#2892)e
on black background #2996NativeOptions::app_id
for the persistence location #3014 and for Wayland #3007 (thanks @thomaskrause!)Frame::request_screenshot
870264bWeb
eframe::start_web
has been replaced witheframe::WebRunner
, which also installs a nice panic hook (no need forconsole_error_panic_hook
).wgpu
feature ofeframe
. To use WebGL withwgpu
, you need to addwgpu = { version = "0.16.0", features = ["webgl"] }
to your ownCargo.toml
. (#2945)eframe::WebLogger
for redirectinglog
calls to the web console (console.log
).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.