summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-11-10Remove `alacritty_config` from alacritty_terminalKirill Chibisov
There's no need to force alacritty's user configuration on other users of the crate, thus provide the options actually used by alacritty_terminal itself.
2023-11-04Bump ahash to 0.8.6Julian Braha
2023-11-03Fix crash when leaving search after resizeChristian Duerr
This fixes a crash which could occur when leaving search with a visible match after shrinking the terminal height to be lower than the original line the focused match was in. Closes #7054.
2023-10-30Bump glutin to 0.31.1Kirill Chibisov
This fixes a crash on startup with macOS Sonoma.
2023-10-30Add man 5 pages to upload_asset.shKirill Chibisov
They are compiled, but not being uploaded.
2023-10-29Add `window.blur` config optionKirill Chibisov
Fixes #972.
2023-10-29Fix clippy warningsPavel Roskin
2023-10-27Avoid maximizing window when creating new tabKyle Willmon
This patch ignores the startup mode when creating a new tab on macOS to avoid maximizing an existing window. Co-authored-by: Christian Duerr <contact@christianduerr.com>
2023-10-27Add version 0.12.3 to CHANGELOGKirill Chibisov
This is only an update to the development version and does not represent a stable release.
2023-10-25Fix typosPavel Roskin
2023-10-25Prefer exact matches for bindings in mouse modePavel Roskin
Only consider bindings without Shift if there are no actions defined for the actual mouse event. Closes #7292.
2023-10-23Fix crash due to wrong drop order of clipboardKirill Chibisov
Fixes #7309.
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-20Bump rustix to 0.38.20Kirill Chibisov
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-11Use openpty-rustix instead of nixKirill Chibisov
Follow upstream libraries and use rustix to reduce the amount of dependencies in the future. Co-authored-by: Christian Duerr <contact@christianduerr.com>
2023-10-09Fix regex patterns allowing for empty stringsChristian Duerr
This patch changes the mode we search for patterns which allow an empty string, by anchoring all searches. As a result we will match the longest possible match when multiple patterns are present (like `;*|rust`), instead of using the leftmost pattern only. This is only possible with empty matches since our parser is reset on every byte anyway, so anchoring the search makes no difference. Fixes #7276.
2023-10-08Fix regex matches ending on multilineChristian Duerr
This fixes an issue where the reverse search for the regex start would truncate a character when ending on a newline, since it was omitting the EOI check in that case. This also fixes a separate issue which caused regexes which capture empty strings (e.g.: `.*`) to always report a match. This is a regression introduced in 73276b6.
2023-10-08Fix PTY being closed on creationKirill Chibisov
The PTY got closed because `OwnedFd` automatically closed it. Fixes: 59c63d37 (Update dependencies)
2023-10-08Update dependenciesChristian Duerr
This patch applies all breaking and non-breaking dependency updates and bumps MSRV to 1.70.0.
2023-10-07Port from mio to pollingJohn Nunley
This patch replaces the mio crate with the polling. Now that smol-rs/polling#96 has been merged, we should be at full feature parity with mio v0.6 now. Fixes #7104. Fixes #6486.
2023-09-29Update the escape_support.md for sync updatesKirill Chibisov
Remove the DCS sync updates escape sequence since it's no longer supported. Fixes: 47d500770a (Bump VTE to 0.12.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-16Add missing position config docsChristian Duerr
2023-09-07Test man-pages compilation on the CIKirill Chibisov
2023-09-07Remove obsolete ansicode.txt fileSimone Ragusa
The wiki contains a list of links to ANSI references: https://github.com/alacritty/alacritty/wiki/ANSI-References
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-09-04Add examples to more sectionsKirill Chibisov
Some sections were provided without a default, so provide an example for them.
2023-09-04Quote `None` consistently inside the man pageKirill Chibisov
`None` must be inside the `"`, since it's a string value.
2023-09-02Change `window.padding` from u8 to u16Arhum Jain
Fixes #6900.
2023-08-31Fix crash with anchored searchesChristian Duerr
While this does **not** enable the use of anchors (`^`) in user regexes, it does prevent Alacritty from crashing when attempting to do so.
2023-08-27Update regex-automata to v0.3.6Christian Duerr
This seems like a sensible first step before looking into #7097.
2023-08-17Remove winit dependency from alacritty_configMax Brunsfeld
2023-08-13Fix decorations_theme_variant spelling in manpagePavel Roskin
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-24Use ahash instead of fnv and regular hash functionKirill Chibisov
After evaluation of the ahash with the data alacritty uses it was discovered that it's 1.5-2x times faster when getting the already hashed values, which is the primary cases for alacritty's renderer. Given that ahash is generally faster, all the HashSet and HashMap's inside the alacritty were changed to use it as a hasher function.
2023-07-22Make URL_REGEX more strictKirill Bulatov
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-21Mention `Forward`/`Back` mouse buttons in man pageKirill Chibisov
They were mentioned only in the changelog, but forgotten in the man page.
2023-07-20Fix keys like `+` not working on neo layoutsKirill Chibisov
The key_without_modifier removes all the modifiers including the multiple shift levels, which is not desired. In alacritty we just wanted to treat uppercase and lowercase latters the same, which we can with the help of builtin functions.
2023-07-20Fix manpage docs for shell sectionChristian Duerr
Closes #7087. Co-authored-by: Kirill Chibisov <contact@kchibisov.com>