aboutsummaryrefslogtreecommitdiff
path: root/xP/public/xP.js
Commit message (Collapse)AuthorAgeFilesLines
* xC/xP: send buffer input history during syncPřemysl Eric Janouch2022-09-301-0/+9
| | | | | This transfer is currenly quite simplistic, but it paves the way for further extensions.
* xP: fix automatic scrolling downPřemysl Eric Janouch2022-09-281-7/+7
| | | | | Showing channel logs cancelled the AbortController forever. Thus store it within vnodes.
* xC/xP: fix unseen message countingPřemysl Eric Janouch2022-09-281-1/+1
| | | | | | | | xC: advance unread message counters even with leaked messages, and don't unnecessarily set the highlighted flag. Plus clean up. xP: make leaked non-unimportant messages advance the counter for unimportant messages, so that the buffer doesn't get emboldened.
* xP: support adding formatting from keyboardPřemysl Eric Janouch2022-09-231-24/+58
| | | | Just like in xC, only with some indication.
* xP: fix up link detectionPřemysl Eric Janouch2022-09-231-1/+1
| | | | Allow balanced parantheses at the end of a link.
* xP: add formatting buttonsPřemysl Eric Janouch2022-09-231-2/+28
| | | | | | And fix autoscroll autoenabler, as well as toolbar padding. Only add the basic toggles, which should be well supported.
* xC/xP: relay and render channel modesPřemysl Eric Janouch2022-09-211-2/+5
|
* xP: only care about RPC results if requestedPřemysl Eric Janouch2022-09-211-6/+13
| | | | This prevents "No response" errors from firing for most commands.
* xC/xP: relay and render channel topicsPřemysl Eric Janouch2022-09-211-49/+58
|
* xP: improve pagingPřemysl Eric Janouch2022-09-211-18/+19
|
* xP: clean up DOM attributesPřemysl Eric Janouch2022-09-211-1/+1
|
* xC/xP: show own user's info in frontendsPřemysl Eric Janouch2022-09-201-4/+11
|
* xP: make the prompt look more xC-likePřemysl Eric Janouch2022-09-191-11/+17
|
* xP: show all completion optionsPřemysl Eric Janouch2022-09-181-7/+35
|
* 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
|
* xP: make non-connected states more apparentPřemysl Eric Janouch2022-09-161-5/+9
|
* xC/xP: implement M-H in the web frontendPřemysl Eric Janouch2022-09-161-0/+8
|
* xP: use the binary protocol for incoming eventsPřemysl Eric Janouch2022-09-161-97/+103
| | | | | | | | | | | | | | 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: speed up log decodingPřemysl Eric Janouch2022-09-151-2/+4
|
* xP: pass all events through one handlerPřemysl Eric Janouch2022-09-141-36/+40
| | | | This is a mild clean up.
* 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-131-17/+13
| | | | | | | | 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.
* xP: bind buffer iteration to M-PageUp/PageDownPřemysl Eric Janouch2022-09-111-4/+21
|
* xP: indicate hidden buffer linesPřemysl Eric Janouch2022-09-111-1/+13
|
* xC/xP: send buffer type and server statePřemysl Eric Janouch2022-09-111-4/+47
| | | | Also make PM highlighting behaviour consistent.
* 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.
* 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-101-4/+7
|
* 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-101-11/+20
| | | | | 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: 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
|
* xC/xP: finalize and implement Event.PINGPřemysl Eric Janouch2022-09-081-1/+6
|
* xC/xP: mark highlights and buffer activityPřemysl Eric Janouch2022-09-081-16/+71
| | | | And more or less finalize out the protocol for this use case.
* xP: remember to differentiate todayPřemysl Eric Janouch2022-09-071-0/+4
|
* xP: use an industry-standard name for a buttonPřemysl Eric Janouch2022-09-071-1/+1
|
* xP: resolve various issues, mostly in stylingPřemysl Eric Janouch2022-09-071-2/+4
|