| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | wayland: term_visual_focus_{in,out} handles already being focused/defocused | Daniel Eklöf | 2020-01-03 | -2/+2 |
| | | ||||
| * | term: visual_focus_{in,out}: do nothing if already focused/defocused | Daniel Eklöf | 2020-01-03 | -0/+6 |
| | | ||||
| * | wayland: xdg-toplevel-configure: no need to detect early configure events | Daniel Eklöf | 2020-01-03 | -7/+2 |
| | | | | | | | | | We can now lookup terminal instances at all times, making it unnecessary to detect "early" configure events. Note that we still need to prevent a resize from happening when width/height is 0. | |||
| * | term: term_init() calls wl_display_roundtrip() | Daniel Eklöf | 2020-01-03 | -3/+6 |
| | | | | | | | | | | | | | | Instead of having `wayl_win_init()` call `wl_display_roundtrip()` (which it itself doesn't need), call it from `term_init()`. This allows us to add ourselves (the new terminal instance) to the terminal list in the wayland backend, before triggering the wayland events caused by `wayl_win_init()`. This is turn allows the wayland backend to find/lookup the new terminal when those events occur.. | |||
| * | term: spell 'initialize' correctly | Daniel Eklöf | 2020-01-03 | -1/+1 |
| | | ||||
| * | render: draw_cursor: use terminal's visual focus to determine cursor shape | Daniel Eklöf | 2020-01-02 | -5/+3 |
| | | ||||
| * | wayland: xdg-top-level-configure: call term_visual_focus_{in,out} | Daniel Eklöf | 2020-01-02 | -1/+5 |
| | | ||||
| * | term: add term_visual_focus_{in,out} | Daniel Eklöf | 2020-01-02 | -8/+19 |
| | | | | | | | | These functions should be called when the terminal gets or loses visual focus. Note that this isn't necessarily the same as having keyboard focus. | |||
| * | input: keyboard-leave: move comment to where it belongs | Daniel Eklöf | 2020-01-02 | -3/+3 |
| | | ||||
| * | term: rename term_focus_{in,out} -> term_kbd_focus_{in,out} | Daniel Eklöf | 2020-01-02 | -6/+6 |
| | | ||||
| * | Merge branch 'master' into visual-focus | Daniel Eklöf | 2020-01-02 | -0/+0 |
| |\ | ||||
| | * | fcft: ignore `embeddedbitmap` for non-scalable fonts | Daniel Eklöf | 2020-01-02 | -0/+0 |
| | | | ||||
| * | | wayland: xdg-toplevel-configure: check for stateless configure calls | Daniel Eklöf | 2020-01-02 | -8/+11 |
| | | | | | | | | | | | Ignore configure calls without state, instead of checking for width/height == 0. | |||
| * | | wayland: ignore early configure calls | Daniel Eklöf | 2020-01-02 | -3/+4 |
| | | | | | | | | | | | At this point, not everything has been setup and we crash when trying to convert the surface pointer to a terminal pointer. | |||
| * | | term: add visually focused attribute to terminal struct | Daniel Eklöf | 2020-01-02 | -4/+14 |
| | | | ||||
| * | | wayland: rename focused/moused to kbd_focus/mouse_focus | Daniel Eklöf | 2020-01-02 | -34/+34 |
| |/ | ||||
| * | README: add missing '+' in keyboard shortcut ctrl+shift+w | Daniel Eklöf | 2020-01-01 | -1/+1 |
| | | ||||
| * | wayland: warn when presentation timings have been requested but is not supported | Daniel Eklöf | 2020-01-01 | -0/+4 |
| | | ||||
| * | Merge branch 'readme-pimping' | Daniel Eklöf | 2020-01-01 | -55/+48 |
| |\ | ||||
| | * | README: use footnote | Daniel Eklöf | 2020-01-01 | -2/+5 |
| | | | ||||
| | * | README: add keyboard::normal-mode and keyboard::scrollback-search to index | Daniel Eklöf | 2020-01-01 | -0/+2 |
| | | | ||||
| | * | README: use headings to separate normal key bindings from scrollback search bindings | Daniel Eklöf | 2020-01-01 | -3/+3 |
| | | | ||||
| | * | Revert "README: try removing empty lines between list items" | Daniel Eklöf | 2020-01-01 | -0/+4 |
| | | | | | | | | | This reverts commit 7e39d113b7471b67a50db2cfb22923898b6850f4. | |||
| | * | Revert "README: that didn't work - try with a hard line break" | Daniel Eklöf | 2020-01-01 | -2/+2 |
| | | | | | | | | | This reverts commit 7489cae576edbfbf1f0b6db36a3c657c0260f91c. | |||
| | * | README: that didn't work - try with a hard line break | Daniel Eklöf | 2020-01-01 | -2/+2 |
| | | | ||||
| | * | README: try removing empty lines between list items | Daniel Eklöf | 2020-01-01 | -4/+0 |
| | | | ||||
| | * | README: list items should be indented by **4** spaces | Daniel Eklöf | 2020-01-01 | -8/+9 |
| | | | ||||
| | * | 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 |
| | | ||||
