1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-29 16:42:13 +03:00
Commit Graph

45 Commits

Author SHA1 Message Date
Wez Furlong
c47c7c6d1f Apply suggestions from code review 2021-11-09 07:47:57 -08:00
Matt Culpepper
54837a696c Manjaro requires additional base-devel package 2021-11-09 07:47:57 -08:00
Wez Furlong
9f5d0df13a ci: freebsd's bash isn't in /bin 2021-09-17 08:15:23 -07:00
Wez Furlong
e36cf75451 ci: factor out ci/check-rust-version.sh
refs: #1079
2021-09-16 08:54:05 -07:00
Hans Petter Jansson
05fc55a128 get-deps: Zypper needs -l (--auto-agree-with-licenses)
Without this switch, zypper would automatically answer "no" to any
license agreements, halting the update.
2021-09-05 23:30:21 -07:00
HMH
6404099d25
IME support on X11 (#1043)
* WIP: IME support for X11

* Handle text generated by IME.

* Set IME position according to the cursor position.

* Improve IME position handling.

Geometry as well as window focus changes are now handled.

* Dispatch IME strings like it's done on windows.

* Make sure not to silently drop IME errors.

* Respect `use_ime` configuration.

* Add xcb-util as dependency.

* Only update IME position if necessary.

* Formatting.

* Update xcb-imdkit-rs.

* Set IME position under the start of the cursor.

This seems to be the way it is commonly done among gui frameworks.
(Tested with Firefox for GTK and Konsole for QT).

* Update xcb-imdkit-rs.

* Handle systems only providing libxcb-util0-dev.

* Add libxcb to freebsd dependencies.

Required by xcb-imdkit-rs.

* Update xcb-imdkit-rs.

* Try to use more recent gcc on centos7.

* More recent C++ compiler on centos7 as well.

* Also setup correct env on centos7 for tests.
2021-08-19 20:51:56 -07:00
Wez Furlong
38e350e9c8 ErrorKind::Unsupported is rust 1.53 and up
This isn't a hard requirement, but tracking 1.53 doesn't
feel like a burden as 1.54 is now the stable rust version.
2021-07-29 19:50:22 -07:00
Shawn Xu
bf4a64f7d5 move sudo into script to not use sudo for rust checking 2021-04-02 22:36:27 -07:00
Wez Furlong
8a402411f0 get-deps: check min rust version 2021-03-28 20:26:07 -07:00
Wez Furlong
41223e9c1b get-deps: avoid warning when run on macos
refs: #577
2021-03-26 08:30:08 -07:00
volgar1x
cd23515852 openSUSE support (tested on Tumbleweed 20210317) 2021-03-19 08:00:08 -07:00
Wez Furlong
21f3f90e34 x11: remove some dead code 2021-03-09 08:21:23 -08:00
Wez Furlong
de92c0f8e3 add xcb-render for debian
refs: #524
2021-03-08 22:54:25 -08:00
Wez Furlong
381f0e68ef add xcb image for debian, freebsd and arch, maybe
not 100% sure about freebsd and arch

refs: https://github.com/wez/wezterm/issues/524
2021-03-08 22:26:29 -08:00
Wez Furlong
aceb4933a9 x11: load XCursor.theme based cursors when available
This requires `xcb-util-image-devel` on fedora, not sure about debian
or other systems so far.

refs: #524
2021-03-08 22:00:42 -08:00
Wez Furlong
a2f891ad1b remove libdbus/libsystem dependency
Replaces notify-rust with directly calling into the zbus crate.
This provides a pure rust interface to DBUS and provides more
flexible control over notification handling.

closes: #485
2021-02-16 22:27:37 -08:00
Wez Furlong
4e41bbd4e9 deps: speculative fix for #485
libdbus requires libsystemd, so we do too!
2021-02-14 09:30:42 -08:00
Brad Alfirevic
6439435178 Fix get-deps on arch 2021-01-09 15:23:38 -08:00
Wez Furlong
ab54d1f897 Updates for building on Fedora 33 2020-11-29 10:26:11 -08:00
Jeremy Fitzhardinge
cb6b1496bf Don't hard-code architecture in debian package 2020-11-11 20:31:18 -08:00
Wez Furlong
4c9af46179 ci: add freebsd CI 2020-09-09 00:18:26 -07:00
Wez Furlong
76a1300c15 wezterm: teach get-deps about Arch 2020-06-07 10:57:41 -07:00
Wez Furlong
21f3591aed CI: add centos 8 builds 2020-05-04 21:55:23 -07:00
Wez Furlong
8e75ed10ff get-deps: add missing dep for ubuntu 2020-05-03 22:45:10 -07:00
Wez Furlong
ba804589fd Generate builds for more platforms
tweak some container names

fixup container names and regenerate the config

Ensure that curl is installed

the rust toolchain stuff wants curl

run apt update before apt install

centralize updating apt, and install sudo

revise get-deps script for slimmer debian images

more container related tweaks

get-deps: Don't require lsb-release on debianish systems

more get-deps improvements

Explicitly ask GH actions to recursively checkout the repo

Explicitly install git

fetch tags and tweak git build for debian systems

moar adjustments

remove deb8 (its wayland is too old), fixup debian publish

Ensure git build deps are installed always, tidy up sudo usage
2020-05-03 15:11:35 -07:00
Wez Furlong
d5f467513a CI: build rpms for centos 7 2020-02-12 08:30:41 -08:00
Wez Furlong
9596dfd97f Add CI for Fedora 2019-12-29 16:41:28 -08:00
Wez Furlong
8964ebd795 Add ability to build an rpm on Fedora
ci/deploy.sh can now emit an rpm to your `~/rpmbuild/RPMS` dir.
2019-12-29 13:09:53 -08:00
Wez Furlong
09840dd011 notifications: fixup formatting and add to get-deps script 2019-12-04 18:33:36 -08:00
Wez Furlong
4ef20480c5 wayland: implement clipboard
This was honestly a PITA because of its complexity.  The `clipboard`
crate (now dropped as a dep) didn't support wayland, so I looked at
the `smithay-clipboard` crate, which caused all of my input to become
laggy just by enabling it--even without actually copying or pasting!

Both of those crates try to hide a number of details of working with
the clipboard from the embedding application, but that works against
our window crate implementation, so I decided to integrate it into
the window crate using Futures so that the underlying IPC timing and
potential for the peer to flake out are not completely hidden.

This first commit removes the SystemClipboard type from wezterm
and instead bridges the window crate clipboard to the term crate
Clipboard concept.

The clipboard must be associated with a window in order to function
at all on Wayland, to we place the get/set operations in WindowOps.

This commit effectively breaks the keyboard on the other window
environments; will fix those up in follow on commits.
2019-11-29 12:17:52 -08:00
Noe Nieto
a159c28be2 Add PureOS to the list of debian-like OS for dependency installation (#70) 2019-11-25 12:28:08 -08:00
Wez Furlong
8a07a66e97 refine deps on fedora 2019-11-09 19:46:37 -08:00
Wez Furlong
56dc24a1ee hook up paint method for x11 2019-09-15 19:09:08 -07:00
Wez Furlong
7168450896 add rustfmt and packaging steps to azure pipeline 2019-06-22 23:45:58 -07:00
David Soria Parra
158a043a40 get-deps: add libssl-dev 2019-06-16 14:25:31 -07:00
David Soria Parra
7cf91d4658 get-deps: sort list 2019-06-16 14:25:31 -07:00
Wez Furlong
45fa44e0c8 adjust get-deps for recent deps changes
We no longer need freetype or harfbuzz from the system
2019-03-23 15:30:18 -07:00
Stephane Fontaine
9981c2d4eb update .travis.yml with xkbcommon dep 2019-02-23 13:04:39 -08:00
Stephane Fontaine
799b0128f7 Add xkbcommon to dependencies 2019-02-23 13:04:39 -08:00
Wez Furlong
4c39faffbe use the open crate for url clicking 2019-02-18 22:57:40 -08:00
Wez Furlong
d69c718a73 use the clipboard crate
This removes some tricksy code in favor of a third party crate,
which unlocks the clipboard on windows.  I'm not sure how well
this will work on the pure x11 impl yet.
2019-02-17 18:49:22 -08:00
Taron Barber
0ce396f305 add debian support to get-deps
Dependency names on Ubuntu and Debian are identical (only tested on stretch.)
2018-08-04 09:50:18 -07:00
Pádraig Brady
27f1121be2 add Fedora and Centos support to get-deps 2018-02-27 00:09:31 -08:00
Pádraig Brady
984502f3d2 add cmake as a dependency 2018-02-27 00:09:31 -08:00
Wez Furlong
6145667e5d Add get-deps script for installing dependencies 2018-02-25 09:24:56 -08:00