2307 Commits

Author SHA1 Message Date
Kovid Goyal
01324a7ad2
Reduce the rescale threshold from 133% to 125% 2017-12-05 23:32:40 +05:30
Kovid Goyal
122ad8a1f8
Detect if a freetype font has color tables 2017-12-05 23:31:26 +05:30
Kovid Goyal
138bfcf2a8
Fix key-presses mapped to CSI codes not respecting SC81t mode 2017-12-05 20:21:13 +05:30
Kovid Goyal
c95418a947
Remove unused code 2017-12-05 20:21:13 +05:30
Kovid Goyal
b191727567
Some simple tests for sc81t 2017-12-05 20:21:12 +05:30
Kovid Goyal
c17c6cae4c
Support S8C1T mode
That is, eight bit control codes. When in S8C1T mode, kitty will send
only eight bit control codes to the client.
2017-12-05 20:21:12 +05:30
Kovid Goyal
ed9b332da5
Add an option to control the underline style for highlighting URLs on mouse over 2017-12-05 12:28:10 +05:30
Kovid Goyal
e8441ce697
Ensure double underline is gapped even when underline thickness is less than three pixels 2017-12-05 11:42:35 +05:30
Kovid Goyal
f2d00589d8
Update test to match new set of pre-rendered sprites 2017-12-04 12:41:50 +05:30
Kovid Goyal
e81ba3b207
Change undercurl escape code to 4:x
See https://github.com/neovim/neovim/issues/7479
for discussion. Also implement double underline.
2017-12-04 12:26:50 +05:30
Kovid Goyal
27cd303a05
Centralize code to convert to SGR
Conversion from formatting attributes to SGR now always goes through a
Cursor.
2017-12-04 10:51:06 +05:30
Kovid Goyal
52ecdfe3a9
Fix incorrect termcap query responses
Did not realize that the responses had to be processed via tparm() i.e.
they should be the actual bytes not the textual representation of them.
This broke the backspace key in vim.
2017-12-03 21:34:55 +05:30
Kovid Goyal
70f71e8ada
Fix #211 2017-12-03 00:30:11 +05:30
Kovid Goyal
d12063daad
Add configurable shortcuts to go to a tab by number
Fixes #208
2017-12-02 16:31:40 +05:30
Kovid Goyal
b9798c74d4
Support for DCS status and capabilities reporting codes 2017-12-02 14:35:06 +05:30
Kovid Goyal
c12bce3d2f
Respond to OSC color query escape codes 2017-12-01 21:02:30 +05:30
Kovid Goyal
73b501c961
Make color parsing a little more robust
Add a few tests for it
2017-12-01 20:02:47 +05:30
Kovid Goyal
08079ad889
Update README on layouts 2017-12-01 12:23:57 +05:30
Kovid Goyal
b4509e341a
Update glfw 2017-12-01 12:16:18 +05:30
Kovid Goyal
08ee77d11c
Allow D&D of files into kitty
Fixes #206
2017-12-01 12:16:17 +05:30
Kovid Goyal
868c1d634b
Apparently libunistring is already installed by brew 2017-12-01 12:16:17 +05:30
Kovid Goyal
ccc67b66c4
Add more options to customize the tab-bar
Fixes #203
2017-12-01 12:16:17 +05:30
Kovid Goyal
a0702f4a97
Add an option to set the window title
Fixes #201
2017-12-01 12:16:17 +05:30
Kovid Goyal
cada4a8ca8
Move changelog entries 2017-12-01 12:16:17 +05:30
Kovid Goyal
af69f714b1
Update CHANGELOG 2017-12-01 12:16:17 +05:30
Kovid Goyal
9c135f9f4c
Add a grid window layout
Fixes #192
2017-12-01 12:16:17 +05:30
Kovid Goyal
d1df5ad4e2
Enumerate window layout choices in help 2017-12-01 12:16:17 +05:30
Kovid Goyal
6352f585e8
Fix kitty discarding peer messages in rapid succession 2017-12-01 12:16:17 +05:30
Kovid Goyal
fe3bb92b54
... 2017-12-01 12:16:17 +05:30
Kovid Goyal
59243355f6
... 2017-12-01 12:16:16 +05:30
Kovid Goyal
fd49d17591
Paginate --help output 2017-12-01 12:16:16 +05:30
Kovid Goyal
1d9b36996a
Line wrap --help output 2017-12-01 12:16:16 +05:30
Kovid Goyal
0cac74d39a
Get rid of the horrible argparse
It's slow, bloated and has no support for decent output formatting
2017-12-01 12:16:16 +05:30
Kovid Goyal
fb41ecb2e5
Update bundled glfw 2017-12-01 12:16:16 +05:30
Kovid Goyal
0296d1f9a2
Fix refactor caused cursor visibility to no longer be respected 2017-12-01 12:16:16 +05:30
Kovid Goyal
b51100195a
Dont use FBO's unless absolutely necessary
Negative z-index images dont need FBO based rendering when the
background is opaque. Finishes up support for background_opacity.

Fixes #31
2017-12-01 12:16:16 +05:30
Kovid Goyal
b86e0ef669
Tell the OS we dont use depth and stencil buffers 2017-12-01 12:16:16 +05:30
Kovid Goyal
86e33f739c
Ensure OS windows have both buffers cleared after a resize/on first render 2017-12-01 12:16:16 +05:30
Kovid Goyal
259dcf376c
DRYer 2017-12-01 12:16:16 +05:30
Kovid Goyal
466155fd24
API needed for kitty-bar 2017-12-01 12:16:16 +05:30
Kovid Goyal
452fd71fea
Simplify blit vertex shader
Also fixes rendering on macOS which for some reason was not doing the
texture co-ordinate mapping correctly in the old shader.
2017-12-01 12:16:15 +05:30
Kovid Goyal
da8944b551
... 2017-12-01 12:16:15 +05:30
Kovid Goyal
5e2587920a
Call glViewport in the render loop
Ensure FBOs have correct viewport
2017-12-01 12:16:15 +05:30
Kovid Goyal
7fb48dc04c
... 2017-12-01 12:16:15 +05:30
Kovid Goyal
b8e477c6eb
Clamp the FBO texture 2017-12-01 12:16:15 +05:30
Kovid Goyal
a3b85883f8
Block cursor should not be affected by background_opacity 2017-12-01 12:16:15 +05:30
Kovid Goyal
e1c553e7b2
Wakeup main loop on peer message received 2017-12-01 12:16:15 +05:30
Kovid Goyal
be6151730d
Fix SPECIAL stage in interleaved rendering 2017-12-01 12:16:15 +05:30
Kovid Goyal
444d9536a7
Graphics programs should generate pre-multipled colors in interleaved mode
Also fix a few OpenGL state initialization issues.
2017-12-01 12:16:15 +05:30
Kovid Goyal
ffff343e3d
Work on rendering to FBO 2017-12-01 12:16:15 +05:30