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

21 commits

Author SHA1 Message Date
Christian Duerr
dd756c27fc
Fix selection copying on Windows
The `copypasta` crate incorrectly mapped the secondary clipboard on
Windows to the primary clipboard, leading to the primary clipboard
getting overwritten whenever the selection clipboard was updated.

The new Windows clipboard mimics the macOS clipboard, which also does
not have a selection clipboard.

This fixes #2050.
2019-04-21 00:52:06 +00:00
Matthias Krüger
3478676f8f Remove redundant closures and imports 2019-04-11 07:54:26 +00:00
Christian Duerr
e98ea64c74
Bump dependencies 2019-04-03 22:57:54 +00:00
Christian Duerr
cfd025b528
Add rustfmt style guide 2019-03-30 16:48:36 +00:00
Nathan Lilienthal
04707cbba6 Normalize Log Message Strings
The general style for errors, warnings and info messages is to start
with a capitalized letter and end without a period. The main exception
is when dealing with nouns that are clearer with special case handling,
e.g. "macOS failed to work" or "ioctl is borked".
2019-01-07 00:06:57 +00:00
Joe Wilm
217ad9ec28 Upgrade to Rust 2018
This resolves a lot of NLL issues, however full NLL will be necessary to
handle a couple of remaining issues.
2018-12-10 17:53:56 +00:00
Matthias Krüger
a6764ba05f Use tool lints for clippy allow/deny lint attributes 2018-12-07 13:58:11 +00:00
Zac Pullar-Strecker
15e0deae2b Add support for Windows (#1374)
Initial support for Windows is implemented using the winpty translation
layer. Clipboard support for Windows is provided through the `clipboard`
crate, and font rasterization is provided by RustType.

The tty.rs file has been split into OS-specific files to separate
standard pty handling from the winpty implementation.

Several binary components are fetched via build script on windows
including libclang and winpty. These could be integrated more directly
in the future either by building those dependencies as part of the
Alacritty build process or by leveraging git lfs to store the artifacts.

Fixes #28.
2018-10-16 10:02:52 -07:00
Matthias Krüger
21eb50aa50 Enable clippy in font/copypasta crates
Enabled clippy in the sub-crates font and copypasta. All issues
that were discovered by this change have also been fixed.
2018-07-02 22:11:24 +00:00
Matt T. Proud
1b7ffea136 alacritty: add support for OpenBSD.
This commit expands the conditional compilation directives to support
building Alacritty for OpenBSD.  The build succeeds, and Alacritty runs
without issue once https://github.com/rust-lang/libc/pull/957 has been
merged and added to a versioned libc release.

This has been tested on the recently-released OpenBSD 6.3 on amd64 with
rustc 1.24.0 from its standard ports tree.
2018-04-14 10:17:50 -07:00
Chet Gurevitch
1117bb5fda Update deps 2017-12-23 21:39:09 -08:00
Aaron Hill
5f7885749c Use clippy = "*", update, and fix some warnings (#796)
Because there are so many clippy warnings in the current codebase,
this commit removes '#![cfg_attr(feature = "clippy", deny(clippy))]',
to make it easier to fix warnings incrementally.
2017-09-27 17:29:44 -07:00
Joe Wilm
d0283141b5 Decouple input processing from Term
Should make input processing much more easily tested.
2017-02-02 09:25:08 -08:00
johalun
398e31fa37 Make it run on FreeBSD 2017-01-18 22:28:16 -08:00
Joe Wilm
06991e6eee Better error message when xclip is not available
Resolves #37.
2017-01-02 20:15:24 -08:00
Joe Wilm
f1336ee1c7 Implement clipboard store for x11 with xclip 2016-12-29 17:57:50 -05:00
Joe Wilm
7cdf06e2be Implement copypasta::Store for macOS pasteboard
Only works with strings, currently.
2016-12-24 18:08:46 -05:00
Joe Wilm
bde4dacc79 Misc formatting fixes 2016-12-16 22:48:04 -08:00
Joe Wilm
0421012c2d Replace remaining use of try! with ? 2016-12-16 22:29:35 -08:00
Joe Wilm
5ddf525747 Implement copypasta::Load for macos::Clipboard 2016-10-08 20:57:30 -07:00
Joe Wilm
9d491f9f67 Start implementing copypasta, a clipboard library
Currently it only supports x11 via the xclip program, and that only
supports reading the clipboard contents.
2016-10-08 18:42:33 -07:00