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

20 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
34b5dbacd2
Test man-pages compilation on the CI 2023-09-07 15:23:08 +04:00
Kirill Chibisov
6e7f466c68 Update patch dependencies 2023-05-17 08:36:41 +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
4c171e7678
Bump copypasta to 0.8.0
This also applies all non-breaking semver updates.
2022-06-16 18:36:27 +03:00
Kirill Chibisov
8afeb2c602
Fix warnings when building only with Wayland feature
This commit also makes our CI fail hard when warning encountered when
building only for either Wayland or X11.
2022-02-09 19:25:36 +03:00
Christian Duerr
f0934d8440
Migrate to 2021 edition 2021-12-26 16:47:57 +00:00
Kirill Chibisov
4c6a763850
Bump glutin to 0.28.0
Fixes #5603.
Fixes #5422.
Fixes #5350.
Fixes #4105.

Co-authored-by: Christian Duerr <contact@christianduerr.com>
2021-12-03 03:50:14 +00:00
Christian Duerr
e0f0cdfb8a
Update dependencies 2021-07-14 02:18:40 +00:00
Christian Duerr
8cb1acc27d
Fix PTY performance regressions
The patch 9e7655e introduced some changes which improved rendering with
very dense grids, but the automatic benchmarks indicated a slight
performance difference in the `dense_cells` benchmark.

Caching the terminal lock between iterations rather than always calling
`try_lock` resolves that issue.

While breaking early in the `WouldBlock` case with `unprocessed != 0`
does also help resolve these issues, it shows some more significant
fluctuations. Combining both fixes does not help.

Additionally on Windows receiving `Ok(0)` from the PTY will also occur
instead of a `WouldBlock` error, so handling that fixes freezing on
Windows.

Fixes #5305.
2021-07-08 20:35:58 +00:00
Christian Duerr
edfcb81339
Run clippy on MSRV
Since not all suggested clippy lints by stable clippy are supported on
the MSRV of Alacritty, this commit moves the clippy checks to the MSRV.

Unfortunately this will mean that our lints might be significantly
behind, however it ensures our CI never blocks any code that should be
valid.

Developers themselves of course can still run the latest clippy to
follow the up to date recommendations.
2021-02-27 15:06:22 +00:00
Kirill Chibisov
9a851fdbb1
Fix sr.ht clippy job
This commit brings back '--all-targets' parameter for clippy,
which was accidentally removed in dae0145.
2020-11-10 15:47:49 +00:00
Christian Duerr
dae014511d
Fix github actions clippy job 2020-11-10 04:36:19 +03:00
Christian Duerr
43d1afbeeb
Migrate from Travis CI to GitHub Actions
This removes all CI builds from travis-ci, due to their recent changes
in policy and harsh limitations on builds. With build times over 2
hours, it was a significant hindrance to development.

Instead of Travis CI, the CI is now split on Sourcehut and GitHub. Since
Sourcehut only supports Linux/BSD, all builds on those operating systems
are executed there. The GitHub Actions CI is used to build for
Windows/macOS, which are not available on Sourcehut.

Since asset deployment for releases requires builds on all platforms,
this is also done on GitHub actions. Though the new `upload_asset.sh`
script makes sure that migration in the future is fairly simple and we
do not tie ourselves to the overly complicated GitHub Actions ecosystem.
2020-11-06 23:52:56 +00:00
Kirill Chibisov
721f789b5f
Make use of glutin wayland/x11 features
This should allow users that are not using Wayland/X11
to reduce the resulted binary size and compilation times.
2020-10-12 12:22:36 +03:00
Kirill Chibisov
6c4e45f3a6
Bump minimum supported Rust version to 1.43.0 2020-07-28 13:00:55 +03:00
Christian Duerr
f3c5760236
Fix rustfmt build failures 2020-07-18 18:02:06 +00:00
Kirill Chibisov
e4e0218ede Run rustfmt on sr.ht
This should provide more clear feedback whether rustfmt
job is failed or not.
2020-06-23 11:13:14 +00:00
Christian Duerr
738c8de232 Bump minimum supported Rust version to 1.41.0 2020-04-23 19:04:13 +00:00
Kirill Chibisov
a2875454b1
Add FreeBSD to CI
Fixes #2248.
2020-03-23 23:22:31 +03:00