summaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
AgeCommit message (Collapse)Author
2023-05-16Update glutin to 0.30.8 and winit to 0.28.6Kirill Chibisov
Fixes #6920. Fixes #6824.
2023-05-16Fix 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-07Alacritty version 0.12.1-rc1v0.12.1-rc1Kirill Chibisov
2023-05-07Bump winit to 0.28.4Kirill Chibisov
Fixes #6817.
2023-05-07Fix 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-05-07Fix `;` 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-24Alacritty version 0.12.0v0.12.0v0.12.0Christian Duerr
2023-03-17Alacritty version 0.12.0-rc3v0.12.0-rc3Christian Duerr
2023-03-06Alacritty version 0.12.0-rc2v0.12.0-rc2Christian Duerr
2023-03-06Bump winit to 0.28.2Kirill Chibisov
This also bumps copypasta and sctk-adwaita. Fixes #6744. Fixes #6702. Fixes #6696. Fixes #2741.
2023-03-06Send 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-03-06Fix 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-03-06Add `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-14Alacritty version 0.12.0-rc1v0.12.0-rc1Christian Duerr
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.
2023-01-16Add support for horizontal scrollingKirill Chibisov
This adds support for horizontal mouse scrolling in mouse mode and alternative scrolling modes. Fixes #2185.
2023-01-15Preserve last column with erase in line rightChristian Duerr
When the erase in line escape sequence with a parameter of 0 (right) is passed while the wrapline flag is already set, it will no longer clear the last column and instead ignore the operation. The behavior of `\e[1K` and `\e[2K` is unchanged and both will clear the entire first line without clearing the wrapline flag. Closes #6159.
2023-01-07Use sRGB color space for NSWindow on macOSNaru
Co-authored-by: Christian Duerr <contact@christianduerr.com>
2022-12-30User timer based rendering instead of vsyncKirill Chibisov
Fixes #824.
2022-12-29Disable depth and stencil buffersChristian Duerr
This patch reduces the active GPU memory consumption by disabling the depth and stencil buffers. During original testing it reduced GPU memory usage on Linux by almost a third. This is a reintroduction of previously reverted patch 3475e44. Closes #2881.
2022-12-25Apply 'font.glyph_offset.y' for underline/strikeoutKirill Chibisov
Fixes #6561.
2022-12-14Fix multi-line bracket selectionChristian Duerr
This fixes a bug where semantic selection for bracket characters wasn't working properly over multiple lines since start and end of the selection were swapped. Closes #6567.
2022-12-11Add -T short form for --titleJames McCoy
Debian-based distributions provide a standard interface to launch a terminal via the x-terminal-emulator name. In order for a terminal emualtor to satisfy that interface, it must * Be VT100 compatiable * Support the "-e <command> <args>" CLI option * Support the "-T <title>" CLI option Adjust the short form of --title accordingly, providing -t as an alias to avoid breaking any existing usage.
2022-12-06Fix crash while typing on WaylandKirill Chibisov
Fixes #6487.
2022-11-28Fix padding update not updating rendererChristian Duerr
This fixes an issue where it was possible to update the padding of the terminal without actually queueing an update for the renderer projection, leading to a blurry projection. Closes #6502.
2022-11-11Fix cursor visibility with focus change on macOSChris Copeland
Fixes #6452.
2022-11-03Update glutin to 0.30.0Kirill Chibisov
The glutin 0.30.0 update decouples glutin from winit which provides us with basis for a multithreaded renderer. This also improves robustness of our configuration picking, context creation, and surface handling. As an example we're now able to start on systems without a vsync, we don't try to build lots of contexts to check if some config works, and so on. That also brings us possibility to handle context losses, but that's a future work. Fixes #1268.
2022-10-26Update winit to 0.27.5Kirill Chibisov
Fixes #6396.
2022-10-26Bump crossfont and sctk-adwaitaKirill Chibisov
Fixes #6432. Fixes #6414. Fixes #6400. Fixes #6338.
2022-10-22Fix startup failure on macOS with dash as /bin/shKirill Chibisov
The dash's exec doesn't have `-a` argument we rely on when running login shell, so use zsh instead. Fixes #6426.
2022-10-21Fix crash with very low font sizesKirill Chibisov
Fixes #6432.
2022-10-21Fix cursor and underlines always being blackKirill Chibisov
Some old hardware doesn't like universal shader approach for all the rectangle kinds leading to ALU instruction limits. This commit fixes it by splitting the shader per rectangle kind. Fixes #6417.
2022-10-18Fix `--help` output for `--class` to match man pagesAndrzej Grzeslak
The output of --help did not match the man pages with regards to the ordering of arguments for the --class flag. This has now been fixed. Fixes #6413.
2022-10-14Fix changelog versioningChristian Duerr
2022-09-03Bump development version to 0.12.0-devChristian Duerr
This is only an update to the development version and does not represent a stable release.
2022-08-29Add inline input method supportKirill Chibisov
This commit adds support for inline IME handling. It also makes the search bar use underline cursor instead of using '_' character. Fixes #1613.
2022-08-25Rework `--class` CLI optionKirill Chibisov
This commit swaps the order of `general` and `instance` arguments and also sets `instance` to `general` when only one argument was provided. This should make this option behave like in other terminals on X11, since they set either both or general by default, but not instance like Alacritty. Fixes #6279.
2022-08-13Bump winit to 0.27.2Kirill Chibisov
2022-08-11Use `WindowEvent::Occluded` to hint renderingtrimental
This should prevent rendering on macOS and X11 to invisible windows.
2022-08-10Bump glutin to 0.29.1Kirill Chibisov
Fixes #6239. Fixes #5975. Fixes #5876. Fixes #5767. Fixes #4484. Fixes #3139.
2022-08-02Warn if only columns XOR lines is setSabu Siyad
Co-authored-by: Christian Duerr <contact@christianduerr.com>
2022-07-24Register Alacritty shells as tty sessions on macOSChris Copeland
Unless the `shell` config is specified, launch the user's shell with: ```sh login -flp $USER /bin/sh -c "exec -a -shell /path/to/shell" ``` On macOS, just running a shell prefixed by `-` is not sufficient to be registered as a login session for things like `w` and `logname`. However, using the `login` command changes the directory to `$HOME` before running the program by default, which is not desired. The `-l` flag disables this behavior, but also skips prepending `-` to the executed program, so shells will not run as login shells. Instead we just do this part ourselves with `exec -a`. The result is login shells that run in the intended directory and are registered as tty sessions. Fixes #3420.
2022-07-15Fix thin strokes on macOSChris Copeland
Remove the `font.use_thin_strokes` config, which only did anything on macOS and only prior to Big Sur. Instead, we will enable or disable "font smoothing" on macOS based on the `AppleFontSmoothing` user default. These changes let users get the "thin strokes" behavior by setting `AppleFontSmoothing` to 0 with: ```sh $ defaults write -g AppleFontSmoothing -int 0 ``` (Or replace `-g` with `org.alacritty` to apply this setting only to Alacritty.app, rather than the whole system.) Add a `removed` config attribute to show helpful warnings to users who are using config options that don't do anything anymore, and apply this attribute to `font.use_thin_strokes`. Bump `crossfont` to 0.5.0 to pick up the new font smoothing behavior. This release also includes a fix for a crash when trying to load a disabled font. Fixes #4616. Fixes #6108.
2022-07-10Use org.alacritty instead of io.alacrittyKirill Chibisov
The common naming is reverse DNS, and given that alacritty is using alacritty.org it makes more sense to use org.alacritty instead of old io.alacritty.