| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | doc: foot.ini: bell/urgency: add note about this getting replaced in the future | Daniel Eklöf | 2020-10-09 | -1/+4 |
| | | | | | | | | The ‘set-urgency’ action is an interim workaround for lack of support of an urgency hint in Wayland compositors. If/when such a feature gets implemented in Wayland, I intend to use that instead of the current implementation in foot. | |||
| * | bell: optionally render margins in red when receiving BEL | Daniel Eklöf | 2020-10-08 | -2/+95 |
| | | | | | | | | | | | | Add anew config option, ‘bell=none|set-urgency’. When set to ‘set-urgency’, the margins will be painted in red (if the window did not have keyboard focus). This is intended as a cheap replacement for the ‘urgency’ hint, that doesn’t (yet) exist on Wayland. Closes #157 | |||
| * | doc: foot.1: remove ‘--’ from example command line | Daniel Eklöf | 2020-10-08 | -1/+1 |
| | | ||||
| * | doc: foot.ini: mention that ‘lines’ is rounded up to nearest power of 2 | Daniel Eklöf | 2020-10-08 | -1/+3 |
| | | ||||
| * | doc: foot.ini: “top at” -> “top of” | Daniel Eklöf | 2020-10-08 | -1/+1 |
| | | ||||
| * | doc: foot.ini: it’s foot.ini, not foot.init | Daniel Eklöf | 2020-10-08 | -1/+1 |
| | | ||||
| * | render: apply opacity correctly when in reverse video mode | Daniel Eklöf | 2020-10-08 | -2/+9 |
| | | ||||
| * | changelog: fix CSI escape sequence | Daniel Eklöf | 2020-10-08 | -1/+1 |
| | | ||||
| * | doc: foot.ini: the tweak section is called ‘tweak’, not ‘tweaks’ | Daniel Eklöf | 2020-10-07 | -1/+1 |
| | | ||||
| * | config: ignore key/value pairs following an invalid section name | Daniel Eklöf | 2020-10-07 | -0/+9 |
| | | | | | | | | | | | | 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. | |||
| * | readme: add link to the ‘Performance’ page on the wiki | Daniel Eklöf | 2020-10-06 | -1/+2 |
| | | ||||
| * | term: cursor-left: unlikely -> likely for reverse-wrap | Daniel Eklöf | 2020-10-06 | -1/+1 |
| | | | | | | Since reverse wrap-around is enabled by default, we’re *likely* to take this branch. | |||
| * | Merge branch 'reverse-wrap' into master | Daniel Eklöf | 2020-10-06 | -4/+60 |
| |\ | | | | | | | Closes #150 | |||
| | * | term: enable reverse wrap-around by default | Daniel Eklöf | 2020-10-06 | -2/+6 |
| | | | | | | | | | | | Since we’re now doing reverse auto-wrapping by default, we add ‘bw’ (‘auto_left_margin’)to terminfo. | |||
| | * | csi: xtrestore: add ‘reverse wrap’ | Daniel Eklöf | 2020-10-03 | -0/+1 |
| | | | ||||
| | * | term: cursor-left: don’t do reverse-wrapping unless auto-margins are enabled | Daniel Eklöf | 2020-10-03 | -1/+1 |
| | | | | | | | | | This matches XTerm’s behavior. | |||
| | * | changelog: reverse auto-wrap | Daniel Eklöf | 2020-10-02 | -0/+6 |
| | | | ||||
| | * | vt: BS: *only* reset lcf if cursor is beyond right margin: don’t move cursor | Daniel Eklöf | 2020-10-02 | -1/+4 |
| | | | | | | | | | | | This is needed to make reverse auto-wrap work correctly. Without it, we’ll end up moving the cursor left one cell extra. | |||
| | * | term: cursor-left: reverse-wrap when cursor is at the left margin | Daniel Eklöf | 2020-10-02 | -3/+38 |
| | | | | | | | | | Assuming the private mode ‘reverse-wrap’ has been enabled. | |||
| | * | term: add private mode flag ‘’reverse-wrap’ | Daniel Eklöf | 2020-10-02 | -0/+7 |
| | | | ||||
| * | | doc: benchmark: update with ‘laptop’ results after 1.5 release | Daniel Eklöf | 2020-10-03 | -9/+8 |
| |/ | ||||
| * | Revert "term: cursor-left: reduce move count by one when lcf=true" | Daniel Eklöf | 2020-10-02 | -7/+0 |
| | | | | | | | | This reverts commit 02e3e4ac9b2703a0a867211c2482eab257cbc311. This broke at least Emacs. Cursor movement at the margins *is* undefined, and the behavior we’re now reverting to matches XTerm. | |||
| * | term: cursor-left: reduce move count by one when lcf=true | Daniel Eklöf | 2020-10-01 | -0/+7 |
| | | | | | | | | | | | | | When lcf is true, cursor is actually beyond the right margin, but the stored coordinate is at the margin. This means we need to reduce the number of cells to move the cursor by one. This fixes an issue where e.g. backspacing when the cursor is at the right margin erased the next-to-last character instead of the last character. | |||
| * | changelog: trackpad scrolling: ‘multiplier’ is in the ‘scrollback’ section | Daniel Eklöf | 2020-09-29 | -2/+2 |
| | | ||||
| * | Merge branch 'trackpad-scroll-speed' into master | Daniel Eklöf | 2020-09-29 | -7/+25 |
| |\ | | | | | | | Closes #144 | |||
| | * | changelog: multiplier: the option belongs to the ‘scrollback’ section | Daniel Eklöf | 2020-09-29 | -2/+2 |
| | | | ||||
| | * | changelog: multiplier default value changed from 1.0 -> 3.0 | Daniel Eklöf | 2020-09-29 | -0/+5 |
| | | | ||||
| | * | config: change default multiplier from 1.0 -> 3.0 | Daniel Eklöf | 2020-09-29 | -3/+3 |
| | | | ||||
| | * | changelog: reword trackpad scrolling speed entry | Daniel Eklöf | 2020-09-29 | -0/+5 |
| | | | ||||
| | * | input: trackpad scroll: correctly convert pixel movements to line movements | Daniel Eklöf | 2020-09-29 | -4/+12 |
| |/ | | | | | | | | | | | | 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. | |||
| * | Merge branch 'reflow-retain-scrollback-position' into master | Daniel Eklöf | 2020-09-29 | -1/+28 |
| |\ | | | | | | | Closes #142 | |||
| | * | grid: reflow: fix release build; ‘idx’ is only used in an assert() | Daniel Eklöf | 2020-09-29 | -1/+2 |
| | | | ||||
| | * | grid: reflow: handle viewport being too far down when enlarging the window | Daniel Eklöf | 2020-09-29 | -2/+17 |
| | | | | | | | | | | | | | If the viewport is close to the bottom, but not *at* the bottom, and we’re enlarging the window, the translated viewport will be too far down. | |||
| | * | grid: reflow: retain scrollback position | Daniel Eklöf | 2020-09-29 | -1/+12 |
| |/ | | | | Closes #142 | |||
| * | Merge branch 'osc4-refresh-scheduling' into master | Daniel Eklöf | 2020-09-29 | -33/+32 |
| |\ | | | | | | | Closes #141 | |||
| | * | changelog: fixed color flashes with OSC 4,10,11 | Daniel Eklöf | 2020-09-29 | -0/+2 |
| | | | ||||
| | * | render: remove render_refresh_margins() | Daniel Eklöf | 2020-09-29 | -9/+0 |
| | | | ||||
| | * | osc: don’t explicitly call render_refresh() when changing the color palette | Daniel Eklöf | 2020-09-29 | -9/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doing so will schedule the renderer “as soon as possible”. I.e we’re by-passing the regular scheduler, and thus we’re by-passing the user’s setting of the delayed-render-* timers. The fact that we’re scheduling “as soon as possible” also means we’re much more likely to trigger flickering, or color flashes, if the application is changing colors which are on the screen. To handle changes to the cursor color(s), use the new term_damage_cursor() instead of render_refresh(). To handle background color changes, which affect the margins, use the new term_damage_margins() instead of render_refresh_margins(), Closes #141 | |||
| | * | render: term->render.margins is used to explicitly tell us to re-render margins | Daniel Eklöf | 2020-09-29 | -15/+7 |
| | | | ||||
| | * | term: add term_damage_cursor() and term_damage_margins() | Daniel Eklöf | 2020-09-29 | -0/+18 |
| |/ | | | | | | | | | term_damage_cursor() damages the cell where the cursor is currently at. This can be used to ensure the cursor is re-drawn, if there aren’t any other pending updates. term_damage_margins() requests the margins be redrawn the next time we render the grid. | |||
| * | Merge branch 'allow-mouse-binding-click-count-less-than' into master | Daniel Eklöf | 2020-09-27 | -6/+25 |
| |\ | ||||
| | * | input: mouse: match binding if binding’s click count is *less* | Daniel Eklöf | 2020-09-27 | -6/+25 |
| |/ | | | | | | | | | | | 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 | |||
| * | install: say _why_ ncurses and scdoc is needed | Daniel Eklöf | 2020-09-24 | -2/+2 |
| | | ||||
| * | Revert "meson: add -Dwith-docs=disabled|enabled|auto" | Daniel Eklöf | 2020-09-24 | -25/+11 |
| | | | | | This reverts commit 9d6b2c934222f7e492fba06d02dd2d5991814d1b. | |||
| * | Merge branch 'make-doc-generation-optional' into master | Daniel Eklöf | 2020-09-24 | -11/+25 |
| |\ | ||||
| | * | meson: add -Dwith-docs=disabled|enabled|auto | Daniel Eklöf | 2020-09-24 | -11/+25 |
| |/ | | | | | | | | | | | When enabled, man pages are generated and installed, along with README.md, CHANGELOG.md and LICENSE. This requires ‘scdoc’ as a make dependency. When disabled, ‘scdoc’ is no longer required, no man pages will be built, and no documentation at all is installed. Defaults to ‘enabled’. | |||
| * | changelog: add new ‘unreleased’ section | Daniel Eklöf | 2020-09-18 | -0/+12 |
| | | ||||
| * | Merge branch 'releases/1.5' into master | Daniel Eklöf | 2020-09-18 | -6/+4 |
| |\ | ||||
| | * | meson/pkgbuild: bump version to 1.5.01.5.0 | Daniel Eklöf | 2020-09-18 | -2/+2 |
| | | | ||||
| | * | changelog: prepare for 1.5.0 | Daniel Eklöf | 2020-09-18 | -4/+2 |
| |/ | ||||
| * | changelog: add cherti to contributors | Daniel Eklöf | 2020-09-18 | -0/+1 |
| | | ||||
| * | Revert "changelog: add cherti to contributors" | Daniel Eklöf | 2020-09-18 | -3/+4 |
| | | | | | This reverts commit 8f3692f9a662c69cadca1b840f22f4f222b550e9. | |||
| * | changelog: add cherti to contributors | Daniel Eklöf | 2020-09-18 | -4/+3 |
| | | ||||
| * | meson/pkgbuild: bump fcft requirement to 2.3.0 | Daniel Eklöf | 2020-09-18 | -2/+2 |
| | | ||||
| * | selection: reset clipboard/primary->text after free:ing it | Daniel Eklöf | 2020-09-17 | -0/+2 |
| | | ||||
| * | selection: primary unset: don’t free text twice | Daniel Eklöf | 2020-09-17 | -1/+0 |
| | | ||||
| * | render: fix rounding errors when setting initial window size and scale != 1 | Daniel Eklöf | 2020-09-17 | -4/+16 |
| | | | | | | | | | | An odd cell width/height sometimes resulted in an odd grid size. Combined with a scaling factor of e.g. 2, that led to a rounding error when converting pixel sizes to logical window sizes. As a result, the _next_ configure event would cause us to loose a pixel, which led to us dropping a row from the grid. | |||
| * | ci: fix path to junit report on release builds | Daniel Eklöf | 2020-09-16 | -2/+2 |
| | | ||||
| * | ci: install fonts, needed for fcft tests | Daniel Eklöf | 2020-09-16 | -0/+7 |
| | | ||||
| * | ci: need the ‘dev’ version of ‘check’ on alpine | Daniel Eklöf | 2020-09-16 | -3/+3 |
| | | ||||
| * | ci: install ‘check’ - this enables fcft tests | Daniel Eklöf | 2020-09-16 | -0/+4 |
| | | ||||
| * | ci: repair ninja test target | Daniel Eklöf | 2020-09-16 | -1/+1 |
| | | ||||
| * | ci: upload junit XML reports | Daniel Eklöf | 2020-09-16 | -1/+13 |
| | | ||||
| * | ci: explicitly enable harfbuzz in fcft | Daniel Eklöf | 2020-09-16 | -11/+14 |
| | | ||||
| * | ci: enable fcft’s text-shaping tests | Daniel Eklöf | 2020-09-16 | -10/+10 |
| | | ||||
| * | Merge branch 'configurable-alternate-scroll-mode' into master | Daniel Eklöf | 2020-09-16 | -38/+70 |
| |\ | | | | | | | Closes #135 | |||
| | * | doc: foot.ini: alternate-scroll-mode: fix highlighting of CSI escape | Daniel Eklöf | 2020-09-16 | -1/+1 |
| | | | ||||
| | * | changelog: mouse events -> mouse scroll events | Daniel Eklöf | 2020-09-15 | -2/+2 |
| | | | ||||
| | * | config: add mouse.alternate-scroll-mode option | Daniel Eklöf | 2020-09-15 | -0/+31 |
| | | | | | | | | | | | This option controls the initial state of the Alternate Scroll Mode, and defaults to ‘enabled’. | |||
| | * | input: mouse_scroll(): refactor | Daniel Eklöf | 2020-09-15 | -36/+35 |
| | | | ||||
| | * | input: don’t use stale keycodes for arrow-up/down | Daniel Eklöf | 2020-09-15 | -11/+13 |
| | | | | | | | | | | | | | | | The keycodes will change if the seat’s keymap changes. Make sure we only do alternate scrolling if the seat has a keyboard, and use the *current* layout’s keycodes for arrow up/down (instead of the *first* layout’s). | |||
| | * | input: don’t do alternate mode scrolling if application is grabbing mouse | Daniel Eklöf | 2020-09-15 | -1/+2 |
| | | | ||||
| | * | input: don’t do grid scrollback if mouse events are being captured | Daniel Eklöf | 2020-09-15 | -3/+2 |
| |/ | ||||
| * | meson/pkgbuild: require fcft-2.2.90 | Daniel Eklöf | 2020-09-15 | -2/+2 |
| | | ||||
| * | render: best-effort attempt to set initial window size in chars when scale != 1 | Daniel Eklöf | 2020-09-14 | -7/+15 |
| | | | | | | | | | | | | The initial window size is set *before* we’re initially mapped. This means we don’t (yet) know on which output we’ll be mapped. _That_ means we don’t know which scaling factor to use. This implements a best effort attempt, where we use the “guessed” scaling factor. This will always be correct in single-monitor configurations, but may be wrong in multi-monitor setups with different scaling factors. | |||
| * | config: add tweak.scaling-filter | Daniel Eklöf | 2020-09-13 | -2/+46 |
| | | | | | | | | | 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. | |||
| * | config: log warning when new boolean tweak options have been enabled | Daniel Eklöf | 2020-09-12 | -2/+8 |
| | | ||||
| * | Merge branch 'scroll-half-page' into master | Daniel Eklöf | 2020-09-11 | -11/+112 |
| |\ | | | | | | | Closes #128 | |||
| | * | key-binding: deprecate scrollback-up/down, add scrollback-up/down-line | Daniel Eklöf | 2020-09-10 | -24/+99 |
| | | | | | | | | | | | | | | | | | 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 bindings | Daniel Eklöf | 2020-09-09 | -2/+28 |
| | | | | | | | | | | | | | | | | | These new bindings scroll up/down half a page in the scrollback (instead of the full page scrolled by ‘scrollback-{up,down}’). Closes #128. | |||
| * | | Merge branch 'hide-csd-buttons-when-title-bar-gets-too-small' into master | Daniel Eklöf | 2020-09-10 | -8/+18 |
| |\ \ | ||||
| | * | | render: csd: hide buttons when title bar gets too small to fit them | Daniel Eklöf | 2020-09-10 | -8/+18 |
| |/ / | ||||
| * | | Merge branch 'cursor-outside-visible-area-on-reflow' into master | Daniel Eklöf | 2020-09-10 | -6/+5 |
| |\ \ | ||||
| | * | | grid: reflow: make sure cursor is within the visible screen area | Daniel Eklöf | 2020-09-10 | -6/+5 |
| |/ / | | | | | | | | | | | | | | | 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. | |||
| * | | Merge branch 'osc52-clear-selection-on-invalid-payload' into master | Daniel Eklöf | 2020-09-10 | -31/+109 |
| |\ \ | |/ |/| | ||||
| | * | osc52: use first source that actually *has* data | Daniel Eklöf | 2020-09-09 | -20/+32 |
| | | | ||||
| | * | osc52: unset (clear) selection when an invalid payload is received | Daniel Eklöf | 2020-09-09 | -11/+18 |
| | | | ||||
| | * | selection: add selection_<type>_has_data() | Daniel Eklöf | 2020-09-09 | -0/+15 |
| | | | | | | | | | | | Returns true when there is data available for paste in the clipboard/primary selection. | |||
| | * | selection: add selection_<type>_unset() | Daniel Eklöf | 2020-09-09 | -0/+44 |
| | | | | | | | | | These functions clear the current selection. | |||
| * | | config: spelling: mosue -> mouse | Daniel Eklöf | 2020-09-09 | -2/+3 |
| |/ | ||||
| * | Merge branch 'window-size-in-characters' into master | Daniel Eklöf | 2020-09-09 | -57/+199 |
| |\ | ||||
| | * | Add -W,--window-size-chars, and foot.ini:initial-window-size-chars | Daniel Eklöf | 2020-09-08 | -57/+199 |
| | | | | | | | | | | | | | | | | | | | | | | | * 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 master | Daniel Eklöf | 2020-09-09 | -4/+13 |
| |\ \ | ||||
| | * | | keymap: emit \E[27;2;13~ for all key combinations involving Shift+Return | Daniel Eklöf | 2020-09-07 | -4/+13 |
| | | | | | | | | | | | | | This is what XTerm emits with `modifyOtherKeys=1`, which is foot’s only mode. | |||
| * | | | Merge branch 'fix-pipe-selected-not-being-recognized-as-a-valid-action' into master | Daniel Eklöf | 2020-09-09 | -3/+4 |
| |\ \ \ | |_|/ |/| | | | | | Closes #125 | |||
| | * | | config: key binding: free pipe cmd/argv when action is invalid | Daniel Eklöf | 2020-09-08 | -0/+2 |
| | | | | ||||
| | * | | wayland: set BIND_ACTION_KEY_COUNT correctly | Daniel Eklöf | 2020-09-08 | -3/+2 |
| | |/ | | | | | | | | | | | | | This fixes an issue where ‘pipe-selected’ were not recognized as a valid key action. Closes #125 | |||
| * / | changelog: move deprecation section up first, change most ‘footrc’ -> ‘foot.ini’ | Daniel Eklöf | 2020-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 'tweak-damage-everything' into master | Daniel Eklöf | 2020-09-07 | -2/+27 |
| |\ | ||||
| | * | config: add tweak.damage-whole-window | Daniel Eklöf | 2020-09-06 | -2/+27 |
| | | | | | | | | | | | | | | | | | | | | | When enabled, foot will ‘damage’ the entire window, instead of just the modified/updated rows. This will force the compositor to redraw/blend the whole window. This can be used to workaround an issue with fractional scaling in Gnome, where random thin lines may appear. | |||
