aboutsummaryrefslogtreecommitdiff
path: root/common.c
Commit message (Collapse)AuthorAgeFilesLines
* Silence spurious compiler warningsPřemysl Eric Janouch2022-09-211-4/+4
|
* Start X11 and web frontends for xCPřemysl Eric Janouch2022-09-051-1/+70
| | | | | | | | | | | | | | | For this, we needed a wire protocol. After surveying available options, it was decided to implement an XDR-like protocol code generator in portable AWK. It now has two backends, per each of: - xF, the X11 frontend, is in C, and is meant to be the primary user interface in the future. - xP, the web frontend, relies on a protocol proxy written in Go, and is meant for use on-the-go (no pun intended). They are very much work-in-progress proofs of concept right now, and the relay protocol is certain to change.
* Add clang-format configuration, clean upPřemysl Eric Janouch2021-10-301-12/+12
|
* Bump copyright yearsPřemysl Eric Janouch2020-10-271-1/+1
|
* Improve OpenSSL integrationPřemysl Eric Janouch2020-10-201-0/+24
| | | | | | | | | Ensure the error stack is cleared after errors are processed. Also handle NULL returns safely. Makes the debug mode spew more data, though almost none of the contexts is in reaction to network peer data.
* Bump libertyPřemysl Eric Janouch2020-10-101-52/+0
| | | | resolve_relative_runtime_unique_filename() used to have a bug.
* Name changePřemysl Eric Janouch2020-09-021-1/+1
|
* Relicense to 0BSD, update mail addressPřemysl Janouch2018-06-211-3/+2
| | | | | | | | | I've come to the conclusion that copyright mostly just stands in the way of software development. In my jurisdiction I cannot give up my own copyright and 0BSD seems to be the closest thing to public domain. The updated mail address, also used in my author/committer lines, is shorter and looks nicer. People rarely interact anyway.
* degesch: introduce cstr_set()Přemysl Janouch2018-01-081-0/+7
|
* Bump libertyPřemysl Janouch2017-06-221-13/+11
|
* Bump libertyPřemysl Janouch2017-01-231-2/+2
|
* Fix LibreSSL compatibilityPřemysl Janouch2016-12-301-1/+1
|
* CleanupPřemysl Janouch2016-12-281-0/+15
|
* Get rid of the remaining FAILsPřemysl Janouch2016-10-111-7/+0
|
* Bump libertyPřemysl Janouch2016-10-111-69/+1
|
* degesch: fix CTCP handlingPřemysl Janouch2016-07-091-5/+9
| | | | | | | In `/me :\` practically no client bothers to escape the backslash but we used to interpret it as the start of an escape sequence anyway. Silly us, no one respects any standards.
* Use TMPDIR as a fallback if setPřemysl Janouch2016-03-131-0/+3
|
* kike: add support for IRCv3.2 server-timePřemysl Janouch2016-01-311-0/+15
|
* Factor out socket_io_try_{read,write}()Přemysl Janouch2016-01-071-0/+68
| | | | To be reused in Lua connection API.
* Fix a memory leak in SOCKS connectorPřemysl Janouch2016-01-071-1/+0
|
* Bump liberty, enable TLS SNIPřemysl Janouch2016-01-041-19/+9
| | | | | | | 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: allow launching an editor for inputPřemysl Janouch2015-12-251-0/+43
| | | | | | Useful for editing multiline text (such as making it single-line). Some refactoring and cleanup.
* Bump libertyPřemysl Janouch2015-12-111-1118/+0
|
* Refactor config schema initializationPřemysl Janouch2015-12-111-30/+46
| | | | Now the configuration module seems to be fit for inclusion in liberty.
* CleanupPřemysl Janouch2015-12-111-11/+5
|
* degesch: add a test for configurationPřemysl Janouch2015-12-101-0/+1
|
* Enable TCP_NODELAYPřemysl Janouch2015-11-221-0/+1
|
* degesch: typos, cleanupsPřemysl Janouch2015-11-211-0/+3
|
* degesch: stubplement pluginsPřemysl Janouch2015-11-211-1/+1
|
* Extend split_str() for multiple split charsPřemysl Janouch2015-11-151-3/+3
|
* mv 'struct config_item'{_,}Přemysl Janouch2015-08-171-53/+53
| | | | Finally we can get rid of the trailing underscore.
* Bump libertyPřemysl Janouch2015-08-171-240/+0
|
* SOCKS: make use of the str_pack_* APIPřemysl Janouch2015-08-061-19/+17
| | | | I forgot I had it.
* Fix immediate connectsPřemysl Janouch2015-07-231-1/+1
| | | | Apparently FreeBSD can do this while Linux can not.
* SOCKS: add socks_protocol_to_string()Přemysl Janouch2015-07-231-1/+12
|
* SOCKS: fix "on_connecting" callbackPřemysl Janouch2015-07-231-3/+7
|
* SOCKS: various fixes to API and codePřemysl Janouch2015-07-231-12/+35
|
* SOCKS: finishing touchesPřemysl Janouch2015-07-221-32/+48
| | | | Making sure that I handle all corner cases appropriately.
* SOCKS: shorten code with SOCKS_GOPřemysl Janouch2015-07-221-43/+20
|
* SOCKS: refactorPřemysl Janouch2015-07-211-165/+177
|
* SOCKS: simplify codePřemysl Janouch2015-07-211-39/+22
|
* Fix SOCKS5 nopass authenticationPřemysl Janouch2015-07-211-1/+2
|
* Get at least SOCKS4A workingPřemysl Janouch2015-07-211-20/+26
|
* Rewrite socks to asyncPřemysl Janouch2015-07-201-256/+569
| | | | Not quite working yet, however it's a massive and important change.
* degesch: allow unterminated CTCP messagesPřemysl Janouch2015-07-191-7/+13
|
* Bump liberty, fix map iteratorsPřemysl Janouch2015-07-141-11/+0
|
* degesch: implement /server renamePřemysl Janouch2015-07-141-0/+11
|
* Bump libertyPřemysl Janouch2015-07-111-97/+0
|
* degesch: add config_item_string_from_cstr()Přemysl Janouch2015-07-111-0/+11
|
* degesch: fix display of empty objects in /setPřemysl Janouch2015-07-101-13/+21
|