aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * Fix cursor thickness on wide cellsStokhos2021-03-28
| | | | | | Fixes #4922.
| * Fix URLs opening in explorer on WindowsSerban Constantin2021-03-15
| |
| * Fix inconsistent_struct_constructor clippy lintMatthias Krüger2021-03-12
| |
* | Add Sixel supportAyose2021-03-11
|/ | | | Fixes #910
* Fix vi mode searchChristian Duerr2021-03-06
| | | | | | | | This fixes a regression introduced in a954e07 which caused the vi mode cursor to be invisible after starting a search. This was caused by a discrepancy between the search DFA and search active state, since a search is not active after it has been confirmed but the DFAs are still present for highlighting.
* Add regex terminal hintsChristian Duerr2021-03-01
| | | | | | | | | | | | | | | | This adds support for hints, which allow opening parts of the visual buffer with external programs if they match a certain regex. This is done using a visual overlay triggered on a specified key binding, which then instructs the user which keys they need to press to pass the text to the application. In the future it should be possible to supply some built-in actions for Copy/Pasting the action and using this to launch text when clicking on it with the mouse. But the current implementation should already be useful as-is. Fixes #2792. Fixes #2536.
* Remove incorrect changelog entryChristian Duerr2021-03-01
| | | | Since the bug was not present in the 0.7.2 release, there is no need to add a changelog entry for this fix.
* Add Windows version requirements to readmer-c-f2021-02-28
| | | Fixes #4846.
* Run clippy on MSRVChristian Duerr2021-02-27
| | | | | | | | | | | Since not all suggested clippy lints by stable clippy are supported on the MSRV of Alacritty, this commit moves the clippy checks to the MSRV. Unfortunately this will mean that our lints might be significantly behind, however it ensures our CI never blocks any code that should be valid. Developers themselves of course can still run the latest clippy to follow the up to date recommendations.
* Fix hollow block cursor being drawn for hidden cursorKirill Chibisov2021-02-26
| | | | | | | Commit 530de00 refactored large chunk of Alacritty's internal handling of renderable cells, cursors, and such. This patch fixes a regression where a hollow block cursor was drawn for unfocused windows even if the terminal cursor was hidden.
* Fix vi cursor after leaving searchChristian Duerr2021-02-26
| | | | | | | | | | This resolves an issue which caused the vi cursor position to be incorrect when leaving the search with the vi cursor at the far bottom. Previously this could lead to the vi cursor disappearing completely, when starting a vi mode search that has a match on the last line while the original vi mode cursor was right above it. Fixes #4833.
* Add sync update terminfo and docsChristian Duerr2021-02-24
| | | | | | | | | This adds documentation stating that Alacritty supports the synchronized update escape, which was implemented in 9575aed. Since tmux does check terminfo for this feature, the `Sync` capability has also been added. Tmux's implementation can be found here: https://github.com/tmux/tmux/blob/f5b7ebc540fe3db5c3a5fe97d01de44551e76058/tty-features.c#L185
* Bump base64 to 0.13.0Bastien Orivel2021-02-24
|
* Add support for synchronized updatesChristian Duerr2021-02-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements support for temporarily freezing the terminal grid to prevent rendering of incomplete frames. This can be triggered using the escapes `DCS = 1 s` (start) and `DCS = 2 s` (end). The synchronization is implemented by forwarding all received PTY bytes to a 2 MiB buffer. This should allow updating the entire grid even if it is fairly dense. Unfortunately this also means that another branch is necessary in Alacritty's parser which does have a slight performance impact. In a previous version the freezing was implemented by caching the renderable grid state whenever a synchronized update is started. While this strategy makes it possible to implement this without any performance impact without synchronized updates, a significant performance overhead is introduced whenever a synchronized update is started. Since this can happen thousands of times per frame, it is not a feasible solution. While it would be possible to render at most one synchronized update per frame, it is possible that another synchronized update comes in at any time and stays active for an extended period. As a result the state visible before the long synchronization would be the first received update per frame, not the last, which could lead to the user missing important information during the long freezing interval. Fixes #598.
* Match intermediates directly in CSI parserChristian Duerr2021-02-24
| | | | | | | | There's no point in always trying to access the first field of the intermediates when the only goal is figuring out that there is none. Matching on all intermediates should make it possible to easily match multiple intermediates directly using array matchers.
* Fix selection after search without matchChristian Duerr2021-02-22
| | | | | | | This resolves an issue where the last match would be selected after leaving non-vi search, even if further changes to the search regex did not result in any matches. Fixes #4831.
* Add version 0.7.2 to changelogChristian Duerr2021-02-20
|
* Add Drop implementations for OpenGL structuresMikhail "L117" Nikolenko2021-02-19
|
* Fix search freezing AlacrittyChristian Duerr2021-02-18
| | | | | | | This resolves a regression introduced in 530de00 where searching would cause a deadlock when the viewport is at the bottom of the scrollback and a match ends in the last cell. Fixes #4800.
* Fix cursor position when scrolled into historyChristian Duerr2021-02-18
| | | | | | | This fixes a regression introduced in 530de00, where the terminal cursor would move up when the user scrolled up in the terminal history, rather than staying in place. Fixes #4784.
* Limit the maximum DPR on X11 to 10Christian Duerr2021-02-15
| | | | | | | | | | | Since there have a bunch of problems caused by an excessive DPI reported by XRandr, this limits the maximum DPR on X11 to 10. These issues would commonly cause problems like long startup times or crashes, which are hard to troubleshoot for the user. While a limit of 10 might not eliminate all of these issues, it should still make it possible for Alacritty to start to make troubleshooting simpler. Fixes #3214.
* Update dependenciesChristian Duerr2021-02-13
| | | | | | This introduces some duplicate dependencies, though they are necessary to build properly without any warnings. Fixes #4735.
* Fix the estimated DPR to 1 on Wayland.Nathan Lilienthal2021-02-04
| | | | | | | | | | | On Wayland, regardless of the underlying scale factor for an output, The scale factor is 1.0 until we receive the first DPRChanged event. To correctly calculate the window sizes, we must use a DPR of 1.0 as well. Ideally we would know what the DPR of the window we're being opened in is going to be, and avoid the estimation guessing game, but that doesn't seem possible with the current interfaces provided by the window systems.
* Fix segmentation fault on shutdown with WaylandChristian Duerr2021-01-29
| | | Fixes #4702.
* Remove --dimensions/-d from bash completionsBen Denhartog2021-01-29
|
* Fix damage tracking on WaylandChristian Duerr2021-01-27
| | | | | | | Since the Wayland event loop might delay rendering across event loop callback executions, it's necessary to track the global damage globally rather than just within a single loop execution. Fixes #4736.
* Move renderable cell transformation to alacrittyChristian Duerr2021-01-24
| | | | | | | | | | | | This refactors a large chunk of the alacritty_terminal API to expose all data necessary for rendering uniformly through the `renderable_content` call. This also no longer transforms the cells for rendering by a GUI but instead just reports the content from a terminal emulation perspective. The transformation into renderable cells is now done inside the alacritty crate. Since the terminal itself only ever needs to know about modified color RGB values, the configuration for colors was moved to the alacritty UI code.
* Remove all rustc benchmarksJames McCoy2021-01-21
| | | Co-authored-by: Christian Duerr <contact@christianduerr.com>
* Fix dead Alacritty talk link in readmeChristian Duerr2021-01-18
|
* Update shell completionsJason2021-01-17
| | | | | This fixes the shell completion by removing the flags removed from the CLI in 0768428 and adding the new options flag.
* Add IME support for WindowsKhinenw2021-01-15
|
* Fix typo in README.mdChristian Duerr2021-01-12
|
* Add minimum OpenGL version to readmeChristian Duerr2021-01-12
| | | Fixes #4693.
* Fix assertion crash on 32-bit systemsr-c-f2021-01-11
| | | Fixes #4687.
* Fix readme logo icon URLAlex Touchet2021-01-09
|
* Fix jumping between matches in reverse vi searchChristian Duerr2021-01-08
| | | Fixes #4676.
* Remove the GitHub pull request templateChristian Duerr2021-01-07
| | | | | | The template itself never provided much of a benefit and just causes additional work for every single PR that is opened. That makes it easier to just remind people after the PR was created than putting it in the description so contributors always have to remove it.
* Fix inefficient search initializationChristian Duerr2021-01-07
| | | | | | The creation of the renderable search iterator was doing a lot of work even when absolutely no search is active at the moment. To resolve this problem, an early return now makes sure that a search is active before going through the trouble of creating an iterator for it.
* Update cargo lockfileArthur Woimbée2021-01-06
| | | Fixes #4664.
* Bump development version to 0.8.0-devChristian Duerr2021-01-04
| | | | This is only an update to the development version and does not represent a stable release.
* Fix debug mode crash in vi-less searchChristian Duerr2021-01-03
|
* Update vte to 0.10.0Christian Duerr2021-01-03
|
* Fix deserialization of untagged enumsChristian Duerr2021-01-02
| | | Fixes #4634.
* Fix movement between matches in vi-less searchChristian Duerr2021-01-01
| | | | | | | | | | | | | | | This resolves various bugs related to vi-less search. The primary issue was that when jumping between matches more than 1000 lines apart, the search would get stuck and not advance between matches properly due to the 1000 line synchronous search limit. Some other issues related to the tracking of the search origin have also been fixed, improving the viewport positioning while interacting with the search outside of vi mode. This was done by keeping the search origin outside of the viewport, which allows for search to start right at the first character. Previously the search was on top of the first character which lead to it being excluded from search. Fixes #4626.
* Add vi/search line indicatorChristian Duerr2021-01-01
| | | | | | | | | This adds a new visual indicator which shows the position in history of either the display offset during search, or the vi mode cursor. To make it as unintrusive as possible, the overlay is hidden whenever the vi mode cursor collides with its position. Fixes #3984.
* Remove Windows WinPTY backendChristian Duerr2021-01-01
|
* Use ConfigDeserialize for all config enumsChristian Duerr2020-12-31
| | | | | | | This fixes up all of the remaining enums which are used in the configuration file to make sure they all support fully case insensitive deserialization. Fixes #4611.
* Add default binding to cancel search on Ctrl+CChristian Duerr2020-12-31
| | | Fixes #4612.
* Fix Wayland crash due to fontconfigChristian Duerr2020-12-31
| | | Fixes #4591.
* Fix characters getting swallowed during IME inputChristian Duerr2020-12-31
| | | | | | | | This reverts 1d00883 since it is not necessary anymore after all search bindings are now proper key bindings. This fixes a bug which would cause the first character to be swallowed when using IME after triggering any key binding which doesn't send any `ReceivedCharacter` event. Fixes #4588.