aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-06-11Merge branch 'master' into resolver++resolver++Christian Duerr
2023-06-11Bump dependenciesPavel Roskin
Co-authored-by: Christian Duerr <contact@christianduerr.com>
2023-06-11Add resolver to workspace manifestChristian Duerr
This explicitly specifies resolver "2" in the root manifest, to fix a warning introduced in a recent nightly release.
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-29Fix Makefile manpage generationmaierd
Signed-off-by: Dennis Maier <d.maier94@web.de> Co-authored-by: Christian Duerr <contact@christianduerr.com>
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-25Fix 216-color cube generationChristian Duerr
This fixes a regression introduced in cb7ad5b which swapped the green and blue values when constructing the 216-color RGB cube. Fixes #6951.
2023-05-23Switch to VTE's built-in ansi featureAnhad Singh
Co-authored-by: Christian Duerr <contact@christianduerr.com>
2023-05-22Add version 0.12.1 to CHANGELOGKirill Chibisov
2023-05-21Improve renderer debuggabilityKirill Chibisov
Make the renderer more debuggable by adding extra logging and using `GL_KHR_debug` when running with the debug log level.
2023-05-17Update patch dependenciesKirill Chibisov
2023-05-17Update clap to v4.2.7Kirill Chibisov
Fixes #6879. Fixes #6874.
2023-05-17Update xdg and dirs crateKirill Chibisov
The recent version on xdg crate moved to home crate which is used by cargo. Thus to query for home directory we can use the home dependency instead which is smaller.
2023-05-17Update bitflags to 2.2.1Kirill Chibisov
2023-05-16Fix upload from CI on windowsKirill Chibisov
2023-05-16Update glutin to 0.30.8 and winit to 0.28.6Kirill Chibisov
Fixes #6920. Fixes #6824.
2023-05-10Bump `actions/checkout` to v3K.B.Dharun Krishna
Fix Node 12 deprecation warnings in action runs.
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-06Bump winit to 0.28.5Kirill Chibisov
The 0.28.4 was yanked.
2023-05-04Add `ALACRITTY_EXTRA_LOG_TARGETS` env variableKirill Chibisov
This should help with troubleshooting the dependency crates like winit.
2023-05-04Bump winit to 0.28.4Kirill Chibisov
Fixes #6817.
2023-04-15Omit urgency hint focused windowKirill Chibisov
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-04-15Use paste for ESC action and IME commitChristian Duerr
Route string terminal input through 'ActionContext::paste' instead of char by char write improving performance by utilizing bracketed paste mode when it's reasonable.
2023-04-15Reset char suppression for every key bindingChristian Duerr
Previously the character suppression was only reset whenever a key was released. However this did not take key repetition into account. Now every key down also resets the character suppression. This should work since the `ReceivedCharacter` is always received immediately after the `KeyboardInput` without the chance of a racing condition where another keyboard event interrupts the two.
2023-04-08Add missing terminfo capabilitiesChristian Duerr
This adds capabilities for focus in/out (XF, kxIN, kxOUT) and bracketed paste (BD, BE, PE, PS).
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-17Bump winit to 0.28.3Kirill Chibisov
Fix macOS leak when closing the window.
2023-03-16Improve fish completions installation instructionsCRATO LABS
Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
2023-03-11Use `thin` instead of `fat` LTOKirill Chibisov
The performance between `thin` and `fat` is in the margin of error, however `thin` LTO is way faster to build.
2023-03-09Bump x11-clipboard to v0.7.1Kirill Chibisov
Fixes #6760.
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-03-02Fix busy rendering when the same warning persistsKirill Chibisov
When the same warning is thrown on the each rendering iteration, it'll force alacritty to always render. Co-authored-by: Christian Duerr <contact@christianduerr.com>
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-19Relax horizontal scrollingKirill Chibisov
Apply horizontal scrolling when the angle between the axis X and (x, y) vector is lower than 25 degrees. Fixes #6711.
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-17Add missing `ToggleMaximized` docs in the configKirill Chibisov
2023-02-15Update INSTALL.md Ubuntu instructionsNathan Lilienthal
2023-02-15Bump development version to 0.13.0-devKirill Chibisov
This is only an update to the development version and does not represent a stable release.
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-12Don't send ESC for `OptionAsAlt::None`Kirill Chibisov
This doesn't solve issue for `RALT`/`LALT`, but that part is impossible until winit's keyboard v2 API.
2023-02-12Bump glutin to 0.30.6Kirill Chibisov
Fixes #6694.
2023-02-12Bump glutin to 0.30.5Kirill Chibisov
2023-02-11Fix crash when Atlas is fullKirill Chibisov
This fixes the regression introduced by 2d27fff. Fixes #6688.
2023-02-07Make gles2 renderer actually gles2Kirill Chibisov
Fixes #6209.
2023-02-05Align quadrants with half blocks in built-in fontKirill Chibisov
Fixes #6201.