From c81448e0b8e5230effd460defcc936901a427fea Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Wed, 28 Feb 2024 22:54:37 +0400 Subject: [PATCH] Bump version on master This commit does not represent a release and only synchronizes CHANGELOG from the latest release. --- CHANGELOG.md | 20 ++++++++++++-------- Cargo.toml | 2 +- README.md | 2 +- src/platform/android.rs | 2 +- 4 files changed, 15 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d1b4823..3be2cf75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,16 +12,11 @@ Unreleased` header. # Unreleased - Move `dpi` types to its own crate, and re-export it from the root crate. -- On Wayland, fix DeviceEvent::Motion not being sent -- On X11, don't require XIM to run. -- On X11, fix xkb state not being updated correctly sometimes leading to wrong input. -- Fix compatibility with 32-bit platforms without 64-bit atomics. - Implement `Sync` for `EventLoopProxy`. - **Breaking:** Move `Window::new` to `ActiveEventLoop::create_window` and `EventLoop::create_window` (with the latter being deprecated). - **Breaking:** Rename `EventLoopWindowTarget` to `ActiveEventLoop`. - **Breaking:** Remove `Deref` implementation for `EventLoop` that gave `EventLoopWindowTarget`. - **Breaking**: Remove `WindowBuilder` in favor of `WindowAttributes`. -- On X11, fix swapped instance and general class names. - **Breaking:** Removed unnecessary generic parameter `T` from `EventLoopWindowTarget`. - On Windows, macOS, X11, Wayland and Web, implement setting images as cursors. See the `custom_cursors.rs` example. - **Breaking:** Remove `Window::set_cursor_icon` @@ -46,17 +41,27 @@ Unreleased` header. - on iOS, add detection support for `PinchGesture`, `DoubleTapGesture` and `RotationGesture`. - on Windows: add `with_system_backdrop`, `with_border_color`, `with_title_background_color`, `with_title_text_color` and `with_corner_preference` - On Windows, Remove `WS_CAPTION`, `WS_BORDER` and `WS_EX_WINDOWEDGE` styles for child windows without decorations. -- On Windows, fixed a race condition when sending an event through the loop proxy. - **Breaking:** Removed `EventLoopError::AlreadyRunning`, which can't happen as it is already prevented by the type system. -- On Wayland, disable `Occluded` event handling. - Added `EventLoop::builder`, which is intended to replace the (now deprecated) `EventLoopBuilder::new`. - **Breaking:** Changed the signature of `EventLoop::with_user_event` to return a builder. - **Breaking:** Removed `EventLoopBuilder::with_user_event`, the functionality is now available in `EventLoop::with_user_event`. - Add `Window::default_attributes` to get default `WindowAttributes`. + +# 0.29.11 + +- Fix compatibility with 32-bit platforms without 64-bit atomics. +- On macOS, fix incorrect IME cursor rect origin. +- On Windows, fixed a race condition when sending an event through the loop proxy. +- On X11, fix swapped instance and general class names. +- On X11, don't require XIM to run. +- On X11, fix xkb state not being updated correctly sometimes leading to wrong input. - On X11, reload dpi on `_XSETTINGS_SETTINGS` update. - On X11, fix deadlock when adjusting DPI and resizing at the same time. +- On Wayland, disable `Occluded` event handling. +- On Wayland, fix DeviceEvent::Motion not being sent - On Wayland, fix `Focused(false)` being send when other seats still have window focused. - On Wayland, fix `Window::set_{min,max}_inner_size` not always applied. +- On Wayland, fix title in CSD not updated from `AboutToWait`. - On Windows, fix inconsistent resizing behavior with multi-monitor setups when repositioning outside the event loop. - On Wayland, fix `WAYLAND_SOCKET` not used when detecting platform. - On Orbital, fix `logical_key` and `text` not reported in `KeyEvent`. @@ -77,7 +82,6 @@ Unreleased` header. - On Orbital, implement `is_decorated`. - On Orbital, implement `set_window_level`. - On Orbital, emit `DeviceEvent::MouseMotion`. -- On Wayland, fix title in CSD not updated from `AboutToWait`. # 0.29.10 diff --git a/Cargo.toml b/Cargo.toml index c0c14360..f4b93a42 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "winit" -version = "0.29.10" +version = "0.29.11" authors = ["The winit contributors", "Pierre Krieger "] description = "Cross-platform window creation library." keywords = ["windowing"] diff --git a/README.md b/README.md index 7a7a2cb3..ccc3a2ab 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ```toml [dependencies] -winit = "0.29.10" +winit = "0.29.11" ``` ## [Documentation](https://docs.rs/winit) diff --git a/src/platform/android.rs b/src/platform/android.rs index 38cfd435..3b45057e 100644 --- a/src/platform/android.rs +++ b/src/platform/android.rs @@ -60,7 +60,7 @@ //! //! If your application is currently based on `NativeActivity` via the `ndk-glue` crate and building with `cargo apk`, then the minimal changes would be: //! 1. Remove `ndk-glue` from your `Cargo.toml` -//! 2. Enable the `"android-native-activity"` feature for Winit: `winit = { version = "0.29.10", features = [ "android-native-activity" ] }` +//! 2. Enable the `"android-native-activity"` feature for Winit: `winit = { version = "0.29.11", features = [ "android-native-activity" ] }` //! 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 logging as above). //! 4. Pass a clone of the `AndroidApp` that your application receives to Winit when building your event loop (as shown above).