Commit Graph

1292 Commits

Author SHA1 Message Date
Kovid Goyal
8e64895c23 Framework for testing graphics command parsing 2017-09-30 13:51:47 +05:30
Kovid Goyal
967e65e150 Use a static b64 decoding table 2017-09-30 13:51:47 +05:30
Kovid Goyal
9f5d731d8d ... 2017-09-30 13:51:47 +05:30
Kovid Goyal
ef312a3d1c ... 2017-09-30 13:51:47 +05:30
Kovid Goyal
705298737a Fix off by one 2017-09-30 13:51:47 +05:30
Kovid Goyal
a7b95f73be Cleanup handling of ,; in the GR control code parser 2017-09-30 13:51:46 +05:30
Kovid Goyal
a9ed44eecc Implement decoding of graphics command payload 2017-09-30 13:51:46 +05:30
Kovid Goyal
b8d9629ee4 Start work on parsing of graphics escape code 2017-09-30 13:51:46 +05:30
Kovid Goyal
5b24d51fcd Fix failing screen resize test
Take into account the index that now happens to ensure that
the cursor is on a new line.
2017-09-30 13:51:35 +05:30
Kovid Goyal
e832524bfc Ensure cursor is on a blank line after a resize 2017-09-30 13:25:31 +05:30
Kovid Goyal
a783325464 Nicer parsing of dependencies file 2017-09-30 12:25:03 +05:30
Kovid Goyal
af99c172fe Use dependency mapping when doing incremental builds 2017-09-30 12:18:08 +05:30
Kovid Goyal
b5b9a7ba6d Fix compilation with clang 2017-09-30 11:56:30 +05:30
Kovid Goyal
2909fddaa2 Split out GL API wrapping code into its own header 2017-09-30 11:48:52 +05:30
Kovid Goyal
7863857b2c Use a UBO for all cell program uniforms 2017-09-30 11:44:44 +05:30
Kovid Goyal
b28cec3236 Give Face objects a nice __repr__ 2017-09-30 08:01:04 +05:30
Kovid Goyal
55498b5a44 Avoid unnecessary calls to glBindTexture 2017-09-30 07:00:46 +05:30
Kovid Goyal
8d03d7216f Do not crash when failing to render a glyph, instead render the missing glyph and print an error msg to stderr 2017-09-29 11:57:17 +05:30
Kovid Goyal
7ddaa70498 Cleanup freetype library on exit 2017-09-28 11:22:18 +05:30
Kovid Goyal
150ffab72d finalize the fontconfig library on exit 2017-09-28 11:06:56 +05:30
Kovid Goyal
cda385b37c Fix #132 2017-09-28 10:01:08 +05:30
Kovid Goyal
28146a4e9c Proper fix for sending constant uniform to cell program 2017-09-28 09:55:17 +05:30
Kovid Goyal
0ad9149ca8 Avoid one more call to set uniforms 2017-09-26 11:27:04 +05:30
Kovid Goyal
f9972bc33c ... 2017-09-26 09:13:50 +05:30
Kovid Goyal
e6cff1e9b6 Fix #130 2017-09-26 09:10:24 +05:30
Kovid Goyal
c64527c333 Fix #129 2017-09-26 08:22:26 +05:30
Kovid Goyal
9cfc19e010 Dont shadow the glfw global mouse state variable 2017-09-25 22:00:00 +05:30
Kovid Goyal
af971af4ca Remove unused code 2017-09-25 21:59:52 +05:30
Kovid Goyal
3471887817 ... 2017-09-25 18:05:25 +05:30
Kovid Goyal
cd88505ca7 Fix #120 2017-09-25 17:47:30 +05:30
Kovid Goyal
3ca45ab241 Fix cursor moving one line up when resizing 2017-09-20 10:59:31 +05:30
Kovid Goyal
564f19d248 ... 2017-09-19 11:17:17 +05:30
Kovid Goyal
5622efb710 Add a CHANGELOG 2017-09-19 10:33:23 +05:30
Kovid Goyal
a857a35348 Unhide mouse cursor on focus in 2017-09-18 20:28:55 +05:30
Kovid Goyal
93ca469d85 Only set the glfw error callback immediately before initializing glfw
Avoids spurious glfw not initialized error messages in case fo
exceptions that occur before the call to init
2017-09-18 08:46:25 +05:30
Kovid Goyal
1e01c2a07c Remove unused code 2017-09-18 08:40:37 +05:30
Kovid Goyal
efaee69486 Fix detection of glfinithintstring 2017-09-18 08:40:02 +05:30
Kovid Goyal
558e4af3c6 Make the curly underline a bit thicker 2017-09-17 21:09:30 +05:30
Kovid Goyal
8490457cab ... 2017-09-17 21:01:50 +05:30
Kovid Goyal
6585c11808 Make the curly underline an actual curl 2017-09-17 20:30:36 +05:30
Kovid Goyal
142cba54b3 DRYer 2017-09-17 19:36:47 +05:30
Kovid Goyal
19b065b6a4 Fix underline not being set to background color when cursor is over it 2017-09-17 19:28:01 +05:30
Kovid Goyal
826a64c8dc Fix wide cursor not being rendered 2017-09-17 19:23:01 +05:30
Kovid Goyal
14103db2ee Coalesce another couple of uniforms 2017-09-17 18:10:32 +05:30
Kovid Goyal
51d037fb70 Coalesce a couple of set uniform calls into a single one 2017-09-17 17:48:42 +05:30
Kovid Goyal
b433380e1d Make the cell shader a little more readable 2017-09-17 17:38:03 +05:30
Kovid Goyal
df4df76d24 Switch to using an opaque block cursor
The text is rendered in the background color on top of the opaque
block cursor. We use the background color since applications can change
both cursor and background colors, so it is up to the application to
ensure the colors have good contrast. Fix #126
2017-09-17 13:03:02 +05:30
Kovid Goyal
2d0c6a43c5 Fix broken reverse video 2017-09-16 17:39:07 +05:30
Kovid Goyal
0307497e06 Fix broken scrolling 2017-09-16 17:11:30 +05:30
Kovid Goyal
bc1de92534 Fix the broken tests 2017-09-16 17:05:58 +05:30