1943 Commits

Author SHA1 Message Date
Kovid Goyal
d1282b9f55
Add a script to generate wcwidth as well
Generated function is more efficient than the implementation from
wcwidth9 and also makes it easy to update when the unicode standard
changes.
2017-12-20 16:18:05 +05:30
Kovid Goyal
11ee317884
Fix some emoji glyphs not colored on Linux
Linux has a plethora of fonts that contain some emoji glyphs. If one of
those fonts is used as a fallback font for a non-emoji character, it
also gets used for emojis -- leading to non-colored emoji. Fix by making
sure the first fallback font is a dedicated emoji font.
2017-12-20 10:40:27 +05:30
Kovid Goyal
e69de2f968
Use the new glfw API for setting WM_CLASS 2017-12-20 09:18:29 +05:30
Kovid Goyal
2f4f3e3331
Update bundled glfw 2017-12-20 09:07:06 +05:30
Kovid Goyal
020f8a2047
Add trailing space test to travis 2017-12-20 08:52:06 +05:30
Kovid Goyal
b8faba2a16
More trailing space removal 2017-12-20 08:50:09 +05:30
Kovid Goyal
0fcce6ec58
Remove trailing whitespace from native code files 2017-12-20 08:44:47 +05:30
Kovid Goyal
15f5ea92b8
Merge branch 'master' of https://github.com/FabioLolix/kitty 2017-12-20 08:24:20 +05:30
FabioLolix
2bbb5d25eb Updated readme 2017-12-20 00:12:58 +01:00
Kovid Goyal
8d94285a5d
Ensure underlines are rendered even for fonts with very poor metrics
Fixes #236
2017-12-19 00:54:04 +05:30
Kovid Goyal
eed11361c5
Fix typo in config directory override env var 2017-12-18 06:59:19 +05:30
Kovid Goyal
b759f96f96
version 0.6.0 v0.6.0 2017-12-18 06:39:55 +05:30
Kovid Goyal
df3342d121
Update CHANGELOG 2017-12-18 06:28:57 +05:30
Kovid Goyal
862ed40c44
Update CHANGELOG 2017-12-18 06:26:16 +05:30
Kovid Goyal
8018024cb7
Fix middle and right mouse button swapped
Fixes #235
2017-12-18 05:48:51 +05:30
Kovid Goyal
c8d5f232b3
Some documentation for the kitty extensions to DECCARA 2017-12-17 18:13:39 +05:30
Kovid Goyal
d48b76508b
Implement DECCARA
Ability to set text attributes/colors in arbitrary screen regions,
instead of working via the cursor. Note that kitty extends the original
DECCARA spec from the VT-510 to allow setting all supported SGR
attributes.
2017-12-17 18:03:39 +05:30
Kovid Goyal
2d62e10a7e
... 2017-12-16 15:40:09 +05:30
Kovid Goyal
0b3a5a7d45
icat: Add --clear to clear all display images 2017-12-16 10:33:16 +05:30
Kovid Goyal
076658a1e8
Possible fix for crash reported in #233 2017-12-16 10:23:12 +05:30
Kovid Goyal
be1a05b322
... 2017-12-16 10:22:03 +05:30
Kovid Goyal
945613555a
icat: Add option to display image at arbitrary location on screen
Fixes #228
2017-12-16 09:45:49 +05:30
Kovid Goyal
5f75becc5a
Add note about creating launcher app for running kitty from source 2017-12-16 09:29:19 +05:30
Kovid Goyal
51ac78f74d
X11: Set the WINDOWID environment variable
Fixes #232
2017-12-16 08:57:52 +05:30
Kovid Goyal
3cce9b1c38
... 2017-12-16 08:54:55 +05:30
Kovid Goyal
8a9ee6f3f5
... 2017-12-15 16:32:28 +05:30
Kovid Goyal
d3059c09e0
Nicer CLI help output 2017-12-15 14:49:42 +05:30
Kovid Goyal
1f093b4ff2
icat: Add an option to only detect image display support 2017-12-15 14:06:41 +05:30
Kovid Goyal
50470b5747
icat: Add --transfer-mode option
Explicitly control the transfer mode instead of auto-detecting
2017-12-15 13:34:39 +05:30
Kovid Goyal
304f21e79d
icat: Fix temp files not being deleted when transmitting using escape codes 2017-12-15 13:18:18 +05:30
Kovid Goyal
cb04deef63
icat: Add a command line argument for horizontal alignment 2017-12-15 13:08:27 +05:30
Kovid Goyal
ddb2e41352
Get rid of argparse from kitty-icat as well 2017-12-15 12:35:30 +05:30
Kovid Goyal
a6700c951a
Also filter 8-bit control sequences when sanitizing 2017-12-15 09:36:45 +05:30
Kovid Goyal
684a2e05f4
Move logical DPI calculation into glfw module
Now DPI state is maintained in only one central place.
2017-12-14 18:30:53 +05:30
Kovid Goyal
c7e1a12eb6
Have pt_to_px use global_state instead of get_dpi
DRYer and reduces code size
2017-12-14 18:04:10 +05:30
Kovid Goyal
ce7be5a05e
Fix #226 2017-12-14 06:42:52 +05:30
Kovid Goyal
433640de84
Support running on the "low power" GPU on dual GPU macOS machines
Fixes #136
2017-12-14 06:14:22 +05:30
Kovid Goyal
7f19424f2d
Fix for kitty sometimes not detecting child death on macOS 2017-12-13 22:20:11 +05:30
Kovid Goyal
b9d0ec0d4c
CoreText: Use the layout engine to calculate cell height
Slower, but hopefully more accurate, since it takes into account
whatever kludges Apple is currently using to calculate line height
in its applications.
2017-12-13 14:12:23 +05:30
Kovid Goyal
869abc4d5c
... 2017-12-13 14:05:01 +05:30
Kovid Goyal
872118fcbe
CoreText: Fix incorrect underline position and thickness calculation 2017-12-13 13:59:11 +05:30
Kovid Goyal
da0309545e
Ensure bounds in add_line() 2017-12-13 13:46:28 +05:30
Kovid Goyal
54b802f1e6
Ensure bounds in add_dline() 2017-12-13 13:45:11 +05:30
Kovid Goyal
d097403a12
Implement select-by-rectangle when holding down Ctrl+Alt
Fixes #225
2017-12-13 13:26:55 +05:30
Kovid Goyal
c81a8216dc
Limit the max number of lines to extend URLs over 2017-12-13 12:18:35 +05:30
Kovid Goyal
95683c658b
When hovering over a URL, highlight the URL fully even if it continues over multiple lines. Note that URL detection has not changed. A URL will be detected only if the mouse hovers over the line containing the start of the URL. 2017-12-13 11:11:13 +05:30
Kovid Goyal
d25c0d42bc
CoreText: Ensure cell_width and cell_height are never zero 2017-12-13 09:35:50 +05:30
Kovid Goyal
77f0328f4f
Ensure mouse cursor is in default state when focus is switched to the OSWindow 2017-12-13 08:54:11 +05:30
Kovid Goyal
a1b4f7c92d
Fix COreText leak on exit 2017-12-13 08:27:33 +05:30
Kovid Goyal
47704f24c1
CoreText: Get rid of the line height fudge factor
It was leading to larger line heights than in iTerm on High Sierra with
Menlo. Also as per Apple documentation, line height should be ascent +
descent + leading.
https://developer.apple.com/library/content/documentation/TextFonts/Conceptual/CocoaTextArchitecture/TypoFeatures/TextSystemFeatures.html
2017-12-13 08:22:26 +05:30