| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| * | render: make "new buffer" a debug log message, not warning | Daniel Eklöf | 2019-07-21 | -1/+1 | |
| | | |||||
| * | footrc: example configuration | Daniel Eklöf | 2019-07-21 | -0/+23 | |
| | | |||||
| * | conf: misc valgrind fixes | Daniel Eklöf | 2019-07-21 | -22/+44 | |
| | | |||||
| * | Merge branch 'config-color' | Daniel Eklöf | 2019-07-21 | -97/+203 | |
| |\ | |||||
| | * | csi: pick 16 first 256-colors directly from the term struct | Daniel Eklöf | 2019-07-21 | -2/+19 | |
| | | | | | | | | | | | | | | | | | | | | | The 16 first entries in the 256-color array are the regular and bright colors. However, since they can be changed (eventually) at runtime, we can't statically initialize the 256-color array. Instead, pick the regular+bright colors directly from the terminal struct. I.e. the first 16 entries of the 256-color array are now unused. | ||||
| | * | csi: use colors from terminal struct | Daniel Eklöf | 2019-07-21 | -26/+4 | |
| | | | |||||
| | * | conf: fg/bg and all regular + bright colors are now configurable | Daniel Eklöf | 2019-07-21 | -4/+70 | |
| | | | |||||
| | * | conf: config now provides the colors (though still only hardcoded colors) | Daniel Eklöf | 2019-07-21 | -59/+95 | |
| | | | |||||
| | * | term: prepare for configurable colors; add color variables to terminal | Daniel Eklöf | 2019-07-21 | -10/+19 | |
| |/ | |||||
| * | osc: add TODO | Daniel Eklöf | 2019-07-19 | -0/+2 | |
| | | |||||
| * | osc: delete empty line | Daniel Eklöf | 2019-07-19 | -1/+0 | |
| | | |||||
| * | osc: implement OSC 52;c;? - query clipboard | Daniel Eklöf | 2019-07-19 | -38/+132 | |
| | | |||||
| * | selection: add text_from_clipboard() | Daniel Eklöf | 2019-07-19 | -7/+30 | |
| | | | | | | This function reads data from the clipboard, and calls a user-provided callback for each chunk of clipboard data. | ||||
| * | base64: implement encode() | Daniel Eklöf | 2019-07-19 | -2/+73 | |
| | | |||||
| * | osc: initial implementation of OSC 52 - copy to clipboard | Daniel Eklöf | 2019-07-19 | -0/+64 | |
| | | |||||
| * | selection: add text_to_clipboard() | Daniel Eklöf | 2019-07-19 | -6/+17 | |
| | | | | | This function takes a string and makes it available to the clipboard. | ||||
| * | input: store last seen wayland input serial | Daniel Eklöf | 2019-07-19 | -1/+11 | |
| | | | | | We need this for clipboard data | ||||
| * | base64: initial base64 decode implementation | Daniel Eklöf | 2019-07-19 | -0/+92 | |
| | | |||||
| * | osc: foreground/background reply is now in correct XParseColor format | Daniel Eklöf | 2019-07-19 | -4/+13 | |
| | | | | | | The format we used previously was a discouraged and obsolete format (and incorrect too). | ||||
| * | csi: recognize DECRQM (CSI ? Ps $ p) | Daniel Eklöf | 2019-07-19 | -0/+23 | |
| | | | | | | | The client sends this to request the state of DEC private modes. We don't support any of them, so for now, reply with 'reset'. | ||||
| * | csi: tweak logging: no need to mention 'CSI' twice | Daniel Eklöf | 2019-07-19 | -3/+3 | |
| | | |||||
| * | vt: define state_names[] table when debug logging has been enabled | Daniel Eklöf | 2019-07-19 | -1/+1 | |
| | | |||||
| * | vt: handle up to two private characters | Daniel Eklöf | 2019-07-19 | -13/+24 | |
| | | |||||
| * | ocs: renamed parameter size -> required_size in osc_ensure_size() | Daniel Eklöf | 2019-07-19 | -1/+1 | |
| | | |||||
| * | dcs: sort of implement DCS passthrough | Daniel Eklöf | 2019-07-19 | -4/+62 | |
| | | | | | | | | We now store the passthrough characters in a buffer, and call dcs_passthrough() on unhook. However, dcs_passthrough() doesn't do anything. | ||||
| * | osc: allocate data buffer dynamically | Daniel Eklöf | 2019-07-19 | -4/+30 | |
| | | |||||
| * | osc: terminate reply with ST rather than BEL | Daniel Eklöf | 2019-07-18 | -1/+1 | |
| | | | | | | This is the preferred terminator anyway, and at least Emacs likes it a whole lot better. | ||||
| * | csi: recognize, but ignore, modifyOtherKeys et al resource setters | Daniel Eklöf | 2019-07-18 | -0/+23 | |
| | | |||||
| * | osc: implement foreground/background query | Daniel Eklöf | 2019-07-18 | -3/+34 | |
| | | |||||
| * | vt: implement SS2/SS3 and ST | Daniel Eklöf | 2019-07-18 | -3/+17 | |
| | | |||||
| * | csi: better (more correct) reply to \e[>0c | Daniel Eklöf | 2019-07-18 | -1/+1 | |
| | | |||||
| * | keymap: map tab and back-tab | Daniel Eklöf | 2019-07-18 | -0/+11 | |
| | | |||||
| * | vt: execute: ignore unrecognized C0 commands | Daniel Eklöf | 2019-07-18 | -2/+1 | |
| | | |||||
| * | terminfo: change kmous to \E[M. This fixes mouse not working in e.g. htop | Daniel Eklöf | 2019-07-18 | -1/+1 | |
| | | |||||
| * | main: allow TERM to be set on the command line | Daniel Eklöf | 2019-07-18 | -1/+7 | |
| | | |||||
| * | conf: TERM can now be set in footrc | Daniel Eklöf | 2019-07-18 | -4/+11 | |
| | | |||||
| * | csi: color index is an 8-bit unsigned value | Daniel Eklöf | 2019-07-18 | -6/+4 | |
| | | | | | | This fixes an issue where a large 8-bit value was signed extended into a large 64-bit value. | ||||
| * | csi: validate param before indexing into the 256-color array | Daniel Eklöf | 2019-07-18 | -2/+4 | |
| | | |||||
| * | main: use our own terminfo 'foot' by default | Daniel Eklöf | 2019-07-18 | -1/+1 | |
| | | |||||
| * | csi: fix wrong variable compared in for-loop | Daniel Eklöf | 2019-07-18 | -1/+1 | |
| | | |||||
| * | terminfo: intitial terminfo specification | Daniel Eklöf | 2019-07-18 | -0/+190 | |
| | | |||||
| * | glyph-cache: generate at startup, never update while rendering | Daniel Eklöf | 2019-07-18 | -20/+38 | |
| | | |||||
| * | vt: execute: handle \0 (NUL), by ignoring it | Daniel Eklöf | 2019-07-18 | -0/+3 | |
| | | |||||
| * | render: comments | Daniel Eklöf | 2019-07-18 | -0/+3 | |
| | | |||||
| * | render: make frame rendering time measuring optional | Daniel Eklöf | 2019-07-18 | -0/+6 | |
| | | |||||
| * | render: cache generated glyphs for regular ASCII characters | Daniel Eklöf | 2019-07-18 | -8/+47 | |
| | | | | | | | | | To avoid having to re-generate glyphs, cache the glyphs. For now, we only cache ASCII characters, as this allows us to lookup the cache by simply indexing with the character (into a 256-entry array). | ||||
| * | render: break out color conversion | Daniel Eklöf | 2019-07-18 | -36/+26 | |
| | | |||||
| * | font: don't warn when failing to get hinting/antialias | Daniel Eklöf | 2019-07-18 | -6/+2 | |
| | | | | | | | | These properties aren't always included in the pattern, and when they aren't, trying to get them will fail. This isn't an error, just fallback to a default value. | ||||
| * | render: time how long time it takes to render a frame | Daniel Eklöf | 2019-07-18 | -0/+12 | |
| | | |||||
| * | 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 | |
| | | |||||
