Wez Furlong
8bfd92bbfc
move clipboard out from old guicommon module
2019-10-27 23:31:44 -07:00
Wez Furlong
4cb74e68dd
remove winit/glutin based frontend
2019-10-27 23:31:44 -07:00
Wez Furlong
66f5f6842d
implement window size changing when the font scaling is changed on windows
2019-10-27 18:13:02 -07:00
Wez Furlong
c5d9766d50
x11: implement window resizing when font scaling changes
2019-10-27 17:58:37 -07:00
Wez Furlong
4e01dec636
font scaling now also resizes the window for opengl+software frontend
2019-10-27 17:48:02 -07:00
Wez Furlong
fd8738ea0e
window: macos: rewrite Del to Backspace
...
this is more appropriate for vim
2019-10-27 16:33:48 -07:00
Wez Furlong
91b56abb3a
confirmed that the descender emoji thing is macos specific
...
so let's avoid doing it on linux and windows
2019-10-27 15:20:18 -07:00
Wez Furlong
a0f6db85cb
tweak color emoji descender handling
2019-10-27 13:44:06 -07:00
Wez Furlong
4116d7d523
remove byte-swapping workaround for opengl
...
We handle this with a temporary buffer for the upload, which is
a little gross but avoids leaking that implementation aspect
out to the rest of the code.
2019-10-27 10:07:14 -07:00
Wez Furlong
3a7f4cdff2
explicitly select a 24-bit visual on x11
2019-10-27 09:07:52 -07:00
Wez Furlong
04d6fed848
fixup tests for recent api changes
2019-10-27 09:04:42 -07:00
Wez Furlong
b0438bd533
fix bgra vs rgba for opengl vs software render for iterm2 style images
2019-10-27 00:21:58 -07:00
Wez Furlong
1ea9f305e2
hook up iterm2 style images to the opengl renderer
2019-10-27 00:14:36 -07:00
Wez Furlong
12e71a594a
teach the terminalstate about pixel sizes
...
This allows more accurate slicing of images when processing
iterm2 image sequences
2019-10-26 23:58:39 -07:00
Wez Furlong
d97a84f984
render iterm2 image protocol in the software renderer
...
This is still a bit rough because the terminal parser doesn't
understand the pixel sizes, so it relies on the hard coded
cell dimensions being accurate.
2019-10-26 23:30:39 -07:00
Wez Furlong
0170d1623a
clarify vertex indices
2019-10-26 17:39:46 -07:00
Wez Furlong
d4bfdce8c4
DRY with DrawParameters
2019-10-26 17:15:36 -07:00
Wez Furlong
f1172c6272
fix issue where resizing can lead to stair effect
...
The column count didn't match the pty size col count for some partial
cell width sizes.
2019-10-26 17:11:22 -07:00
Wez Furlong
833d76185f
factor quad out of termwindow.rs
2019-10-26 17:02:59 -07:00
Wez Furlong
3ce3399bde
move renderstate out of termwindow.rs
2019-10-26 16:59:53 -07:00
Wez Furlong
e69ad44dcb
move utilsprites out of termwindow.rs
2019-10-26 16:39:58 -07:00
Wez Furlong
412be60e2e
move glyphcache out of termwindow.rs
2019-10-26 16:31:53 -07:00
Wez Furlong
4ce8e1dfc9
remove empty file that was accidentally committed
2019-10-26 16:06:38 -07:00
Wez Furlong
aff6016493
remove force-fontconfig feature
2019-10-26 14:43:30 -07:00
Wez Furlong
55dd7acad3
remove x11 frontend
...
It has been superseded by the newer opengl->software frontend
2019-10-26 14:42:27 -07:00
Wez Furlong
4a798d241e
fix bottom adjust calculation
2019-10-26 14:09:40 -07:00
Wez Furlong
6692302d1f
eliminate a local variable
2019-10-26 13:26:14 -07:00
Wez Furlong
71b4f52e5e
clippy
2019-10-26 13:22:16 -07:00
Wez Furlong
9189014fc9
simplify glyph scaling computation
2019-10-26 13:06:52 -07:00
Wez Furlong
702fff7ab7
opengl uses different byteorder than our software renderer
...
so we need to byte swap depending on whether we are using opengl
or not.
2019-10-26 12:57:20 -07:00
Wez Furlong
c30ffc2226
prevent terminal from sizing to 0 rows or cols
2019-10-26 12:36:18 -07:00
Wez Furlong
c7202af08f
fix default frontend on linux when winit is disabled
2019-10-26 12:32:59 -07:00
Wez Furlong
9f3445a82c
make mio dep enable-winit specific
2019-10-26 10:36:40 -07:00
Wez Furlong
dba125c0ff
remove unused foreign-types dep
2019-10-26 10:30:48 -07:00
Wez Furlong
887cbb8e5d
factor keyassignment out from winit feature module
2019-10-26 10:25:06 -07:00
Wez Furlong
552368a0cf
suppress warnings when enable-winit is not enabled
2019-10-26 10:13:14 -07:00
Wez Furlong
88e97ce5f4
allow disabling winit in the x11 build
2019-10-26 09:56:27 -07:00
Wez Furlong
95d3fb7aeb
start making it possible not to build winit+glutin
2019-10-26 09:51:29 -07:00
Wez Furlong
ba56a86201
remove direct gl dependency
2019-10-26 09:33:31 -07:00
Wez Furlong
96911c8d28
move timing logging to debug
2019-10-26 08:39:43 -07:00
Wez Furlong
b318c43bfe
add Quad helper to simplify opengl renderer
2019-10-26 08:22:35 -07:00
Wez Furlong
bc4373c3ff
implement underlines in the new renderer
2019-10-26 07:50:14 -07:00
Wez Furlong
b9add8e3d4
compute better underlines using font metrics
2019-10-25 23:10:08 -07:00
Wez Furlong
f732f07ddc
print gl implementation details when initializing
2019-10-25 21:45:27 -07:00
Wez Furlong
3ca3b3196e
clean up process death detection on windows w/ new frontend
2019-10-25 08:26:38 -07:00
Wez Furlong
fc918c2f4d
don't panic when minimizing the window on Windows
...
closes: https://github.com/wez/wezterm/issues/45
2019-10-25 07:20:21 -07:00
Wez Furlong
1196f2bbf7
GH actions: fix os for package_posix.yml
2019-10-25 06:33:45 -07:00
Wez Furlong
4392d0abbf
GH actions: run packaging concurrently with regular tests
2019-10-25 06:18:34 -07:00
Wez Furlong
59d9d1797a
GH actions: add badges to readme
2019-10-25 00:00:09 -07:00
Wez Furlong
28a927f0b4
GH actions: add xz tarball to linux artifact download
2019-10-24 23:55:25 -07:00