| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | osc: fix scaling of RGB formatted color specifiers | Daniel Eklöf | 2020-05-02 | -3/+3 |
| | | ||||
| * | osc: OSC 12: mimic xterm - a color value of 0 means use inverted fg/bg | Daniel Eklöf | 2020-05-02 | -1/+4 |
| | | ||||
| * | osc: fix 'OSC 12 ?' to return the cursor color, not the cursor text color | Daniel Eklöf | 2020-05-02 | -3/+3 |
| | | ||||
| * | osc: fix scaling of legacy formatted color specifiers | Daniel Eklöf | 2020-05-02 | -3/+3 |
| | | ||||
| * | osc 104: handle multiple indices the same way we do in OSC 4 - use strtok() | Daniel Eklöf | 2020-04-04 | -14/+13 |
| | | ||||
| * | osc: 4: handle multiple idx;spec pairs | Daniel Eklöf | 2020-04-04 | -33/+34 |
| | | ||||
| * | osc: ignore OSC 7 when hostname doesn't match our own hostname | Daniel Eklöf | 2020-04-03 | -9/+28 |
| | | ||||
| * | osc: implement OSC 12 and OSC 112 (set/reset text cursor color) | Daniel Eklöf | 2020-01-20 | -0/+28 |
| | | ||||
| * | 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. | |||
| * | osc: spell "#if 0" correctly | Daniel Eklöf | 2019-12-19 | -1/+1 |
| | | ||||
| * | 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 | |||
| * | csi/ocs/vt: log unhandled/unrecognized sequences as debug messages | Daniel Eklöf | 2019-11-29 | -1/+1 |
| | | | | | | | | | Having them as error messages was nice when we where still missing lots of sequences. Now we don't anymore, and these just spam stdout as well as syslog when e.g. cat:ing binary data. | |||
| * | osc 52: default to 'clipboard' if no source/target has been specified | Daniel Eklöf | 2019-11-28 | -12/+26 |
| | | ||||
| * | osc: copy to/from clipboard: alias 's' to 'p' | Daniel Eklöf | 2019-11-19 | -5/+4 |
| | | | | | | | 'p' means 'primary', while 's' means 'selection'. Thus, a client can now request 'selection' clipboard data and will receive it from the primary selection. | |||
| * | selection: text_from_{clipboard,primary}: add 'done' callback | Daniel Eklöf | 2019-11-05 | -13/+22 |
| | | | | | | | | | This callback is *always* called, including when there has been an error. This is in preparation for making text_from_{clipboard,primary} asynchronous. | |||
| * | Rename: vt_to_slave() -> term_to_slave() | Daniel Eklöf | 2019-11-02 | -9/+9 |
| | | ||||
| * | term: wayland struct is now not a part of the terminal struct | Daniel Eklöf | 2019-10-27 | -3/+3 |
| | | | | | | | We do however need access to it, so provide a pointer. The difference is that now we can have a *single* wayland instance, but multiple terminal instances. | |||
| * | wayland: change all wayland callbacks to take a wayland pointer | Daniel Eklöf | 2019-10-27 | -3/+3 |
| | | | | | | Instead of passing the terminal to the wayland callbacks, pass a 'struct wayland' pointer. | |||
| * | osc: xparsecolor: parse 'legacy' colors | Daniel Eklöf | 2019-08-28 | -2/+46 |
| | | ||||
| * | osc: add debug logs when colors are changed and reset | Daniel Eklöf | 2019-08-21 | -1/+10 |
| | | ||||
| * | term: rename colors256 -> table | Daniel Eklöf | 2019-08-21 | -5/+5 |
| | | ||||
| * | term: use colors256 array for *all* colors | Daniel Eklöf | 2019-08-21 | -29/+5 |
| | | | | | | | That is, remove the 'regular' and 'bright' color arrays. This is possible since the 256-color array is defined such that the first 16 colors map to the regular and bright colors. | |||
| * | osc: fix indexing into 'bright' color array | Daniel Eklöf | 2019-08-21 | -3/+3 |
| | | ||||
| * | osc: implement "change color" commands | Daniel Eklöf | 2019-08-21 | -39/+203 |
| | | | | | | | | | | | | This implements OSC 4, 10, 11 - change <color>/foreground/background, and their corresponding 'query' variant (which was already implemented for OSC 10/11). It also implements OSC 104, 110, 111 - reset <color>/foreground/background. Set corresponding terminfo entries to signal this support to clients. | |||
| * | osc: implement copy/paste to/from primary | Daniel Eklöf | 2019-08-09 | -3/+8 |
| | | ||||
| * | osc: bug: uneven clipboard bytes where not buffered correctly | Daniel Eklöf | 2019-08-03 | -2/+4 |
| | | | | | | | | | | | | | When responding to a OSC 52 clipboard request, we need to base64 encode the clipboard data. This is done in, potentially, several calls. Since we need at least 3 bytes to be able to produce any base64 output, we may have to buffer up to 2 bytes between the callback calls with clipboard data. This was being done incorrectly, where both bytes were written to index 0 in the buffer. | |||
| * | osc: remove TODO | Daniel Eklöf | 2019-08-03 | -2/+0 |
| | | ||||
| * | osc: reduce flash interval to 50ms | Daniel Eklöf | 2019-07-30 | -2/+1 |
| | | ||||
| * | term: break out 'flash' to a separate 'term' function | Daniel Eklöf | 2019-07-30 | -13/+1 |
| | | ||||
| * | vt: remove almost all abort() calls | Daniel Eklöf | 2019-07-30 | -12/+8 |
| | | | | | | | Replace with generic error log messages that simply says the ESC/CSI/OSC sequence is unhandled. This can mean either invalid or unimplemented, depending on the context. | |||
| * | osc: ignore OSC 30 (konsole's "set tab title") | Daniel Eklöf | 2019-07-23 | -1/+7 |
| | | ||||
| * | term: group 'flash' state together in a struct | Daniel Eklöf | 2019-07-22 | -2/+2 |
| | | ||||
| * | flash: convert our own 'flash' from a CSI to an OSC | Daniel Eklöf | 2019-07-22 | -0/+24 |
| | | ||||
| * | term: track current window title in terminal struct | Daniel Eklöf | 2019-07-21 | -3/+3 |
| | | ||||
| * | term: prepare for configurable colors; add color variables to terminal | Daniel Eklöf | 2019-07-21 | -1/+1 |
| | | ||||
| * | osc: add TODO | Daniel Eklöf | 2019-07-19 | -0/+2 |
| | | ||||
| * | osc: delete empty line | Daniel Eklöf | 2019-07-19 | -1/+0 |
| | | ||||
| * | osc: implement OSC 52;c;? - query clipboard | Daniel Eklöf | 2019-07-19 | -38/+132 |
| | | ||||
| * | osc: initial implementation of OSC 52 - copy to clipboard | Daniel Eklöf | 2019-07-19 | -0/+64 |
| | | ||||
| * | osc: foreground/background reply is now in correct XParseColor format | Daniel Eklöf | 2019-07-19 | -4/+13 |
| | | | | | | The format we used previously was a discouraged and obsolete format (and incorrect too). | |||
| * | osc: allocate data buffer dynamically | Daniel Eklöf | 2019-07-19 | -0/+20 |
| | | ||||
| * | osc: terminate reply with ST rather than BEL | Daniel Eklöf | 2019-07-18 | -1/+1 |
| | | | | | | This is the preferred terminator anyway, and at least Emacs likes it a whole lot better. | |||
| * | osc: implement foreground/background query | Daniel Eklöf | 2019-07-18 | -3/+34 |
| | | ||||
| * | osc: recognize, but ignore, 112 (reset text cursor color) | Daniel Eklöf | 2019-07-16 | -0/+1 |
| | | ||||
| * | performance improvements | Daniel Eklöf | 2019-07-07 | -5/+4 |
| | | | | | | | | | | * action() returns void - this gets rid of checks in vt_from_slave() * split up ACTION_PRINT into ACTION_PRINT (ASCII) and ACTION_UTF8_PRINT ACTION_PRINT is on the hot path, and we want it streamlined. * Remove run-time checkout for unimplemented state transitions, as we shouldn't have any of those left. * Don't re-load current VT state on each iteration in vt_from_slave() | |||
| * | osc: recognize, but ignore, OSC 104 and OSC 105 | Daniel Eklöf | 2019-07-05 | -0/+4 |
| | | ||||
| * | osc: fix param calculation with more than one digit | Daniel Eklöf | 2019-07-05 | -0/+1 |
| | | ||||
| * | render: break out rendering functions to render.{c,h} | Daniel Eklöf | 2019-07-05 | -5/+3 |
| | | ||||
| * | osc: implement change window title and icon | Daniel Eklöf | 2019-07-05 | -1/+40 |
| | | ||||
| * | logging: disable debug logging by default | Daniel Eklöf | 2019-07-03 | -1/+1 |
| | | ||||
| * | wip: vt parsing: initial csi/osc dispatching | Daniel Eklöf | 2019-06-15 | -0/+12 |
