mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-02 23:00:05 -04:00
Winit version 0.30.10
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "winit"
|
name = "winit"
|
||||||
version = "0.30.9"
|
version = "0.30.10"
|
||||||
authors = [
|
authors = [
|
||||||
"The winit contributors",
|
"The winit contributors",
|
||||||
"Pierre Krieger <pierre.krieger1708@gmail.com>",
|
"Pierre Krieger <pierre.krieger1708@gmail.com>",
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
winit = "0.30.9"
|
winit = "0.30.10"
|
||||||
```
|
```
|
||||||
|
|
||||||
## [Documentation](https://docs.rs/winit)
|
## [Documentation](https://docs.rs/winit)
|
||||||
|
|||||||
@@ -39,31 +39,3 @@ The migration guide could reference other migration examples in the current
|
|||||||
changelog entry.
|
changelog entry.
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
### Added
|
|
||||||
|
|
||||||
- On Windows, add `IconExtWindows::from_resource_name`.
|
|
||||||
- On Windows, add `CursorGrabMode::Locked`.
|
|
||||||
- On Wayland, add `WindowExtWayland::xdg_toplevel`.
|
|
||||||
|
|
||||||
### Changed
|
|
||||||
|
|
||||||
- On macOS, no longer need control of the main `NSApplication` class (which means you can now override it yourself).
|
|
||||||
- On iOS, remove custom application delegates. You are now allowed to override the
|
|
||||||
application delegate yourself.
|
|
||||||
- On iOS, no longer act as-if the application successfully open all URLs. Override
|
|
||||||
`application:didFinishLaunchingWithOptions:` and provide the desired behaviour yourself.
|
|
||||||
|
|
||||||
### Fixed
|
|
||||||
|
|
||||||
- On Windows, fixed ~500 ms pause when clicking the title bar during continuous redraw.
|
|
||||||
- On macOS, `WindowExtMacOS::set_simple_fullscreen` now honors `WindowExtMacOS::set_borderless_game`
|
|
||||||
- On X11 and Wayland, fixed pump_events with `Some(Duration::Zero)` blocking with `Wait` polling mode
|
|
||||||
- On Wayland, fixed a crash when consequently calling `set_cursor_grab` without pointer focus.
|
|
||||||
- On Wayland, ensure that external event loop is woken-up when using pump_events and integrating via `FD`.
|
|
||||||
- On Wayland, apply fractional scaling to custom cursors.
|
|
||||||
- On macOS, fixed `run_app_on_demand` returning without closing open windows.
|
|
||||||
- On macOS, fixed `VideoMode::refresh_rate_millihertz` for fractional refresh rates.
|
|
||||||
- On macOS, store monitor handle to avoid panics after going in/out of sleep.
|
|
||||||
- On macOS, allow certain invalid monitor handles and return `None` instead of panicking.
|
|
||||||
- On Windows, fixed `Ime::Preedit` cursor offset calculation.
|
|
||||||
|
|||||||
@@ -1,3 +1,33 @@
|
|||||||
|
## 0.30.10
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- On Windows, add `IconExtWindows::from_resource_name`.
|
||||||
|
- On Windows, add `CursorGrabMode::Locked`.
|
||||||
|
- On Wayland, add `WindowExtWayland::xdg_toplevel`.
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- On macOS, no longer need control of the main `NSApplication` class (which means you can now override it yourself).
|
||||||
|
- On iOS, remove custom application delegates. You are now allowed to override the
|
||||||
|
application delegate yourself.
|
||||||
|
- On iOS, no longer act as-if the application successfully open all URLs. Override
|
||||||
|
`application:didFinishLaunchingWithOptions:` and provide the desired behaviour yourself.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- On Windows, fixed ~500 ms pause when clicking the title bar during continuous redraw.
|
||||||
|
- On macOS, `WindowExtMacOS::set_simple_fullscreen` now honors `WindowExtMacOS::set_borderless_game`
|
||||||
|
- On X11 and Wayland, fixed pump_events with `Some(Duration::Zero)` blocking with `Wait` polling mode
|
||||||
|
- On Wayland, fixed a crash when consequently calling `set_cursor_grab` without pointer focus.
|
||||||
|
- On Wayland, ensure that external event loop is woken-up when using pump_events and integrating via `FD`.
|
||||||
|
- On Wayland, apply fractional scaling to custom cursors.
|
||||||
|
- On macOS, fixed `run_app_on_demand` returning without closing open windows.
|
||||||
|
- On macOS, fixed `VideoMode::refresh_rate_millihertz` for fractional refresh rates.
|
||||||
|
- On macOS, store monitor handle to avoid panics after going in/out of sleep.
|
||||||
|
- On macOS, allow certain invalid monitor handles and return `None` instead of panicking.
|
||||||
|
- On Windows, fixed `Ime::Preedit` cursor offset calculation.
|
||||||
|
|
||||||
## 0.30.9
|
## 0.30.9
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
//! If your application is currently based on `NativeActivity` via the `ndk-glue` crate and building
|
//! If your application is currently based on `NativeActivity` via the `ndk-glue` crate and building
|
||||||
//! with `cargo apk`, then the minimal changes would be:
|
//! with `cargo apk`, then the minimal changes would be:
|
||||||
//! 1. Remove `ndk-glue` from your `Cargo.toml`
|
//! 1. Remove `ndk-glue` from your `Cargo.toml`
|
||||||
//! 2. Enable the `"android-native-activity"` feature for Winit: `winit = { version = "0.30.9",
|
//! 2. Enable the `"android-native-activity"` feature for Winit: `winit = { version = "0.30.10",
|
||||||
//! features = [ "android-native-activity" ] }`
|
//! features = [ "android-native-activity" ] }`
|
||||||
//! 3. Add an `android_main` entrypoint (as above), instead of using the '`[ndk_glue::main]` proc
|
//! 3. Add an `android_main` entrypoint (as above), instead of using the '`[ndk_glue::main]` proc
|
||||||
//! macro from `ndk-macros` (optionally add a dependency on `android_logger` and initialize
|
//! macro from `ndk-macros` (optionally add a dependency on `android_logger` and initialize
|
||||||
|
|||||||
Reference in New Issue
Block a user