Skip to content
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

Bump winit from 0.19.3 to 0.22.1 #26256

Closed
wants to merge 1 commit into from

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Apr 22, 2020

Bumps winit from 0.19.3 to 0.22.1.

Release notes

Sourced from winit's releases.

v0.22.0

  • On Windows, fix minor timing issue in wait_until_time_or_msg
  • On Windows, rework handling of request_redraw() to address panics.
  • On macOS, fix set_simple_screen to remember frame excluding title bar.
  • On Wayland, fix coordinates in touch events when scale factor isn't 1.
  • On Wayland, fix color from close_button_icon_color not applying.
  • Ignore locale if unsupported by X11 backend
  • On Wayland, Add HiDPI cursor support
  • On Web, add the ability to query "Light" or "Dark" system theme send ThemeChanged on change.
  • Fix Event::to_static returning None for user events.
  • On Wayland, Hide CSD for fullscreen windows.
  • On Windows, ignore spurious mouse move messages.
  • Breaking: Move ModifiersChanged variant from DeviceEvent to WindowEvent.
  • On Windows, add IconExtWindows trait which exposes creating an Icon from an external file or embedded resource
  • Add BadIcon::OsError variant for when OS icon functionality fails
  • On Windows, fix crash at startup on systems that do not properly support Windows' Dark Mode
  • Revert On macOS, fix not sending ReceivedCharacter event for specific keys combinations.
  • on macOS, fix incorrect ReceivedCharacter events for some key combinations.
  • Breaking: Use i32 instead of u32 for position type in WindowEvent::Moved.

v0.21.0

  • On Windows, fixed "error: linking with link.exe failed: exit code: 1120" error on older versions of windows.
  • On macOS, fix set_minimized(true) works only with decorations.
  • On macOS, add hide_application to EventLoopWindowTarget via a new EventLoopWindowTargetExtMacOS trait. hide_application will hide the entire application by calling -[NSApplication hide: nil].
  • On macOS, fix not sending ReceivedCharacter event for specific keys combinations.
  • On macOS, fix CursorMoved event reporting the cursor position using logical coordinates.
  • On macOS, fix issue where unbundled applications would sometimes open without being focused.
  • On macOS, fix run_return does not return unless it receives a message.
  • On Windows, fix bug where RedrawRequested would only get emitted every other iteration of the event loop.
  • On X11, fix deadlock on window state when handling certain window events.
  • WindowBuilder now implements Default.
  • Breaking: WindowEvent::CursorMoved changed to f64 units, preserving high-precision data supplied by most backends
  • On Wayland, fix coordinates in mouse events when scale factor isn't 1
  • On Web, add the ability to provide a custom canvas
  • Breaking: On Wayland, the WaylandTheme struct has been replaced with a Theme trait, allowing for extra configuration

v0.20.0

  • Breaking: Overhaul how Winit handles DPI:
    • Window functions and events now return PhysicalSize instead of LogicalSize.
    • Functions that take Size or Position types can now take either Logical or Physical types.
    • hidpi_factor has been renamed to scale_factor.
    • HiDpiFactorChanged has been renamed to ScaleFactorChanged, and lets you control how the OS resizes the window in response to the change.
    • On X11, deprecate WINIT_HIDPI_FACTOR environment variable in favor of WINIT_X11_SCALE_FACTOR.
    • Size and Position types are now generic over their exact pixel type.

v0.20.0-alpha6

  • On macOS, fix set_cursor_visible hides cursor outside of window.
  • On macOS, fix CursorEntered and CursorLeft events fired at old window size.
... (truncated)
Changelog

Sourced from winit's changelog.

0.22.1 (2020-04-16)

  • On X11, fix ResumeTimeReached being fired too early.
  • On Web, replaced zero timeout for ControlFlow::Poll with requestAnimationFrame
  • On Web, fix a possible panic during event handling
  • On macOS, fix EventLoopProxy leaking memory for every instance.

0.22.0 (2020-03-09)

  • On Windows, fix minor timing issue in wait_until_time_or_msg
  • On Windows, rework handling of request_redraw() to address panics.
  • On macOS, fix set_simple_screen to remember frame excluding title bar.
  • On Wayland, fix coordinates in touch events when scale factor isn't 1.
  • On Wayland, fix color from close_button_icon_color not applying.
  • Ignore locale if unsupported by X11 backend
  • On Wayland, Add HiDPI cursor support
  • On Web, add the ability to query "Light" or "Dark" system theme send ThemeChanged on change.
  • Fix Event::to_static returning None for user events.
  • On Wayland, Hide CSD for fullscreen windows.
  • On Windows, ignore spurious mouse move messages.
  • Breaking: Move ModifiersChanged variant from DeviceEvent to WindowEvent.
  • On Windows, add IconExtWindows trait which exposes creating an Icon from an external file or embedded resource
  • Add BadIcon::OsError variant for when OS icon functionality fails
  • On Windows, fix crash at startup on systems that do not properly support Windows' Dark Mode
  • Revert On macOS, fix not sending ReceivedCharacter event for specific keys combinations.
  • on macOS, fix incorrect ReceivedCharacter events for some key combinations.
  • Breaking: Use i32 instead of u32 for position type in WindowEvent::Moved.

0.21.0 (2020-02-04)

  • On Windows, fixed "error: linking with link.exe failed: exit code: 1120" error on older versions of windows.
  • On macOS, fix set_minimized(true) works only with decorations.
  • On macOS, add hide_application to EventLoopWindowTarget via a new EventLoopWindowTargetExtMacOS trait. hide_application will hide the entire application by calling -[NSApplication hide: nil].
  • On macOS, fix not sending ReceivedCharacter event for specific keys combinations.
  • On macOS, fix CursorMoved event reporting the cursor position using logical coordinates.
  • On macOS, fix issue where unbundled applications would sometimes open without being focused.
  • On macOS, fix run_return does not return unless it receives a message.
  • On Windows, fix bug where RedrawRequested would only get emitted every other iteration of the event loop.
  • On X11, fix deadlock on window state when handling certain window events.
  • WindowBuilder now implements Default.
  • Breaking: WindowEvent::CursorMoved changed to f64 units, preserving high-precision data supplied by most backends
  • On Wayland, fix coordinates in mouse events when scale factor isn't 1
  • On Web, add the ability to provide a custom canvas
  • Breaking: On Wayland, the WaylandTheme struct has been replaced with a Theme trait, allowing for extra configuration

0.20.0 (2020-01-05)

  • On X11, fix ModifiersChanged emitting incorrect modifier change events
  • Breaking: Overhaul how Winit handles DPI:
    • Window functions and events now return PhysicalSize instead of LogicalSize.
... (truncated)
Commits

Dependabot compatibility score

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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Apr 22, 2020
"rustc_version",
]

[[package]]
name = "parking_lot"
version = "0.10.2"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems this update will introduce duplicated versions of parking_lot 👀

Copy link
Sponsor Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR should be edited and a whitelist entry be added. Filed #26262. This will be deduplicated after dependabot upgraded gfx-rs (wgpu-core git (upstream is 0.10), gfx-backend-metal + gfx-backend-dx11 from 0.4 to 0.5), after surfman upgraded parking_lot to 0.10 and winit to 0.22 and after webxr upgraded winit to 0.22.

@bors-servo
Copy link
Contributor

☔ The latest upstream changes (presumably #26319) made this pull request unmergeable. Please resolve the merge conflicts.

@highfive highfive added the S-needs-rebase There are merge conflict errors. label Apr 26, 2020
Bumps [winit](https://github.com/rust-windowing/winit) from 0.19.3 to 0.22.1.
- [Release notes](https://github.com/rust-windowing/winit/releases)
- [Changelog](https://github.com/rust-windowing/winit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-windowing/winit/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@jdm jdm closed this Apr 26, 2020
@dependabot-preview
Copy link
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot-preview dependabot-preview bot deleted the dependabot/cargo/winit-0.22.1 branch April 26, 2020 12:20
@Darkspirit Darkspirit mentioned this pull request May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-awaiting-review There is new code that needs to be reviewed. S-needs-rebase There are merge conflict errors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants