aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
...
* render: make "new buffer" a debug log message, not warningDaniel Eklöf2019-07-21-1/+1
|
* footrc: example configurationDaniel Eklöf2019-07-21-0/+23
|
* conf: misc valgrind fixesDaniel Eklöf2019-07-21-22/+44
|
* Merge branch 'config-color'Daniel Eklöf2019-07-21-97/+203
|\
| * csi: pick 16 first 256-colors directly from the term structDaniel Eklöf2019-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 structDaniel Eklöf2019-07-21-26/+4
| |
| * conf: fg/bg and all regular + bright colors are now configurableDaniel Eklöf2019-07-21-4/+70
| |
| * conf: config now provides the colors (though still only hardcoded colors)Daniel Eklöf2019-07-21-59/+95
| |
| * term: prepare for configurable colors; add color variables to terminalDaniel Eklöf2019-07-21-10/+19
|/
* osc: add TODODaniel Eklöf2019-07-19-0/+2
|
* osc: delete empty lineDaniel Eklöf2019-07-19-1/+0
|
* osc: implement OSC 52;c;? - query clipboardDaniel Eklöf2019-07-19-38/+132
|
* selection: add text_from_clipboard()Daniel Eklöf2019-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öf2019-07-19-2/+73
|
* osc: initial implementation of OSC 52 - copy to clipboardDaniel Eklöf2019-07-19-0/+64
|
* selection: add text_to_clipboard()Daniel Eklöf2019-07-19-6/+17
| | | | This function takes a string and makes it available to the clipboard.
* input: store last seen wayland input serialDaniel Eklöf2019-07-19-1/+11
| | | | We need this for clipboard data
* base64: initial base64 decode implementationDaniel Eklöf2019-07-19-0/+92
|
* osc: foreground/background reply is now in correct XParseColor formatDaniel Eklöf2019-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öf2019-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' twiceDaniel Eklöf2019-07-19-3/+3
|
* vt: define state_names[] table when debug logging has been enabledDaniel Eklöf2019-07-19-1/+1
|
* vt: handle up to two private charactersDaniel Eklöf2019-07-19-13/+24
|
* ocs: renamed parameter size -> required_size in osc_ensure_size()Daniel Eklöf2019-07-19-1/+1
|
* dcs: sort of implement DCS passthroughDaniel Eklöf2019-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 dynamicallyDaniel Eklöf2019-07-19-4/+30
|
* osc: terminate reply with ST rather than BELDaniel Eklöf2019-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 settersDaniel Eklöf2019-07-18-0/+23
|
* osc: implement foreground/background queryDaniel Eklöf2019-07-18-3/+34
|
* vt: implement SS2/SS3 and STDaniel Eklöf2019-07-18-3/+17
|
* csi: better (more correct) reply to \e[>0cDaniel Eklöf2019-07-18-1/+1
|
* keymap: map tab and back-tabDaniel Eklöf2019-07-18-0/+11
|
* vt: execute: ignore unrecognized C0 commandsDaniel Eklöf2019-07-18-2/+1
|
* terminfo: change kmous to \E[M. This fixes mouse not working in e.g. htopDaniel Eklöf2019-07-18-1/+1
|
* main: allow TERM to be set on the command lineDaniel Eklöf2019-07-18-1/+7
|
* conf: TERM can now be set in footrcDaniel Eklöf2019-07-18-4/+11
|
* csi: color index is an 8-bit unsigned valueDaniel Eklöf2019-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 arrayDaniel Eklöf2019-07-18-2/+4
|
* main: use our own terminfo 'foot' by defaultDaniel Eklöf2019-07-18-1/+1
|
* csi: fix wrong variable compared in for-loopDaniel Eklöf2019-07-18-1/+1
|
* terminfo: intitial terminfo specificationDaniel Eklöf2019-07-18-0/+190
|
* glyph-cache: generate at startup, never update while renderingDaniel Eklöf2019-07-18-20/+38
|
* vt: execute: handle \0 (NUL), by ignoring itDaniel Eklöf2019-07-18-0/+3
|
* render: commentsDaniel Eklöf2019-07-18-0/+3
|
* render: make frame rendering time measuring optionalDaniel Eklöf2019-07-18-0/+6
|
* render: cache generated glyphs for regular ASCII charactersDaniel Eklöf2019-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 conversionDaniel Eklöf2019-07-18-36/+26
|
* font: don't warn when failing to get hinting/antialiasDaniel Eklöf2019-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 frameDaniel Eklöf2019-07-18-0/+12
|
* font: remove assert that was only there for debuggingDaniel Eklöf2019-07-18-1/+0
|
* font: sync cairo's options with the FC patternDaniel Eklöf2019-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-wordDaniel Eklöf2019-07-17-4/+97
|
* selection: bug: apply grid's view offset when starting a selectionDaniel Eklöf2019-07-17-1/+1
|
* csi: implement \E[@ (ICH - insert characters)Daniel Eklöf2019-07-17-15/+24
|
* keymap: use hex instead of octalDaniel Eklöf2019-07-17-3/+3
|
* vt/csi: recognize the reset sequence sent by 'reset'Daniel Eklöf2019-07-17-0/+28
| | | | However, we don't (yet) actually reset the terminal
* csi: document a couple of unimplemented CSIsDaniel Eklöf2019-07-17-0/+3
|
* conf: repair debug build when LOG_ENABLE_DBG=0 in config.cDaniel Eklöf2019-07-17-1/+1
|
* conf: improve configuration file parsingDaniel Eklöf2019-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 lineDaniel Eklöf2019-07-17-11/+21
|
* slave: break out command line tokenizerDaniel Eklöf2019-07-17-79/+94
|
* conf: add support for overriding shellDaniel Eklöf2019-07-17-0/+5
|
* slave: report exec() failure back to main processDaniel Eklöf2019-07-17-15/+44
|
* main: jump to cleanup on failure to load cursor pointer themeDaniel Eklöf2019-07-17-1/+1
|
* slave: exec shell from confDaniel Eklöf2019-07-17-4/+89
|
* conf: get user's shellDaniel Eklöf2019-07-17-0/+18
|
* render: use cairo_rel_line_to()Daniel Eklöf2019-07-16-2/+2
|
* render: shorten foreground/background local variable namesDaniel Eklöf2019-07-16-21/+21
|
* main: fallback for strikeout positioning seems to workDaniel Eklöf2019-07-16-2/+0
|
* render: implement strikeoutDaniel Eklöf2019-07-16-4/+45
|
* render: implement 'underline'Daniel Eklöf2019-07-16-33/+85
|
* render: implement 'dim'Daniel Eklöf2019-07-16-49/+27
|
* csi: move 'dim' attribute from 'vt' to cell attributesDaniel Eklöf2019-07-16-4/+3
|
* csi: add back 'blink' attributeDaniel Eklöf2019-07-16-3/+3
|
* terminal: foreground/background in cell attributes are now uint32_tDaniel Eklöf2019-07-16-62/+123
| | | | This reduces the cell size, and thus improves the cache behavour
* csi: implement \E[21m (disable bold)Daniel Eklöf2019-07-16-0/+1
|
* conf: initial support for configuration fileDaniel Eklöf2019-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öf2019-07-16-1/+1
|
* csi: implement FocusIn/Out eventsDaniel Eklöf2019-07-16-0/+29
|
* csi: recognize, but mostly ignore, cursor style configurationDaniel Eklöf2019-07-16-0/+32
|
* csi: add missing 'break'Daniel Eklöf2019-07-16-0/+1
|
* osc: recognize, but ignore, 112 (reset text cursor color)Daniel Eklöf2019-07-16-0/+1
|
* add PKGBUILD (for arch)Daniel Eklöf2019-07-15-0/+28
|
* meson: install foot.desktopDaniel Eklöf2019-07-15-0/+2
|
* Use vt_to_slave() instead of calling write(term->ptmx, ...) everywhereDaniel Eklöf2019-07-15-13/+16
|
* vt: add vt_to_slave()Daniel Eklöf2019-07-15-0/+22
|
* Add .desktop fileDaniel Eklöf2019-07-15-0/+18
|
* csi: remove debug loggingDaniel Eklöf2019-07-15-6/+0
|
* csi: erase alt screen before activating itDaniel Eklöf2019-07-15-2/+4
|
* csi: 'X': then 'end' parameter in term_erase() is *inclusive*Daniel Eklöf2019-07-15-1/+1
|
* vt: there are NULL entries in the alternate charsetDaniel Eklöf2019-07-15-1/+3
|
* vt: \EB and \E0 have an optional "private", not param (which are CSI only)Daniel Eklöf2019-07-15-2/+4
|
* main: set TERM=xterm-directDaniel Eklöf2019-07-15-0/+1
|
* csi: implement ':'-separated 24-bit color valuesDaniel Eklöf2019-07-15-6/+70
|
* vt: handle ':'-separated sub parameters correctlyDaniel Eklöf2019-07-15-16/+12
|
* vt: implement SI/SO (shift in, shift out)Daniel Eklöf2019-07-15-0/+10
| | | | This enables switching between the G0 and G1 charsets.
* rename project to 'foot'Daniel Eklöf2019-07-11-4/+4
|
* scrollback: limit maximum number of lines one can scrollback at onceDaniel Eklöf2019-07-11-5/+2
|
* scrollback: fix assertions in debug builds; need to wrap row numberDaniel Eklöf2019-07-11-2/+2
|
* input: cancel selection on any mouse *except* BTN_LEFTDaniel Eklöf2019-07-11-1/+1
|