Skip to content

Commit

Permalink
Normalize changelog headers
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Feb 16, 2024
1 parent 973c927 commit 4be6db8
Show file tree
Hide file tree
Showing 20 changed files with 46 additions and 46 deletions.
4 changes: 2 additions & 2 deletions src/__changelog/v0.10.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
8 changes: 4 additions & 4 deletions src/__changelog/v0.11.md
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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<Box<Fn(bool) -> ()>>)` 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)`
Expand Down
2 changes: 1 addition & 1 deletion src/__changelog/v0.12.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions src/__changelog/v0.13.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/__changelog/v0.14.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/__changelog/v0.15.md
Original file line number Diff line number Diff line change
@@ -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`.
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/__changelog/v0.16.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
6 changes: 3 additions & 3 deletions src/__changelog/v0.17.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Version 0.17.2 (2018-08-19)
# 0.17.2

- On macOS, fix `<C-Tab>` so applications receive the event.
- On macOS, fix `<Cmd-{key}>` 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.
Expand Down
4 changes: 2 additions & 2 deletions src/__changelog/v0.18.md
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions src/__changelog/v0.19.md
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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.
Expand Down
14 changes: 7 additions & 7 deletions src/__changelog/v0.20.md
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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.
Expand Down Expand Up @@ -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.
Expand All @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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`
Expand All @@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion src/__changelog/v0.21.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
6 changes: 3 additions & 3 deletions src/__changelog/v0.22.md
Original file line number Diff line number Diff line change
@@ -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`.
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/__changelog/v0.23.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/__changelog/v0.24.md
Original file line number Diff line number Diff line change
@@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion src/__changelog/v0.25.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions src/__changelog/v0.26.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# 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.
- On X11, add mappings for numpad comma, numpad enter, numlock and pause.
- 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.
Expand Down
6 changes: 3 additions & 3 deletions src/__changelog/v0.27.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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`.
Expand Down
8 changes: 4 additions & 4 deletions src/__changelog/v0.8.md
Original file line number Diff line number Diff line change
@@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion src/__changelog/v0.9.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Version 0.9.0 (2017-12-01)
# 0.9.0

- Added event `WindowEvent::HiDPIFactorChanged`.
- Added method `MonitorId::get_hidpi_factor`.
Expand Down

0 comments on commit 4be6db8

Please sign in to comment.