summaryrefslogtreecommitdiff
path: root/Cargo.lock
AgeCommit message (Collapse)Author
2021-02-27Run clippy on MSRVChristian Duerr
Since not all suggested clippy lints by stable clippy are supported on the MSRV of Alacritty, this commit moves the clippy checks to the MSRV. Unfortunately this will mean that our lints might be significantly behind, however it ensures our CI never blocks any code that should be valid. Developers themselves of course can still run the latest clippy to follow the up to date recommendations.
2021-02-24Bump base64 to 0.13.0Bastien Orivel
2021-02-24Add support for synchronized updatesChristian Duerr
This implements support for temporarily freezing the terminal grid to prevent rendering of incomplete frames. This can be triggered using the escapes `DCS = 1 s` (start) and `DCS = 2 s` (end). The synchronization is implemented by forwarding all received PTY bytes to a 2 MiB buffer. This should allow updating the entire grid even if it is fairly dense. Unfortunately this also means that another branch is necessary in Alacritty's parser which does have a slight performance impact. In a previous version the freezing was implemented by caching the renderable grid state whenever a synchronized update is started. While this strategy makes it possible to implement this without any performance impact without synchronized updates, a significant performance overhead is introduced whenever a synchronized update is started. Since this can happen thousands of times per frame, it is not a feasible solution. While it would be possible to render at most one synchronized update per frame, it is possible that another synchronized update comes in at any time and stays active for an extended period. As a result the state visible before the long synchronization would be the first received update per frame, not the last, which could lead to the user missing important information during the long freezing interval. Fixes #598.
2021-02-13Update dependenciesChristian Duerr
This introduces some duplicate dependencies, though they are necessary to build properly without any warnings. Fixes #4735.
2021-01-24Move renderable cell transformation to alacrittyChristian Duerr
This refactors a large chunk of the alacritty_terminal API to expose all data necessary for rendering uniformly through the `renderable_content` call. This also no longer transforms the cells for rendering by a GUI but instead just reports the content from a terminal emulation perspective. The transformation into renderable cells is now done inside the alacritty crate. Since the terminal itself only ever needs to know about modified color RGB values, the configuration for colors was moved to the alacritty UI code.
2021-01-06Update cargo lockfileArthur Woimbée
Fixes #4664.
2021-01-03Update vte to 0.10.0Christian Duerr
2021-01-01Remove Windows WinPTY backendChristian Duerr
2020-12-31Fix Wayland crash due to fontconfigChristian Duerr
Fixes #4591.
2020-12-23Hide "missing" glyp for zerowidth characterKirill Chibisov
This patch prevents missing zerowidth glyphs from obscuring the rendered glyph of a cell. The missing glyph itself is also consistently loaded and displayed on all platforms. It is initialized once together with the ascii symbols and then written to the atlas only once for every cached missing glyph. Co-authored-by: Christian Duerr <contact@christianduerr.com>
2020-12-22Remove terminfo dependencyCaden Haustein
Fixes #4597. Co-authored-by: Christian Duerr <contact@christianduerr.com>
2020-12-21Fix artifacts on macOS with transparent windowsChristian Duerr
Due to the way macOS draws shadows for transparent windows, resizing them will lead to text artifacts remaining present after a window has been resized. The `invalidateShadow` call is used whenever the opacity isn't `1.0` to make sure these shadows are cleared before redrawing, so no artifacts remain when resizing transparent windows. Fixes #889.
2020-12-21Replace serde's derive with custom proc macroChristian Duerr
This replaces the existing `Deserialize` derive from serde with a `ConfigDeserialize` derive. The goal of this new proc macro is to allow a more error-friendly deserialization for the Alacritty configuration file without having to manage a lot of boilerplate code inside the configuration modules. The first part of the derive macro is for struct deserialization. This takes structs which have `Default` implemented and will only replace fields which can be successfully deserialized. Otherwise the `log` crate is used for printing errors. Since this deserialization takes the default value from the struct instead of the value, it removes the necessity for creating new types just to implement `Default` on them for deserialization. Additionally, the struct deserialization also checks for `Option` values and makes sure that explicitly specifying `none` as text literal is allowed for all options. The other part of the derive macro is responsible for deserializing enums. While only enums with Unit variants are supported, it will automatically implement a deserializer for these enums which accepts any form of capitalization. Since this custom derive prevents us from using serde's attributes on fields, some of the attributes have been reimplemented for `ConfigDeserialize`. These include `#[config(flatten)]`, `#[config(skip)]` and `#[config(alias = "alias)]`. The flatten attribute is currently limited to at most one per struct. Additionally the `#[config(deprecated = "optional message")]` attribute allows easily defining uniform deprecation messages for fields on structs.
2020-12-20Fix embedded _NET_WM_ICON on X11Christian Duerr
Previously the _NET_WM_ICON would use the .ico which was also used for the Windows icon. This icon used the dimensions 256x256, but the maximum supported image size is 192x192, so a new image with the dimensions 64x64 has been added. Since we know the image format anyways, the `image` dependency could also be easily replaced with `png`, which cuts out a few extra unused dependencies.
2020-12-17Fix crash due to clipboard not being properly released on WaylandKirill Chibisov
2020-12-11Bump glutin to 0.26.0Kirill Chibisov
Fixes #4530. Fixes #4072. Fixes #1927.
2020-11-26Fix DoS caused by excessive CSI parameter valuesChristian Duerr
2020-11-24Fix Cargo.lockKirill Chibisov
During 07cfe8b the regenerated Cargo.lock file was somehow missed.
2020-11-24Add support for '~/' in config importsChristian Duerr
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.
2020-11-17Fix wide characters being cut offKirill Chibisov
Fixes #791.
2020-11-15Bump development version to 0.7.0-devChristian Duerr
This is only an update to the development version and does not represent a stable release.
2020-11-13Update vte to 0.9.0Christian Duerr
2020-11-09Update wayland-rs to 0.28.2Kirill Chibisov
Fixes #4385.
2020-10-25Remove rustc_tools_util dependencyChristian Duerr
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.
2020-10-24Remove all duplicate dependencies from Linux/BSDChristian Duerr
This bumps andrew and removes the last duplicate dependency ('num-traits') from Alacritty's Linux/BSD dependencies.
2020-10-14Update dependenciesKirill Chibisov
Fixes #4194.
2020-10-12Make use of glutin wayland/x11 featuresKirill Chibisov
This should allow users that are not using Wayland/X11 to reduce the resulted binary size and compilation times.
2020-10-07Bump glutin to 0.25.0Kirill Chibisov
Fixes #4206. Fixes #4162. Fixes #4017. Fixes #3998. Fixes #3831. Fixes #3782. Fixes #3708. Fixes #2734. Fixes #2714. Fixes #1801.
2020-09-16Update cargo lockfileChristian Duerr
This updates the lockfile to the new format introduced in Rust 1.41.0. Since the lockfile has been completely regenerated, all depedencies were updated.
2020-08-30Update smithay-clipboard to 0.5.2Kirill Chibisov
Fixes #4139. Fixes #4085.
2020-08-13Use yellow/red from the config for message bar colorsKirill Chibisov
This commit completes the effort to use config colors for message bar content by picking red/yellow from user's colors.normal.{red,yellow} for error/warning messages instead of fixed colors. It also removes alacritty_terminal::term::color::RED and alacritty_terminal::term::color::YELLOW from the alacritty_terminal API, bumping its version to 0.11.0-dev. Fixes #4116.
2020-08-07Add support for colon separated SGR parametersChristian Duerr
This implements the colon separated form of SGR 38 and 48. Fixes #1485.
2020-07-19Bump version to 0.6.0-devChristian Duerr
2020-07-19Bump alacritty_terminal versionChristian Duerr
This change bumps the version of the `alacritty_terminal` crate to force it out of sync with the Alacritty application. Since it is a library that will be published on crates.io, it should be following semver rather than our binary's release version. While it would be possible to just keep it at 0.5.0, explicitly disconnecting it from the Alacritty version should give it a clean starting-off point and prevent unnecessary confusion. Bumping it to 0.10.0 instead of something like 0.6.0 should allow for a nice gap between the different versions without being too arbitrary. Changing the version to 0.1.0 is not an option since decreasing semver version would likely cause a lot of problems. While it would be possible to further separate the Alacritty terminal library from the Alacritty terminal emulator, by renaming it from `alacritty_terminal` to something different, I don't think that is necessary or a good idea at the moment. Even though the `alacritty_terminal` library *can* be used for other terminals, its primary goal is still to support the Alacritty terminal emulator and I don't see that changing. So making that clear in its name seems like a good idea. Since there is no plan to maintain this library separately from Alacritty, but to keep both tied together, the naming should reflect this.
2020-07-18Rename font crate to crossfontChristian Duerr
2020-07-11Remove gui dependencies from alacritty_terminalKirill Chibisov
This commit removes font dependency from alacritty_terminal, so it'll simplify the usage of alacritty_terminal as a library, since you won't link to system's libraries anymore. It also moves many alacritty related config options from it. Fixes #3393.
2020-07-10Fix clipboard not working on KDE WaylandKirill Chibisov
Fixes #3920.
2020-07-10Add option to run command on bell Kirill Chibisov
Fixes #1528.
2020-07-10Bump urlocator and unicode-widthChristian Duerr
2020-07-10Fail compilation if Fontconfig is not installed on Linux/BSDKirill Chibisov
Statically linking Fontconfig was leading to slow startup and various errors, so forcing the use of system's library.
2020-07-09Add regex scrollback buffer searchChristian Duerr
This adds a new regex search which allows searching the entire scrollback and jumping between matches using the vi mode. All visible matches should be highlighted unless their lines are excessively long. This should help with performance since highlighting is done during render time. Fixes #1017.
2020-06-07Update dependenciesKirill Chibisov
2020-06-07Remove copypasta dependency from alacritty_terminalKirill Chibisov
2020-05-30Update dependenciesKirill Chibisov
2020-05-29Remove env_logger depedencyChristian Duerr
The env logger has been broken for over a year and is not used by anyone as far as I know. This removes this option entirely in favor of Alacritty's built-in logger level selection flags.
2020-05-24Remove unused dependenciesMatthias Krüger
2020-05-24Update dependenciesKirill Chibisov
2020-05-21Update copypasta to v0.7.0Kirill Chibisov
Fixes #3592.
2020-05-17Add subpixel anti-aliasing support on macOS 10.14+Casper Rogild Storm
2020-05-16Bump winit to 0.22.2Christian Duerr
Fixes #2601. Fixes #2475.