aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md (follow)
Commit message (Collapse)AuthorAgeLines
* changelog: prepare for 1.4.2Daniel Eklöf2020-07-23-8/+3
|
* sixel: remove sixel-to-be-splitted *before* splitting itDaniel Eklöf2020-07-23-0/+2
| | | | | This fixes an assertion in debug builds, due to the pre-splitted and splitted sixels overlapping.
* sixel: overwrite: use target sixel's height, not cell heightDaniel Eklöf2020-07-23-0/+4
| | | | | | | When copying the image data for the left and right parts of the splitted images, use the sixel's height, not the cell height. This fixes a crash when the sixel didn't cover the entire cell height.
* render: bump maximum window title length from 100 to 2048 (bytes)Daniel Eklöf2020-07-22-0/+5
| | | | Apparently, the max is ~8K, but lets stay on the safe side.
* changelog: add new 'unreleased' sectionDaniel Eklöf2020-07-22-0/+9
|
* changelog: prepare or 1.4.1Daniel Eklöf2020-07-22-6/+6
|
* changelog: add a new 'unreleased' sectionDaniel Eklöf2020-07-22-0/+9
|
* changelog: prepare for 1.4.0Daniel Eklöf2020-07-22-7/+2
|
* Merge branch 'master' into pipe-grid-to-external-toolDaniel Eklöf2020-07-16-0/+2
|\
| * added font-size limitting to changelogMax Hollmann2020-07-15-0/+2
| |
* | changelog: use bemenu instead of fuzzel in pipe-visible exampleDaniel Eklöf2020-07-15-1/+1
| |
* | changelog: minorDaniel Eklöf2020-07-15-1/+1
| |
* | changelog: document pipe-visible and pipe-scrollback bindingsDaniel Eklöf2020-07-15-0/+4
|/
* changelog: 'not' -> 'now'Daniel Eklöf2020-07-14-1/+1
|
* changelog: prefix all C0 names with 'C0::'Daniel Eklöf2020-07-14-3/+3
|
* term: print: force line-wrap if a multi-column character does not fit on current lineDaniel Eklöf2020-07-14-0/+3
|
* csi: DECAWM: clear LCFDaniel Eklöf2020-07-14-0/+1
|
* csi: IND+RI now clears LCFDaniel Eklöf2020-07-14-0/+1
|
* term: linefeed: explicitly clear LCFDaniel Eklöf2020-07-14-2/+4
| | | | | | LF should always clear LCF. Previously, it was done implicitly in term_cursor_down(). I.e it was cleared as long as the cursor wasn't at the bottom of the scrolling region
* vt: change HT (horizontal tab) to *not* clear LCFDaniel Eklöf2020-07-14-0/+2
| | | | | | According to the specification, HT **should** clear LCF. However, nearly all emulators do not. In particular, XTerm doesn't. So we follow suite.
* vt: implement C0::FF - processed in the same way as C0::LFDaniel Eklöf2020-07-14-0/+1
|
* vt: process C0::VT the same way we process C0::LFDaniel Eklöf2020-07-14-0/+2
| | | | | | | | Previously, C0::VT was implemented as a simple 'cursor down'. I.e. it would behave as LF **until** it reached the bottom of the screen, where instead of scrolling, it became a no-op. See https://vt100.net/docs/vt102-ug/chapter5.html
* changelog: mention fix for 'too many wl_surface_damage_buffer()' callsDaniel Eklöf2020-07-13-0/+2
|
* changelog: hollow cursor is now based on keyboard focus, not visual focusDaniel Eklöf2020-07-11-0/+2
|
* changelog: add multi-seat supportDaniel Eklöf2020-07-09-0/+1
|
* changelog: grammarDaniel Eklöf2020-06-30-1/+1
|
* config: add 'blink' option to cursor section in footrcDaniel Eklöf2020-06-30-0/+4
| | | | | This option controls whether the default cursor should blink or not. The default is to *not* blink.
* csi: '\E[0 q' resets the cursor style to the default, not '\E[2 q'Daniel Eklöf2020-06-30-0/+4
| | | | Also update 'Se' capability in the terminfo, to reflect this.
* Merge branch 'master' into sixel-performanceDaniel Eklöf2020-06-29-4/+7
|\
| * sixel: destroy all sixels when font size is decreasedDaniel Eklöf2020-06-29-0/+1
| | | | | | | | | | | | If changing the font size causes the cell size to decrease, either horizontally or vertically (or both), then delete all sixels since the grid space they allocated no longer is enough to hold the images.
| * changelog: slave -> clientDaniel Eklöf2020-06-29-2/+2
| |
| * changelog: 'capturing mouse events' -> 'capturing the mouse'Daniel Eklöf2020-06-29-1/+1
| |
| * changelog: make it easier to readDaniel Eklöf2020-06-29-1/+1
| |
| * term: use 'left_ptr' instead of 'hand2' as cursor when client is mouse grabbingDaniel Eklöf2020-06-29-0/+2
| |
* | scroll: destroy scrolled out sixels before scroll is appliedDaniel Eklöf2020-06-29-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | The logic that breaks out of sixel loops does not work for rows that has already wrapped around. Thus, we need to destroy sixels that are about to be scrolled out *before* we actually scroll. Since this is the *only* time we destroy sixels (instead of overwriting it), rename the sixel functions. And, since they now do a very specific thing, they can be greatly simplified (and thus faster).
* | reflow: ensure sixels are correctly sorted when re-insertedDaniel Eklöf2020-06-29-0/+1
| | | | | | | | | | And make sure to remove re-inserted sixels that has wrapped around the scrollback (this may happen when the window size decreases).
* | changelog: group sixel related changes toghetherDaniel Eklöf2020-06-29-4/+4
|/
* terminfo: add remaining keypad keysDaniel Eklöf2020-06-27-2/+3
|
* input: add key mapping for XKB_KEY_KP_DecimalDaniel Eklöf2020-06-27-0/+1
|
* terminfo: add ka1, ka3, kc1 and kc3 (upper/lower left/right keypad keys)Daniel Eklöf2020-06-27-0/+2
|
* terminfo: kb2 (center keypad key) should be \EOu, not \EOEDaniel Eklöf2020-06-27-0/+2
|
* changelog: sixel images can now be printed onDaniel Eklöf2020-06-27-0/+4
|
* sixel: hopefully fix erasing of scrollback wrap-around sixelsDaniel Eklöf2020-06-27-1/+2
| | | | | | If a sixel image crossed the scrollback wrap around, the logic that detected whether a row, or a row range, intersected with the sixel was incorrect.
* term: reset: set title to the user configured title, not "foot"Daniel Eklöf2020-06-22-0/+1
|
* osc: set color: update both grids, but exclude scrollbackDaniel Eklöf2020-06-14-2/+2
|
* changelog: languageDaniel Eklöf2020-06-14-4/+5
|
* sixel: if the client has specified a size, do not change thatDaniel Eklöf2020-06-11-1/+3
| | | | | | | | | | | | | We used to auto-resize images to always be a multiple of 6. This is incorrect. The client may, for example, have specified a size to align the image to a cell boundary, which may not be a multiple of 6. Furthermore, in e.g. Jexer, which splits up an image into stripes, that the next image would "overwrite" the previous one. Since the next image was started on a cell row that the previous image had overflowed into.
* osc: 'Set Color' now updates already rendered cells in current gridDaniel Eklöf2020-06-11-0/+2
| | | | | | | | | | | | Since we don't have the original palette index in already rendered cells, we compare the color *value*. If it matches, we assume this was the color index used, and updates the cell's color. Note that for performance reasons, we only update the current grid. This is of course wrong, strictly speaking. However, it is expected that _Set Color_ is used by full-screen applications using the alternate grid.
* sixel: do not reset palette after each imageDaniel Eklöf2020-06-10-0/+2
| | | | | | | | A client can re-use the palette between images. Resetting the palette breaks this. Now we initialize the palette on demand, and resets it when the palette size is changed (by the client).
* osc: don't assert on \E]4 being followed by a ';'Daniel Eklöf2020-06-09-0/+2
| | | | | This fixes a crash (in debug builds) that could be triggered by e.g. cat:ing /dev/urandom.
* csi: \E[3J: reset render.last_cursor.row if necessaryDaniel Eklöf2020-06-09-0/+2
| | | | | This fixes a crash that occurred when the last rendered cursor cell had scrolled off screen, and \E[3J (clear scrollback) was executed.
* unicode combining: don't log overflow errors unless LOG_ENABLE_DBG == 1Daniel Eklöf2020-06-09-0/+2
|
* sixel: don't erase image when printing text *next* to it.Daniel Eklöf2020-06-06-0/+1
|
* changelog: mention fix for glyphs overflowing into surrounding cellsDaniel Eklöf2020-06-03-0/+3
|
* term: set an initial TIOCSWINSZ right after opening the ptyDaniel Eklöf2020-06-02-0/+2
| | | | | | | | Since foot is pretty aggressive about spawning the client early, it was possible for a fast client to read a 0x0 terminal size. Not all clients coped well. Closes #20.
* render: draw hollow block cursor on top of the character, not the oppositeDaniel Eklöf2020-06-02-1/+1
|
* selection: don't allow only half of double-width characters to be selectedDaniel Eklöf2020-06-02-0/+2
|
* 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
|