aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/renderer
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'vendor/master' into graphicsAyose2025-11-04
|\
| * Ignore touch gestures for enabling IMEChristian Duerr2025-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously whenever the user would use touch gestures to make selections or scroll the terminal, IME would automatically be enabled due to the focus change and reduce the terminal height. This isn't ideal when the goal is just scanning through the terminal history without making any input. This patch keeps track of pointer and touch focus and only enables IME when either the pointer is within the window or a tap touch sequence was performed to give the window 'touch focus'. The initial touch tap sequence used to enable IME is still forwarded to the terminal as a simulated click event, since otherwise touch devices without virtual keyboard would be forced into a confusing additional tap to make it work. This means that virtual keyboard users will not be able to open the virtual keyboard without creating a click event, which should still be preferable to the status quo.
| * Fix OpenGL robustness crashChristian Duerr2025-10-20
| | | | | | | | | | | | | | This disables the OpenGL context's robustness feature since some GPUs that advertise robustness support do not support sufficient capabilities for our implementation. Closes #8713.
* | Merge remote-tracking branch 'vendor/master' into graphicsAyose2025-09-07
|\|
| * Improve builtin font ellipse renderingZnarf2025-07-31
| |
* | Remove memoffset crate.Ayose2025-07-23
| | | | | | | | Since Rust 1.77, `offset_of` is available in the std.
* | Merge remote-tracking branch 'vendor/master' into graphicsAyose2025-07-23
|\|
| * Migrate to 2024 editionChristian Duerr2025-07-13
| |
| * Remove cstr! macro in favor of literal notationKirill Chibisov2025-07-01
| | | | | | | | | | Also apply clippy changes while at it. Closes #8002.
| * Fix clippy warningsKirill Chibisov2025-05-28
| |
| * Apply glyph offset to strikeout positionTravis Harmon2025-04-08
| |
* | Merge remote-tracking branch 'vendor/master' into graphicsAyose2025-02-24
|\|
| * Try to recover from GPU resetsKirill Chibisov2025-01-11
| | | | | | | | | | Use context robustness to get notified about GPU resets and try to recover from them by rebuilding the rendering pipeline.
| * Fix cut off wide characters in preedit stringKirill Chibisov2025-01-10
| | | | | | | | | | The wide char spacers must not be drawn, like we do for regular wide characters.
* | Merge remote-tracking branch 'vendor/master' into graphicsAyose2024-12-26
|\|
| * Remove unnecessary staticsIntegral2024-12-09
| |
| * Fix racing condition in hint triggeringChristian Duerr2024-11-02
| | | | | | | | | | | | | | | | | | | | | | This fixes an issue with hints where it was possible that the terminal content of highlighted hints changed between the highlighted hint update and the activation of the hint. This patch always validates the hint's text content against the hint itself to ensure that the content is still valid for the original hint which triggered the highlight. Closes #8277.
* | Merge remote-tracking branch 'vendor/master' into graphicsAyose2024-07-29
|\|
| * Unify string formattingHamir Mahal2024-07-24
| |
| * Fix search bug with wrapline on first characterChristian Duerr2024-07-05
| | | | | | | | | | | | | | | | This fixes an issue where an inline search in the left direction would incorrectly assume that the first cell searched would not contain the `WRAPLINE` flag, causing the second search for the match end to terminate prematurely. Fixes #8060.
| * Bump glutin to 0.32.0Kirill Chibisov2024-06-08
| |
* | Fix sixels position when padding>0Manuel de Prada2024-07-09
| |
* | Merge remote-tracking branch 'vendor/master' into graphicsAyose2024-05-15
|\|
| * Fix IME preview overlapping textKirill Chibisov2024-04-21
| | | | | | | | | | | | | | | | | | Fix incorrect usage of the `flags` when drawing the preedit resulting in setting the `flags`, but not actually reading the value back. The logic to skip things was also used incorrectly, because the renderer does that already based on the `WIDE_CHAR` flag on the cell. Fixes: 67a433ceed (Skip whitespaces for wide chars in preedit)
* | Merge remote-tracking branch 'vendor/master' into graphicsAyose2024-02-11
|\|
| * Use builtin font to draw sextantsPopa Ioan Alexandru2024-01-26
| | | | | | | | | | | | Sextants are similar to quadrants and should align with them and other box drawing, thus use builtin font to align them properly. Part-of: #7422.
| * Powerline glyphs being cut for narrow fontsKirill Chibisov2023-12-31
| | | | | | Fixes #7470.
| * Remove direct dependency on once_cellPhilip Dubé2023-12-29
| | | | | | With MSRV 1.70, std now contains the necessary parts.
| * Update to crossfont 0.6.0Kirill Chibisov2023-12-08
| |
| * Fallback to underline shader when dotted failsKirill Chibisov2023-12-02
| | | | | | | | | | Some hardware is just bad. Fixes #7404.
| * Add error handling for OpenGL connection detailsPavel Roskin2023-11-22
| |
| * Simplify powerline drawing algorithmKirill Chibisov2023-11-19
| | | | | | | | | | | | Iterate over points in line instead of drawing it right away and then finding it in the buffer. Fixes: 4a26667060 (Use builtin font to draw powerline symbols)
| * Use builtin font to draw powerline symbolsKirill Chibisov2023-11-11
| | | | | | | | | | | | In addition to box drawing it was decided to also draw powerline symbols, since those are quite common and rather simple to draw with present box drawing infra.
| * 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 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.
| * Add `prefer_egl` debug optionRolf Sievert2023-09-04
| | | | | | | | | | | | | | | | | | Some systems have rendering issues when using GLX rather than EGL. While this is usually due to a driver bug, it is helpful to provide a workaround for this by allowing people to prefer EGL over GLX. This patch adds the new `debug.prefer_egl` option to provide this workaround. Closes #7056.
| * 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.
| * 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.
| * Skip whitespaces for wide chars in preeditKirill Chibisov2023-07-22
| | | | | | | | | | While we skip the spacers for the wide characters in the grid due to them having a proper flags, the draw_string method was generating the cells with incorrect flags leading to wide chars being cut off.
| * Switch to VTE's built-in ansi featureAnhad Singh2023-05-23
| | | | | | Co-authored-by: Christian Duerr <contact@christianduerr.com>
| * Improve renderer debuggabilityKirill Chibisov2023-05-21
| | | | | | | | Make the renderer more debuggable by adding extra logging and using `GL_KHR_debug` when running with the debug log level.
| * Update bitflags to 2.2.1Kirill Chibisov2023-05-17
| |
| * 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.
* | Merge remote-tracking branch 'vendor/master' into graphicsAyose2023-03-01
|\|
| * Fix crash when Atlas is fullKirill Chibisov2023-02-11
| | | | | | | | | | This fixes the regression introduced by 2d27fff. Fixes #6688.
| * Make gles2 renderer actually gles2Kirill Chibisov2023-02-07
| | | | | | Fixes #6209.
| * Align quadrants with half blocks in built-in fontKirill Chibisov2023-02-05
| | | | | | Fixes #6201.
| * Revert "Apply 'font.glyph_offset.y' for underline/strikeout"Kirill Chibisov2023-02-05
| | | | | | This reverts commit d5e9d1d88317afc1f4374f2c2a7679cece14cb7b.
| * Update winit to 0.28Kirill Chibisov2023-02-02
| | | | | | | | | | | | | | | | Fixes #6644. Fixes #6615. Fixes #6558. Fixes #6515. Fixes #3187. Fixes #62.