Commit Graph

2024 Commits

Author SHA1 Message Date
Kovid Goyal
ed2e83654f Draw emoji on macOS using CoreText rather than FreeType
Needed because FreeType cannot handle the latest version of the Apple
Color Emoji font, which probably uses SVG-in-OTF instead of SBIX.
Finishes up the color emoji implementation.
2017-12-09 12:01:43 +05:30
Kovid Goyal
ec6dcd53b5 Finish up placement of color emojis
Note that for some reason rendering is broken on Apple
2017-12-09 12:01:43 +05:30
Kovid Goyal
0b6fe99611 Report errors rendering glyphs 2017-12-09 12:01:43 +05:30
Kovid Goyal
03847b15f6 Implement downsampling of color emoji bitmaps
Still need to fix placement of the downsampled bitmaps in the cell
2017-12-09 12:01:43 +05:30
Kovid Goyal
8d7515bd9b Basic color emoji rendering working
Still need to downscale color bitmaps to fit into cells
2017-12-09 12:01:43 +05:30
Kovid Goyal
e4b839742c Add option to control using color emoji or not 2017-12-09 12:01:43 +05:30
Kovid Goyal
f3cdf4194a Prefer color emoji fonts 2017-12-09 12:01:43 +05:30
Kovid Goyal
ef6f4c2fbf Improve fontconfig fallback font queries for emoji 2017-12-09 12:01:43 +05:30
Kovid Goyal
9cda51b5a8 Store sprites in an RGBA texture
Needed to support color emoji
2017-12-09 12:01:42 +05:30
Kovid Goyal
b8093d6b83 ... 2017-12-09 11:28:49 +05:30
Kovid Goyal
ffedc5d170 ... 2017-12-09 11:01:32 +05:30
Kovid Goyal
f223cd4b56 Set use_system_wcwidth to no by default
I am tired of seeing the endless bug reports from people running on
systems with outdated wcwidth() implementations.
2017-12-09 10:53:13 +05:30
Kovid Goyal
111c7fa57c Ensure config file is always decoded as UTF-8 2017-12-08 01:27:35 +05:30
Kovid Goyal
e630abfe7f Revert change to use libpng16
Does not fix the OP's problem.
2017-12-06 21:10:48 +05:30
Kovid Goyal
11b17c09ce Call pkg-config with libpng16 instead of libpng
Should fix compilation on linux systems that have libpng12 as their
default libpng. libpng16 was released over five years ago! Sigh...
Fixes #216
2017-12-06 20:54:46 +05:30
Kovid Goyal
466d96c167 Remove spurious call to Py_DECREF 2017-12-06 10:13:57 +05:30
Kovid Goyal
c90223e4c8 Report unknown CSI r sequences 2017-12-06 00:31:03 +05:30
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