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
e98f052e64 Alacritty version 0.13.2-rc1 2024-03-19 02:20:53 +01:00
Christian Duerr
172a2882cd 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-03-19 02:20:53 +01:00
Christian Duerr
57da0bf903 Alacritty version 0.13.1-rc1 2024-01-06 08:59:54 +01:00
Christian Duerr
4fb82778b2 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-06 08:59:54 +01:00
Christian Duerr
78fa4d6feb Alacritty version 0.13.0 2023-12-27 22:13:35 +01:00
Christian Duerr
b8acfdae19 Alacritty version 0.13.0-rc2 2023-12-22 10:42:02 +01:00
Christian Duerr
ada35aeb70
Alacritty version 0.13.0-rc1 2023-12-14 03:46:34 +00: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