aboutsummaryrefslogtreecommitdiff
path: root/selection.c (follow)
Commit message (Expand)AuthorAgeLines
* Don't use fancy Unicode quotes, stick to ASCIIDaniel Eklöf2024-02-06-19/+19
* util: add streq() function and use in place of strcmp(...) == 0Craig Barnes2024-02-05-2/+2
* selection: find_word_boundary: ensure row number is boundedDaniel Eklöf2023-10-08-6/+8
* selection: selection_update() uses view-local coordinatesDaniel Eklöf2023-10-08-7/+12
* search: add more key bindings to extend the current matchDaniel Eklöf2023-10-08-38/+51
* selection: add support for selecting the contents of a quoteDaniel Eklöf2023-09-19-14/+151
* selection: send_clipboard_or_primary(): handle selection text being NULLDaniel Eklöf2023-07-22-3/+1
* selection: selection_on_rows(): typo: row_start -> row_endDaniel Eklöf2022-11-24-1/+1
* selection: scroll down: handle non-full scrollback correctlyDaniel Eklöf2022-10-16-3/+8
* selection: mark_selected_region(): use an enum to encode how the cells are to be updatedDaniel Eklöf2022-08-26-7/+20
* selection: restore <= 1.12 behavior in block selection wrt empty cellsDaniel Eklöf2022-08-26-1/+3
* selection: once again highlight non-trailing empty cellsDaniel Eklöf2022-08-22-6/+38
* selection: never highlight selected, empty cellsDaniel Eklöf2022-08-22-2/+21
* selection: rework how we update a selectionDaniel Eklöf2022-07-28-106/+190
* selection: extend: use scrollback relative coordinatesDaniel Eklöf2022-07-28-15/+33
* selection: foreach_selected_*(): refactor: use grid_row_abs_to_sb()Daniel Eklöf2022-07-28-6/+5
* selection: selection_on_rows(): use scrollback relative coordsDaniel Eklöf2022-07-28-15/+59
* selection: wl_data_offer_set_action: use enum values instead of magic integersDaniel Eklöf2022-06-21-1/+4
* selection: reject dnd offers with unsupported mime-typesDaniel Eklöf2022-06-20-0/+4
* selection: explicitly reject *all* dnd offers not targeting the gridDaniel Eklöf2022-06-20-0/+1
* selection: ignore drag-and-drops with unsupported mime-typesDaniel Eklöf2022-06-20-0/+6
* selection: allow HT, VT and FF, disallow NUL in non-bracketed paste modeDaniel Eklöf2022-06-15-3/+16
* selection: find_word_boundary_right: add “stop-on-space-to-word-boundary”Daniel Eklöf2022-04-27-8/+19
* selection: add start/end coordinate gettersDaniel Eklöf2022-04-25-0/+24
* selection: assert serial is non-zero before copying data to the clipboardDaniel Eklöf2022-04-24-1/+4
* selection: find_word_boundary: assert ‘pos’ is validDaniel Eklöf2022-04-24-0/+10
* search: fix next/prev not updating selection correctly when matches overlapDaniel Eklöf2022-04-17-1/+1
* refactor: add a ‘range’ struct, grouping a start and end coord togetherDaniel Eklöf2022-04-09-52/+52
* selection: don’t translate \r to \n when pastingDaniel Eklöf2022-03-19-7/+2
* selection: foreach: sort start/end based on their scrollback-start relative valuesDaniel Eklöf2022-02-07-20/+56
* selection: ensure start/end coordinates are bounded by the current gridDaniel Eklöf2022-02-07-10/+2
* fcft: adapt to API changes in fcft-3.xDaniel Eklöf2022-02-05-9/+9
* selection: don’t quote file URIs on the alt screenDaniel Eklöf2022-02-02-2/+9
* selection: convert \r -> \n when reading clipboard dataDaniel Eklöf2021-10-19-0/+5
* selection: line-wise selection now handles soft line-wrappingDaniel Eklöf2021-09-30-16/+83
* selection: modify: no need to check for NULL before calling free()Daniel Eklöf2021-08-16-4/+1
* selection: modify: convert ‘keep_selection’ bitmask from uint64_t to uint8_tDaniel Eklöf2021-08-16-11/+11
* selection: modify: replace reset_context() macro with a functionDaniel Eklöf2021-08-16-9/+9
* selection: don’t require two cell attr bits for selection updatingDaniel Eklöf2021-08-16-24/+61
* search: reset match state when selection is cancelledDaniel Eklöf2021-07-22-0/+3
* csi: erase scrollback: cancel selection if it touches the scrollbackDaniel Eklöf2021-07-18-3/+1
* composed: store compose chains in a binary search treeDaniel Eklöf2021-06-24-20/+8
* wip: grapheme shapingDaniel Eklöf2021-06-24-4/+4
* selection: add support for TEXT/STRING/UTF8_STRING mime-types in incoming offersDaniel Eklöf2021-06-09-6/+15
* selection: reset ‘empty_count’ after we’ve emitted the empty cellsDaniel Eklöf2021-06-05-0/+2
* selection: fix bad assertionDaniel Eklöf2021-06-02-2/+2
* selection: pay attention to hard linebreaks when search for word boundariesDaniel Eklöf2021-05-31-4/+18
* extract: move ‘strip_trailing_empty’ parameter from extra_finish() to extract_begin()Daniel Eklöf2021-05-17-2/+2
* extract: add extract_finish_wide(), and optionally skip stripping trailing empty cellsDaniel Eklöf2021-05-17-1/+1
* selection: expose find_word_boundary_{left,right}()Daniel Eklöf2021-05-17-12/+16
* term: rename CELL_MULT_COL_SPACER -> CELL_SPACER, and change its definitionDaniel Eklöf2021-05-14-13/+13
* selection: don’t strip formatting C0 control characters in bracketed paste modeDaniel Eklöf2021-02-12-18/+25
* Convert all but 2 remaining uses of xassert(false) to BUG("...")Craig Barnes2021-02-10-7/+6
* selection: remove selection_enabled()Daniel Eklöf2021-02-02-10/+0
* selection: don’t replace \r\n and \n with \r in bracketed paste modeDaniel Eklöf2021-01-27-3/+14
* 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