aboutsummaryrefslogtreecommitdiff
path: root/selection.c (unfollow)
Commit message (Expand)AuthorLines
2021-09-30selection: line-wise selection now handles soft line-wrappingDaniel Eklöf-16/+83
2021-08-16selection: modify: no need to check for NULL before calling free()Daniel Eklöf-4/+1
2021-08-16selection: modify: convert ‘keep_selection’ bitmask from uint64_t to uint8_tDaniel Eklöf-11/+11
2021-08-16selection: modify: replace reset_context() macro with a functionDaniel Eklöf-9/+9
2021-08-16selection: don’t require two cell attr bits for selection updatingDaniel Eklöf-24/+61
2021-07-22search: reset match state when selection is cancelledDaniel Eklöf-0/+3
2021-07-18csi: erase scrollback: cancel selection if it touches the scrollbackDaniel Eklöf-3/+1
2021-06-24composed: store compose chains in a binary search treeDaniel Eklöf-20/+8
2021-06-24wip: grapheme shapingDaniel Eklöf-4/+4
2021-06-09selection: add support for TEXT/STRING/UTF8_STRING mime-types in incoming offersDaniel Eklöf-6/+15
2021-06-05selection: reset ‘empty_count’ after we’ve emitted the empty cellsDaniel Eklöf-0/+2
2021-06-02selection: fix bad assertionDaniel Eklöf-2/+2
2021-05-31selection: pay attention to hard linebreaks when search for word boundariesDaniel Eklöf-4/+18
2021-05-17extract: move ‘strip_trailing_empty’ parameter from extra_finish() to extract_begin()Daniel Eklöf-2/+2
2021-05-17extract: add extract_finish_wide(), and optionally skip stripping trailing empty cellsDaniel Eklöf-1/+1
2021-05-17selection: expose find_word_boundary_{left,right}()Daniel Eklöf-12/+16
2021-05-14term: rename CELL_MULT_COL_SPACER -> CELL_SPACER, and change its definitionDaniel Eklöf-13/+13
2021-02-12selection: don’t strip formatting C0 control characters in bracketed paste modeDaniel Eklöf-18/+25
2021-02-12selection: don’t strip formatting C0 control characters in bracketed paste modeDaniel Eklöf-18/+25
2021-02-12config: add ‘none’ as a possible value for ‘selection-target’Daniel Eklöf-0/+3
2021-02-12selection: copy selected text to the target configured by ‘selection-target’Daniel Eklöf-1/+14
2021-02-10Convert all but 2 remaining uses of xassert(false) to BUG("...")Craig Barnes-7/+6
2021-02-02selection: remove selection_enabled()Daniel Eklöf-10/+0
2021-01-27selection: don’t replace \r\n and \n with \r in bracketed paste modeDaniel Eklöf-3/+14
2021-01-27selection: don’t replace \r\n and \n with \r in bracketed paste modeDaniel Eklöf-3/+14
2021-01-26selection: no xassert() in the releases/1.6 branchDaniel Eklöf-1/+1
2021-01-26selection: remove duplicate ‘ESC’ in switch caseDaniel Eklöf-4/+0
2021-01-26selection: DEL is 0x7f, not 0x1fDaniel Eklöf-1/+1
2021-01-26selection: codespell: stript -> stripDaniel Eklöf-1/+1
2021-01-26selection: strip non-formatting C0, BS, HT and DEL from pasted textDaniel Eklöf-0/+17
2021-01-26selection: unbreak text/uri-list decoding: we’re not using \r, not \nDaniel Eklöf-1/+1
2021-01-26selection: replace \r\n and \n with \r, and strip \e from pasted textDaniel Eklöf-3/+27
2021-01-26selection: remove duplicate ‘ESC’ in switch caseDaniel Eklöf-4/+0
2021-01-26selection: DEL is 0x7f, not 0x1fDaniel Eklöf-1/+1
2021-01-26selection: codespell: stript -> stripDaniel Eklöf-1/+1
2021-01-26selection: strip non-formatting C0, BS, HT and DEL from pasted textDaniel Eklöf-0/+17
2021-01-26selection: unbreak text/uri-list decoding: we’re not using \r, not \nDaniel Eklöf-1/+1
2021-01-26selection: replace \r\n and \n with \r, and strip \e from pasted textDaniel Eklöf-3/+27
2021-01-23config: add ‘none’ as a possible value for ‘selection-target’Daniel Eklöf-0/+3
2021-01-23selection: copy selected text to the target configured by ‘selection-target’Daniel Eklöf-1/+14
2021-01-21selection: uri decode: move zero-length check into decode_one_uri()Daniel Eklöf-2/+4
2021-01-21selection: add a ‘finish’ function, called at the end of receiving clipboard dataDaniel Eklöf-0/+24
2021-01-21selection: URI decoder: break out decoding of a single URIDaniel Eklöf-27/+29
2021-01-16debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes-47/+47
2021-01-14config: add ‘select-extend-character-wise’ bind actionDaniel Eklöf-5/+17
2021-01-12selection: uri decode: move zero-length check into decode_one_uri()Daniel Eklöf-2/+4
2021-01-12selection: add a ‘finish’ function, called at the end of receiving clipboard dataDaniel Eklöf-0/+24
2021-01-12selection: URI decoder: break out decoding of a single URIDaniel Eklöf-27/+29
2021-01-06selection: extend-block: update pivot point and selection directionDaniel Eklöf-0/+6
2021-01-06selection: extend: don’t copy to primary - it is done when RMB is releasedDaniel Eklöf-2/+0
2021-01-06selection: extend: re-calculate pivot pointDaniel Eklöf-0/+30
2021-01-06selection: break out pivot point adjustment for character-wise selectionsDaniel Eklöf-80/+111
2021-01-06selection: combine enum selection_kind with selection_semanticDaniel Eklöf-15/+29
2021-01-04selection: update: line-wraps are ok while moving pivot start/end pointDaniel Eklöf-8/+14
2021-01-04selection: update: get start-row pointer *after* modifying the start row indexDaniel Eklöf-5/+6
2021-01-04selection: update: simplify: multi-column chars don’t span line-wrapsDaniel Eklöf-14/+8
2021-01-04selection: wrap pivot_{start,end}->row before accessing grid row arrayDaniel Eklöf-5/+7
2021-01-04selection: cancel: reset pivot coordinatesDaniel Eklöf-0/+2
2021-01-04selection: update: find_word_boundary_{left,right}: coordinates are screen localDaniel Eklöf-4/+10
2021-01-04selection: find_word_boundary_{left,right}: try to make the code more readableDaniel Eklöf-24/+24
2021-01-04selection: find_word_boundary_{left,right}: handle multi-column charactersDaniel Eklöf-8/+40
2021-01-04selection: find_word_boundary{left,right}: what we match depends on initial characterDaniel Eklöf-50/+66
2021-01-04selection: allow selections to pivot around a range instead of a pointDaniel Eklöf-26/+78
2021-01-04selection: find_word_boundary{left,right}: handle composed charactersDaniel Eklöf-0/+24
2021-01-04selection: find_word_boundary_{left,right}: treat spacers as word charsDaniel Eklöf-4/+16
2021-01-04selection: use selection_start() to initialize word/row-based selectionDaniel Eklöf-92/+91
2021-01-04selection: don’t finalize selection when starting a word/row-based selectionDaniel Eklöf-2/+0
2021-01-04selection: remember whether word-wise selection uses spaces only for delimitersDaniel Eklöf-2/+4
2021-01-04selection: wip: update selection row-wise when initial selection was by rowDaniel Eklöf-2/+23
2021-01-04selection: wip: update selection word-wise when initial selection was by wordDaniel Eklöf-54/+85
2020-12-12input: rework mouse button/motion handlingDaniel Eklöf-0/+2
2020-11-30selection: do not try to paste un-handled mime typesDaniel Eklöf-2/+6
2020-11-30selection: offer clipboard content in more mime typesDaniel Eklöf-0/+10
2020-11-06selection: fix enum typeDaniel Eklöf-1/+1
2020-11-06selection: fix enum typeDaniel Eklöf-1/+1
2020-11-06selection: explicitly set direction when right-click extendingDaniel Eklöf-0/+6
2020-11-04selection: explicitly set direction when right-click extendingDaniel Eklöf-0/+6
2020-11-01selection: do mime-type based decoding before passing data to callbackDaniel Eklöf-119/+104
2020-10-31selection: dnd: fix wl_data_offer_destroy() raceDaniel Eklöf-0/+5
2020-10-28codespell: fix misspelled wordsDaniel Eklöf-2/+2
2020-10-28selection: add support for different mime-typesDaniel Eklöf-83/+315
2020-10-26selection: debug log of data offer mime-types and actionsDaniel Eklöf-5/+5
2020-10-26selection: implement support for drag-and-dropDaniel Eklöf-5/+91
2020-10-13selection: re-factor: break out code shared between clipboard/primary sendDaniel Eklöf-59/+21
2020-10-11selection: use appropriate check for PRIMARY pasteSergey Nazaryev-2/+2
2020-10-11selection: auto-scroll: call cmd_scrollback_{up,down}() with number of rowsDaniel Eklöf-4/+2
2020-10-11selection: cancel: call selection_stop_scroll_timer()Daniel Eklöf-4/+1
2020-10-11selection: auto-scroll: add SELECTION_SCROLL_NOT as a scroll ‘direction’Daniel Eklöf-2/+9
2020-10-11selection: auto-scroll: selection keeps scrolling while mouse is outside gridDaniel Eklöf-0/+103
2020-10-10selection: use appropriate check for PRIMARY pasteSergey Nazaryev-1187/+294
2020-10-09config: add ‘[default].word-delimiters’Daniel Eklöf-4/+5
2020-09-17selection: reset clipboard/primary->text after free:ing itDaniel Eklöf-0/+2
2020-09-17selection: primary unset: don’t free text twiceDaniel Eklöf-1/+0
2020-09-09selection: add selection_<type>_has_data()Daniel Eklöf-0/+12
2020-09-09selection: add selection_<type>_unset()Daniel Eklöf-0/+41
2020-08-27codespell: selection: faild -> failedDaniel Eklöf-1/+1
2020-08-25selection: don't initiate a paste when we're already pastingDaniel Eklöf-0/+10
2020-08-25selection: must use term_paste_data_to_slave() for paste dataDaniel Eklöf-1/+1
2020-08-25selection: clipboard callback: assert we're in sending-paste-data modeDaniel Eklöf-0/+1
2020-08-25selection: block non-paste data from being sent to client while pastingDaniel Eklöf-3/+12