aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* degesch: prefer British spelling in commentsPřemysl Eric Janouch2020-10-111-23/+23
| | | | Let's say the rest is in Oxford spelling, not sure about it.
* prime.lua: skip colour sequences, add configPřemysl Eric Janouch2020-10-111-16/+34
| | | | | | | | | Colour sequence skipping is somewhat involved, we might want to add a helper generator to the "degesch" Lua library, in the form of {substring, is_formatting}. formatter_parse_mirc() isn't useful, a pure Lua implementation would be more appropriate (where do we put that?)
* degesch: improve ad-hoc IRC parsers in pluginsPřemysl Eric Janouch2020-10-102-2/+2
|
* degesch: add a plugin to highlight prime numbersPřemysl Eric Janouch2020-10-101-0/+50
|
* Bump libertyPřemysl Eric Janouch2020-10-103-53/+1
| | | | resolve_relative_runtime_unique_filename() used to have a bug.
* degesch: fix prompt not showing up after changePřemysl Eric Janouch2020-10-061-5/+3
| | | | | | | | | | | | | When a backlog helper was running and the prompt changed, it failed to restore within input_rl_show(). Since before input_rl_show() is called the prompt is empty and in input_rl__restore() it will be changed to the new version, just skip invoking any Readline functions within input_rl_set_prompt() when the prompt is hidden. Simple and straight-forward. This bug is what I hinted at in the previous commit.
* README.adoc: update degesch instructionsPřemysl Eric Janouch2020-10-041-3/+2
| | | | There is still one outstanding issue with the backlog helper, though...
* degesch: enable wrapping in the backlog by defaultPřemysl Eric Janouch2020-10-041-1/+1
| | | | The main issue has been eliminated.
* degesch: resolve the issue with less(1) and SO/SIPřemysl Eric Janouch2020-10-041-10/+25
| | | | | | | | | Now that I've learnt what exactly these characters are and how they ended up in attribute strings, we can just eliminate them and disable `backlog_helper_strip_formatting`. Saner defaults, again. I've also added skipping of terminfo delay sequences, so now it's less of an issue to pipe raw attribute sequences into backlog helpers.
* degesch: make the unread marker look a bit fancierPřemysl Janouch2020-10-041-1/+27
| | | | | | | | | | | | | | | | | | Upstreamed after who knows how long, in a slightly modified form. The marker looks fairly ugly without this and defaults should be desirable. It's possible to get the previous behaviour by resetting the separator character in the configuration to an empty string. It might be a better idea in general to just disallow this value with a special validation callback, so that there's only one way to do it. However given that without fancy-prompt.lua, an optional plugin, the long line stands out considerably, it might actually be a good idea to keep the old behaviour as the default. I'm torn. Right now we don't care about the situation where the string occupies more than one terminal cell or is some Unicode BS. User's problem.
* degesch: fix a typoPřemysl Eric Janouch2020-10-041-1/+1
|
* degesch: make use of arguments in _new() functionsPřemysl Eric Janouch2020-10-041-10/+10
|
* degesch: save some memory on channel usersPřemysl Eric Janouch2020-10-041-26/+21
| | | | | `struct str` was mostly unnecessary, we can save 16+ bytes, while performance and code readability is mostly unchanged.
* degesch: expand comment about character encodingPřemysl Eric Janouch2020-10-021-2/+7
|
* Bump liberty, use iscntrl_ascii()Přemysl Eric Janouch2020-10-022-2/+2
|
* kike: silence an annoying build warningPřemysl Eric Janouch2020-09-201-13/+22
|
* degesch: remove unnecessary quotes from macro defsPřemysl Eric Janouch2020-09-201-16/+16
| | | | The behaviour is defined by the standard.
* degesch: update comment to reflect realityPřemysl Eric Janouch2020-09-201-1/+2
|
* Update NEWS, bump versionv0.9.8Přemysl Eric Janouch2020-09-022-1/+11
|
* Update copyright yearsPřemysl Eric Janouch2020-09-022-2/+2
|
* README: improve libasciidoc compatibilityPřemysl Eric Janouch2020-09-021-2/+5
|
* README: discourage from using libeditPřemysl Eric Janouch2020-09-021-0/+3
|
* degesch: work around a libedit attribute issuePřemysl Eric Janouch2020-09-021-3/+16
|
* degesch: fix a libedit crashPřemysl Eric Janouch2020-09-021-1/+2
|
* degesch: fix Lua 5.4 buildPřemysl Eric Janouch2020-09-022-2/+9
| | | | | | Not sure about how well it works yet. Lua 5.3 is still made preferential by the order of pkgconfig lookup.
* degesch: fix a pointer operation in the libedit layerPřemysl Eric Janouch2020-09-021-1/+2
|
* Bump libertyPřemysl Eric Janouch2020-09-021-0/+0
|
* Name changePřemysl Eric Janouch2020-09-0222-23/+23
|
* CMakeLists.txt: add a commentPřemysl Janouch2020-09-021-0/+2
|
* degesch: fix log reopening after a buffer renamePřemysl Janouch2020-03-231-2/+2
|
* degesch: clean up unused functionsPřemysl Janouch2020-03-221-32/+0
|
* Fix handling terminal resizes while the terminal is suspendedPřemysl Janouch2020-03-211-0/+2
| | | | GNU Readline has a misfeature.
* degesch: fix getpwuid usagePřemysl Janouch2019-12-071-0/+1
| | | | The "entry not found" case doesn't have to touch errno.
* Update NEWS, bump versionv0.9.7Přemysl Janouch2018-10-214-4/+7
|
* degesch: add a comment about ENOTCONNPřemysl Janouch2018-10-211-0/+2
|
* Update NEWSPřemysl Janouch2018-10-211-0/+14
|
* kike: fix wildcard handling in WHOISPřemysl Janouch2018-10-211-6/+6
|
* kike: allow STATS with no parametersPřemysl Janouch2018-10-211-4/+4
| | | | We were in plain conflict with RFC 2812 for no apparent reason.
* kike: explicit conversion from pointer to booleanPřemysl Janouch2018-08-011-1/+1
| | | | | In practice the values in the map may only be 1 or 0, so it doesn't matter, but in C it is better to be safe than sorry.
* kike: break out properly on errors in MODE processingPřemysl Janouch2018-08-011-1/+2
| | | | We used to only abort the inner loop, which was insufficient.
* kike: reset user modes while processing USERPřemysl Janouch2018-08-011-0/+1
| | | | | Since the processing always succeeds and registration cannot be undone, this doesn't seem to fix any real issue.
* kike: do nothing on equivalent renicksPřemysl Janouch2018-08-011-0/+4
|
* kike: code cleanupsPřemysl Janouch2018-08-011-4/+1
|
* kike: fix grammar in hostname validationPřemysl Janouch2018-08-011-1/+2
| | | | | This has an entry in RFC 2812 errata, although it's held for document update. We can afford the strictness.
* kike: fix grammar in config item descriptionPřemysl Janouch2018-08-011-1/+1
|
* kike: add a comment about identifier encodingPřemysl Janouch2018-08-011-0/+7
|
* Update NEWS, bump versionv0.9.6Přemysl Janouch2018-06-222-2/+6
|
* fancy-prompt.lua: workaround a Readline UTF-8 bugPřemysl Janouch2018-06-221-0/+4
|
* Bump libertyPřemysl Janouch2018-06-221-0/+0
|
* degesch: add static analysis for the loggerPřemysl Janouch2018-06-212-0/+16
| | | | | Caught two more occurences than I was able to find by just scanning the source, so the effort wasn't in vain.