You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add `ApplicationHandlerExtMacOS` trait, and a `macos_handler` method to `ApplicationHandler` which returns a `dyn ApplicationHandlerExtMacOS` which allows for macOS specific extensions to winit.
63
-
- Add a `standard_key_binding` method to the `ApplicationHandlerExtMacOS` trait. This allows handling of standard keybindings such as "go to end of line" on macOS.
64
-
- On macOS, add `WindowExtMacOS::set_unified_titlebar` and `WindowAttributesMacOS::with_unified_titlebar`
65
-
to use a larger style of titlebar.
66
-
- Add `WindowId::into_raw()` and `from_raw()`.
67
-
- Add `PointerKind`, `PointerSource`, `ButtonSource`, `FingerId`, `primary` and `position` to all
68
-
pointer events as part of the pointer event overhaul.
69
-
- Add `DeviceId::into_raw()` and `from_raw()`.
70
-
- Added `Window::surface_position`, which is the position of the surface inside the window.
71
-
- Added `Window::safe_area`, which describes the area of the surface that is unobstructed.
72
-
- On X11, Wayland, Windows and macOS, improved scancode conversions for more obscure key codes.
73
-
- Add ability to make non-activating window on macOS using `NSPanel` with `NSWindowStyleMask::NonactivatingPanel`.
74
-
- Implement `MonitorHandleProvider` for `MonitorHandle` to access common monitor API.
75
-
- On X11, set an "area" attribute on XIM input connection to convey the cursor area.
76
-
- Implement `CustomCursorProvider` for `CustomCursor` to access cursor API.
The `WindowEvent::DragMoved` event is entirely new, and is emitted whenever the pointer moves
198
-
whilst files are being dragged over the window. It doesn't contain any file paths, just the
199
-
pointer position.
200
-
- Updated `objc2` to `v0.6`.
201
-
- Updated `windows-sys` to `v0.59`.
202
-
- To match the corresponding changes in `windows-sys`, the `HWND`, `HMONITOR`, and `HMENU` types
203
-
now alias to `*mut c_void` instead of `isize`.
204
-
- Removed `KeyEventExtModifierSupplement`, and made the fields `text_with_all_modifiers` and
205
-
`key_without_modifiers` public on `KeyEvent` instead.
206
-
- Move `window::Fullscreen` to `monitor::Fullscreen`.
207
-
- Renamed "super" key to "meta", to match the naming in the W3C specification.
208
-
`NamedKey::Super` still exists, but it's non-functional and deprecated, `NamedKey::Meta` should be used instead.
209
-
- Move `IconExtWindows` into `WinIcon`.
210
-
- Move `EventLoopExtPumpEvents` and `PumpStatus` from platform module to `winit::event_loop::pump_events`.
211
-
- Move `EventLoopExtRunOnDemand` from platform module to `winit::event_loop::run_on_demand`.
212
-
- Use `NamedKey`, `Code` and `Location` from the `keyboard-types` v0.8 crate.
213
-
- Deprecate `Window::set_ime_allowed`, `Window::set_ime_cursor_area`, and `Window::set_ime_purpose`.
214
-
-`Force::normalized()` now takes a `Option<ToolAngle>` to calculate the perpendicular force.
215
-
- On Windows, don't confine cursor to center of window when grabbed and hidden.
216
-
217
-
### Removed
218
-
219
-
- Remove `Event`.
220
-
- Remove already deprecated APIs:
221
-
-`EventLoop::create_window()`
222
-
-`EventLoop::run`.
223
-
-`EventLoopBuilder::new()`
224
-
-`EventLoopExtPumpEvents::pump_events`.
225
-
-`EventLoopExtRunOnDemand::run_on_demand`.
226
-
-`VideoMode`
227
-
-`WindowAttributes::new()`
228
-
-`Window::set_cursor_icon()`
229
-
- On iOS, remove `platform::ios::EventLoopExtIOS` and related `platform::ios::Idiom` type.
230
-
231
-
This feature was incomplete, and the equivalent functionality can be trivially achieved outside
232
-
of `winit` using `objc2-ui-kit` and calling `UIDevice::currentDevice().userInterfaceIdiom()`.
233
-
- On Web, remove unused `platform::web::CustomCursorError::Animation`.
234
-
- Remove the `rwh_04` and `rwh_05` cargo feature and the corresponding `raw-window-handle` v0.4 and
235
-
v0.5 support. v0.6 remains in place and is enabled by default.
236
-
- Remove `DeviceEvent::Added` and `DeviceEvent::Removed`.
237
-
- Remove `DeviceEvent::Motion` and `WindowEvent::AxisMotion`.
238
-
- Remove `MonitorHandle::size()` and `refresh_rate_millihertz()` in favor of
239
-
`MonitorHandle::current_video_mode()`.
240
-
- On Android, remove all `MonitorHandle` support instead of emitting false data.
241
-
- Remove `impl From<u64> for WindowId` and `impl From<WindowId> for u64`. Replaced with
242
-
`WindowId::into_raw()` and `from_raw()`.
243
-
- Remove `dummy()` from `WindowId` and `DeviceId`.
244
-
- Remove `WindowEvent::Touch` and `Touch` in favor of the new `PointerKind`, `PointerSource` and
245
-
`ButtonSource` as part of the new pointer event overhaul.
246
-
- Remove `Force::altitude_angle`.
247
-
- Remove `Window::inner_position`, use the new `Window::surface_position` instead.
248
-
- Remove `CustomCursorExtWeb`, use the `CustomCursorSource`.
249
-
- Remove `CustomCursor::from_rgba`, use `CustomCursorSource` instead.
250
-
- Remove `ApplicationHandler::exited`, the event loop being shut down can now be listened to in
251
-
the `Drop` impl on the application handler.
252
-
- Remove `NamedKey::Space`, match on `Key::Character(" ")` instead.
253
-
- Remove `PartialEq` impl for `WindowAttributes`.
254
-
-`WindowAttributesExt*` platform extensions; use `WindowAttributes*` instead.
255
-
- Remove `Force::Calibrated::altitude_angle` in favor of `ToolAngle::altitude`.
256
-
257
-
### Fixed
258
-
259
-
- On Orbital, `MonitorHandle::name()` now returns `None` instead of a dummy name.
260
-
- On Orbital, implement `fullscreen`.
261
-
- On iOS, fixed `SurfaceResized` and `Window::surface_size` not reporting the size of the actual surface.
262
-
- On macOS, fixed the scancode conversion for audio volume keys.
263
-
- On macOS, fixed the scancode conversion for `IntlBackslash`.
264
-
- On macOS, fixed redundant `SurfaceResized` event at window creation.
265
-
- On macOS, don't panic on monitors with unknown bit-depths.
266
-
- On macOS, fixed crash when closing the window on macOS 26+.
267
-
- On Windows, account for mouse wheel lines per scroll setting for `WindowEvent::MouseWheel`.
268
-
- On Windows, `Window::theme` will return the correct theme after setting it through `Window::set_theme`.
269
-
- On Windows, `Window::set_theme` will change the title bar color immediately now.
270
-
- On Windows 11, prevent incorrect shifting when dragging window onto a monitor with different DPI.
271
-
- On Windows, avoid returning `SurfaceResized` with size zero when an application is minimized. Let `Window::surface_size` return the pre-minimization window size even while minimized.
272
-
- On Web, device events are emitted regardless of cursor type.
273
-
- On Wayland, `axis_value120` scroll events now generate `MouseScrollDelta::LineDelta`
274
-
- On X11, mouse scroll button events no longer cause duplicated `WindowEvent::MouseWheel` events.
275
-
- On macOS, fixed crash when dragging non-file content onto window.
0 commit comments