| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | changelog: sixel images can now be printed on | Daniel Eklöf | 2020-06-27 | -0/+4 |
| | | ||||
| * | sixel: split: make pixman instantiation generic | Daniel Eklöf | 2020-06-27 | -34/+27 |
| | | ||||
| * | sixel: never generate scrollback wrapping sixel images | Daniel Eklöf | 2020-06-27 | -53/+96 |
| | | | | | | | Instead, split them up into two (or more...). This makes the intersection detection logic *much* simpler. | |||
| * | sixel: refactor handling of wrap-around delete- and split regions | Daniel Eklöf | 2020-06-27 | -41/+102 |
| | | | | | | | | | | Handle these on a higher abstraction level. The low level functions that detect sixel intersections now assume the specified rectangle (or line region) does *not* cross the wrap-around. This is ensured by detecting a wrap-around region before hand, and splitting it up into two, non wrapping regions. | |||
| * | sixel: split_by_rectangle: bug: typo in boundary check | Daniel Eklöf | 2020-06-27 | -1/+1 |
| | | ||||
| * | sixel: split: make sure relative row/column values are bounded | Daniel Eklöf | 2020-06-27 | -4/+4 |
| | | ||||
| * | sixel: split: push front instead of back | Daniel Eklöf | 2020-06-27 | -4/+4 |
| | | | | | | | This reduces the burden on sixel_split_by_rectangle(), which would otherwise consider the newly added/splitted sixels. Since we already know they aren't covered by the specified rectangle, we can skip that. | |||
| * | sixel: add sixel_split_by_rectangle() | Daniel Eklöf | 2020-06-27 | -58/+74 |
| | | | | | | | | | | This function splits a sixel image into up to four pieces. The four pieces correspond to the relative complement (set difference) of the sixel image and the specified rectangle. Use this function when (possibly) overwriting existing sixel images when generating a new one, i.e. in sixel_unhook(). | |||
| * | sixel: hopefully fix erasing of scrollback wrap-around sixels | Daniel Eklöf | 2020-06-27 | -11/+29 |
| | | | | | | | If a sixel image crossed the scrollback wrap around, the logic that detected whether a row, or a row range, intersected with the sixel was incorrect. | |||
| * | wayland: use xdg_output's description if there's no 'model' | Daniel Eklöf | 2020-06-25 | -4/+13 |
| | | ||||
| * | sixel: wip: split up image being overwritten, rather than erasing it | Daniel Eklöf | 2020-06-23 | -2/+142 |
| | | | | | | | | | | | Instead of completely erasing a sixel image when it is being "overwritten" (text is printed somewhere within the image, or another sixel image is emitted within the first image), split it up into up to four pieces: 'above', 'below', 'to-the-left' and 'to-the-right'. This is currently very un-optimized, but seems to produce correct results. | |||
| * | term: reset: set title to the user configured title, not "foot" | Daniel Eklöf | 2020-06-22 | -2/+2 |
| | | ||||
| * | term: ptmx: don't abort on EAGAIN when trying to read from ptxm | Daniel Eklöf | 2020-06-19 | -0/+3 |
| | | ||||
| * | osc: set color: update both grids, but exclude scrollback | Daniel Eklöf | 2020-06-14 | -20/+24 |
| | | ||||
| * | changelog: language | Daniel Eklöf | 2020-06-14 | -4/+5 |
| | | ||||
| * | sixel: if the client has specified a size, do not change that | Daniel Eklöf | 2020-06-11 | -6/+20 |
| | | | | | | | | | | | | | | We used to auto-resize images to always be a multiple of 6. This is incorrect. The client may, for example, have specified a size to align the image to a cell boundary, which may not be a multiple of 6. Furthermore, in e.g. Jexer, which splits up an image into stripes, that the next image would "overwrite" the previous one. Since the next image was started on a cell row that the previous image had overflowed into. | |||
| * | osc: 'Set Color' now updates already rendered cells in current grid | Daniel Eklöf | 2020-06-11 | -1/+48 |
| | | | | | | | | | | | | | Since we don't have the original palette index in already rendered cells, we compare the color *value*. If it matches, we assume this was the color index used, and updates the cell's color. Note that for performance reasons, we only update the current grid. This is of course wrong, strictly speaking. However, it is expected that _Set Color_ is used by full-screen applications using the alternate grid. | |||
| * | sixel: only use configured alpha when color matches the default bg | Daniel Eklöf | 2020-06-10 | -4/+11 |
| | | ||||
| * | sixel: don't erase if cursor is *before* the image | Daniel Eklöf | 2020-06-10 | -1/+2 |
| | | ||||
| * | sixel: do not reset palette after each image | Daniel Eklöf | 2020-06-10 | -5/+23 |
| | | | | | | | | | A client can re-use the palette between images. Resetting the palette breaks this. Now we initialize the palette on demand, and resets it when the palette size is changed (by the client). | |||
| * | doc: benchmark: move alacritty-unicode-random text from footnote to separate chapter | Daniel Eklöf | 2020-06-09 | -13/+20 |
| | | ||||
| * | doc: benchmark: describe _why_ Alacritty is so fast in 'unicode-random' | Daniel Eklöf | 2020-06-09 | -14/+29 |
| | | ||||
| * | main: log architecture at startup | Daniel Eklöf | 2020-06-09 | -0/+9 |
| | | ||||
| * | readme: fix mastodon link | Daniel Eklöf | 2020-06-09 | -1/+1 |
| | | ||||
| * | readme: add link to my mastodon account | Daniel Eklöf | 2020-06-09 | -0/+7 |
| | | ||||
| * | sixel: log message: fix spelling | Daniel Eklöf | 2020-06-09 | -1/+1 |
| | | ||||
| * | osc: don't assert on \E]4 being followed by a ';' | Daniel Eklöf | 2020-06-09 | -0/+5 |
| | | | | | | This fixes a crash (in debug builds) that could be triggered by e.g. cat:ing /dev/urandom. | |||
| * | csi: \E[3J: reset render.last_cursor.row if necessary | Daniel Eklöf | 2020-06-09 | -0/+5 |
| | | | | | | This fixes a crash that occurred when the last rendered cursor cell had scrolled off screen, and \E[3J (clear scrollback) was executed. | |||
| * | unicode combining: don't log overflow errors unless LOG_ENABLE_DBG == 1 | Daniel Eklöf | 2020-06-09 | -1/+4 |
| | | ||||
| * | Merge branch 'faster-unicode' | Daniel Eklöf | 2020-06-09 | -49/+147 |
| |\ | ||||
| | * | term: print_insert: early return | Daniel Eklöf | 2020-06-09 | -11/+12 |
| | | | ||||
| | * | vt: utf8-print: check width == 0 first, when deciding whether to do combining | Daniel Eklöf | 2020-06-09 | -1/+1 |
| | | | ||||
| | * | vt: initial version of UTF-8 decoding built-in into the VT parser | Daniel Eklöf | 2020-06-07 | -37/+134 |
| |/ | ||||
| * | render: sixel: use pixman_image_composite32() | Daniel Eklöf | 2020-06-06 | -1/+1 |
| | | ||||
| * | render: cell: reset clip region also when we're NOT rendering a glyph | Daniel Eklöf | 2020-06-06 | -1/+1 |
| | | ||||
| * | sixel: don't erase image when printing text *next* to it. | Daniel Eklöf | 2020-06-06 | -5/+20 |
| | | ||||
| * | sixel: fix asan runtime warning: left shift of 255 by 24 cannot... | Daniel Eklöf | 2020-06-06 | -4/+4 |
| | | | | | be represented in type 'int' | |||
| * | PKGBUILD: works on aarch64 too | Daniel Eklöf | 2020-06-05 | -1/+1 |
| | | ||||
| * | doc: benchmarks: results from my desktop | Daniel Eklöf | 2020-06-05 | -14/+43 |
| | | ||||
| * | render: regression: don't let cell background overflow into the margins | Daniel Eklöf | 2020-06-05 | -6/+8 |
| | | | | | | | | | | | | | This used to work before because we had a "global" clip region on the text area, excluding the margins. When we introduced per-cell clipping, this global clip region was removed, and the background drawing code could now overflow into the margins. This fixes it by setting the cell clip region not just when rendering a glyph, but before we render the cell background. | |||
| * | render: re-write cell clipping to use pixman destination clipping | Daniel Eklöf | 2020-06-04 | -60/+62 |
| | | | | | | | | | | | | | Our home rolled clip-to-cell code was, obviously, not correct. The original problem was that we couldn't use pixman clipping since we have multiple threads writing to the same pixman image, and thus there would be races between the threads setting clipping. The fix is actually simple - just instantiate one pixman image (referencing the same backing image data) for each rendering thread. | |||
| * | Merge branch 'clip-to-cell' | Daniel Eklöf | 2020-06-03 | -37/+43 |
| |\ | ||||
| | * | changelog: mention fix for glyphs overflowing into surrounding cells | Daniel Eklöf | 2020-06-03 | -0/+3 |
| | | | ||||
| | * | render: do not allow glyphs to overflow into surrounding cells | Daniel Eklöf | 2020-06-03 | -37/+40 |
| |/ | | | | | | | | | | | | | | | This would be done cleaner by using destination clipping in pixman, but since we have multiple threads rendering cells simultaneously, that is not possible. We also cannot use source clipping since we need to offset the destination x,y coordinates with the glyph offsets. So, roll our own clipping by not allowing the x,y offsets to go outside the cell boundaries, and adjusting the glyph offset accordingly. Closes #21 | |||
| * | selection: fix typo when extending selection to cover double-width character | Daniel Eklöf | 2020-06-03 | -1/+1 |
| | | ||||
| * | Merge branch 'initial-tiocswinsz' | Daniel Eklöf | 2020-06-03 | -0/+10 |
| |\ | ||||
| | * | term: set an initial TIOCSWINSZ right after opening the pty | Daniel Eklöf | 2020-06-02 | -0/+10 |
| |/ | | | | | | | | Since foot is pretty aggressive about spawning the client early, it was possible for a fast client to read a 0x0 terminal size. Not all clients coped well. Closes #20. | |||
| * | meson/PKGBUILD: require fcft 2.1.1 | Daniel Eklöf | 2020-06-02 | -2/+2 |
| | | | | | We really want that ÖCD RGB/BGR fix... | |||
| * | render: draw hollow block cursor on top of the character, not the opposite | Daniel Eklöf | 2020-06-02 | -3/+3 |
| | | ||||
| * | selection: don't allow only half of double-width characters to be selected | Daniel Eklöf | 2020-06-02 | -1/+30 |
| | | ||||
| * | doc: benchmark: add terminal version numbers as foot notes | Daniel Eklöf | 2020-05-31 | -7/+13 |
| | | ||||
| * | Merge branch 'benchmark' | Daniel Eklöf | 2020-05-31 | -1/+99 |
| |\ | ||||
| | * | doc: benchmark: right-align columns | Daniel Eklöf | 2020-05-31 | -1/+3 |
| | | | ||||
| | * | doc: benchmark: fix typo | Daniel Eklöf | 2020-05-31 | -1/+1 |
| | | | ||||
| | * | doc: benchmark: newlines | Daniel Eklöf | 2020-05-31 | -2/+4 |
| | | | ||||
| | * | doc: benchmark: newlines (?) | Daniel Eklöf | 2020-05-31 | -2/+2 |
| | | | ||||
| | * | doc: benchmarks: shell highlighting of vtebench commands | Daniel Eklöf | 2020-05-31 | -0/+2 |
| | | | ||||
| | * | readme: fix benchmark link | Daniel Eklöf | 2020-05-31 | -1/+1 |
| | | | ||||
| | * | benchmarks: initial results | Daniel Eklöf | 2020-05-31 | -1/+42 |
| | | | ||||
| | * | scripts: benchmarking utility script | Daniel Eklöf | 2020-05-31 | -0/+51 |
| |/ | ||||
| * | vt: utf8: use mbtowc() instead of mbrtowc() | Daniel Eklöf | 2020-05-31 | -8/+2 |
| | | | | | | | | | | This is slightly faster, since we don't need to initialize an mbstate_t struct (using mbrtowc() with a NULL-pointer for 'ps' also works). Also, avoid a branch by setting wc=0 and then ignoring the result/error code from mbtowc(). | |||
| * | vt: utf8: don't need one entry action for each UTF8 variant | Daniel Eklöf | 2020-05-31 | -20/+6 |
| | | ||||
| * | readme: cleanup | Daniel Eklöf | 2020-05-30 | -8/+2 |
| | | ||||
| * | readme: GCC requires -Wno-missing-profile in a PGO build | Daniel Eklöf | 2020-05-30 | -3/+6 |
| | | ||||
| * | readme: add link to "running the new build" at the end of the release build section | Daniel Eklöf | 2020-05-30 | -0/+1 |
| | | ||||
| * | readme: describe what should expect to see when running the benchmark | Daniel Eklöf | 2020-05-30 | -0/+3 |
| | | ||||
| * | reaadme: add step to remove the temp file | Daniel Eklöf | 2020-05-30 | -0/+1 |
| | | ||||
| * | readme: add missing ')' | Daniel Eklöf | 2020-05-30 | -1/+1 |
| | | ||||
| * | readme: fix URL | Daniel Eklöf | 2020-05-30 | -1/+1 |
| | | ||||
| * | readme: describe how to do a PGO build | Daniel Eklöf | 2020-05-30 | -10/+85 |
| | | ||||
| * | render: resize: don't try to signal TIOCSWINSZ on a closed ptmx FD | Daniel Eklöf | 2020-05-27 | -1/+1 |
| | | ||||
| * | Merge branch 'hold-option-in-footclient' | Daniel Eklöf | 2020-05-27 | -0/+22 |
| |\ | | | | | | | | | | | | | This adds --hold to footclient. It was an oversight on my part to not add it from the beginning, when it was added to foot. Closes #17 | |||
| | * | changelog: mention addition of '--hold' to footclient | Daniel Eklöf | 2020-05-26 | -0/+1 |
| | | | ||||
| | * | doc: footclient: add --hold | Daniel Eklöf | 2020-05-26 | -0/+3 |
| | | | ||||
| | * | completions: zsh: footclient: add --hold | Daniel Eklöf | 2020-05-26 | -0/+1 |
| | | | ||||
| | * | client/server: implement '--hold' in footclient | Daniel Eklöf | 2020-05-26 | -0/+17 |
| |/ | ||||
| * | slave: set IUTF8 | Daniel Eklöf | 2020-05-26 | -0/+15 |
| | | ||||
| * | readme: mention that -O3 is default in release builds | Daniel Eklöf | 2020-05-25 | -1/+3 |
| | | ||||
| * | readme: document work around for GCC 10.1 O2+PGO regression | Daniel Eklöf | 2020-05-25 | -2/+5 |
| | | ||||
| * | meson: don't set -Wno-missing-profile | Daniel Eklöf | 2020-05-25 | -2/+1 |
| | | | | | We don't do PGO by default | |||
| * | PKGBUILD: always set -fno-plt and -Wno-missing-profile | Daniel Eklöf | 2020-05-25 | -1/+5 |
| | | ||||
| * | PKGBUILD: append -O3 to makepkg provided CFLAGS | Daniel Eklöf | 2020-05-25 | -0/+1 |
| | | | | | This works around a GCC 10.1 O2+PGO regression. | |||
| * | readme: compared with -> compared to | Daniel Eklöf | 2020-05-25 | -1/+1 |
| | | ||||
| * | meson: -fprofile-correction is automatically added by meson | Daniel Eklöf | 2020-05-25 | -1/+0 |
| | | ||||
| * | readme: spelling: gpo -> pgo | Daniel Eklöf | 2020-05-25 | -1/+1 |
| | | ||||
| * | terminfo: put 'cvvis' on a separate line | Daniel Eklöf | 2020-05-25 | -1/+2 |
| | | ||||
| * | readme: mention GCC 10.1 performance regression | Daniel Eklöf | 2020-05-25 | -0/+3 |
| | | ||||
| * | changelog: is -> are | Daniel Eklöf | 2020-05-21 | -1/+1 |
| | | ||||
| * | reaper: disable debug logging | Daniel Eklöf | 2020-05-21 | -1/+1 |
| | | ||||
| * | slave: restore signal mask | Daniel Eklöf | 2020-05-21 | -1/+5 |
| | | ||||
| * | term: don't double fork new terminal windows | Daniel Eklöf | 2020-05-21 | -57/+59 |
| | | | | | | Instead, register their PIDs with the new reaper module and let it handle them. | |||
| * | reaper: new module, uses a signalfd to wait() on child processes | Daniel Eklöf | 2020-05-21 | -0/+161 |
| | | | | | | | | | Use a signalfd to listen for SIGCHLD signals. When we receive a SIGCHLD over the signalfd, reap all dead children by looping over all registered child PIDs and call waitpid(WNOHANG) on them. | |||
| * | readme: mention that gcc produces a much faster binary than clang | Daniel Eklöf | 2020-05-21 | -0/+4 |
| | | ||||
| * | meson: add -fprofile-correction | Daniel Eklöf | 2020-05-21 | -0/+1 |
| | | ||||
| * | scrolling: fix crash when offset was exactly at the wrap-around | Daniel Eklöf | 2020-05-19 | -2/+5 |
| | | | | | | | | When making sure we don't scroll past the scrollback history, and the current offset was exactly at the wrap around, the new view port was set to offset+1, which in this particular case meant outside the valid row numbers. | |||
| * | selection: performance: check for < 0 or >= 0 instead of == -1 | Daniel Eklöf | 2020-05-19 | -9/+9 |
| | | ||||
| * | selection: handle viewport wrap around correctly | Daniel Eklöf | 2020-05-19 | -49/+64 |
| | | | | | | When the viewport wraps around, the selection points may be "incorrect". | |||
| * | term: scrolling: calling function must clamp scroll amount | Daniel Eklöf | 2020-05-19 | -8/+16 |
| | | ||||
| * | readme: add suggested cflags for a release build | Daniel Eklöf | 2020-05-18 | -3/+10 |
| | | ||||
| * | term: erase_cell_range: set row->dirty before calling memset() | Daniel Eklöf | 2020-05-17 | -2/+2 |
| | | ||||
