2017-12-02 00:00:09 +11:00
# Unreleased
2018-01-23 05:07:51 +11:00
- Added method `os::macos::WindowBuilderExt::with_movable_by_window_background(bool)` that allows to move a window without a titlebar - `with_decorations(false)`
2018-01-13 16:38:12 +11:00
- Implement `Window::set_fullscreen` , `Window::set_maximized` and `Window::set_decorations` for Wayland.
2018-01-25 23:32:30 +11:00
- Added `Caret` as VirtualKeyCode and support OSX ^-Key with german input.
2018-01-13 16:38:12 +11:00
2017-12-28 05:44:53 +11:00
# Version 0.10.0 (2017-12-27)
2017-12-02 00:00:09 +11:00
- Add support for `Touch` for emscripten backend.
2017-12-13 22:22:03 +11:00
- Added support for `DroppedFile` , `HoveredFile` , and `HoveredFileCancelled` to X11 backend.
2017-12-17 20:17:26 +11:00
- **Breaking:** `unix::WindowExt` no longer returns pointers for things that aren't actually pointers; `get_xlib_window` now returns `Option<std::os::raw::c_ulong>` and `get_xlib_screen_id` returns `Option<std::os::raw::c_int>` . Additionally, methods that previously returned `libc::c_void` have been changed to return `std::os::raw::c_void` , which are not interchangeable types, so users wanting the former will need to explicitly cast.
2017-12-22 23:50:46 +11:00
- Added `set_decorations` method to `Window` to allow decorations to be toggled after the window is built. Presently only implemented on X11.
2017-12-28 05:44:53 +11:00
- Raised the minimum supported version of Rust to 1.20 on MacOS due to usage of associated constants in new versions of cocoa and core-graphics.
2017-12-27 08:46:28 +11:00
- Added `modifiers` field to `MouseInput` , `MouseWheel` , and `CursorMoved` events to track the modifiers state (`ModifiersState`).
2017-12-28 05:44:53 +11:00
- Fixed the emscripten backend to return the size of the canvas instead of the size of the window.
2017-12-02 00:00:09 +11:00
2017-12-01 20:58:48 +11:00
# Version 0.9.0 (2017-12-01)
2017-09-22 16:00:19 +10:00
2017-10-17 22:56:38 +11:00
- 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` .
2017-10-19 05:40:21 +11:00
- **Breaking:** `EventsLoop` is `!Send` and `!Sync` because of platform-dependant constraints,
but `Window` , `WindowId` , `DeviceId` and `MonitorId` guaranteed to be `Send` .
2017-10-20 04:08:05 +11:00
- `MonitorId::get_position` now returns `(i32, i32)` instead of `(u32, u32)` .
2017-10-20 18:46:42 +11:00
- Rewrite of the wayland backend to use wayland-client-0.11
- Support for dead keys on wayland for keyboard utf8 input
2017-10-26 02:12:39 +11:00
- 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
2017-10-26 05:03:57 +11:00
- Impl `Clone` for `EventsLoopProxy`
2017-10-29 00:24:37 +11:00
- `EventsLoop::get_primary_monitor()` on X11 will fallback to any available monitor if no primary is found
2017-11-11 20:03:42 +11:00
- Support for touch event on wayland
2017-11-13 07:56:57 +11:00
- `WindowEvent` s `MouseMoved` , `MouseEntered` , and `MouseLeft` have been renamed to
`CursorMoved` , `CursorEntered` , and `CursorLeft` .
- New `DeviceEvent` s added, `MouseMotion` and `MouseWheel` .
2017-12-01 20:58:48 +11:00
- Send `CursorMoved` event after `CursorEntered` and `Focused` events.
- Add support for `ModifiersState` , `MouseMove` , `MouseInput` , `MouseMotion` for emscripten backend.
2017-10-17 22:56:38 +11:00
2017-10-12 18:39:41 +11:00
# Version 0.8.3 (2017-10-11)
2017-10-04 18:42:35 +11:00
- Fixed issue of calls to `set_inner_size` blocking on Windows.
2017-10-08 22:59:45 +11:00
- Mapped `ISO_Left_Tab` to `VirtualKeyCode::Tab` to make the key work with modifiers
2017-10-08 06:20:37 +11:00
- Fixed the X11 backed on 32bit targets
2017-10-04 18:42:35 +11:00
2017-09-29 03:04:26 +10:00
# Version 0.8.2 (2017-09-28)
2017-09-25 15:25:36 +10:00
- Uniformize keyboard scancode values accross Wayland and X11 (#297).
2017-09-28 00:31:46 +10:00
- Internal rework of the wayland event loop
- Added method `os::linux::WindowExt::is_ready`
2017-09-25 15:25:36 +10:00
2017-09-23 17:36:30 +10:00
# Version 0.8.1 (2017-09-22)
- Added various methods to `os::linux::EventsLoopExt` , plus some hidden items necessary to make
glutin work.
2017-09-22 16:00:19 +10:00
# Version 0.8.0 (2017-09-21)
- Added `Window::set_maximized` , `WindowAttributes::maximized` and `WindowBuilder::with_maximized` .
- Added `Window::set_fullscreen` .
2017-09-23 17:36:21 +10:00
- Changed `with_fullscreen` to take a `Option<MonitorId>` instead of a `MonitorId` .
2017-09-22 16:00:19 +10:00
- 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).