aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-06-26Update wix on the release CIKirill Chibisov
Fixes #6939.
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-17Add errors for deserializing with unknown fieldsChristian Duerr
Currently there are still some places where `Deserialize` is used rather than `ConfigDeserialize`, which means that the built-in warning for unused fields is not emitted automatically. To ensure users don't have invalid configurations, the `#[serde(deny_unknown_fields)]` annotation has been added to these structs, making it a hard error when an unknown field is present.
2023-06-17Fix parsing of integer font sizesPavel Roskin
Config file conversion broke parsing of the font size value if it's written as an integer, since TOML integers are always signed.
2023-06-17Fix freeze with some drivers when using GLXKirill Chibisov
Fixes #6972.
2023-06-15Fix `alacritty msg config` toml replacementChristian Duerr
This fixes a regression introduced in bd49067 which broke the override of configuration file variables using `alacritty msg config`. To fix this the `replace` functionality was rewritten to behave more like the `serde_utils::merge` where entire values are inserted into the existing structure rather than separating the keys from the values. Fixes: bd49067 (Switch to TOML configuration format)
2023-06-15Add option to persist hints after selectionSonu Bardai
Closes #6976.
2023-06-14Fix warnings for config importsChristian Duerr
Closes #6996.
2023-06-13Change the way we refer to IRC chatKirill Chibisov
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-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-11Bump dependenciesPavel Roskin
Co-authored-by: Christian Duerr <contact@christianduerr.com>
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.