Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | xC: reorganize relay code, improve logging | Přemysl Eric Janouch | 2022-09-17 | 1 | -224/+228 |
| | | | | | | | Even with one forward function declaration down, it was possible to move most code to a more convenient location. Most logging has thus been fixed to go to buffers. | ||||
* | xC: don't abort on accept() failure | Přemysl Eric Janouch | 2022-09-17 | 1 | -4/+8 |
| | | | | Just disable the relay. | ||||
* | xC: clean up | Přemysl Eric Janouch | 2022-09-17 | 1 | -2/+3 |
| | |||||
* | Update some documentation | Přemysl Eric Janouch | 2022-09-16 | 2 | -6/+7 |
| | |||||
* | xP: make non-connected states more apparent | Přemysl Eric Janouch | 2022-09-16 | 2 | -5/+19 |
| | |||||
* | xC/xP: implement M-H in the web frontend | Přemysl Eric Janouch | 2022-09-16 | 3 | -15/+39 |
| | |||||
* | xP: abandon the idea of a configuration file | Přemysl Eric Janouch | 2022-09-16 | 1 | -2/+0 |
| | |||||
* | xP: use the binary protocol for incoming events | Přemysl Eric Janouch | 2022-09-16 | 5 | -138/+412 |
| | | | | | | | | | | | | | | And batch event messages together as much as possible. JSON has proven itself to be really slow (for example, encoding/json.Marshaler is a slow interface), and browsers have significant overhead per WS message. Commands are still sent as JSON, sending them in binary would be a laborious rewrite without measurable merits. The xP server now only prints debug output when requested, because that was another source of major slowdowns. | ||||
* | xP: improve comments in protocol code generator | Přemysl Eric Janouch | 2022-09-15 | 1 | -5/+5 |
| | |||||
* | xP: further optimize JSON marshalling | Přemysl Eric Janouch | 2022-09-15 | 1 | -20/+27 |
| | |||||
* | xP: speed up log decoding | Přemysl Eric Janouch | 2022-09-15 | 1 | -2/+4 |
| | |||||
* | xP: fix log JSON serialization | Přemysl Eric Janouch | 2022-09-15 | 1 | -0/+9 |
| | |||||
* | xP: use buffered reads | Přemysl Eric Janouch | 2022-09-14 | 1 | -4/+6 |
| | |||||
* | xP: generate our own JSON marshallers | Přemysl Eric Janouch | 2022-09-14 | 2 | -8/+65 |
| | | | | | For non-trivial types, which are expensive to serialize with encoding/json's struct reflection. | ||||
* | xP: pass all events through one handler | Přemysl Eric Janouch | 2022-09-14 | 1 | -36/+40 |
| | | | | This is a mild clean up. | ||||
* | xP: parallelize event reception and sending | Přemysl Eric Janouch | 2022-09-14 | 1 | -54/+92 |
| | | | | | Still trying to make the frontend load tolerably fast, still unsuccessfully. | ||||
* | xP: move to a WebSocket package with compression | Přemysl Eric Janouch | 2022-09-14 | 3 | -15/+100 |
| | | | | | Compression happens to be broken in Safari, though luckily there are friendlier browsers one can use. | ||||
* | xC: mildly optimize relay traffic | Přemysl Eric Janouch | 2022-09-14 | 1 | -2/+14 |
| | |||||
* | xP: remove debugging protocol logs from JS | Přemysl Eric Janouch | 2022-09-14 | 1 | -4/+2 |
| | |||||
* | xP: adjust buffer list iteration and styling | Přemysl Eric Janouch | 2022-09-13 | 2 | -23/+15 |
| | | | | | | | | M-a and M-! should iterate, rather than keep jumping back to the same buffers. The current item wasn't visible enough, and it jumped around in my 1.5-scale Firefox. | ||||
* | xP: deal with macOS/Blink for good | Přemysl Eric Janouch | 2022-09-12 | 1 | -7/+18 |
| | |||||
* | xP: improve favicon behaviour | Přemysl Eric Janouch | 2022-09-12 | 1 | -12/+25 |
| | | | | | Make it black when disconnected, and orange when the document is hidden but the current tab is highlighted. | ||||
* | xC: silence some compiler warnings | Přemysl Eric Janouch | 2022-09-11 | 1 | -10/+10 |
| | |||||
* | xP: bind buffer iteration to M-PageUp/PageDown | Přemysl Eric Janouch | 2022-09-11 | 1 | -4/+21 |
| | |||||
* | xP: indicate hidden buffer lines | Přemysl Eric Janouch | 2022-09-11 | 2 | -3/+24 |
| | |||||
* | xC/xP: send buffer type and server state | Přemysl Eric Janouch | 2022-09-11 | 4 | -35/+201 |
| | | | | Also make PM highlighting behaviour consistent. | ||||
* | xC: clean up | Přemysl Eric Janouch | 2022-09-11 | 1 | -9/+16 |
| | |||||
* | xP: change the favicon when highlighted | Přemysl Eric Janouch | 2022-09-11 | 1 | -2/+33 |
| | |||||
* | xP: fix non-ASCII text completion | Přemysl Eric Janouch | 2022-09-11 | 1 | -3/+13 |
| | |||||
* | xP: beep on highlight | Přemysl Eric Janouch | 2022-09-11 | 1 | -13/+35 |
| | | | | 800 Hz seems like it could match a POST beep. | ||||
* | xP: add basic buffer input history | Přemysl Eric Janouch | 2022-09-11 | 1 | -16/+82 |
| | | | | | | Bind M-p and M-n as in xC. Also make all our bindings reachable on macOS. | ||||
* | xC: make terminal attributes abstract | Přemysl Eric Janouch | 2022-09-11 | 4 | -225/+312 |
| | | | | | | | | And translate them for frontends. This is very long overdue, and a rather significant cleanup. Bump liberty. | ||||
* | xP: remember buffer input selections | Přemysl Eric Janouch | 2022-09-11 | 1 | -5/+10 |
| | |||||
* | xP: bind M-h to toggle history, and adjust focus | Přemysl Eric Janouch | 2022-09-10 | 1 | -21/+31 |
| | |||||
* | xP: handle the M-Tab binding from xC | Přemysl Eric Janouch | 2022-09-10 | 1 | -16/+25 |
| | |||||
* | xP: handle M-a and M-! bindings from xC | Přemysl Eric Janouch | 2022-09-10 | 1 | -0/+23 |
| | |||||
* | xC/xP: support hiding unimportant messages at all | Přemysl Eric Janouch | 2022-09-10 | 3 | -4/+13 |
| | |||||
* | xC: deal with so far unexpected multiline messages | Přemysl Eric Janouch | 2022-09-10 | 1 | -9/+17 |
| | | | | And get rid of an outdated unmarked TODO comment. | ||||
* | xC: split Command.BUFFER_INPUT on newlines | Přemysl Eric Janouch | 2022-09-10 | 1 | -26/+25 |
| | |||||
* | xP: also scroll to bottom on window resize | Přemysl Eric Janouch | 2022-09-10 | 1 | -5/+13 |
| | |||||
* | xC/xP: only send buffer stats in the initial sync | Přemysl Eric Janouch | 2022-09-10 | 3 | -13/+35 |
| | | | | | The client and frontends track these separately, there is no need for hard synchronization. | ||||
* | xP: detect links in the log | Přemysl Eric Janouch | 2022-09-10 | 1 | -8/+21 |
| | |||||
* | xP: only allow vertical textarea resizing | Přemysl Eric Janouch | 2022-09-10 | 1 | -0/+1 |
| | |||||
* | xP: fix command sequence number generation | Přemysl Eric Janouch | 2022-09-10 | 1 | -1/+2 |
| | |||||
* | xP: open links in a new tab/window | Přemysl Eric Janouch | 2022-09-10 | 1 | -1/+1 |
| | |||||
* | xP: advance unread marker when the log is visible | Přemysl Eric Janouch | 2022-09-10 | 1 | -1/+1 |
| | |||||
* | xP: advance unread marker in an inactive tab | Přemysl Eric Janouch | 2022-09-10 | 1 | -3/+6 |
| | |||||
* | xP: improve line wrapping | Přemysl Eric Janouch | 2022-09-10 | 1 | -7/+7 |
| | |||||
* | xC-gen-proto: reduce enums to single bytes | Přemysl Eric Janouch | 2022-09-10 | 3 | -11/+11 |
| | | | | That's already way more than we can possibly use. | ||||
* | xP: enhance mobile experience | Přemysl Eric Janouch | 2022-09-08 | 2 | -11/+16 |
| | | | | The left column used to jump around, and phones were near-unusable. |