aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Update to notify v5 via notify_debouncer_miniJames McCoy2022-11-15
| | | | | | | | Notify v5 moved the debounced API into the notify_debouncer_mini crate. The debounced API doesn't provide details on the type of event that happened, just that a list of events or errors happened. Therefore, reload is triggered on any event for a matching path. Co-authored-by: Christian Duerr <contact@christianduerr.com>
* Fix cursor visibility with focus change on macOSChris Copeland2022-11-11
| | | Fixes #6452.
* Update glutin to 0.30.0Kirill Chibisov2022-11-03
| | | | | | | | | | | | | | | The glutin 0.30.0 update decouples glutin from winit which provides us with basis for a multithreaded renderer. This also improves robustness of our configuration picking, context creation, and surface handling. As an example we're now able to start on systems without a vsync, we don't try to build lots of contexts to check if some config works, and so on. That also brings us possibility to handle context losses, but that's a future work. Fixes #1268.
* Update winit to 0.27.5Kirill Chibisov2022-10-26
| | | Fixes #6396.
* Bump crossfont and sctk-adwaitaKirill Chibisov2022-10-26
| | | | | | Fixes #6432. Fixes #6414. Fixes #6400. Fixes #6338.
* Fix startup failure on macOS with dash as /bin/shKirill Chibisov2022-10-22
| | | | | | The dash's exec doesn't have `-a` argument we rely on when running login shell, so use zsh instead. Fixes #6426.
* Fix crash with very low font sizesKirill Chibisov2022-10-21
| | | Fixes #6432.
* Fix cursor and underlines always being blackKirill Chibisov2022-10-21
| | | | | | | Some old hardware doesn't like universal shader approach for all the rectangle kinds leading to ALU instruction limits. This commit fixes it by splitting the shader per rectangle kind. Fixes #6417.
* Fix `--help` output for `--class` to match man pagesAndrzej Grzeslak2022-10-18
| | | | | | The output of --help did not match the man pages with regards to the ordering of arguments for the --class flag. This has now been fixed. Fixes #6413.
* Fix changelog versioningChristian Duerr2022-10-14
|
* Fix Windows release buildChristian Duerr2022-10-14
| | | Closes #6392.
* Fix clippy warningsChristian Duerr2022-10-12
| | | | | This patch applies all clippy lints currently present on the latest clippy master than are compatible with our oldstable clippy (only exception is the `_else(||` stuff).
* Bump winit to 0.27.4Kirill Chibisov2022-10-09
| | | | Fixes #6370. Fixes #6356.
* Add RHEL8 instructions to INSTALL.mdNathaniel Graham2022-10-07
| | | Co-authored-by: Christian Duerr <contact@christianduerr.com>
* Fix icon decoding on X11Hugal312022-10-05
| | | | | Glutin is waiting for an RGBA buffer with 8-bit depth, but our icon is 16-bit depth. So we need to normalize the color data when decoding the icon.
* Migrate from winapi to windows-syskillian2022-09-30
|
* Fix IPC config overriding previous valuesChristian Duerr2022-09-17
| | | | | | | | | | | | | | Before this patch whenever changing the IPC configuration, all previous configuration options would be discarded. This was the case even when the new option was invalid. This patch ensures that the IPC config is only ever cleared when the `--reset` flag is passed. Invalid IPC config options are logged and discarded. Additionally whenever a new IPC config message is sent, all previous IPC error messages are cleared. Closes #6330.
* Update unicode-width to Unicode 15Christian Duerr2022-09-17
| | | | | This applies all not-breaking dependency changes, including an update to unicode-width. This brings support for Unicode 15 with its new widths table so new glyphs and Emojis are shown correctly.
* Bump winit to 0.27.3Kirill Chibisov2022-09-15
| | | | Fixes #6324. Fixes #6313.
* Avoid text cursor location for hyperlink previewKirill Chibisov2022-09-14
| | | Fixes #6325.
* Update Cargo.lock for new `-dev` bumpKirill Chibisov2022-09-12
|
* Don't enable multisamplingKirill Chibisov2022-09-11
| | | | | It never worked in the first place, because we were never requesting it in glutin, and it provides no value given that textures are already antialiased.
* Add licenses to `alacritty_config`Christian Duerr2022-09-05
|
* Bump development version to 0.12.0-devChristian Duerr2022-09-03
| | | | This is only an update to the development version and does not represent a stable release.
* 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.
* Add inline input method supportKirill Chibisov2022-08-29
| | | | | | This commit adds support for inline IME handling. It also makes the search bar use underline cursor instead of using '_' character. Fixes #1613.
* Rework `--class` CLI optionKirill Chibisov2022-08-25
| | | | | | | | | This commit swaps the order of `general` and `instance` arguments and also sets `instance` to `general` when only one argument was provided. This should make this option behave like in other terminals on X11, since they set either both or general by default, but not instance like Alacritty. Fixes #6279.
* Include extra directory in crateChristian Duerr2022-08-24
| | | | | | | | | | | | | Instead of having the extra symlink in the root, this puts the symlink in the alacritty crate. Since we build the package on Linux this is not a problem and even allows us to get rid of the `alacritty.png` symlink. To avoid having complicated symlinks with regards to the windows build assets directory, it has just been removed from the `extra` directory completely. Since we only need it for building, it doesn't matter where it's located and users will never have to interact with it manually anyway. Closes #6242.
* Fix general and instance class set on window (#6276)Ulrik de Muelenaere2022-08-20
| | | | This fixes a regression introduced in 7d708d5, which caused the general and instance class to be swapped.
* Bump winit to 0.27.2Kirill Chibisov2022-08-13
|
* Use `WindowEvent::Occluded` to hint renderingtrimental2022-08-11
| | | | This should prevent rendering on macOS and X11 to invisible windows.
* Bump glutin to 0.29.1Kirill Chibisov2022-08-10
| | | | | | | | Fixes #6239. Fixes #5975. Fixes #5876. Fixes #5767. Fixes #4484. Fixes #3139.
* Warn if only columns XOR lines is setSabu Siyad2022-08-02
| | | Co-authored-by: Christian Duerr <contact@christianduerr.com>
* Make grid mutably accessible to librariesMikayla Maki2022-07-29
| | | Co-authored-by: Mikayla Maki <mikayla.c.maki@icloud.com>
* Fix visible regex match on tall viewportsPeter DeLong2022-07-26
| | | | | | The end of the search window is currently calculated using the viewport start instead of the end. The observed behavior is that all hinting stops suddenly after line 101. This was introduced in #6139 when the code was refactored into this file from display/content.rs.
* Fix clippy warningsChris Copeland2022-07-25
|
* Remove redundant dirty updatesKirill Chibisov2022-07-25
| | | | | | In some cases dirty was set without any ui update leading to extra redraws, this commit resolves this. Co-authored-by: Greg Depoire--Ferrer <greg@gregdf.com>
* Fix inverted condition for cell's extra clearingKirill Chibisov2022-07-24
| | | Fixes #6215.
* Register Alacritty shells as tty sessions on macOSChris Copeland2022-07-24
| | | | | | | | | | | | | | | | | | Unless the `shell` config is specified, launch the user's shell with: ```sh login -flp $USER /bin/sh -c "exec -a -shell /path/to/shell" ``` On macOS, just running a shell prefixed by `-` is not sufficient to be registered as a login session for things like `w` and `logname`. However, using the `login` command changes the directory to `$HOME` before running the program by default, which is not desired. The `-l` flag disables this behavior, but also skips prepending `-` to the executed program, so shells will not run as login shells. Instead we just do this part ourselves with `exec -a`. The result is login shells that run in the intended directory and are registered as tty sessions. Fixes #3420.
* Remove panics from UNIX PTY initializationMikayla Maki2022-07-20
| | | Co-authored-by: Mikayla Maki <mikayla.c.maki@icloud.com>
* Replace `map().unwrap_or()` with `map_or()`Chris Copeland2022-07-20
| | | Use a `map_or` instead of a `map().unwrap_or()` chain.
* Fix thin strokes on macOSChris Copeland2022-07-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the `font.use_thin_strokes` config, which only did anything on macOS and only prior to Big Sur. Instead, we will enable or disable "font smoothing" on macOS based on the `AppleFontSmoothing` user default. These changes let users get the "thin strokes" behavior by setting `AppleFontSmoothing` to 0 with: ```sh $ defaults write -g AppleFontSmoothing -int 0 ``` (Or replace `-g` with `org.alacritty` to apply this setting only to Alacritty.app, rather than the whole system.) Add a `removed` config attribute to show helpful warnings to users who are using config options that don't do anything anymore, and apply this attribute to `font.use_thin_strokes`. Bump `crossfont` to 0.5.0 to pick up the new font smoothing behavior. This release also includes a fix for a crash when trying to load a disabled font. Fixes #4616. Fixes #6108.
* Fix hyperlinks not being keyboard actionableKirill Chibisov2022-07-11
| | | | | | This fixes a typo in 694a52b which was filtering all hyperlinks, except only duplicated ones when opening them with keyboard. Co-authored-by: Christian Duerr <contact@christianduerr.com>
* Use org.alacritty instead of io.alacrittyKirill Chibisov2022-07-10
| | | | | The common naming is reverse DNS, and given that alacritty is using alacritty.org it makes more sense to use org.alacritty instead of old io.alacritty.
* Add support for hyperlink escape sequenceKirill Chibisov2022-07-10
| | | | | | | This commit adds support for hyperlink escape sequence `OSC 8 ; params ; URI ST`. The configuration option responsible for those is `hints.enabled.hyperlinks`. Fixes #922.
* Fix error when opening in root dir on WindowsEthan Conneely2022-07-10
|
* Use DeviceId/WindowId::dummy in tests52252252022-07-09
|
* Add `cursor.blink_timeout` config optionKirill Chibisov2022-07-01
| | | | | | This option should prevent extensive power usage due to cursor blinking when there's no user activity being performed. Fixes #5992.
* Fix resize on Wayland when creating new windowKirill Chibisov2022-06-29
| | | | | | | When we have currently active context when asking EGL on Wayland to create new context it'll lock the backing buffer of surface using that context. So making it non-current before-hand to prevent it. Follow-up to 90552e3.
* Add hexadecimal support to --embedSabu Siyad2022-06-28
| | | Closes #6145.