aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Bump dirs to 4.0.0a5ob7r2022-06-20
| | | This is to remove dependencies on multiple versions of dirs crate.
* Bump copypasta to 0.8.1Christian Duerr2022-06-18
| | | Fixes #6140.
* Ignore special files for live config reloadKirill Chibisov2022-06-16
| | | | | | | | When using `--config-file /dev/null` with `live_config_reload`, each write to `/dev/null` was forcing alacritty to reload its configuration. This commit makes alacritty ignore special files for live config reload. Co-authored-by: Christian Duerr <contact@christianduerr.com>
* Bump copypasta to 0.8.0Christian Duerr2022-06-16
| | | This also applies all non-breaking semver updates.
* Add value hints for clap file pathsChristian Duerr2022-06-16
| | | | This ensures that the generated completions properly suggest file paths for arguments which accept them.
* Use `MaybeUninit<usize>` instead of `usize` in `Storage::swap`nils2022-06-15
| | | | `Row` contains pointer bytes, which are not valid for `usize`, therefore `MaybeUninit<usize>` should be used instead to do an untyped copy.
* Update SGR escape sequence supportAlly Tiritoglu2022-06-10
|
* Add vi action to center view around vi cursorjeremycostanzo2022-06-10
|
* Fix flickering during resize on WaylandKirill Chibisov2022-06-09
| | | | | This also fixes an issue of windows not being rendered while resizing. Fixes #6069.
* Support dual source blending in GLES2 rendererVasily Khoruzhick2022-06-08
| | | | | | | | | GLES2 has GL_EXT_blend_func_extended extension that enables dual-source blending, so essentially we can reuse fragment shader from GLSL3 renderer and do 1 rendering pass instead of 3 for the text. Co-authored-by: Kirill Chibisov <contact@kchibisov.com> Co-authored-by: Christian Duerr <contact@christianduerr.com>
* Fix old vi cursor not being properly damagedKirill Chibisov2022-06-07
| | | Co-authored-by: Christian Duerr <contact@christianduerr.com>
* Fix crash when damaging off-screen hintKirill Chibisov2022-06-06
| | | Co-authored-by: Christian Duerr <contact@christianduerr.com>
* Fix a few minor clippy lintsYuri Astrakhan2022-06-02
|
* Fix DEC Special Character Set (Line drawing)André Kugland2022-06-01
| | | | | | | | This patch resolves some mapping issues with the line drawing character set where characters like linefeed were incorrectly mapped to their proper character representation rather than the codepoint of their identification glpyh. Co-authored-by: Christian Duerr <contact@christianduerr.com>
* Fix Vi cursor not being damaged on scrollKirill Chibisov2022-05-26
| | | | | There's no need to damage intermediate Vi mode cursor points, since it can't change the terminal content meaning that only the previous and current vi cursor's viewport points matter to damage it properly.
* Don't inherit `--command` for `SpawnNewInstance`Kirill Chibisov2022-05-23
| | | Fixes #6060.
* Fix selection change after leaving vi-modea5ob7r2022-05-23
| | | | | | | | This patch fixes that the right point of the selection range moves to another point when leaves vi-mode with a selection by ToggleViMode. The cause is that always moves a vi-mode cursor to a search origin whether or not the current search is active. This problem is a regression which is introduced by #5945.
* Fix inaccurate method documentationAndrés Mejía2022-05-22
|
* Enable damage tracking only on WaylandKirill Chibisov2022-05-20
| | | | | | | | | | Other platforms don't have such concepts in general or have them via different interfaces not related to EGL. This commit also resolves some minor clippy issues. Fixes #6051. Co-authored-by: Christian Duerr <contact@christianduerr.com>
* Fix builtin glyphs for U+2567 and U+2568algon2022-05-20
|
* Fix gap in builtin box drawingKirill Chibisov2022-05-08
| | | | | Builtin box drawing glyphs in range from '\u{2580}' to `\u{2587}` could have gap due to missing rounding. Previously height was rounded, however not the `y` offset. This commit fixes it.
* Remove unnecessary commas in config keybindingsa5ob7r2022-04-29
|
* Fix selection copy without button releasemahkoh2022-04-16
| | | | | | | | | | | | | | | To prevent the current selection clipboard from being overwritten right before pasting, text is no longer copied solely because the user scrolled the scrollback buffer. The selection also isn't copied when a mouse button other than LMB/RMB are released, since these are the only ones capable of modifying the selection range. This should prevent issues where the selection of the user gets unexpectedly overwritten, especially in scenarios where the user is currently in the process of pasting something into Alacritty. Signed-off-by: Julian Orth <ju.orth@gmail.com>
* Fix cell_height of impl From<SizeInfo<f32>> for WindowSizekumattau2022-04-16
|
* Extract `SizeInfo` from alacritty_terminalKirill Chibisov2022-04-06
| | | | | The `SizeInfo` is a SizeInfo used for rendering, which contains information about padding, and such, however all the terminal need is number of visible lines and columns.
* Disallow OSC 52 for unfocused windowKirill Chibisov2022-04-03
| | | | | This leads to issues on macOS, since if we store clipboard at the same time it could error out. Also, on e.g. Wayland the clipboard store for unfocused window won't work anyway.
* Fix OSC 4 color response formatChristian Duerr2022-03-31
| | | | | | | | | | The commit 60ef17e introduced support for the color query response escape for OSC 4, however it did omit the `4;` prefix and started the OSC with just the color index. This patch fixes this bug and correctly responds to queries with full OSC 4 format, including prefix plus color index. Fixes #5981.
* Reset blinking on search bindings in Vi modeKirill Chibisov2022-03-25
| | | | | | The Vi cursor is used as the current match indicator, however when it's blinking during search jumps the current match is invisible. Fixes #5934.
* Persist OpenGL context creation flagsKirill Chibisov2022-03-24
| | | | | | | | | | | | | This commit persists OpenGL context creation flags from previous window build attempts saving time in multiwindow context. It also creates window as srgb by default, since it's what Alacritty is rendering in. For reference [1] and [2]. Moreover the fallback for 10 bit colors is also added. [1] - https://github.com/alacritty/alacritty/issues/4939 and [2] - https://github.com/alacritty/alacritty/issues/3756. Fixes #4703.
* Add colored underline supportKirill Chibisov2022-03-16
| | | | | | | | | This commit adds support for colored underline and refines the dynamic extra storage. The extra storage now is using `Arc` making cloning it way faster compared to `Box` approach which scales really well when it comes to cloning in `Term::write_at_cursor`, since cloning `Arc` is constant time. Fixes #4142.
* Use center of the pixel when aligning undercurlKirill Chibisov2022-03-14
| | | | Since `x` position in rect shader represents left side of the pixel we should use the center of it when dealing with contiguous functions.
* Fix `font.glyph_offset` not live reloadingKirill Chibisov2022-03-11
| | | Fixes #5944.
* Fix crash when searching during resetChristian Duerr2022-03-10
| | | | | | | | | | | | | | | | | | This fixes a crash which occurs when the terminal is reset while searching, due to the vi mode cursor being outside of the visible area. This also fixes an issue where the search state reset would incorrectly clamp the vi mode cursor to the grid, rather than the absolute viewport position. While this fix does resolve all crashes when searching while running `cat /dev/urandom`, it does raise the question if manually clamping the vi mode cursor in every location where it is modified is the right choice. A follow-up to provide a safer API which guarantees correct modification of the vi mode cursor location is probably a good idea. Fixes #5942.
* Fix line indicator damage computationKirill Chibisov2022-03-10
| | | | The starting point of damage should be computed from the right side of the terminal, not from the starting point of line indicator.
* Use round instead of ceil for line positionKirill Chibisov2022-03-06
| | | | Ceiling line position results in strikeout line being lower than it should.
* Fix gap calculation for dashed underlineKirill Chibisov2022-03-02
|
* Add fallback GLES2 rendererKirill Chibisov2022-03-02
| | | | | | | | | | | | | | | | | | | | | Currently Alacritty only works on hardware which supports OpenGL 3.3 or more, which can become problematic with older devices. This patch adds a new GLES2 renderer, since it is much more widely supported, especially on weaker hardware like phones or a Raspberry Pi. While the GLES2 renderer is slower than the OpenGL 3.3+ version, it is still significantly faster than software rendering. However because of this performance difference it is only used when necessary and there should be no difference for machines supporting OpenGL 3.3+. The two renderers are largely independent and separated in the `renderer/text/glsl3` and `renderer/text/gles2` modules. Separate shaders are also required for text rendering. The rectangle rendering for underlines and the visual bell works identically for both versions, but does have some version-specific shader code. Fixes #128. Co-authored-by: Christian Duerr <contact@christianduerr.com>
* Add `ToggleMaximized` key binding actionChris Copeland2022-02-27
|
* Add version 0.10.1 to changelogChristian Duerr2022-02-24
|
* Omit git version hash when git command failsnibon72022-02-22
|
* Don't use 'origin_upper_left' in rect shadersKirill Chibisov2022-02-22
|
* Don't load font twice during display creationKirill Chibisov2022-02-18
| | | | | This commit finishes the effort from a64553b to avoid reloading font twice during startup, since the original issue is with getting font metrics without building the glyph cache.
* Account for absolute WAYLAND_DISPLAY pathsmahkoh2022-02-16
| | | | If WAYLAND_DISPLAY contains a '/', we have to replace with with another character before using WAYLAND_DISPLAY as a path component.
* Reuse Rasterizer in Display::newGreg Depoire--Ferrer2022-02-16
| | | | | | | Instead of creating a `Rasterizer` to guess the window dimensions, dropping it and then creating a new one for the glyph cache, reuse the same `Rasterizer`. This prevents the font from being loaded twice during startup.
* Add support for dashed and dotted underlinesKirill Chibisov2022-02-14
| | | | This finishes implementation of underline styles provided by `CSI 4 : [1-5] m` escape sequence.
* Clear damage rects right after drawingKirill Chibisov2022-02-11
| | | | Since we could queue damage before we get into the actual rendering we should clear it after drawing not before.
* Fix terminal not being damage when only font size changedKirill Chibisov2022-02-10
| | | | | If font size changes however the cells stay the same the terminal won't be damaged, since it wasn't resized, however the visual change happened, thus the entire screen should be damaged.
* Make undercurls thickness close to underlinesKirill Chibisov2022-02-10
| | | Fixes #5873.
* Add note about publishing RCs to crates.ioChristian Duerr2022-02-10
| | | | | We've been testing out the pre-release feature of crates.io and there haven't been any major issues. So this updates the documentation to recommend publishing to crates.io even before the official release.
* Add version to info logChristian Duerr2022-02-09
|