| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | * | README: make GNOME SSD reply italic | Daniel Eklöf | 2020-01-01 | -1/+1 | |
| | | | |||||
| | * | README: use a definition list for keyboard shortcuts | Daniel Eklöf | 2020-01-01 | -44/+31 | |
| |/ | |||||
| * | render: presentation: cleanup | Daniel Eklöf | 2020-01-01 | -6/+20 | |
| | | |||||
| * | render: call wl_display_flush() right after wl_surface_commit() | Daniel Eklöf | 2020-01-01 | -2/+1 | |
| | | | | | This groups the two calls, for readability. | ||||
| * | render: presentation: clean up frame interval count calculation | Daniel Eklöf | 2020-01-01 | -1/+1 | |
| | | |||||
| * | term: bump lower delay limit to 500µs | Daniel Eklöf | 2019-12-31 | -1/+1 | |
| | | | | | | Emacs with a split screen often goes above 200µs. 500µs is still much better than 2000µs... | ||||
| * | term: ptmx timing: use a define instead of #if 0 | Daniel Eklöf | 2019-12-31 | -3/+5 | |
| | | |||||
| * | render: presentation: space between value and "µs" | Daniel Eklöf | 2019-12-31 | -3/+3 | |
| | | |||||
| * | term: lower the lower delay timeout from 2ms to 200µs | Daniel Eklöf | 2019-12-31 | -1/+1 | |
| | | |||||
| * | term: commented out code to measure time between slave output | Daniel Eklöf | 2019-12-31 | -0/+24 | |
| | | | | | | | | | | | | | | | This allows us to measure the time between to refresh delays. That is, when we decide to delay a refresh, we store the current time. If we hit that code path _again_, without having refreshed, we calculate the time that has passed. This gives us an estimate for how we should set our lower delay timeout. This is of course application dependent, but is still much better than simply guessing a value... | ||||
| * | render: presentation: also use seconds when calculating frame interval count | Daniel Eklöf | 2019-12-31 | -2/+2 | |
| | | |||||
| * | render: presentation: log both input -> commit and commit -> presented times | Daniel Eklöf | 2019-12-31 | -29/+40 | |
| | | |||||
| * | wayland: only bind to 'presentation' interface if -p,--presentation-timings | Daniel Eklöf | 2019-12-31 | -10/+16 | |
| | | |||||
| * | wayland: remove empty line | Daniel Eklöf | 2019-12-31 | -1/+0 | |
| | | |||||
| * | render: reset input/commit timestamps on presentation discarded event | Daniel Eklöf | 2019-12-31 | -0/+3 | |
| | | |||||
| * | wayland: make zxdg_output_v1_listener struct const | Daniel Eklöf | 2019-12-31 | -1/+1 | |
| | | |||||
| * | wayland: optionally use the presentation time protocol to measure input lag | Daniel Eklöf | 2019-12-31 | -11/+187 | |
| | | | | | | | | | | | | | | | | | | | | This adds a flag, -p,--presentation-timings, that enables input lag measuring using the presentation time Wayland protocol. When enabled, we store a timestamp when we *send* a key to the slave. Then, when we commit a frame for rendering to the compositor, we request presentation feedback. We also store a timestamp for when the frame was committed. The 'presented' callback then looks at the input and commit timestamps, and compares it with the presented timestamp. The delay is logged at INFO when the delay was less than one frame interval, at WARN when it was one frame interval, and at ERR when it was two or more frame intervals. We also update statistic counters that we log when foot is shut down. | ||||
| * | main: let getopt_long() print error message | Daniel Eklöf | 2019-12-29 | -6/+1 | |
| | | |||||
| * | main: third member in "struct option" is a pointer | Daniel Eklöf | 2019-12-29 | -8/+8 | |
| | | |||||
| * | main: use a single printf() when printing usage | Daniel Eklöf | 2019-12-29 | -11/+13 | |
| | | |||||
| * | README: use triple quoted blocks for meson/ninja examples | Daniel Eklöf | 2019-12-29 | -12/+18 | |
| | | | | | This allows us to specify which syntax highlighting (sh) to use. | ||||
| * | PKGBUILD: add 'wayland-protocols' to makedepends | Daniel Eklöf | 2019-12-29 | -1/+1 | |
| | | |||||
| * | README: expand the 'install' section | Daniel Eklöf | 2019-12-29 | -1/+58 | |
| | | | | | | | | * Talk about tllist + fcft * Mention that the PKGBUILD requires tllist+fcft to be installed as system libraries * Provide a short how-to-configure-and build with meson description | ||||
| * | README: remove combining character example that doesn't render in browsers | Daniel Eklöf | 2019-12-29 | -2/+1 | |
| | | |||||
| * | terminfo: set RGB flag in foot-direct | Daniel Eklöf | 2019-12-26 | -0/+1 | |
| | | |||||
| * | csi: change DA3 reply to "FOOT", in hex | Daniel Eklöf | 2019-12-21 | -1/+1 | |
| | | |||||
| * | server: verify CWD string length matches the indicated length | Daniel Eklöf | 2019-12-21 | -0/+6 | |
| | | |||||
| * | server: move forward the indicated number of TERM bytes | Daniel Eklöf | 2019-12-21 | -1/+1 | |
| | | |||||
| * | server: bug: move forward 2 bytes, not whatever the client sent | Daniel Eklöf | 2019-12-21 | -1/+1 | |
| | | |||||
| * | term: term_init: add 'cwd' argument | Daniel Eklöf | 2019-12-21 | -18/+28 | |
| | | | | | | | | | | | This is used when spawning the slave, to set its current working directory just before we exec() the client. In a regular foot instance, we set the cwd from getcwd(). In a foot server instance, each connecting client sends its cwd to the server, and we use that. | ||||
| * | client/server: client sends its CWD to server | Daniel Eklöf | 2019-12-21 | -1/+20 | |
| | | |||||
| * | Merge branch 'launch-new-instance' | Daniel Eklöf | 2019-12-21 | -5/+159 | |
| |\ | |||||
| | * | osc: implement OSC 7 - set PWD | Daniel Eklöf | 2019-12-21 | -0/+65 | |
| | | | | | | | | | | | | | | | | | | | OSC 7 updates the terminal's view of the current working directory. The format is OSC 7;URI ST We decode the URI and updates the term structs 'cwd' member. This is then used when spawning a new terminal instance. | ||||
| | * | term: wip: track current working directory | Daniel Eklöf | 2019-12-21 | -0/+14 | |
| | | | | | | | | | | | | | | | This sets the initial current working directory, as it is when the terminal is instantiated. We chdir() to it just before spawning a new terminal. | ||||
| | * | term: term_spawn_new: always spawn foot/footclient from PATH | Daniel Eklöf | 2019-12-21 | -3/+3 | |
| | | | |||||
| | * | term: term_spawn_new(): new function, spawns a new foot/footclient process | Daniel Eklöf | 2019-12-21 | -5/+80 | |
| |/ | | | | Bind ctrl+shift+return to it | ||||
| * | term: experimental: tweak delay timeouts | Daniel Eklöf | 2019-12-20 | -2/+2 | |
| | | | | | | | | | | | | | Increase the low timeout, to try to give clients/slaves more time to emit data. Decrease the upper timeout. On average, we should have ~½ frame left until the next frame. So a maximum delay of a whole frame *will* delay the update one extra frame in many cases. Hopefully, the low timeout is still low enough that we don't miss the next frame, on average. | ||||
| * | Merge branch 'switched-based-vt-parser' | Daniel Eklöf | 2019-12-20 | -748/+741 | |
| |\ | |||||
| | * | Revert "vt: refactor" | Daniel Eklöf | 2019-12-20 | -208/+201 | |
| | | | | | | | | | This reverts commit a575204bc77c711047740d2328d26043e8c976cb. | ||||
| | * | vt: refactor | Daniel Eklöf | 2019-12-20 | -201/+208 | |
| | | | |||||
| | * | vt: visually compact the switch tables | Daniel Eklöf | 2019-12-20 | -271/+271 | |
| | | | |||||
| | * | vt: remove enum action; add separate functions for each action instead | Daniel Eklöf | 2019-12-20 | -524/+491 | |
| | | | |||||
| | * | vt: remove debug assert | Daniel Eklöf | 2019-12-20 | -1/+0 | |
| | | | |||||
| | * | vt: use a pointer that we increment, instead of indexing | Daniel Eklöf | 2019-12-20 | -21/+21 | |
| | | | |||||
| | * | vt: use break, not continue | Daniel Eklöf | 2019-12-20 | -17/+17 | |
| | | | |||||
| | * | vt: no need to assign to term->vt.state for *every* input byte | Daniel Eklöf | 2019-12-20 | -18/+20 | |
| | | | |||||
| | * | vt: remove dead code | Daniel Eklöf | 2019-12-20 | -495/+0 | |
| | | | |||||
| | * | vt: don't special case UTF-8 collect state | Daniel Eklöf | 2019-12-20 | -24/+55 | |
| | | | |||||
| | * | vt: convert SOS/PM/APC string from table lookup to switch | Daniel Eklöf | 2019-12-20 | -2/+30 | |
| | | | |||||
| | * | vt: convert DCS from table lookup to switch | Daniel Eklöf | 2019-12-20 | -7/+195 | |
| | | | |||||
| | * | vt: convert CSI ignore from table lookup to switch | Daniel Eklöf | 2019-12-20 | -2/+34 | |
| | | | |||||
| | * | vt: convert CSI intermediate from table lookup to switch | Daniel Eklöf | 2019-12-20 | -2/+35 | |
| | | | |||||
| | * | vt: convert CSI param from table lookup to switch | Daniel Eklöf | 2019-12-20 | -2/+39 | |
| | | | |||||
| | * | vt: add missing 'entry' actions to 'anywhere' sections | Daniel Eklöf | 2019-12-20 | -2/+2 | |
| | | | |||||
| | * | vt: convert CSI entry from table lookup to switch | Daniel Eklöf | 2019-12-20 | -4/+39 | |
| | | | |||||
| | * | vt: re-align switches | Daniel Eklöf | 2019-12-20 | -67/+68 | |
| | | | |||||
| | * | vt: replace GROUND, ESCAPE and ESCAPE_INTERMEDIATE tables with switches | Daniel Eklöf | 2019-12-20 | -5/+115 | |
| | | | |||||
| | * | vt: use a switch instead of a top-level state lookup table | Daniel Eklöf | 2019-12-20 | -1/+26 | |
| |/ | | | | | Remove the top-level state lookup table, which mapped from a state enum to a state transition table, and replace it with a switch. | ||||
| * | script: generate-alt-random: reduce output size | Daniel Eklöf | 2019-12-19 | -1/+1 | |
| | | |||||
| * | PKGBUILD: run foot with the default configuration | Daniel Eklöf | 2019-12-19 | -1/+1 | |
| | | |||||
| * | osc: spell "#if 0" correctly | Daniel Eklöf | 2019-12-19 | -1/+1 | |
| | | |||||
| * | render: fix bug when erasing old cursor; send correct compositor damage | Daniel Eklöf | 2019-12-19 | -3/+3 | |
| | | |||||
| * | render: render_cell: break out cursor rendering | Daniel Eklöf | 2019-12-19 | -57/+68 | |
| | | |||||
| * | render: attrs_to_font: const:ify | Daniel Eklöf | 2019-12-19 | -2/+2 | |
| | | |||||
| * | osc: commented out beginning of OSC 777 | Daniel Eklöf | 2019-12-19 | -0/+23 | |
| | | | | | I haven't decided if I want to support this | ||||
| * | term: cursor blink reset doesn't force-refresh the cursor | Daniel Eklöf | 2019-12-19 | -2/+5 | |
| | | |||||
| * | term/render: check for is_shutting_down in grid_render() | Daniel Eklöf | 2019-12-19 | -3/+3 | |
| | | |||||
| * | main: verify locale is UTF-8 | Daniel Eklöf | 2019-12-19 | -2/+23 | |
| | | |||||
| * | term: remove TODO | Daniel Eklöf | 2019-12-19 | -4/+0 | |
| | | |||||
| * | cursor blink: move reset to pty input | Daniel Eklöf | 2019-12-19 | -3/+3 | |
| | | |||||
| * | render: get rid of 'all-clean' detection | Daniel Eklöf | 2019-12-17 | -22/+13 | |
| | | | | | | | | | | | | | | | | | | Instead of trying to figure out if we had to render something (i.e. something in the grid was dirty), and using that to determine whether to post a callback or not, we now let render_refresh() set a flag indication we need to render another frame. This simplifies render_grid(), which now _always_ renders, and pushes it to the compositor. The callback handler checks the pending flag and simply doesn't call render_grid() when there's no more pending state to render. This ends up reducing the number of wakeups when e.g. having a blinking cursor. | ||||
| * | render: move blink timer handling to term.c | Daniel Eklöf | 2019-12-17 | -51/+35 | |
| | | |||||
| * | completions: zsh: footclient: auto-complete files for -s,--server-socket | Daniel Eklöf | 2019-12-17 | -1/+1 | |
| | | |||||
| * | completions: zsh: add -c,--config | Daniel Eklöf | 2019-12-17 | -1/+2 | |
| | | |||||
| * | doc: foot.5: mention that setting workers=0 disables multithreading | Daniel Eklöf | 2019-12-17 | -4/+4 | |
| | | |||||
| * | doc: foot.1: add -c,--config | Daniel Eklöf | 2019-12-17 | -1/+4 | |
| | | |||||
| * | config: enable user to specify path to configuration file | Daniel Eklöf | 2019-12-17 | -35/+65 | |
| | | |||||
| * | main: remove unused macros | Daniel Eklöf | 2019-12-17 | -3/+0 | |
| | | |||||
| * | log: caller can control syslog level | Daniel Eklöf | 2019-12-17 | -7/+19 | |
| | | |||||
| * | render: render block cursor as a hollow rectangle when unfocused | Daniel Eklöf | 2019-12-16 | -14/+36 | |
| | | |||||
| * | input: restart cursor blink on keyboard input | Daniel Eklöf | 2019-12-16 | -0/+3 | |
| | | | | | This makes the cursor stay unblinking while typing. | ||||
| * | term: disable cursor blink on unfocus, and re-enable on focus | Daniel Eklöf | 2019-12-16 | -6/+14 | |
| | | |||||
| * | term: disable cursor blink before shutting down terminal, and remove from FDM | Daniel Eklöf | 2019-12-16 | -0/+4 | |
| | | |||||
| * | term: cursor blink: cursor refresh now dirties the cursor cell | Daniel Eklöf | 2019-12-16 | -5/+45 | |
| | | | | | | | | | Normally we don't dirty the cell on cursor movement. But, since a blinking cursor isn't a cursor that has moved, our normal cursor rendering wont work. Dirty the cursor cell to force a redraw of it. | ||||
| * | term: implement cursor blinking | Daniel Eklöf | 2019-12-15 | -9/+93 | |
| | | | | | | | | | | | | | | | Blinking can be enabled either by setting the cursor style with CSI Ps SP q and selecting a blinking style. Or, with 'CSI ? 12 h' Note that both affect the same internal state. I.e. you can disable blinking with CSI ? 12l after having selected a blinking cursor style. This is consistent with XTerm behavior. | ||||
| * | fdm: close fd even if we didn't find it in our list | Daniel Eklöf | 2019-12-15 | -0/+1 | |
| | | | | | | | This behavior is debatable, but helps in error handling where we're removing a bunch of descriptors where not all of them have been added to the FDM yet. | ||||
| * | PKGBUILD/meson: bump version to 1.0.01.0.0releases/1.0 | Daniel Eklöf | 2019-12-15 | -2/+2 | |
| | | |||||
| * | selection: optimize \r\n -> \n when receiving clipboard data | Daniel Eklöf | 2019-12-15 | -6/+14 | |
| | | | | | | | Instead of first memmoving, possibly lots of data lots of times, the received buffer, and _then_ calling the callback, simply call the callback multiple times, and just skip the \r character(s). | ||||
| * | vt: add commented out cases for 8-bit C1 control characters | Daniel Eklöf | 2019-12-14 | -0/+35 | |
| | | | | | | | | | | | XTerm seems to ignore these when in UTF-8 mode. Since we _only_ support UTF-8, we don't need to recognize these control characters at all. However, it may be good to have them here for reference. So add them, but commented out, along with their corresponding 7-bit versions (which we _do_ recognize and implement). | ||||
| * | csi: describe format of reply to tertiary DA | Daniel Eklöf | 2019-12-14 | -4/+10 | |
| | | |||||
| * | csi: Send Device Attributes, Tertiary DA: require Ps == 0 | Daniel Eklöf | 2019-12-14 | -4/+7 | |
| | | |||||
| * | client: strncpy() size limit must be less than destination size | Daniel Eklöf | 2019-12-14 | -1/+1 | |
| | | |||||
| * | client: add missing break after handling -t,--term | Daniel Eklöf | 2019-12-14 | -0/+1 | |
| | | |||||
| * | client: add 's:' to the list of recognized short options | Daniel Eklöf | 2019-12-14 | -1/+1 | |
| | | |||||
| * | Merge branch 'server-socket-path' | Daniel Eklöf | 2019-12-14 | -43/+76 | |
| |\ | |||||
| | * | completions: zsh: footclient: add -s,--server-socket | Daniel Eklöf | 2019-12-14 | -1/+2 | |
| | | | |||||
| | * | completions: zsh: foot: complete optional -s,--server PATH argument | Daniel Eklöf | 2019-12-14 | -2/+2 | |
| | | | |||||
| | * | doc: footclient.1: add -s,--server-socket | Daniel Eklöf | 2019-12-14 | -0/+3 | |
| | | | |||||
| | * | doc: foot.1: update with optional PATH argument to -s,--server | Daniel Eklöf | 2019-12-14 | -2/+6 | |
| | | | |||||
| | * | client: initialize/deinitialize the logging system | Daniel Eklöf | 2019-12-14 | -0/+2 | |
| | | | |||||
