aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
Commit message (Collapse)AuthorAge
* Update to toml 0.9Christian Duerr2025-07-13
|
* Migrate to 2024 editionChristian Duerr2025-07-13
|
* Bump MSRV to 1.81.0Kirill Chibisov2025-05-28
| | | | Also use workspace to specify that.
* Add resolver to workspace manifestChristian Duerr2023-06-11
| | | | This explicitly specifies resolver "2" in the root manifest, to fix a warning introduced in a recent nightly release.
* Use `thin` instead of `fat` LTOKirill Chibisov2023-03-11
| | | | The performance between `thin` and `fat` is in the margin of error, however `thin` LTO is way faster to build.
* Add IPC config subcommandChristian Duerr2022-09-01
| | | | | | | | | | | | | | | | | | | | This patch adds a new mechanism for changing configuration options without editing the configuration file, by sending options to running instances through `alacritty msg`. Each window will load Alacritty's configuration file by default and then accept IPC messages for config updates using the `alacritty msg config` subcommand. By default all windows will be updated, individual windows can be addressed using `alacritty msg config --window-id "$ALACRITTY_WINDOW_ID"`. Each option will replace the config's current value and cannot be reset until Alacritty is restarted or the option is overwritten with a new value. Configuration options are passed in the format `field.subfield=value`, where `value` is interpreted as yaml. Closes #472.
* Replace serde's derive with custom proc macroChristian Duerr2020-12-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Rename font crate to crossfontChristian Duerr2020-07-18
|
* Update Linux/BSD font dependenciesChristian Duerr2020-03-25
| | | | | This updates font dependencies to make use of the newly unified freetype-sys crate, allowing us to get rid of Alacritty's patch section in the Cargo.toml.
* Extract winpty crateChristian Duerr2020-02-17
| | | | | The winpty crate and its winpty-sys depedency have been moved to https://github.com/alacritty/winpty.
* Move Alacritty to organizationChristian Duerr2020-01-11
| | | | | | | | 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.
* Bump glutin to 0.22.0Christian Duerr2020-01-10
| | | Fixes #3165.
* Bump winit to 0.20.0 Alpha 6Christian Duerr2020-01-05
| | | | | | | | Fixes #3070. Fixes #2893. Fixes #2877. Fixes #2829. Fixes #2767. Fixes #2271.
* Add wayland primary selection clipboard supportChristian Duerr2019-06-09
|
* Switch from copypasta to rust-clipboardChristian Duerr2019-04-28
| | | | | | | | | | | This switches our own `copypasta` crate with the more standardized `clipboard` library, which allows us to get rid of the `xclip` dependency on X11. Additionally, this lays the foundation for native Wayland clipboard support once the clipboard crate is updated (or a fork is created). Fixes #5.
* Split alacritty into a separate cratesTheodore Dubois2019-04-28
| | | | | The crate containing the entry point is called alacritty, and the crate containing everything else is called alacritty_terminal.
* Bump version to 0.3.2Christian Duerr2019-04-22
|
* Bump version to 0.3.1Christian Duerr2019-04-22
|
* Fix cursor dimensions with font offsetChristian Duerr2019-04-19
| | | | | | | | | | | | | | Previously cursor dimensions were not calculated correctly when a font offset was specified, since the font offset was completely ignored. This has been fixed by moving all the cursor logic from the font into the Alacritty crate, applying the config's offsets before rasterizing the cursors. This has also fixed an issue with some cursors not being rendered as double-width correctly when over double-width glyphs. This fixes #2209.
* Set maximum Rust version to 1.31.0Christian Duerr2019-04-09
| | | | | | | | | | | | | By setting the minimum Rust version and enforcing it with CI, Alacritty should hopefully make it possible for maintainers to package the application even on distributions which are not rolling release. The 1.31.0 target has been chosen here because it's the first version of the Rust 2018 release. Bumping this version in the future should be considered to be a breaking change and should only be done with caution and in consideration of the supported Rust versions of the major distributions available. This fixes #2277.
* Bump version to 0.3.0Christian Duerr2019-04-08
|
* Fix build errors on BSDChristian Duerr2019-04-04
| | | | | | | | | | | | | | | This updates winit and glutin to the latest git versions instead of relying on releases to fix a build failure on BSD. Unfortunately the upstream version bumps might still take a bit and there hasn't been any feedback with regards to a planned release date. This also fixes a slight issue on Windows where selections would start when focusing a window and a build failure with some Linux systems Fixes #2243. Fixes #2170. Fixes #2244.
* Add icon to Linux .desktop fileKirill Chibisov2019-04-04
|
* Upgrade to winapi 0.3.7David Hewitt2019-04-04
|
* Bump dependenciesChristian Duerr2019-04-03
|
* Fix BSD build failureChristian Duerr2019-04-02
| | | | | | This updates all dependencies removing any reference to nix 0.12 which prevents successful builds on OpenBSD. Fixes #2244.
* Add official logoChristian Duerr2019-04-01
|
* Update extended-description for deb fileAlex Touchet2019-03-21
|
* Update glutin to version 0.20Christian Duerr2019-03-14
| | | | | Fixes #458. Fixes #1681.
* Fix signal handling on Unix systemsRachel K2019-03-12
| | | | | | | | | | | | | | | | | | | | This removes the the signal handling machinery in tty::unix, and replaces it with functionality from signal-hook, which should be more robust. Signals caught by signal-hook wake up the existing I/O event loop, which then delegates back to the PTY to handle them. In particular, this allows `SIGCHLD` (i.e. child process exits) to shut down the terminal promptly, instead of sometimes leaving the window lingering. Fixes #915. Fixes #1276. Fixes #1313. As a side effect, this fixes a very rare bug on Linux, where a `read` from the PTY on the master side would sometimes "fail" with `EIO` if the child closed the client side at a particular moment. This was subject to a race condition, and was very difficult to trigger in practice.
* Bump version to 0.2.9Christian Duerr2019-02-11
|
* Bump version to 0.2.8Christian Duerr2019-02-10
|
* Dynamically resize terminal for errors/warningsChristian Duerr2019-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The warning and error messages now don't overwrite other terminal content anymore but instead resize the terminal to make sure that text can always be read. Instead of just showing that there is a new error and pointing to the log, errors will now be displayed fully in multiple lines of text, assuming that there is enough space left in the terminal. Explicit mouse click handling has also been added to the message bar, which made it possible to add a simple `close` button in the form of `[X]`. Alacritty's log file location is now stored in the `$ALACRITTY_LOG` environment variable which the shell inherits automatically. Previously there were some issues with the log file only being deleted when certain methods for closing Alacritty were used (like typing `exit`). This has been reworked and now Ctrl+D, exit and signals should all work properly. Before the config is reloaded, all current messages are now dropped. This should help with multiple terminals all getting clogged up at the same time when the config is broken. When one message is removed, all other duplicate messages are automatically removed too.
* Disable incremental for release buildsChristian Duerr2019-02-05
| | | This fixes #1115.
* Simplify text shaderM. Stoeckl2019-02-04
|
* Bump version to 0.2.7Christian Duerr2019-01-21
|
* Bump version to 0.2.6Christian Duerr2019-01-19
|
* Fix CPU load when moving windows between monitorsChristian Duerr2019-01-09
|
* Bump version to 0.2.5Christian Duerr2019-01-07
| | | | This bumps the version number to 0.2.5 and prepares everything for the next versioned release.
* Add support for Windows ConPTY APIDavid Hewitt2018-12-28
|
* Update reqwest to 0.9Bastien Orivel2018-12-27
|
* Use mio-extras instead of mio-moreBastien Orivel2018-12-27
| | | | The latter isn't maintained anymore and this removes a bunch of outdated dependencies.
* Make windows config location more sensibleZac Pullar-Strecker2018-12-27
|
* Upgrade to Rust 2018Joe Wilm2018-12-10
| | | | | This resolves a lot of NLL issues, however full NLL will be necessary to handle a couple of remaining issues.
* Bump version to 0.2.4Christian Duerr2018-12-09
|
* Changed path to standard /usr/bin/..., registered as an x-terminal-emulator ↵Ilya Epifanov2018-11-19
| | | | | | alternative
* Display errors and warningsChristian Duerr2018-11-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make sure that all error and information reporting to the user is unified, all instances of `print!`, `eprint!`, `println!` and `eprintln!` have been removed and replaced by logging. When `RUST_LOG` is not specified, the default Alacritty logger now also prints to both the stderr and a log file. The log file is only created when a message is written to it and its name is printed to stdout the first time it is used. Whenever a warning or an error has been written to the log file/stderr, a message is now displayed in Alacritty which points to the log file where the full error is documented. The message is cleared whenever the screen is cleared using either the `clear` command or the `Ctrl+L` key binding. To make sure that log files created by root don't prevent normal users from interacting with them, the Alacritty log file is `/tmp/Alacritty-$PID.log`. Since it's still possible that the log file can't be created, the UI error/warning message now informs the user if the message was only written to stderr. The reason why it couldn't be created is then printed to stderr. To make sure the deletion of the log file at runtime doesn't create any issues, the file is re-created if a write is attempted without the file being present. To help with debugging Alacritty issues, a timestamp and the error level are printed in all log messages. All log messages now follow this format: [YYYY-MM-DD HH:MM] [LEVEL] Message Since it's not unusual to spawn a lot of different terminal emulators without restarting, Alacritty can create a ton of different log files. To combat this problem, logfiles are removed by default after Alacritty has been closed. If the user wants to persist the log of a single session, the `--persistent_logging` option can be used. For persisting all log files, the `persistent_logging` option can be set in the configuration file
* Update all dependenciesChristian Duerr2018-11-14
| | | This applies all breaking and non-breaking dependency updates.
* Bump version to 0.2.3Christian Duerr2018-11-13
| | | | | Since the version 0.2.2 had some significant breakage which affects a large number of users, this 0.2.3 release aims at providing a stable release which works for everyone without any major regressions.
* Bump version number to v0.2.2Christian Duerr2018-11-11
|