aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/display
Commit message (Collapse)AuthorAge
...
| * Fix message bar damageKirill Chibisov2023-11-13
| | | | | | Fixes #7224.
| * Fix visual bell getting stuck on macOSKirill Chibisov2023-11-13
| | | | | | Fixes #7325.
| * 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.
| * 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
| |
| * 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.
| * Fix `window.decorations_theme_variant` reloadKirill Chibisov2023-10-15
| | | | | | | | | | The live reload handling wasn't introduced when the option got added. Fixes #7295.
| * 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.
| * 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.
| * 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
| |
| * Apply transparent background colors to "UI" cellsSonu Bardai2023-08-07
| |
| * 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.
| * Remove unnecessary mutable referencesPavel Roskin2023-07-18
| |
| * 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.
| * Add option to persist hints after selectionSonu Bardai2023-06-15
| | | | | | Closes #6976.
| * Switch to TOML configuration formatChristian Duerr2023-06-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Fix hyperlink preview for 2 lines terminal (#6953)Kirill Chibisov2023-05-25
| | | | | | | | The intention was to show it, however it was hidden due to wrong comparisson check.
| * Fix 216-color cube generationChristian Duerr2023-05-25
| | | | | | | | | | | | This fixes a regression introduced in cb7ad5b which swapped the green and blue values when constructing the 216-color RGB cube. Fixes #6951.
| * Switch to VTE's built-in ansi featureAnhad Singh2023-05-23
| | | | | | Co-authored-by: Christian Duerr <contact@christianduerr.com>
| * Fix selection rotation on the last lineChristian Duerr2023-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Fix `;` character in URI OSC 8 payloadKirill Chibisov2023-03-19
| | | | | | | | | | 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.
* | Merge remote-tracking branch 'vendor/master' into graphicsAyose2023-03-01
|\|
| * Add `window.resize_increments` config optionKirill Chibisov2023-02-18
| | | | | | | | Given how bugged the resize increments are on X11, it's better to disable it by default.
| * Revert "Apply 'font.glyph_offset.y' for underline/strikeout"Kirill Chibisov2023-02-05
| | | | | | This reverts commit d5e9d1d88317afc1f4374f2c2a7679cece14cb7b.
| * Resize the window by cell dimensionsKirill Chibisov2023-02-05
| | | | | | | | | | | | This should resize window by cell dimensions granularity instead of using pixels. Fixes #388.
| * Update winit to 0.28Kirill Chibisov2023-02-02
| | | | | | | | | | | | | | | | Fixes #6644. Fixes #6615. Fixes #6558. Fixes #6515. Fixes #3187. Fixes #62.
| * Use sRGB color space for NSWindow on macOSNaru2023-01-07
| | | | | | Co-authored-by: Christian Duerr <contact@christianduerr.com>
| * User timer based rendering instead of vsyncKirill Chibisov2022-12-30
| | | | | | Fixes #824.
| * Apply 'font.glyph_offset.y' for underline/strikeoutKirill Chibisov2022-12-25
| | | | | | Fixes #6561.
| * Fix damage computation on boundariesKirill Chibisov2022-12-09
| | | | | | | | | | Given that the Rect started to use signed integers saturating_sub became irrelevant and no clamp to zero were performed. This commit uses max instead to fix it.
| * Ignore errors from swap_buffersKirill Chibisov2022-12-02
| | | | | | | | | | | | | | | | Most of them are innocent and require just swap again. It was like that before anyway due to old glutin bug in the error handling implementation where errors won't pulled on swap buffers, but old observed error was used. Fixes #6538.
* | Merge remote-tracking branch 'vendor/master' into graphicsAyose2022-12-02
|\|
| * Add 'debug.renderer' config optionKirill Chibisov2022-11-28
| | | | | | | | | | This should help trouble shooting the renderer being created and different renderer options to determine when something like dual-source rendering isn't working.
| * Fix padding update not updating rendererChristian Duerr2022-11-28
| | | | | | | | | | | | | | 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.
| * Update glutin to 0.30.0Kirill Chibisov2022-11-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge remote-tracking branch 'vendor/master' into graphicsAyose2022-10-16
|\|
| * Fix clippy warningsChristian Duerr2022-10-12
| | | | | | | | | | This patch applies all clippy lints currently present on the latest clippy master than are compatible with our oldstable clippy (only exception is the `_else(||` stuff).
| * Fix icon decoding on X11Hugal312022-10-05
| | | | | | | | | | Glutin is waiting for an RGBA buffer with 8-bit depth, but our icon is 16-bit depth. So we need to normalize the color data when decoding the icon.
| * Migrate from winapi to windows-syskillian2022-09-30
| |
| * Bump winit to 0.27.3Kirill Chibisov2022-09-15
| | | | | | | | Fixes #6324. Fixes #6313.
| * Avoid text cursor location for hyperlink previewKirill Chibisov2022-09-14
| | | | | | Fixes #6325.
| * Add IPC config subcommandChristian Duerr2022-09-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a new mechanism for changing configuration options without editing the configuration file, by sending options to running instances through `alacritty msg`. Each window will load Alacritty's configuration file by default and then accept IPC messages for config updates using the `alacritty msg config` subcommand. By default all windows will be updated, individual windows can be addressed using `alacritty msg config --window-id "$ALACRITTY_WINDOW_ID"`. Each option will replace the config's current value and cannot be reset until Alacritty is restarted or the option is overwritten with a new value. Configuration options are passed in the format `field.subfield=value`, where `value` is interpreted as yaml. Closes #472.
| * Add inline input method supportKirill Chibisov2022-08-29
| | | | | | | | | | | | This commit adds support for inline IME handling. It also makes the search bar use underline cursor instead of using '_' character. Fixes #1613.
| * Include extra directory in crateChristian Duerr2022-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | Instead of having the extra symlink in the root, this puts the symlink in the alacritty crate. Since we build the package on Linux this is not a problem and even allows us to get rid of the `alacritty.png` symlink. To avoid having complicated symlinks with regards to the windows build assets directory, it has just been removed from the `extra` directory completely. Since we only need it for building, it doesn't matter where it's located and users will never have to interact with it manually anyway. Closes #6242.