| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | font: remove assert that was only there for debugging | Daniel Eklöf | 2019-07-18 | -1/+0 |
| | | ||||
| * | font: sync cairo's options with the FC pattern | Daniel Eklöf | 2019-07-17 | -1/+24 |
| | | | | | | | Configure cairo's 'options' with default values, then update the FontConfig pattern. Finally, update the cairo options after having retrieved the final FontConfig option. | |||
| * | selection: implement double-click-to-select-word | Daniel Eklöf | 2019-07-17 | -4/+97 |
| | | ||||
| * | selection: bug: apply grid's view offset when starting a selection | Daniel Eklöf | 2019-07-17 | -1/+1 |
| | | ||||
| * | csi: implement \E[@ (ICH - insert characters) | Daniel Eklöf | 2019-07-17 | -15/+24 |
| | | ||||
| * | keymap: use hex instead of octal | Daniel Eklöf | 2019-07-17 | -3/+3 |
| | | ||||
| * | vt/csi: recognize the reset sequence sent by 'reset' | Daniel Eklöf | 2019-07-17 | -0/+28 |
| | | | | | However, we don't (yet) actually reset the terminal | |||
| * | csi: document a couple of unimplemented CSIs | Daniel Eklöf | 2019-07-17 | -0/+3 |
| | | ||||
| * | conf: repair debug build when LOG_ENABLE_DBG=0 in config.c | Daniel Eklöf | 2019-07-17 | -1/+1 |
| | | ||||
| * | conf: improve configuration file parsing | Daniel Eklöf | 2019-07-17 | -16/+66 |
| | | | | | | | | * Strip whitespaces from keys and values * Detect (and ignore) comments * Detect syntax errors (no value specified etc) * Error out on syntax errors and invalid keys | |||
| * | main: allow user to override shell on the command line | Daniel Eklöf | 2019-07-17 | -11/+21 |
| | | ||||
| * | slave: break out command line tokenizer | Daniel Eklöf | 2019-07-17 | -79/+94 |
| | | ||||
| * | conf: add support for overriding shell | Daniel Eklöf | 2019-07-17 | -0/+5 |
| | | ||||
| * | slave: report exec() failure back to main process | Daniel Eklöf | 2019-07-17 | -15/+44 |
| | | ||||
| * | main: jump to cleanup on failure to load cursor pointer theme | Daniel Eklöf | 2019-07-17 | -1/+1 |
| | | ||||
| * | slave: exec shell from conf | Daniel Eklöf | 2019-07-17 | -4/+89 |
| | | ||||
| * | conf: get user's shell | Daniel Eklöf | 2019-07-17 | -0/+18 |
| | | ||||
| * | render: use cairo_rel_line_to() | Daniel Eklöf | 2019-07-16 | -2/+2 |
| | | ||||
| * | render: shorten foreground/background local variable names | Daniel Eklöf | 2019-07-16 | -21/+21 |
| | | ||||
| * | main: fallback for strikeout positioning seems to work | Daniel Eklöf | 2019-07-16 | -2/+0 |
| | | ||||
| * | render: implement strikeout | Daniel Eklöf | 2019-07-16 | -4/+45 |
| | | ||||
| * | render: implement 'underline' | Daniel Eklöf | 2019-07-16 | -33/+85 |
| | | ||||
| * | render: implement 'dim' | Daniel Eklöf | 2019-07-16 | -49/+27 |
| | | ||||
| * | csi: move 'dim' attribute from 'vt' to cell attributes | Daniel Eklöf | 2019-07-16 | -4/+3 |
| | | ||||
| * | csi: add back 'blink' attribute | Daniel Eklöf | 2019-07-16 | -3/+3 |
| | | ||||
| * | terminal: foreground/background in cell attributes are now uint32_t | Daniel Eklöf | 2019-07-16 | -62/+123 |
| | | | | | This reduces the cell size, and thus improves the cache behavour | |||
| * | csi: implement \E[21m (disable bold) | Daniel Eklöf | 2019-07-16 | -0/+1 |
| | | ||||
| * | conf: initial support for configuration file | Daniel Eklöf | 2019-07-16 | -7/+200 |
| | | | | | | | | * Look for configuration file in (in this order): - XDG_CONFIG_HOME/footrc - ~/.config/footrc * Currently supports setting the font | |||
| * | main: default font is 'monospace' | Daniel Eklöf | 2019-07-16 | -1/+1 |
| | | ||||
| * | csi: implement FocusIn/Out events | Daniel Eklöf | 2019-07-16 | -0/+29 |
| | | ||||
| * | csi: recognize, but mostly ignore, cursor style configuration | Daniel Eklöf | 2019-07-16 | -0/+32 |
| | | ||||
| * | csi: add missing 'break' | Daniel Eklöf | 2019-07-16 | -0/+1 |
| | | ||||
| * | osc: recognize, but ignore, 112 (reset text cursor color) | Daniel Eklöf | 2019-07-16 | -0/+1 |
| | | ||||
| * | add PKGBUILD (for arch) | Daniel Eklöf | 2019-07-15 | -0/+28 |
| | | ||||
| * | meson: install foot.desktop | Daniel Eklöf | 2019-07-15 | -0/+2 |
| | | ||||
| * | Use vt_to_slave() instead of calling write(term->ptmx, ...) everywhere | Daniel Eklöf | 2019-07-15 | -13/+16 |
| | | ||||
| * | vt: add vt_to_slave() | Daniel Eklöf | 2019-07-15 | -0/+22 |
| | | ||||
| * | Add .desktop file | Daniel Eklöf | 2019-07-15 | -0/+18 |
| | | ||||
| * | csi: remove debug logging | Daniel Eklöf | 2019-07-15 | -6/+0 |
| | | ||||
| * | csi: erase alt screen before activating it | Daniel Eklöf | 2019-07-15 | -2/+4 |
| | | ||||
| * | csi: 'X': then 'end' parameter in term_erase() is *inclusive* | Daniel Eklöf | 2019-07-15 | -1/+1 |
| | | ||||
| * | vt: there are NULL entries in the alternate charset | Daniel Eklöf | 2019-07-15 | -1/+3 |
| | | ||||
| * | vt: \EB and \E0 have an optional "private", not param (which are CSI only) | Daniel Eklöf | 2019-07-15 | -2/+4 |
| | | ||||
| * | main: set TERM=xterm-direct | Daniel Eklöf | 2019-07-15 | -0/+1 |
| | | ||||
| * | csi: implement ':'-separated 24-bit color values | Daniel Eklöf | 2019-07-15 | -6/+70 |
| | | ||||
| * | vt: handle ':'-separated sub parameters correctly | Daniel Eklöf | 2019-07-15 | -16/+12 |
| | | ||||
| * | vt: implement SI/SO (shift in, shift out) | Daniel Eklöf | 2019-07-15 | -0/+10 |
| | | | | | This enables switching between the G0 and G1 charsets. | |||
| * | rename project to 'foot' | Daniel Eklöf | 2019-07-11 | -4/+4 |
| | | ||||
| * | scrollback: limit maximum number of lines one can scrollback at once | Daniel Eklöf | 2019-07-11 | -5/+2 |
| | | ||||
| * | scrollback: fix assertions in debug builds; need to wrap row number | Daniel Eklöf | 2019-07-11 | -2/+2 |
| | | ||||
| * | input: cancel selection on any mouse *except* BTN_LEFT | Daniel Eklöf | 2019-07-11 | -1/+1 |
| | | ||||
| * | selection: disable source listeners, since we don't currently use them | Daniel Eklöf | 2019-07-11 | -0/+8 |
| | | ||||
| * | selection: implement copy *to* primary | Daniel Eklöf | 2019-07-11 | -8/+91 |
| | | ||||
| * | selection: add support for pasting *from* primary | Daniel Eklöf | 2019-07-11 | -6/+124 |
| | | ||||
| * | selection: add selection_from_primary() API (stub for now) | Daniel Eklöf | 2019-07-11 | -1/+11 |
| | | ||||
| * | selection: cleanup | Daniel Eklöf | 2019-07-11 | -4/+16 |
| | | ||||
| * | selection: calculate required length for clipboard text | Daniel Eklöf | 2019-07-11 | -3/+12 |
| | | ||||
| * | selection: read until EOF when reading from clipboard | Daniel Eklöf | 2019-07-11 | -6/+17 |
| | | ||||
| * | selection: it's an error to call offset_accept() on non-drag-and-drop | Daniel Eklöf | 2019-07-11 | -3/+0 |
| | | ||||
| * | selection: handle partial writes and EINTR when writing to clipboard | Daniel Eklöf | 2019-07-11 | -2/+16 |
| | | ||||
| * | selection: add support for pasting from clipboard | Daniel Eklöf | 2019-07-11 | -1/+48 |
| | | ||||
| * | selection: initial copy-to-clipboard functionality | Daniel Eklöf | 2019-07-11 | -0/+289 |
| | | ||||
| * | selection: selection_finalize() ignores invalid selections | Daniel Eklöf | 2019-07-11 | -0/+3 |
| | | ||||
| * | input: call selection_finalize() when BTN_LEFT is released | Daniel Eklöf | 2019-07-11 | -0/+2 |
| | | ||||
| * | selection: spell 'finalize' correctly | Daniel Eklöf | 2019-07-11 | -2/+2 |
| | | ||||
| * | selection: invalidate *all* affected lines when updating selection | Daniel Eklöf | 2019-07-11 | -4/+14 |
| | | ||||
| * | input: ignore mouse motion outside our window | Daniel Eklöf | 2019-07-11 | -0/+3 |
| | | ||||
| * | selection: disable debug logging | Daniel Eklöf | 2019-07-11 | -1/+1 |
| | | ||||
| * | csi: cancel selection when switching between 'normal' and 'alt' grid | Daniel Eklöf | 2019-07-11 | -0/+3 |
| | | ||||
| * | render: bug: don't render cursor when hide cursor is enabled | Daniel Eklöf | 2019-07-11 | -1/+1 |
| | | ||||
| * | selection: disable selection when client has enabled mouse tracking | Daniel Eklöf | 2019-07-11 | -0/+18 |
| | | ||||
| * | selection: add a selection API | Daniel Eklöf | 2019-07-11 | -30/+117 |
| | | ||||
| * | selection: only left button can be used for selection | Daniel Eklöf | 2019-07-11 | -6/+14 |
| | | ||||
| * | selection: selections can be made, and are rendered | Daniel Eklöf | 2019-07-11 | -1/+57 |
| | | | | | | | | * Start selection on mouse button down * Update selection on motion * Button release cancels selection if there were no motion after start * Renderer detects cells inside the selection and inverts their colors | |||
| * | grid: prefetch cells in grid_row() | Daniel Eklöf | 2019-07-10 | -4/+5 |
| | | ||||
| * | Merge branch 'cache-optimize' | Daniel Eklöf | 2019-07-10 | -68/+78 |
| |\ | ||||
| | * | terminal: scrolling: prefetch cells of scrolled in lines | Daniel Eklöf | 2019-07-10 | -17/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since newly scrolled in lines will be erased, we want them in the cache. So, allocate and prefetch new lines, then repair non-scrolling regions (to give the prefetch time to actually fetch the data). Finally, erase the newly scrolled in lines. This also fixes a bug where the fixup for the non-scrolling regions could crash on an unallocated row (we were accessing rows that would be, but hadn't yet been, scrolled in). | |||
| | * | terminal: scrolling: better debug log messages | Daniel Eklöf | 2019-07-10 | -1/+5 |
| | | | ||||
| | * | grid: swap_row: drop requirement that row indices be positive | Daniel Eklöf | 2019-07-10 | -2/+3 |
| | | | ||||
| | * | render: reduce scrollback line count | Daniel Eklöf | 2019-07-10 | -1/+1 |
| | | | | | | | | | More than 1000 lines and we start exhibiting bad cache behavior | |||
| | * | terminal: use floats instead of double for colors | Daniel Eklöf | 2019-07-10 | -13/+6 |
| | | | | | | | | | | | We don't need the full resolution a double gives us. Using floats reduces the size of cells greatly, which improves cache usage. | |||
| | * | cell: we only need 4 bytes for the longest utf8 sequence | Daniel Eklöf | 2019-07-10 | -3/+3 |
| | | | | | | | | | | | | | We don't *have* to NULL-terminate the utf8 string. So don't. This makes the cell glyph 4 bytes exactly, which is better for alignment and cache usage. | |||
| | * | terminal: remove 'blink' attribute from cell struct | Daniel Eklöf | 2019-07-10 | -31/+32 |
| |/ | | | | | This makes the other attribute bits fit in a single uint8_t, which makes each cell smaller which improves cache usage. | |||
| * | scrollback: in debug, verify all rows in the view are initialized | Daniel Eklöf | 2019-07-10 | -0/+9 |
| | | ||||
| * | grid: repair grid_row_in_view(): use 'view', not 'offset' | Daniel Eklöf | 2019-07-10 | -1/+1 |
| | | ||||
| * | grid: don't pre-allocate the entire grid (with all scrollback lines) | Daniel Eklöf | 2019-07-10 | -45/+68 |
| | | | | | | | | | | | The row array may now contain NULL pointers. This means the corresponding row hasn't yet been allocated and initialized. On a resize, we explicitly allocate the visible rows. Uninitialized rows are then allocated the first time they are referenced. | |||
| * | grid: don't implement grid_swap_row() in the header file | Daniel Eklöf | 2019-07-10 | -102/+14 |
| | | ||||
| * | vt: implement \ED and \EE | Daniel Eklöf | 2019-07-10 | -0/+9 |
| | | | | | | | | '\ED' is just like '\n'; move the cursor down to the next row, or if it's at the bottom, scroll up one row. '\EE' is just like '\n\r' | |||
| * | vt: \EM now calls term_reverse_index() instead of always scrolling one line | Daniel Eklöf | 2019-07-10 | -5/+4 |
| | | ||||
| * | vt: '\n' now calls term_linefeed() | Daniel Eklöf | 2019-07-10 | -4/+1 |
| | | ||||
| * | vt: escape '\E' properly when logging an ESC sequence | Daniel Eklöf | 2019-07-10 | -1/+1 |
| | | ||||
| * | vt/csi: use vt_param_get() | Daniel Eklöf | 2019-07-10 | -32/+22 |
| | | ||||
| * | vt: add vt_param_get() - returns the specified parameter's value | Daniel Eklöf | 2019-07-10 | -0/+11 |
| | | ||||
| * | terminal: add term_linefeed() and term_reverse_index() | Daniel Eklöf | 2019-07-10 | -0/+21 |
| | | | | | | | | | linefeed moves cursor down one row (columns stays the same), or, if the cursor is at the last row, scrolls up one row. reverse_index does the opposite; it moves the cursor *up* one row, or, if the cursor is at the top row, scrolls *down* one row. | |||
| * | terminal: only support a single intermediate/private character | Daniel Eklöf | 2019-07-10 | -21/+24 |
| | | ||||
| * | csi: fix logging; 'CSI' was printed twice | Daniel Eklöf | 2019-07-10 | -12/+12 |
| | | ||||
| * | Merge branch 'scrollback' | Daniel Eklöf | 2019-07-10 | -23/+263 |
| |\ | ||||
| | * | scrollback: disable debug logging | Daniel Eklöf | 2019-07-10 | -1/+1 |
| | | | ||||
| | * | scrollback: use term_damage_view() | Daniel Eklöf | 2019-07-10 | -6/+2 |
| | | | ||||
| | * | scrollback: don't allow more scrolling when already at the top or bottom | Daniel Eklöf | 2019-07-10 | -6/+9 |
| | | | ||||
