| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | * | shm: silence -Wunused-function on i386 | Jan Beich | 2021-01-23 | -0/+2 | |
| | | | | | | | | | | | | | shm.c:134:1: error: unused function 'page_size' [-Werror,-Wunused-function] page_size(void) ^ | ||||
| | * | slave: skip e310487dae99 if not supported | Jan Beich | 2021-01-23 | -0/+2 | |
| | | | | | | | | | | | | | slave.c:188:26: error: use of undeclared identifier 'IUTF8' flags.c_iflag |= IUTF8; ^ | ||||
| | * | uri: switch to conservative maximum hostname length | Jan Beich | 2021-01-23 | -1/+1 | |
| | | | | | | | | | | | | | | | | | Current maximum is provided by sysconf(_SC_HOST_NAME_MAX) instead. uri.c:269:20: error: use of undeclared identifier 'HOST_NAME_MAX' char this_host[HOST_NAME_MAX]; ^ | ||||
| | * | terminal: add/exclude missing headers | Jan Beich | 2021-01-23 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | terminal.c:3:10: fatal error: 'malloc.h' file not found #include <malloc.h> ^~~~~~~~~~ terminal.c:1512:9: error: implicit declaration of function 'sigaction' is invalid in C99 [-Werror,-Wimplicit-function-declaration] sigaction(SIGALRM, &(const struct sigaction){.sa_handler = &sig_alarm}, NULL); ^ terminal.c:1532:21: error: implicit declaration of function 'kill' is invalid in C99 [-Werror,-Wimplicit-function-declaration] kill(term->slave, kill_signal); ^ | ||||
| | * | client/server: switch to POSIX header for sockaddr_un | Jan Beich | 2021-01-23 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | client.c:13:10: fatal error: 'linux/un.h' file not found #include <linux/un.h> ^~~~~~~~~~~~ client.c:195:24: error: variable has incomplete type 'struct sockaddr_un' struct sockaddr_un addr = {.sun_family = AF_UNIX}; ^ client.c:195:12: note: forward declaration of 'struct sockaddr_un' struct sockaddr_un addr = {.sun_family = AF_UNIX}; ^ server.c:11:10: fatal error: 'linux/un.h' file not found #include <linux/un.h> ^~~~~~~~~~~~ server.c:307:24: error: variable has incomplete type 'struct sockaddr_un' struct sockaddr_un addr; ^ server.c:307:12: note: forward declaration of 'struct sockaddr_un' struct sockaddr_un addr; ^ server.c:347:24: error: variable has incomplete type 'struct sockaddr_un' struct sockaddr_un addr = {.sun_family = AF_UNIX}; ^ server.c:347:12: note: forward declaration of 'struct sockaddr_un' struct sockaddr_un addr = {.sun_family = AF_UNIX}; ^ server.c:394:24: error: variable has incomplete type 'struct sockaddr_un' struct sockaddr_un addr = {.sun_family = AF_UNIX}; ^ server.c:394:12: note: forward declaration of 'struct sockaddr_un' struct sockaddr_un addr = {.sun_family = AF_UNIX}; ^ | ||||
| | * | main: correct header for mode macros | Jan Beich | 2021-01-23 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | main.c:13:10: fatal error: 'sys/sysinfo.h' file not found #include <sys/sysinfo.h> ^~~~~~~~~~~~~~~ main.c:122:28: error: use of undeclared identifier 'S_IRUSR' S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) < 0) { ^ main.c:122:38: error: use of undeclared identifier 'S_IWUSR' S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) < 0) { ^ main.c:122:48: error: use of undeclared identifier 'S_IRGRP' S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) < 0) { ^ main.c:122:58: error: use of undeclared identifier 'S_IROTH' S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) < 0) { ^ | ||||
| | * | input: don’t enable keyboard repeat timer when repeat rate is zero | Daniel Eklöf | 2021-01-21 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | | | wayland-client-protocol.h: Negative values for either rate or delay are illegal. A rate of zero will disable any repeating (regardless of the value of delay). This fixes a division-by-zero crash. | ||||
| | * | Add xsnprintf() and remove some unnecessary strlen(3) calls | Craig Barnes | 2021-01-21 | -36/+86 | |
| | | | |||||
| | * | sixel: current geometry: don’t exceed current window dimensions | Daniel Eklöf | 2021-01-21 | -1/+4 | |
| | | | | | | | | | | | This is similar to what XTerm does, and fixes an issue with lsix, where the output did not wrap. | ||||
| | * | readme: add IME to the feature list | Daniel Eklöf | 2021-01-21 | -0/+1 | |
| | | | |||||
| | * | selection: uri decode: move zero-length check into decode_one_uri() | Daniel Eklöf | 2021-01-21 | -2/+4 | |
| | | | |||||
| | * | changelog: add hyphen between ‘newline’ and ‘terminated’ | Daniel Eklöf | 2021-01-21 | -2/+3 | |
| | | | |||||
| | * | changelog: pasting non-newline terminated text/uri-list offers | Daniel Eklöf | 2021-01-21 | -0/+2 | |
| | | | |||||
| | * | changelog: glyhps -> glyphs | Daniel Eklöf | 2021-01-21 | -1/+1 | |
| | | | |||||
| | * | selection: add a ‘finish’ function, called at the end of receiving clipboard data | Daniel Eklöf | 2021-01-21 | -0/+24 | |
| | | | | | | | | | | | This is necessary to decode the final URI in a text/uri-list offer if it hasn’t been newline terminated. | ||||
| | * | selection: URI decoder: break out decoding of a single URI | Daniel Eklöf | 2021-01-21 | -27/+29 | |
| | | | |||||
| | * | reaper: remove child from list *before* calling the user provided callback | Daniel Eklöf | 2021-01-21 | -9/+11 | |
| | | | | | | | | | | | | | | | | | | | The user provided callback may call reaper_del(), in which case we will crash when we also try to remove the child from the list. Remove it from the list before the callback means reaper_del() (if called by the callback) will just loop through the entire list without finding the pid and thus do nothing. | ||||
| | * | term: remove client application’s pid from reaper when shutting down | Daniel Eklöf | 2021-01-21 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | | When we are shutting down the terminal, we explicitly wait for the child application to terminate (with a timeout, after which the child process is killed). I.e. there’s no need to let the reaper handle it. In fact, doing so leads to a crash since we will have destroyed (and thus free:d) the terminal instance when the reaper callback is called. | ||||
| | * | pgo: stub implementation of reaper_del() | Daniel Eklöf | 2021-01-21 | -0/+1 | |
| | | | |||||
| | * | reaper: add reaper_del() - pid is no longer watched/monitored after this | Daniel Eklöf | 2021-01-21 | -0/+12 | |
| | | | |||||
| | * | wayland: take rotation into account when calculating the logical PPI | Daniel Eklöf | 2021-01-21 | -0/+21 | |
| | | | |||||
| | * | Add fish completion | FollieHiyuki | 2021-01-21 | -0/+42 | |
| | | | |||||
| | * | render: sixel: fix assertion: x/y coords may be outside visible area | Daniel Eklöf | 2021-01-21 | -2/+2 | |
| | | | | | | | | | But when they are, width/height must be 0. | ||||
| | * | render: codespell: accomodate -> accommodate | Daniel Eklöf | 2021-01-21 | -1/+1 | |
| | | | |||||
| | * | render: draw combining characters on top of colored bitmap glyphs (emoji) | Daniel Eklöf | 2021-01-21 | -16/+36 | |
| | | | |||||
| | * | input: don’t try to close an invalid FD | Daniel Eklöf | 2021-01-21 | -3/+4 | |
| | | | |||||
| | * | input: don’t assert when receiving a button release without a press event | Daniel Eklöf | 2021-01-21 | -1/+20 | |
| | | | |||||
| | * | uri: rename nibbletohex() function to hex2nibble() | Craig Barnes | 2021-01-21 | -3/+3 | |
| | | | | | | | | | It converts a hex digit to a nibble, not the other way around. | ||||
| | * | uri: use nibble2hex() instead of isxdigit(3) to check valid hex digits | Craig Barnes | 2021-01-21 | -4/+6 | |
| | | | |||||
| | * | Add myself to Contributors | Peter Colberg | 2021-01-21 | -0/+1 | |
| | | | |||||
| | * | Require trailing comment to be preceded by a space or tab | Peter Colberg | 2021-01-21 | -3/+19 | |
| | | | | | | | | | | | | | Fixes `word-delimiters` option to not ignore `#` and subsequent characters. Closes #270 | ||||
| | * | render: mark cell overflowed into as dirty | Daniel Eklöf | 2021-01-21 | -1/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When tweak.allow-overflowing-double-width-glyphs=yes, then certain glyphs are allowed to overflow into the neighbouring cell. However, if the cell “owning” the double-width glyph is erased (_only_ that cell), then the cell overflowed into is not redrawn, causing part of the double-width glyph to remain on screen. To avoid checking for these glyphs when printing to the terminal (i.e at parse time), simply mark both cells as dirty when we render the overflowing glyph. Yes, this means that the cells will always be re-rendered. We count on them only making up a small portion of the screen. | ||||
| | * | doc: foot.ini: remove FONT FORMAT section, expand description of ‘font’ | Daniel Eklöf | 2021-01-21 | -12/+11 | |
| | | | |||||
| | * | foot.ini: add (default) size to font | Daniel Eklöf | 2021-01-21 | -1/+1 | |
| | | | |||||
| | * | ci: run codespell on README/INSTALL/CHANGELOG | Daniel Eklöf | 2021-01-21 | -2/+3 | |
| | | | |||||
| | * | ci: run codespell on the man pages (the source files) | Daniel Eklöf | 2021-01-21 | -2/+2 | |
| | | | |||||
| | * | changelog: update ‘contributors’ | Daniel Eklöf | 2021-01-21 | -0/+2 | |
| | | | |||||
| | * | Fix typo | Birger Schacht | 2021-01-21 | -1/+1 | |
| | | | | | | | | | programatically -> programmatically | ||||
| | * | ime: don’t call text-input functions when it isn’t available | Daniel Eklöf | 2021-01-21 | -0/+8 | |
| | | | | | | | | | Closes #259 | ||||
| | * | wayland: log warning when compositor does not implement text-input | Daniel Eklöf | 2021-01-21 | -0/+7 | |
| | | | |||||
| | * | terminal: reaper callback: don’t close ptmx if already closed | Daniel Eklöf | 2021-01-21 | -2/+5 | |
| | | | |||||
| | * | terminal: shutdown (or --hold) when the client process terminates | Daniel Eklöf | 2021-01-21 | -6/+28 | |
| | | | | | | | | | | | | | | | | | | | Shutdown the terminal when the client process terminates, not when the ptmx file descriptor is closed. This fixes an issue where the terminal remains running after the client process has terminated, if it spawned child processes that inherited the ptmx file descriptor. | ||||
| | * | reaper: add optional callback | Daniel Eklöf | 2021-01-21 | -20/+39 | |
| | | | | | | | | | | | | | | | | | | | When calling ‘reaper_add()’, the caller can provide a callback. If non-NULL, the reaper will call the callback to handle the actual reaping. If the callback is NULL, or if it returns false, the reaper reaps the child process. | ||||
| | * | readme: add builds.sr.ht status badge | Daniel Eklöf | 2021-01-21 | -0/+2 | |
| | | | |||||
| | * | readme: try to position pipeline badge after description | Daniel Eklöf | 2021-01-21 | -1/+1 | |
| | | | |||||
| | * | readme: try to fix gitlab pipeline status badge | Daniel Eklöf | 2021-01-21 | -1/+1 | |
| | | | |||||
| | * | readme: test: add gitlab pipeline badge | Daniel Eklöf | 2021-01-21 | -0/+1 | |
| | | | |||||
| | * | ci: sr.ht: cd into ‘foot’ before running codespell | Daniel Eklöf | 2021-01-21 | -0/+1 | |
| | | | |||||
| | * | input: remove non-existing state from debug log | Daniel Eklöf | 2021-01-21 | -1/+1 | |
| | | | |||||
| | * | readme: add repology packaging status badge | Daniel Eklöf | 2021-01-21 | -0/+3 | |
| | | | |||||
| | * | doc: updated ‘laptop’ benchmarks for 1.6.0 | Daniel Eklöf | 2021-01-21 | -8/+9 | |
| | | | |||||
| | * | changelog: add empty 1.6.3 section | Daniel Eklöf | 2021-01-21 | -0/+11 | |
| | | | |||||
| * | | Merge branch 'text-input-rectangle' | Daniel Eklöf | 2021-01-29 | -2/+143 | |
| |\ \ | | | | | | | | | | Closes #309 | ||||
| | * | | Send text_input_rectangle requests for text-input | Tadeo Kondrak | 2021-01-29 | -2/+143 | |
| | | | | |||||
| * | | | Merge branch 'drop-wno-missing-braces-from-freebsd' | Daniel Eklöf | 2021-01-29 | -4/+2 | |
| |\ \ \ | |||||
| | * | | | ci: freebsd: don’t need -Wno-missing-braces anymore | Daniel Eklöf | 2021-01-28 | -4/+2 | |
| |/ / / | | | | | | | | | | builds.sr.ht has been updated to FreeBSD-12.2 | ||||
| * | | | Merge branch 'selection-no-newline-replace-in-bracketed-paste' | Daniel Eklöf | 2021-01-27 | -3/+14 | |
| |\ \ \ | |/ / |/| | | |||||
| | * | | selection: don’t replace \r\n and \n with \r in bracketed paste mode | Daniel Eklöf | 2021-01-27 | -3/+14 | |
| |/ / | |||||
| * | | Merge branch 'delay-tiocswinsz-on-interactive-resize' | Daniel Eklöf | 2021-01-26 | -26/+169 | |
| |\ \ | | | | | | | | | | | | | Closes #283 Closes #301 | ||||
| | * | | config: promote tweak.resize-delay-ms to a real, supported option | Daniel Eklöf | 2021-01-26 | -38/+39 | |
| | | | | |||||
| | * | | doc: foot.ini: resize-delay-ms: language tweaks | Daniel Eklöf | 2021-01-26 | -3/+4 | |
| | | | | |||||
| | * | | doc: foot.ini: explicitly say that 0 disables the delay | Daniel Eklöf | 2021-01-26 | -1/+2 | |
| | | | | |||||
| | * | | doc: foot.ini: resize-delay-ms | Daniel Eklöf | 2021-01-26 | -0/+17 | |
| | | | | |||||
| | * | | changelog: tiocswinsz is now delayed by 100ms while doing an interactive resize | Daniel Eklöf | 2021-01-26 | -0/+5 | |
| | | | | |||||
| | * | | render: remove unneeded parantheses | Daniel Eklöf | 2021-01-26 | -1/+1 | |
| | | | | |||||
| | * | | render: don’t center content while doing an interactive resize | Daniel Eklöf | 2021-01-26 | -1/+4 | |
| | | | | |||||
| | * | | render: remove debug logging | Daniel Eklöf | 2021-01-26 | -4/+1 | |
| | | | | |||||
| | * | | render: codespell: tiemout -> timeout | Daniel Eklöf | 2021-01-26 | -1/+1 | |
| | | | | |||||
| | * | | render: delay TIOCSWINSZ while doing an interactive resize | Daniel Eklöf | 2021-01-26 | -12/+126 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of disabling content centering, delay the TIOCSWINSZ (a.k.a delay sending the new dimensions to the client) by a small amount while doing an interactive resize. Non-interactive resizes are still immediate. For now, force a resize when the user stops the interactive resize. This ensures the client application receives the new dimensions immediately. It still works without the last, forced, resize, but there typically be a small delay until the client application receives the final dimensions. Closes #301 Closes #283 | ||||
| | * | | wayland: pending ‘configure’ flags: use ’bool’ in bit-fields | Daniel Eklöf | 2021-01-26 | -8/+8 | |
| | | | | |||||
| | * | | wayland: force a resize on the final configure event after an interactive resize | Daniel Eklöf | 2021-01-26 | -2/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This is needed to apply content centering after an interactive resize, as otherwise we’d just ignore the last configure event since the only difference between that event and the next to last event is that the is-resizing bit has been cleared. I.e. the window size is identical to what we already have, and our resize code would thus ignore the event. | ||||
| | * | | render: don’t center content while we’re being resized | Daniel Eklöf | 2021-01-26 | -1/+1 | |
| | | | | | | | | | | | | | | | | Doing so causes the content to jump around while interactively resizing the window. | ||||
| | * | | wayland: track is-resizing state | Daniel Eklöf | 2021-01-26 | -5/+6 | |
| | | | | |||||
| | * | | wayland: pack booleans in the “pending” configure struct | Daniel Eklöf | 2021-01-26 | -7/+7 | |
| | | | | |||||
| * | | | Merge branch 'search-extend-to-word-boundary-handle-composed-chars' | Daniel Eklöf | 2021-01-26 | -0/+13 | |
| |\ \ \ | |||||
| | * | | | search: match composed characters when extending the search string to the next word boundary | Daniel Eklöf | 2021-01-26 | -0/+13 | |
| |/ / / | |||||
| * | | | Merge branch 'search-match-multi-column-chars-2' | Daniel Eklöf | 2021-01-26 | -3/+14 | |
| |\ \ \ | |/ / |/| | | |||||
| | * | | search: fix matching of multi-column characters | Daniel Eklöf | 2021-01-26 | -3/+14 | |
| |/ / | | | | | | | | | We were matching the sub-sequence SPACERs as if they were regular characters, which obviously failed. | ||||
| * | | Merge branch 'strip-control-characters-from-pasted-text' | Daniel Eklöf | 2021-01-26 | -4/+43 | |
| |\ \ | | | | | | | | | | Closes #306 | ||||
| | * | | selection: remove duplicate ‘ESC’ in switch case | Daniel Eklöf | 2021-01-26 | -4/+0 | |
| | | | | |||||
| | * | | selection: DEL is 0x7f, not 0x1f | Daniel Eklöf | 2021-01-26 | -1/+1 | |
| | | | | |||||
| | * | | selection: codespell: stript -> strip | Daniel Eklöf | 2021-01-26 | -1/+1 | |
| | | | | |||||
| | * | | selection: strip non-formatting C0, BS, HT and DEL from pasted text | Daniel Eklöf | 2021-01-26 | -0/+19 | |
| | | | | |||||
| | * | | selection: unbreak text/uri-list decoding: we’re not using \r, not \n | Daniel Eklöf | 2021-01-26 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Before passing the pasted text to the decoder, we now replace \r\n, and \n, with \r. The URI decoder was looking for a \n, which meant we failed to split up the list and instead pasted a single “multi-line” URI. | ||||
| | * | | selection: replace \r\n and \n with \r, and strip \e from pasted text | Daniel Eklöf | 2021-01-26 | -3/+27 | |
| |/ / | | | | | | | | | Closes #305 Closes #306 | ||||
| * | | Merge branch 'ime-preedit-cursor-at-the-end-of-the-preedit-string' | Daniel Eklöf | 2021-01-26 | -9/+25 | |
| |\ \ | |||||
| | * | | ime: fix rendering of pre-edit cursor when positioned after the pre-edit string | Daniel Eklöf | 2021-01-26 | -9/+25 | |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | We failed to convert the byte-indices to cell indices, resulting in a box cursor covering the entire pre-edit string. Note that in addition to fixing the translation from byte index to cell index, the rendered had to be updated to dirty one extra cell from the original grid. Without this, we left trailing cursors behind us when the user deleted text from the pre-edit string. | ||||
| * | | Merge branch 'search-fix-rendering-of-combining-characters-with-positive-x-offsets' | Daniel Eklöf | 2021-01-26 | -2/+9 | |
| |\ \ | |||||
| | * | | search: ad-hoc workaround for combining characters with positive x-offsets | Daniel Eklöf | 2021-01-26 | -2/+9 | |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | When rendering the search input box, do the same ad-hoc workaround for combining characters with a positive x-offset as we do when rendering normal grid cells. In this case, we don’t *know* when we’re dealing with combining characters. But we can detect zero-width characters. For these, check their glyph’s x-offset. If positive, adjust it like we do when rendering combining glyphs in the main grid, to ensure the glyph is positioned over the _previous_ character, not the next. | ||||
| * | | Merge branch 'search-dont-scan-scrollback-on-cursor-movement' | Daniel Eklöf | 2021-01-26 | -36/+84 | |
| |\ \ | |||||
| | * | | changelog: high cpu usage while holding down e.g. arrow keys in search mode | Daniel Eklöf | 2021-01-26 | -0/+2 | |
| | | | | |||||
| | * | | search: don’t re-scan the scrollback unless the search string actually has changed | Daniel Eklöf | 2021-01-26 | -36/+82 | |
| |/ / | |||||
| * | | Merge branch 'search-match-composed-characters' | Daniel Eklöf | 2021-01-26 | -3/+38 | |
| |\ \ | |||||
| | * | | search: fix matching against composed characters | Daniel Eklöf | 2021-01-24 | -3/+38 | |
| | | | | |||||
| * | | | Merge branch 'search-box-no-non-printables' | Daniel Eklöf | 2021-01-26 | -4/+17 | |
| |\ \ \ | |/ / |/| | | |||||
| | * | | changelog: search input box no longer accepts non-printables | Daniel Eklöf | 2021-01-24 | -0/+1 | |
| | | | | |||||
| | * | | search: filter out non-printable characters | Daniel Eklöf | 2021-01-24 | -4/+16 | |
| |/ / | | | | | | | Don’t allow non-printable characters in the search input string. | ||||
| * | | Merge branch 'selection-to-clipboard' | Daniel Eklöf | 2021-01-23 | -7/+63 | |
| |\ \ | | | | | | | | | | Closes #288 | ||||
| | * | | config: selection-target: space-optimize the static ‘value’ array | Daniel Eklöf | 2021-01-23 | -1/+1 | |
| | | | | |||||
| | * | | doc: foot.ini: selection-target=none|primary|clipboard|both | Daniel Eklöf | 2021-01-23 | -6/+11 | |
| | | | | |||||
