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
Kovid Goyal
f85c050235
Get background_opacity working, at the cost of breaking negative z-index image rendering.
...
Image rendering will need to use an FBO since OpenGL cannot do proper alpha compositing.
As a first step, the interleaved shaders now generate premultiplied colors as opengl can only alpha blend pre-multipled colors
2017-12-01 12:16:14 +05:30
Kovid Goyal
fe214f43cb
Set _NET_STARTUP_ID before the window is mapped
2017-12-01 12:16:14 +05:30
Kovid Goyal
d9b0b5c08f
oops, forgot one place to enable GL_BLEND
2017-12-01 12:16:14 +05:30
Kovid Goyal
a561697f04
No need for GL_BLEND while drawing background colors
2017-12-01 12:16:14 +05:30
Kovid Goyal
bbc140e020
Only enable GL_BLEND when actually needed
2017-12-01 12:16:14 +05:30
Kovid Goyal
2bcbcfff44
Start work on background opacity
2017-12-01 12:16:14 +05:30
Kovid Goyal
1fb81d2265
Fix incorrect blending of foreground and background colors when negative z-index images are present
...
Also optimize the blending calculation a bit by using the mix() function
and just adding the text and strike alphas.
2017-12-01 12:16:14 +05:30
Kovid Goyal
3b4a242e26
Fix sprites uniform not being initialized when using layered rendering
...
Had no actual bad effects since it is initialized to zero anyway
2017-12-01 12:16:14 +05:30
Kovid Goyal
b8937bc151
Only use wayland if a special env var is present
...
wayland is currently fairly broken. No window decorations and no key
auto-repeat.
2017-12-01 12:16:14 +05:30
Kovid Goyal
b3de442116
pretty colors
2017-12-01 12:16:14 +05:30
Kovid Goyal
fb797d7735
...
2017-12-01 12:16:14 +05:30
Kovid Goyal
982a9320c5
Final fixes needed for wayland building
...
kitty now runs under wayland again
2017-12-01 12:16:13 +05:30
Kovid Goyal
47dec2c2e9
Dynamic detection of wayland
2017-12-01 12:16:13 +05:30
Kovid Goyal
eb8f4e0b3c
isosx -> is_macos
2017-12-01 12:16:13 +05:30