Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | avoid an allocation on every glyph string draw | Jesse Luehrs | 2017-02-12 | 1 | -10/+17 |
| | | | | | probably not super meaningful compared to the cost of the cairo operations, but may as well | ||||
* | optimize drawing sequences of ascii characters | Jesse Luehrs | 2017-02-12 | 1 | -12/+114 |
| | | | | bypasses pango for this common case, which should speed up drawing | ||||
* | only clear the selection if the contents changed | Jesse Luehrs | 2017-02-11 | 1 | -1/+16 |
| | |||||
* | optimize drawing of runs of empty cells | Jesse Luehrs | 2017-02-11 | 1 | -43/+64 |
| | |||||
* | optimize runes_display_continue_string a bit | Jesse Luehrs | 2017-02-11 | 1 | -10/+5 |
| | | | | | continuing is the common case, so this trades two compare+branches for two ORs and a NOT | ||||
* | allow storing reversed start/end for selections | Jesse Luehrs | 2016-06-05 | 1 | -7/+8 |
| | | | | | | | only ensure they're in the right order when pulling the selection text out of it, but leave it reversed otherwise (or else selecting behind the initial starting point will actually move the starting point of the selection, which is wrong) | ||||
* | have the display own the entire selection | Jesse Luehrs | 2016-06-05 | 1 | -0/+29 |
| | | | | rather than just the selection location | ||||
* | fix a memory leak | Jesse Luehrs | 2016-05-10 | 1 | -0/+2 |
| | |||||
* | refactor how submodules are handled | Jesse Luehrs | 2016-05-10 | 1 | -2/+9 |
| | | | | | | let them own their own memory, so that they can free themselves once they exit the loop. also split out the parts of the terminal that we only want to initialize once, even if we open multiple terminal windows | ||||
* | fix rendering of narrow glyphs and glyphs of the wrong height | Jesse Luehrs | 2016-05-10 | 1 | -1/+4 |
| | |||||
* | fix selection rendering | Jesse Luehrs | 2016-05-10 | 1 | -2/+25 |
| | |||||
* | these don't need to be public | Jesse Luehrs | 2016-05-10 | 1 | -60/+62 |
| | |||||
* | fix glyphs in monospace fonts that are mysteriously not monospace | Jesse Luehrs | 2016-05-09 | 1 | -1/+19 |
| | | | | | really i should figure out how to scale these down, but this is sufficient for now | ||||
* | draw entire contiguous strings at a time | Jesse Luehrs | 2016-05-09 | 1 | -53/+127 |
| | | | | a lot faster than drawing all individual glyphs | ||||
* | simplify | Jesse Luehrs | 2016-05-08 | 1 | -12/+11 |
| | |||||
* | simplify | Jesse Luehrs | 2016-05-08 | 1 | -17/+15 |
| | |||||
* | fix redrawing the window under the cursor after it moves | Jesse Luehrs | 2016-05-08 | 1 | -2/+16 |
| | |||||
* | use cairo groups instead of writing the double-buffering code myself | Jesse Luehrs | 2016-05-08 | 1 | -50/+18 |
| | | | | pretty much equivalent, but a lot simpler | ||||
* | stop including term.h in runes.h | Jesse Luehrs | 2016-05-07 | 1 | -0/+1 |
| | |||||
* | use pointer indirection to separate source files even more | Jesse Luehrs | 2016-05-07 | 1 | -44/+45 |
| | |||||
* | be a bit more explicit about dependencies between modules | Jesse Luehrs | 2016-05-07 | 1 | -0/+1 |
| | |||||
* | split up some unnecessary cross-module dependencies | Jesse Luehrs | 2016-05-07 | 1 | -8/+1 |
| | |||||
* | clear the selection if we update the screen | Jesse Luehrs | 2016-05-06 | 1 | -0/+4 |
| | | | | | | | would be nice to only clear it if we update the selected part of the screen, but that's hard currently (we don't know what parts of the screen are updated at any point since we just redraw everything every time anything changes) | ||||
* | track dirty display separate from dirty screen | Jesse Luehrs | 2016-05-06 | 1 | -1/+3 |
| | |||||
* | display the cursor for wide characters properly | Jesse Luehrs | 2016-05-03 | 1 | -5/+10 |
| | |||||
* | use the libvt100 library | Jesse Luehrs | 2015-08-20 | 1 | -13/+74 |
| | |||||
* | draw the selected region as inverse | Jesse Luehrs | 2014-07-04 | 1 | -2/+7 |
| | |||||
* | flush calls draw_screen, not the other way around | Jesse Luehrs | 2014-05-06 | 1 | -1/+0 |
| | |||||
* | more refactoring | Jesse Luehrs | 2014-05-04 | 1 | -42/+54 |
| | |||||
* | refactor | Jesse Luehrs | 2014-05-04 | 1 | -4/+4 |
| | |||||
* | draw the correct size box for the cursor | Jesse Luehrs | 2014-05-04 | 1 | -1/+1 |
| | |||||
* | lift this field access out of a tight loop | Jesse Luehrs | 2014-05-04 | 1 | -4/+5 |
| | |||||
* | refactor to make alternate screens work again | Jesse Luehrs | 2014-05-04 | 1 | -7/+7 |
| | |||||
* | draw the cursor in the right place when scrolling | Jesse Luehrs | 2014-05-04 | 1 | -3/+6 |
| | |||||
* | implement scrolling | Jesse Luehrs | 2014-05-04 | 1 | -1/+1 |
| | |||||
* | keep a scrollback buffer when we scroll down | Jesse Luehrs | 2014-05-04 | 1 | -2/+2 |
| | |||||
* | avoid redrawing when we haven't touched the screen | Jesse Luehrs | 2014-05-02 | 1 | -0/+6 |
| | |||||
* | implement window resizing (again) | Jesse Luehrs | 2014-04-30 | 1 | -6/+1 |
| | |||||
* | move config stuff out to a separate struct | Jesse Luehrs | 2014-04-30 | 1 | -13/+13 |
| | |||||
* | these are no longer used | Jesse Luehrs | 2014-04-28 | 1 | -6/+0 |
| | |||||
* | make the cursor color configurable | Jesse Luehrs | 2014-04-28 | 1 | -3/+0 |
| | |||||
* | stop drawing a transparent cursor | Jesse Luehrs | 2014-04-27 | 1 | -3/+38 |
| | |||||
* | handle wide characters | Jesse Luehrs | 2014-04-25 | 1 | -6/+11 |
| | |||||
* | implement rgb colors | Jesse Luehrs | 2014-04-25 | 1 | -7/+20 |
| | |||||
* | implement inverse | Jesse Luehrs | 2014-04-25 | 1 | -0/+12 |
| | |||||
* | handle bold_is_bright | Jesse Luehrs | 2014-04-25 | 1 | -2/+8 |
| | |||||
* | bold/italic/underline | Jesse Luehrs | 2014-04-25 | 1 | -5/+20 |
| | |||||
* | refactor | Jesse Luehrs | 2014-04-25 | 1 | -4/+4 |
| | |||||
* | start refactoring to draw parsed text to an intermediary data structure | Jesse Luehrs | 2014-04-25 | 1 | -514/+67 |
| | |||||
* | more cleanups | Jesse Luehrs | 2014-04-24 | 1 | -1/+0 |
| |