Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | degesch: mark a problem | Přemysl Janouch | 2016-02-29 | 1 | -0/+8 | |
| | ||||||
* | Resolve tls_ca_{file,path} relative to config dir | Přemysl Janouch | 2016-02-19 | 1 | -32/+54 | |
| | ||||||
* | degesch: fix segfault on sent messages w/o buffer | Přemysl Janouch | 2016-02-12 | 1 | -0/+4 | |
| | ||||||
* | degesch: update screen size when terminal resumed | Přemysl Janouch | 2016-02-10 | 1 | -0/+1 | |
| | | | | Apparently we don't receive the events when we give up the terminal. | |||||
* | degesch: use mkstemp() with a safe umask | Přemysl Janouch | 2016-02-09 | 1 | -0/+3 | |
| | ||||||
* | degesch: log messages from /quote and plugins | Přemysl Janouch | 2016-02-09 | 1 | -93/+149 | |
| | | | | That is, parse back all output messages and log based on that. | |||||
* | degesch: allow changing the list of used CAPs | Přemysl Janouch | 2016-02-01 | 1 | -7/+16 | |
| | | | | Bump liberty. | |||||
* | degesch: optimize buffer memory usage | Přemysl Janouch | 2016-01-31 | 1 | -35/+39 | |
| | | | | | | | | | | | | | We have approximately 5 formatter_items per buffer_line. Let's assume we're on a 64-bit machine. Then there were (5 * 2) + 3 useless pointers (104 bytes) as well as 5 * (4 + 4) = 40 bytes of wasted space because of needless padding. That's 144 bytes already. Compared to that, this change adds 16 bytes of overhead for an array sentinel, i.e. 128B less. With a limit of 1000 lines per buffer, we've saved ~128kB per buffer on completely useless data, and code complexity stays roughly the same. All in all, memory usage for buffers should be about 50% lower. | |||||
* | kike: add support for IRCv3.2 server-time | Přemysl Janouch | 2016-01-31 | 1 | -0/+5 | |
| | ||||||
* | degesch: add an assertion | Přemysl Janouch | 2016-01-18 | 1 | -1/+5 | |
| | | | | It should never fail with current code. | |||||
* | degesch: disable TLS compression | Přemysl Janouch | 2016-01-18 | 1 | -0/+7 | |
| | ||||||
* | degesch: Lua: fix memory leak on load failure | Přemysl Janouch | 2016-01-17 | 1 | -2/+1 | |
| | ||||||
* | degesch: lesser heap fragmentation | Přemysl Janouch | 2016-01-17 | 1 | -11/+7 | |
| | ||||||
* | degesch: fix backlog limit | Přemysl Janouch | 2016-01-15 | 1 | -1/+1 | |
| | | | | It was effectively infinite. | |||||
* | degesch: fix and simplify screen handling | Přemysl Janouch | 2016-01-15 | 1 | -18/+6 | |
| | | | | Now with less madness. | |||||
* | degesch: enforce fullscreen buffers | Přemysl Janouch | 2016-01-15 | 1 | -12/+4 | |
| | | | | | | Probably long overdue. Now we actually look like something resembling a regular IRC client. | |||||
* | degesch: option for fullscreen buffers | Přemysl Janouch | 2016-01-15 | 1 | -6/+31 | |
| | ||||||
* | degesch: make backlog limit configurable | Přemysl Janouch | 2016-01-15 | 1 | -11/+34 | |
| | ||||||
* | degesch: Lua: add autocomplete hooks | Přemysl Janouch | 2016-01-15 | 1 | -26/+156 | |
| | ||||||
* | degesch: Lua: allow simulating user input | Přemysl Janouch | 2016-01-14 | 1 | -1/+23 | |
| | | | | Also added UTF-8 validation to buffer:log() while I'm at it. | |||||
* | Bump liberty, shuffle some code | Přemysl Janouch | 2016-01-14 | 1 | -94/+94 | |
| | ||||||
* | degesch: Lua: pass hostname to on_connected | Přemysl Janouch | 2016-01-09 | 1 | -3/+3 | |
| | ||||||
* | degesch: Lua: set sockets to nonblocking | Přemysl Janouch | 2016-01-09 | 1 | -0/+1 | |
| | ||||||
* | Bump liberty | Přemysl Janouch | 2016-01-09 | 1 | -1/+0 | |
| | ||||||
* | degesch: Lua: actually allow filtering out input | Přemysl Janouch | 2016-01-09 | 1 | -0/+4 | |
| | ||||||
* | degesch: Lua: provide a traceback on load error | Přemysl Janouch | 2016-01-09 | 1 | -4/+9 | |
| | ||||||
* | degesch: Lua: fix plugin configuration names | Přemysl Janouch | 2016-01-09 | 1 | -1/+10 | |
| | ||||||
* | degesch: Lua: fix luaL_ref() usage | Přemysl Janouch | 2016-01-09 | 1 | -11/+10 | |
| | ||||||
* | degesch: Lua: fix configuration loading | Přemysl Janouch | 2016-01-09 | 1 | -6/+11 | |
| | | | | Not the cleanest solution but it has to do for now. | |||||
* | degesch: make sure newlines are output correctly | Přemysl Janouch | 2016-01-08 | 1 | -0/+8 | |
| | ||||||
* | degesch: Lua: finish implementation of connection | Přemysl Janouch | 2016-01-07 | 1 | -4/+182 | |
| | ||||||
* | 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. |