Commit Graph
48 Commits
Author SHA1 Message Date
Kovid Goyal 448ba26257 DRYer 2017-05-20 00:58:40 +05:30
Kovid Goyal 1d1138ca31 Be a little more stringent with Xft parsing 2017-05-20 00:26:26 +05:30
Kovid Goyal 357a415386 ... 2017-05-20 00:23:43 +05:30
Kovid Goyal a65856ec98 Use Xlib to directly query the xrm system.Only if it fails do we try to shell out to xrd 2017-05-20 00:21:09 +05:30
Kovid Goyal 83855e16ce On linux query xrdb for Xft.dpi and use that, if set as the logical DPI.
Fall back to the actual physical dpi as returned by GLFW if that fails.
2017-05-19 23:26:09 +05:30
Kovid Goyal 6133fd581a Generate X11 RGB color name table from rgb.txt 2017-05-17 07:38:56 +05:30
Kovid Goyal 0c8231d356 Implement OSC codes for changing cursor colors 2017-05-17 07:10:23 +05:30
Kovid Goyal a66d2b0890 Ensure the extended keyboard protocol key encoding is stable
Also use base85 instead of base64 for keyname encoding to reduce average
length
2017-02-11 10:41:04 +05:30
Kovid Goyal cb5d6547e5 Add an option to use a modern wcwidth() instead of the system one 2017-01-12 19:28:51 +05:30
Kovid Goyal 268560a1c6 Handle OSes that have no native pipe2()
OS X, sigh.
2017-01-12 01:00:05 +05:30
Kovid Goyal dff91759a2 Refactor the cell rendering code for greater re-use
Also start work on CoreText based rendering
2017-01-11 12:02:28 +05:30
Kovid Goyal 0d38a2ea31 Ignore exceptions when printing error messages 2017-01-10 17:17:23 +05:30
Kovid Goyal 07511a5621 Dont use xdpyinfo on OS X
Need to investigate if a separate implementation is needed or if we can
just trust the values from GLFW
2017-01-07 14:30:25 +05:30
Kovid Goyal 1cdd481e00 Dont use xsel on OS X 2017-01-07 13:37:22 +05:30
Kovid Goyal 5f04be365f Make the tab bar colors configurable 2016-12-07 08:44:57 +05:30
Kovid Goyal 63f8fd5929 Implement clicking on URLs to open them 2016-12-01 16:03:32 +05:30
Kovid Goyal f713117908 Get rid of the GLFW ctypes bindings 2016-11-29 20:09:18 +05:30
Kovid Goyal 5ef2c404ce Set primary selection when dragging with mouse 2016-11-29 11:29:39 +05:30
Kovid Goyal b5000c2ec0 Refactor to support multiple windows/tabs 2016-11-26 17:40:28 +05:30
Kovid Goyal abd09464f0 Implement control code to change colors 2016-11-24 16:28:08 +05:30
Kovid Goyal 101afd5031 Switch title handling to use unicode 2016-11-23 20:28:30 +05:30
Kovid Goyal 40d2b59787 Do not use a global variable to store child data 2016-11-21 10:21:17 +05:30
Kovid Goyal e73b30c663 Fix window title not correct 2016-11-18 15:43:09 +05:30
Kovid Goyal 4ac03a0064 Implement parsing of OSC codes 2016-11-18 11:16:17 +05:30
Kovid Goyal 3f93b5353e Only import glfw on demand 2016-11-12 09:08:14 +05:30
Kovid Goyal 0cf57e2afe Always use the C library wcwidth() so that the cursor does not go out of sync 2016-11-05 16:02:16 +05:30
Kovid Goyal c0e078a3fa Explicitly close all fds other than the three std ones before execing() 2016-11-03 19:49:48 +05:30
Kovid Goyal 0e4b846590 Show a nice error message when execing() the child fails 2016-11-03 19:28:57 +05:30
Kovid Goyal a045f4f0e6 Retrieve child exit status before shutting down 2016-11-03 18:04:39 +05:30
Kovid Goyal ca57eb9d05 Use font metrics for wcwidth() 2016-10-25 09:31:28 +05:30
Kovid Goyal 809a833dc5 Code to render character cells 2016-10-24 13:50:24 +05:30
Kovid Goyal 6a23dbe1ec Start work on rendering fonts using FreeType 2016-10-23 23:12:00 +05:30
Kovid Goyal 6f81e12041 Start work on migrating to OpenGL based rendering 2016-10-23 21:07:34 +05:30
Kovid Goyal c9167b51fc Nicer syntax for running a non-default program 2016-10-21 08:41:11 +05:30
Kovid Goyal 067662de94 Sanitize title and icon names 2016-10-21 03:53:31 +05:30
Kovid Goyal dd767bdf91 Tighten up dirty_cells() 2016-10-20 14:21:25 +05:30
Kovid Goyal ca30bba165 ... 2016-10-20 13:10:00 +05:30
Kovid Goyal efeb2ebdaa Speed up dirty_cells 2016-10-20 11:13:04 +05:30
Kovid Goyal 0c5f41b2b3 timeit() context manager to measure time for executing a block of code 2016-10-20 09:13:33 +05:30
Kovid Goyal 176676aadd Wrong argument order for TIOCSWINSZ 2016-10-20 08:18:20 +05:30
Kovid Goyal 3ae0e4e5ac Add support for unicode combining chars and wide chars 2016-10-18 20:30:18 +05:30
Kovid Goyal 63d228f21b ... 2016-10-18 09:26:54 +05:30
Kovid Goyal cca33a5550 Ensure terminfo definition is available to child process 2016-10-17 23:12:29 +05:30
Kovid Goyal f345ac1bdd A function to efficiently check for the common case pure ascii strings 2016-10-17 09:11:10 +05:30
Kovid Goyal 3bc7fc1933 Use lib wcwidth() when Qt not available 2016-10-17 08:54:11 +05:30
Kovid Goyal f7eaf3fee5 Implement writing to child process 2016-10-16 19:38:35 +05:30
Kovid Goyal 29ba13835a Run the child process 2016-10-16 17:59:19 +05:30
Kovid Goyal 0259d88f37 Start work on screen implementation 2016-10-16 16:41:10 +05:30