aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md (follow)
Commit message (Collapse)AuthorAgeLines
* changelog: 1.7.01.7.0Daniel Eklöf2021-03-20-4/+3
|
* Add: Bash completion for foot and footclientSimon Schricker2021-03-17-0/+3
| | | | | | | * use toe for terminfo, thanks Craig. * adds optional dependency on bash-completion for positional arguments Co-authored-by: Craig Barnes <craigbarnes@protonmail.com>
* Merge branch 'sixel-fix-max-geometry'Daniel Eklöf2021-03-14-0/+2
|\
| * sixel: max geometry should be max geometry, not current window sizeDaniel Eklöf2021-03-14-0/+2
| | | | | | | | | | | | | | | | | | “current geometry” will report whatever value is the smallest; the max geometry or the current window size. But “max geometry” always returns the configured max geometry. This aligns foot’s behavior with XTerm.
* | Merge branch 'option-no-wait'Daniel Eklöf2021-03-14-0/+2
|\ \ | |/ |/| | | Closes #395
| * add changelog entry, completions and man entry for -N, --no-waitFelipe Trzaskowski2021-03-13-0/+2
| |
* | term: don’t close PTY when client application diesDaniel Eklöf2021-03-12-0/+1
|/ | | | | | | | | Closing it as soon as we detect that the client has died, means we may not have drained it completely. The PTY is either closed _by_ the client application, or by us when we shutdown the terminal. Thus, leaving it open (until we call term_shutdown()) is fine.
* changelog: sixel decoding performance improvementsDaniel Eklöf2021-03-12-0/+1
|
* changelog: implemented DCS parameter P2Daniel Eklöf2021-03-11-0/+5
|
* changelog: empty pixel rows at the bottom of a sixel is now trimmedDaniel Eklöf2021-03-11-0/+1
|
* input: do not include consumed modifiers in the set sent to the clientDaniel Eklöf2021-03-08-0/+2
| | | | | | | When sending a key escape sequence to the client application, do not include consumed modifiers. Fixes part of #376
* meson: bump minimum xkbcommon version to 1.0.0Craig Barnes2021-03-07-0/+2
| | | | | | | This requirement is due to the recently added maybe_repair_key_combo() function, which is making use of xkb_keymap_key_get_mods_for_level(). See also: commit a5b554761a8b376657be2a7e613b37fd5803920c.
* changelog: new key binding matching logicDaniel Eklöf2021-03-04-0/+4
|
* changelog: oops, vertical-letter-offset is new in 1.7.xDaniel Eklöf2021-03-02-1/+0
| | | | | No need to a changelog entry for fixing something that hasn’t yet been released.
* Mention fix in Changelog.L3MON4D32021-03-01-0/+2
|
* Merge branch 'sixel-private-mode-80-scrolling'Daniel Eklöf2021-02-27-0/+2
|\ | | | | | | Closes #361
| * sixel: implement private mode 80 - sixel scrollingDaniel Eklöf2021-02-26-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When enabled (the default), sixels behave much like normal output; the start where the cursor is, and the cursor moves with the sixel. I.e. after emitting a sixel the cursor is left after the image; either to the right, if private mode 8452 is enabled, or otherwise on the next line. Terminal content is scrolled up if the sixel is larger than the screen. When disabled, sixels *always* start at (0,0), the cursor never moves, and the terminal content never scrolls. In other words, the ‘disabled’ mode is a much simpler mode. All we need to do to support both modes is re-write the sixel-emitting loop to: * break early if we’re “out of rows”, i.e. we’ve reached the bottom of the screen. * not linefeed, or move the cursor when scrolling is disabled This patch also fixes a bug in the (new) implementation of private mode 8452. When emitting a sixel, we may break it up into smaller pieces, to ensure a single sixel (as tracked internally) does not cross the scrollback wrap-around. The code that checked if we should do a linefeed or not, would skip the linefeed on the last row of *each* such sixel piece. The correct thing to do is to skip it only on the last row of the *last* piece. I chose not to fix this bug in a separate patch since doing so would have meant re-writing it again when implementing private mode 80.
* | changelog: default value of -t,--term in --help when built without terminfoDaniel Eklöf2021-02-26-0/+3
|/
* changelog: change "control- and escape sequences" to "escape sequences"Craig Barnes2021-02-23-2/+2
| | | | | | According to the way ECMA-48 defines these terms, "escape sequences" are a superset of "control sequences", so there's no real reason to mention both.
* changelog: fix a typoCraig Barnes2021-02-23-1/+1
|
* changelog: add missing space characterDaniel Eklöf2021-02-23-1/+1
|
* changelog: added man page foot-ctlseq.7Daniel Eklöf2021-02-23-0/+2
|
* sixel: implement private mode 8452 - cursor positioning after sixelDaniel Eklöf2021-02-23-0/+2
| | | | | | | | | | When disabled (the default), the cursor is positioned on a new line after emitting a sixel image. When enabled, the cursor is positioned to the right of the sixel image. Closes #363
* sixel: implement private mode 1070 - private color paletteDaniel Eklöf2021-02-23-0/+2
| | | | | | | | | When enabled (the default), sixels use private color registers. That is, the color palette from the last sixel is *not* re-used. When disabled, sixels share (i.e. re-use) the same color palette. Closes #362
* changelog: OSC-8 supportDaniel Eklöf2021-02-21-2/+2
|
* spawn/slave: restore signal mask after forkDaniel Eklöf2021-02-21-0/+2
| | | | | | | | | | | | slave: no need to restore signal handlers; they are automatically restored as long as they are not SIG_IGN (which they never are in foot). spawn(): restore signal mask after fork. This fixes an issue where a terminal spawned with ctrl+shift+n did not terminate when its shell exited. Closes #366
* csi: ‘CSI 13 ; 2 t’ reply is now (0,0)Daniel Eklöf2021-02-16-0/+2
| | | | | | | | Foot previously responded with window local coordinates. But, XTerm responds with screen *absolute* coordinates. This isn’t possible under Wayland, thus we now report (0,0) instead. Same as we do for ‘CSI 13 ; 0 t’.
* changelog: -D,--working-directory=DIRDaniel Eklöf2021-02-12-0/+2
|
* Merge branch 'releases/1.6'Daniel Eklöf2021-02-12-13/+31
|\
| * changelog: prepare for 1.6.4Daniel Eklöf2021-02-12-3/+1
| |
| * selection: don’t strip formatting C0 control characters in bracketed paste modeDaniel Eklöf2021-02-12-0/+4
| | | | | | | | | | | | | | | | It’s ok to let the receiving end handle formatting C0 control characters in bracketed paste mode. In fact, we *must* let them through. Otherwise it is impossible to paste e.g. tabs into editors and similar applications.
| * changelog: use standard signals for SIGCHLDDaniel Eklöf2021-02-12-0/+3
| |
| * changelog: selection-target=none|primary|clipboard|bothDaniel Eklöf2021-02-12-0/+8
| |
| * changelog: -Dterminfo changed from boolean to feature optionDaniel Eklöf2021-02-12-0/+2
| |
| * ime: Reset terminal's IME state on text_input.leaveTadeo Kondrak2021-02-12-0/+7
| | | | | | | | | | | | | | | | To reproduce issue: - Launch an IME from inside foot - Type in some preedit text - Use Ctrl-C to close the IME - IME text stays in terminal until focus is changed
| * changelog: add section for 1.6.4Daniel Eklöf2021-02-12-0/+11
| |
* | selection: don’t strip formatting C0 control characters in bracketed paste modeDaniel Eklöf2021-02-12-0/+1
| | | | | | | | | | | | | | | | It’s ok to let the receiving end handle formatting C0 control characters in bracketed paste mode. In fact, we *must* let them through. Otherwise it is impossible to paste e.g. tabs into editors and similar applications.
* | changelog: use standard signals for SIGCHLDDaniel Eklöf2021-02-11-2/+5
| |
* | Merge branch 'log-level'Daniel Eklöf2021-02-11-0/+2
|\ \ | | | | | | | | | Closes #337
| * | changelog: -d,--log-levelDaniel Eklöf2021-02-09-0/+2
| | |
* | | changelog: -Dterminfo changed from boolean to feature optionDaniel Eklöf2021-02-09-0/+2
|/ /
* | changelog: URL modeDaniel Eklöf2021-02-07-0/+4
| |
* | changelog: some mouse events never being sent to the client applicationDaniel Eklöf2021-02-02-0/+7
| |
* | ime: Reset terminal's IME state on text_input.leaveTadeo Kondrak2021-01-30-0/+3
| | | | | | | | | | | | | | | | To reproduce issue: - Launch an IME from inside foot - Type in some preedit text - Use Ctrl-C to close the IME - IME text stays in terminal until focus is changed
* | Merge branch 'releases/1.6'Daniel Eklöf2021-01-29-13/+29
|\|
| * changelog: prepare for 1.6.3Daniel Eklöf2021-01-29-3/+1
| |
| * Send text_input_rectangle requests for text-inputTadeo Kondrak2021-01-29-0/+3
| |
| * search: fix matching of multi-column charactersDaniel Eklöf2021-01-26-0/+1
| | | | | | | | | | We were matching the sub-sequence SPACERs as if they were regular characters, which obviously failed.
| * selection: strip non-formatting C0, BS, HT and DEL from pasted textDaniel Eklöf2021-01-26-0/+2
| |
| * ime: fix rendering of pre-edit cursor when positioned after the pre-edit stringDaniel Eklöf2021-01-26-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | We failed to convert the byte-indices to cell indices, resulting in a box cursor covering the entire pre-edit string. Note that in addition to fixing the translation from byte index to cell index, the rendered had to be updated to dirty one extra cell from the original grid. Without this, we left trailing cursors behind us when the user deleted text from the pre-edit string.
| * search: ad-hoc workaround for combining characters with positive x-offsetsDaniel Eklöf2021-01-26-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | When rendering the search input box, do the same ad-hoc workaround for combining characters with a positive x-offset as we do when rendering normal grid cells. In this case, we don’t *know* when we’re dealing with combining characters. But we can detect zero-width characters. For these, check their glyph’s x-offset. If positive, adjust it like we do when rendering combining glyphs in the main grid, to ensure the glyph is positioned over the _previous_ character, not the next.
| * changelog: high cpu usage while holding down e.g. arrow keys in search modeDaniel Eklöf2021-01-26-0/+2
| |
| * search: fix matching against composed charactersDaniel Eklöf2021-01-26-0/+1
| |
| * changelog: search input box no longer accepts non-printablesDaniel Eklöf2021-01-26-0/+1
| |
| * terminal: fix encoding of mouse buttons 6 and 7 in mouse eventsDaniel Eklöf2021-01-26-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These two buttons were encoded using the *exact* same numbers as button 4 and 5 (scroll wheel up/down), making it impossible to distinguish them. The relevant section from XTerm’s control sequences documentation is: Some wheel mice can send additional button events, e.g., by tilting the scroll wheel left and right. Additional buttons are encoded like the wheel mice, o by adding 64 (for buttons 6 and 7), or o by adding 128 (for buttons 8 through 11).
| * changelog: add bug ref to the ‘FreeBSD support’ entryDaniel Eklöf2021-01-23-1/+1
| |
| * changelog: freebsd supportDaniel Eklöf2021-01-23-0/+2
| |
| * input: don’t enable keyboard repeat timer when repeat rate is zeroDaniel Eklöf2021-01-21-0/+1
| | | | | | | | | | | | | | | | | | | | wayland-client-protocol.h: Negative values for either rate or delay are illegal. A rate of zero will disable any repeating (regardless of the value of delay). This fixes a division-by-zero crash.
| * sixel: current geometry: don’t exceed current window dimensionsDaniel Eklöf2021-01-21-0/+2
| | | | | | | | | | This is similar to what XTerm does, and fixes an issue with lsix, where the output did not wrap.
| * changelog: add hyphen between ‘newline’ and ‘terminated’Daniel Eklöf2021-01-21-2/+3
| |
| * changelog: pasting non-newline terminated text/uri-list offersDaniel Eklöf2021-01-21-0/+2
| |
| * changelog: glyhps -> glyphsDaniel Eklöf2021-01-21-1/+1
| |
| * Add fish completionFollieHiyuki2021-01-21-0/+6
| |
| * render: draw combining characters on top of colored bitmap glyphs (emoji)Daniel Eklöf2021-01-21-0/+2
| |
| * Add myself to ContributorsPeter Colberg2021-01-21-0/+1
| |
| * Require trailing comment to be preceded by a space or tabPeter Colberg2021-01-21-0/+7
| | | | | | | | | | | | Fixes `word-delimiters` option to not ignore `#` and subsequent characters. Closes #270
| * render: mark cell overflowed into as dirtyDaniel Eklöf2021-01-21-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When tweak.allow-overflowing-double-width-glyphs=yes, then certain glyphs are allowed to overflow into the neighbouring cell. However, if the cell “owning” the double-width glyph is erased (_only_ that cell), then the cell overflowed into is not redrawn, causing part of the double-width glyph to remain on screen. To avoid checking for these glyphs when printing to the terminal (i.e at parse time), simply mark both cells as dirty when we render the overflowing glyph. Yes, this means that the cells will always be re-rendered. We count on them only making up a small portion of the screen.
| * changelog: update ‘contributors’Daniel Eklöf2021-01-21-0/+2
| |
| * ime: don’t call text-input functions when it isn’t availableDaniel Eklöf2021-01-21-0/+2
| | | | | | | | Closes #259
| * terminal: shutdown (or --hold) when the client process terminatesDaniel Eklöf2021-01-21-0/+5
| | | | | | | | | | | | | | | | | | Shutdown the terminal when the client process terminates, not when the ptmx file descriptor is closed. This fixes an issue where the terminal remains running after the client process has terminated, if it spawned child processes that inherited the ptmx file descriptor.
| * changelog: add empty 1.6.3 sectionDaniel Eklöf2021-01-21-0/+11
| |
* | Send text_input_rectangle requests for text-inputTadeo Kondrak2021-01-29-1/+3
| |
* | Merge branch 'delay-tiocswinsz-on-interactive-resize'Daniel Eklöf2021-01-26-0/+5
|\ \ | | | | | | | | | | | | Closes #283 Closes #301
| * | config: promote tweak.resize-delay-ms to a real, supported optionDaniel Eklöf2021-01-26-1/+1
| | |
| * | changelog: tiocswinsz is now delayed by 100ms while doing an interactive resizeDaniel Eklöf2021-01-26-0/+5
| | |
* | | search: fix matching of multi-column charactersDaniel Eklöf2021-01-26-0/+1
|/ / | | | | | | | | We were matching the sub-sequence SPACERs as if they were regular characters, which obviously failed.
* | selection: strip non-formatting C0, BS, HT and DEL from pasted textDaniel Eklöf2021-01-26-0/+2
| |
* | ime: fix rendering of pre-edit cursor when positioned after the pre-edit stringDaniel Eklöf2021-01-26-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | We failed to convert the byte-indices to cell indices, resulting in a box cursor covering the entire pre-edit string. Note that in addition to fixing the translation from byte index to cell index, the rendered had to be updated to dirty one extra cell from the original grid. Without this, we left trailing cursors behind us when the user deleted text from the pre-edit string.
* | search: ad-hoc workaround for combining characters with positive x-offsetsDaniel Eklöf2021-01-26-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | When rendering the search input box, do the same ad-hoc workaround for combining characters with a positive x-offset as we do when rendering normal grid cells. In this case, we don’t *know* when we’re dealing with combining characters. But we can detect zero-width characters. For these, check their glyph’s x-offset. If positive, adjust it like we do when rendering combining glyphs in the main grid, to ensure the glyph is positioned over the _previous_ character, not the next.
* | changelog: high cpu usage while holding down e.g. arrow keys in search modeDaniel Eklöf2021-01-26-0/+2
| |
* | Merge branch 'search-match-composed-characters'Daniel Eklöf2021-01-26-0/+1
|\ \
| * | search: fix matching against composed charactersDaniel Eklöf2021-01-24-0/+1
| | |
* | | changelog: search input box no longer accepts non-printablesDaniel Eklöf2021-01-24-0/+1
|/ /
* | changelog: selection-target=none|primary|clipboard|bothDaniel Eklöf2021-01-23-0/+5
| |
* | Merge branch 'mouse-button-encoding-of-button-6-7'Daniel Eklöf2021-01-23-0/+1
|\ \
| * | terminal: fix encoding of mouse buttons 6 and 7 in mouse eventsDaniel Eklöf2021-01-22-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These two buttons were encoded using the *exact* same numbers as button 4 and 5 (scroll wheel up/down), making it impossible to distinguish them. The relevant section from XTerm’s control sequences documentation is: Some wheel mice can send additional button events, e.g., by tilting the scroll wheel left and right. Additional buttons are encoded like the wheel mice, o by adding 64 (for buttons 6 and 7), or o by adding 128 (for buttons 8 through 11).
* | | changelog: add bug ref to the ‘FreeBSD support’ entryDaniel Eklöf2021-01-23-1/+1
| | |
* | | changelog: freebsd supportDaniel Eklöf2021-01-23-0/+2
|/ /
* | Merge branch 'decset-1047-and-1048'Daniel Eklöf2021-01-16-0/+1
|\ \
| * | csi: implement DECSET 47 - use alternate screen bufferDaniel Eklöf2021-01-16-1/+1
| | |
| * | changelog: DECSET 1047+1048: remove ‘Implemented’Daniel Eklöf2021-01-15-1/+1
| | |
| * | changelog: DECSET 1047+1048Daniel Eklöf2021-01-15-0/+1
| | |
* | | input: don’t enable keyboard repeat timer when repeat rate is zeroDaniel Eklöf2021-01-16-0/+1
|/ / | | | | | | | | | | | | | | | | | | wayland-client-protocol.h: Negative values for either rate or delay are illegal. A rate of zero will disable any repeating (regardless of the value of delay). This fixes a division-by-zero crash.
* | config: add ‘select-extend-character-wise’ bind actionDaniel Eklöf2021-01-14-0/+4
| | | | | | | | | | | | | | This forces the (new) selection mode to be character-wise when extending a word- or line-wise selection. Default key binding is ctrl+RMB.
* | sixel: current geometry: don’t exceed current window dimensionsDaniel Eklöf2021-01-14-0/+2
| | | | | | | | | | This is similar to what XTerm does, and fixes an issue with lsix, where the output did not wrap.
* | changelog: superceded -> supersededDaniel Eklöf2021-01-14-1/+1
| |
* | Merge branch 'box-drawing-line-thickness'Daniel Eklöf2021-01-14-0/+2
|\ \ | | | | | | | | | Closes #281
| * | changelog: box drawing line thickness depend on the font sizeDaniel Eklöf2021-01-12-0/+2
| | |
* | | main: remove deprecated "--geometry" optionCraig Barnes2021-01-13-0/+5
|/ / | | | | | | Closes #287
* | changelog: add hyphen between ‘newline’ and ‘terminated’Daniel Eklöf2021-01-12-2/+3
| |