mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-25 06:41:31 +11:00
d18db208ff
* x11: Implement file drag and drop * Fixed typo
62 lines
3 KiB
Markdown
62 lines
3 KiB
Markdown
# Unreleased
|
|
|
|
- Add support for `Touch` for emscripten backend.
|
|
- Added support for `DroppedFile`, `HoveredFile`, and `HoveredFileCancelled` to X11 backend.
|
|
|
|
# Version 0.9.0 (2017-12-01)
|
|
|
|
- Added event `WindowEvent::HiDPIFactorChanged`.
|
|
- Added method `MonitorId::get_hidpi_factor`.
|
|
- Deprecated `get_inner_size_pixels` and `get_inner_size_points` methods of `Window` in favor of
|
|
`get_inner_size`.
|
|
- **Breaking:** `EventsLoop` is `!Send` and `!Sync` because of platform-dependant constraints,
|
|
but `Window`, `WindowId`, `DeviceId` and `MonitorId` guaranteed to be `Send`.
|
|
- `MonitorId::get_position` now returns `(i32, i32)` instead of `(u32, u32)`.
|
|
- Rewrite of the wayland backend to use wayland-client-0.11
|
|
- Support for dead keys on wayland for keyboard utf8 input
|
|
- Monitor enumeration on Windows is now implemented using `EnumDisplayMonitors` instead of
|
|
`EnumDisplayDevices`. This changes the value returned by `MonitorId::get_name()`.
|
|
- On Windows added `MonitorIdExt::hmonitor` method
|
|
- Impl `Clone` for `EventsLoopProxy`
|
|
- `EventsLoop::get_primary_monitor()` on X11 will fallback to any available monitor if no primary is found
|
|
- Support for touch event on wayland
|
|
- `WindowEvent`s `MouseMoved`, `MouseEntered`, and `MouseLeft` have been renamed to
|
|
`CursorMoved`, `CursorEntered`, and `CursorLeft`.
|
|
- New `DeviceEvent`s added, `MouseMotion` and `MouseWheel`.
|
|
- Send `CursorMoved` event after `CursorEntered` and `Focused` events.
|
|
- Add support for `ModifiersState`, `MouseMove`, `MouseInput`, `MouseMotion` for emscripten backend.
|
|
|
|
# Version 0.8.3 (2017-10-11)
|
|
|
|
- Fixed issue of calls to `set_inner_size` blocking on Windows.
|
|
- Mapped `ISO_Left_Tab` to `VirtualKeyCode::Tab` to make the key work with modifiers
|
|
- Fixed the X11 backed on 32bit targets
|
|
|
|
# Version 0.8.2 (2017-09-28)
|
|
|
|
- Uniformize keyboard scancode values accross Wayland and X11 (#297).
|
|
- Internal rework of the wayland event loop
|
|
- Added method `os::linux::WindowExt::is_ready`
|
|
|
|
# Version 0.8.1 (2017-09-22)
|
|
|
|
- Added various methods to `os::linux::EventsLoopExt`, plus some hidden items necessary to make
|
|
glutin work.
|
|
|
|
# Version 0.8.0 (2017-09-21)
|
|
|
|
- Added `Window::set_maximized`, `WindowAttributes::maximized` and `WindowBuilder::with_maximized`.
|
|
- Added `Window::set_fullscreen`.
|
|
- Changed `with_fullscreen` to take a `Option<MonitorId>` instead of a `MonitorId`.
|
|
- Removed `MonitorId::get_native_identifer()` in favor of platform-specific traits in the `os`
|
|
module.
|
|
- Changed `get_available_monitors()` and `get_primary_monitor()` to be methods of `EventsLoop`
|
|
instead of stand-alone methods.
|
|
- Changed `EventsLoop` to be tied to a specific X11 or Wayland connection.
|
|
- Added a `os::linux::EventsLoopExt` trait that makes it possible to configure the connection.
|
|
- Fixed the emscripten code, which now compiles.
|
|
- Changed the X11 fullscreen code to use `xrandr` instead of `xxf86vm`.
|
|
- Fixed the Wayland backend to produce `Refresh` event after window creation.
|
|
- Changed the `Suspended` event to be outside of `WindowEvent`.
|
|
- Fixed the X11 backend sometimes reporting the wrong virtual key (#273).
|