aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md (follow)
Commit message (Collapse)AuthorAgeLines
* changelog: mention addition of '--hold' to footclientDaniel Eklöf2020-05-26-0/+1
|
* slave: set IUTF8Daniel Eklöf2020-05-26-0/+1
|
* changelog: is -> areDaniel Eklöf2020-05-21-1/+1
|
* slave: restore signal maskDaniel Eklöf2020-05-21-0/+1
|
* term: don't double fork new terminal windowsDaniel Eklöf2020-05-21-0/+2
| | | | | Instead, register their PIDs with the new reaper module and let it handle them.
* scrolling: fix crash when offset was exactly at the wrap-aroundDaniel Eklöf2020-05-19-0/+3
| | | | | | | When making sure we don't scroll past the scrollback history, and the current offset was exactly at the wrap around, the new view port was set to offset+1, which in this particular case meant outside the valid row numbers.
* selection: handle viewport wrap around correctlyDaniel Eklöf2020-05-19-2/+2
| | | | | When the viewport wraps around, the selection points may be "incorrect".
* term: scrolling: hopefully fix all selection/scrolling related crashesDaniel Eklöf2020-05-17-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When scrolling, there are a couple of cases where an existing selection must be canceled because we cannot meaningfully represent it after scrolling. These are when the selection is (partly) inside: * The top scrolling region * The bottom scrolling region * The new lines scrolled in. I.e. re-used lines For the scrolling regions, the real problem is when the selection crosses the scrolling region boundary; a selection that is completely inside a scrolling regions _might_ be possible to keep, but we would need to translate the selection coordinates to the new scrolling region lines. For simplicity, we cancel the selection if it touches the scrolling region. Period. The last item, newly scrolled in lines is when the selection covers very old lines and we're now wrapping around the scrollback history. Then there's a fourth problem case: when the user has started a selection, but hasn't yet moved the cursor. In this case, we have no end point. What's more problematic is that when the user (after scrolling) moves the cursor, we try to create a huge selection that covers mostly empty (NULL) rows, causing us to crash. This can happen e.g. when reverse scrolling in such a way that we wrap around the scrollback history. The actual viewport in this case is something like `-n - m`. But the selection we'll end up trying to create will be `m - (rows - n)`. This range may very well contain NULL rows. To deal with this, we simply cancel the selection.
* term: scrolling: clamp number of rows to number of rows in scrolling regionDaniel Eklöf2020-05-16-1/+2
|
* selection: copy: insert line break if either cell is emptyDaniel Eklöf2020-05-16-0/+3
|
* selection/render: sync cells' 'selected' bit before renderingDaniel Eklöf2020-05-16-0/+1
| | | | | | | | | | | | | | | | | | | | | | | For performance reasons, we track whether a cell is selected or not using a bit in a cell's attributes. This makes it easy for the renderer to determine if the cells should be rendered as selected or not - it just have to look at the 'selected' bit instead of doing a complex range check against the current selection. This works nicely in most cases. But, if the cell is updated, the 'selected' bit is cleared. This results in the renderer rendering the cell normally, i.e. _not_ selected. Checking for this, and re-setting the 'selected' bit when the cell is updated (printed to) is way too expensive as it is in the hot path. Instead, sync the 'selected' bits just before rendering. This isn't so bad as it may sound; if there is no selection this is a no-op. Even if there is a selection, only those cells whose 'selected' bit have been cleared are dirtied (and thus re-rendered) - these cells would have been re-rendered anyway.
* selection: don't automatically no-op operations if selection isn't enabledDaniel Eklöf2020-05-16-0/+8
| | | | | | | | | | | | | | | | | | When the client is capturing the mouse, selection can only be done by holding done shift. This is why a lot of selection functions are no-ops if selection isn't currently enabled. However, there are many cases where we actually need to modify the selection. In particular, selection_cancel(). Thus, only check for enabled selection when we're dealing with user input. Bonus: this also fixes a bug where an ongoing selection were finalized as soon as the user released shift, even if he was still holding down the mouse button.
* render: only apply transparency to the default background colorDaniel Eklöf2020-05-16-0/+5
|
* terminfo: add tmux extension 'Sync' - indicates 'Synchronized Updates' supportDaniel Eklöf2020-05-16-0/+4
|
* changelog: prepare for the next, unreleased versionDaniel Eklöf2020-05-13-0/+11
|
* changelog 1.3.0Daniel Eklöf2020-05-13-6/+3
|
* slave: configure pts to be the controlling terminal of the forked processDaniel Eklöf2020-05-13-0/+1
|
* unicode-combine: simplify - remove -Dunicode-precompose optionDaniel Eklöf2020-05-10-3/+1
| | | | | | | | | | Since the pre-composing functionality is now part of fcft, it makes little sense to have a compile time option - there's no size benefit to be had. Furthermore, virtually all terminal emulators do pre-composing (alacritty being an exception), this really isn't that controversial.
* Revert "term: print: line-wrap multi-column characters instead of cutting them in half"Daniel Eklöf2020-05-09-1/+1
| | | | | | | This reverts commit 8448296bb3c0fa96f5af5cb7ec563bb0c7e99093. Applications need to be multi-column character aware anyway, and they should deal with this.
* term: print: line-wrap multi-column characters instead of cutting them in halfDaniel Eklöf2020-05-09-1/+1
|
* main/client: be POSIXLY_CORRECT when parsing command lineDaniel Eklöf2020-05-08-0/+3
| | | | | | | | | | | | | | | | | | | | This means command line parsing stops when it encounters the first nonoption argument. The result is that one no longer need to use '--' to ensure arguments are passed to the shell/command, instead of parsed by foot. That is, instead of foot -- sh -c true one can now do foot sh -c true Arguments to foot *must* go before the command: foot --fullscreen sh -c true
* changelog: update 'unicode comining' entry - only parts of the feature are optionalDaniel Eklöf2020-05-03-2/+3
|
* osc: fix scaling of RGB formatted color specifiersDaniel Eklöf2020-05-02-1/+1
|
* osc: OSC 12: mimic xterm - a color value of 0 means use inverted fg/bgDaniel Eklöf2020-05-02-0/+2
|
* osc: fix 'OSC 12 ?' to return the cursor color, not the cursor text colorDaniel Eklöf2020-05-02-0/+2
|
* osc: fix scaling of legacy formatted color specifiersDaniel Eklöf2020-05-02-1/+1
|
* changelog: try to fix link for Codebergs markdown parserDaniel Eklöf2020-05-02-1/+1
|
* changelog: remove bad ']' in linkDaniel Eklöf2020-05-02-1/+1
|
* unicode-combine: remove utf8proc dependencyDaniel Eklöf2020-05-02-6/+2
| | | | | | | | | | | | We only used utf8proc to try to pre-compose a glyph from a base and combining character. We can do this ourselves by using a pre-compiled table of valid pre-compositions. This table isn't _that_ big, and binary searching it is fast. That is, for a very small amount of code, and not too much extra RO data, we can get rid of the utf8proc dependency.
* changelog: rewrite entry for combining charactersDaniel Eklöf2020-05-01-8/+6
|
* changelog: change -> changesDaniel Eklöf2020-04-28-1/+1
|
* term: load primary fonts in parallelDaniel Eklöf2020-04-28-0/+3
| | | | | | | | Use four threads to load the four primary font variants - normal, bold, italic and bold italic. This speeds up initial startup, and reloading of fonts on a DPI change.
* utf8: add support for unicode combining charactersDaniel Eklöf2020-04-27-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This feature lets foot combine e.g. "a\u0301" to "á". We first check if the current character (that we're about to print) is a combining character, by checking if it's in one of the following ranges: * Combining Diacritical Marks (0300–036F), since version 1.0, with modifications in subsequent versions down to 4.1 * Combining Diacritical Marks Extended (1AB0–1AFF), version 7.0 * Combining Diacritical Marks Supplement (1DC0–1DFF), versions 4.1 to 5.2 * Combining Diacritical Marks for Symbols (20D0–20FF), since version 1.0, with modifications in subsequent versions down to 5.1 * Combining Half Marks (FE20–FE2F), versions 1.0, with modifications in subsequent versions down to 8.0 If it is, we check if the last cell appears to contain a valid symbol, and if so, we attempt to compose (combine) the last cell with the current character, using utf8proc. If the result is a combined character, we replace the content in the previous cell with the new, combined character. Thus, if you select and copy the printed character, you would get e.g. "\u00e1" instead of "a\u0301". This feature can be disabled. By default, it is enabled if the utf8proc library is found, but can be explicitly disabled, or enabled, with 'meson -Dunicode-combining=disabled|enabled'.
* changelog: CSI 13;2t and CSI 14t have also been implementedDaniel Eklöf2020-04-25-1/+1
|
* changelog: use backticks for full escape sequence too, and shorten entryDaniel Eklöf2020-04-25-2/+2
|
* changelog: one entry for conf-option + command line option changesDaniel Eklöf2020-04-24-6/+4
|
* changelog: current output's subpixel order is preferred over FontConfigDaniel Eklöf2020-04-22-0/+6
|
* csi: implement CSI Ps ; Ps ; Ps t reporting escape sequencesDaniel Eklöf2020-04-18-0/+2
| | | | | | | | | | | | | | | | | | | | | | A lot of the escape sequences on the "CSI Ps ; Ps ; Ps t" form are expected to return a reply. Thus, not having these implemented means we will hang if the client sends these escapes. Not all of these escapes can be meaningfully implemented on Wayland, and thus this implementation is best effort. We now support the following escapes: * 11t - report if window is iconified (always replies "no") * 13t - report window position (always replies 0,0) * 13;2t - report text area position (replies with margins, since we cannot get the window's position) * 14t - report text area size, in pixels * 14;2t - report window size, in pixels * 15t - report screen size, in pixels * 16t - report cell size, in pixels * 18t - report text area size, in cells * 19t - report screen size, in cells
* changelog: selection is no longer cleared on resizeDaniel Eklöf2020-04-17-0/+1
|
* changelog: cursor coordinates are now translated on resizeDaniel Eklöf2020-04-17-0/+1
|
* term: reset: plug memory leakDaniel Eklöf2020-04-13-0/+1
| | | | | | | | | | | In reset, we allocated new rows for all the currently visible lines. We did **not** however, free the 'old' rows. Fix by not explicitly allocating new rows, but instead allocating uninitialized rows when needed, and then explicitly erasing the row. If there already was a row allocated, it is simply erased. If there wasn't, the a new line is malloc:ed, and then erased.
* input: slow trackpad scrolling now eventually scroll a lineDaniel Eklöf2020-04-10-0/+1
| | | | | | | | | | | | | | | Before, we converted each axis event's scroll amount to an integer and scrolled that many lines. However, axis events are speed sensitive - very slow scrolling will result in events with a scroll amount that is < 1.0. For us, this meant we never scrolled a single line. You could slow scroll all day if you wanted, and still we would never scroll a single line. Fix this by aggregating the scroll amount from axis events until the scroll amount is > 1.0, and then scroll.
* changelog: alt+return now emits ESC \rDaniel Eklöf2020-04-08-0/+1
|
* changelog: osc 4 multiple 'c;spec' pairsDaniel Eklöf2020-04-04-0/+1
|
* changelog: right mouse button extends current selectionDaniel Eklöf2020-04-04-0/+1
|
* changelog: mention memfd sealing failures not being fatal errors fixDaniel Eklöf2020-04-03-0/+1
|
* changelog: mention OSC 7 hostname validation fixDaniel Eklöf2020-04-03-0/+1
|
* conf: add 'title' conf option and --title command line optionDaniel Eklöf2020-04-01-1/+2
|
* conf: add app-id config option and --app-id command line optionDaniel Eklöf2020-04-01-0/+4
|
* Merge branch 'scroll-damage-performance'Daniel Eklöf2020-03-29-0/+2
|\
| * changelog: mention renderer performance improvements with scrollingDaniel Eklöf2020-03-29-0/+2
| |
* | conf: rename 'startup-mode' to 'initial-window-mode'Daniel Eklöf2020-03-28-2/+3
|/
* config: add 'startup-mode' optionDaniel Eklöf2020-03-26-0/+2
| | | | | This option controls the initial window mode: windowed, maximized or fullscreen. The default is windowed.
* render: resize: update saved 'normal' cursor if we're in alt screenDaniel Eklöf2020-03-22-0/+2
| | | | | | | | | | | When resizing in alt mode, we never updated the saved 'normal' cursor. This meant that when we exited alt mode, the cursor would be positioned where it was in the old pre-resize/reflow grid. Now, we update the saved cursor in the same way we update visible cursor. The result is that when we exit the alt screen, the cursor is restored to the same coordinates it would have been updated to had the resize been done in the 'normal' screen.
* changelog: mention change of default key binding for spaw-terminalDaniel Eklöf2020-03-17-0/+1
|
* render: render non-block cursors after rendering the glyph + decorationsDaniel Eklöf2020-03-17-0/+1
| | | | | | This fixes an issue where an 'underline' cursor wasn't visible on underlined text - the cursor was rendered first, and then shadowed by the text underline.
* alt-screen: use a custom 'saved' cursor when switching to alt screenDaniel Eklöf2020-03-16-0/+1
| | | | | | | | | | | | | This fixes an issue where we failed to restore the cursor correctly when exiting from the alternate screen, if the client had sent escapes to save the cursor position while inside the alternate screen. This was because we used the *same* storage for saving the cursor position through escapes, as for saving it when entering the alternate screen. Fix by using a custom variable dedicated to normal <--> alt screen switching.
* completions: zsh: don't strip spaces from font name completionsDaniel Eklöf2020-03-15-0/+4
|
* changelog: add indexDaniel Eklöf2020-03-15-0/+7
|
* Merge branch 'releases/1.2'Daniel Eklöf2020-03-15-0/+6
|\
| * meson/PKGBUILD: bump version to 1.2.31.2.3releases/1.2Daniel Eklöf2020-03-15-0/+6
| |
* | changelog: spacesDaniel Eklöf2020-03-14-0/+15
| |
* | Merge branch 'releases/1.2'Daniel Eklöf2020-03-14-6/+13
|\|
| * changelog: mention fix for #51.2.2Daniel Eklöf2020-03-14-0/+2
| |
| * changelog: updated to mention fix for #3Daniel Eklöf2020-03-14-0/+4
| | | | | | | | I really need to learn to update the changelog **with** the fix...
| * changelog: updateDaniel Eklöf2020-03-14-0/+9
| |
| * changelog: remove 'unreleased' sectionDaniel Eklöf2020-03-14-8/+0
| |
* | changelog: upper case initial letterDaniel Eklöf2020-03-14-1/+1
| |
* | changelog: mention removal of Sway 1.2 keyboard/pointer workaroundsDaniel Eklöf2020-03-14-0/+1
| |
* | Merge branch 'scale-fonts-using-logical-dpi-plus-scale-factor'Daniel Eklöf2020-03-13-0/+2
|\ \
| * | changelog: mention fix for #5Daniel Eklöf2020-03-11-0/+2
| | |
* | | sixel: improve handling of images when reflowing the gridsDaniel Eklöf2020-03-13-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the sixels' 'row' attribute when re-flowing a grid, to ensure it is rendered at the correct place. This should work in most cases, but will break when the cell size has changed (e.g. font size increase/decrease, or a DPI change). This patch also moves the sixel image list from the terminal struct into the grid struct. The sixels are per-grid after all.
* | | changelog: user configurable key- and mouse bindingsDaniel Eklöf2020-03-12-0/+2
|/ /
* | changelog: updated to mention fix for #3Daniel Eklöf2020-03-10-0/+4
| | | | | | | | I really need to learn to update the changelog **with** the fix...
* | changelog: updateDaniel Eklöf2020-03-09-0/+6
|/
* meson/PKGBUILD/changelog: bump to 1.2.11.2.1Daniel Eklöf2020-03-06-0/+5
|
* meson/PKGBUILD/changelog: prepare for 1.2.01.2.0Daniel Eklöf2020-03-06-4/+9
|
* changelog: add all major changes for 1.2.0Daniel Eklöf2020-03-06-0/+29
|
* changelog: templateDaniel Eklöf2020-03-06-0/+9