Commit Graph

108 Commits

Author SHA1 Message Date
1639235a48
Start X11 and web frontends for xC
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.
2022-09-05 14:26:00 +02:00
d32ba133c0
Add clang-format configuration, clean up 2021-10-30 02:55:19 +02:00
4b7649211a
Bump copyright years 2020-10-27 12:02:46 +01:00
383f6af344
Improve OpenSSL integration
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.
2020-10-20 01:55:46 +02:00
59ac02d91f
Bump liberty
resolve_relative_runtime_unique_filename() used to have a bug.
2020-10-10 04:37:08 +02:00
deb096a0e9
Name change 2020-09-02 19:37:29 +02:00
a0e9ede3e3
Relicense to 0BSD, update mail address
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.
2018-06-21 23:46:03 +02:00
4586b0e1e4
degesch: introduce cstr_set() 2018-01-08 22:19:28 +01:00
68bc297809
Bump liberty 2017-06-22 22:39:39 +02:00
9e5725662f
Bump liberty 2017-01-23 23:50:27 +01:00
d7960b463f
Fix LibreSSL compatibility 2016-12-30 08:51:49 +01:00
eb70bf3fbc
Cleanup 2016-12-28 12:44:27 +01:00
4848354bb9
Get rid of the remaining FAILs 2016-10-11 12:05:17 +02:00
8028c7fa47
Bump liberty 2016-10-11 10:52:49 +02:00
5613c326c9
degesch: fix CTCP handling
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.
2016-07-09 22:55:26 +02:00
e11ca7cc00 Use TMPDIR as a fallback if set 2016-03-13 00:59:28 +01:00
10a264ec3d kike: add support for IRCv3.2 server-time 2016-01-31 21:43:23 +01:00
376bbea249 Factor out socket_io_try_{read,write}()
To be reused in Lua connection API.
2016-01-07 22:49:53 +01:00
cabab5f351 Fix a memory leak in SOCKS connector 2016-01-07 22:49:49 +01:00
aeb047260f Bump liberty, enable TLS SNI
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.
2016-01-04 01:12:42 +01:00
e101afab38 degesch: allow launching an editor for input
Useful for editing multiline text (such as making it single-line).

Some refactoring and cleanup.
2015-12-25 05:20:50 +01:00
1c009f394a Bump liberty 2015-12-11 03:01:25 +01:00
649ea0baf7 Refactor config schema initialization
Now the configuration module seems to be fit for inclusion in liberty.
2015-12-11 02:27:29 +01:00
de942e40ac Cleanup 2015-12-11 02:27:29 +01:00
620418fa3b degesch: add a test for configuration 2015-12-10 21:26:17 +01:00
36c59ff375 Enable TCP_NODELAY 2015-11-22 02:12:52 +01:00
d4cbc576e2 degesch: typos, cleanups 2015-11-21 19:00:56 +01:00
5ee210a5b7 degesch: stubplement plugins 2015-11-21 14:09:33 +01:00
9b22d72fd1 Extend split_str() for multiple split chars 2015-11-15 15:56:10 +01:00
1613e75a48 mv 'struct config_item'{_,}
Finally we can get rid of the trailing underscore.
2015-08-17 00:13:05 +02:00
abd892cbd7 Bump liberty 2015-08-17 00:13:05 +02:00
c8890953b3 SOCKS: make use of the str_pack_* API
I forgot I had it.
2015-08-06 21:32:01 +02:00
67b67cb171 Fix immediate connects
Apparently FreeBSD can do this while Linux can not.
2015-07-23 10:17:28 +02:00
4b86fb2d9d SOCKS: add socks_protocol_to_string() 2015-07-23 04:26:59 +02:00
9686e55215 SOCKS: fix "on_connecting" callback 2015-07-23 04:26:59 +02:00
4a89572089 SOCKS: various fixes to API and code 2015-07-23 04:26:59 +02:00
c34bb483ca SOCKS: finishing touches
Making sure that I handle all corner cases appropriately.
2015-07-22 00:53:44 +02:00
7d9b05eb9a SOCKS: shorten code with SOCKS_GO 2015-07-22 00:11:20 +02:00
0fc8ea6a66 SOCKS: refactor 2015-07-21 23:56:05 +02:00
e4af470639 SOCKS: simplify code 2015-07-21 23:12:58 +02:00
13872a3a3e Fix SOCKS5 nopass authentication 2015-07-21 00:57:16 +02:00
22d9e20b4a Get at least SOCKS4A working 2015-07-21 00:31:19 +02:00
318b7400d1 Rewrite socks to async
Not quite working yet, however it's a massive and important change.
2015-07-20 23:56:31 +02:00
b750590f18 degesch: allow unterminated CTCP messages 2015-07-19 23:58:34 +02:00
d6a4ca1434 Bump liberty, fix map iterators 2015-07-14 22:25:30 +02:00
955552f4fa degesch: implement /server rename 2015-07-14 21:16:35 +02:00
0c4b727961 Bump liberty 2015-07-11 17:54:38 +02:00
b987b2cc64 degesch: add config_item_string_from_cstr() 2015-07-11 03:29:52 +02:00
d39ffe440f degesch: fix display of empty objects in /set 2015-07-10 01:24:06 +02:00
2b2da0beab degesch: support CASEMAPPING=rfc1459-strict 2015-07-09 01:48:34 +02:00