aboutsummaryrefslogtreecommitdiff
path: root/degesch.c
Commit message (Collapse)AuthorAgeFilesLines
* degesch: Lua: allow simulating user inputPřemysl Janouch2016-01-141-1/+23
| | | | Also added UTF-8 validation to buffer:log() while I'm at it.
* Bump liberty, shuffle some codePřemysl Janouch2016-01-141-94/+94
|
* degesch: Lua: pass hostname to on_connectedPřemysl Janouch2016-01-091-3/+3
|
* degesch: Lua: set sockets to nonblockingPřemysl Janouch2016-01-091-0/+1
|
* Bump libertyPřemysl Janouch2016-01-091-1/+0
|
* degesch: Lua: actually allow filtering out inputPřemysl Janouch2016-01-091-0/+4
|
* degesch: Lua: provide a traceback on load errorPřemysl Janouch2016-01-091-4/+9
|
* degesch: Lua: fix plugin configuration namesPřemysl Janouch2016-01-091-1/+10
|
* degesch: Lua: fix luaL_ref() usagePřemysl Janouch2016-01-091-11/+10
|
* degesch: Lua: fix configuration loadingPřemysl Janouch2016-01-091-6/+11
| | | | Not the cleanest solution but it has to do for now.
* degesch: make sure newlines are output correctlyPřemysl Janouch2016-01-081-0/+8
|
* degesch: Lua: finish implementation of connectionPřemysl Janouch2016-01-071-4/+182
|
* degesch: Lua: avoid resource leakPřemysl Janouch2016-01-071-10/+16
| | | | If a connector's on_success callback fails, we need to destroy the connection.
* Factor out socket_io_try_{read,write}()Přemysl Janouch2016-01-071-80/+45
| | | | To be reused in Lua connection API.
* degesch: fix handling of input editor deathPřemysl Janouch2016-01-071-4/+12
|
* degesch: fix switching of buffers by commandPřemysl Janouch2016-01-071-8/+27
| | | | | | Readline used to erase the new buffer's contents. Defer processing.
* degesch: Lua: fix a resource leakPřemysl Janouch2016-01-061-2/+6
|
* degesch: refactor LuaPřemysl Janouch2016-01-051-93/+62
| | | | And fix handling of nil returns from filter callbacks.
* degesch: Lua: halfplement a connector wrapperPřemysl Janouch2016-01-051-5/+237
| | | | You can't do anything reasonable with the socket now.
* degesch: Lua: allow arbitrary userdata propertiesPřemysl Janouch2016-01-041-2/+35
|
* degesch: Lua: use references for hook callbacksPřemysl Janouch2016-01-041-10/+8
| | | | | Don't associate the callback with the full userdata object, we'll need this for something else.
* degesch: add basic autocomplete for /topicPřemysl Janouch2016-01-041-1/+28
|
* Bump liberty, enable TLS SNIPřemysl Janouch2016-01-041-30/+18
| | | | | | | Involves some rewrites to fit the new APIs. SNI has been implemented Mostly just because we can, I don't think it's widely in use and kike doesn't support this feature of the protocol either.
* degesch: fix a memory leak under libeditPřemysl Janouch2016-01-011-14/+19
|
* degesch: fix segfault on /quit under libeditPřemysl Janouch2015-12-311-5/+5
|
* degesch: Alt-Tab switch to the last bufferPřemysl Janouch2015-12-311-0/+31
|
* degesch: avoid fileno() after fork()Přemysl Janouch2015-12-311-4/+4
| | | | | It's not guaranteed to be async-signal-safe, which may matter once we start using threads. And it's also cleaner to just pass the FD.
* degesch: typosPřemysl Janouch2015-12-311-2/+2
|
* degesch: enable configuration in Lua pluginsPřemysl Janouch2015-12-281-5/+320
|
* degesch: little step towards localisationPřemysl Janouch2015-12-251-7/+16
| | | | | | | | | | We don't use LC_MESSAGES, though, so it doesn't really matter as of now. liberty currently isn't prepared for non-ASCII errors or filenames, and just silently expects everything to be in the same all-compatible encoding. degesch further expects the encoding to be UTF-8. All strings should ideally be converted to UTF-8 as soon as possible.
* degesch: allow launching an editor for inputPřemysl Janouch2015-12-251-47/+205
| | | | | | Useful for editing multiline text (such as making it single-line). Some refactoring and cleanup.
* degesch: better handling of terminal suspensionPřemysl Janouch2015-12-251-2/+2
|
* degesch: refactoringPřemysl Janouch2015-12-251-17/+19
|
* Bump libertyPřemysl Janouch2015-12-131-66/+1
|
* Bump libertyPřemysl Janouch2015-12-111-4/+4
|
* degesch: add a test for configurationPřemysl Janouch2015-12-101-13/+75
|
* degesch: add more tests, bump libertyPřemysl Janouch2015-12-101-9/+35
| | | | | | The UTF-8 common prefix test discovered a bug in UTF-8 parsing. Made $[1-9] in aliases insert nothing if there's no argument at that index.
* degesch: add a unit test for message wrapping algoPřemysl Janouch2015-12-091-0/+36
|
* degesch: compactify word wrapping algorithmPřemysl Janouch2015-12-081-14/+5
|
* degesch: clarify text wrapping algorithmPřemysl Janouch2015-12-081-3/+8
|
* degesch: fix timer hook resource leakPřemysl Janouch2015-11-291-0/+3
|
* degesch: Lua: add a "server" property to buffersPřemysl Janouch2015-11-241-60/+78
|
* degesch: Lua: add a "buffer" property to serversPřemysl Janouch2015-11-241-11/+46
|
* degesch: readline fixupsPřemysl Janouch2015-11-241-6/+7
| | | | | When a new buffer was created automatically (channel was joined), we didn't bother to erase the current line buffer.
* degesch: fix a segfault-inducing typo in hooksPřemysl Janouch2015-11-241-1/+1
|
* degesch: make auto-away less spammyPřemysl Janouch2015-11-231-24/+10
|
* degesch: implement auto-awayPřemysl Janouch2015-11-221-2/+100
|
* degesch: optimize prompt changesPřemysl Janouch2015-11-221-2/+12
| | | | We used to do lots of unnecessary redisplays.
* degesch: better terminal suspensionPřemysl Janouch2015-11-221-2/+2
| | | | Don't print date changes while something else is using the terminal.
* degesch: fix hook debug logsPřemysl Janouch2015-11-221-13/+12
| | | | | | Obviously we can receive back the same pointer with different contents. I just didn't think of that.