Commit Graph

21 Commits

Author SHA1 Message Date
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
Kirill Chibisov 36301e4195
Improve renderer debuggability
Make the renderer more debuggable by adding extra logging and using
`GL_KHR_debug` when running with the debug log level.
2023-05-21 04:06:15 +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
Christian Duerr 21c75d9d94
Fix clippy warnings
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).
2022-10-12 07:40:46 +03:00
Kirill Chibisov 7d708d53f7
Bump glutin to 0.29.1
Fixes #6239.
Fixes #5975.
Fixes #5876.
Fixes #5767.
Fixes #4484.
Fixes #3139.
2022-08-10 16:48:46 +04:00
nibon7 8ea6c3bc52
Omit git version hash when git command fails 2022-02-22 13:08:49 +00:00
Christian Duerr 62a1fad524
Migrate CLI config to structopt
While structopt also uses clap under the hood, the configuration through
annotations allows for significantly more maintainable and concise CLI
definition.

This will also make it far easier to have platform-specific options,
which is problematic with clap since no individual methods can be
removed from its builder.

The change in Alacritty's CLI has been kept to a minimum with the only
significant changes being the `--version` flag listed before the
`-v` flag and the authors all on the same line.
2021-08-18 09:36:51 +00:00
Christian Duerr 2de20378ac
Symlink windows assets for cargo install
Fixes #5114.
2021-07-14 00:32:59 +00:00
Christian Duerr c5340a2ccc
Fix unused import warning
This fixes an unused import warning introduced with 198d3cb.
2020-11-15 00:48:23 +00:00
Kirill Chibisov 198d3cb78d
Load only gl 3.3 functions
This commit makes 'gl::load_with' only load
symbols from the minimal OpenGL (3.3) version alacritty
aims to support. Doing so reduces the size of gl_bindings.rs
from 21K LoC to 11K LoC, and also the actual
loading by up to ~2x, thugh the loading is usually sub millisecond
anyway.
2020-11-14 21:48:24 +03:00
Christian Duerr 5a3bf69e3f
Remove rustc_tools_util dependency
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-25 05:07:28 +03:00
Kirill Chibisov 860adde457
Fix feature checking in cross builds
Checking for target os in build.rs doesn't work, since build.rs
is running for host, so checking should be done in src. Thus moving
'compile_error!' check from build.rs to main.rs.
2020-10-10 00:25:39 +03:00
Kirill Chibisov ef7cb258b2
Remove copyright notice from files
This commit is a follow-up to 7aafbb757d485c5ff065324464dde8b5322cdd921
which was an effort to remove copyright notice from files.
2020-08-10 16:07:19 +03:00
Kirill Chibisov 6c4e45f3a6
Bump minimum supported Rust version to 1.43.0 2020-07-28 13:00:55 +03:00
Kirill Chibisov d526649ee6
Use compile_error! instead of panic! in build.rs
The compile_error! failure is way more readable and noticeable than
panic!.
2020-06-15 23:01:21 +03:00
Kirill Chibisov 4000ec04d8
Add option to pick Linux/BSD backends
This commit adds two cargo features `x11` and `wayland` to pick
Linux/BSD backends, with both enabled by default.

Fixes #3340.
2020-03-13 03:33:12 +03:00
sterlingjensen 5f98de4692 Move icon embed step from winpty to Alacritty 2019-11-30 07:11:43 +01:00
Kirill Chibisov 474032742b Move renderer from alacritty_terminal to alacritty 2019-11-23 18:08:52 +01:00
绅士喵 f2b1bfdf37 Fix build without git 2019-06-06 18:46:32 +00:00
Christian Duerr 5d173f6df3
Refactor config parsing files
This is a large refactor of the config parsing structure, attempting to
reduce the size of the file a bit by splitting it up into different
modules with more specific purposes.

This also fixes #2279.
2019-05-10 11:36:16 +00:00
Nathan Lilienthal 34c54e7e0e
Add git hash to version string, and fix crate name (#2397)
This moves `cli` out of `alacritty_terminal` and into `alacritty` where
it belongs, along with the `clap` dependency.
2019-05-03 19:48:25 -04:00