| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| * | 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. | ||||
| * | | Merge branch 'reflow-multi-column-composed-characters' into master | Daniel Eklöf | 2020-09-07 | -7/+28 | |
| |\ \ | |||||
| | * | | grid: reflow: calculate width of composed characters correctly | Daniel Eklöf | 2020-09-06 | -7/+28 | |
| | | | | | | | | | | | | | | | | Before this patch, reflow called `wcwidth()` on our magic values for composed characters. | ||||
| * | | | input: fix assertion when pressing first one mouse button, then another | Daniel Eklöf | 2020-09-07 | -55/+54 | |
| | | | | |||||
| * | | | render: change minimum window size from 4x20 -> 1x2 (rows/cols) | Daniel Eklöf | 2020-09-07 | -2/+4 | |
| |/ / | |||||
| * / | changelog: scrollback indicator did not exist in 1.4(.4) | Daniel Eklöf | 2020-09-06 | -2/+0 | |
| |/ | | | | Thus it’s wrong to say its behavior has changed. | ||||
| * | config: use correct config file path when logging errors and warnings | Daniel Eklöf | 2020-09-06 | -1/+1 | |
| | | |||||
| * | doc: foot.ini: max-shm-pool-size-mb: a value of 0 disables the feature | Daniel Eklöf | 2020-09-06 | -0/+2 | |
| | | |||||
| * | Merge branch 'improve-handling-of-private-usage-area-characters' into master | Daniel Eklöf | 2020-09-06 | -2/+51 | |
| |\ | | | | | | | Closes #116 | ||||
| | * | doc: foot.ini: remove empty lines after option name | Daniel Eklöf | 2020-09-05 | -3/+1 | |
| | | | |||||
| | * | render: optionally enable heuristics that deal with private usage area chars | Daniel Eklöf | 2020-09-03 | -1/+52 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | | Merge branch 'handle-xdg-output-manager-coming-after-output-objects' into master | Daniel Eklöf | 2020-09-04 | -0/+9 | |
| |\ \ | |/ |/| | | | Closes #118 | ||||
| | * | changelog: output objects received before XDG output manager | Daniel Eklöf | 2020-09-04 | -0/+2 | |
| | | | |||||
| | * | wayland: register xdg-output interface on pre-existing output objects | Daniel Eklöf | 2020-09-04 | -0/+7 | |
| |/ | | | | | | | | | The XDG output manager object may arrive *after* output objects. In this case, we need to register the pre-existing output objects with the XDG output manager. This fixes an issue with some monitors having a DPI value of 0 on Gnome/mutter, which resulted in incorrect font sizes. | ||||
| * | Merge branch 'refresh-margins-on-background-palette-change' into master | Daniel Eklöf | 2020-09-01 | -7/+28 | |
| |\ | | | | | | | Closes #94 | ||||
| | * | render: ’redraw_margins’ is now a parameter to grid_render() | Daniel Eklöf | 2020-09-01 | -11/+7 | |
| | | | | | | | | | | | render_refresh_margins() now passes ’true’ here, instead of re-setting term->render.last_buf to NULL. | ||||
| | * | osc: explicitly refresh margins on a background color change | Daniel Eklöf | 2020-09-01 | -0/+2 | |
| | | | |||||
| | * | render: implement render_refresh_margins() | Daniel Eklöf | 2020-09-01 | -2/+25 | |
| |/ | | | | | For now, it will reset term->render.last_buf to NULL, and then calls grid_render() to do a full screen refresh. | ||||
| * | Merge branch 'config-file-location' into master | Daniel Eklöf | 2020-08-28 | -64/+253 | |
| |\ | | | | | | | Closes #110. | ||||
| | * | doc: meson: @01@ -> @1@ | Daniel Eklöf | 2020-08-27 | -1/+1 | |
| | | | |||||
| | * | config: close FD if it is *valid*, not when it is *invalid* | Daniel Eklöf | 2020-08-27 | -1/+1 | |
| | | | |||||
| | * | doc: foot.ini: highlight configuration file paths with bold, not italic/underline | Daniel Eklöf | 2020-08-27 | -5/+5 | |
| | | | |||||
| | * | readme: remove stray ’;9~’ sequence | Daniel Eklöf | 2020-08-27 | -1/+1 | |
| | | | |||||
| | * | main: usage: footrc -> foot.ini | Daniel Eklöf | 2020-08-27 | -1/+1 | |
| | | | |||||
| | * | changelog: new configuration file location | Daniel Eklöf | 2020-08-27 | -0/+9 | |
| | | | |||||
| | * | doc: rename footrc.5 to foot.ini.5, and update references | Daniel Eklöf | 2020-08-27 | -12/+17 | |
| | | | |||||
| | * | readme: update references to the configuration file | Daniel Eklöf | 2020-08-27 | -6/+7 | |
| | | | |||||
| | * | footrc: move to foot.ini | Daniel Eklöf | 2020-08-27 | -0/+0 | |
| | | | |||||
| | * | config: prefer loading configuration from $XDG_CONFIG_HOME/foot/foot.ini | Daniel Eklöf | 2020-08-27 | -43/+217 | |
| | | | |||||
| * | | codespell: selection: faild -> failed | Daniel Eklöf | 2020-08-27 | -1/+1 | |
| |/ | |||||
| * | Merge branch 'scrollback-indicator-positioning' into master | Daniel Eklöf | 2020-08-27 | -4/+18 | |
| |\ | | | | | | | Closes #108 | ||||
| | * | render: scrollback indicator: only leave room for search box when necessary | Daniel Eklöf | 2020-08-26 | -1/+5 | |
| | | | |||||
| | * | render: scrollback indicator: subtract visible rows from populated rows | Daniel Eklöf | 2020-08-26 | -1/+1 | |
| | | | | | | | | | | | This prevents the indicator from starting too high up when the number of used scrollback rows is low. | ||||
| | * | render: scrollback position: only count _used_ scrollback lines | Daniel Eklöf | 2020-08-25 | -3/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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). | ||||
| * | | Merge branch 'block-input-events-while-pasting' into master | Daniel Eklöf | 2020-08-27 | -64/+218 | |
| |\ \ | | | | | | | | | | Closes #101 | ||||
| | * | | selection: don't initiate a paste when we're already pasting | Daniel Eklöf | 2020-08-25 | -0/+10 | |
| | | | | |||||
| | * | | selection: must use term_paste_data_to_slave() for paste data | Daniel Eklöf | 2020-08-25 | -1/+1 | |
| | | | | |||||
| | * | | term: enqueue data: cleanup | Daniel Eklöf | 2020-08-25 | -14/+8 | |
| | | | | |||||
| | * | | selection: clipboard callback: assert we're in sending-paste-data mode | Daniel Eklöf | 2020-08-25 | -0/+1 | |
| | | | | |||||
| | * | | changelog: fixed input events from getting mixed with paste data | Daniel Eklöf | 2020-08-25 | -0/+2 | |
| | | | | |||||
| | * | | selection: block non-paste data from being sent to client while pasting | Daniel Eklöf | 2020-08-25 | -51/+131 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While pasting data from the clipboard, block *all* other data from being sent to the client. This includes keyboard and mouse events, but also replies for VT queries. This is particularly important when bracketed paste has been enabled, since then the client will interpret *everything* between the bracketed paste start and end as paste data. | ||||
| | * | | selection: add a 2 second timeout when receiving clipboard data | Daniel Eklöf | 2020-08-25 | -11/+78 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | When reading clipboard data, a malicious clipboard provider could stall us forever, by not sending any data, and not closing the pipe. This commit adds a timer_fd based timeout of 2 seconds. If the timer triggers, we abort the clipboard receive. | ||||
| * | | | Merge branch 'xcalloc-fix' into master | Daniel Eklöf | 2020-08-26 | -4/+3 | |
| |\ \ \ | |||||
| | * | | | xmalloc: fix edge case handling in xcalloc() function | Craig Barnes | 2020-08-25 | -4/+3 | |
| |/ / / | |||||
| * | | | Merge branch 'type-limit-fixes' into master | Daniel Eklöf | 2020-08-25 | -3/+5 | |
| |\ \ \ | |/ / |/| | | |||||
| | * | | fix some buggy comparisons relating to signed/unsigned types | Craig Barnes | 2020-08-25 | -3/+5 | |
| |/ / | |||||
| * | | Merge branch 'pedantic' into master | Daniel Eklöf | 2020-08-25 | -97/+145 | |
| |\ \ | |/ |/| | |||||
| | * | meson/pkgbuild: bump tllist requirement to 1.0.4 | Daniel Eklöf | 2020-08-25 | -2/+2 | |
| | | | | | | | | | This is the first version of tllist that compiles with '-pedantic'. | ||||
| | * | meson: build with -pedantic | Daniel Eklöf | 2020-08-23 | -1/+2 | |
| | | | |||||
| | * | selection: don't do "return function_returning_void()" in functions returning void | Daniel Eklöf | 2020-08-23 | -11/+22 | |
| | | | |||||
| | * | vt: hide pedantic warnings around the VT state machine's switch cases | Daniel Eklöf | 2020-08-23 | -0/+9 | |
| | | | | | | | | | | | | | The switch statements use the GCC extension "case X ... Y", and here it doesn't really make any sense to convert it to "case X: case Y:", so hide the warnings instead. | ||||
| | * | Don't use "case X ... Y:", if possible/where it makes sense | Daniel Eklöf | 2020-08-23 | -7/+25 | |
| | | | |||||
| | * | Cast printf formatter %p arguments to void* | Daniel Eklöf | 2020-08-23 | -23/+31 | |
| | | | |||||
| | * | log: include 'fmt' in __VA_ARGS__ | Daniel Eklöf | 2020-08-23 | -26/+27 | |
| | | | | | | | | | | | This ensures all calls have at least one __VA_ARGS__ argument, thus making them ISO C99 compliant. | ||||
| | * | don't use empty struct initializers | Daniel Eklöf | 2020-08-23 | -27/+27 | |
| | | | |||||
| * | | Merge branch 'message-fix' into master | Daniel Eklöf | 2020-08-23 | -1/+1 | |
| |\ \ | |/ |/| | |||||
| | * | synchronize config-error-message with available field values | Jonas 'cherti' Große Sundrup | 2020-08-23 | -1/+1 | |
| |/ | |||||
| * | config: add user-configured search-binding to the correct binding list | Daniel Eklöf | 2020-08-23 | -2/+2 | |
| | | | | | Search bindings were added to the normal key binding list... | ||||
| * | Merge branch 'colorterm' into master | Daniel Eklöf | 2020-08-23 | -0/+3 | |
| |\ | |||||
| | * | slave: set $COLORTERM environment variable to "truecolor" | Craig Barnes | 2020-08-23 | -0/+3 | |
| |/ | | | | | | | 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. | ||||
| * | Merge branch 'timespec-compare-fix' into master | Daniel Eklöf | 2020-08-23 | -3/+9 | |
| |\ | |||||
| | * | csi: avoid using memcmp() to compare timespec structs | Craig Barnes | 2020-08-23 | -3/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This struct may contain padding bytes, whose values are indeterminate after any store operation[1]. It may also contain unnamed members, whose values are always indeterminate[2]. Using memcmp() isn't a reliable way to compare structs where either of these may be present. [1]: ISO/IEC 9899:1999 §6.2.6.1, paragraph 6 [2]: ISO/IEC 9899:1999 §6.7.8, paragraph 9 See also: * https://wiki.sei.cmu.edu/confluence/display/c/EXP42-C.+Do+not+compare+padding+data * https://sourceware.org/git/?p=glibc.git;a=blob;f=time/bits/types/struct_timespec.h;hb=756c306502498f9 | ||||
| * | | Merge branch 'dont-send-mouse-events-to-client-when-binding-consumed-it' into master | Daniel Eklöf | 2020-08-23 | -36/+62 | |
| |\ \ | |/ |/| | |||||
| | * | input: inhibit mouse events to client when a binding has consumed it | Daniel Eklöf | 2020-08-22 | -36/+62 | |
| | | | | | | | | | | | | | | | | | | | | | 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. | ||||
