aboutsummaryrefslogtreecommitdiff
path: root/xC.c
Commit message (Collapse)AuthorAgeFilesLines
* WIP: Make the relay acknowledge received commandsPřemysl Eric Janouch24 hours1-10/+29
| | | | | | | | | | | | | xP now slightly throttles activity notifications, and indicates when there are unacknowledged commands. Relay events have been reordered to improve forward compatibility. As can be observed, even the smallest protocol change has great consequences. WIP: - xC: fix connection killing
* WIP: xC: force libedit into asynchronicityPřemysl Eric Janouch2025-04-261-0/+112
|
* xC: regard more characters as highlight delimitersPřemysl Eric Janouch2025-01-081-3/+1
| | | | Almost 10 years of a poor decision.
* xC: fix crash with too many topic formatting itemsPřemysl Eric Janouch2024-12-181-384/+381
| | | | | | | | Manually constructed formatters have no sentinel value. This is a one-line change in relay_prepare_channel_buffer_update(), however the whole block of "Relay output" code has been moved down, resolving one TODO and rendering two function prototypes unnecessary.
* xC: fix newer Readline, allow stdin streamingPřemysl Eric Janouch2024-12-171-3/+9
| | | | Also update NEWS.
* Fix calloc argument orderPřemysl Eric Janouch2024-08-081-3/+3
|
* Bump libertyPřemysl Eric Janouch2024-08-081-6/+6
|
* xC: expand a commentPřemysl Eric Janouch2024-07-281-1/+2
|
* xC: handle multiline server commands properlyPřemysl Eric Janouch2024-07-281-1/+3
| | | | | Additional lines might have been passed to the server intact as part of an argument, but we have /quote for that.
* xC: send missing relay events for newly added serversPřemysl Eric Janouch2023-08-251-0/+3
|
* xC: give the /away command a proper handlerPřemysl Eric Janouch2023-08-251-1/+10
| | | | Multiple words should be passed to the server as a single argument.
* xC: fix relay handling of missing log filesPřemysl Eric Janouch2023-07-281-12/+9
| | | | Intermediate error messages would trash the prepared static buffer.
* xC: fix Readline 6.3 compatibilityPřemysl Eric Janouch2023-07-241-1/+1
|
* xC: don't crash with unknown terminalsPřemysl Eric Janouch2023-07-071-1/+5
| | | | | It would be possible to avoid using cur_term fields in this case, but the program would likely be of little use anyway.
* Fix Cygwin build warningsPřemysl Eric Janouch2023-07-071-0/+1
|
* xC: fix an OpenBSD build warningPřemysl Eric Janouch2023-07-041-1/+1
| | | | sys/cdefs.h makes _XOPEN_SOURCE cause _POSIX_C_SOURCE to be overriden.
* xC: fix a harmless copy-paste errorPřemysl Eric Janouch2023-06-131-1/+1
|
* xC: improve the --format modePřemysl Eric Janouch2023-05-221-3/+18
| | | | | | | Avoid having formatting spill over the rest of the line, by placing the automatic formatting reset before newlines. Also handle longer lines properly.
* xC: fully synchronize input history with frontendsPřemysl Eric Janouch2022-10-051-20/+96
| | | | | | | | The missing parts were: - frontends to client - client to frontends after the initial sync - frontend to other frontends
* xC: clean upPřemysl Eric Janouch2022-09-301-2/+0
|
* xC/xP: send buffer input history during syncPřemysl Eric Janouch2022-09-301-1/+69
| | | | | This transfer is currenly quite simplistic, but it paves the way for further extensions.
* xC/xP: fix unseen message countingPřemysl Eric Janouch2022-09-281-19/+15
| | | | | | | | 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-1/+8
| | | | Just like in xC, only with some indication.
* xP: produce a custom font for IRC formattingPřemysl Eric Janouch2022-09-221-0/+1
| | | | | | Given that the generated file needs a manual adjustment, its small size, and the dependencies involved, it will be checked in to the repository.
* xC/xP: relay and render channel modesPřemysl Eric Janouch2022-09-211-31/+71
|
* xC/xP: relay and render channel topicsPřemysl Eric Janouch2022-09-211-86/+119
|
* xC: fix autocomplete in server buffersPřemysl Eric Janouch2022-09-201-2/+3
|
* xC/xP: show own user's info in frontendsPřemysl Eric Janouch2022-09-201-9/+28
|
* xC/xP: improve rendering of highlighting actionsPřemysl Eric Janouch2022-09-201-2/+2
|
* Make sure to always find installed pluginsPřemysl Eric Janouch2022-09-191-0/+1
|
* xC: improve Readline completionPřemysl Eric Janouch2022-09-181-0/+12
| | | | | | | | 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.
* 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
|
* xC/xP: implement M-H in the web frontendPřemysl Eric Janouch2022-09-161-10/+22
|
* xC: mildly optimize relay trafficPřemysl Eric Janouch2022-09-141-2/+14
|
* xC: silence some compiler warningsPřemysl Eric Janouch2022-09-111-10/+10
|
* xC/xP: send buffer type and server statePřemysl Eric Janouch2022-09-111-24/+112
| | | | Also make PM highlighting behaviour consistent.
* xC: clean upPřemysl Eric Janouch2022-09-111-9/+16
|
* xC: make terminal attributes abstractPřemysl Eric Janouch2022-09-111-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 allPřemysl Eric Janouch2022-09-101-0/+5
|
* 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
|
* xC/xP: only send buffer stats in the initial syncPřemysl Eric Janouch2022-09-101-0/+11
| | | | | The client and frontends track these separately, there is no need for hard synchronization.
* xC: use the relay protocol's RPC for pingsPřemysl Eric Janouch2022-09-081-10/+14
|
* xC/xP: mark highlights and buffer activityPřemysl Eric Janouch2022-09-081-0/+13
| | | | And more or less finalize out the protocol for this use case.
* xC: don't autoactivate buffers on forced JOINsPřemysl Eric Janouch2022-09-071-7/+42
|
* xP: resolve various issues, mostly in stylingPřemysl Eric Janouch2022-09-071-2/+2
|
* xP: implement buffer line leakagePřemysl Eric Janouch2022-09-071-6/+8
| | | | Rather than on redisplay, these get cleared on reconnect.
* xC: add a trivial /relay commandPřemysl Eric Janouch2022-09-071-0/+20
| | | | For there is otherwise no way of getting that information.