Commit Graph
1431 Commits
Author SHA1 Message Date
Kovid Goyal 199d5b34a4 Add note about needing High Sierra for graphics 2017-10-16 22:04:05 +05:30
Kovid Goyal 48b98c583e Fix incorrect scrolling of images with specified number of rows 2017-10-16 22:02:55 +05:30
Kovid Goyal 090ee5b846 Disable graphics on older macOS machines
I give up, trying to work around Apple's buggy drivers without even
having a machine to test my workarounds on is too hard. Simply disable
graphics on macOS < 10.13

Fixes #141
2017-10-16 21:23:29 +05:30
Kovid Goyal 55db07c79f Only display Lenna if she exists in the gr script 2017-10-16 18:52:17 +05:30
Kovid Goyal 75e84a4519 Let the gr.pt script run with python2 as well 2017-10-16 18:50:57 +05:30
Kovid Goyal e679fa9a1c Possible fix for #141
Presumably on older macOS versions the Apple OpenGL drivers cannot handle both
non-sequential and non-zero based binding locations. Sigh.
2017-10-16 18:39:49 +05:30
Kovid Goyal 6f0922d5e3 Merge branch 'master' of https://github.com/eldentyrell/kitty
Fix #143
2017-10-16 16:57:51 +05:30
Elden Tyrell 4663133871 correct off-by-one error in initial tabstops so emacs renders properly 2017-10-16 03:50:11 -07:00
Kovid Goyal 3f8b2184a6 Add a sanity check to ensure the attribute location binding worked 2017-10-13 10:06:12 +05:30
Kovid Goyal 2f7e517b5b Update comment to reflect code 2017-10-12 16:51:35 +05:30
Kovid Goyal f2e8877032 ... 2017-10-12 16:10:19 +05:30
Kovid Goyal 555409ea73 Apple's OpenGL drivers are sad
Apparently they cant handle non-sequential binding locations. Sigh.
2017-10-12 15:36:38 +05:30
Kovid Goyal 30baf81858 Fix #140 2017-10-12 12:58:38 +05:30
Kovid Goyal 76a591e7d1 ... 2017-10-10 11:34:19 +05:30
Kovid Goyal 57d16a02c0 Update changelog and add some performance comparisons 2017-10-10 09:21:42 +05:30
Kovid Goyal 5c55502946 ... 2017-10-09 15:22:38 +05:30
Kovid Goyal ef7fa507fb ... 2017-10-09 15:21:33 +05:30
Kovid Goyal 1ceefde2d0 Graphics rendering is now merged into master!
Fix #33
2017-10-09 15:20:15 +05:30
Kovid Goyal 94eaaae4a6 Handle font size changes, rescaling images 2017-10-09 15:15:13 +05:30
Kovid Goyal 3cce238b2b Relayout images on screen resizes
The strategy is very simple, images are not rescaled or re-positioned in
any way.
2017-10-09 12:43:37 +05:30
Kovid Goyal f9b52249d1 Remove unused code 2017-10-09 11:58:25 +05:30
Kovid Goyal f396fe59ca Implement a quota for image data 2017-10-09 11:31:57 +05:30
Kovid Goyal b4b6968e07 Clear the alt screen graphics buffer when switching away from it as well as to it 2017-10-08 23:14:56 +05:30
Kovid Goyal 747f7b076d Implement control code for deleting images 2017-10-08 22:51:00 +05:30
Kovid Goyal 3f9f5ae076 DRYer 2017-10-08 11:48:23 +05:30
Kovid Goyal 2058682d1f ... 2017-10-08 11:46:10 +05:30
Kovid Goyal 201ac973e3 Make clear as also delete images 2017-10-07 16:43:17 +05:30
Kovid Goyal df87c051bd Add a note about the optional dep on ImageMagick for icat 2017-10-07 11:55:45 +05:30
Kovid Goyal f76077a45c icat: switch to ImageMagick and also add support for local client speedup by using a file to transmit the data 2017-10-07 11:46:00 +05:30
Kovid Goyal 836e9d98b4 Forgot to actually switch grman on buffer switch 2017-10-07 10:12:16 +05:30
Kovid Goyal d5088a3e5b Do image clipping using OpenGL rather than on the CPU 2017-10-07 10:08:26 +05:30
Kovid Goyal 3a344d86fe Add graphics protocol detection to icat.py 2017-10-07 09:01:31 +05:30
Kovid Goyal 6a65f23f98 Add a a=q mode for querying without storing image data 2017-10-06 23:43:42 +05:30
Kovid Goyal 9e284442e8 ... 2017-10-06 23:11:14 +05:30
Kovid Goyal 135358423c Remove use of random data in the tests 2017-10-06 22:52:50 +05:30
Kovid Goyal 31173245f8 Send ACKs to client when displaying images by id 2017-10-06 22:39:17 +05:30
Kovid Goyal ad5a276ddb Fix test broken by clipping of images to screen area 2017-10-06 22:34:21 +05:30
Kovid Goyal 4bc852e615 A spot of refacatoring 2017-10-06 21:36:54 +05:30
Kovid Goyal d4e493727e Clip all rendered images to screen boundaries 2017-10-06 21:22:52 +05:30
Kovid Goyal 8d3ec7451b typo 2017-10-06 21:14:39 +05:30
Kovid Goyal 652e1084bc ... 2017-10-06 21:10:45 +05:30
Kovid Goyal a9d31541c1 Implement clipped scrolling of images when in page area mode 2017-10-06 21:08:10 +05:30
Kovid Goyal 480645877a Clear graphics when switching to the alternate screen buffer 2017-10-05 23:01:47 +05:30
Kovid Goyal 600bff73d6 Off-by-one for image visibility testing
Also delete all images that overlap the screen on reset
2017-10-05 22:54:52 +05:30
Kovid Goyal 1c9612bd55 Turn on LTO for release builds 2017-10-05 21:18:21 +05:30
Kovid Goyal 259e01e879 Add test for deleting images after they scroll off 2017-10-05 21:14:56 +05:30
Kovid Goyal 240c9b5d8b A spot of refactoring 2017-10-05 20:54:45 +05:30
Kovid Goyal 689227dce4 Scroll images with text 2017-10-05 20:23:32 +05:30
Kovid Goyal a4e7985fb0 Condition on negative refs as well as in the future we will use interleaved drawing for background opacity as well 2017-10-05 18:21:29 +05:30
Kovid Goyal 9bd231c4f9 Note that integers in the protocol are 32-bit 2017-10-05 18:15:10 +05:30