1487 Commits

Author SHA1 Message Date
Kovid Goyal
7080168bdd Improved formatting 2017-02-10 11:42:20 +05:30
Kovid Goyal
48a2a395c4 Spec for extended keyboard protocol 2017-02-10 11:34:38 +05:30
Kovid Goyal
b6c0eb0909 ... 2017-02-10 09:47:46 +05:30
Kovid Goyal
b9a2524992 Add a link to the issue for graphics rendering 2017-02-10 09:45:41 +05:30
Kovid Goyal
28f0dc1e51 oops 2017-02-10 01:12:07 +05:30
Kovid Goyal
cbe599735c Allow overriding individual configuration options on the command line 2017-02-10 00:48:17 +05:30
Kovid Goyal
e012e9459d pep8 2017-02-10 00:34:53 +05:30
Kovid Goyal
eb71799b42 Allow specifying multiple config files
Can be used to create a "base" profile and then modify only a few
settings in different config files, that are merged when read.
2017-02-10 00:31:00 +05:30
Kovid Goyal
fe3f0932ea pep8 2017-02-10 00:23:35 +05:30
Kovid Goyal
783717b8a4 pep8 2017-02-10 00:04:05 +05:30
Kovid Goyal
bb37516d6f Add a note to the README about kitty's font control features 2017-02-09 21:38:05 +05:30
Kovid Goyal
6c6f000229 Implement symbol maps
A config option to use special fonts for specified unicode characters.
Useful for things like Powerline without needing patched fonts.
2017-02-09 21:15:53 +05:30
Kovid Goyal
a4715de5dc Fix tab bar borders not being blanked 2017-02-09 17:34:56 +05:30
Kovid Goyal
cbf0959fbf Fix tab bar not being rendered after first new tab is created 2017-02-09 17:02:02 +05:30
Kovid Goyal
49c81da763 Adjust rescale threshold 2017-02-09 13:38:19 +05:30
Kovid Goyal
7e34807859 Linux: use only advances for calculating cell sizes
There are apparently monospace fonts whose characters are not actually
monospaced when rendered, for example, Liberation Mono. It has
characters that when rendered result in bitmaps wider than the advance.

So we use only the advance as that is what most linux software seems to
do. Fixes #47
2017-02-09 13:36:44 +05:30
Kovid Goyal
e2ac9ec118 Fix building on OS X 2017-02-09 09:18:41 +05:30
Kovid Goyal
c58be6ddf5 A spot of refactoring 2017-02-08 22:24:58 +05:30
Kovid Goyal
b9b15d41f4 Explicitly depend only on fontconfig since it in turn depends on freetype 2017-02-08 21:59:05 +05:30
Kovid Goyal
dea60cdaf0 Forgot to also catch KeyError 2017-02-08 21:57:39 +05:30
Kovid Goyal
02ef3c6dc8 Linux: Use libfontconfig directly instead of calling fc-match
There are apparently some linux systems out there with versions of
fontconfig that do not understanf the :charset query when passed to
fc-match. See #46
2017-02-08 21:52:10 +05:30
Kovid Goyal
882a4f2ab3 Linux: Add support for .ttc files 2017-02-08 21:07:10 +05:30
Kovid Goyal
85e05a447d Linux: Fallback to using bitmapped fonts for characters that are not present in any scalable fonts on the system
Fixes #46
2017-02-08 11:29:24 +05:30
Kovid Goyal
1ff4e9703a Refactor the fontconfig API
Makes it more flexible and DRYer
2017-02-08 10:10:07 +05:30
Kovid Goyal
0b2af7c33a Configure yapf/isort 2017-02-08 09:59:36 +05:30
Kovid Goyal
68115b50a5 Simplification 2017-02-08 09:45:27 +05:30
Kovid Goyal
9aa1d74f83 Linux: Don't crash when fontconfig is unable to find a font for a character.
Instead render it as a missing glyph
2017-02-08 09:32:15 +05:30
Kovid Goyal
4532194b01 ... 2017-02-06 22:18:59 +05:30
Kovid Goyal
ebacb16f67 Compile the launcher with -fpie 2017-02-06 16:19:33 +05:30
Kovid Goyal
585a01fff6 Start out in normal key mode
Matches behavior of xterm
2017-02-05 16:39:40 +05:30
Kovid Goyal
bb7edb5f8f Implement DECRQM
Also add tests for DECRQM and DECCKM
2017-02-05 16:21:13 +05:30
Kovid Goyal
142c883b0c Implement DECCKM 2017-02-05 15:30:16 +05:30
Kovid Goyal
bf3f6f6014 Add a note about the availability of the dmg 2017-02-02 16:35:02 +05:30
Kovid Goyal
688d0f74c4 Use print() instead of stdout.buffer.write() 2017-02-02 16:30:53 +05:30
Kovid Goyal
71b4ea5a60 oops 2017-02-02 16:24:38 +05:30
Kovid Goyal
a26fbd5a1b ... v0.1.0 2017-02-02 16:19:58 +05:30
Kovid Goyal
aff9a5c4f4 Start work on script to publish kitty 2017-02-02 16:19:05 +05:30
Kovid Goyal
3ee99a61ff Make the logo a little nicer 2017-02-02 15:23:46 +05:30
Kovid Goyal
3911f18fd9 Startup in the home directory when launched by launch services 2017-02-02 15:07:13 +05:30
Kovid Goyal
af1f3cc7c7 More robust in bundle launcher
Ignores environment, user settings. Should minimize the chances of
conflict with any other python installations on the system.
2017-02-02 14:26:26 +05:30
Kovid Goyal
543af0dd89 Implement building OS X bundle
In order for @executable_path resolution to work the launcher has
to link against the python dll rather than running the python
executable.
2017-02-02 12:04:52 +05:30
Kovid Goyal
0427f30c2a Improve rendering of italic fonts in linux
Now rather than down-size characters from italic fonts that do not fit
into the cell width, trim the left and right margins to make them fit,
instead.
2017-01-25 20:30:39 +05:30
Kovid Goyal
b4bf0eb794 Anti-alias the powerline box characters 2017-01-24 11:00:29 +05:30
Kovid Goyal
8e324649b7 Allow setting bold/italic font variants individually 2017-01-24 09:03:04 +05:30
Kovid Goyal
def51f856b Pass all opts to set_font_family
Makes it easier to specialize based on more opts in the future
2017-01-24 08:41:32 +05:30
Kovid Goyal
598c5d313b A better (I hope) cell height calculation on OS X
See #42
2017-01-24 08:01:52 +05:30
Kovid Goyal
9f3d6fe0e9 Fix mouse co-ordinates incorrect on OS X retina
Fixes #43
2017-01-24 07:30:57 +05:30
Kovid Goyal
72955afba8 ... 2017-01-23 20:49:28 +05:30
Kovid Goyal
56a0e145e3 Use TIOCGWINSZ to get screen width and height
Better that creating a new escape code, since it is synchronous.
2017-01-23 19:50:12 +05:30
Kovid Goyal
d8545e5c43 Report the window width and height for TIOCSWINSZ
Matches behavior of xterm
2017-01-23 18:41:41 +05:30