Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | xC/xP: implement M-H in the web frontend | Přemysl Eric Janouch | 2022-09-16 | 1 | -10/+22 |
| | |||||
* | xC: mildly optimize relay traffic | Přemysl Eric Janouch | 2022-09-14 | 1 | -2/+14 |
| | |||||
* | xC: silence some compiler warnings | Přemysl Eric Janouch | 2022-09-11 | 1 | -10/+10 |
| | |||||
* | xC/xP: send buffer type and server state | Přemysl Eric Janouch | 2022-09-11 | 1 | -24/+112 |
| | | | | Also make PM highlighting behaviour consistent. | ||||
* | xC: clean up | Přemysl Eric Janouch | 2022-09-11 | 1 | -9/+16 |
| | |||||
* | xC: make terminal attributes abstract | Přemysl Eric Janouch | 2022-09-11 | 1 | -214/+285 |
| | | | | | | | | And translate them for frontends. This is very long overdue, and a rather significant cleanup. Bump liberty. | ||||
* | xC/xP: support hiding unimportant messages at all | Přemysl Eric Janouch | 2022-09-10 | 1 | -0/+5 |
| | |||||
* | 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 |
| | |||||
* | xC/xP: only send buffer stats in the initial sync | Přemysl Eric Janouch | 2022-09-10 | 1 | -0/+11 |
| | | | | | The client and frontends track these separately, there is no need for hard synchronization. | ||||
* | xC: use the relay protocol's RPC for pings | Přemysl Eric Janouch | 2022-09-08 | 1 | -10/+14 |
| | |||||
* | xC/xP: mark highlights and buffer activity | Přemysl Eric Janouch | 2022-09-08 | 1 | -0/+13 |
| | | | | And more or less finalize out the protocol for this use case. | ||||
* | xC: don't autoactivate buffers on forced JOINs | Přemysl Eric Janouch | 2022-09-07 | 1 | -7/+42 |
| | |||||
* | xP: resolve various issues, mostly in styling | Přemysl Eric Janouch | 2022-09-07 | 1 | -2/+2 |
| | |||||
* | xP: implement buffer line leakage | Přemysl Eric Janouch | 2022-09-07 | 1 | -6/+8 |
| | | | | Rather than on redisplay, these get cleared on reconnect. | ||||
* | xC: add a trivial /relay command | Přemysl Eric Janouch | 2022-09-07 | 1 | -0/+20 |
| | | | | For there is otherwise no way of getting that information. | ||||
* | xC: use liberty logging less | Přemysl Eric Janouch | 2022-09-07 | 1 | -4/+7 |
| | | | | | These messages cannot be relayed to frontends (they could be, but it's useful to keep them distinct rather than redirected). | ||||
* | xC: describe general.editor parse errors | Přemysl Eric Janouch | 2022-09-07 | 1 | -7/+12 |
| | |||||
* | xC: define critical bindings after el_source() | Přemysl Eric Janouch | 2022-09-06 | 1 | -7/+6 |
| | | | | And use ^C rather than ^G. | ||||
* | xC: implement buffer completion in the relay | Přemysl Eric Janouch | 2022-09-06 | 1 | -66/+98 |
| | | | | | And actually support completion with non-UTF-8 locales. We used to ignore the encoding conversion result. | ||||
* | xC/xP: pass timestamps with millisecond precision | Přemysl Eric Janouch | 2022-09-06 | 1 | -1/+1 |
| | | | | Future-proofing the protocol. | ||||
* | xC/xP: turn the action asterisk into a rendition | Přemysl Eric Janouch | 2022-09-05 | 1 | -8/+10 |
| | |||||
* | xC/xP: fix colour values, and render them with CSS | Přemysl Eric Janouch | 2022-09-05 | 1 | -3/+6 |
| | |||||
* | xC: also force monospace for RPL_MOTDSTART | Přemysl Eric Janouch | 2022-09-05 | 1 | -0/+1 |
| | | | | It tends to looks inconsistent without. | ||||
* | Start X11 and web frontends for xC | Přemysl Eric Janouch | 2022-09-05 | 1 | -43/+742 |
| | | | | | | | | | | | | | | | For this, we needed a wire protocol. After surveying available options, it was decided to implement an XDR-like protocol code generator in portable AWK. It now has two backends, per each of: - xF, the X11 frontend, is in C, and is meant to be the primary user interface in the future. - xP, the web frontend, relies on a protocol proxy written in Go, and is meant for use on-the-go (no pun intended). They are very much work-in-progress proofs of concept right now, and the relay protocol is certain to change. | ||||
* | xC: slightly clean up character encodings | Přemysl Eric Janouch | 2022-09-02 | 1 | -2/+5 |
| | |||||
* | xC: clean up logging | Přemysl Eric Janouch | 2022-09-02 | 1 | -57/+74 |
| | | | | | | Don't treat rendition as flags, separate the two. Also treat join and part arrows as rendition. | ||||
* | xC: make alias creation tolerant to prefixed names | Přemysl Eric Janouch | 2022-08-29 | 1 | -1/+2 |
| | | | | | | | Those would not work, so skip the first forward slash. Note that liberty can save arbitrary alias names since 6e93119, making the removed comment about checking outdated. | ||||
* | xC: deal with conflicts when renaming buffers | Přemysl Eric Janouch | 2022-08-29 | 1 | -7/+3 |
| | |||||
* | xC: deal with any identifier conflicts | Přemysl Eric Janouch | 2022-08-29 | 1 | -3/+16 |
| | | | | | Invalid UTF-8 converted to UTF-8 may conflict with that which was valid UTF-8 in the first place. | ||||
* | xC: fix some corner cases around terminal handling | Přemysl Eric Janouch | 2022-08-29 | 1 | -3/+13 |
| | |||||
* | xC: use the correct way of resetting libedit | Přemysl Eric Janouch | 2022-08-29 | 1 | -38/+13 |
| | | | | | The only remaining major annoyance is incremental search seemingly not giving back control. | ||||
* | xC: make libedit history switching more reliable | Přemysl Eric Janouch | 2022-08-29 | 1 | -0/+2 |
| | |||||
* | xC: improve libedit multiline input handling | Přemysl Eric Janouch | 2022-08-29 | 1 | -0/+4 |
| | |||||
* | xC: erase remaining mentions of a "backlog helper" | Přemysl Eric Janouch | 2022-08-29 | 1 | -4/+4 |
| | |||||
* | xC: don't autosave when nothing changed | Přemysl Eric Janouch | 2022-08-29 | 1 | -10/+13 |
| | |||||
* | xC: move TEXT_* constants where they belong | Přemysl Eric Janouch | 2022-08-27 | 1 | -12/+12 |
| | |||||
* | xC: normalize BSD Editline's history behaviour | Přemysl Eric Janouch | 2022-08-27 | 1 | -10/+43 |
| | | | | Now it's a realistically useful frontend. | ||||
* | xC: general.save_on_quit -> general.autosave | Přemysl Eric Janouch | 2022-08-27 | 1 | -5/+7 |
| | | | | | Power outages and similar situations make the former unreliable, so get rid of any false promise it might seem to give. | ||||
* | xC: revise configuration options | Přemysl Eric Janouch | 2022-08-27 | 1 | -96/+98 |
| | | | | | | | | | | | This commit constitutes a breaking change to old configurations. All behaviour.* options have now become general.*, with the following few renames as exceptions: - editor_command -> editor - backlog_helper -> pager - backlog_helper_strip_formatting -> pager_strip_formatting | ||||
* | xC: label code sections better | Přemysl Eric Janouch | 2022-08-27 | 1 | -9/+9 |
| | | | | Introduce tildes as a new sublevel of markers. | ||||
* | xC: make fancy-prompt.lua alignment more reliable | Přemysl Eric Janouch | 2022-08-27 | 1 | -3/+30 |
| | | | | And generally clean up that script. | ||||
* | Bump copyright years | Přemysl Eric Janouch | 2022-08-17 | 1 | -1/+1 |
| | |||||
* | xC: expand behaviour.editor_command examples | Přemysl Eric Janouch | 2022-08-14 | 1 | -1/+9 |
| | |||||
* | xC: improve backlog helper capabilities | Přemysl Eric Janouch | 2022-08-14 | 1 | -12/+19 |
| | | | | | | | | | | | | | | | | | | | Snippets now receive positional parameters in the form of the buffer's name in the locale encoding, and a filename if applicable (we keep passing stdin along with the filename, which happens to work out well for less(1)). The default value of the configuration option also no longer uses the "long prompt", which used to unhelpfully tell position in terms of lines, but rather sets its own prompt that counts pages, and makes sure to indicate the source buffer. The main motivation behind this change is to make the 'v' command work in less(1). LESSSECURE must be omitted from the snippet for this to work. Bump liberty to receive a config parser that allows for less convoluted escaping. | ||||
* | xC, xD: add basic WALLOPS support | Přemysl Eric Janouch | 2022-02-04 | 1 | -0/+11 |
| | |||||
* | xC: quote text coming from a bracketed paste | Přemysl Eric Janouch | 2021-10-30 | 1 | -3/+39 |
| | | | | Not having this has caused me much annoyance over the years. | ||||
* | xC: allow passing the cursor position to editors | Přemysl Eric Janouch | 2021-10-30 | 1 | -11/+114 |
| | | | | | | | | | | | | | | | | | | | Add a configuration option to set a custom editor command, different from EDITOR or VISUAL--those remain as defaults. Implement substitutions allowing to convey cursor information to VIM and Emacs (the latter of which is fairly painful to cater to), and put usage hints in the configuration option's description. This should make the editing experience a bit more seamless for users, even though the position is carried over in one way only. No sophisticated quoting capabilities were deemed necessary, it is a lot of code already. The particular syntax is inspired by .desktop files and systemd. ["/bin/sh", "-c", "vim +$2go \"$1\"", filename, position, line, column] would be a slightly simpler but cryptic way of implementing this. |