summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-17Extract winpty crateChristian Duerr
The winpty crate and its winpty-sys depedency have been moved to https://github.com/alacritty/winpty.
2020-02-15Fix parser stopping at unknown modesChristian Duerr
This resolves an issue in the parser where it would stop as soon as the first unknown value is encountered in private mode/sgr attribute escapes. Fixes #3339.
2020-02-15Add custom merge strategy for CHANGELOG.mdChristian Duerr
The merge strategy `union` should hopefully reduce the number of conflicts when trying to rebase the configuration file, since most of the changes are simple additions anyways.
2020-02-14Add seconds and nanoseconds to log outputChristian Duerr
2020-02-13Increase Beam, Underline and Box cursors' line widthKirill Chibisov
2020-02-12Fix incorrect display offset after rotationKirill Chibisov
Regression was introduced in 4cc6421daa4ff5976ab43c67110a7a80a36541e5, however it was working before only due to grid.len() bug.
2020-02-11Bump vte and urlocatorChristian Duerr
Fixes #3247.
2020-02-10Revert "Fix backspace deleting chars when IME is open"Christian Duerr
This reverts commit 7f4dce2ee04859fb0b48f15cf808b60065778703. Originally it was assumed that macOS always sends the \x7f on backspace anyways, however this is not true. It seems like the character on backspace can change even within the same terminal session, so we need to have our own binding to reliably set the correct binding. A solution for #1606 should be implemented in cooperation with winit.
2020-02-07Document that Alacritty does not create configKirill Chibisov
2020-02-07Update glutin to v0.23.0Kirill Chibisov
Fixes #3191. Fixes #3150. Fixes #1465. Fixes #1359.
2020-02-07Fix selection expansion across full-width glyphsChristian Duerr
Instead of trying to expand the start and end of a selection across full-width glyphs, the selection should now only go from its origin to the end without any kind of expansion. Instead, the expansion is now done where the cells are actually checked for their selection status, expanding across the entire full-width glyph whenever any part of it is selected. Fixes #3106.
2020-02-05Add docs about multiple bindings on same triggerBrainFace
2020-02-04Start window invisible on WindowsKirill Chibisov
2020-02-03Remove unsetting of dirty flag on key pressChristian Duerr
There's no reason why we should ever manually set the terminal to not be dirty, since this can lead to a lot of other logic being affected. This also does not have any benefit and was likely added in the event loop rework as a bug (probably should have been dirty = true).
2020-02-03Fix non-scalable font resize issueKirill Chibisov
Fixes resize regression from 15cc07c069b09f109ed18fb94e02e9650be7fa33.
2020-01-31Fix handling of OpenType variable fontsKirill Chibisov
Fixes #3257.
2020-01-31Mirror OSC query terminatorChristian Duerr
Fixes #3091.
2020-01-30Fix backspace deleting chars when IME is openChristian Duerr
Fixes #1606.
2020-01-28Fix inconsistent test module namingChristian Duerr
2020-01-27Rework Fontconfig fallback to use cached list from font_sortKirill Chibisov
Previous implementation was querying Fontconfig using `charset` in a pattern, which was leading to unpredictable fallbacks in some cases, since Fontconfig was picking the font with the most coverage for a given charset, regardless of user configuration. Moreover all fallback was based on font_match which is extremely slow for such performance sensitive task as a fallback, so alacritty had a hard times on vtebench's unicode-random-write. The new approach is to use some internal fallback list from font_sort and iterate over it to get a proper fallback font, since it matches the following example query from `fc-match`: `fc-match -s "monospace:pixelsize=X:style=Y" That being said it's more intuitive for users to setup their system Fontconfig fallback, and also most applications are doing similar things. Moreover the new implementation uses internal caches over Fontconfig API when possible and performs font matches only once during load of requested font with font_sort, which leads to dramatically improved performance on already mentioned vtebench's unicode-random-write. Fixes #3176. Fixes #3134. Fixes #2657. Fixes #1560. Fixes #965. Fixes #511.
2020-01-27Switch to flamegraph-rs scriptChristian Duerr
This cleans up the Alacritty scripts a bit by removing some of them which are not recommended to be used anymore and switching from the official FlameGraph tool to the more specialized Rust FlameGraph implementation.
2020-01-26Fix incorrect grid.len() and grid.history_size()Kirill Chibisov
2020-01-25Add font metric cachingKirill Chibisov
2020-01-24Fix selection rotating outside of scrolling regionChristian Duerr
Fixes #2983.
2020-01-24Fix build error on OpenBSDeau
2020-01-22Add debug log for missing configChristian Duerr
We currently log whenever we fall back to the default config because of an error in the config itself. We also log when the config was successfully loaded and where it was loaded from. The only scenario where no config related message is logged is when there is no configuration file present. Logging this case should make it easier to debug issues like #3240, without requiring any knowledge from maintainers about this edgecase.
2020-01-22Fix underline position for bitmap fontsKirill Chibisov
Fixes #3235.
2020-01-21Fix stack overflow when printing shader errorKirill Chibisov
Fixes #3238.
2020-01-21Fix oob error during selectionKirill Chibisov
Fixes #3233.
2020-01-21Fix first cell when selection is off screenChristian Duerr
Since the expansion of the selection was done after clamping it to the grid, the selection would incorrectly move the clamped start over by one cell when the start was to the right of the original column. By resetting the side of the start point to `Left` before expanding, this can be circumvented. This also resolves a regression which broke backwards bracket selection. Fixes #3223.
2020-01-20Disable drawing bold text bright by defaultKirill Chibisov
Since the assumption is usually that bold text is drawn in bright colors, this might break some applications. However some other terminals have already taken this leap, which should lessen the impact for Alacritty. Since this might still be desired and necessary for certain applications, the config option is just switched to draw with normal colors by default, however the old behavior can still be restored. Fixes #2779.
2020-01-20Remove scrolling.auto_scroll featureKirill Chibisov
Fixes: #1873
2020-01-19Bump minimum Rust version to 1.37.0Christian Duerr
2020-01-18Force application symlink on macOS make buildJosh Comer
2020-01-17Change Alacritty .ico to use higher resolutionMichael Fresco
Fixes #2651.
2020-01-17Replace `.nth(0)` with `.next()`Cole Helbling
Clippy[1] says that `.next()` is more readable than `.nth(0)`. [1]: https://rust-lang.github.io/rust-clippy/master/index.html#iter_nth_zero
2020-01-17Fix reset CLI parameters on config reload (#3216)Christian Duerr
Fix reset CLI parameters on config reload Fixes #3197.
2020-01-15Update font crate to 2018 editionDavid Hewitt
2020-01-15Expand line selection across wrapped linesChristian Duerr
2020-01-15Remove Windows working directory canonicalizationDavid Hewitt
Fixes #3198.
2020-01-14Remove synthetic keyboard event handlingChristian Duerr
Fixes #3109.
2020-01-12Bump VTE to 0.5.0Christian Duerr
This change includes dynamic escape buffer support in VTE, which allows us to have arbitrary escape sizes. Since tmux could potentially use very long escapes for the clipboard escape, this allows copying more text. Fixes #1002.
2020-01-12Fix crash with invalid working directoryChristian Duerr
2020-01-11Fix font size reset when moving between screensChristian Duerr
Fixes #3183.
2020-01-11Move Alacritty to organizationChristian Duerr
This fixes various outdated links pointing to the old jwilm/alacritty repository. Since `copypasta` now has its own github repository at https://github.com/alacritty/copypasta, the sources have been removed from Alacritty.
2020-01-10Bump glutin to 0.22.0Christian Duerr
Fixes #3165.
2020-01-10Force exact modifiers match for mouse bindingsChristian Duerr
Fixes #3152.
2020-01-09Fix cut off full width glyphs in last columnChristian Duerr
This resolves the issue with full width glyphs getting rendered in the last column. Since they need at least two glyphs, it is not possible to properly render them in the last column. Instead of rendering half of the glyph in the last column, with the other half cut off, an additional spacer is now inserted before the wide glyph. This means that the specific glyph in question is then three cells wide. Fixes #2385.
2020-01-09Add separate deployment for Windows releasesChristian Duerr
2020-01-08Build releases on Windows stableChristian Duerr