summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* xP: advance unread marker in an inactive tabPřemysl Eric Janouch2022-09-101-3/+6
|
* xP: improve line wrappingPřemysl Eric Janouch2022-09-101-7/+7
|
* xC-gen-proto: reduce enums to single bytesPřemysl Eric Janouch2022-09-103-11/+11
| | | | That's already way more than we can possibly use.
* xP: enhance mobile experiencePřemysl Eric Janouch2022-09-082-11/+16
| | | | The left column used to jump around, and phones were near-unusable.
* xP: allow setting a fixed WS URIPřemysl Eric Janouch2022-09-081-3/+10
| | | | For reverse proxies.
* xC/xP: finalize and implement Event.PINGPřemysl Eric Janouch2022-09-082-9/+20
|
* xC: use the relay protocol's RPC for pingsPřemysl Eric Janouch2022-09-082-10/+16
|
* xC/xP: mark highlights and buffer activityPřemysl Eric Janouch2022-09-085-19/+114
| | | | And more or less finalize out the protocol for this use case.
* xP: remember to differentiate todayPřemysl Eric Janouch2022-09-071-0/+4
|