aboutsummaryrefslogtreecommitdiff
path: root/selection.c (follow)
Commit message (Expand)AuthorAgeLines
* selection: remove duplicate ‘ESC’ in switch caseDaniel Eklöf2021-01-26-4/+0
* selection: DEL is 0x7f, not 0x1fDaniel Eklöf2021-01-26-1/+1
* selection: codespell: stript -> stripDaniel Eklöf2021-01-26-1/+1
* selection: strip non-formatting C0, BS, HT and DEL from pasted textDaniel Eklöf2021-01-26-0/+17
* selection: unbreak text/uri-list decoding: we’re not using \r, not \nDaniel Eklöf2021-01-26-1/+1
* selection: replace \r\n and \n with \r, and strip \e from pasted textDaniel Eklöf2021-01-26-3/+27
* config: add ‘none’ as a possible value for ‘selection-target’Daniel Eklöf2021-01-23-0/+3
* selection: copy selected text to the target configured by ‘selection-target’Daniel Eklöf2021-01-23-1/+14
* debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes2021-01-16-47/+47
* config: add ‘select-extend-character-wise’ bind actionDaniel Eklöf2021-01-14-5/+17
* selection: uri decode: move zero-length check into decode_one_uri()Daniel Eklöf2021-01-12-2/+4
* selection: add a ‘finish’ function, called at the end of receiving clipboard dataDaniel Eklöf2021-01-12-0/+24
* selection: URI decoder: break out decoding of a single URIDaniel Eklöf2021-01-12-27/+29
* selection: extend-block: update pivot point and selection directionDaniel Eklöf2021-01-06-0/+6
* selection: extend: don’t copy to primary - it is done when RMB is releasedDaniel Eklöf2021-01-06-2/+0
* selection: extend: re-calculate pivot pointDaniel Eklöf2021-01-06-0/+30
* selection: break out pivot point adjustment for character-wise selectionsDaniel Eklöf2021-01-06-80/+111
* selection: combine enum selection_kind with selection_semanticDaniel Eklöf2021-01-06-15/+29
* selection: update: line-wraps are ok while moving pivot start/end pointDaniel Eklöf2021-01-04-8/+14
* selection: update: get start-row pointer *after* modifying the start row indexDaniel Eklöf2021-01-04-5/+6
* selection: update: simplify: multi-column chars don’t span line-wrapsDaniel Eklöf2021-01-04-14/+8
* selection: wrap pivot_{start,end}->row before accessing grid row arrayDaniel Eklöf2021-01-04-5/+7
* selection: cancel: reset pivot coordinatesDaniel Eklöf2021-01-04-0/+2
* selection: update: find_word_boundary_{left,right}: coordinates are screen localDaniel Eklöf2021-01-04-4/+10
* selection: find_word_boundary_{left,right}: try to make the code more readableDaniel Eklöf2021-01-04-24/+24
* selection: find_word_boundary_{left,right}: handle multi-column charactersDaniel Eklöf2021-01-04-8/+40
* selection: find_word_boundary{left,right}: what we match depends on initial characterDaniel Eklöf2021-01-04-50/+66
* selection: allow selections to pivot around a range instead of a pointDaniel Eklöf2021-01-04-26/+78
* selection: find_word_boundary{left,right}: handle composed charactersDaniel Eklöf2021-01-04-0/+24
* selection: find_word_boundary_{left,right}: treat spacers as word charsDaniel Eklöf2021-01-04-4/+16
* selection: use selection_start() to initialize word/row-based selectionDaniel Eklöf2021-01-04-92/+91
* selection: don’t finalize selection when starting a word/row-based selectionDaniel Eklöf2021-01-04-2/+0
* selection: remember whether word-wise selection uses spaces only for delimitersDaniel Eklöf2021-01-04-2/+4
* selection: wip: update selection row-wise when initial selection was by rowDaniel Eklöf2021-01-04-2/+23
* selection: wip: update selection word-wise when initial selection was by wordDaniel Eklöf2021-01-04-54/+85
* input: rework mouse button/motion handlingDaniel Eklöf2020-12-12-0/+2
* selection: do not try to paste un-handled mime typesDaniel Eklöf2020-11-30-2/+6
* selection: offer clipboard content in more mime typesDaniel Eklöf2020-11-30-0/+10
* selection: fix enum typeDaniel Eklöf2020-11-06-1/+1
* selection: explicitly set direction when right-click extendingDaniel Eklöf2020-11-04-0/+6
* selection: do mime-type based decoding before passing data to callbackDaniel Eklöf2020-11-01-119/+104
* selection: dnd: fix wl_data_offer_destroy() raceDaniel Eklöf2020-10-31-0/+5
* codespell: fix misspelled wordsDaniel Eklöf2020-10-28-2/+2
* selection: add support for different mime-typesDaniel Eklöf2020-10-28-83/+315
* selection: debug log of data offer mime-types and actionsDaniel Eklöf2020-10-26-5/+5
* selection: implement support for drag-and-dropDaniel Eklöf2020-10-26-5/+91
* selection: re-factor: break out code shared between clipboard/primary sendDaniel Eklöf2020-10-13-59/+21
* selection: auto-scroll: call cmd_scrollback_{up,down}() with number of rowsDaniel Eklöf2020-10-11-4/+2
* selection: cancel: call selection_stop_scroll_timer()Daniel Eklöf2020-10-11-4/+1
* selection: auto-scroll: add SELECTION_SCROLL_NOT as a scroll ‘direction’Daniel Eklöf2020-10-11-2/+9
* selection: auto-scroll: selection keeps scrolling while mouse is outside gridDaniel Eklöf2020-10-11-0/+103
* selection: use appropriate check for PRIMARY pasteSergey Nazaryev2020-10-10-2/+2
* config: add ‘[default].word-delimiters’Daniel Eklöf2020-10-09-4/+5
* selection: reset clipboard/primary->text after free:ing itDaniel Eklöf2020-09-17-0/+2
* selection: primary unset: don’t free text twiceDaniel Eklöf2020-09-17-1/+0
* selection: add selection_<type>_has_data()Daniel Eklöf2020-09-09-0/+12
* selection: add selection_<type>_unset()Daniel Eklöf2020-09-09-0/+41
* codespell: selection: faild -> failedDaniel Eklöf2020-08-27-1/+1
* selection: don't initiate a paste when we're already pastingDaniel Eklöf2020-08-25-0/+10
* selection: must use term_paste_data_to_slave() for paste dataDaniel Eklöf2020-08-25-1/+1
* selection: clipboard callback: assert we're in sending-paste-data modeDaniel Eklöf2020-08-25-0/+1
* selection: block non-paste data from being sent to client while pastingDaniel Eklöf2020-08-25-3/+12
* selection: add a 2 second timeout when receiving clipboard dataDaniel Eklöf2020-08-25-11/+78
* selection: don't do "return function_returning_void()" in functions returning voidDaniel Eklöf2020-08-23-11/+22
* don't use empty struct initializersDaniel Eklöf2020-08-23-3/+3
* selection: don't highlight trailing empty cells in a selectionDaniel Eklöf2020-08-18-11/+55
* selection: extend: set ongoing to trueDaniel Eklöf2020-08-14-0/+2
* selection: finalize: clear ongoing selectionDaniel Eklöf2020-08-14-3/+3
* selection: update: don't update if there's no ongoing selectionDaniel Eklöf2020-08-14-0/+3
* config: add mouse specific bind actionsDaniel Eklöf2020-08-14-0/+7
* selection: improve handling of multi-column charactersDaniel Eklöf2020-08-13-13/+14
* selection: handle multi-column characters when reversing selection directionDaniel Eklöf2020-08-13-16/+30
* selection: adjust start point when the selection changes directionDaniel Eklöf2020-08-12-0/+37
* Convert most dynamic allocations to use functions from xmalloc.hCraig Barnes2020-08-08-5/+6
* config: add 'pipe-selected' key bindingDaniel Eklöf2020-07-31-4/+7
* Merge branch 'master' into scrollback-position-indicatorDaniel Eklöf2020-07-27-8/+8
|\
| * selection: extending a selection is now interactiveDaniel Eklöf2020-07-27-8/+8
* | input: margins are not selectableDaniel Eklöf2020-07-26-3/+4
|/
* selection: provide a const-wrapper for extract_one()Daniel Eklöf2020-07-15-1/+9
* selection: refactor: break out text extraction to a separate fileDaniel Eklöf2020-07-15-170/+22
* selection: don't skip SPACER cells in the generic foreach()Daniel Eklöf2020-07-15-4/+3
* selection: row->dirty is a booleanDaniel Eklöf2020-07-15-2/+3
* selection: no need to try to detect multi-column chars at the end of the lineDaniel Eklöf2020-07-14-16/+1
* term: print: write special value CELL_MULT_COL_SPACER to extra cellsDaniel Eklöf2020-07-14-4/+4
* term: rename COMB_CHARS_LO,HI -> CELL_COMB_CHARS_LO,HIDaniel Eklöf2020-07-14-2/+3
* selection: recognize empty padding cells in a forced linewrapDaniel Eklöf2020-07-14-9/+35
* selection: foreach: don't call callback for trailing multi-character cellsDaniel Eklöf2020-07-14-1/+6
* seat: use separate 'enter' serials for keyboard and mouseDaniel Eklöf2020-07-09-2/+2
* multi-seat: improve handling of multiple (mouse) pointersDaniel Eklöf2020-07-09-2/+2
* multi-seat: re-enable selection support (excluding OSC 52)Daniel Eklöf2020-07-08-82/+57
* wip: multi-seat supportDaniel Eklöf2020-07-08-7/+36
* selection: fix typo when extending selection to cover double-width characterDaniel Eklöf2020-06-03-1/+1
* selection: don't allow only half of double-width characters to be selectedDaniel Eklöf2020-06-02-1/+28
* selection: performance: check for < 0 or >= 0 instead of == -1Daniel Eklöf2020-05-19-9/+9
* selection: handle viewport wrap around correctlyDaniel Eklöf2020-05-19-0/+28
* term: scrolling: hopefully fix all selection/scrolling related crashesDaniel Eklöf2020-05-17-11/+19
* selection: on_rows_in_view: fix range checkDaniel Eklöf2020-05-17-7/+5
* selection: copy: insert line break if either cell is emptyDaniel Eklöf2020-05-16-1/+2
* selection/render: sync cells' 'selected' bit before renderingDaniel Eklöf2020-05-16-0/+10
* selection: update: don't assert on 'start' being setDaniel Eklöf2020-05-16-0/+1