Daniel Eklöf
d263cb9723
install: say _why_ ncurses and scdoc is needed
2020-09-24 17:33:44 +02:00
Daniel Eklöf
a683a13120
Revert "meson: add -Dwith-docs=disabled|enabled|auto"
...
This reverts commit 9d6b2c9342 .
2020-09-24 16:44:26 +02:00
Daniel Eklöf
e3eb58d483
Merge branch 'make-doc-generation-optional' into master
2020-09-24 16:40:44 +02:00
Daniel Eklöf
9d6b2c9342
meson: add -Dwith-docs=disabled|enabled|auto
...
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’.
2020-09-24 16:39:19 +02:00
Daniel Eklöf
f8174ebb93
changelog: add new ‘unreleased’ section
2020-09-18 21:29:39 +02:00
Daniel Eklöf
43fc1af36c
Merge branch 'releases/1.5' into master
2020-09-18 21:29:10 +02:00
Daniel Eklöf
bfe3dfaf5c
meson/pkgbuild: bump version to 1.5.0
2020-09-18 21:23:27 +02:00
Daniel Eklöf
377a721b08
changelog: prepare for 1.5.0
2020-09-18 21:22:59 +02:00
Daniel Eklöf
70cf0966a5
changelog: add cherti to contributors
2020-09-18 21:22:27 +02:00
Daniel Eklöf
c244ff522e
Revert "changelog: add cherti to contributors"
...
This reverts commit 8f3692f9a6 .
2020-09-18 21:22:10 +02:00
Daniel Eklöf
8f3692f9a6
changelog: add cherti to contributors
2020-09-18 21:20:12 +02:00
Daniel Eklöf
8dd358a8f4
meson/pkgbuild: bump fcft requirement to 2.3.0
2020-09-18 21:03:40 +02:00
Daniel Eklöf
fcb2beebda
selection: reset clipboard/primary->text after free:ing it
2020-09-17 20:05:22 +02:00
Daniel Eklöf
dd18710bb7
selection: primary unset: don’t free text twice
2020-09-17 20:02:38 +02:00
Daniel Eklöf
2e7102c956
render: fix rounding errors when setting initial window size and scale != 1
...
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.
2020-09-17 17:37:58 +02:00
Daniel Eklöf
185a6048a7
ci: fix path to junit report on release builds
2020-09-16 19:41:53 +02:00
Daniel Eklöf
0f0fec093e
ci: install fonts, needed for fcft tests
2020-09-16 19:38:50 +02:00
Daniel Eklöf
bcbf9872ec
ci: need the ‘dev’ version of ‘check’ on alpine
2020-09-16 19:29:46 +02:00
Daniel Eklöf
187b913050
ci: install ‘check’ - this enables fcft tests
2020-09-16 19:27:20 +02:00
Daniel Eklöf
0f7e9bc78a
ci: repair ninja test target
2020-09-16 19:19:51 +02:00
Daniel Eklöf
cf04e93e4b
ci: upload junit XML reports
2020-09-16 19:18:07 +02:00
Daniel Eklöf
6b20533b62
ci: explicitly enable harfbuzz in fcft
2020-09-16 19:13:22 +02:00
Daniel Eklöf
1347609c7c
ci: enable fcft’s text-shaping tests
2020-09-16 19:09:07 +02:00
Daniel Eklöf
2593459b55
Merge branch 'configurable-alternate-scroll-mode' into master
...
Closes #135
2020-09-16 08:05:56 +02:00
Daniel Eklöf
f30d7cce27
doc: foot.ini: alternate-scroll-mode: fix highlighting of CSI escape
2020-09-16 08:05:38 +02:00
Daniel Eklöf
3e9186a042
changelog: mouse events -> mouse scroll events
2020-09-15 19:29:38 +02:00
Daniel Eklöf
f2497320c6
config: add mouse.alternate-scroll-mode option
...
This option controls the initial state of the Alternate Scroll Mode,
and defaults to ‘enabled’.
2020-09-15 19:12:29 +02:00
Daniel Eklöf
04c1bab7b0
input: mouse_scroll(): refactor
2020-09-15 18:57:00 +02:00
Daniel Eklöf
cb41db8596
input: don’t use stale keycodes for arrow-up/down
...
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).
2020-09-15 18:44:54 +02:00
Daniel Eklöf
028bbd03a3
input: don’t do alternate mode scrolling if application is grabbing mouse
2020-09-15 18:40:51 +02:00
Daniel Eklöf
6ad90e6323
input: don’t do grid scrollback if mouse events are being captured
2020-09-15 18:33:58 +02:00
Daniel Eklöf
0bba1edb9c
meson/pkgbuild: require fcft-2.2.90
2020-09-15 08:03:52 +02:00
Daniel Eklöf
fdfdbba9a0
render: best-effort attempt to set initial window size in chars when scale != 1
...
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.
2020-09-14 17:36:56 +02:00
Daniel Eklöf
51a7e44fa2
config: add tweak.scaling-filter
...
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.
2020-09-13 17:59:56 +02:00
Daniel Eklöf
6a9725c7a6
config: log warning when new boolean tweak options have been enabled
2020-09-12 19:52:52 +02:00
Daniel Eklöf
2d4a59ab99
Merge branch 'scroll-half-page' into master
...
Closes #128
2020-09-11 18:22:09 +02:00
Daniel Eklöf
4d13429235
key-binding: deprecate scrollback-up/down, add scrollback-up/down-line
...
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.
2020-09-10 18:17:47 +02:00
Daniel Eklöf
c0156ed1e0
Merge branch 'hide-csd-buttons-when-title-bar-gets-too-small' into master
2020-09-10 07:38:03 +02:00
Daniel Eklöf
3a308cc870
render: csd: hide buttons when title bar gets too small to fit them
2020-09-10 07:37:54 +02:00
Daniel Eklöf
c841ab1ee1
Merge branch 'cursor-outside-visible-area-on-reflow' into master
2020-09-10 07:37:21 +02:00
Daniel Eklöf
a1ab31eea5
grid: reflow: make sure cursor is within the visible screen area
...
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.
2020-09-10 07:37:08 +02:00
Daniel Eklöf
fc510d423b
Merge branch 'osc52-clear-selection-on-invalid-payload' into master
2020-09-10 07:36:19 +02:00
Daniel Eklöf
2e3bd5e23c
config: add scrollback-{up,down}-half key bindings
...
These new bindings scroll up/down half a page in the
scrollback (instead of the full page scrolled by
‘scrollback-{up,down}’).
Closes #128 .
2020-09-09 19:40:48 +02:00
Daniel Eklöf
a132e6cf84
config: spelling: mosue -> mouse
2020-09-09 19:04:24 +02:00
Daniel Eklöf
419bd87098
osc52: use first source that actually *has* data
2020-09-09 19:01:42 +02:00
Daniel Eklöf
776b831d89
osc52: unset (clear) selection when an invalid payload is received
2020-09-09 19:01:39 +02:00
Daniel Eklöf
dec6f963cb
selection: add selection_<type>_has_data()
...
Returns true when there is data available for paste in the
clipboard/primary selection.
2020-09-09 19:01:21 +02:00
Daniel Eklöf
c3cacb4704
selection: add selection_<type>_unset()
...
These functions clear the current selection.
2020-09-09 19:01:21 +02:00
Daniel Eklöf
99023cae99
Merge branch 'window-size-in-characters' into master
2020-09-09 19:00:30 +02:00
Daniel Eklöf
da091fb9d3
Merge branch 'keymap-shift-return' into master
2020-09-09 19:00:13 +02:00