Commit graph

  • 5597856762
    main: set TERM=xterm-direct Daniel Eklöf 2019-07-15 12:36:00 +02:00
  • 03b9cf2a22
    csi: implement ':'-separated 24-bit color values Daniel Eklöf 2019-07-15 12:35:43 +02:00
  • 6550285cf6
    vt: handle ':'-separated sub parameters correctly Daniel Eklöf 2019-07-15 12:34:51 +02:00
  • 6ac115bffd
    vt: implement SI/SO (shift in, shift out) Daniel Eklöf 2019-07-15 12:04:40 +02:00
  • 6077b57ca5
    rename project to 'foot' Daniel Eklöf 2019-07-11 20:10:59 +02:00
  • 6e4c31960a
    scrollback: limit maximum number of lines one can scrollback at once Daniel Eklöf 2019-07-11 18:34:03 +02:00
  • cbac302ba1
    scrollback: fix assertions in debug builds; need to wrap row number Daniel Eklöf 2019-07-11 18:25:46 +02:00
  • 0393521d79
    input: cancel selection on any mouse *except* BTN_LEFT Daniel Eklöf 2019-07-11 18:17:40 +02:00
  • 6cd23654cc
    selection: disable source listeners, since we don't currently use them Daniel Eklöf 2019-07-11 17:37:32 +02:00
  • 66e067082b
    selection: implement copy *to* primary Daniel Eklöf 2019-07-11 17:34:52 +02:00
  • 703aeecb95
    selection: add support for pasting *from* primary Daniel Eklöf 2019-07-11 17:02:21 +02:00
  • e56066feef
    selection: add selection_from_primary() API (stub for now) Daniel Eklöf 2019-07-11 16:42:59 +02:00
  • 5e1715be18
    selection: cleanup Daniel Eklöf 2019-07-11 16:37:45 +02:00
  • 6edc3845bd
    selection: calculate required length for clipboard text Daniel Eklöf 2019-07-11 16:32:33 +02:00
  • c1c6646b98
    selection: read until EOF when reading from clipboard Daniel Eklöf 2019-07-11 16:27:12 +02:00
  • e8b6705ab8
    selection: it's an error to call offset_accept() on non-drag-and-drop Daniel Eklöf 2019-07-11 16:26:53 +02:00
  • 3f02a7354e
    selection: handle partial writes and EINTR when writing to clipboard Daniel Eklöf 2019-07-11 16:26:25 +02:00
  • 482c8f76a9
    selection: add support for pasting from clipboard Daniel Eklöf 2019-07-11 12:33:31 +02:00
  • b50ec1a850
    selection: initial copy-to-clipboard functionality Daniel Eklöf 2019-07-11 12:16:50 +02:00
  • 1f808781f4
    selection: selection_finalize() ignores invalid selections Daniel Eklöf 2019-07-11 11:11:12 +02:00
  • 0facfa4da7
    input: call selection_finalize() when BTN_LEFT is released Daniel Eklöf 2019-07-11 11:10:53 +02:00
  • e7e199d6b5
    selection: spell 'finalize' correctly Daniel Eklöf 2019-07-11 11:10:44 +02:00
  • d0e0b6da7c
    selection: invalidate *all* affected lines when updating selection Daniel Eklöf 2019-07-11 11:10:12 +02:00
  • c43b49dab6
    input: ignore mouse motion outside our window Daniel Eklöf 2019-07-11 11:09:34 +02:00
  • 18070cf286
    selection: disable debug logging Daniel Eklöf 2019-07-11 10:01:46 +02:00
  • 84c0bb8f59
    csi: cancel selection when switching between 'normal' and 'alt' grid Daniel Eklöf 2019-07-11 10:00:59 +02:00
  • 7dd80b08b3
    render: bug: don't render cursor when hide cursor is enabled Daniel Eklöf 2019-07-11 09:59:51 +02:00
  • d944274f14
    selection: disable selection when client has enabled mouse tracking Daniel Eklöf 2019-07-11 09:57:04 +02:00
  • bcf763d417
    selection: add a selection API Daniel Eklöf 2019-07-11 09:51:51 +02:00
  • 1c861e5d69
    selection: only left button can be used for selection Daniel Eklöf 2019-07-11 09:17:13 +02:00
  • 632790d5d8
    selection: selections can be made, and are rendered Daniel Eklöf 2019-07-10 20:57:09 +02:00
  • decb4503bf
    grid: prefetch cells in grid_row() Daniel Eklöf 2019-07-10 19:52:30 +02:00
  • 1a21a5fb29
    Merge branch 'cache-optimize' Daniel Eklöf 2019-07-10 19:21:49 +02:00
  • e4a631f7f0
    terminal: scrolling: prefetch cells of scrolled in lines Daniel Eklöf 2019-07-10 19:18:53 +02:00
  • 1d7bf3fbca
    terminal: scrolling: better debug log messages Daniel Eklöf 2019-07-10 19:18:36 +02:00
  • 379f7cf646
    grid: swap_row: drop requirement that row indices be positive Daniel Eklöf 2019-07-10 19:17:53 +02:00
  • 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