Commit graph

  • 4ffd93ca4c
    render: reduce scrollback line count Daniel Eklöf 2019-07-10 18:49:34 +02:00
  • 74ab120101
    terminal: use floats instead of double for colors Daniel Eklöf 2019-07-10 18:48:46 +02:00
  • b1f8dd75d6
    cell: we only need 4 bytes for the longest utf8 sequence Daniel Eklöf 2019-07-10 18:47:32 +02:00
  • cf71534768
    terminal: remove 'blink' attribute from cell struct Daniel Eklöf 2019-07-10 18:45:12 +02:00
  • 5a92202a49
    scrollback: in debug, verify all rows in the view are initialized Daniel Eklöf 2019-07-10 16:36:10 +02:00
  • 132749b1ed
    grid: repair grid_row_in_view(): use 'view', not 'offset' Daniel Eklöf 2019-07-10 16:35:52 +02:00
  • 1ff1b3a71e
    grid: don't pre-allocate the entire grid (with all scrollback lines) Daniel Eklöf 2019-07-10 16:27:55 +02:00
  • 8f0d574dcb
    grid: don't implement grid_swap_row() in the header file Daniel Eklöf 2019-07-10 16:08:53 +02:00
  • ea1b618b6d
    vt: implement \ED and \EE Daniel Eklöf 2019-07-10 16:05:19 +02:00
  • 885089d146
    vt: \EM now calls term_reverse_index() instead of always scrolling one line Daniel Eklöf 2019-07-10 16:05:01 +02:00
  • 3bb726eb78
    vt: '\n' now calls term_linefeed() Daniel Eklöf 2019-07-10 16:04:46 +02:00
  • 48efc50c23
    vt: escape '\E' properly when logging an ESC sequence Daniel Eklöf 2019-07-10 16:04:25 +02:00
  • 454133033c
    vt/csi: use vt_param_get() Daniel Eklöf 2019-07-10 16:04:16 +02:00
  • 9df691e1af
    vt: add vt_param_get() - returns the specified parameter's value Daniel Eklöf 2019-07-10 16:03:18 +02:00
  • 3ab68c575b
    terminal: add term_linefeed() and term_reverse_index() Daniel Eklöf 2019-07-10 16:02:03 +02:00
  • 96bd55f7c4
    terminal: only support a single intermediate/private character Daniel Eklöf 2019-07-10 15:03:16 +02:00
  • 43e57e3546
    csi: fix logging; 'CSI' was printed twice Daniel Eklöf 2019-07-10 14:57:59 +02:00
  • 0bc3b29b0f
    Merge branch 'scrollback' Daniel Eklöf 2019-07-10 14:57:26 +02:00
  • 5144fcba0c
    scrollback: disable debug logging Daniel Eklöf 2019-07-10 14:45:00 +02:00
  • 607755536f
    scrollback: use term_damage_view() Daniel Eklöf 2019-07-10 14:43:46 +02:00
  • a01efd07e3
    scrollback: don't allow more scrolling when already at the top or bottom Daniel Eklöf 2019-07-10 14:42:48 +02:00
  • e01060caf9
    render: damage the *view* too, when resizing Daniel Eklöf 2019-07-10 14:34:43 +02:00
  • 4cef8ed2cc
    render: reset 'normal' grid's view correctly Daniel Eklöf 2019-07-10 14:34:32 +02:00
  • 8a65d52b21
    terminal: add term_damage_view() Daniel Eklöf 2019-07-10 14:32:40 +02:00
  • d8d4b34362
    scrollback: fix scrolling outside initialized lines in new terminal Daniel Eklöf 2019-07-10 14:28:20 +02:00
  • 7594edb89b
    input: generate BTN_BACK/BTN_FORWARD mouse down events when scrolling Daniel Eklöf 2019-07-10 14:17:44 +02:00
  • 94fdde3da7
    main: hopefully fix logical error in delayed rendering Daniel Eklöf 2019-07-10 09:56:15 +02:00
  • 18c61a9a2a
    scrollback: fix off-by-one when grid size matches terminal/window size Daniel Eklöf 2019-07-10 09:55:53 +02:00
  • 1bb5afeb0a
    render: don't render cursor if it is not in view Daniel Eklöf 2019-07-10 09:51:42 +02:00
  • ed0fd2d442
    scrollback: don't redraw if view doesn't change Daniel Eklöf 2019-07-10 09:30:35 +02:00
  • 1d338f8477
    scrollback: don't scroll past scrollback history Daniel Eklöf 2019-07-10 09:29:36 +02:00
  • b058e6384a
    scrollback: initial support for mouse scrolling Daniel Eklöf 2019-07-10 09:15:37 +02:00
  • bcd111d203
    wip: initial scroll back support Daniel Eklöf 2019-07-09 16:26:36 +02:00
  • 34f9d544fd
    input: fix backspace escape sequences Daniel Eklöf 2019-07-09 15:09:44 +02:00
  • cb8c2cdb35
    input: split up keymap Daniel Eklöf 2019-07-09 15:05:07 +02:00
  • 3dbef02dac
    input: implement keypad application mode Daniel Eklöf 2019-07-09 14:27:26 +02:00
  • 9b5c044b29
    terminal: rename and redefine cursor keys mode and keypad keys mode Daniel Eklöf 2019-07-09 11:07:06 +02:00
  • d90ea88aa2
    vt: handle ESC correctly in OSC string state Daniel Eklöf 2019-07-09 11:06:20 +02:00
  • b4fdf51752
    input: add support for dead keys (composing) Daniel Eklöf 2019-07-09 10:00:54 +02:00
  • fd6a99d738
    vt: handle UTF-8 sequences in OSC PUT Daniel Eklöf 2019-07-09 09:59:32 +02:00
  • 8cf7d7f7ab
    Merge branch 'no-more-linear' Daniel Eklöf 2019-07-09 09:24:26 +02:00
  • 0d24fcafd0
    render: store frame callback pointer in terminal struct Daniel Eklöf 2019-07-09 09:23:32 +02:00
  • d7bb83022d
    cleanup Daniel Eklöf 2019-07-09 09:17:24 +02:00
  • 0f14b5298e
    render: copy old contents to new grids when resizing Daniel Eklöf 2019-07-09 09:12:41 +02:00
  • 6d48f0f2a5
    render: hackerman Daniel Eklöf 2019-07-08 20:25:41 +02:00
  • 729974492d
    main: verify compositor has WL_SHM_FORMAT_ARGB8888 Daniel Eklöf 2019-07-08 16:12:02 +02:00
  • 1e2a7e77f0
    rgba: drop alpha channel support Daniel Eklöf 2019-07-08 15:56:15 +02:00
  • 69e7744e5d
    render: use CAIRO_OPERATER_SOURCE to draw glyphs Daniel Eklöf 2019-07-08 15:51:44 +02:00
  • f1fa5a4a37
    render: use doubles instead of ints Daniel Eklöf 2019-07-08 15:28:33 +02:00
  • 587a9c6ffe
    render: use pointers to rgba foreground/background colors Daniel Eklöf 2019-07-08 15:27:44 +02:00
  • 4e25019ba6
    wip: grid is now represented as a grid, not a linear array Daniel Eklöf 2019-07-08 13:57:31 +02:00
  • 98db7f58cb
    cell: packing the cell struct seems to help performance Daniel Eklöf 2019-07-07 22:03:08 +02:00
  • c35e10bd9a
    render: collect glyphs over *all* update damages Daniel Eklöf 2019-07-07 21:55:31 +02:00
  • f2363c2391
    grid: add a fast path to grid_memmove() Daniel Eklöf 2019-07-07 17:10:30 +02:00
  • 48528419c4
    grid: grid_memset() -> grid_memclear() Daniel Eklöf 2019-07-07 17:10:15 +02:00
  • abff0e205e
    csi: scroll region is not allowed past available rows Daniel Eklöf 2019-07-07 17:03:22 +02:00
  • d63629b370
    performance improvements Daniel Eklöf 2019-07-07 16:32:18 +02:00
  • 050f7ea6ea
    render: performance: don't stack allocate glyph sequence Daniel Eklöf 2019-07-06 18:31:14 +02:00
  • 00c5b27bfa
    vt: add branch hinting to PRINT action Daniel Eklöf 2019-07-06 13:25:36 +02:00
  • 77e349d20d
    render: reverse video only reverses the default background/foreground Daniel Eklöf 2019-07-05 20:36:03 +02:00
  • b26e03fced
    csi: implement reverse video Daniel Eklöf 2019-07-05 20:12:40 +02:00
  • c76e620d71
    csi: implement URXVT style mouse event reporting Daniel Eklöf 2019-07-05 19:40:52 +02:00
  • 450f6c7dcc
    osc: recognize, but ignore, OSC 104 and OSC 105 Daniel Eklöf 2019-07-05 19:04:34 +02:00
  • b69282545c
    osc: fix param calculation with more than one digit Daniel Eklöf 2019-07-05 19:04:09 +02:00
  • b9bd637021
    csi: SGR mouse tracking *is* implemented Daniel Eklöf 2019-07-05 15:58:02 +02:00
  • fd25018cdd
    render: fill area outside the cell grid with default bg color Daniel Eklöf 2019-07-05 15:53:53 +02:00
  • 1b07015d49
    term: implement MOUSE_SGR mouse event reporting style Daniel Eklöf 2019-07-05 15:29:16 +02:00
  • a959c89b7f
    input: bug: row is calculated from the cell *height*, not width Daniel Eklöf 2019-07-05 15:28:39 +02:00
  • 1610828b8c
    vt: add support for mouse motion reports Daniel Eklöf 2019-07-05 15:13:06 +02:00
  • e5fc266cdb
    vt: add support for \E[?1000h - report mouse button events Daniel Eklöf 2019-07-05 14:24:51 +02:00
  • a102ff09f9
    input: mouse events Daniel Eklöf 2019-07-05 10:44:57 +02:00
  • 1a341a56cc
    render: load cursor theme from XCURSOR_THEME and XCURSOR_SIZE Daniel Eklöf 2019-07-05 10:44:09 +02:00
  • 1947d33868
    render: break out rendering functions to render.{c,h} Daniel Eklöf 2019-07-05 10:16:56 +02:00
  • 3ba1721c0f
    osc: implement change window title and icon Daniel Eklöf 2019-07-05 09:46:48 +02:00
  • 998ce52b7e
    render: bump number of glyphs we can render in a single call Daniel Eklöf 2019-07-05 09:31:03 +02:00
  • 19cef74153
    main: it's not the terminal emulators job to set LINES and COLUMNS Daniel Eklöf 2019-07-05 09:21:12 +02:00
  • 488ad5dc77
    csi: manually erase alt screen when switching to it Daniel Eklöf 2019-07-05 09:09:58 +02:00
  • c5fdc13ea4
    term_erase(): erased cells get the currently selected background color Daniel Eklöf 2019-07-05 09:09:28 +02:00
  • 28d05a5528
    main: initialize colors in VT state Daniel Eklöf 2019-07-05 09:08:58 +02:00
  • 8091f7c781
    render: force a full redraw when we cannot reuse last buffer Daniel Eklöf 2019-07-05 08:53:48 +02:00
  • 4a35aa9724
    resize: cursor reset was off-by-one when cursor was outside new size Daniel Eklöf 2019-07-04 19:56:50 +02:00
  • 1c737fa7bd
    resize: re-align grid offset Daniel Eklöf 2019-07-04 19:56:27 +02:00
  • 669ef1a07a
    csi: implement CSI S and CSI T (scroll up/down) Daniel Eklöf 2019-07-04 19:39:23 +02:00
  • befb437411
    vt: improve logging of invalid and unimplemented sequences Daniel Eklöf 2019-07-04 19:35:01 +02:00
  • cb10d10fd8
    vt: implement save/restore cursor+attributes Daniel Eklöf 2019-07-04 19:23:25 +02:00
  • aad4db29c2
    vt: handle graphical charset mode when printing a character Daniel Eklöf 2019-07-04 19:17:42 +02:00
  • ea6e06d689
    vt: track charsets G0-G3 and support either ASCII or graphical mode Daniel Eklöf 2019-07-04 19:17:18 +02:00
  • dd5a3b1009
    main: handle EINTR in poll() Daniel Eklöf 2019-07-04 19:16:32 +02:00
  • 50d455bd15
    csi: ignore 'blinking cursor' private mode Daniel Eklöf 2019-07-04 10:04:52 +02:00
  • 0457c33418
    csi: fix parsing of 256-color and 24-bit color SGRs Daniel Eklöf 2019-07-04 09:57:02 +02:00
  • ef944933e6
    flash mitigation: add a small delay before rendering after receiving client data Daniel Eklöf 2019-07-04 09:54:40 +02:00
  • 03ca7a04ab
    main: more zenburn:ish default foreground and background colors Daniel Eklöf 2019-07-04 09:27:06 +02:00
  • a191d98d09
    vt: bug fix: clear utf-8 state after printing a utf-8 character Daniel Eklöf 2019-07-04 09:26:34 +02:00
  • 9f12bca21e
    Merge branch 'fast-scroll' Daniel Eklöf 2019-07-03 22:30:00 +02:00
  • 35d5035f61
    csi: fix bug: cursor horizontal absolute (<ESC> Pn G) was off-by-one Daniel Eklöf 2019-07-03 22:21:44 +02:00
  • 2f3f4ac56f
    csi: cleanup Daniel Eklöf 2019-07-03 22:21:23 +02:00
  • 3d58d24963
    csi: ?r and ?s are like ?h and ?l; they save/restore things Daniel Eklöf 2019-07-03 21:33:23 +02:00
  • 3c67628c57
    vt: implement (untested!) smam and rmam (auto margins) Daniel Eklöf 2019-07-03 21:18:06 +02:00
  • 90dadfcc22
    vt: implement (untested!) insert mode Daniel Eklöf 2019-07-03 21:16:41 +02:00
  • 1373d18dbc
    logging: disable debug logging by default Daniel Eklöf 2019-07-03 20:21:03 +02:00