Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | degesch: Lua: avoid resource leak | Přemysl Janouch | 2016-01-07 | 1 | -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 Janouch | 2016-01-07 | 1 | -80/+45 |
| | | | | To be reused in Lua connection API. | ||||
* | degesch: fix handling of input editor death | Přemysl Janouch | 2016-01-07 | 1 | -4/+12 |
| | |||||
* | degesch: fix switching of buffers by command | Přemysl Janouch | 2016-01-07 | 1 | -8/+27 |
| | | | | | | Readline used to erase the new buffer's contents. Defer processing. | ||||
* | degesch: Lua: fix a resource leak | Přemysl Janouch | 2016-01-06 | 1 | -2/+6 |
| | |||||
* | degesch: refactor Lua | Přemysl Janouch | 2016-01-05 | 1 | -93/+62 |
| | | | | And fix handling of nil returns from filter callbacks. | ||||
* | degesch: Lua: halfplement a connector wrapper | Přemysl Janouch | 2016-01-05 | 1 | -5/+237 |
| | | | | You can't do anything reasonable with the socket now. | ||||
* | degesch: Lua: allow arbitrary userdata properties | Přemysl Janouch | 2016-01-04 | 1 | -2/+35 |
| | |||||
* | degesch: Lua: use references for hook callbacks | Přemysl Janouch | 2016-01-04 | 1 | -10/+8 |
| | | | | | Don't associate the callback with the full userdata object, we'll need this for something else. | ||||
* | degesch: add basic autocomplete for /topic | Přemysl Janouch | 2016-01-04 | 1 | -1/+28 |
| | |||||
* | Bump liberty, enable TLS SNI | Přemysl Janouch | 2016-01-04 | 1 | -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 libedit | Přemysl Janouch | 2016-01-01 | 1 | -14/+19 |
| | |||||
* | degesch: fix segfault on /quit under libedit | Přemysl Janouch | 2015-12-31 | 1 | -5/+5 |
| | |||||
* | degesch: Alt-Tab switch to the last buffer | Přemysl Janouch | 2015-12-31 | 1 | -0/+31 |
| | |||||
* | degesch: avoid fileno() after fork() | Přemysl Janouch | 2015-12-31 | 1 | -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: typos | Přemysl Janouch | 2015-12-31 | 1 | -2/+2 |
| | |||||
* | degesch: enable configuration in Lua plugins | Přemysl Janouch | 2015-12-28 | 1 | -5/+320 |
| | |||||
* | degesch: little step towards localisation | Přemysl Janouch | 2015-12-25 | 1 | -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 input | Přemysl Janouch | 2015-12-25 | 1 | -47/+205 |
| | | | | | | Useful for editing multiline text (such as making it single-line). Some refactoring and cleanup. | ||||
* | degesch: better handling of terminal suspension | Přemysl Janouch | 2015-12-25 | 1 | -2/+2 |
| | |||||
* | degesch: refactoring | Přemysl Janouch | 2015-12-25 | 1 | -17/+19 |
| | |||||
* | Bump liberty | Přemysl Janouch | 2015-12-13 | 1 | -66/+1 |
| | |||||
* | Bump liberty | Přemysl Janouch | 2015-12-11 | 1 | -4/+4 |
| | |||||
* | degesch: add a test for configuration | Přemysl Janouch | 2015-12-10 | 1 | -13/+75 |
| | |||||
* | degesch: add more tests, bump liberty | Přemysl Janouch | 2015-12-10 | 1 | -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 algo | Přemysl Janouch | 2015-12-09 | 1 | -0/+36 |
| | |||||
* | degesch: compactify word wrapping algorithm | Přemysl Janouch | 2015-12-08 | 1 | -14/+5 |
| | |||||
* | degesch: clarify text wrapping algorithm | Přemysl Janouch | 2015-12-08 | 1 | -3/+8 |
| | |||||
* | degesch: fix timer hook resource leak | Přemysl Janouch | 2015-11-29 | 1 | -0/+3 |
| | |||||
* | degesch: Lua: add a "server" property to buffers | Přemysl Janouch | 2015-11-24 | 1 | -60/+78 |
| | |||||
* | degesch: Lua: add a "buffer" property to servers | Přemysl Janouch | 2015-11-24 | 1 | -11/+46 |
| | |||||
* | degesch: readline fixups | Přemysl Janouch | 2015-11-24 | 1 | -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 hooks | Přemysl Janouch | 2015-11-24 | 1 | -1/+1 |
| | |||||
* | degesch: make auto-away less spammy | Přemysl Janouch | 2015-11-23 | 1 | -24/+10 |
| | |||||
* | degesch: implement auto-away | Přemysl Janouch | 2015-11-22 | 1 | -2/+100 |
| | |||||
* | degesch: optimize prompt changes | Přemysl Janouch | 2015-11-22 | 1 | -2/+12 |
| | | | | We used to do lots of unnecessary redisplays. | ||||
* | degesch: better terminal suspension | Přemysl Janouch | 2015-11-22 | 1 | -2/+2 |
| | | | | Don't print date changes while something else is using the terminal. | ||||
* | degesch: fix hook debug logs | Přemysl Janouch | 2015-11-22 | 1 | -13/+12 |
| | | | | | | Obviously we can receive back the same pointer with different contents. I just didn't think of that. | ||||
* | Enable TCP_NODELAY | Přemysl Janouch | 2015-11-22 | 1 | -0/+6 |
| | |||||
* | degesch: pop() the Lua error in timer dispatch | Přemysl Janouch | 2015-11-21 | 1 | -0/+2 |
| | |||||
* | degesch: export timers to Lua | Přemysl Janouch | 2015-11-21 | 1 | -1/+54 |
| | |||||
* | degesch: hook implementation cleanup | Přemysl Janouch | 2015-11-21 | 1 | -93/+59 |
| | |||||
* | degesch: typos, cleanups | Přemysl Janouch | 2015-11-21 | 1 | -30/+36 |
| | |||||
* | degesch: make Ctrl-L also fix window size | Přemysl Janouch | 2015-11-21 | 1 | -0/+3 |
| | |||||
* | degesch: make /buffer with no arguments print list | Přemysl Janouch | 2015-11-21 | 1 | -1/+1 |
| | |||||
* | degesch: export input and IRC hooks | Přemysl Janouch | 2015-11-21 | 1 | -16/+463 |
| | |||||
* | degesch: add ability to hook IRC and user input | Přemysl Janouch | 2015-11-21 | 1 | -14/+192 |
| | | | | We're going to make this available to the Lua API soon. | ||||
* | degesch: add a stubbed Lua plugin loader | Přemysl Janouch | 2015-11-21 | 1 | -0/+98 |
| | |||||
* | degesch: stubplement plugins | Přemysl Janouch | 2015-11-21 | 1 | -0/+192 |
| | |||||
* | degesch: refcountify "struct {buffer,server}" | Přemysl Janouch | 2015-11-19 | 1 | -17/+19 |
| |