| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | search: call render_search_box() from search_inptu() | Daniel Eklöf | 2019-08-29 | -3/+1 |
| | | ||||
| * | search: add basic cursor navigation support | Daniel Eklöf | 2019-08-29 | -2/+45 |
| | | ||||
| * | search: insert new characters at cursor, not at the end of the buffer | Daniel Eklöf | 2019-08-29 | -2/+7 |
| | | ||||
| * | search: search_cancel: reset cursor position | Daniel Eklöf | 2019-08-29 | -0/+1 |
| | | ||||
| * | render: render_search_box: draw cursor as a bar | Daniel Eklöf | 2019-08-29 | -0/+6 |
| | | ||||
| * | term: add a 'cursor' (position) to the search state | Daniel Eklöf | 2019-08-29 | -0/+1 |
| | | ||||
| * | render: draw_strikeout: use font_baseline() for baseline calculation | Daniel Eklöf | 2019-08-29 | -1/+1 |
| | | ||||
| * | render: draw_underline: use font_baseline() for baseline calculation | Daniel Eklöf | 2019-08-29 | -1/+1 |
| | | ||||
| * | render: draw_bar: don't assume height == ascent+descent | Daniel Eklöf | 2019-08-29 | -2/+4 |
| | | | | | | Instead, draw a bar that is ascent+descent tall, positioned around the baseline such that it starts at the ascent and ends at the descent. | |||
| * | render: add font_baseline() - calculates the y-coordinate for the baseline | Daniel Eklöf | 2019-08-29 | -0/+19 |
| | | | | | | | | | | | The old baseline calculation was copy-pasted to a couple of places, and also assumed that the font's height was equal to ascent+descent. While this is typically true, it isn't necessarily so. Now, we assume that height >= ascent+descent, and then position the baseline in "center" (but adjusted for the descent). | |||
| * | search: turn info log to a debug log | Daniel Eklöf | 2019-08-29 | -1/+1 |
| | | ||||
| * | search: remove INFO log (that really was a debug log) | Daniel Eklöf | 2019-08-29 | -1/+0 |
| | | ||||
| * | render: remove INFO log (that really was a debug log) | Daniel Eklöf | 2019-08-29 | -2/+0 |
| | | ||||
| * | search: don't destroy/recreate search (sub)surface | Daniel Eklöf | 2019-08-29 | -27/+9 |
| | | | | | | | Create the sub-surface once, at startup. Then, instead of destroying it when committing/cancelling a search, unmap it (by attaching a NULL buffer to it). | |||
| * | search: move render() function to the 'render' module | Daniel Eklöf | 2019-08-29 | -80/+59 |
| | | ||||
| * | main: destroy sub-compositor at exit | Daniel Eklöf | 2019-08-29 | -0/+2 |
| | | ||||
| * | search: move wayland surface variables into the term struct | Daniel Eklöf | 2019-08-29 | -34/+49 |
| | | ||||
| * | search: use a sub-surface to render the search buffer | Daniel Eklöf | 2019-08-29 | -14/+141 |
| | | ||||
| * | render: reduce amount of dim while searching scrollback history | Daniel Eklöf | 2019-08-29 | -4/+10 |
| | | ||||
| * | search: cancel existing selection when starting a new search | Daniel Eklöf | 2019-08-28 | -0/+1 |
| | | ||||
| * | render: double-dim fg+bg when searching the scrollback buffer | Daniel Eklöf | 2019-08-28 | -0/+2 |
| | | | | | | By toning down the screen content more, the selection (i.e. the search match) pops out much more. | |||
| * | search: log search buffer at INFO level | Daniel Eklöf | 2019-08-28 | -1/+1 |
| | | | | | ... until we actually render the search buffer somehow | |||
| * | main: log cell width/height at info level, not debug | Daniel Eklöf | 2019-08-28 | -1/+1 |
| | | | | | | This complements the INFO logs from the renderer when the terminal is resized. | |||
| * | Merge branch 'master' into scrollback-search | Daniel Eklöf | 2019-08-28 | -2/+46 |
| |\ | ||||
| | * | osc: xparsecolor: parse 'legacy' colors | Daniel Eklöf | 2019-08-28 | -2/+46 |
| | | | ||||
| * | | input: call term_reset_view() instead of duplicating code | Daniel Eklöf | 2019-08-28 | -10/+3 |
| | | | ||||
| * | | search: fix start/end row in selection | Daniel Eklöf | 2019-08-28 | -2/+16 |
| | | | ||||
| * | | search: start search in current view, rather than from end-of-output | Daniel Eklöf | 2019-08-28 | -2/+4 |
| | | | ||||
| * | | term: add term_reset_view() - make view follow end-of-output again | Daniel Eklöf | 2019-08-28 | -0/+12 |
| | | | ||||
| * | | README: document keyboard shortcuts related to scrollback searching | Daniel Eklöf | 2019-08-27 | -0/+9 |
| | | | ||||
| * | | search: match case insensitive | Daniel Eklöf | 2019-08-27 | -2/+2 |
| | | | ||||
| * | | search: sort includes | Daniel Eklöf | 2019-08-27 | -1/+1 |
| | | | ||||
| * | | search: disable log output | Daniel Eklöf | 2019-08-27 | -1/+1 |
| | | | ||||
| * | | search: loop through the *entire* scrollback buffer | Daniel Eklöf | 2019-08-27 | -2/+7 |
| | | | ||||
| * | | selection: allow selections while searching scrollback | Daniel Eklöf | 2019-08-27 | -1/+4 |
| | | | ||||
| * | | search: cancel selection and clear match stats when we don't match | Daniel Eklöf | 2019-08-27 | -0/+5 |
| | | | ||||
| * | | search: 'len' is unused in release builds (it's only used in an assert) | Daniel Eklöf | 2019-08-27 | -1/+1 |
| | | | ||||
| * | | search: return early after committing a search | Daniel Eklöf | 2019-08-27 | -0/+1 |
| | | | | | | | | | | | This fixes an issue where the selection was finalized, but then cleared. | |||
| * | | search: search_update() is always called at end of search_input() | Daniel Eklöf | 2019-08-27 | -1/+0 |
| | | | ||||
| * | | search: don't create a new selection when match start coords haven't changed | Daniel Eklöf | 2019-08-27 | -2/+8 |
| | | | ||||
| * | | input: cancel search on mouse button events | Daniel Eklöf | 2019-08-27 | -0/+2 |
| | | | ||||
| * | | main: free search buffer | Daniel Eklöf | 2019-08-27 | -0/+2 |
| | | | ||||
| * | | render: don't dim selection while searching | Daniel Eklöf | 2019-08-27 | -1/+1 |
| | | | ||||
| * | | search: wip: initial search matching | Daniel Eklöf | 2019-08-27 | -3/+187 |
| | | | | | | | | | | | | | | | | | * match search buffer against scrollback content * adjust view to ensure matched content is visible * create selection on a successful match * finalize selection when user presses enter (to "commit" the search) * ctrl+r searches for the next match. Needs more work though. | |||
| * | | search: wip: re-direct input while searching, and build a search buffer | Daniel Eklöf | 2019-08-27 | -10/+160 |
| |/ | | | | | | | | | | | This adds a new state, 'is_searching'. While active, input is re-directed, and stored in a search buffer. In the future, we'll use this buffer and search for its content in the scrollback buffer, and move the view and create a selection on matches. When rendering in 'is_searching', everything is dimmed. In the future, we'll render the current search buffer on-top of the dimmed "regular" terminal output. | |||
| * | render: center grid in window | Daniel Eklöf | 2019-08-27 | -31/+44 |
| | | | | | | Instead of placing the upper left corner of the grid at 0,0 in the window, center it. | |||
| * | vt: tidy lazy initialization of escape parameters | Daniel Eklöf | 2019-08-27 | -6/+6 |
| | | ||||
| * | vt: no need to reset OSC string in CLEAR action | Daniel Eklöf | 2019-08-27 | -1/+0 |
| | | | | | ... as this is done when a new OSC string is started | |||
| * | vt: store alt charset characters as wchars | Daniel Eklöf | 2019-08-27 | -9/+6 |
| | | ||||
| * | vt: bug: fix lazy initialization of sub parameter value (off-by-one) | Daniel Eklöf | 2019-08-24 | -2/+1 |
| | | ||||
| * | vt: clear CSI parameters lazily | Daniel Eklöf | 2019-08-24 | -3/+11 |
| | | | | | | | | | | The CLEAR action is so common, that explicitly clearing the entire params array, which is kind of big, is too slow. Clear it lazily instead. Meaning, we only set 'idx' (count) to 0 in CLEAR. Then whenever we parse a parameter, clear the value and sub parameters. | |||
| * | render: log frame rendering time with microseconds instead of milliseconds | Daniel Eklöf | 2019-08-24 | -2/+2 |
| | | ||||
| * | generate-alt-random-writes: reset SGR and scroll region at the end | Daniel Eklöf | 2019-08-23 | -2/+2 |
| | | ||||
| * | config: turn info log message into a debug log message | Daniel Eklöf | 2019-08-23 | -1/+1 |
| | | ||||
| * | grid: remove commented out code | Daniel Eklöf | 2019-08-23 | -6/+1 |
| | | ||||
| * | term: remove commented out code | Daniel Eklöf | 2019-08-23 | -27/+0 |
| | | ||||
| * | colors: change default 'bright0' from 000000 -> 666666 | Daniel Eklöf | 2019-08-23 | -3/+3 |
| | | ||||
| * | add config + command line option for setting initial window width/height | Daniel Eklöf | 2019-08-23 | -13/+56 |
| | | ||||
| * | main: use slave's exit value as our exit value | Daniel Eklöf | 2019-08-23 | -0/+21 |
| | | ||||
| * | render: change resize debug log message to an info log message | Daniel Eklöf | 2019-08-23 | -1/+1 |
| | | ||||
| * | scrolling: optimize row access by assuming number of rows is a power of 2 | Daniel Eklöf | 2019-08-22 | -50/+101 |
| | | | | | | | | | | | | | | | | | | | | With this assumption, we can replace 'a % b' with 'a & (b - 1)'. In terms of instructions, this means a fast 'and' instead of a slow 'div'. Further optimize scrolling by: * not double-initializing empty rows. Previously, grid_row_alloc() called calloc(), which was then followed by a memset() when scrolling. This is of course unnecessary. * Don't loop the entire set of visible rows (this was done to ensure all visible rows had been allocated, and to prefetch the cell contents). This isn't necessary; only newly pulled in rows can be NULL. For now, don't prefetch at all. | |||
| * | generate-alt-random-writes: generate color, scroll and scroll region sequences | Daniel Eklöf | 2019-08-22 | -13/+75 |
| | | ||||
| * | PKGBUILD: profiling payload: random writes to the alt screen | Daniel Eklöf | 2019-08-21 | -3/+6 |
| | | ||||
| * | generate-alt-random-writes: script to generate payload for profiling | Daniel Eklöf | 2019-08-21 | -0/+35 |
| | | ||||
| * | PKGBUILD: prepare for profile guided compilation | Daniel Eklöf | 2019-08-21 | -1/+6 |
| | | ||||
| * | PKGBUILD: performance: build without stack protector | Daniel Eklöf | 2019-08-21 | -1/+1 |
| | | ||||
| * | osc: add debug logs when colors are changed and reset | Daniel Eklöf | 2019-08-21 | -1/+10 |
| | | ||||
| * | term: rename colors256 -> table | Daniel Eklöf | 2019-08-21 | -25/+19 |
| | | ||||
| * | term: use colors256 array for *all* colors | Daniel Eklöf | 2019-08-21 | -74/+22 |
| | | | | | | | That is, remove the 'regular' and 'bright' color arrays. This is possible since the 256-color array is defined such that the first 16 colors map to the regular and bright colors. | |||
| * | osc: fix indexing into 'bright' color array | Daniel Eklöf | 2019-08-21 | -3/+3 |
| | | ||||
| * | osc: implement "change color" commands | Daniel Eklöf | 2019-08-21 | -39/+205 |
| | | | | | | | | | | | | This implements OSC 4, 10, 11 - change <color>/foreground/background, and their corresponding 'query' variant (which was already implemented for OSC 10/11). It also implements OSC 104, 110, 111 - reset <color>/foreground/background. Set corresponding terminfo entries to signal this support to clients. | |||
| * | render: multiply width/height with *new* scale factor, not old | Daniel Eklöf | 2019-08-21 | -2/+2 |
| | | ||||
| * | csi: move 256-color table into the terminal struct | Daniel Eklöf | 2019-08-21 | -27/+30 |
| | | ||||
| * | main: fix debug logs | Daniel Eklöf | 2019-08-21 | -2/+3 |
| | | ||||
| * | main: don't set scale before we know what it actually should be | Daniel Eklöf | 2019-08-21 | -4/+0 |
| | | ||||
| * | main: we *do* track outputs | Daniel Eklöf | 2019-08-21 | -2/+0 |
| | | ||||
| * | render: reload cursor theme when scale (may) have changed | Daniel Eklöf | 2019-08-21 | -16/+57 |
| | | ||||
| * | erase-cells: don't memset when keeping background color | Daniel Eklöf | 2019-08-20 | -4/+6 |
| | | ||||
| * | input: back out accidental commit of debug code | Daniel Eklöf | 2019-08-19 | -1/+1 |
| | | ||||
| * | csi: implement CSI ? 1007 h/l - alternateScroll | Daniel Eklöf | 2019-08-19 | -6/+31 |
| | | | | | | When enabled, mouse scrolls in the alternate screen are converted to up/down key presses. | |||
| * | font: tentative support for BGR, V-RGB and V-BGR | Daniel Eklöf | 2019-08-19 | -7/+23 |
| | | ||||
| * | render: don't 're-calculate fg unnecessarily | Daniel Eklöf | 2019-08-18 | -6/+4 |
| | | ||||
| * | refactor: break out stride calculation to new function | Daniel Eklöf | 2019-08-18 | -6/+13 |
| | | ||||
| * | README: subpixel antialiasing has been implemented | Daniel Eklöf | 2019-08-18 | -3/+0 |
| | | ||||
| * | font: implement subpixel antialiasing | Daniel Eklöf | 2019-08-18 | -48/+76 |
| | | ||||
| * | render: minor optimization | Daniel Eklöf | 2019-08-17 | -1/+1 |
| | | | | | | Don't instantiate a pixman color unnecessarily when drawing a block cursor. | |||
| * | render: use 32-bit pixman calls, where applicable | Daniel Eklöf | 2019-08-17 | -2/+2 |
| | | ||||
| * | README; emphasize bitmap and color emoji font support | Daniel Eklöf | 2019-08-17 | -1/+1 |
| | | ||||
| * | ci: need ncurses (for 'tic' - to generate terminfo) | Daniel Eklöf | 2019-08-17 | -1/+2 |
| | | ||||
| * | ci: initial CI | Daniel Eklöf | 2019-08-17 | -0/+30 |
| | | ||||
| * | README: split up requirements into "running" and "building" | Daniel Eklöf | 2019-08-17 | -2/+13 |
| | | ||||
| * | meson: remove unused wayland protocols | Daniel Eklöf | 2019-08-17 | -2/+0 |
| | | ||||
| * | Merge branch 'pixman' | Daniel Eklöf | 2019-08-17 | -208/+204 |
| |\ | ||||
| | * | shm/render: there's no need to have one pixman image per thread | Daniel Eklöf | 2019-08-16 | -29/+10 |
| | | | ||||
| | * | Remove all references to cairo; we now use pixman only | Daniel Eklöf | 2019-08-16 | -66/+14 |
| | | | ||||
| | * | render: replace all usage of cairo with pixman | Daniel Eklöf | 2019-08-16 | -80/+89 |
| | | | ||||
| | * | wip: render background and glyphs using pixman | Daniel Eklöf | 2019-08-16 | -78/+134 |
| | | | ||||
| | * | meson: add pixman dependency | Daniel Eklöf | 2019-08-16 | -1/+3 |
| |/ | ||||
| * | vt: remove support for urxvt 'extended' line drawing character set | Daniel Eklöf | 2019-08-16 | -12/+7 |
| | | ||||
| * | vt: there is no default charset for \e0 and \eB | Daniel Eklöf | 2019-08-16 | -2/+4 |
| | | ||||
