From 4be6db8a33cf3b100854115029b34402ccbcd182 Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Fri, 16 Feb 2024 17:21:22 +0100 Subject: [PATCH] Normalize changelog headers --- src/__changelog/v0.10.md | 4 ++-- src/__changelog/v0.11.md | 8 ++++---- src/__changelog/v0.12.md | 2 +- src/__changelog/v0.13.md | 4 ++-- src/__changelog/v0.14.md | 2 +- src/__changelog/v0.15.md | 4 ++-- src/__changelog/v0.16.md | 6 +++--- src/__changelog/v0.17.md | 6 +++--- src/__changelog/v0.18.md | 4 ++-- src/__changelog/v0.19.md | 4 ++-- src/__changelog/v0.20.md | 14 +++++++------- src/__changelog/v0.21.md | 2 +- src/__changelog/v0.22.md | 6 +++--- src/__changelog/v0.23.md | 2 +- src/__changelog/v0.24.md | 2 +- src/__changelog/v0.25.md | 2 +- src/__changelog/v0.26.md | 4 ++-- src/__changelog/v0.27.md | 6 +++--- src/__changelog/v0.8.md | 8 ++++---- src/__changelog/v0.9.md | 2 +- 20 files changed, 46 insertions(+), 46 deletions(-) diff --git a/src/__changelog/v0.10.md b/src/__changelog/v0.10.md index 475b7457bb..74d54c2c8f 100644 --- a/src/__changelog/v0.10.md +++ b/src/__changelog/v0.10.md @@ -1,8 +1,8 @@ -# Version 0.10.1 (2018-02-05) +# 0.10.1 _Yanked_ -# Version 0.10.0 (2017-12-27) +# 0.10.0 - Add support for `Touch` for emscripten backend. - Added support for `DroppedFile`, `HoveredFile`, and `HoveredFileCancelled` to X11 backend. diff --git a/src/__changelog/v0.11.md b/src/__changelog/v0.11.md index 0b96db4389..80f9eb3ec1 100644 --- a/src/__changelog/v0.11.md +++ b/src/__changelog/v0.11.md @@ -1,4 +1,4 @@ -# Version 0.11.3 (2018-03-28) +# 0.11.3 - Added `set_min_dimensions` and `set_max_dimensions` methods to `Window`, and implemented on Windows, X11, Wayland, and OSX. - On X11, dropping a `Window` actually closes it now, and clicking the window's × button (or otherwise having the WM signal to close it) will result in the window closing. @@ -7,19 +7,19 @@ `with_fullsize_content_view`. - Mapped X11 numpad keycodes (arrows, Home, End, PageUp, PageDown, Insert and Delete) to corresponding virtual keycodes -# Version 0.11.2 (2018-03-06) +# 0.11.2 - Impl `Hash`, `PartialEq`, and `Eq` for `events::ModifiersState`. - Implement `MonitorId::get_hidpi_factor` for MacOS. - Added method `os::macos::MonitorIdExt::get_nsscreen() -> *mut c_void` that gets a `NSScreen` object matching the monitor ID. - Send `Awakened` event on Android when event loop is woken up. -# Version 0.11.1 (2018-02-19) +# 0.11.1 - Fixed windows not receiving mouse events when click-dragging the mouse outside the client area of a window, on Windows platforms. - Added method `os::android::EventsLoopExt:set_suspend_callback(Option ()>>)` that allows glutin to register a callback when a suspend event happens -# Version 0.11.0 (2018-02-09) +# 0.11.0 - Implement `MonitorId::get_dimensions` for Android. - Added method `os::macos::WindowBuilderExt::with_movable_by_window_background(bool)` that allows to move a window without a titlebar - `with_decorations(false)` diff --git a/src/__changelog/v0.12.md b/src/__changelog/v0.12.md index a7e89cdf24..714c6ee66c 100644 --- a/src/__changelog/v0.12.md +++ b/src/__changelog/v0.12.md @@ -1,4 +1,4 @@ -# Version 0.12.0 (2018-04-06) +# 0.12.0 - Added subclass to macos windows so they can be made resizable even with no decorations. - Dead keys now work properly on X11, no longer resulting in a panic. diff --git a/src/__changelog/v0.13.md b/src/__changelog/v0.13.md index 1f9e54e4ca..3b982b1120 100644 --- a/src/__changelog/v0.13.md +++ b/src/__changelog/v0.13.md @@ -1,8 +1,8 @@ -# Version 0.13.1 (2018-04-26) +# 0.13.1 - Ensure necessary `x11-dl` version is used. -# Version 0.13.0 (2018-04-25) +# 0.13.0 - Implement `WindowBuilder::with_maximized`, `Window::set_fullscreen`, `Window::set_maximized` and `Window::set_decorations` for MacOS. - Implement `WindowBuilder::with_maximized`, `Window::set_fullscreen`, `Window::set_maximized` and `Window::set_decorations` for Windows. diff --git a/src/__changelog/v0.14.md b/src/__changelog/v0.14.md index 289ab38de9..3bed24729f 100644 --- a/src/__changelog/v0.14.md +++ b/src/__changelog/v0.14.md @@ -1,4 +1,4 @@ -# Version 0.14.0 (2018-05-09) +# 0.14.0 - Created the `Copy`, `Paste` and `Cut` `VirtualKeyCode`s and added support for them on X11 and Wayland - Fix `.with_decorations(false)` in macOS diff --git a/src/__changelog/v0.15.md b/src/__changelog/v0.15.md index cc558babcc..a271dea60f 100644 --- a/src/__changelog/v0.15.md +++ b/src/__changelog/v0.15.md @@ -1,4 +1,4 @@ -# Version 0.15.1 (2018-06-13) +# 0.15.1 - On X11, the `Moved` event is no longer sent when the window is resized without changing position. - `MouseCursor` and `CursorState` now implement `Default`. @@ -15,7 +15,7 @@ - On macOS, `CursorMoved` and `MouseInput` events are only generated if they occurs within the window's client area. - On macOS, resizing the window no longer generates a spurious `MouseInput` event. -# Version 0.15.0 (2018-05-22) +# 0.15.0 - `Icon::to_cardinals` is no longer public, since it was never supposed to be. - Wayland: improve diagnostics if initialization fails diff --git a/src/__changelog/v0.16.md b/src/__changelog/v0.16.md index b04b857e8d..fc721ab464 100644 --- a/src/__changelog/v0.16.md +++ b/src/__changelog/v0.16.md @@ -1,15 +1,15 @@ -# Version 0.16.2 (2018-07-07) +# 0.16.2 - On Windows, non-resizable windows now have the maximization button disabled. This is consistent with behavior on macOS and popular X11 WMs. - Corrected incorrect `unreachable!` usage when guessing the DPI factor with no detected monitors. -# Version 0.16.1 (2018-07-02) +# 0.16.1 - Added logging through `log`. Logging will become more extensive over time. - On X11 and Windows, the window's DPI factor is guessed before creating the window. This _greatly_ cuts back on unsightly auto-resizing that would occur immediately after window creation. - Fixed X11 backend compilation for environments where `c_char` is unsigned. -# Version 0.16.0 (2018-06-25) +# 0.16.0 - Windows additionally has `WindowBuilderExt::with_no_redirection_bitmap`. - **Breaking:** Removed `VirtualKeyCode::LMenu` and `VirtualKeyCode::RMenu`; Windows now generates `VirtualKeyCode::LAlt` and `VirtualKeyCode::RAlt` instead. diff --git a/src/__changelog/v0.17.md b/src/__changelog/v0.17.md index ef8429b288..f29d8ad8fe 100644 --- a/src/__changelog/v0.17.md +++ b/src/__changelog/v0.17.md @@ -1,15 +1,15 @@ -# Version 0.17.2 (2018-08-19) +# 0.17.2 - On macOS, fix `` so applications receive the event. - On macOS, fix `` so applications receive the event. - On Wayland, key press events will now be repeated. -# Version 0.17.1 (2018-08-05) +# 0.17.1 - On X11, prevent a compilation failure in release mode for versions of Rust greater than or equal to 1.30. - Fixed deadlock that broke fullscreen mode on Windows. -# Version 0.17.0 (2018-08-02) +# 0.17.0 - Cocoa and core-graphics updates. - Fixed thread-safety issues in several `Window` functions on Windows. diff --git a/src/__changelog/v0.18.md b/src/__changelog/v0.18.md index e165f2f9dd..fe97cd4208 100644 --- a/src/__changelog/v0.18.md +++ b/src/__changelog/v0.18.md @@ -1,4 +1,4 @@ -# Version 0.18.1 (2018-12-30) +# 0.18.1 - On macOS, fix `Yen` (JIS) so applications receive the event. - On X11 with a tiling WM, fixed high CPU usage when moving windows across monitors. @@ -21,7 +21,7 @@ - On macOS, all `MouseCursor` variants are now implemented and the cursor will no longer reset after unfocusing. - Removed minimum supported Rust version guarantee. -# Version 0.18.0 (2018-11-07) +# 0.18.0 - **Breaking:** `image` crate upgraded to 0.20. This is exposed as part of the `icon_loading` API. - On Wayland, pointer events will now provide the current modifiers state. diff --git a/src/__changelog/v0.19.md b/src/__changelog/v0.19.md index 11bfc5dea2..cc9f551493 100644 --- a/src/__changelog/v0.19.md +++ b/src/__changelog/v0.19.md @@ -1,4 +1,4 @@ -# Version 0.19.1 (2019-04-08) +# 0.19.1 - On Wayland, added a `get_wayland_display` function to `EventsLoopExt`. - On Windows, fix `CursorMoved(0, 0)` getting dispatched on window focus. @@ -10,7 +10,7 @@ - On Windows, fix icon not showing up in corner of window. - On X11, change DPI scaling factor behavior. First, winit tries to read it from "Xft.dpi" XResource, and uses DPI calculation from xrandr dimensions as fallback behavior. -# Version 0.19.0 (2019-03-06) +# 0.19.0 - On X11, we will use the faster `XRRGetScreenResourcesCurrent` function instead of `XRRGetScreenResources` when available. - On macOS, fix keycodes being incorrect when using a non-US keyboard layout. diff --git a/src/__changelog/v0.20.md b/src/__changelog/v0.20.md index 349680218f..a1a738ec43 100644 --- a/src/__changelog/v0.20.md +++ b/src/__changelog/v0.20.md @@ -1,4 +1,4 @@ -# 0.20.0 (2020-01-05) +# 0.20.0 - On X11, fix `ModifiersChanged` emitting incorrect modifier change events - **Breaking**: Overhaul how Winit handles DPI: @@ -10,7 +10,7 @@ - On X11, deprecate `WINIT_HIDPI_FACTOR` environment variable in favor of `WINIT_X11_SCALE_FACTOR`. - `Size` and `Position` types are now generic over their exact pixel type. -# 0.20.0 Alpha 6 (2020-01-03) +# 0.20.0-alpha6 - On macOS, fix `set_cursor_visible` hides cursor outside of window. - On macOS, fix `CursorEntered` and `CursorLeft` events fired at old window size. @@ -38,7 +38,7 @@ - On X11, `WINIT_HIDPI_FACTOR` now dominates `Xft.dpi` when picking DPI factor for output. - On X11, add special value `randr` for `WINIT_HIDPI_FACTOR` to make winit use self computed DPI factor instead of the one from `Xft.dpi`. -# 0.20.0 Alpha 5 (2019-12-09) +# 0.20.0-alpha5 - On macOS, fix application termination on `ControlFlow::Exit` - On Windows, fix missing `ReceivedCharacter` events when Alt is held. @@ -56,7 +56,7 @@ - On X11, issue a `CursorMoved` event when a `Touch` event occurs, as X11 implicitly moves the cursor for such events. -# 0.20.0 Alpha 4 (2019-10-18) +# 0.20.0-alpha4 - Add web support via the 'stdweb' or 'web-sys' features - On Windows, implemented function to get HINSTANCE @@ -101,7 +101,7 @@ - On Wayland, drop resize events identical to the current window size. - On Windows, fix window rectangle not getting set correctly on high-DPI systems. -# 0.20.0 Alpha 3 (2019-08-14) +# 0.20.0-alpha3 - On macOS, drop the run closure on exit. - On Windows, location of `WindowEvent::Touch` are window client coordinates instead of screen coordinates. @@ -133,7 +133,7 @@ - On iOS, RedrawRequested now works for gl/metal backed views. - On iOS, RedrawRequested is generally ordered after EventsCleared. -# 0.20.0 Alpha 2 (2019-07-09) +# 0.20.0-alpha2 - On X11, non-resizable windows now have maximize explicitly disabled. - On Windows, support paths longer than MAX_PATH (260 characters) in `WindowEvent::DroppedFile` @@ -152,7 +152,7 @@ and `WindowEvent::HoveredFile`. - On Windows, fix `with_maximized` not properly setting window size to entire window. - On macOS, change `WindowExtMacOS::request_user_attention()` to take an `enum` instead of a `bool`. -# 0.20.0 Alpha 1 (2019-06-21) +# 0.20.0-alpha1 - Changes below are considered **breaking**. - Change all occurrences of `EventsLoop` to `EventLoop`. diff --git a/src/__changelog/v0.21.md b/src/__changelog/v0.21.md index edaafe3f39..3c690e64b1 100644 --- a/src/__changelog/v0.21.md +++ b/src/__changelog/v0.21.md @@ -1,4 +1,4 @@ -# 0.21.0 (2020-02-04) +# 0.21.0 - On Windows, fixed "error: linking with `link.exe` failed: exit code: 1120" error on older versions of windows. - On macOS, fix set_minimized(true) works only with decorations. diff --git a/src/__changelog/v0.22.md b/src/__changelog/v0.22.md index 5cd2e8033a..2b36d6cd0c 100644 --- a/src/__changelog/v0.22.md +++ b/src/__changelog/v0.22.md @@ -1,4 +1,4 @@ -# 0.22.2 (2020-05-16) +# 0.22.2 - Added Clone implementation for 'static events. - On Windows, fix window intermittently hanging when `ControlFlow` was set to `Poll`. @@ -7,14 +7,14 @@ - On iOS, touch positions are now properly converted to physical pixels. - On macOS, updated core-* dependencies and cocoa -# 0.22.1 (2020-04-16) +# 0.22.1 - On X11, fix `ResumeTimeReached` being fired too early. - On Web, replaced zero timeout for `ControlFlow::Poll` with `requestAnimationFrame` - On Web, fix a possible panic during event handling - On macOS, fix `EventLoopProxy` leaking memory for every instance. -# 0.22.0 (2020-03-09) +# 0.22.0 - On Windows, fix minor timing issue in wait_until_time_or_msg - On Windows, rework handling of request_redraw() to address panics. diff --git a/src/__changelog/v0.23.md b/src/__changelog/v0.23.md index 4321ad6ae6..d9b4e9aea4 100644 --- a/src/__changelog/v0.23.md +++ b/src/__changelog/v0.23.md @@ -1,4 +1,4 @@ -# 0.23.0 (2020-10-02) +# 0.23.0 - On iOS, fixed support for the "Debug View Hierarchy" feature in Xcode. - On all platforms, `available_monitors` and `primary_monitor` are now on `EventLoopWindowTarget` rather than `EventLoop` to list monitors event in the event loop. diff --git a/src/__changelog/v0.24.md b/src/__changelog/v0.24.md index 20e2418db2..458667093c 100644 --- a/src/__changelog/v0.24.md +++ b/src/__changelog/v0.24.md @@ -1,4 +1,4 @@ -# 0.24.0 (2020-12-09) +# 0.24.0 - On Windows, fix applications not exiting gracefully due to thread_event_target_callback accessing corrupted memory. - On Windows, implement `Window::set_ime_position`. diff --git a/src/__changelog/v0.25.md b/src/__changelog/v0.25.md index 5eb0008e69..e83e4d9413 100644 --- a/src/__changelog/v0.25.md +++ b/src/__changelog/v0.25.md @@ -1,4 +1,4 @@ -# 0.25.0 (2021-05-15) +# 0.25.0 - **Breaking:** On macOS, replace `WindowBuilderExtMacOS::with_activation_policy` with `EventLoopExtMacOS::set_activation_policy` - On macOS, wait with activating the application until the application has initialized. diff --git a/src/__changelog/v0.26.md b/src/__changelog/v0.26.md index 97e633b334..98494ae29c 100644 --- a/src/__changelog/v0.26.md +++ b/src/__changelog/v0.26.md @@ -1,4 +1,4 @@ -# 0.26.1 (2022-01-05) +# 0.26.1 - Fix linking to the `ColorSync` framework on macOS 10.7, and in newer Rust versions. - On Web, implement cursor grabbing through the pointer lock API. @@ -6,7 +6,7 @@ - On macOS, fix Pinyin IME input by reverting a change that intended to improve IME. - On Windows, fix a crash with transparent windows on Windows 11. -# 0.26.0 (2021-12-01) +# 0.26.0 - Update `raw-window-handle` to `v0.4`. This is _not_ a breaking change, we still implement `HasRawWindowHandle` from `v0.3`, see [rust-windowing/raw-window-handle#74](https://github.com/rust-windowing/raw-window-handle/pull/74). Note that you might have to run `cargo update -p raw-window-handle` after upgrading. - On X11, bump `mio` to 0.8. diff --git a/src/__changelog/v0.27.md b/src/__changelog/v0.27.md index f018aab422..16b141cd2b 100644 --- a/src/__changelog/v0.27.md +++ b/src/__changelog/v0.27.md @@ -18,7 +18,7 @@ - Empty `Ime::Preedit` event will be sent before `Ime::Commit` to help clearing preedit. - On X11, fixed IME context picking by querying for supported styles beforehand. -# 0.27.2 (2022-8-12) +# 0.27.2 - On macOS, fixed touch phase reporting when scrolling. - On X11, fix min, max and resize increment hints not persisting for resizable windows (e.g. on DPI change). @@ -27,12 +27,12 @@ - On Windows, added support for `EventLoopWindowTarget::set_device_event_filter`. - On Wayland, fix user requested `WindowEvent::RedrawRequested` being delayed by a frame. -# 0.27.1 (2022-07-30) +# 0.27.1 - The minimum supported Rust version was lowered to `1.57.0` and now explicitly tested. - On X11, fix crash on start due to inability to create an IME context without any preedit. -# 0.27.0 (2022-07-26) +# 0.27.0 - On Windows, fix hiding a maximized window. - On Android, `ndk-glue`'s `NativeWindow` lock is now held between `Event::Resumed` and `Event::Suspended`. diff --git a/src/__changelog/v0.8.md b/src/__changelog/v0.8.md index 3166dc8909..90c994a950 100644 --- a/src/__changelog/v0.8.md +++ b/src/__changelog/v0.8.md @@ -1,21 +1,21 @@ -# Version 0.8.3 (2017-10-11) +# 0.8.3 - 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) +# 0.8.2 - 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) +# 0.8.1 - Added various methods to `os::linux::EventsLoopExt`, plus some hidden items necessary to make glutin work. -# Version 0.8.0 (2017-09-21) +# 0.8.0 - Added `Window::set_maximized`, `WindowAttributes::maximized` and `WindowBuilder::with_maximized`. - Added `Window::set_fullscreen`. diff --git a/src/__changelog/v0.9.md b/src/__changelog/v0.9.md index c70f06ae0e..2e1fefab5e 100644 --- a/src/__changelog/v0.9.md +++ b/src/__changelog/v0.9.md @@ -1,4 +1,4 @@ -# Version 0.9.0 (2017-12-01) +# 0.9.0 - Added event `WindowEvent::HiDPIFactorChanged`. - Added method `MonitorId::get_hidpi_factor`.