aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | support DECSET/DECRST (CSI ? Pm h) to change where the cursor ends upDaniel Brooks2021-06-11
| | | | | | | | | | | | | | | | | | | | | after printing a sixel image. The default is for the cursor to be moved to the first column of the line after the image. When we receive CSI ? 8452 h, we will instead leave the cursor on the last line of the image, on the next column past the end of the image.
* | | Merge remote-tracking branch 'vendor/master' into graphicsAyose2021-09-23
|\ \ \ | | |/ | |/|
| * | Handle PTY EIO error for Rust 1.55+Ilya Bobyr2021-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | `ErrorKind::Other` no longer includes `EIO` since Rust 1.55: https://blog.rust-lang.org/2021/09/09/Rust-1.55.0.html#stdioerrorkind-variants-updated It was not precise enough from the very beginning, as the comment says that only EIO should be hidden, while the code was any uncategorised errors.
| * | Add python to Archlinux install instructionsJonathan V2021-09-17
| | |
| * | Remove unused struct fieldsChristian Duerr2021-09-15
| | | | | | | | | | | | | | | | | | While it might be nice to have the full `Passwd` struct around should anything ever change in the future, there's really no reason why Alacritty would need this information. So just removing things for now makes more sense than adding `#[allow(unused)]`.
| * | Add libxkbcommon-dev to openSUSE dependenciesChristian Duerr2021-09-14
| | |
| * | Remove custom merge strategy for changelogChristian Duerr2021-08-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | While the custom merge strategy can make things simpler in some scenarios, it has repeatedly shown to silently introduce errors that have to be manually spotted and corrected after the fact. It's much more reliable and efficient to always manually oversee potential conflicts, rather than letting them slip through half of the time and having to contribute follow-up patches.
| * | Watch non-canonical path for config symlinksNaïm Favier2021-08-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make it possible to detect the replacement of the configuration file when it is a symlink, the symlinks path has to be observed in addition to the canonicalized path. That way changes to either file will trigger a live config reload. Multiple layers of symlinks would still not get detected when any symlink other than the configuration file itself is replaced, but this patch should cover most realistic usage scenarios.
| * | Fix alacitty_terminal build on windowsAndrew Chin2021-08-26
| | | | | | | | | | | | The "consoleapi" feature in the winapi crate is required when using things from the `winapi::um::consoleapi` module.
| * | Fix 'background_opacity' deprecationChristian Duerr2021-08-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During the deprecation of the 'background_opacity' field, it was incorrectly renamed to 'window_opacity'. This changes that back to ensure the old field still works and a warning is emitted accordingly. See the original regression here: https://github.com/alacritty/alacritty/commit/c24d7dfd0d2d8849f0398d7cb1a65d6562ee7a0d#diff-f92f0b1ad70a7b75b7266f3c9e569025e023d186814aa88c2b690800850ccb78L72-R73 Fixes #5437.
| * | Migrate CLI config to structoptChristian Duerr2021-08-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While structopt also uses clap under the hood, the configuration through annotations allows for significantly more maintainable and concise CLI definition. This will also make it far easier to have platform-specific options, which is problematic with clap since no individual methods can be removed from its builder. The change in Alacritty's CLI has been kept to a minimum with the only significant changes being the `--version` flag listed before the `-v` flag and the authors all on the same line.
| * | Add macOS ARM builds to CIChristian Duerr2021-08-17
| | |
| * | Add option to apply opacity to all background colorsKirill Chibisov2021-08-16
| | | | | | | | | | | | | | | | | | | | | In some cases it could be desired to apply 'background_opacity' to all background colors instead of just 'colors.primary.background', thus adding an 'colors.opaque_background_colors' option to control that. Fixes #741.
| * | Add python3 dep to freebsd install instructionsyancyribbens2021-08-15
| | |
| * | Log dependency warnings/errors at trace levelSteven Bosnick2021-08-04
| | | | | | | | | Fixes #5387.
| * | Fix fullwidth character crash on resizeChristian Duerr2021-08-01
| | | | | | | | | Fixes #5383.
| * | 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
| | |
* | | Merge remote-tracking branch 'vendor/master' into graphicsAyose2021-06-21
|\| | | |/ |/|
| * 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>
* | Define MAX_GRAPHIC_DIMENSIONS as a 2-elements array.Ayose2021-05-31
| |
* | Avoid unnecessary clone when set graphic data.Ayose2021-05-31
| |