summaryrefslogtreecommitdiff
path: root/xP/public/xP.js
Commit message (Collapse)AuthorAgeFilesLines
* xP: bump copyright yearsPřemysl Eric Janouch2024-11-141-1/+1
|
* xP: cleanupPřemysl Eric Janouch2024-07-281-3/+1
| | | | I had forgotten about the auto-redraw system.
* xP: reset highlight state once reaching buffer endPřemysl Eric Janouch2024-07-281-0/+6
|
* xP: don't interrupt IME compositionPřemysl Eric Janouch2024-07-041-1/+1
| | | | | On Vivaldi/macOS, pressing Enter would send the input and still keep editing it as it was.
* xP: do not send the Referrer headerPřemysl Eric Janouch2024-03-041-2/+4
|
* xP: avoid expensive updates/refreshesPřemysl Eric Janouch2024-01-061-4/+16
|
* xP: don't let buffers grow indefinitelyPřemysl Eric Janouch2024-01-061-1/+12
| | | | Primarily for performance reasons.
* xP/xW: fix buffer rename handlingPřemysl Eric Janouch2023-08-251-0/+5
| | | | | Maintaining string pointers to the current/last buffer means that renames invalidate them.
* xP: make Page Up/Down in editor scroll the bufferPřemysl Eric Janouch2023-07-231-4/+17
| | | | | | | | Just like in xW recently. It is unlikely that the user would want to use these keys to move the cursor. Ctrl+Home/End still work, as does holding Up/Down arrows. Also stop using the deprecated and somewhat cryptic keyCode.
* xP: make middle click close buffersPřemysl Eric Janouch2023-04-131-0/+8
| | | | As if they were tabs, to save pointless typing.
* xP: make the buffer list selectable by VimiumPřemysl Eric Janouch2023-04-051-3/+4
|
* xP: render date changes as they happenPřemysl Eric Janouch2023-01-251-0/+14
|
* xP: fix ESC H detection on Macintosh systemsPřemysl Eric Janouch2022-10-041-0/+7
|
* 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
|