Breaking: On macOS, replace WindowBuilderExtMacOS::with_activation_policy with EventLoopExtMacOS::set_activation_policy
On macOS, wait with activating the application until the application has initialized.
On macOS, fix creating new windows when the application has a main menu.
On Windows, fix fractional deltas for mouse wheel device events.
On macOS, fix segmentation fault after dropping the main window.
On Android, InputEvent::KeyEvent is partially implemented providing the key scancode.
Added is_maximized method to Window.
On Windows, fix bug where clicking the decoration bar would make the cursor blink.
On Windows, fix bug causing newly created windows to erroneously display the "wait" (spinning) cursor.
On macOS, wake up the event loop immediately when a redraw is requested.
On Windows, change the default window size (1024x768) to match the default on other desktop platforms (800x600).
On Windows, fix bug causing mouse capture to not be released.
On Windows, fix fullscreen not preserving minimized/maximized state.
On Android, unimplemented events are marked as unhandled on the native event loop.
On Windows, added WindowBuilderExtWindows::with_menu to set a custom menu at window creation time.
On Android, bump ndk and ndk-glue to 0.3: use predefined constants for event ident.
On macOS, fix objects captured by the event loop closure not being dropped on panic.
On Windows, fixed WindowEvent::ThemeChanged not properly firing and fixed Window::theme returning the wrong theme.
On Web, added support for DeviceEvent::MouseMotion to listen for relative mouse movements.
Added WindowBuilder::with_position to allow setting the position of a Window on creation. Supported on Windows, macOS and X11.
Added Window::drag_window. Implemented on Windows, macOS, X11 and Wayland.
On X11, bump mio to 0.7.
On Windows, added WindowBuilderExtWindows::with_owner_window to allow creating popup windows.
On Windows, added WindowExtWindows::set_enable to allow creating modal popup windows.
On macOS, emit RedrawRequested events immediately while the window is being resized.
Implement Default, Hash, and Eq for LogicalPosition, PhysicalPosition, LogicalSize, and PhysicalSize.
On macOS, initialize the Menu Bar with minimal defaults. (Can be prevented using enable_default_menu_creation)
On macOS, change the default behavior for first click when the window was unfocused. Now the window becomes focused and then emits a MouseInput event on a "first mouse click".
Implement mint (math interoperability standard types) conversions (under feature flag mint).
Breaking: On macOS, replace WindowBuilderExtMacOS::with_activation_policy with EventLoopExtMacOS::set_activation_policy
On macOS, wait with activating the application until the application has initialized.
On macOS, fix creating new windows when the application has a main menu.
On Windows, fix fractional deltas for mouse wheel device events.
On macOS, fix segmentation fault after dropping the main window.
On Android, InputEvent::KeyEvent is partially implemented providing the key scancode.
Added is_maximized method to Window.
On Windows, fix bug where clicking the decoration bar would make the cursor blink.
On Windows, fix bug causing newly created windows to erroneously display the "wait" (spinning) cursor.
On macOS, wake up the event loop immediately when a redraw is requested.
On Windows, change the default window size (1024x768) to match the default on other desktop platforms (800x600).
On Windows, fix bug causing mouse capture to not be released.
On Windows, fix fullscreen not preserving minimized/maximized state.
On Android, unimplemented events are marked as unhandled on the native event loop.
On Windows, added WindowBuilderExtWindows::with_menu to set a custom menu at window creation time.
On Android, bump ndk and ndk-glue to 0.3: use predefined constants for event ident.
On macOS, fix objects captured by the event loop closure not being dropped on panic.
On Windows, fixed WindowEvent::ThemeChanged not properly firing and fixed Window::theme returning the wrong theme.
On Web, added support for DeviceEvent::MouseMotion to listen for relative mouse movements.
Added WindowBuilder::with_position to allow setting the position of a Window on creation. Supported on Windows, macOS and X11.
Added Window::drag_window. Implemented on Windows, macOS, X11 and Wayland.
On X11, bump mio to 0.7.
On Windows, added WindowBuilderExtWindows::with_owner_window to allow creating popup windows.
On Windows, added WindowExtWindows::set_enable to allow creating modal popup windows.
On macOS, emit RedrawRequested events immediately while the window is being resized.
Implement Default, Hash, and Eq for LogicalPosition, PhysicalPosition, LogicalSize, and PhysicalSize.
On macOS, initialize the Menu Bar with minimal defaults. (Can be prevented using enable_default_menu_creation)
On macOS, change the default behavior for first click when the window was unfocused. Now the window becomes focused and then emits a MouseInput event on a "first mouse click".
Implement mint (math interoperability standard types) conversions (under feature flag mint).
0.24.0 (2020-12-09)
On Windows, fix applications not exiting gracefully due to thread_event_target_callback accessing corrupted memory.
On Windows, implement Window::set_ime_position.
Breaking: On Windows, Renamed WindowBuilderExtWindows's is_dark_mode to theme.
Breaking: On Windows, renamed WindowBuilderExtWindows::is_dark_mode to theme.
On Windows, add WindowBuilderExtWindows::with_theme to set a preferred theme.
On Windows, fix bug causing message boxes to appear delayed.
On Android, calling WindowEvent::Focused now works properly instead of always returning false.
On Windows, fix Alt-Tab behaviour by removing borderless fullscreen "always on top" flag.
On Windows, fix bug preventing windows with transparency enabled from having fully-opaque regions.
Breaking: On Windows, include prefix byte in scancodes.
On Wayland, fix window not being resizeable when using WindowBuilder::with_min_inner_size.
On Unix, fix cross-compiling to wasm32 without enabling X11 or Wayland.
On Windows, fix use-after-free crash during window destruction.
On Web, fix WindowEvent::ReceivedCharacter never being sent on key input.
On macOS, fix compilation when targeting aarch64.
On X11, fix Window::request_redraw not waking the event loop.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on winit to permit the latest version.
Release notes
Sourced from winit's releases.
Changelog
Sourced from winit's changelog.
... (truncated)
Commits
316d830
Merge branch 'master' of https://github.com/rust-windowing/winit91591c4
Release 0.25.0 (#1939)3f15516
Release 0.25.0078b971
implement mint conversions (#1930)41d9826
Fix incorrect changelog entry for #1524 (#1916)0152508
Allow preventing the creation of the default menu (#1923)cdeb1c3
Require setting the activation policy on the event loop (#1922)0986fae
Add accept_first_mouse for macOS (#1882)2775156
MacOS: Only activate after the application has finished launching (#1903)45aacd8
UseinitialFirstResponder
instead ofmakeFirstResponder
(#1920)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)