aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* xC: improve Readline completionPřemysl Eric Janouch2022-09-182-0/+15
| | | | | | | | The autocomplete for /set used to be extremely annoying, and menu-complete-display-prefix also prevents mistaken highlights. One downside is that using plain Tab in channels no longer just inserts the last-talking nickname, one needs to press it twice.
* xP: implement Readline's M-l, M-u, M-cPřemysl Eric Janouch2022-09-181-4/+43
|
* xP: implement Readline's M-b and M-fPřemysl Eric Janouch2022-09-181-0/+29
|
* xP: implement Readline's M-< and M->Přemysl Eric Janouch2022-09-181-36/+49
|
* xC: reorganize relay code, improve loggingPřemysl Eric Janouch2022-09-171-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() failurePřemysl Eric Janouch2022-09-171-4/+8
| | | | Just disable the relay.
* xC: clean upPřemysl Eric Janouch2022-09-171-2/+3
|
* Update some documentationPřemysl Eric Janouch2022-09-162-6/+7
|
* xP: make non-connected states more apparentPřemysl Eric Janouch2022-09-162-5/+19
|
* xC/xP: implement M-H in the web frontendPřemysl Eric Janouch2022-09-163-15/+39
|
* xP: abandon the idea of a configuration filePřemysl Eric Janouch2022-09-161-2/+0
|
* xP: use the binary protocol for incoming eventsPřemysl Eric Janouch2022-09-165-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 generatorPřemysl Eric Janouch2022-09-151-5/+5
|
* xP: further optimize JSON marshallingPřemysl Eric Janouch2022-09-151-20/+27
|
* xP: speed up log decodingPřemysl Eric Janouch2022-09-151-2/+4
|
* xP: fix log JSON serializationPřemysl Eric Janouch2022-09-151-0/+9
|
* xP: use buffered readsPřemysl Eric Janouch2022-09-141-4/+6
|
* xP: generate our own JSON marshallersPřemysl Eric Janouch2022-09-142-8/+65
| | | | | For non-trivial types, which are expensive to serialize with encoding/json's struct reflection.
* xP: pass all events through one handlerPřemysl Eric Janouch2022-09-141-36/+40
| | | | This is a mild clean up.
* xP: parallelize event reception and sendingPřemysl Eric Janouch2022-09-141-54/+92
| | | | | Still trying to make the frontend load tolerably fast, still unsuccessfully.
* xP: move to a WebSocket package with compressionPřemysl Eric Janouch2022-09-143-15/+100
| | | | | Compression happens to be broken in Safari, though luckily there are friendlier browsers one can use.
* xC: mildly optimize relay trafficPřemysl Eric Janouch2022-09-141-2/+14
|
* xP: remove debugging protocol logs from JSPřemysl Eric Janouch2022-09-141-4/+2
|
* xP: adjust buffer list iteration and stylingPřemysl Eric Janouch2022-09-132-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 goodPřemysl Eric Janouch2022-09-121-7/+18
|
* xP: improve favicon behaviourPřemysl Eric Janouch2022-09-121-12/+25
| | | | | Make it black when disconnected, and orange when the document is hidden but the current tab is highlighted.
* xC: silence some compiler warningsPřemysl Eric Janouch2022-09-111-10/+10
|
* xP: bind buffer iteration to M-PageUp/PageDownPřemysl Eric Janouch2022-09-111-4/+21
|
* xP: indicate hidden buffer linesPřemysl Eric Janouch2022-09-112-3/+24
|
* xC/xP: send buffer type and server statePřemysl Eric Janouch2022-09-114-35/+201
| | | | Also make PM highlighting behaviour consistent.
* xC: clean upPřemysl Eric Janouch2022-09-111-9/+16
|
* xP: change the favicon when highlightedPřemysl Eric Janouch2022-09-111-2/+33
|
* xP: fix non-ASCII text completionPřemysl Eric Janouch2022-09-111-3/+13
|
* xP: beep on highlightPřemysl Eric Janouch2022-09-111-13/+35
| | | | 800 Hz seems like it could match a POST beep.
* xP: add basic buffer input historyPřemysl Eric Janouch2022-09-111-16/+82
| | | | | | Bind M-p and M-n as in xC. Also make all our bindings reachable on macOS.
* xC: make terminal attributes abstractPřemysl Eric Janouch2022-09-114-225/+312
| | | | | | | | And translate them for frontends. This is very long overdue, and a rather significant cleanup. Bump liberty.
* xP: remember buffer input selectionsPřemysl Eric Janouch2022-09-111-5/+10
|
* xP: bind M-h to toggle history, and adjust focusPřemysl Eric Janouch2022-09-101-21/+31
|
* xP: handle the M-Tab binding from xCPřemysl Eric Janouch2022-09-101-16/+25
|
* xP: handle M-a and M-! bindings from xCPřemysl Eric Janouch2022-09-101-0/+23
|
* xC/xP: support hiding unimportant messages at allPřemysl Eric Janouch2022-09-103-4/+13
|
* xC: deal with so far unexpected multiline messagesPřemysl Eric Janouch2022-09-101-9/+17
| | | | And get rid of an outdated unmarked TODO comment.
* xC: split Command.BUFFER_INPUT on newlinesPřemysl Eric Janouch2022-09-101-26/+25
|
* xP: also scroll to bottom on window resizePřemysl Eric Janouch2022-09-101-5/+13
|
* xC/xP: only send buffer stats in the initial syncPřemysl Eric Janouch2022-09-103-13/+35
| | | | | The client and frontends track these separately, there is no need for hard synchronization.
* xP: detect links in the logPřemysl Eric Janouch2022-09-101-8/+21
|
* xP: only allow vertical textarea resizingPřemysl Eric Janouch2022-09-101-0/+1
|
* xP: fix command sequence number generationPřemysl Eric Janouch2022-09-101-1/+2
|
* xP: open links in a new tab/windowPřemysl Eric Janouch2022-09-101-1/+1
|
* xP: advance unread marker when the log is visiblePřemysl Eric Janouch2022-09-101-1/+1
|