aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md (follow)
Commit message (Collapse)AuthorAgeLines
* input: regression: don’t pass on mouse click to application if we consumed itDaniel Eklöf2020-10-13-0/+9
| | | | | | | | | | | | | When we ‘consume’ a mouse button event (i.e. when we have a shortcut mapped to it), the event should *not* be passed on to the client application. In 5f64c5c33590a41afd3f621870c6abd89b859073, button handling was refactored and unfortunately introduced a regression where we once again started passing consumed button presses to the client application. Fixes #168
* changelog: prepare for 1.5.1Daniel Eklöf2020-10-11-6/+3
|
* changelog: remove duplicate entryDaniel Eklöf2020-10-11-4/+0
|
* changelog: update ‘contributors’ listDaniel Eklöf2020-10-11-0/+1
|
* selection: use appropriate check for PRIMARY pasteSergey Nazaryev2020-10-11-0/+1
| | | | | | Assume it could be a copy-paste typo. We should check PRIMARY, not CLIPBOARD. Without this fix, we can't use PRIMARY until we copy anything to CLIPBOARD.
* config: bind shift+insert to primary-paste by defaultDaniel Eklöf2020-10-11-0/+2
|
* changelog: add contributorDaniel Eklöf2020-10-11-0/+2
|
* csi: only respond to Primary DA when Ps == 0Daniel Eklöf2020-10-11-0/+1
|
* changelog: we’ve fixed several sixel+reflow related bugsDaniel Eklöf2020-10-11-0/+2
|
* sixel: fix sheared image when image crosses scrollback wrap-aroundDaniel Eklöf2020-10-11-0/+3
| | | | | | | | | | | | | | | When a sixel image crosses the scrollback wrap-around, it is split up into (at least) two pieces. We use cursor->point.col for all pieces’ x-coordinate. This caused the final image to appear sheared, since we do a carriage-return (after a number of linefeeds) after each piece - this causes the cursor’s position to be reset to the left margin. The solution is simple; remember the cursor’s initial x-coordinate, and use that to position all image pieces. Closes #151.
* sixel: overwrite-by-rectangle expects ‘width’ to not exceed screenDaniel Eklöf2020-10-11-0/+2
| | | | | | | | This fixes a crash when the emitted sixel extends beyond the right margin. The crash only happens when there are other sixel images already emitted. Fixes part of #151
* render: apply opacity correctly when in reverse video modeDaniel Eklöf2020-10-11-0/+1
|
* config: ignore key/value pairs following an invalid section nameDaniel Eklöf2020-10-11-0/+2
| | | | | | | | | | | When we detected an invalid section name, we correctly logged this and warned the user. However, the internal state machine now had an invalid section enum value. This caused a crash when the next key/value pair was to be parsed and we tried to lookup which parser function to call. Closes #159.
* changelog: trackpad scrolling: ‘multiplier’ is in the ‘scrollback’ sectionDaniel Eklöf2020-10-11-2/+2
|
* changelog: multiplier: the option belongs to the ‘scrollback’ sectionDaniel Eklöf2020-10-11-2/+2
|
* changelog: multiplier default value changed from 1.0 -> 3.0Daniel Eklöf2020-10-11-0/+5
|
* changelog: reword trackpad scrolling speed entryDaniel Eklöf2020-10-11-0/+5
|
* input: trackpad scroll: correctly convert pixel movements to line movementsDaniel Eklöf2020-10-11-0/+4
| | | | | | | | | | | | Trackpad scroll movements are in pixels. Foot previously “translated” these directly to line movements (i.e. a one pixel scroll event was translated into a one line scroll). Now we use the line height of the terminal and correctly convert pixels to lines. This makes the trackpad scroll speed in foot consistent with the scroll speed in e.g. Alacritty and Kitty.
* grid: reflow: retain scrollback positionDaniel Eklöf2020-10-11-0/+2
| | | | Closes #142
* changelog: fixed color flashes with OSC 4,10,11Daniel Eklöf2020-10-11-0/+2
|
* input: mouse: match binding if binding’s click count is *less*Daniel Eklöf2020-10-11-0/+7
| | | | | | | | | | | Allow a mouse binding to match even if its click count is less than the actual click count. If there are multiple bindings that match, use the one with the highest click count (that less than, or equal to the actual click count). Closes #146
* changelog: add new ‘unreleased’ sectionDaniel Eklöf2020-10-11-0/+12
|
* changelog: prepare for 1.5.0Daniel Eklöf2020-09-18-4/+2
|
* changelog: add cherti to contributorsDaniel Eklöf2020-09-18-0/+1
|
* Revert "changelog: add cherti to contributors"Daniel Eklöf2020-09-18-3/+4
| | | | This reverts commit 8f3692f9a662c69cadca1b840f22f4f222b550e9.
* changelog: add cherti to contributorsDaniel Eklöf2020-09-18-4/+3
|
* changelog: mouse events -> mouse scroll eventsDaniel Eklöf2020-09-15-2/+2
|
* config: add mouse.alternate-scroll-mode optionDaniel Eklöf2020-09-15-0/+6
| | | | | This option controls the initial state of the Alternate Scroll Mode, and defaults to ‘enabled’.
* config: add tweak.scaling-filterDaniel Eklöf2020-09-13-0/+1
| | | | | | | | Use the new fcft_set_scaling_filter() API to use a non-default scaling filter. By default, we use lanczo3, the ‘best’ filter. This overrides the default in fcft, which is ‘cubic’ filtering.
* Merge branch 'scroll-half-page' into masterDaniel Eklöf2020-09-11-1/+11
|\ | | | | | | Closes #128
| * key-binding: deprecate scrollback-up/down, add scrollback-up/down-lineDaniel Eklöf2020-09-10-2/+9
| | | | | | | | | | | | | | | | This deprecates/renames scrollback-up/down to scrollback-up/down-page. It also renames scrollback-up/down-half to scrollback-up/down-half-page, and adds the new bindings scrollback-up/down-line.
| * config: add scrollback-{up,down}-half key bindingsDaniel Eklöf2020-09-09-0/+3
| | | | | | | | | | | | | | | | These new bindings scroll up/down half a page in the scrollback (instead of the full page scrolled by ‘scrollback-{up,down}’). Closes #128.
* | render: csd: hide buttons when title bar gets too small to fit themDaniel Eklöf2020-09-10-0/+2
| |
* | grid: reflow: make sure cursor is within the visible screen areaDaniel Eklöf2020-09-10-0/+1
| | | | | | | | | | | | | | | | Even though we translate the cursor position from the old grid coordinates to the new, the cursor may _still_ end up outside the visible area. Make sure it doesn’t.
* | osc52: unset (clear) selection when an invalid payload is receivedDaniel Eklöf2020-09-09-0/+2
|/
* Merge branch 'window-size-in-characters' into masterDaniel Eklöf2020-09-09-1/+8
|\
| * Add -W,--window-size-chars, and foot.ini:initial-window-size-charsDaniel Eklöf2020-09-08-1/+8
| | | | | | | | | | | | | | | | | | | | | | * Add -W,--window-size-chars command line option * Add initial-window-size-chars foot.ini option * Add -w,--window-size-pixels command line option * Add initial-window-size-pixels foot.ini option * Deprecate -g,--geometry command line option in favor of -w,--window-size-pixels * Deprecate geometry option in foot.ini in favor of initial-window-size-pixels
* | Merge branch 'keymap-shift-return' into masterDaniel Eklöf2020-09-09-0/+2
|\ \ | |/ |/|
| * keymap: emit \E[27;2;13~ for all key combinations involving Shift+ReturnDaniel Eklöf2020-09-07-0/+2
| | | | | | | | This is what XTerm emits with `modifyOtherKeys=1`, which is foot’s only mode.
* | changelog: move deprecation section up first, change most ‘footrc’ -> ‘foot.ini’Daniel Eklöf2020-09-08-17/+14
|/ | | | | | | | The deprecation sections mentions ‘footrc’ being deprecated, and replaced by ‘foot.ini’. Since a lot of the changelog entries refer to foot.ini, make sure the user sees this first. Also, use foot.ini (and not footrc) consistently in all changelog entries.
* Merge branch 'reflow-multi-column-composed-characters' into masterDaniel Eklöf2020-09-07-0/+1
|\
| * grid: reflow: calculate width of composed characters correctlyDaniel Eklöf2020-09-06-0/+1
| | | | | | | | | | Before this patch, reflow called `wcwidth()` on our magic values for composed characters.
* | render: change minimum window size from 4x20 -> 1x2 (rows/cols)Daniel Eklöf2020-09-07-0/+2
|/
* changelog: scrollback indicator did not exist in 1.4(.4)Daniel Eklöf2020-09-06-2/+0
| | | | Thus it’s wrong to say its behavior has changed.
* Merge branch 'improve-handling-of-private-usage-area-characters' into masterDaniel Eklöf2020-09-06-0/+4
|\ | | | | | | Closes #116
| * render: optionally enable heuristics that deal with private usage area charsDaniel Eklöf2020-09-03-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Try to detect double-width *glyphs* for single-width *characters*, and allow them to overflow into the next cell. This is only done for single-width chars with a glyph width that is at least 1.5 cells wide, but at most 3 cells. The feature is gated by the new ‘tweak.allow-overflowing-double-width-glyphs’, and is disabled by default. Closes #116
* | changelog: output objects received before XDG output managerDaniel Eklöf2020-09-04-0/+2
|/
* changelog: new configuration file locationDaniel Eklöf2020-08-27-0/+9
|
* Merge branch 'scrollback-indicator-positioning' into masterDaniel Eklöf2020-08-27-0/+2
|\ | | | | | | Closes #108
| * render: scrollback position: only count _used_ scrollback linesDaniel Eklöf2020-08-25-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When calculating where in the scrollback history we are, we previously did this against the total number of scrollback lines. I.e. the `scrollback.lines` setting in `footrc`. Now, we count only the used/allocated scrollback lines. Note that the initial indicator position might still seem to start a bit high up, if the number of used scrollback lines is low. This is because we use the *top* of the screen for the current position. Thus, we'll never be at the bottom (except for the special case when we're *really* at the bottom).
* | changelog: fixed input events from getting mixed with paste dataDaniel Eklöf2020-08-25-0/+2
|/
* slave: set $COLORTERM environment variable to "truecolor"Craig Barnes2020-08-23-0/+2
| | | | | | | This is also done by libvte, alacritty, kitty and several other terminal emulators as a way to indicate support for 24-bit RGB colors. It generally also implies support for the xterm 256-color palette and basic ECMA-48 colors.
* input: inhibit mouse events to client when a binding has consumed itDaniel Eklöf2020-08-22-0/+2
| | | | | | | | | | This introduces a new state to a seat's mouse struct, 'consumed'. It is set on a mouse *press* event that is claimed by a mouse binding. It is cleared after a mouse *release* event. While set, *no* mouse motion or button events are sent to the client application.
* extract: only emit newlines if followed by non-empty cellsDaniel Eklöf2020-08-20-0/+2
| | | | Closes #97
* Merge branch 'selection-exclude-trailing-empty-cells' into masterDaniel Eklöf2020-08-19-0/+1
|\
| * changelog: trailing empty cells are not highlighted in mouse selectionsDaniel Eklöf2020-08-18-0/+1
| |
* | Merge branch 'update-grid-on-default-fg-bg-change' into masterDaniel Eklöf2020-08-19-0/+2
|\ \ | |/ |/| | | Closes #94
| * osc: dirty grids on *all* color modifying sequencesDaniel Eklöf2020-08-18-0/+2
| | | | | | | | | | | | | | We only updated the grid for OSC 4 - Set color <idx>. But we did *not* do it for 104 (reset color <idx>), 10 - set default foreground, 11 - set default background, 110 - reset default foreground, or 111 - reset default background.
* | changelog: xtsave/xtrestoreDaniel Eklöf2020-08-16-0/+2
|/
* changelog: add ordoviz to contributorsDaniel Eklöf2020-08-16-0/+1
|
* Fix typosLennard Hofmann2020-08-15-2/+2
|
* changelog: remove duplicate entries (caused by bad merge)Daniel Eklöf2020-08-14-4/+0
|
* changelog: new mouse actionsDaniel Eklöf2020-08-14-0/+6
|
* changelog: click count in mouse bindingsDaniel Eklöf2020-08-14-0/+2
|
* changelog: modifier support in mouse bindingsDaniel Eklöf2020-08-14-0/+2
|
* changelog: click count in mouse bindingsDaniel Eklöf2020-08-14-0/+2
|
* changelog: modifier support in mouse bindingsDaniel Eklöf2020-08-13-0/+2
|
* config: add tweak.render-timer optionDaniel Eklöf2020-08-13-0/+1
| | | | | | | | | This can be set to 'none' (the default), 'osd', 'log' or 'both'. When 'osd' is enabled, we'll render the frame rendering time to a sub-surface after each frame. When 'log' is enabled, the frame rendering time is logged on stderr.
* changelog: cancelling -> cancelingDaniel Eklöf2020-08-13-1/+1
|
* Merge branch 'selection-inversion' into masterDaniel Eklöf2020-08-13-0/+2
|\
| * selection: adjust start point when the selection changes directionDaniel Eklöf2020-08-12-0/+2
| | | | | | | | | | | | | | | | | | Without this, the initial cell will always be selected, regardless of how the selection is moved to the left or right. With this patch, the initial cell will only be selected while the selection is being made in the original direction. Changing direction of the selection moves the start point to next/previous character.
* | config: make selection foreground/background colors configurableDaniel Eklöf2020-08-12-0/+2
|/ | | | | | | | | The default is still to inverse the regular foreground/background colors. If the user sets *both* of the new options, selection-foreground and selection-background, those colors will *always* be used for selected cells, instead of inverting the regular foreground/background colors.
* search: fix viewport not moving if we tried to move it past the scrollback startDaniel Eklöf2020-08-12-0/+3
| | | | | | | | | | | | If the match was somewhere near the scrollback beginning, and if the entire scrollback hadn't yet been filled, we ended up trying to move the viewport past the beginning of the scrollback, which we then adjusted in the wrong direction, causing the viewport to not move at all. Besides being a bad user experience, since the new match wasn't visible, foot would also crash if you manually scrolled up to the match.
* changelog: add birger to 'contributers' for the upcoming releaseDaniel Eklöf2020-08-08-0/+1
|
* changelog: 'of' -> 'in'Daniel Eklöf2020-08-07-1/+1
|
* input: motion: do selection update even if cursor is outside the gridDaniel Eklöf2020-08-07-0/+2
| | | | | | | | | | | | | | | | | Previously, the selection was only updated when the mouse cursor was inside the grid. This makes it difficult to e.g. do large selections fast, since you often end up moving the cursor outside the grid, or outside the terminal window even. Now, we update the selection regardless of *where* the cursor is. This is done by bounding the row/col we pass to 'selection_update()' to the grid, while still setting the seat's row/col to -1 when the cursor is outside the grid, to ensure the xcursor etc are set correctly. Care must also be taken to *not* pass any motion events to a mouse grabbing client, when the cursor is outside the grid. Closes #70.
* input: fix col/row calculation when cursor is in the top or left marginDaniel Eklöf2020-08-07-0/+1
| | | | | | | | | This fixes an issue where the col/row were incorrectly set to 0 instead of -1, when the mouse cursor was inside the grid margins. This resulted in e.g. the mouse cursor having the wrong shape, and foot incorrectly handling mouse events as if they were inside the grid.
* fix printf-format errors in 32-bit buildsDaniel Eklöf2020-08-06-0/+1
|
* grid: reflow: don't insert <width> spacer cells for *every* empty cellDaniel Eklöf2020-08-04-0/+2
| | | | Only do it for the last, non-empty cell.
* config: move cursor.hide-when-typing to mouse.hide-when-typingDaniel Eklöf2020-08-04-1/+1
|
* config: add scrollback.multiplier optionDaniel Eklöf2020-08-03-0/+2
| | | | | | | This option is used to multiply the mouse scroll amount for mouse and trackpad based scrollback scrolling. Closes #54.
* changelog: add craigbarnes to 'contributors' for the upcoming releaseDaniel Eklöf2020-08-03-0/+2
|
* server/client: use $WAYLAND_DISPLAY instead of $XDG_SESSION_ID in default socket pathDaniel Eklöf2020-08-02-0/+2
| | | | | | | | | Foot is a Wayland client and cannot be run outside of a Wayland session. As such, it makes more sense to use $WAYLAND_SESSION instead of $XDG_SESSION_ID in the default socket path since this makes it clearer which Wayland session we belong to. Closes #55.
* config: add 'hide-when-typing'Daniel Eklöf2020-07-31-0/+1
| | | | | | When enabled, the mouse cursor is hidden when the user types in the terminal. It is un-hidden when the user moves the mouse, or when the window loses keyboard focus.
* config: configuration errors are no longer fatalDaniel Eklöf2020-07-31-0/+3
| | | | | Instead of refusing to start foot on configuration errors, we start and print a user-notification.
* config: add 'pipe-selected' key bindingDaniel Eklöf2020-07-31-0/+3
| | | | | | | This works just like pipe-visible and pipe-scrollback, but pipes the user-selected text, if any, to the external tool. Closes #51
* config: tokenize key bindings' pipe command when loading the configurationDaniel Eklöf2020-07-30-0/+7
| | | | | | This allows us to detect syntax errors early on, and is also more efficient since we don't have to re-tokenize the command line every time the binding is executed.
* changelog: use <section>.<option> syntaxDaniel Eklöf2020-07-30-2/+1
|
* changelog: update scrollback indicator entry to reflect moved optionsDaniel Eklöf2020-07-29-2/+2
|
* main: add --check-config command line optionDaniel Eklöf2020-07-29-0/+1
|
* config: add scrollback sectionDaniel Eklöf2020-07-29-0/+5
| | | | | | | | | * Move 'scrollback' to 'scrollback.lines' * Move (the new) 'scrollback-indicator-*' options to 'scrollback.indicator-*' Log a deprecation warning when the old 'scrollback' option is used, but don't remove it, yet.
* search/config: configurable key bindings for (scrollback) search modeDaniel Eklöf2020-07-29-0/+1
|
* changelog: scrollback indicator is a *new* feataureDaniel Eklöf2020-07-29-4/+8
|
* Merge branch 'releases/1.4' into masterDaniel Eklöf2020-07-29-7/+13
|\
| * changelog: add extra newline between index and first releaseDaniel Eklöf2020-07-29-0/+1
| |
| * config: handle trailing comments and empty valuesDaniel Eklöf2020-07-29-0/+1
| |
| * changelog: improved font size consistency across monitors with different DPIDaniel Eklöf2020-07-29-0/+2
| |
| * input: margins are not selectableDaniel Eklöf2020-07-29-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | * Fix col/row calculation in pointer-enter event; we did not take the margins into account. * seat->mouse.col,row are now set to -1 if the cursor is inside the margins. That is, col/row are only ever valid when the mouse is actually over the grid, and not in the margins. * Use regular 'left-ptr' mouse cursor when mouse is inside the margins, to not make the user think he/she can start a selection. Besides making things clearer, this also fixes a crash that occurred if you started a selection in e.g. the right margin.
| * changelog: add 1.4.4 sectionDaniel Eklöf2020-07-29-0/+4
| |
* | changelog: move #47 to the correct releaseDaniel Eklöf2020-07-28-2/+2
| |