aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Update crossfont to 0.3.1Christian Duerr2021-08-01
|
* Add ExpandSelection mouse binding actionJason Heard2021-07-29
| | | Fixes #4132.
* Add note about dependencies to Cargo InstallationVincent Olivert-Riera2021-07-29
|
* Downgrade glutin versionChristian Duerr2021-07-27
| | | | | | The glutin version bump to 0.27.0 has introduced a lot of new issues and crashes to Alacritty due to the connected winit update. Since it doesn't solve any major issues downgrading glutin temporarily should improve Alacritty's reliability.
* Add changelog entry for 7879552Christian Duerr2021-07-24
|
* Fix insert mode crash with fullwidth charactersChristian Duerr2021-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch resolves an issue with fullwidth characters, where it is possible to crash Alacritty by moving a fullwidth character off the side of the terminal using insert mode. This issue occurs since trying to overwrite a fullwidth spacer in the first column leads to an underflow when trying to access its fullwidth character cell. During insert mode before the character is inserted into the cell, the existing content is rotated to the right, which leads to the fullwidth spacer being in the first column even though it is only there temporarily to be immediately overwritten. While it would be possible to clear the flags after rotation, this would still leave the opportunity for other ways to trigger this issue and cause a separate crash. So instead the column is checked while overwriting the spacer to make sure the fullwidth character isn't accessed if it would lead to an underflow. The following is a minimal example for reproducing this crash: ```sh printf "漢" printf "\e[4h" printf "\r" for _ in $(seq 3 $(tput cols)); do printf "x" done printf "\r_" ``` Fixes #5337.
* Invert windows asset symlinksChristian Duerr2021-07-18
| | | | | | | | | | | This commit swaps source and target for the windows asset symlinks, since creation of a symlink is not possible on Windows systems without administrator permissions. By making the files inside the source folder the source instead of the destination, a build is still possible without requiring elevated privileges. Fixes #5338.
* Fix Linux release CI buildChristian Duerr2021-07-18
|
* Bump development version to 0.10.0-devChristian Duerr2021-07-18
| | | | This is only an update to the development version and does not represent a stable release.
* Remove optional releases section from appdata.xmlChristian Duerr2021-07-18
| | | | This removes the releases section to make the creation of new releases a bit simpler.
* Fix vi cursor tracking during scrollingChristian Duerr2021-07-17
| | | | | | | | | | | | This resolves an issue with the vi mode cursor where it would not keep track of the content while scrolled up in history but instead slowly leave the viewport due to its absolute positioning. While an alternative solution would have been to always keep the vi mode cursor in the same spot on the viewport, keeping track of the content is not only more easy to implement but it also makes for a nicer connection between the vi mode cursor and the content below it. Fixes #5339.
* Fix copying interrupted tab charactersChristian Duerr2021-07-16
| | | Fixes #5084.
* Update dependenciesChristian Duerr2021-07-14
|
* Symlink windows assets for cargo installChristian Duerr2021-07-14
| | | Fixes #5114.
* Add libxkbcommon to INSTALL.md dependenciesChristian Duerr2021-07-12
| | | Fixes #5320.
* Fix search regressionsChristian Duerr2021-07-12
| | | Fixes #5315.
* Update mio-anonymous-pipes to 0.2.0David Hewitt2021-07-10
| | | Fixes #5266.
* Fix PTY performance regressionsChristian Duerr2021-07-08
| | | | | | | | | | | | | | | | | | The patch 9e7655e introduced some changes which improved rendering with very dense grids, but the automatic benchmarks indicated a slight performance difference in the `dense_cells` benchmark. Caching the terminal lock between iterations rather than always calling `try_lock` resolves that issue. While breaking early in the `WouldBlock` case with `unprocessed != 0` does also help resolve these issues, it shows some more significant fluctuations. Combining both fixes does not help. Additionally on Windows receiving `Ok(0)` from the PTY will also occur instead of a `WouldBlock` error, so handling that fixes freezing on Windows. Fixes #5305.
* Fix Void Linux link in the install guidePaul Barker2021-07-08
|
* Fix leaving vi mode with active selectiona5ob7r2021-07-07
| | | | | | | This bug comes from 530de00049c2afcc562d36ccdb3e6afa2fe396a5. The vi cursor movement changes text selection range when it is on vi mode. On the other hand the cursor movement doesn't change the range when it isn't on vi mode. So preserve text selection range by toggling vi mode early.
* Fix vi cursor motion with ScrollPage* actionsa5ob7r2021-07-04
| | | | | | | | | This fixes the regression that vi cursor doesn't move to appropriate position to emulate vi/vim after invokes `ScrollPage*`. To emulate vi/vim the cursor should move up/down some lines if the viewport on topmost scrollback buffer or on bottommost one when invokes `ScrollPage*` action. Otherwise the cursor should look like no movement relatively on viewport.
* Fix crash when resizing during vi modeChristian Duerr2021-07-04
| | | | | | Our resize clamping logic for the vi mode cursor did not correctly clamp to the viewport after the indexing change. Now it is enforced that the vi mode cursor cannot leave the visible area after a font or viewport size change.
* Add buffer for PTY reads during terminal lockChristian Duerr2021-07-03
| | | | | | | | | | | | | | | | | | | | Before this patch, Alacritty's PTY reader would always try to read the PTY into a buffer and then wait for the acquisition of the terminal lock to process this data. Since locking for the terminal could take some time, the PTY could fill up with the thread idling while doing so. As a solution, this patch keeps reading to a buffer while the terminal is locked in the renderer and starts processing all buffered data as soon as the lock is released. This has halfed the runtime of a simple `cat` benchmark from ~9 to ~4 seconds when the font size is set to `1`. Running this patch with "normal" grid densities does not appear to make any significant performance differences in either direction. One possible memory optimization for the future would be to use this buffer for synchronized updates, but since this currently uses a dynamic buffer and would be a bit more cluttered, it has not been implemented in this patch.
* Fix clippy warningsChristian Duerr2021-07-03
|
* Remove .agignorea5ob7r2021-06-28
| | | | | | | | This file is a configuration file for The Silver Searcher which is useful but not related to Alacritty and the development directly. Also this file has no effect in practice because the ignored target no longer exists in current repository. So nobody is affects by this removal.
* Add libxkbcommon-dev to debian INSTALL.mdTim Hourigan2021-06-27
|
* Remove blink capability from terminfoNick Black2021-06-26
|
* Fix regex search regressiona5ob7r2021-06-20
|
* Add modes to regex hint bindingsJoshua Ortiz2021-06-19
| | | Fixes #5154.
* Switch official IRC channel to Libera.ChatChristian Duerr2021-06-19
|
* Fix ScrollHalfPageUp vi cursor motion regressiona5ob7r2021-06-16
| | | | | This regression was introduced in 3bd5ac2. Co-authored-by: Christian Duerr <contact@christianduerr.com>
* Fix crashes with cut-off fullwidth charactersChristian Duerr2021-05-28
| | | | | | | | | | | | | There's a few places in Alacritty where it was assumed that after a WIDE_CHAR cell, there'd always be a WIDE_CHAR_SPACER. However since resizes in the alternate screen buffer do not reflow any content, it's possible to have a WIDE_CHAR without any WIDE_CHAR_SPACER right behind it. This patch changes these instances to be more defensive about accepting potentially unreasonable input data caused by alt screen resizes. Fixes #5185. Fixes #5170.
* Improve rendering performanceChristian Duerr2021-05-22
| | | | | | | | | | | | | | | | | | | | | | | | | | This PR combines a couple of optimizations to drastically reduce the time it takes to gather everything necessary for rendering Alacritty's terminal grid. To help with the iteration over the grid, the `DisplayIter` which made heavy use of dynamic dispatch has been replaced with a simple addition to the `GridIterator` which also had the benefit of making the code a little easier to understand. The hints/search check for each cell was always performing an array lookup before figuring out that the cell is not part of a hint or search. Since the general case is that the cell is neither part of hints or search, they've been wrapped in an `Option` to make verifying their activity a simple `is_some()` check. For some reason the compiler was also struggling with the `cursor` method of the `RenderableContent`. Since the iterator is explicitly drained, the performance took a hit of multiple milliseconds for a single branch. Our implementation does never reach the case where draining the iterator would be necessary, so this sanity check has just been replaced with a `debug_assert`. Overall this has managed to reduce the time it takes to collect all renderable content from ~7-8ms in my large grid test to just ~3-4ms.
* Add ipfs/ipns URL scheme supportAlfonso Montero2021-05-21
|
* Fix startup caching of bold glyphsChristian Duerr2021-05-20
|
* Fix typo in config documentationMark Stosberg2021-05-20
|
* Add magnet URL support to config docsChristian Duerr2021-05-19
| | | | Support for magnet URLs was introduced in 78e0444, however that commit failed to document things in the alacritty.yml file.
* Fix default URL bindingChristian Duerr2021-05-10
| | | | | The default binding for launching the URL hints was documented as Ctrl+Shift+U, but never actually set. This adds this binding as the default instead of having URLs only launchable using the mouse.
* Fix URL highlighting with unicode whitespaceChristian Duerr2021-05-09
| | | | | | The URL highlighting regex would automatically terminate on an ascii whitespace, however there are several other forms of whitespace that are indistinguisable to a user from normal whitespace. To make things a little more intuitive, all unicode whitespace will now terminate URLs.
* Fix unnecessary redraws due to hint highlightingChristian Duerr2021-05-09
| | | | | | | | | | When the mouse cursor is moved by at least one cell, an update to the highlighted hints is triggered automatically. Previously this would always update the hints and redraw Alacritty regardless of the actualy change to the hint highlighting. By checking if the hint highlighting has actually changed, pointless redraws can be prevented. This is especially helpful since mouse motions often generate a lot of hint re-computations.
* Add Ctrl+c binding for exiting hint modeabsorber2021-05-08
|
* Fix crash when copying out of bounds selectionsChristian Duerr2021-05-07
| | | Fixes #5067.
* Update crossfont to 0.3.0Christian Duerr2021-05-01
|
* Add changelog entry for config url changeChristian Duerr2021-05-01
|
* Fix release mode testsChristian Duerr2021-05-01
| | | Fixes #5041.
* Fix single column block selectionChristian Duerr2021-05-01
| | | Fixes #5039.
* Bump development version to 0.9.0-devChristian Duerr2021-05-01
| | | | This is only an update to the development version and does not represent a stable release.
* Add deprecation warning for mouse URL configChristian Duerr2021-05-01
| | | Fixes #5035.
* Use cell colors for focused match CellRgbNathan Lilienthal2021-04-30
| | | | | Fixes #5022. Co-authored-by: Christian Duerr <contact@christianduerr.com>
* Cleanup config path logging without any filesNathan Lilienthal2021-04-30
| | | Co-authored-by: Christian Duerr <contact@christianduerr.com>