aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src
Commit message (Collapse)AuthorAge
...
* Fix Vi cursor not being dirty when scrollingKirill Chibisov2023-11-14
|
* Fix message bar damageKirill Chibisov2023-11-13
| | | Fixes #7224.
* Fix visual bell getting stuck on macOSKirill Chibisov2023-11-13
| | | Fixes #7325.
* Change default `bell.animation` to `Linear`Kirill Chibisov2023-11-13
| | | | The default animation feels really choppy, but it's just how its function looks.
* Add `--option` argument to `create-window`Christian Duerr2023-11-11
| | | | | | | | | | | | This patch adds a new CLI parameter to the `create-window` subcommand, matching the existing `--option` parameter when creating a new Alacritty instance. This parameter allows setting up the initial window configuration from the CLI without having to call `alacritty msg config`, making sure that all options are set appropriately right from the start. Closes #6238.
* Unify CLI config override mechanismsChristian Duerr2023-11-11
| | | | | | | | | This patch changes the way the `-o` config option works when specified at startup to function the same way as the IPC mechanism. While this should technically perform the exact same way, it should hopefully make it a little easier to understand how CLI config replacement works.
* Use builtin font to draw powerline symbolsKirill Chibisov2023-11-11
| | | | | | In addition to box drawing it was decided to also draw powerline symbols, since those are quite common and rather simple to draw with present box drawing infra.
* Fix cursor being hidden after reaching timeoutKirill Chibisov2023-11-10
| | | | The timeout and blink events could be delivered at the same time, so canceling blinking won't work and we'll still have an event.
* Remove `alacritty_config` from alacritty_terminalKirill Chibisov2023-11-10
| | | | | 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.
* Fix crash when leaving search after resizeChristian Duerr2023-11-03
| | | | | | | 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.
* Add `window.blur` config optionKirill Chibisov2023-10-29
| | | Fixes #972.
* Fix clippy warningsPavel Roskin2023-10-29
|
* Avoid maximizing window when creating new tabKyle Willmon2023-10-27
| | | | | | 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>
* Fix typosPavel Roskin2023-10-25
|
* Prefer exact matches for bindings in mouse modePavel Roskin2023-10-25
| | | | | | Only consider bindings without Shift if there are no actions defined for the actual mouse event. Closes #7292.
* Fix crash due to wrong drop order of clipboardKirill Chibisov2023-10-23
| | | Fixes #7309.
* Update winit to 0.29.2 and copypasta to 0.10.0Kirill Chibisov2023-10-21
| | | | | | | | | Fixes #7236. Fixes #7201. Fixes #7146. Fixes #6848. Fixes #3601. Fixes #3108. Fixes #2453.
* Add inline vi mode searchChristian Duerr2023-10-20
| | | | | | 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.
* Fix `window.decorations_theme_variant` reloadKirill Chibisov2023-10-15
| | | | | The live reload handling wasn't introduced when the option got added. Fixes #7295.
* Update dependenciesChristian Duerr2023-10-08
| | | | This patch applies all breaking and non-breaking dependency updates and bumps MSRV to 1.70.0.
* Port from mio to pollingJohn Nunley2023-10-07
| | | | | | | | | 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.
* Underline hint matches during selectionChristian Duerr2023-09-22
| | | | | | | | | | | 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.
* Fix regex memory usageChristian Duerr2023-09-17
| | | | | | | | | | | | | | | | | | 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.
* Add `prefer_egl` debug optionRolf Sievert2023-09-04
| | | | | | | | | 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.
* Support startup notify on Wayland/X11Kirill Chibisov2023-09-04
| | | | | | | Activate a window to indicate that we want initial focus when the system uses startup notifications. Fixes #6931.
* Add bindings for macOS tabsKirill Chibisov2023-09-04
| | | | | This doesn't represnet the movement to add tabs on any other platform, unless winit could add a similar API for them.
* Update winit to 0.29.1-betaKirill Chibisov2023-09-04
| | | | | | | | 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.
* Change `window.padding` from u8 to u16Arhum Jain2023-09-02
| | | Fixes #6900.
* Update regex-automata to v0.3.6Christian Duerr2023-08-27
| | | This seems like a sensible first step before looking into #7097.
* Remove winit dependency from alacritty_configMax Brunsfeld2023-08-17
|
* Copy global IPC options for new windowsChristian Duerr2023-08-08
| | | | | | | | | 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.
* Apply transparent background colors to "UI" cellsSonu Bardai2023-08-07
|
* Ignore scrolling multiplier on touchscreenstv2023-08-05
|
* Use ahash instead of fnv and regular hash functionKirill Chibisov2023-07-24
| | | | | | | | 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.
* Make URL_REGEX more strictKirill Bulatov2023-07-22
|
* Skip whitespaces for wide chars in preeditKirill Chibisov2023-07-22
| | | | | 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.
* Fix keys like `+` not working on neo layoutsKirill Chibisov2023-07-20
| | | | | | 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.
* Use bracketed paste only for multi-char IME inputKirill Chibisov2023-07-20
| | | | Some IME setups do only `commit` single char input, like fcitx5 when doing ru input.
* Remove unnecessary mutable referencesPavel Roskin2023-07-18
|
* Use lowercase latters in bindings for h/m/lKirill Chibisov2023-07-18
| | | | | They were using uppercase latters, however our config expects everything as lowercase, because we're using `key_without_modifiers` + `ModifiersState`.
* Prefer logical key for named keysKirill Chibisov2023-07-13
| | | | | | Some keyboard layouts have named logical keys via shift combinations of some sorts. So prefer them. Fixes #7076.
* Raise double click threshold to 400msKirill Chibisov2023-07-13
| | | | This should improve the situation with some touchpads. GTK4 is also using the same value.
* Fix `window.option_as_alt=Both`Kirill Chibisov2023-07-13
| | | Fixes #7077.
* Update to the new winit keyboard APIKirill Chibisov2023-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update binding sections in config manpagePavel Roskin2023-07-07
|
* Fix legacy bindings taking precedence over new onesKirill Chibisov2023-07-03
| | | | | | | | | | They were compared by len, but it's was wrong from the start, since a user provided binding could remove more than one builtin binding, so it was impossible for users to use their own bindings. The most reliable way to do so is to use `Option`, given that we fill default during deserialization. Fixes #7050.
* Change the default colorschemeKirill Chibisov2023-06-29
| | | | | | | | | | 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.
* Remove mouse double_click/triple_click optionsSonu Bardai2023-06-29
| | | Fixes #6962.
* Add TOML migration recommendation to warningChristian Duerr2023-06-26
| | | | This adds a little recommendation to use `alacritty migrate` to automatically transition configuration files from YAML to TOML.
* Add errors for deserializing with unknown fieldsChristian Duerr2023-06-17
| | | | | | | | | 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.