mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-02 07:15:31 -04:00
Compare commits
13 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
037a2f4fa2 | ||
|
|
2fb7bb0ea4 | ||
|
|
5708a63c9a | ||
|
|
ef15414b30 | ||
|
|
370adaf697 | ||
|
|
6f1157395b | ||
|
|
eed2d668ec | ||
|
|
657db18a4e | ||
|
|
4fd682b4e8 | ||
|
|
f49fdf7ca3 | ||
|
|
c05bd55029 | ||
|
|
ebacb14be8 | ||
|
|
bee76db20c |
7 changed files with 53 additions and 7 deletions
38
CHANGELOG.md
38
CHANGELOG.md
|
|
@ -1,5 +1,7 @@
|
|||
# Changelog
|
||||
|
||||
* [Unreleased](#unreleased)
|
||||
* [1.26.1](#1-26-1)
|
||||
* [1.26.0](#1-26-0)
|
||||
* [1.25.0](#1-25-0)
|
||||
* [1.24.0](#1-24-0)
|
||||
|
|
@ -67,6 +69,42 @@
|
|||
* [1.2.0](#1-2-0)
|
||||
|
||||
|
||||
## Unreleased
|
||||
### Added
|
||||
### Changed
|
||||
### Deprecated
|
||||
### Removed
|
||||
### Fixed
|
||||
|
||||
* Other output (key presses, query replies etc) being mixed with paste
|
||||
data, both interactive pastes and OSC-52 ([#2307][2307]).
|
||||
|
||||
[2307]: https://codeberg.org/dnkl/foot/issues/2307
|
||||
|
||||
|
||||
### Security
|
||||
### Contributors
|
||||
|
||||
|
||||
## 1.26.1
|
||||
|
||||
### Fixed
|
||||
|
||||
* Wrong documented default value for `initial-color-theme` in
|
||||
`foot.ini(5)` ([#2292][2292]).
|
||||
* Occasional crashes when closing a window and
|
||||
`tweak.pre-apply-damage=yes` (the default) ([#2288][2288]).
|
||||
|
||||
[2292]: https://codeberg.org/dnkl/foot/issues/2292
|
||||
[2288]: https://codeberg.org/dnkl/foot/issues/2288
|
||||
|
||||
|
||||
### Contributors
|
||||
|
||||
* Roshless
|
||||
* vlkrs
|
||||
|
||||
|
||||
## 1.26.0
|
||||
|
||||
### Added
|
||||
|
|
|
|||
2
char32.c
2
char32.c
|
|
@ -34,7 +34,7 @@ _Static_assert(
|
|||
#if !defined(__STDC_UTF_32__) || !__STDC_UTF_32__
|
||||
#error "char32_t does not use UTF-32"
|
||||
#endif
|
||||
#if (!defined(__STDC_ISO_10646__) || !__STDC_ISO_10646__) && !defined(__FreeBSD__)
|
||||
#if (!defined(__STDC_ISO_10646__) || !__STDC_ISO_10646__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
|
||||
#error "wchar_t does not use UTF-32"
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -392,7 +392,7 @@ empty string to be set, but it must be quoted: *KEY=""*
|
|||
at runtime, or send SIGUSR1/SIGUSR2 to the foot process (see
|
||||
*foot*(1) for details).
|
||||
|
||||
Default: _1_
|
||||
Default: _dark_
|
||||
|
||||
*initial-window-size-pixels*
|
||||
Initial window width and height in _pixels_ (subject to output
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
project('foot', 'c',
|
||||
version: '1.26.0',
|
||||
version: '1.26.1',
|
||||
license: 'MIT',
|
||||
meson_version: '>=0.59.0',
|
||||
default_options: [
|
||||
|
|
@ -12,6 +12,11 @@ is_debug_build = get_option('buildtype').startswith('debug')
|
|||
|
||||
cc = meson.get_compiler('c')
|
||||
|
||||
# Newer clang versions warns when using __COUNTER__ without -std=c2y
|
||||
if cc.has_argument('-Wc2y-extensions')
|
||||
add_project_arguments('-Wno-c2y-extensions', language: 'c')
|
||||
endif
|
||||
|
||||
if cc.has_function('memfd_create',
|
||||
args: ['-D_GNU_SOURCE'],
|
||||
prefix: '#include <sys/mman.h>')
|
||||
|
|
|
|||
|
|
@ -120,7 +120,10 @@ term_to_slave(struct terminal *term, const void *data, size_t len)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (tll_length(term->ptmx_buffers) > 0 || term->is_sending_paste_data) {
|
||||
if (unlikely(tll_length(term->ptmx_buffers) > 0 ||
|
||||
term->is_sending_paste_data ||
|
||||
tll_length(term->ptmx_paste_buffers) > 0))
|
||||
{
|
||||
/*
|
||||
* Don't even try to send data *now* if there's queued up
|
||||
* data, since that would result in events arriving out of
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
[main]
|
||||
initial-color-theme=light
|
||||
xs
|
||||
|
||||
[colors-light]
|
||||
cursor=eeeeee 444444
|
||||
background=eeeeee
|
||||
|
|
|
|||
|
|
@ -2177,8 +2177,6 @@ wayl_win_destroy(struct wl_window *win)
|
|||
|
||||
struct terminal *term = win->term;
|
||||
|
||||
render_wait_for_preapply_damage(term);
|
||||
|
||||
if (win->csd.move_timeout_fd != -1)
|
||||
close(win->csd.move_timeout_fd);
|
||||
|
||||
|
|
@ -2236,6 +2234,8 @@ wayl_win_destroy(struct wl_window *win)
|
|||
tll_remove(win->urls, it);
|
||||
}
|
||||
|
||||
render_wait_for_preapply_damage(term);
|
||||
|
||||
csd_destroy(win);
|
||||
wayl_win_subsurface_destroy(&win->search);
|
||||
wayl_win_subsurface_destroy(&win->scrollback_indicator);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue