aboutsummaryrefslogtreecommitdiff
path: root/vt.c (unfollow)
Commit message (Expand)AuthorLines
2021-04-18term/vt: only do reverse-wrapping (‘bw’) on cub1Daniel Eklöf-2/+15
2021-03-16term: runtime switch between a ‘fast’ and a ‘generic’ ASCII print functionDaniel Eklöf-16/+7
2021-02-07vt: remove xassert(), that cannot be optimized out, from action_print()Daniel Eklöf-2/+0
2021-01-16debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes-11/+11
2021-01-16Print stack trace on assert() failure or when calling fatal_error()Craig Barnes-1/+1
2021-01-15vt: document correct BS behavior, and why we do differentlyDaniel Eklöf-0/+12
2021-01-15term/vt/csi: break out cursor save/restore to dedicated functionsDaniel Eklöf-5/+1
2021-01-03Use wrappers from macros.h instead of bare GCC attributes/pragmasCraig Barnes-7/+2
2020-12-16vt: codespell: ony -> onlyDaniel Eklöf-1/+1
2020-12-16vt: don’t ignore extra private/intermediate charactersDaniel Eklöf-13/+27
2020-12-07ime: render pre-edit textDaniel Eklöf-1/+1
2020-12-07ime: wip: commit all changes in ‘done()’Daniel Eklöf-1/+1
2020-10-10selection: use appropriate check for PRIMARY pasteSergey Nazaryev-75/+56
2020-10-08bell: optionally render margins in red when receiving BELDaniel Eklöf-2/+1
2020-10-02vt: BS: *only* reset lcf if cursor is beyond right margin: don’t move cursorDaniel Eklöf-1/+4
2020-08-23vt: hide pedantic warnings around the VT state machine's switch casesDaniel Eklöf-0/+9
2020-08-16Fix spelling mistake in vt.cCraig Barnes-1/+1
2020-08-08Convert most dynamic allocations to use functions from xmalloc.hCraig Barnes-1/+2
2020-07-16vt: never call term_print() with a width <= 0Daniel Eklöf-1/+2
2020-07-16vt: ignore 0x7f (DEL) in ground stateDaniel Eklöf-1/+4
2020-07-16vt: utf8: handle multi-column spacer values correctly when combiningDaniel Eklöf-6/+3
2020-07-14term: rename COMB_CHARS_LO,HI -> CELL_COMB_CHARS_LO,HIDaniel Eklöf-6/+6
2020-07-14vt: change HT (horizontal tab) to *not* clear LCFDaniel Eklöf-0/+6
2020-07-14term: rename term_formfeed() -> term_carriage_return()Daniel Eklöf-2/+3
2020-07-14vt: implement C0::FF - processed in the same way as C0::LFDaniel Eklöf-0/+2
2020-07-14vt: process C0::VT the same way we process C0::LFDaniel Eklöf-6/+3
2020-07-14vt: sort C0's in the switch statement, and use escaped character possibleDaniel Eklöf-16/+16
2020-06-09unicode combining: don't log overflow errors unless LOG_ENABLE_DBG == 1Daniel Eklöf-1/+2
2020-06-09vt: utf8-print: check width == 0 first, when deciding whether to do combiningDaniel Eklöf-1/+1
2020-06-07vt: initial version of UTF-8 decoding built-in into the VT parserDaniel Eklöf-33/+133
2020-05-31vt: utf8: use mbtowc() instead of mbrtowc()Daniel Eklöf-8/+2
2020-05-31vt: utf8: don't need one entry action for each UTF8 variantDaniel Eklöf-20/+6
2020-05-10unicode-combine: simplify - remove -Dunicode-precompose optionDaniel Eklöf-2/+0
2020-05-09unicode-precompose: use fcft's precompose functionalityDaniel Eklöf-36/+25
2020-05-03unicode-combining: limit maximum number of allowed composed chainsDaniel Eklöf-5/+12
2020-05-03unicode-combining: detect when we've reached the chain limitDaniel Eklöf-0/+14
2020-05-03unicode-combining: store seen combining chains "globally" in the term structDaniel Eklöf-16/+43
2020-05-02vt: use signed integers to correctly detect when we're doneDaniel Eklöf-2/+2
2020-05-02meson: don't generate pre-compose table when -Dunicode-precompose=falseDaniel Eklöf-0/+2
2020-05-02unicode-combine: remove utf8proc dependencyDaniel Eklöf-17/+40
2020-05-02unicode-combining: don't limit ourselves to the (western) diacritics blocksDaniel Eklöf-13/+19
2020-05-01unicode-combine: only compose if we don't have any other combining charactersDaniel Eklöf-16/+24
2020-05-01vt: utf8: track combining characters that we failed to composeDaniel Eklöf-15/+37
2020-05-01util.h: new header file defining commonly used macrosDaniel Eklöf-3/+1
2020-04-27vt: lazily reset utf8 in action_utf8_*_entryDaniel Eklöf-4/+3
2020-04-27vt: action_utf8_print: idx is cleared in action_clear()Daniel Eklöf-3/+0
2020-04-27vt: utf8-*-entry: idx is cleared in action_clear()Daniel Eklöf-3/+3
2020-04-27term: remove unneeded utf8.left memberDaniel Eklöf-15/+0
2020-04-27utf8: add support for unicode combining charactersDaniel Eklöf-2/+54
2020-04-16grid: move 'cursor' state from terminal to gridDaniel Eklöf-8/+8
2020-04-13mbstate: fix compile warning on systems where mbstate_t isn't an integralDaniel Eklöf-1/+1
2020-03-16alt-screen: use a custom 'saved' cursor when switching to alt screenDaniel Eklöf-1/+1
2020-02-10vt: tag cells that were form-feed:ed, to allow correct text reflowDaniel Eklöf-2/+2
2020-02-01vt: ensure we never step outside our parameter and sub-parameter arraysDaniel Eklöf-6/+70
2020-02-01vt: collect (intermediate): log a warning if user supplied more than two intermediatesDaniel Eklöf-1/+1
2020-02-01vt: collect (intermediate): log _which_ character we collectedDaniel Eklöf-1/+1
2020-01-25vt: bug: state machine: csi entry: handle 0x3a/0x3b correctlyDaniel Eklöf-1/+1
2020-01-23vt: bug: fix check for error from mbrtowc()Daniel Eklöf-1/+4
2020-01-20term: factor out character printing to new function term_print()Daniel Eklöf-90/+4
2020-01-12dcs: initial handling of DCS in generalDaniel Eklöf-0/+4
2019-12-20Revert "vt: refactor"Daniel Eklöf-208/+201
2019-12-20vt: refactorDaniel Eklöf-201/+208
2019-12-20vt: visually compact the switch tablesDaniel Eklöf-271/+271
2019-12-20vt: remove enum action; add separate functions for each action insteadDaniel Eklöf-524/+491
2019-12-20vt: remove debug assertDaniel Eklöf-1/+0
2019-12-20vt: use a pointer that we increment, instead of indexingDaniel Eklöf-21/+21
2019-12-20vt: use break, not continueDaniel Eklöf-17/+17
2019-12-20vt: no need to assign to term->vt.state for *every* input byteDaniel Eklöf-18/+20
2019-12-20vt: remove dead codeDaniel Eklöf-495/+0
2019-12-20vt: don't special case UTF-8 collect stateDaniel Eklöf-24/+55
2019-12-20vt: convert SOS/PM/APC string from table lookup to switchDaniel Eklöf-2/+30
2019-12-20vt: convert DCS from table lookup to switchDaniel Eklöf-7/+195
2019-12-20vt: convert CSI ignore from table lookup to switchDaniel Eklöf-2/+34
2019-12-20vt: convert CSI intermediate from table lookup to switchDaniel Eklöf-2/+35
2019-12-20vt: convert CSI param from table lookup to switchDaniel Eklöf-2/+39
2019-12-20vt: add missing 'entry' actions to 'anywhere' sectionsDaniel Eklöf-2/+2
2019-12-20vt: convert CSI entry from table lookup to switchDaniel Eklöf-4/+39
2019-12-20vt: re-align switchesDaniel Eklöf-67/+68
2019-12-20vt: replace GROUND, ESCAPE and ESCAPE_INTERMEDIATE tables with switchesDaniel Eklöf-5/+115
2019-12-20vt: use a switch instead of a top-level state lookup tableDaniel Eklöf-1/+26
2019-12-14vt: add commented out cases for 8-bit C1 control charactersDaniel Eklöf-0/+35
2019-11-29vt: don't try to move cursor outside the terminalDaniel Eklöf-7/+11
2019-11-29vt: fix memory corruption: wcwidth() may return -1Daniel Eklöf-12/+14
2019-11-29csi/vt: don't bad client data as errorsDaniel Eklöf-1/+1
2019-11-29vt: only define esc_as_string() when debug logging has been enabledDaniel Eklöf-0/+2
2019-11-29vt: disable logging BELLDaniel Eklöf-2/+2
2019-11-29csi/ocs/vt: log unhandled/unrecognized sequences as debug messagesDaniel Eklöf-1/+1
2019-11-29vt: there are actually many state transitions that are no-opsDaniel Eklöf-1/+0
2019-11-17Revert "vt: replace pre_print() with term_autowrap()"Daniel Eklöf-2/+14
2019-11-17vt: replace pre_print() with term_autowrap()Daniel Eklöf-14/+2
2019-11-17csi: fix bad implementation of CBT (back tab)Daniel Eklöf-0/+1
2019-11-17vt: bug (tab regression): don't get stuck on the same tab stopDaniel Eklöf-2/+2
2019-11-17term: save/restore charsets on save/restore cursor+attributesDaniel Eklöf-6/+2
2019-11-17term: move charset variables into an anonymous structDaniel Eklöf-7/+13
2019-11-17term: move lcf flag into 'cursor' structDaniel Eklöf-2/+2
2019-11-17term: add struct cursorDaniel Eklöf-21/+21
2019-11-17term: rename: print_needs_wrap -> lcf (Last Column Flag)Daniel Eklöf-2/+2
2019-11-16vt: execute: \t: use tab stops from tab stop listDaniel Eklöf-3/+8
2019-11-16vt: implement ESC H - set tab stop at current columnDaniel Eklöf-0/+11
2019-11-16vt: remove commented out codeDaniel Eklöf-37/+0