summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Eklöf2020-12-18 16:15:03 +0100
committerDaniel Eklöf2020-12-18 16:15:03 +0100
commitd2363f52fc9822ee065c34ecc9963585da71b42c (patch)
tree8668755fa9d97438c148ad2e155355546bfc8a14
parent67c286b05bc97f0143eedea4dd678306a6459bb5 (diff)
downloadaur-d2363f52fc9822ee065c34ecc9963585da71b42c.tar.gz
Update to 1.6.0
* Update foot from 1.5.4 -> 1.6.0 * Depend on fcft package instead of pulling it in as a sub-project
-rw-r--r--.SRCINFO14
-rw-r--r--CHANGELOG.md139
-rw-r--r--PKGBUILD20
3 files changed, 152 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e471a4fcf2c..98dece3096e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = foot
- pkgver = 1.5.4
- pkgrel = 3
+ pkgver = 1.6.0
+ pkgrel = 1
url = https://codeberg.org/dnkl/foot
arch = x86_64
arch = aarch64
@@ -16,13 +16,11 @@ pkgbase = foot
depends = wayland
depends = pixman
depends = fontconfig
- depends = freetype2
- source = https://codeberg.org/dnkl/foot/archive/1.5.4.tar.gz
+ depends = fcft
+ source = https://codeberg.org/dnkl/foot/archive/1.6.0.tar.gz
source = https://codeberg.org/dnkl/tllist/archive/1.0.4.tar.gz
- source = https://codeberg.org/dnkl/fcft/archive/2.3.2.tar.gz
- sha256sums = e03b2255c5bb2df3ca456fb28a31b48e2cac42b0c6a3df9b0154202ab3aecad5
+ sha256sums = 7ae523bf9882c0e5d56e2afdf6e25f5f77cffcc78ba1f316ffda3f36e2570b4a
sha256sums = a135934d4955902d67f75f3c542ace3bfb7be3be9c44796852e76ea9e1d82b33
- sha256sums = 726fdebb1d29bc40c665015666fd9037981c0b4d0ba3ecafa1994053091e7fa8
pkgname = foot
pkgdesc = Wayland terminal emulator - fast, lightweight and minimalistic
@@ -31,7 +29,7 @@ pkgname = foot
depends = wayland
depends = pixman
depends = fontconfig
- depends = freetype2
+ depends = fcft
depends = foot-terminfo
pkgname = foot-terminfo
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 20e0ad97605..85b86d6ed88 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,6 @@
# Changelog
+* [1.6.0](#1.6.0)
* [1.5.4](#1-5-4)
* [1.5.3](#1-5-3)
* [1.5.2](#1-5-2)
@@ -17,10 +18,147 @@
* [1.2.0](#1-2-0)
+## 1.6.0
+
+### For packagers
+
+Starting with this release, foot can be PGO:d (compiled using profile
+guided optimizations) **without** a running Wayland session. This
+means foot can be PGO:d in e.g. sandboxed build scripts. See
+[INSTALL.md](INSTALL.md#user-content-performance-optimized-pgo).
+
+
+### Added
+
+* IME support. This is compile-time optional, see
+ [INSTALL.md](INSTALL.md#user-content-options)
+ (https://codeberg.org/dnkl/foot/issues/134).
+* `DECSET` escape to enable/disable IME: `CSI ? 737769 h` enables IME
+ and `CSI ? 737769 l` disables it. This can be used to
+ e.g. enable/disable IME when entering/leaving insert mode in vim.
+* `dpi-aware` option to `foot.ini`. The default, `auto`, sizes fonts
+ using the monitor’s DPI when output scaling has been
+ **disabled**. If output scaling has been **enabled**, fonts are
+ sized using the scaling factor. DPI-only font sizing can be forced
+ by setting `dpi-aware=yes`. Setting `dpi-aware=no` forces font
+ sizing to be based on the scaling factor.
+ (https://codeberg.org/dnkl/foot/issues/206).
+* Implement reverse auto-wrap (_auto\_left\_margin_, _bw_, in
+ terminfo). This mode can be enabled/disabled with `CSI ? 45 h` and
+ `CSI ? 45 l`. It is **enabled** by default
+ (https://codeberg.org/dnkl/foot/issues/150).
+* `bell` option to `foot.ini`. Can be set to `set-urgency` to make
+ foot render the margins in red when receiving `BEL` while **not**
+ having keyboard focus. Applications can dynamically enable/disable
+ this with the `CSI ? 1042 h` and `CSI ? 1042 l` escape
+ sequences. Note that Wayland does **not** implement an _urgency_
+ hint like X11, but that there is a
+ [proposal](https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/9)
+ to add support for this. The value `set-urgency` was chosen for
+ forward-compatibility, in the hopes that this proposal eventualizes
+ (https://codeberg.org/dnkl/foot/issues/157).
+* `bell` option can also be set to `notify`, in which case a desktop
+ notification is emitted when foot receives `BEL` in an unfocused
+ window.
+* `word-delimiters` option to `foot.ini`
+ (https://codeberg.org/dnkl/foot/issues/156).
+* `csd.preferred` can now be set to `none` to disable window
+ decorations. Note that some compositors will render SSDs despite
+ this option being used (https://codeberg.org/dnkl/foot/issues/163).
+* Terminal content is now auto-scrolled when moving the mouse above or
+ below the window while selecting
+ (https://codeberg.org/dnkl/foot/issues/149).
+* `font-bold`, `font-italic` `font-bold-italic` options to
+ `foot.ini`. These options allow custom bold/italic fonts. They are
+ unset by default, meaning the bold/italic version of the regular
+ font is used (https://codeberg.org/dnkl/foot/issues/169).
+* Drag & drop support; text, files and URLs can now be dropped in a
+ foot terminal window (https://codeberg.org/dnkl/foot/issues/175).
+* `clipboard-paste` and `primary-paste` scrollback search bindings. By
+ default, they are bound to `ctrl+v ctrl+y` and `shift+insert`
+ respectively, and lets you paste from the clipboard or primary
+ selection into the search buffer.
+* Support for `pipe-*` actions in mouse bindings. It was previously
+ not possible to add a command to these actions when used in mouse
+ bindings, making them useless
+ (https://codeberg.org/dnkl/foot/issues/183).
+* `bold-text-in-bright` option to `foot.ini`. When enabled, bold text
+ is rendered in a brighter color
+ (https://codeberg.org/dnkl/foot/issues/199).
+* `-w,--window-size-pixels` and `-W,--window-size-chars` command line
+ options to `footclient` (https://codeberg.org/dnkl/foot/issues/189).
+* Short command line options for `--title`, `--maximized`,
+ `--fullscreen`, `--login-shell`, `--hold` and `--check-config`.
+* `DECSET` escape to modify the `escape` key to send `\E[27;1;27~`
+ instead of `\E`: `CSI ? 27127 h` enables the new behavior, `CSI ?
+ 27127 l` disables it (the default).
+* OSC 777;notify: desktop notifications. Use in combination with the
+ new `notify` option in `foot.ini`
+ (https://codeberg.org/dnkl/foot/issues/224).
+* Status line terminfo capabilities `hs`, `tsl`, `fsl` and `dsl`. This
+ enables e.g. vim to set the window title
+ (https://codeberg.org/dnkl/foot/issues/242).
+
+
+### Changed
+
+* Blinking text now uses the foreground color, but dimmed down in its
+ off state, instead of the background color.
+* Sixel default maximum size is now 10000x10000 instead of the current
+ window size.
+* Graphical glitches/flashes when resizing the window while running a
+ fullscreen application, i.e. the 'alt' screen
+ (https://codeberg.org/dnkl/foot/issues/221).
+* Cursor will now blink if **either** `CSI ? 12 h` or `CSI Ps SP q`
+ has been used to enable blinking. **cursor.blink** in `foot.ini`
+ controls the default state of `CSI Ps SP q`
+ (https://codeberg.org/dnkl/foot/issues/218).
+* The sub-parameter versions of the SGR RGB color escapes (e.g
+ `\E[38:2...m`) can now be used _without_ the color space ID
+ parameter.
+* SGR 21 no longer disables **bold**. According to ECMA-48, SGR 21 is
+ _”double underline_”. Foot does not (yet) implement that, but that’s
+ no reason to implement a non-standard behavior.
+* `DECRQM` now returns actual state of the requested mode, instead of
+ always returning `2`.
+
+
+### Removed
+
+* Support for loading configuration from `$XDG_CONFIG_HOME/footrc`.
+* `scrollback` option from `foot.ini`.
+* `geometry` from `foot.ini`.
+* Key binding action `scrollback-up` and `scrollback-down`.
+
+
+### Fixed
+
+* Error when re-assigning a default key binding
+ (https://codeberg.org/dnkl/foot/issues/233).
+* `\E[s`+`\E[u` (save/restore cursor) now saves and restores
+ attributes and charset configuration, just like `\E7`+`\E8`.
+* Report mouse motion events to the client application also while
+ dragging the cursor outside the grid.
+* Parsing of the sub-parameter versions of indexed SGR color escapes
+ (e.g. `\E[38:5...m`)
+* Frames occasionally being rendered while application synchronized
+ updates is in effect.
+* Handling of failures to parse the font specification string.
+* Extra private/intermediate characters in escape sequences not being
+ ignored.
+
+
+### Contributors
+
+* [kennylevinsen](https://codeberg.org/kennylevinsen)
+* [craigbarnes](https://codeberg.org/craigbarnes)
+
+
## 1.5.4
### Changed
+
* Num Lock by default overrides the keypad mode. See
**foot.ini**(5)::KEYPAD, or
[README.md](README.md#user-content-keypad) for details
@@ -30,7 +168,6 @@
**tweak.allow-overflowing-double-width-glyphs** to ‘no’ to disable
this.
-
### Fixed
* Resize very slow when window is hidden
diff --git a/PKGBUILD b/PKGBUILD
index c1043b5f9da..c86958eef73 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,17 @@
# Maintainer: Daniel Eklöf <daniel at ekloef dot se>
pkgname=('foot' 'foot-terminfo')
-pkgver=1.5.4 # Don’t forget to update CHANGELOG.md
-pkgrel=3
+pkgver=1.6.0 # Don’t forget to update CHANGELOG.md
+pkgrel=1
arch=('x86_64' 'aarch64')
url=https://codeberg.org/dnkl/foot
license=(mit)
-depends=('libxkbcommon' 'wayland' 'pixman' 'fontconfig' 'freetype2')
+depends=('libxkbcommon' 'wayland' 'pixman' 'fontconfig' 'fcft')
makedepends=('meson' 'ninja' 'scdoc' 'python' 'ncurses' 'wayland-protocols')
checkdepends=('check')
-source=(https://codeberg.org/dnkl/foot/archive/1.5.4.tar.gz
- https://codeberg.org/dnkl/tllist/archive/1.0.4.tar.gz
- https://codeberg.org/dnkl/fcft/archive/2.3.2.tar.gz)
-sha256sums=('e03b2255c5bb2df3ca456fb28a31b48e2cac42b0c6a3df9b0154202ab3aecad5'
- 'a135934d4955902d67f75f3c542ace3bfb7be3be9c44796852e76ea9e1d82b33'
- '726fdebb1d29bc40c665015666fd9037981c0b4d0ba3ecafa1994053091e7fa8')
+source=(https://codeberg.org/dnkl/foot/archive/${pkgver}.tar.gz
+ https://codeberg.org/dnkl/tllist/archive/1.0.4.tar.gz)
+sha256sums=('7ae523bf9882c0e5d56e2afdf6e25f5f77cffcc78ba1f316ffda3f36e2570b4a'
+ 'a135934d4955902d67f75f3c542ace3bfb7be3be9c44796852e76ea9e1d82b33')
build() {
cd foot
@@ -21,15 +19,13 @@ build() {
mkdir -p subprojects
pushd subprojects
ln -sf ../../tllist .
- ln -sf ../../fcft .
popd
# makepkg uses -O2 by default, but we *really* want -O3
# -Wno-missing-profile since we're not exercising everything when doing PGO builds
export CFLAGS+=" -O3 -Wno-missing-profile"
- # TODO: add -Dfcft:test-text-shaping=false
- meson --prefix=/usr --buildtype=release --wrap-mode=forcefallback -Db_lto=true -Dfcft:text-shaping=disabled -Dfcft:test-text-shaping=false . build
+ meson --prefix=/usr --buildtype=release -Db_lto=true . build
if [[ -v WAYLAND_DISPLAY ]]; then
meson configure -Db_pgo=generate build