aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
...
* main: add --check-config command line optionDaniel Eklöf2020-07-29-1/+19
|
* config: add scrollback sectionDaniel Eklöf2020-07-29-17/+53
| | | | | | | | | * 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.
* doc: footrc.5: add 'uniq | tac' to the pipe-visible exampleDaniel Eklöf2020-07-29-1/+2
|
* search/config: configurable key bindings for (scrollback) search modeDaniel Eklöf2020-07-29-9/+213
|
* render: make compiler happy; make sure 'cell_count' has been initializedDaniel Eklöf2020-07-29-1/+1
| | | | | | | | | Compiler, in release builds, complains about 'cell_count' "may be used uninitialized". This isn't true, as it is initialized in every possible switch case below. But, make the compiler happy and zero-initialize it before the switch statement.
* changelog: scrollback indicator is a *new* feataureDaniel Eklöf2020-07-29-4/+8
|
* Merge branch 'releases/1.4' into masterDaniel Eklöf2020-07-29-9/+15
|\
| * meson/pkgbuild: update version to 1.4.41.4.4releases/1.4Daniel Eklöf2020-07-29-2/+2
| |
| * 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-16/+33
| |
| * changelog: improved font size consistency across monitors with different DPIDaniel Eklöf2020-07-29-0/+2
| |
| * term: use the monitors diagonal DPI value, instead of it's vertical PPI valueDaniel Eklöf2020-07-29-3/+3
| |
| * term: store current font DPI as a float instead of an integerDaniel Eklöf2020-07-29-12/+12
| | | | | | | | | | FontConfig's DPI is a double, and using a float instead of an integer results in higher resolution.
| * wayland: calculate a single, scaled DPI valueDaniel Eklöf2020-07-29-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | Previously, we calculated the monitors horizontal and vertical PPI values. For font sizing, we used the vertical PPI value. It seems however, that using the diagonal PPI value, i.e. diagonal_px / diagonal_inch, gives more consistent results. This is still a PPI value, but since it is intended to be used as a FontConfig DPI value, name it 'dpi'.
| * input: margins are not selectableDaniel Eklöf2020-07-29-17/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| |
* | readme: license: write out "MIT license"Daniel Eklöf2020-07-28-1/+1
| |
* | readme: move 'requirements' into INSTALL.mdDaniel Eklöf2020-07-28-42/+42
| |
* | readme: now that the install section is so short, move it upDaniel Eklöf2020-07-28-6/+7
| |
* | readme: move installation instructions to INSTALL.mdDaniel Eklöf2020-07-28-188/+196
| |
* | changelog: move #47 to the correct releaseDaniel Eklöf2020-07-28-2/+2
| |
* | Merge branch 'diagonal-dpi'Daniel Eklöf2020-07-28-17/+30
|\ \ | | | | | | | | | Closes #47.
| * \ Merge branch 'master' into diagonal-dpiDaniel Eklöf2020-07-28-68/+423
| |\ \ | |/ / |/| |
* | | config: fix check for scrollback-indicator-format=percentageDaniel Eklöf2020-07-28-1/+1
| | |
* | | config: add free-form text variant to 'scrollback-indicator-format'Daniel Eklöf2020-07-28-12/+31
| | | | | | | | | | | | And make the empty string the new default.
* | | config: handle trailing comments and empty valuesDaniel Eklöf2020-07-28-16/+33
| | |
* | | readme: add link to licenseDaniel Eklöf2020-07-28-0/+7
| | |
* | | doc: footrc.5: add references to foot.1 and footclient.1Daniel Eklöf2020-07-27-0/+4
| | |
* | | doc: rename foot.5 -> footrc.5Daniel Eklöf2020-07-27-9/+11
| | |
* | | config: rename scrollback-indicator-style to scrollback-indicator-positionDaniel Eklöf2020-07-27-19/+19
| | |
* | | render: scrollback indicator: apply weston sub-surface quirkDaniel Eklöf2020-07-27-0/+2
| | |
* | | Merge branch 'scrollback-position-indicator'Daniel Eklöf2020-07-27-24/+302
|\ \ \ | | | | | | | | | | | | Closes #42
| * | | changelog: move scrollback indicator entries from 1.4.3 to 'unreleased'Daniel Eklöf2020-07-27-7/+14
| | | |
| * | | changelog: add link to issueDaniel Eklöf2020-07-27-1/+2
| | | |
| * | | Merge branch 'master' into scrollback-position-indicatorDaniel Eklöf2020-07-27-6/+13
| |\ \ \ | |/ / / |/| | |
* | | | changelog: add new 'unreleased' sectionDaniel Eklöf2020-07-27-0/+10
| | | |
* | | | Merge branch 'releases/1.4'Daniel Eklöf2020-07-27-8/+5
|\ \ \ \ | | |_|/ | |/| |
| * | | meson/pkgbuild: bump version to 1.4.31.4.3Daniel Eklöf2020-07-27-2/+2
| | | |
| * | | changelog: prepare for 1.4.3Daniel Eklöf2020-07-27-6/+3
| | | |
| * | | Merge branch 'master' into releases/1.4Daniel Eklöf2020-07-27-84/+240
| |\ \ \ | |/ / / |/| | |
| | * | Merge branch 'master' into scrollback-position-indicatorDaniel Eklöf2020-07-27-13/+32
| | |\ \ | |_|/ / |/| | |
* | | | doc: foot.5: modifiers+keys are pluralDaniel Eklöf2020-07-27-1/+1
| | | |
* | | | selection: extending a selection is now interactiveDaniel Eklöf2020-07-27-10/+12
| | | | | | | | | | | | | | | | | | | | That is, a selection extension can be resized just like an ordinary extension.
* | | | tokenize: handle escaped quotesDaniel Eklöf2020-07-27-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We only support escaping quotes inside a quote, and only of the same type as the enclosing quote. I.e. "double quote \"escaped double quote\"" But not "double quote \'invalid escaped single quote\'"
* | | | Merge branch 'tokenizer-reset-argv-on-error'Daniel Eklöf2020-07-27-1/+5
|\ \ \ \ | | | | | | | | | | | | | | | Closes #49.
| * | | | changelog: mention fix for crash on unclosed quote in tokenizerDaniel Eklöf2020-07-27-0/+3
| | | | |
| * | | | tokenize: remove newline from log message (LOG_ERR appends one for us)Daniel Eklöf2020-07-27-1/+1
| | | | |
| * | | | tokenize: reset *argv = NULL on errorDaniel Eklöf2020-07-27-0/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | This allows the caller to call free() without having to worry about whether it has already been free:d or not. Closes #49.
| | * | render: scrollback indicator: render relative indicator "smoothly"Daniel Eklöf2020-07-27-7/+7
| | | | | | | | | | | | | | | | That is, don't require it to be placed on a grid row.
| | * | changelog: scrollback position indicatorDaniel Eklöf2020-07-26-0/+3
| | | |
| | * | Merge branch 'master' into scrollback-position-indicatorDaniel Eklöf2020-07-26-88/+114
| | |\ \ | |_|/ / |/| | |
| | * | render: scrollback indicator: add top marginDaniel Eklöf2020-07-26-4/+4
| | | |
| | * | input: handle the scrollback indicator surface in pointer eventsDaniel Eklöf2020-07-26-0/+4
| | | |
| | * | term: term_surface_kind(): recognize the scrollback indicator sub-surfaceDaniel Eklöf2020-07-26-0/+3
| | | |
| | * | input: margins are not selectableDaniel Eklöf2020-07-26-17/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| | * | config: scrollback-indicator-format: percent -> percentageDaniel Eklöf2020-07-26-11/+13
| | | |
| | * | render: scrollback indicator: use black on bright blueDaniel Eklöf2020-07-26-2/+2
| | | |
| | * | render: scrollback indicator: implement 'relative' and 'line' variantsDaniel Eklöf2020-07-26-9/+41
| | | | | | | | | | | | | | | | | | | | We now implement all combinations of 'scrollback-indicator-style' and 'scrollback-indicator-format'.
| | * | render: scrollback indicator: wip: implement 'fixed:percent' indicatorDaniel Eklöf2020-07-26-10/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When scrollback indicator has been enabled, and the viewport isn't at the bottom, we now render a *static* indicator with the position in percent. We use the color scheme's blue color as background, and it's white color as foreground. This is subject to change... Should maybe be configurable as well. The Wayland surface + sub-surface are instantiated on-demand, and automatically destroyed when no longer used.
| | * | render: search: fix subpixel argument to fcft_glyph_rasterize()Daniel Eklöf2020-07-26-1/+1
| | | |
| | * | wayland: add scrollback indicator surface + sub-surface to wl_windowDaniel Eklöf2020-07-26-0/+12
| | | |
| | * | shm: add shm_cookie_scrollback_indicator()Daniel Eklöf2020-07-26-1/+2
| | | |
| | * | config: fix error message for 'scrollback-indicator-style'Daniel Eklöf2020-07-26-1/+1
| | | |
| | * | config: fix key check for 'scrollback-indicator-style'Daniel Eklöf2020-07-26-1/+1
| | | |
| | * | config: rename scrollback-indicator-style value 'static' to 'fixed'Daniel Eklöf2020-07-25-6/+6
| | | |
| | * | config: rename scrollback-indicator-style value 'moving' to 'relative'Daniel Eklöf2020-07-25-7/+7
| | | |
| | * | config: rename scrollback-indicator to scrollback-indicator-styleDaniel Eklöf2020-07-25-20/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And turn it from a boolean to an enum. It can be set to: * `none` - disables the indicator * `static` - always rendered near the top of the window * `moving` - position reflects the scrollback position
| | * | config: add 'scrollback-indicator-format' optionDaniel Eklöf2020-07-24-0/+20
| | | | | | | | | | | | | | | | | | | | The value of this option must be either 'percent', or 'line', and determines _how_ we render the scrollback indicator.
| | * | config: rename show-scrollback-position to scrollback-indicatorDaniel Eklöf2020-07-24-6/+6
| | | |
| | * | config: add 'show-scrollback-position' option to footrcDaniel Eklöf2020-07-24-2/+9
| | | |
| | * | render: add code that calculates current position in scrollbackDaniel Eklöf2020-07-24-0/+46
| | | |
| | | * changelog: improved font size consistency across monitors with different DPIDaniel Eklöf2020-07-28-0/+2
| | | |
| | | * term: use the monitors diagonal DPI value, instead of it's vertical PPI valueDaniel Eklöf2020-07-26-3/+3
| | | |
| | | * term: store current font DPI as a float instead of an integerDaniel Eklöf2020-07-26-12/+12
| | | | | | | | | | | | | | | | | | | | FontConfig's DPI is a double, and using a float instead of an integer results in higher resolution.
| | | * wayland: calculate a single, scaled DPI valueDaniel Eklöf2020-07-26-2/+13
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, we calculated the monitors horizontal and vertical PPI values. For font sizing, we used the vertical PPI value. It seems however, that using the diagonal PPI value, i.e. diagonal_px / diagonal_inch, gives more consistent results. This is still a PPI value, but since it is intended to be used as a FontConfig DPI value, name it 'dpi'.
* | | doc: benchmark: update 'laptop' results after foot-1.4.0Daniel Eklöf2020-07-25-8/+8
| | |
* | | changelog: add 'contributors' sectionDaniel Eklöf2020-07-25-0/+4
| | |
* | | doc: benchmarks: update 'desktop' results after foot-1.4.0 releaseDaniel Eklöf2020-07-25-7/+7
| | |
* | | Merge branch 'manpage'Daniel Eklöf2020-07-25-1/+1
|\ \ \
| * | | Correct the location of footrc in manpageJonas 'cherti' Große Sundrup2020-07-25-1/+1
| | | |
* | | | Merge branch 'footrc'Daniel Eklöf2020-07-25-16/+16
|\ \ \ \
| * | | | Add inline color-number-mapping as commentJonas 'cherti' Große Sundrup2020-07-25-16/+16
| |/ / /
* / / / Add configuration instructions to the READMEJonas 'cherti' Große Sundrup2020-07-25-1/+9
|/ / /
* | | search: fix crash when searching the scrollback historyDaniel Eklöf2020-07-25-48/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | search_update_selection() was changed in 1.4.x to *first* update the selection, *then* move the viewport. This leads to a crash if the new match (selection) is outside the current viewport; the selection code assumes the updated selection endpoint is in the visible viewport. Changing back to *first* move the viewport, *then* update the selection solves this.
* | | readme: spelling fixesDaniel Eklöf2020-07-25-2/+2
| | |
* | | Merge branch 'birger-patch-1'Daniel Eklöf2020-07-25-3/+3
|\ \ \
| * | | Fix typobirger2020-07-25-1/+1
| | | |
| * | | Fix typosbirger2020-07-25-2/+2
|/ / /
* | | pkgbuild: include changelogDaniel Eklöf2020-07-25-0/+1
| | |
* | | meson: install LICENSE, README.md and CHANGELOG.mdDaniel Eklöf2020-07-25-1/+9
| | |
* | | license: fix bad copy-paste: first commit was in 2019Daniel Eklöf2020-07-25-1/+1
| |/ |/|
* | readme: add section describing how to identify footDaniel Eklöf2020-07-24-0/+39
| |
* | search: improve viewport movementsDaniel Eklöf2020-07-24-32/+52
| | | | | | | | | | | | * Don't move the viewport if the new match is already fully visible * When we do have to move the viewport, position it such that the new match ends up roughly in the middle.
* | csi: secondary DA: do not pretend we're xtermDaniel Eklöf2020-07-24-3/+31
| | | | | | | | | | | | | | | | | | | | | | Previously, our secondary DA response indicated a) VT420, b) an XTerm version number. Now, we indicate VT220 (which corresponds to the primary DA response), and we report foot's version number as MMmmpp. I.e major, minor and patch versions, using two digits. E.g. 1.4.2 is encoded as 010402
* | csi: primary DA: remove features we do not supportDaniel Eklöf2020-07-24-1/+13
| | | | | | | | | | | | | | | | We do not implement * Selective Erase * Technical Character Set * Terminal state interrogation
* | changelog: add new 'unreleased' sectionDaniel Eklöf2020-07-23-0/+9
| |
* | Merge branch 'releases/1.4'Daniel Eklöf2020-07-23-10/+5
|\|
| * meson/pkgbuild: bump to 1.4.21.4.2Daniel Eklöf2020-07-23-2/+2
| |
| * changelog: prepare for 1.4.2Daniel Eklöf2020-07-23-8/+3
| |
| * Merge branch 'master' into releases/1.4Daniel Eklöf2020-07-23-8/+31
| |\ | |/ |/|