-
Notifications
You must be signed in to change notification settings - Fork 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
chore(deps): update rust crate winit to 0.29.14 - abandoned #18
Conversation
Branch automerge failureThis PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.
|
454a316
to
c152035
Compare
2831c5b
to
1572bd4
Compare
3270bff
to
8cb3f1c
Compare
8cb3f1c
to
476fbd3
Compare
476fbd3
to
403da0b
Compare
a23cfbb
to
1ff53c1
Compare
ca5bdf8
to
d03cccf
Compare
d03cccf
to
7c10f9b
Compare
dda0d2d
to
fdde3c7
Compare
87b2fb2
to
97c311a
Compare
97c311a
to
5d90215
Compare
1161f17
to
a6499a0
Compare
909a611
to
36ee7be
Compare
4b2191c
to
8ddef0b
Compare
8cc5a94
to
2079034
Compare
57f8f91
to
90cc1ce
Compare
90cc1ce
to
8c33f81
Compare
8c33f81
to
d2ed385
Compare
d2ed385
to
98d772f
Compare
9514dbc
to
2e1c10a
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. ⚠ Warning: custom changes will be lost. |
0c08d8c
to
dd7acd8
Compare
Autoclosing SkippedThis PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error. |
This PR contains the following updates:
0.28.7
->0.29.14
Release Notes
rust-windowing/winit (winit)
v0.29.14
: Winit version 0.29.14Compare Source
text
andtext_with_all_modifiers
not beingNone
during compose.v0.29.13
Compare Source
ControlFlow::Wait
andControlFlow::WaitUntil
.v0.29.12
Compare Source
v0.29.11
Compare Source
_XSETTINGS_SETTINGS
update.Occluded
event handling.Focused(false)
being send when other seats still have window focused.Window::set_{min,max}_inner_size
not always applied.AboutToWait
.WAYLAND_SOCKET
not used when detecting platform.logical_key
andtext
not reported inKeyEvent
.KeyEventExtModifierSupplement
.NamedKey
when possible.set_cursor_grab
.set_cursor_visible
.drag_window
.drag_resize_window
.set_transparent
.set_visible
.is_visible
.set_resizable
.is_resizable
.set_maximized
.is_maximized
.set_decorations
.is_decorated
.set_window_level
.DeviceEvent::MouseMotion
.v0.29.10
Compare Source
v0.29.9
Compare Source
NotSupported
error not propagated when creating event loop.ArrowLeft
.v0.29.8
Compare Source
ModifiersChanged
not sent from xdotool-like inputWindow::request_inner_size
being overwritten by resize.Window::inner_size
not using the correct rounding.v0.29.7
Compare Source
Xft.dpi
reload during runtime.v0.29.6
Compare Source
with_prevent_default(true)
.WindowEvent::Destroyed
not being delivered after destroying window.EventLoopExtRunOnDemand::run_on_demand
not working for consequent invocationv0.29.5
Compare Source
Fn
.misinterpreted during a drag and drop operation.
refresh_rate_millihertz
.wl_subcompositor
is not supported.Xft.dpi
detection from Xresources.window.set_fullscreen(Some(Fullscreen::Borderless(None)))
resulting in losing previous window state when eventually exiting fullscreen usingwindow.set_fullscreen(None)
.set_ime_cursor_area
.v0.29.4
Compare Source
drag_window
anddrag_resize_window
can be called from another thread.set_control_flow
inAboutToWait
not being taken in account.Resized
event after eachScaleFactorChanged
event.wl_surface
being destroyed before associated objects.Fn
key.WindowBuilderExtWindows::with_clip_children
to controlWS_CLIPCHILDREN
style.v0.29.3
Compare Source
PhysicalSize
passed inWindowBuilder::with_inner_size
when possible.RedrawRequested
being always sent without decorations andsctk-adwaita
feature.configure_bounds
to constrainwith_inner_size
when compositor wants users to pick size.Cursor{Enter,Leave}
.Window::set_transparent
.Window::set_blur
.v0.29.2
Compare Source
1.60
to1.65
.Event::MemoryWarning
; implemented on iOS/Android.ndk
version to0.8.0
, ndk-sys to0.5.0
,android-activity
to0.5.0
.ControlFlow
fromPoll
toWait
.Event::RedrawRequested
toWindowEvent::RedrawRequested
.ControlFlow::Exit
toEventLoopWindowTarget::exit()
andEventLoopWindowTarget::exiting()
and removedControlFlow::ExitWithCode(_)
entirely.ControlFlow
toEventLoopWindowTarget::set_control_flow()
andEventLoopWindowTarget::control_flow()
.EventLoop::new
andEventLoopBuilder::build
now returnResult<Self, EventLoopError>
WINIT_UNIX_BACKEND
was removed in favor of standardWAYLAND_DISPLAY
andDISPLAY
variables.DeviceEvent::Text
.Event
andWindowEvent
.Window::set_inner_size
toWindow::request_inner_size
and indicate if the size was applied immediately.ActivationTokenDone
event which could be requested with the newstartup_notify
module, see its docs for more.ScaleFactorChanged
now contains a writer instead of a reference to update inner size.run() -> !
has been replaced byrun() -> Result<(), EventLoopError>
for returning errors without callingstd::process::exit()
(#2767)EventLoopExtRunReturn
/run_return
in favor ofEventLoopExtPumpEvents
/pump_events
andEventLoopExtRunOnDemand
/run_on_demand
(#2767)RedrawRequested
is no longer guaranteed to be emitted afterMainEventsCleared
, it is now platform-specific when the event is emitted after being requested viaredraw_request()
.RedrawRequested
is now driven byWM_PAINT
messages which are requested viaredraw_request()
LoopDestroyed
renamed toLoopExiting
(#2900)RedrawEventsCleared
removed (#2900)MainEventsCleared
removed (#2900)modifiers
fields.DeviceEventFilter
toDeviceEvents
reversing the behavior of variants.AboutToWait
event which is emitted when the event loop is about to block and wait for new events (#2900)EventLoopWindowTarget::set_device_event_filter
tolisten_device_events
.Window::set_ime_position
toWindow::set_ime_cursor_area
adding a way to set exclusive zone.with_x11_visual
now takes the visual ID instead of the bare pointer.MouseButton
now supportsBack
andForward
variants, emitted from mouse events on Wayland, X11, Windows, macOS and Web.instant
is now replaced byweb_time
.WindowEvent::Resized
.bitflags
crate version to2
, which changes the API on exposed types.CursorIcon::Arrow
was removed.CursorIcon::Hand
is now namedCursorIcon::Pointer
.CursorIcon
is now used from thecursor-icon
crate.WindowExtWebSys::canvas()
now returns anOption
.KeyboardInput
withKeyEvent
andRawKeyEvent
.WindowEvent::KeyboardInput
to contain aKeyEvent
.Event::Key
to contain aRawKeyEvent
.Event::ReceivedCharacter
. In its place, you should useKeyEvent.text
in combination withWindowEvent::Ime
.VirtualKeyCode
with theKey
enum.ScanCode
with theKeyCode
enum.ModifiersState::LOGO
toSUPER
andModifiersState::CTRL
toCONTROL
.PhysicalKey
wrappingKeyCode
andNativeKeyCode
.KeyCode
to refer to keys (roughly) by their physical location.NativeKeyCode
to represent rawKeyCode
s which Winit doesn'tunderstand.
Key
to represent the keys after they've been interpreted by theactive (software) keyboard layout.
NamedKey
to represent the categorized keys.NativeKey
to represent rawKey
s which Winit doesn't understand.KeyLocation
to tell apartKey
s which usually "mean" the same thing,but can appear simultaneously in different spots on the same keyboard
layout.
Window::reset_dead_keys
to enable application-controlled cancellationof dead key sequences.
KeyEventExtModifierSupplement
to expose additional (and lessportable) interpretations of a given key-press.
PhysicalKeyExtScancode
, which lets you convert between scancodes andPhysicalKey
.ModifiersChanged
now uses dedicatedModifiers
struct.raw-window-handle
trait implementations instead:platform::windows::HINSTANCE
.WindowExtWindows::hinstance
.WindowExtWindows::hwnd
.WindowExtIOS::ui_window
.WindowExtIOS::ui_view_controller
.WindowExtIOS::ui_view
.WindowExtMacOS::ns_window
.WindowExtMacOS::ns_view
.EventLoopWindowTargetExtWayland::wayland_display
.WindowExtWayland::wayland_surface
.WindowExtWayland::wayland_display
.WindowExtX11::xlib_window
.WindowExtX11::xlib_display
.WindowExtX11::xlib_screen_id
.WindowExtX11::xcb_connection
.raw-window-handle
inwindow
module.ElementState::is_pressed
.Window::pre_present_notify
to notify winit before presenting to the windowing system.Window::set_blur
to request a blur behind the window; implemented on Wayland for now.Window::show_window_menu
to request a titlebar/system menu; implemented on Wayland/Windows for now.AsFd
/AsRawFd
forEventLoop<T>
on X11 and Wayland.PartialOrd
andOrd
forMouseButton
.PartialOrd
andOrd
on types in thedpi
module.WindowBuilder
Send + Sync
.MonitorHandle
andVideoMode
usable from other threads.EventLoopBuilderExtAndroid::handle_volume_keys
to indicate that the application will handle the volume keys manually.DeviceId
to contain device id's.ModifiersChanged
not being sent.Window::outer_size
now accounts for client side decorations.Window::drag_resize_window
method.WINIT_WAYLAND_CSD_THEME
variable.TouchPhase::Canceled
being sent for moved events.Occluded
event with xdg-shell v6RedrawRequested
events so redraws will align with compositor.ControlFlow::WaitUntil
now uses the Prioritized Task Scheduling API.setTimeout()
, with a trick to circumvent throttling to 4ms, is used as a fallback.EventLoopProxy
now implementsSend
.Window
now implementsSend
andSync
.padding
,border
, andmargin
when getting or setting the canvas position.DeviceEvent::Motion
,DeviceEvent::MouseWheel
,DeviceEvent::Button
andDeviceEvent::Key
support.EventLoopWindowTargetExtWebSys
andPollStrategy
, which allows to set different strategies forControlFlow::Poll
. By default the Prioritized Task Scheduling API is used, but an option to useWindow.requestIdleCallback
is available as well. Both usesetTimeout()
, with a trick to circumvent throttling to 4ms, as a fallback.WindowBuilderExtWebSys::with_append()
to append the canvas element to the web page on creation.spawn
.ControlFlow::WaitUntil
to never wake up before the given time.DeviceEvent::MouseMotion
only being emitted for each canvas instead of the whole window.Window:::set_fullscreen
doing nothing when called outside the event loop but during transient activation.WindowBuilder
methods doing nothing.Window
methods using incorrect HTML attributes instead of CSS properties.beforeunload
event and map bfcache loading/unloading toSuspended
/Resumed
events.Window::focus_window()
.Window::set_(min|max)_inner_size()
.WindowEvent::Occluded
.MonitorHandle
.Window::is_dark_mode()
, which was replaced withWindow::theme()
.EventLoopWindowTarget::listen_device_events()
settings.Window.requestAnimationFrame()
to throttleRedrawRequested
events.Window::request_redraw
not waking the event loop when called from outside the loop.drag_resize_window
method support.DeviceEvent
.WindowBuilderExtWindows::with_class_name
to customize the internal class name.CursorEnter/Left
not being sent when grabbing the mouse.RedrawRequested
not being delivered when callingWindow::request_redraw
fromRedrawRequested
.windows-sys
version 0.48.0.with_embedded_parent_window
function to the window builder to allow embedding a window into another window.ControlFlow::Poll
andControlFlow::WaitUntil
.visual_id
in returnedraw-window-handle
.ControlFlow::Poll
toControlFlow::Poll
.WindowEvent::Occluded(false)
,WindowEvent::Occluded(true)
when application enters/leaves foreground.WindowExtMacOS
andEventLoopWindowTargetExtMacOS
.Globe
key.window.set_minimized(false)
.Window
.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 has been generated by Mend Renovate. View repository job log here.