summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
AgeCommit message (Collapse)Author
2023-10-21Update winit to 0.29.2 and copypasta to 0.10.0Kirill Chibisov
Fixes #7236. Fixes #7201. Fixes #7146. Fixes #6848. Fixes #3601. Fixes #3108. Fixes #2453.
2023-10-20Add inline vi mode searchChristian Duerr
This patch adds inline search to vi mode using `f`/`F` and `t`/`T` as default bindings. The behavior matches that of vim. Fixes #7203.
2023-10-15Fix `window.decorations_theme_variant` reloadKirill Chibisov
The live reload handling wasn't introduced when the option got added. Fixes #7295.
2023-10-08Update dependenciesChristian Duerr
This patch applies all breaking and non-breaking dependency updates and bumps MSRV to 1.70.0.
2023-09-26Bump VTE to 0.12.0Kirill Chibisov
Fixes #6845.
2023-09-22Underline hint matches during selectionChristian Duerr
This patch underlines the full regex hint match while the keyboard hint selection is in process. While it would be possible to color the entire match, this would only introduce unnecessary configuration options and be too noisy. The underline matches the mouse highlighting and has a less drastic visual impact. Closes #6178.
2023-09-17Fix regex memory usageChristian Duerr
This fixes an issue where regexes with a large number of possible states would consume excessive memory, since the entire DFA was compiled ahead of time. To solve this, the DFA is now built at runtime using `regex-automata`'s hybrid DFA. There are however still some checks performed ahead of time, causing errors with obscenely large regexes (`[0-9A-Za-z]{999999999}`), which shouldn't cause any issues. A regex which is large, but not large enough to fail the NFA construction (like `[0-9A-Za-z]{999999}`) will cause a long search of the entire grid, but will complete and show the match. Closes #7097.
2023-09-04Add `prefer_egl` debug optionRolf Sievert
Some systems have rendering issues when using GLX rather than EGL. While this is usually due to a driver bug, it is helpful to provide a workaround for this by allowing people to prefer EGL over GLX. This patch adds the new `debug.prefer_egl` option to provide this workaround. Closes #7056.
2023-09-04Support startup notify on Wayland/X11Kirill Chibisov
Activate a window to indicate that we want initial focus when the system uses startup notifications. Fixes #6931.
2023-09-04Add bindings for macOS tabsKirill Chibisov
This doesn't represnet the movement to add tabs on any other platform, unless winit could add a similar API for them.
2023-09-04Update winit to 0.29.1-betaKirill Chibisov
Make use of new winit frame throttling mechanism used in RedrawRequested, which removes the need for having Wayland queue to ask for the frame callbacks. Fixes #7011.
2023-08-08Copy global IPC options for new windowsChristian Duerr
This patch stores all options set for the Window ID `-1` and automatically applies them to new windows after their creation. This in theory makes it possible to have a fully dynamic "default config" without having to reapply it for every new window. Closes #7128.
2023-08-07Apply transparent background colors to "UI" cellsSonu Bardai
2023-08-05Ignore scrolling multiplier on touchscreenstv
2023-07-22Skip whitespaces for wide chars in preeditKirill Chibisov
While we skip the spacers for the wide characters in the grid due to them having a proper flags, the draw_string method was generating the cells with incorrect flags leading to wide chars being cut off.
2023-07-22Add `terminal` config section to control OSCs Kirill Chibisov
Some environments demand certain OSC sequences to be disabled or some escape sequence could require handling which is out of scope of alacritty, but could be done by external script (OSC 777). Added section for now just handles the `OSC 52` sequence and changes its default to be `OnlyCopy`, which is handy for remote copy, but `Paste` is redundant because normal `Paste` hotkey could be used as well. Fixes #3386. Co-authored-by: Christian Duerr <contact@christianduerr.com>
2023-07-13Raise double click threshold to 400msKirill Chibisov
This should improve the situation with some touchpads. GTK4 is also using the same value.
2023-07-11Update to the new winit keyboard APIKirill Chibisov
The main highlight of this update is that alacritty will now use new keyboard API from the winit, which resolves a lot of issues around key bindings, such as ability to bind dead keys. It also fixes long standing issues with the virtual key code bindings and make bindings in general more predictable. It also makes our default Vi key bindings fully working. Given that alacritty was using `VirtualKey` directly in the bindings from the winit, and winit simply removed the enum, we've added internal conversions to minimize the fallout, but new way to specify the bindings should be more intuitive. Other part of this update fixes some forward compatibility bugs with the Wayland backend, given that wayland-rs 0.30 is fully forward compatible. The update also fixes weird Maximized startup issues on GNOME Wayland, however they were present on any sane compositor. Fixes #6842. Fixes #6455. Fixes #6184. Fixes #5684. Fixes #3574. Fixes #3460. Fixes #1336. Fixes #892. Fixes #458. Fixes #55.
2023-07-01Add version 0.12.2 to CHANGELOGKirill Chibisov
This is only an update to the development version and does not represent a stable release.
2023-06-29Change the default colorschemeKirill Chibisov
The new colorscheme is base16 classic dark with the bright colors generated with oklab toolkits. The base16 classic dark is less washed out and represents the current maintainers preference. The motivation to change it was subjective, though it does look like generic dark theme. On a side note, this colorscheme was used for alacritty.org web page for a long time, however it used different foreground color.
2023-06-29Remove mouse double_click/triple_click optionsSonu Bardai
Fixes #6962.
2023-06-19Add support for loading conpty.dllPavel Roskin
Co-Authored-By: @fredizzimo Co-Authored-By: @grueslayer
2023-06-17Fix the crash when shrinking scrolled terminalKirill Chibisov
display_offset was adjusted unconditionally, thus it could go beyound the history limits, so clamp it to history like we do in grow_colums. Fixes #6862.
2023-06-17Fix freeze with some drivers when using GLXKirill Chibisov
Fixes #6972.
2023-06-15Add option to persist hints after selectionSonu Bardai
Closes #6976.
2023-06-12Switch to TOML configuration formatChristian Duerr
This switches Alacritty's default configuration format from yaml to toml. While yaml is still supported, it is done by converting it to toml and should be removed entirely in the future. All existing features were persisted based on my testing. Behavior should not change much, though `--option` might have slightly different behavior since the entire line is not interpreted as one line of toml. A new `alacritty migrate` subcommand has been added which allows automatic migration from yaml to toml. This also could be used as a facility to automatically fix configuration file changes in the future. Closes #6592.
2023-06-02Fix crash on ScaleFactorChange on WindowsKirill Chibisov
Windows is known to send zero sizes from winit in Risezed and now in ScaleFactorChanged events. They were handled in Resized, but not in ScaleFactorChanged. Fixes #6949.
2023-05-28Move manpages to scdocChristian Duerr
This rewrites the existing manpages to use the `scdoc` format, making it simpler to read and edit the manpages without intricate roff knowledge. Some minor changes to the manpages were made in the process, mostly focusing on correcting some of the wording. The list of maintainers has also changed to ensure people not involved in the project anymore aren't unnecessarily contacted for support.
2023-05-25Fix hyperlink preview for 2 lines terminal (#6953)Kirill Chibisov
The intention was to show it, however it was hidden due to wrong comparisson check.
2023-05-22Add version 0.12.1 to CHANGELOGKirill Chibisov
2023-05-17Update patch dependenciesKirill Chibisov
2023-05-17Update clap to v4.2.7Kirill Chibisov
Fixes #6879. Fixes #6874.
2023-05-16Update glutin to 0.30.8 and winit to 0.28.6Kirill Chibisov
Fixes #6920. Fixes #6824.
2023-05-07Fix very long startup time on some Wayland systemsKirill Chibisov
This is not a real fix for the issue given that dbus method sctk-adwaita is using will being called anyway. The proper fix will be available with the winit's 0.29.0 release. Right now the delay reduced from around 20 seconds to 100ms on a systems with broken xdg-desktop-portal setup.
2023-05-04Bump winit to 0.28.4Kirill Chibisov
Fixes #6817.
2023-04-15Allow mode-exclusive bindings in any modeChristian Duerr
This patch enables binding chains that go beyond mode changes by allowing bindings to be defined for modes they do not usually have an effect in.
2023-03-24Fix selection rotation on the last lineChristian Duerr
This fixes an issue with terminal resizes when the selection is on the last line. Alacritty would fail to rotate lines and keep the selection in the same line index whenever the terminal line count was grown or shrunk. This issue occurred due to the range passed to the selection's rotate function still being based on the old terminal size, which caused the initial or target state of the rotation to be outside of the terminal bounds. Closes #6698.
2023-03-22Bump CHANGELOG development version to 0.13.0-devChristian Duerr
This is only an update to the development version and does not represent a stable release. The original bump to 0.13.0-dev was made in 9cf2c89, but did not make any changes to the changelog. This adds a 0.13.0-dev changelog entry to master so new changes are properly added to the correct place.
2023-03-19Fix `;` character in URI OSC 8 payloadKirill Chibisov
The special character `;` can be not URL-encoded, thus it'll add extra parameter in the payload. Handle it joining extra parameters with the `;` as a separator.
2023-03-05Bump winit to 0.28.2Kirill Chibisov
This also bumps copypasta and sctk-adwaita. Fixes #6744. Fixes #6702. Fixes #6696. Fixes #2741.
2023-02-27Send D&D input through paste actionChristian Duerr
Treating D&D like paste allows using D&D to input text into areas other than the PTY, like the search bar.
2023-02-23Fix bracketed paste with EOT payloadChristian Duerr
This works around an issue in many (all?) shells where the bracketed paste logic would only strip out `\r` but interpret EOT (`\x03`) as a termination of the bracketed paste.
2023-02-18Add `window.resize_increments` config optionKirill Chibisov
Given how bugged the resize increments are on X11, it's better to disable it by default.
2023-02-13Add touch input supportChristian Duerr
This patch builds upon the prior work by @4z3 and @bytbox to add touchscreen support to Alacritty. While some inspiration was taken from @4z3's patch, it was rewritten from scratch. This patch supports 4 basic touch interactions: - Tap - Scroll - Select - Zoom Tap allows emulating the mouse to enter a single LMB click. While it would be possible to add more complicated mouse emulation including support for RMB and others, it's likely more confusing than anything else and could conflict with other more useful touch actions. Scroll and Select are started by horizontal or vertical dragging. While selection isn't particularly accurate with a fat finger, it works reasonably well and the separation from selection through horizontal and vertical start feels pretty natural. Since horizontal drag is reserved for selection we do not support horizontal scrolling inside the terminal. While it would be possible to somewhat support it by starting a selection with vertical movement and then scrolling horizontally afterwards, it would likely just confuse people so it was left out. Zoom is pretty simple in just changing the font size when a two-finger pinch gesture is used. Performance of this is pretty terrible especially on low-end hardware since this obviously isn't a cheap operation, but it seems like a worthwhile addition since small touchscreen devices are most likely to need frequent font size adjustment to make output readable. Closes #3671.
2023-02-07Make gles2 renderer actually gles2Kirill Chibisov
Fixes #6209.
2023-02-05Align quadrants with half blocks in built-in fontKirill Chibisov
Fixes #6201.
2023-02-05Revert "Apply 'font.glyph_offset.y' for underline/strikeout"Kirill Chibisov
This reverts commit d5e9d1d88317afc1f4374f2c2a7679cece14cb7b.
2023-02-05Resize the window by cell dimensionsKirill Chibisov
This should resize window by cell dimensions granularity instead of using pixels. Fixes #388.
2023-02-02Update winit to 0.28Kirill Chibisov
Fixes #6644. Fixes #6615. Fixes #6558. Fixes #6515. Fixes #3187. Fixes #62.
2023-01-27Create new windows with Cmd+N by defaultChristian Duerr
This changes the default Cmd+N binding on macOS to create a new window rather than spawning a new instance. Initially this change was held back for further testing of the multi-window feature. At this point all significant issues found with it have been fixed so it should be ready for prime-time now.