Daniel Eklöf
403b6bd323
changelog: move #47 to the correct release
2020-07-28 20:07:53 +02:00
Daniel Eklöf
bbd386b4c0
Merge branch 'diagonal-dpi'
...
Closes #47 .
2020-07-28 20:02:26 +02:00
Daniel Eklöf
295083059c
Merge branch 'master' into diagonal-dpi
2020-07-28 20:01:56 +02:00
Daniel Eklöf
df75880672
changelog: improved font size consistency across monitors with different DPI
2020-07-28 20:00:32 +02:00
Daniel Eklöf
47d9b947f0
config: fix check for scrollback-indicator-format=percentage
2020-07-28 19:57:26 +02:00
Daniel Eklöf
2882fbb537
config: add free-form text variant to 'scrollback-indicator-format'
...
And make the empty string the new default.
2020-07-28 19:56:53 +02:00
Daniel Eklöf
eadb5a4a88
config: handle trailing comments and empty values
2020-07-28 19:55:09 +02:00
Daniel Eklöf
698c9b240f
readme: add link to license
2020-07-28 19:53:32 +02:00
Daniel Eklöf
c3f01bda23
doc: footrc.5: add references to foot.1 and footclient.1
2020-07-27 20:09:40 +02:00
Daniel Eklöf
62c4f1e5b4
doc: rename foot.5 -> footrc.5
2020-07-27 20:09:40 +02:00
Daniel Eklöf
718e5b4a77
config: rename scrollback-indicator-style to scrollback-indicator-position
2020-07-27 20:09:36 +02:00
Daniel Eklöf
aca5a64954
render: scrollback indicator: apply weston sub-surface quirk
2020-07-27 20:00:42 +02:00
Daniel Eklöf
1d3498989b
Merge branch 'scrollback-position-indicator'
...
Closes #42
2020-07-27 19:08:49 +02:00
Daniel Eklöf
9d85913136
changelog: move scrollback indicator entries from 1.4.3 to 'unreleased'
2020-07-27 19:08:28 +02:00
Daniel Eklöf
0c8b44ab67
changelog: add link to issue
2020-07-27 19:07:00 +02:00
Daniel Eklöf
02fef60160
Merge branch 'master' into scrollback-position-indicator
2020-07-27 19:06:02 +02:00
Daniel Eklöf
ddbca7ca55
changelog: add new 'unreleased' section
2020-07-27 19:00:25 +02:00
Daniel Eklöf
198c79439c
Merge branch 'releases/1.4'
2020-07-27 18:59:10 +02:00
Daniel Eklöf
e71108d7c3
meson/pkgbuild: bump version to 1.4.3
2020-07-27 18:55:28 +02:00
Daniel Eklöf
4143f331ff
changelog: prepare for 1.4.3
2020-07-27 18:55:12 +02:00
Daniel Eklöf
a3db31d5cb
Merge branch 'master' into releases/1.4
2020-07-27 18:54:25 +02:00
Daniel Eklöf
5c20069588
Merge branch 'master' into scrollback-position-indicator
2020-07-27 16:51:39 +02:00
Daniel Eklöf
77afd61525
doc: foot.5: modifiers+keys are plural
2020-07-27 16:45:34 +02:00
Daniel Eklöf
7127a0a6c3
selection: extending a selection is now interactive
...
That is, a selection extension can be resized just like an ordinary
extension.
2020-07-27 16:44:41 +02:00
Daniel Eklöf
50bd51c4d4
tokenize: handle escaped quotes
...
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\'"
2020-07-27 16:43:41 +02:00
Daniel Eklöf
3b2492029e
Merge branch 'tokenizer-reset-argv-on-error'
...
Closes #49 .
2020-07-27 16:42:02 +02:00
Daniel Eklöf
faad093627
changelog: mention fix for crash on unclosed quote in tokenizer
2020-07-27 16:41:35 +02:00
Daniel Eklöf
9bc10cdb01
render: scrollback indicator: render relative indicator "smoothly"
...
That is, don't require it to be placed on a grid row.
2020-07-27 16:39:08 +02:00
Daniel Eklöf
a9eeeedc90
tokenize: remove newline from log message (LOG_ERR appends one for us)
2020-07-27 06:04:29 +02:00
Daniel Eklöf
22cd25d360
tokenize: reset *argv = NULL on error
...
This allows the caller to call free() without having to worry about
whether it has already been free:d or not.
Closes #49 .
2020-07-27 06:03:30 +02:00
Daniel Eklöf
ee5c9d714a
changelog: scrollback position indicator
2020-07-26 12:41:32 +02:00
Daniel Eklöf
82d7cfdfe4
Merge branch 'master' into scrollback-position-indicator
2020-07-26 12:40:00 +02:00
Daniel Eklöf
a98484c6eb
render: scrollback indicator: add top margin
2020-07-26 12:37:57 +02:00
Daniel Eklöf
1a65b161dc
input: handle the scrollback indicator surface in pointer events
2020-07-26 12:37:35 +02:00
Daniel Eklöf
76350c568e
term: term_surface_kind(): recognize the scrollback indicator sub-surface
2020-07-26 12:37:12 +02:00
Daniel Eklöf
c1f35731e0
input: margins are not selectable
...
* 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.
2020-07-26 12:37:02 +02:00
Daniel Eklöf
50d116dcb9
config: scrollback-indicator-format: percent -> percentage
2020-07-26 11:39:02 +02:00
Daniel Eklöf
9a9e876d6e
render: scrollback indicator: use black on bright blue
2020-07-26 10:42:38 +02:00
Daniel Eklöf
2e519ed5b6
render: scrollback indicator: implement 'relative' and 'line' variants
...
We now implement all combinations of 'scrollback-indicator-style' and
'scrollback-indicator-format'.
2020-07-26 10:18:05 +02:00
Daniel Eklöf
67758a7cb7
render: scrollback indicator: wip: implement 'fixed:percent' indicator
...
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.
2020-07-26 10:01:26 +02:00
Daniel Eklöf
c2362c10f1
render: search: fix subpixel argument to fcft_glyph_rasterize()
2020-07-26 10:01:05 +02:00
Daniel Eklöf
2815c1c076
wayland: add scrollback indicator surface + sub-surface to wl_window
2020-07-26 10:00:50 +02:00
Daniel Eklöf
a39c490d9b
shm: add shm_cookie_scrollback_indicator()
2020-07-26 10:00:21 +02:00
Daniel Eklöf
d180de00a9
config: fix error message for 'scrollback-indicator-style'
2020-07-26 09:44:16 +02:00
Daniel Eklöf
be7d0a5615
config: fix key check for 'scrollback-indicator-style'
2020-07-26 09:43:58 +02:00
Daniel Eklöf
6e909d5cd3
term: use the monitors diagonal DPI value, instead of it's vertical PPI value
2020-07-26 07:45:55 +02:00
Daniel Eklöf
b08db1ef97
term: store current font DPI as a float instead of an integer
...
FontConfig's DPI is a double, and using a float instead of an integer
results in higher resolution.
2020-07-26 07:45:03 +02:00
Daniel Eklöf
e955a14dd0
wayland: calculate a single, scaled DPI value
...
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'.
2020-07-26 07:41:57 +02:00
Daniel Eklöf
9edd71a741
config: rename scrollback-indicator-style value 'static' to 'fixed'
2020-07-25 14:40:46 +02:00
Daniel Eklöf
e3be2cbd6f
config: rename scrollback-indicator-style value 'moving' to 'relative'
2020-07-25 14:38:36 +02:00