Commit graph

4810 commits

Author SHA1 Message Date
feeptr@codeberg.org
650cfa18ef config, render: scrollback indicator: allow configuring scrollback indicator colors 2021-10-09 16:59:52 -04:00
Daniel Eklöf
7704bea876
Merge branch 'use-pixman-renderer' 2021-10-09 12:30:25 +02:00
Daniel Eklöf
227b33ac75
doc: benchmark: 1.9.2 results, laptop 2021-10-09 12:20:11 +02:00
Daniel Eklöf
fbc1770348
doc: benchmark: 1.9.2 results, beefy desktop 2021-10-09 11:33:30 +02:00
Stanislav Ochotnický
85aaff68fb pgo: Use pixman renderer by default for PGO builds
Without pixman renderer override pgo builds in cage/sway require
access to actual render devices. In Gentoo's case the builds are run
as ordinary user and within a "sandbox" which prevents and logs access
outside of predefined places during build.

So let's default to pixman renderer for the PGO builds. Hopefully that
won't matter for the pgo optimizations to do the right thing within foot.
2021-10-08 16:34:36 +02:00
Daniel Eklöf
0be711497d
Merge branch 'fix-0px-csd-crash' 2021-10-08 10:05:52 +02:00
feeptr@codeberg.org
ed42276ee1 changelog: mention csd.size=0 fix 2021-10-08 02:28:01 +00:00
Daniel Eklöf
3d1fa4bcc3
Merge branch 'notify-focus-inhibit' 2021-10-07 19:42:06 +02:00
Daniel Eklöf
459786af0b
Merge branch 'mouse-modifiers-regression'
Closes #736
2021-10-07 19:26:23 +02:00
Mitja Horvat
729f7466ae notify: add the notify-focus-inhibit config option
foot doesn't show desktop notifications (via OSC777) if the current
terminal has keyboard focus.

This is probably a sane default, but there are use cases where showing
a notification regardless of the focus status may be desired. For
example, a completion notification of a long running task inside a
non-focused tmux window.

This PR adds the notify-focus-inhibit option which can be used to
disable inhibition of notifications when the window has focus.

The default value is `yes`, which retains the old behavior.
2021-10-06 23:33:17 +02:00
Daniel Eklöf
dbc01459e7
input: filter out non-significant modifiers when matching mouse bindings
Closes #736
2021-10-06 20:12:17 +02:00
Daniel Eklöf
b1c03861cd
pgo: verify source dir really is a foot source dir before proceeding 2021-10-06 20:10:58 +02:00
feeptr
304aacdb7a fix crashes when resizing after CSD enabled at runtime with csd.size = 0 2021-10-04 18:14:58 -04:00
Daniel Eklöf
8e4d020a41
input: check for ‘effective’ modifiers, not ‘depressed’
When reading XKB modifier state, use XKB_STATE_MODS_EFFECTIVE, not
XKB_STATE_MODS_DEPRESSED.

This fixes handling of ‘sticky’ modifier keys.
2021-10-02 17:33:01 +02:00
Daniel Eklöf
e789628f82
install: improve readability of the PGO LC_CTYPE paragraph 2021-10-02 15:24:48 +02:00
Daniel Eklöf
cb64508968
pkgbuild: mention that “partial” produces a slower binary than “full” 2021-10-02 15:23:11 +02:00
Daniel Eklöf
cc35777c7f
pkgbuild: spelling: procude -> produce 2021-10-02 15:14:11 +02:00
Daniel Eklöf
e49f741383
changelog: add a new ‘unreleased’ section 2021-10-02 14:48:13 +02:00
Daniel Eklöf
284625c8da
Merge branch 'releases/1.9' 2021-10-02 14:47:56 +02:00
Daniel Eklöf
af3f489967
meson/pkgbuild: bump version to 1.9.2 2021-10-02 14:47:14 +02:00
Daniel Eklöf
f6b96b6900
changelog: prepare for 1.9.2 2021-10-02 14:46:42 +02:00
Daniel Eklöf
4cabbb7df7
Merge branch 'master' into releases/1.9 2021-10-02 14:46:21 +02:00
Daniel Eklöf
9389f337d0
pgo: full-inner: do not set LC_CTYPE=en_US.UTF-8
That locale may not exist. Instead, require the user/build script to
explicitly set an UTF-8 locale.

Document this in INSTALL.md, and in the bundled PKGBUILD.
2021-10-02 14:46:02 +02:00
Daniel Eklöf
9b0fb39951
changelog: add a new ‘unreleased’ section 2021-10-01 21:57:57 +02:00
Daniel Eklöf
c8a7b880b9
Merge branch 'releases/1.9' 2021-10-01 21:57:26 +02:00
Daniel Eklöf
c1f18360c2
meson/pkgbuild: bump version to 1.9.1 2021-10-01 20:52:33 +02:00
Daniel Eklöf
041c83549b
changelog: prepare for 1.9.1 2021-10-01 20:52:19 +02:00
Daniel Eklöf
a082fec786
Merge branch 'master' into releases/1.9 2021-10-01 20:50:32 +02:00
Daniel Eklöf
2324f8e649
Merge branch 'hacktober-theme' 2021-10-01 16:48:40 +02:00
Daniel Eklöf
951fa81989
Merge branch 'line-wise-selection-with-soft-line-wrapping'
Closes #726
2021-10-01 16:26:26 +02:00
Daniel Eklöf
548d7be4c6
selection: line-wise selection now handles soft line-wrapping
Previously, soft-wrapped lines were not selected correctly, as the
selection logic was hardcoded to simply select everything between the
first and last column on the current terminal row.

Now, we scan backward and forward, looking for hard-wrapped
lines. This is similar to how word-based selection works.

Closes #726
2021-09-30 13:39:23 +02:00
grtcdr
ed125cbf58
Rename to Hacktober 2021-09-26 20:17:43 +01:00
Daniel Eklöf
df8aea6cb6
Merge branch 'static-color-table' 2021-09-26 13:30:56 +02:00
Craig Barnes
9361e7c072 config: add comments to default_color_table[] about color channel values 2021-09-25 22:01:03 +01:00
Craig Barnes
a669ba0bf6 config: simplify initialization of color table in config_load() 2021-09-25 02:56:19 +01:00
Daniel Eklöf
ebbac83236
Merge branch 'non-dpi-aware-if-any-output-uses-scaling' 2021-09-24 22:08:50 +02:00
Daniel Eklöf
fb77637eb9
term: only scale using DPI if *all* monitors have a scaling factor or one
With dpi-aware=auto (the default), scale fonts using DPI *only*
if *all* available monitors have a scaling factor of one.

The idea is this: if a user, with multiple monitors, have enabled
scaling on *at least* one monitor, he/she has most likely done so to
match the size of his/hers other monitors.

For example, if the user has one monitor with a scaling factor of one,
and another one with a scaling factor of two, he/she expects things to
be twice as large on the second monitor.

If we (foot) scale using DPI on the first monitor, and using the
scaling factor on the second monitor, foot will *not* look twice as
big on the second monitor (this was the old behavior of
dpi-aware=auto).

Part of #714
2021-09-24 22:07:47 +02:00
grtcdr
3693f57780
add hacktoberfest theme 2021-09-22 23:20:29 +01:00
Daniel Eklöf
2934a4e96c
doc: foot.ini: remove stray double quote character 2021-09-22 22:04:30 +02:00
Daniel Eklöf
49d02bb389
readme: avoid having two “see...” right next after each other 2021-09-22 22:01:54 +02:00
Daniel Eklöf
af1a01b252
doc: foot.ini: font: add reference to dpi-aware option 2021-09-22 22:01:35 +02:00
Daniel Eklöf
ab34288e18
doc: foot.ini: mention how dpi-aware interacts with :pixelsize=N 2021-09-22 22:01:17 +02:00
Daniel Eklöf
14e77fec32
doc: foot.ini: mention how dpi-aware interacts with bitmap fonts 2021-09-22 22:00:28 +02:00
Daniel Eklöf
705b5d786c
box-drawing: repair debug logs 2021-09-19 11:49:49 +02:00
Daniel Eklöf
16ddb2e292
Merge branch 'eflag'
Closes #184
Closes #257
Closes #313
Closes #596
Closes #625
Closes #716
2021-09-19 11:26:22 +02:00
Craig Barnes
ef7919e64d main/client: add no-op "-e" command-line option 2021-09-18 23:40:40 +01:00
Craig Barnes
537cd9b367 main/client: replace some uses of printf() with puts() in print_usage()
FOOT_DEFAULT_TERM is a string literal passed as a -D argument to
the compiler, so it can just be concatenated with the other string
literals, instead of being formatted with printf().
2021-09-18 19:44:04 +01:00
Craig Barnes
ed0ef4bb1d log: simplify Boolean logic for setting "colorize" var in log_init() 2021-09-15 16:18:05 +01:00
Daniel Eklöf
f84320b5d6
Merge branch 'braille'
Closes #702
2021-09-14 10:27:06 +02:00
Daniel Eklöf
e426e77b1d
box-drawing: braille: prefer increasing spacing over dot width
Too large dots make them harder to distinguish, when the spacing
between them is small.

Prefer increasing the spacing, instead of increasing the dot
size. This looks better at small font sizes in particular.
2021-09-14 10:20:07 +02:00