| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | multi-seat: improve handling of multiple (mouse) pointers | Daniel Eklöf | 2020-07-09 | -90/+97 |
| | | | | | | | | | * xcursor always set for all pointers * xcursor sometimes not updated when it should be * mouse grabbed state wasn't per seat, but global (i.e. "does at least one seat enable mouse grabbing") * selection enabled state wasn't per seat | |||
| * | readme: add multi-seat support to the feature list | Daniel Eklöf | 2020-07-09 | -0/+1 |
| | | ||||
| * | changelog: add multi-seat support | Daniel Eklöf | 2020-07-09 | -0/+1 |
| | | ||||
| * | focus in/out: terminal checks whether it is a state change or not | Daniel Eklöf | 2020-07-09 | -19/+7 |
| | | ||||
| * | wayland: globals: destroy: seat: use keyboard/pointer listener interfaces | Daniel Eklöf | 2020-07-09 | -17/+9 |
| | | ||||
| * | wayland: globals: destroy: handle seats being destroyed | Daniel Eklöf | 2020-07-09 | -2/+39 |
| | | ||||
| * | input: only call term_kbd_focus_{in,out}() on actual state change | Daniel Eklöf | 2020-07-09 | -7/+24 |
| | | | | | | | That is, only call term_kbd_focus_in() if we're the *first* seat focusing that terminal, and only call term_kbd_focus_out() if we're the *last* seat that focused it. | |||
| * | wayland: log: be clear that these are the XCRUSOR_* environment variables | Daniel Eklöf | 2020-07-08 | -2/+1 |
| | | ||||
| * | xcursor: trigger theme reload in pointer-enter event | Daniel Eklöf | 2020-07-08 | -9/+17 |
| | | | | | | | | | | | | | | | | | Previously, we triggered a theme reload on output changes. This is completely wrong. We may get a new output with a scale different from the output the pointer is actually on. Now, we store the current scale along with the theme. We then trigger a call to reload the xcursor theme *every* time the pointer enters a surface. When it does, we use the current scale factor of the terminal that owns that surface. If the terminal covers multiple outputs, with different scale factors, we'll use the largest scale factor. This may not be 100% correct. But to fix that, we'd need to track which regions of a surface are mapped on which outputs. Too complicated I say. | |||
| * | wayland: seat: log keyboard/pointer capability | Daniel Eklöf | 2020-07-08 | -1/+4 |
| | | ||||
| * | multi-seat: re-enable OSC 52 support | Daniel Eklöf | 2020-07-08 | -15/+38 |
| | | ||||
| * | multi-seat: re-enable selection support (excluding OSC 52) | Daniel Eklöf | 2020-07-08 | -109/+104 |
| | | ||||
| * | multi-seat: re-enable scrollback search support | Daniel Eklöf | 2020-07-08 | -29/+16 |
| | | ||||
| * | multi-seat: re-enable mouse button+motion reporting support | Daniel Eklöf | 2020-07-08 | -38/+47 |
| | | ||||
| * | multi-seat: enable xcursor theme support again | Daniel Eklöf | 2020-07-08 | -143/+104 |
| | | ||||
| * | wip: multi-seat support | Daniel Eklöf | 2020-07-08 | -452/+616 |
| | | | | | | Compiles and runs, but mouse, clipboard and other things have been disabled. | |||
| * | meson/PKGBUILD: bump fcft requirement to 2.2.0 | Daniel Eklöf | 2020-07-07 | -2/+2 |
| | | ||||
| * | term: don't use deprecated fcft_size_adjust() | Daniel Eklöf | 2020-07-07 | -107/+126 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | When resizing the font on-the-fly, we now do a complete font-reload (this is basically what fcft_size_adjust() did anyway). To get the correct size, we maintain the current size ourselves. We get the initial size from the user-provided font pattern, by converting the string to an FcPattern, and using FcPatternGet() to retrieve both the FC_SIZE and FC_PIXEL_SIZE attributes. These attributes are then removed from the pattern, and the pattern is converted back to a string. The terminal struct maintains a copy of the font sizes. These are initially set to the sizes from the config. When the user resizes the font, the terminal-local sizes are adjusted. To ensure the primary and user-configured fallback fonts are resizes equally much, convert any pixel sizes to point sizes at this point. When the font size is reset, we reload the font sizes from the config (thus once again returning actual pixel-sizes, if that's what the user has configured). | |||
| * | sixel: overwrite_by_row: handle case where 'width' goes past end of row | Daniel Eklöf | 2020-07-07 | -1/+4 |
| | | | | | Cap 'width' to maximum number of columns available. | |||
| * | readme: wiki: 'faq' has been renamed to 'troubleshooting' | Daniel Eklöf | 2020-06-30 | -3/+3 |
| | | ||||
| * | readme: add link to FAQ in the wiki | Daniel Eklöf | 2020-06-30 | -0/+6 |
| | | ||||
| * | doc: foot.5: make it clear that 'login-shell' is a boolean option | Daniel Eklöf | 2020-06-30 | -1/+2 |
| | | ||||
| * | changelog: grammar | Daniel Eklöf | 2020-06-30 | -1/+1 |
| | | ||||
| * | config: add 'blink' option to cursor section in footrc | Daniel Eklöf | 2020-06-30 | -2/+19 |
| | | | | | | This option controls whether the default cursor should blink or not. The default is to *not* blink. | |||
| * | csi: '\E[0 q' resets the cursor style to the default, not '\E[2 q' | Daniel Eklöf | 2020-06-30 | -7/+16 |
| | | | | | Also update 'Se' capability in the terminfo, to reflect this. | |||
| * | csi: debug: print 'private' *after* parameters | Daniel Eklöf | 2020-06-30 | -6/+6 |
| | | ||||
| * | Merge branch 'sixel-performance' | Daniel Eklöf | 2020-06-30 | -147/+200 |
| |\ | ||||
| | * | Merge branch 'master' into sixel-performance | Daniel Eklöf | 2020-06-29 | -8/+46 |
| | |\ | |/ |/| | ||||
| * | | sixel: destroy all sixels when font size is decreased | Daniel Eklöf | 2020-06-29 | -1/+37 |
| | | | | | | | | | | | | | If changing the font size causes the cell size to decrease, either horizontally or vertically (or both), then delete all sixels since the grid space they allocated no longer is enough to hold the images. | |||
| * | | changelog: slave -> client | Daniel Eklöf | 2020-06-29 | -2/+2 |
| | | | ||||
| * | | changelog: 'capturing mouse events' -> 'capturing the mouse' | Daniel Eklöf | 2020-06-29 | -1/+1 |
| | | | ||||
| * | | changelog: make it easier to read | Daniel Eklöf | 2020-06-29 | -1/+1 |
| | | | ||||
| * | | term: use 'left_ptr' instead of 'hand2' as cursor when client is mouse grabbing | Daniel Eklöf | 2020-06-29 | -3/+5 |
| | | | ||||
| | * | scroll: destroy scrolled out sixels before scroll is applied | Daniel Eklöf | 2020-06-29 | -140/+62 |
| | | | | | | | | | | | | | | | | | | | | | | | | | The logic that breaks out of sixel loops does not work for rows that has already wrapped around. Thus, we need to destroy sixels that are about to be scrolled out *before* we actually scroll. Since this is the *only* time we destroy sixels (instead of overwriting it), rename the sixel functions. And, since they now do a very specific thing, they can be greatly simplified (and thus faster). | |||
| | * | reflow: ensure sixels are correctly sorted when re-inserted | Daniel Eklöf | 2020-06-29 | -32/+63 |
| | | | | | | | | | | | And make sure to remove re-inserted sixels that has wrapped around the scrollback (this may happen when the window size decreases). | |||
| | * | changelog: group sixel related changes toghether | Daniel Eklöf | 2020-06-29 | -4/+4 |
| | | | ||||
| | * | sixel: overwrite-by-rectangle: optimize: break out of loop as soon as possible | Daniel Eklöf | 2020-06-28 | -0/+18 |
| | | | | | | | | | | | | | | | | | | | Since the images are sorted, we can break out of the loop as soon as we detect an image that *ends before* the rectangle's top starts. In order for the row comparisons to work, the row numbers must be re-based against the current scrollback offset, or the scrollback *end*, to be precise. | |||
| | * | Merge branch 'master' into sixel-performance | Daniel Eklöf | 2020-06-28 | -3/+100 |
| | |\ | |/ |/| | ||||
| * | | readme: nope, how about a png then? | Daniel Eklöf | 2020-06-28 | -1/+1 |
| | | | ||||
| * | | readme: let's see if we can use the SVG in the top header | Daniel Eklöf | 2020-06-28 | -1/+1 |
| | | | ||||
| * | | readme: link to PNG instead | Daniel Eklöf | 2020-06-28 | -1/+1 |
| | | | ||||
| * | | readme: special thanks go to Ordoviz, for designing foot's logo | Daniel Eklöf | 2020-06-28 | -0/+7 |
| | | | ||||
| * | | Merge branch 'logo' | Daniel Eklöf | 2020-06-28 | -2/+92 |
| |\ \ | ||||
| | * | | Add logo, fixes #27 | Lennard Hofmann | 2020-06-27 | -2/+92 |
| | | | | | | | | | | | | | | | | | | | The SVG can be scaled to any size, thus we only provide the "minimum" of PNGs as specified by XDG, see "Installing Application Icons" in https://specifications.freedesktop.org/icon-theme-spec/ | |||
| | | * | sixel: overwrite-by-row: optimize: break out of loop as soon as possible | Daniel Eklöf | 2020-06-28 | -14/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the images are sorted, we can break out of the loop as soon as we detect an image that *ends before* the row we're looking for. In order for the row comparisons to work, the row numbers must be re-based against the current scrollback offset, or the scrollback *end*, to be precise. | |||
| | | * | render: sixel: regression: need to take current offset into account when early-quitting sixel ↵ | Daniel Eklöf | 2020-06-28 | -8/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | rendering The sixel images are sorted, that's true. But in order for our row numer comparisons to actually work, we need to rebase all numbers against the current scrollback offset (or, the scrollback *end*, to be precise). | |||
| | | * | sixel: overwrite: pass 'width' to sixel_overwrite_at_cursor() | Daniel Eklöf | 2020-06-28 | -4/+4 |
| | | | | | | | | | | | | | This is necessary to handle multi-column characters correctly. | |||
| | | * | render: sixels: break out of loop when we're sure there aren't any more visible images | Daniel Eklöf | 2020-06-28 | -1/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sixel list is sorted, with the most recent images *first* in the list (and thus the "oldest" images are at the back). This means we can break out of the loop when we see a sixel that *ends before* the current view starts. As a minor optimization, we also recognize sixels that *start after* the current view ends. We can't break out of the loop, but we can skip trying to render them (they wouldn't have been rendered, but more work would have been done in render_sixel() to reach this conclusion). | |||
| | | * | sixel: insert: calculate end rows in a single statement | Daniel Eklöf | 2020-06-28 | -8/+21 |
| | | | | ||||
| | | * | sixel: insert: sort sixels such that those furthest up in the scrollback is at the back | Daniel Eklöf | 2020-06-28 | -0/+19 |
| | | | | ||||
| | | * | sixel: add local function sixel_insert() | Daniel Eklöf | 2020-06-28 | -2/+8 |
| | |/ |/| | | | | | Replace all tll_push_*() calls with calls to this function. | |||
| * | | grid: reflow: delete sixels that end up crossing the scrollback wrap around | Daniel Eklöf | 2020-06-27 | -5/+6 |
| | | | | | | | | | | | | | | | | | Our sixel handling code requires sixels to *not* cross the scrollback wrap around. Until we've fixes the reflow code that split up such sixels (much like we do when we generate a sixel), simply delete it. | |||
| * | | terminfo: add remaining keypad keys | Daniel Eklöf | 2020-06-27 | -2/+15 |
| | | | ||||
| * | | input: add key mapping for XKB_KEY_KP_Decimal | Daniel Eklöf | 2020-06-27 | -0/+3 |
| | | | ||||
| * | | terminfo: add ka1, ka3, kc1 and kc3 (upper/lower left/right keypad keys) | Daniel Eklöf | 2020-06-27 | -0/+6 |
| | | | ||||
| * | | terminfo: kb2 (center keypad key) should be \EOu, not \EOE | Daniel Eklöf | 2020-06-27 | -1/+3 |
| | | | ||||
| * | | grid: add TODO, and an assert, that sixels must not cross wrap-around | Daniel Eklöf | 2020-06-27 | -0/+4 |
| | | | ||||
| * | | sixel: improve descriptions of sixel_delete_* and sixel_overwrite_* | Daniel Eklöf | 2020-06-27 | -4/+14 |
| | | | ||||
| * | | sixel: split -> overwrite | Daniel Eklöf | 2020-06-27 | -24/+28 |
| | | | ||||
| * | | term: erasing characters now splits sixels instead of deleting them | Daniel Eklöf | 2020-06-27 | -18/+30 |
| | | | ||||
| * | | sixel: delete/split: early(ier) exit when there aren't in sixel images | Daniel Eklöf | 2020-06-27 | -10/+20 |
| | | | | | | | | | Avoid unnecessary wrap checks if the sixel image list is empty. | |||
| * | | Merge branch 'sixel-split' | Daniel Eklöf | 2020-06-27 | -49/+333 |
| |\ \ | |/ |/| | ||||
| | * | 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 |
| | | ||||
