aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Fixed typo in INSTALL.mdEverlastinggit2020-11-24
|
* Remove copr from installation instructionsEverlastinggit2020-11-24
| | | | Since Fedora now provides Alacritty in the default repository, that should be used instead of the copr repository.
* Fix Cargo.lockKirill Chibisov2020-11-24
| | | During 07cfe8b the regenerated Cargo.lock file was somehow missed.
* Fix CHANGELOG sectionsKirill Chibisov2020-11-24
| | | | Commit 2fd2db4 added one more 'Added' section during rebase, thus merging it with existing one.
* Add blinking cursor supportDettorer2020-11-23
| | | | | | | | This adds support for blinking the terminal cursor. This can be controlled either using the configuration file, or using escape sequences. The supported control sequences for changing the blinking state are `CSI Ps SP q` and private mode 12.
* Add support for '~/' in config importsChristian Duerr2020-11-24
| | | | | | | | | | | This allows the configuration file imports to start with '~/' and resolve relative to the user's home directory. There is no support for '~user/' or '$HOME/' or any other shell expansion. However since paths relative to the home directory should be sufficient for everything, this provides a very simple solution without any significant drawbacks. Fixes #4157.
* Increase font size in CSDs on WaylandKirill Chibisov2020-11-22
| | | | | Winit changed the default font size for CSDs from 17pt to 11pt, this patch reverts that since it is too small to be readable.
* Fix stdout log message orderKirill Chibisov2020-11-19
| | | | | | | | | This patch makes sure that the message for the creation of a log file is always the first entry, before any other log file messages. Since we initialize our log file dynamically, the message is printed as soon as something is written to it. By making sure that we always write to a file first and then try stdout, we can ensure that the log file is always initialized before ever writing log messages to stdout.
* Ignore nonexistent config imports instead of raising an errorJames Simpson2020-11-19
| | | Fixes: #4330.
* Fix vi mode terminal resetChristian Duerr2020-11-19
| | | | | | | Since the vi mode is unrelated to the terminal emulation itself, it should not be reset during a `reset` to prevent unnecessary confusion. This also prevents the search from switching from vi mode to vi-less search without any indication to the user.
* Fix wide characters being cut offKirill Chibisov2020-11-17
| | | Fixes #791.
* Reduce number of GitHub Actions CI buildsChristian Duerr2020-11-17
| | | | | | By reducing the number of CI jobs for GitHub actions, it should be possible to get a faster overview over the status of all CI jobs. While this does increase the total build time of GitHub Actions by reducing parallelization, it should still finish within the SourceHut CI times.
* Add Alpine Linux build dependenciesChandler Swift2020-11-16
|
* Bump development version to 0.7.0-devChristian Duerr2020-11-15
| | | | This is only an update to the development version and does not represent a stable release.
* Fix unused import warningChristian Duerr2020-11-15
| | | This fixes an unused import warning introduced with 198d3cb.
* Fix zerowidth characters in the last columnKirill Chibisov2020-11-15
| | | | | | | | | This commit fixes the issue that when attempting to write zerowidth characters into the last column, it is written in the second to last column instead. Fixes #4227. Co-authored-by: Christian Duerr <contact@christianduerr.com>
* Load only gl 3.3 functionsKirill Chibisov2020-11-14
| | | | | | | | This commit makes 'gl::load_with' only load symbols from the minimal OpenGL (3.3) version alacritty aims to support. Doing so reduces the size of gl_bindings.rs from 21K LoC to 11K LoC, and also the actual loading by up to ~2x, thugh the loading is usually sub millisecond anyway.
* Feature gate 'image' when building without x11 featureKirill Chibisov2020-11-14
| | | | On Wayland there's no way to embed icon into the window, thus there's no point in loading it when x11 feature is disabled.
* Fix github releases tag patternChristian Duerr2020-11-14
|
* Update vte to 0.9.0Christian Duerr2020-11-13
|
* Add ability to select text during searchChristian Duerr2020-11-13
| | | | | | | | | | | | | This removes the restriction of not being able to select text while the search is active, making it a bit less jarring of a UX when the user tries to interact with the terminal during search. Since the selection was used during vi-less search to highlight the focused match, there is now an option for a focused match color, which uses the inverted normal match color by default. This focused match is used for both search modes. Other mouse interactions are now also possible during search, like opening URLs or clicking inside of mouse mode applications.
* Fix use after free when dropping zerowidth dataKirill Chibisov2020-11-13
| | | | | | | | | | | | Commit ec42b42ce601808070462111c0c28edb0e89babb added an optional pointer for each cell, thus some old code that was optimizing copying with 'ptr::copy' was duplicating "unique" pointers ('Box'), which was resulting in use after free, after attempting to free both of these pointers. By replacing these unsafe blocks with safe Rust, the issue itself is fixed and the potential for future memory problems is eliminated from this area of the code.
* Add g++ to Fedora build dependency documentationMatthew Neal2020-11-10
| | | Fixes #4400.
* Fix sr.ht clippy jobKirill Chibisov2020-11-10
| | | | This commit brings back '--all-targets' parameter for clippy, which was accidentally removed in dae0145.
* Fix github actions clippy jobChristian Duerr2020-11-10
|
* Update wayland-rs to 0.28.2Kirill Chibisov2020-11-09
| | | Fixes #4385.
* Fix configuration file formattingChristian Duerr2020-11-07
| | | | | | | | | The configuration file, especially the section documenting the different binding actions, had some extremely long lines. All the text is now reformatted to be at most 80 columns wide. The only lines remaining which are beyond 80 columns wide are the configuration bindings, which would significantly suffer from linebreaks and are not plain text.
* Spawn new alacritty processes in CWD on macOSNathan Lilienthal2020-11-07
| | | | | | On macOS we can use 'proc_pidinfo' to determine the working directory of the terminal foreground process. Fixes #1979.
* Migrate from Travis CI to GitHub ActionsChristian Duerr2020-11-06
| | | | | | | | | | | | | | | This removes all CI builds from travis-ci, due to their recent changes in policy and harsh limitations on builds. With build times over 2 hours, it was a significant hindrance to development. Instead of Travis CI, the CI is now split on Sourcehut and GitHub. Since Sourcehut only supports Linux/BSD, all builds on those operating systems are executed there. The GitHub Actions CI is used to build for Windows/macOS, which are not available on Sourcehut. Since asset deployment for releases requires builds on all platforms, this is also done on GitHub actions. Though the new `upload_asset.sh` script makes sure that migration in the future is fairly simple and we do not tie ourselves to the overly complicated GitHub Actions ecosystem.
* Deprecate the WinPTY backendChristian Duerr2020-11-06
|
* Add editorconfig Kirill Chibisov2020-11-06
| | | | | | This commit also purges .gitignore, since the files mentioned in it should be handled by global ignore file. Fixes #4378.
* Use dynamic storage for zerowidth charactersChristian Duerr2020-11-05
| | | | | | | | | | | | | | | | | | | The zerowidth characters were conventionally stored in a [char; 5]. This creates problems both by limiting the maximum number of zerowidth characters and by increasing the cell size beyond what is necessary even when no zerowidth characters are used. Instead of storing zerowidth characters as a slice, a new CellExtra struct is introduced which can store arbitrary optional cell data that is rarely required. Since this is stored behind an optional pointer (Option<Box<CellExtra>>), the initialization and dropping in the case of no extra data are extremely cheap and the size penalty to cells without this extra data is limited to 8 instead of 20 bytes. The most noticible difference with this PR should be a reduction in memory size of up to at least 30% (1.06G -> 733M, 100k scrollback, 72 lines, 280 columns). Since the zerowidth characters are now stored dynamically, the limit of 5 per cell is also no longer present.
* Fix visual bell getting stuckChristian Duerr2020-10-30
| | | | | | | | This resolves a problem with the visual bell where it would not automatically trigger a redraw itself after the initial frame has been rendered. Since the unit of the visual bell duration is also unclear, it has been clarified.
* Fix crash with large negative font offsetChristian Duerr2020-10-29
| | | Fixes #4363.
* Error on warnings when running clippyKirill Chibisov2020-10-29
| | | | | It should simplify tracking of new warnings raised on CI builds and when cross checking. This commit also enables warnings for 'rust_2018_idioms' and 'future_incompatible'.
* Fix build failure on macOS without featuresChristian Duerr2020-10-28
| | | Fixes #4353.
* Remove rustc_tools_util dependencyChristian Duerr2020-10-25
| | | | | | | | Since our usage of the rustc_tools_util crate is so trivial, it seems like we should be able to just inline it directly into Alacritty. It's a very well trusted crate, being hosted directly by rust-lang and it does not pull in any other dependencies, but having a dependency for just 6 lines of code seems a bit extreme.
* Remove all duplicate dependencies from Linux/BSDChristian Duerr2020-10-24
| | | | This bumps andrew and removes the last duplicate dependency ('num-traits') from Alacritty's Linux/BSD dependencies.
* Remove unneeded collect during line rect creationMark Lodato2020-10-22
|
* Check viewport size after initial resizeChristian Duerr2020-10-22
| | | | | Since the 'set_inner_size' call might immediately alter the window size, the query for the window's dimensions should be performed after the resize has been requested.
* Add license symlinks for cratesStefano Figura2020-10-17
|
* Update dependenciesKirill Chibisov2020-10-14
| | | Fixes #4194.
* Fix incorrect X11 feature checkChristian Duerr2020-10-12
| | | See https://github.com/alacritty/alacritty/commit/721f789b5f98ab5c47e6e817c3c2228636ca0a1a#r43183826.
* Make use of glutin wayland/x11 featuresKirill Chibisov2020-10-12
| | | | This should allow users that are not using Wayland/X11 to reduce the resulted binary size and compilation times.
* Add support for urgency hints CSITaylor Blau2020-10-10
| | | | | | | | | | | | | | | | | | | | | | | Teach Alacritty to stop setting the window as urgent upon a bell by emulating xterm's 'bellIsUrgent' resource and relevant CSI. When this resource is enabled (with 'CSI ? 1042 h'), a bell event causes the window to be marked as urgent. When the resource is disabled (with 'CSI ? 1042 l'), the window is not marked urgent in the event of a bell. There are two wrinkles worth noting here: - The 'TermMode::URGENCY_HINTS' does _not_ affect the terminal's configured bell command, since we only want to control whether or not the window is marked as urgent, not anything else. - In xterm, the 'bellIsUrgent' resource is _disabled_ by default. Since bouncing the dock icon has been the default in Alacritty on macOS thus far, do not make an effort to change that in this patch. This allows users to emit "\e[?1042l" and disable bouncing the dock icon. Fixes #2950.
* Fix feature checking in cross buildsKirill Chibisov2020-10-10
| | | | | Checking for target os in build.rs doesn't work, since build.rs is running for host, so checking should be done in src. Thus moving 'compile_error!' check from build.rs to main.rs.
* Bump glutin to 0.25.0Kirill Chibisov2020-10-07
| | | | | | | | | | | | Fixes #4206. Fixes #4162. Fixes #4017. Fixes #3998. Fixes #3831. Fixes #3782. Fixes #3708. Fixes #2734. Fixes #2714. Fixes #1801.
* Fix non-ascii message bar text width calculationAlessandro Menezes2020-10-04
| | | | | | | | | | | | | | | | When formatting text for display in the message bar, Alacritty was using the byte length of the text instead of the glyph count. This lead to unnecessary blank space at the end of lines due to overestimation of their length. There also were no extra spaces inserted after fullwidth characters, leading to Alacritty giving them only a single cell of space. In line with the rest of Alacritty's rendering, a wide char spacer whitespace is now inserted in the message bar after glyphs which should occupy two cells. Fixes #4250. Co-authored-by: Christian Duerr <contact@christianduerr.com>
* Add additional CentOS/RHEL build dependenciesChristian Duerr2020-09-30
| | | Fixes #4271.
* Add support for single line terminalsii412020-09-27
| | | | | | | | | | | | | | | | | This changes the minimum terminal dimensions from 2 lines and 2 columns, to 1 line and 2 columns. This also reworks the `SizeInfo` to store the number of columns and lines and consistently has only the terminal lines/columns stored, instead of including the message bar and search in some places of the Alacritty renderer/input. These new changes also make it easy to properly start the selection scrolling as soon as the mouse is over the message bar, instead of waiting until it is beyond it. Fixes #4207. Co-authored-by: Christian Duerr <contact@christianduerr.com>