1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00
Commit graph

23 commits

Author SHA1 Message Date
Christian Duerr
6dbd785bc0
Bump development version to 0.15.0-dev
This is only an update to the development version and does not represent
a stable release.
2024-10-18 22:25:57 +00:00
Kirill Chibisov
3504246c3f Bump MSRV to 1.74.0 2024-07-17 11:02:31 +03:00
Foorack / Max Faxälv
d4f2f8577f
Update homepage and repository in Cargo manifests 2024-03-31 01:57:09 +00:00
Christian Duerr
94ede16ee4
Fix env variable overrides through CLI
This fixes an issue where all CLI environment variables would replace
existing configuration file variables instead of merging the two maps
together.

Fixes #7618.
2024-01-14 20:25:15 +04:00
Kirill Chibisov
a265bb0d4f
Fixup alacritty_config version and deps 2024-01-14 18:43:03 +04:00
Christian Duerr
5685ce8bf8
Fix replacing optional fields
This fixes an issue with the default `SerdeReplace` implementation where
it would never recurse through options but always replace the entire
option with the new value.

Closes #7518.
2024-01-02 13:34:57 +00:00
Christian Duerr
8655276f0e
Update alacritty versions
This is only an update to the development versions and does not
represent a stable release.
2023-12-14 10:37:25 +04:00
Christian Duerr
59c63d3738
Update dependencies
This patch applies all breaking and non-breaking dependency updates
and bumps MSRV to 1.70.0.
2023-10-08 07:29:57 +04:00
Max Brunsfeld
3330614219
Remove winit dependency from alacritty_config 2023-08-17 17:33:29 +00:00
Andrea Frigido
52a004cce4
Fix license syntax
This patch updates the license field to follow the SPDX 2.1 license
expression standard.
2023-07-19 23:07:55 +00:00
Kirill Chibisov
db903503df
Update to the new winit keyboard API
The main highlight of this update is that alacritty will now use new
keyboard API from the winit, which resolves a lot of issues around
key bindings, such as ability to bind dead keys. It also fixes long
standing issues with the virtual key code bindings and make bindings
in general more predictable. It also makes our default Vi key bindings
fully working.

Given that alacritty was using `VirtualKey` directly in the bindings
from the winit, and winit simply removed the enum, we've added internal
conversions to minimize the fallout, but new way to specify the bindings
should be more intuitive.

Other part of this update fixes some forward compatibility bugs with the
Wayland backend, given that wayland-rs 0.30 is fully forward compatible.
The update also fixes weird Maximized startup issues on GNOME Wayland,
however they were present on any sane compositor.

Fixes #6842.
Fixes #6455.
Fixes #6184.
Fixes #5684.
Fixes #3574.
Fixes #3460.
Fixes #1336.
Fixes #892.
Fixes #458.
Fixes #55.
2023-07-11 02:22:14 +00:00
Christian Duerr
afffdbe612
Fix alacritty msg config toml replacement
This fixes a regression introduced in bd49067 which broke the override
of configuration file variables using `alacritty msg config`.

To fix this the `replace` functionality was rewritten to behave more
like the `serde_utils::merge` where entire values are inserted into the
existing structure rather than separating the keys from the values.

Fixes: bd49067 (Switch to TOML configuration format)
2023-06-15 08:59:12 +00:00
Christian Duerr
bd4906722a
Switch to TOML configuration format
This switches Alacritty's default configuration format from yaml to
toml. While yaml is still supported, it is done by converting it to toml
and should be removed entirely in the future.

All existing features were persisted based on my testing. Behavior
should not change much, though `--option` might have slightly different
behavior since the entire line is not interpreted as one line of toml.

A new `alacritty migrate` subcommand has been added which allows
automatic migration from yaml to toml. This also could be used as a
facility to automatically fix configuration file changes in the future.

Closes #6592.
2023-06-12 00:23:41 +00:00
Kirill Chibisov
6e7f466c68 Update patch dependencies 2023-05-17 08:36:41 +03:00
Kirill Chibisov
6f6ad2b2ee Update clap to v4.2.7
Fixes #6879.
Fixes #6874.
2023-05-17 08:36:41 +03:00
Kirill Chibisov
f5e41d967a
Bump winit to 0.28.2
This also bumps copypasta and sctk-adwaita.

Fixes #6744.
Fixes #6702.
Fixes #6696.
Fixes #2741.
2023-03-05 06:21:04 +00:00
Kirill Chibisov
9cf2c89fd1
Bump development version to 0.13.0-dev
This is only an update to the development version and does not represent
a stable release.
2023-02-15 02:19:19 +03:00
Kirill Chibisov
8a838710e3
Bump winit to 0.28.1
This fixes crash on Wayland with multiple windows.
2023-02-02 15:09:47 +03:00
Kirill Chibisov
1c878a0476
Update winit to 0.28
Fixes #6644.
Fixes #6615.
Fixes #6558.
Fixes #6515.
Fixes #3187.
Fixes #62.
2023-02-02 11:30:23 +03:00
Kirill Chibisov
0e418bc2f7
Update glutin to 0.30.0
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.
2022-11-03 19:37:54 +03:00
Christian Duerr
89f4bdb770
Add licenses to alacritty_config 2022-09-05 09:39:09 +03:00
Christian Duerr
a51dbe25d6
Bump development version to 0.12.0-dev
This is only an update to the development version and does not represent
a stable release.
2022-09-03 19:43:05 +00:00
Christian Duerr
4ddb608563
Add IPC config subcommand
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.
2022-09-01 01:48:38 +03:00