Commit Graph

891 Commits

Author SHA1 Message Date
Jilles Tjoelker 0a70e15066 SJOIN: remove various TS5 stuff 2008-06-13 23:03:52 +02:00
Jilles Tjoelker 7592f950b2 Unbreak sending out bans and simple modes with parameters. 2008-06-13 22:21:44 +02:00
Jilles Tjoelker a248682cae Branch merge 2008-06-13 00:32:49 +02:00
Jilles Tjoelker 767394f009 SJOIN: check minimum parameters more strictly. 2008-06-13 00:32:01 +02:00
William Pitcock 1284a4877c Set SONAME to libratbox.so.3. (Again, packaging. Yeah. We know.) 2008-06-10 22:06:54 -05:00
William Pitcock 3ea61d8132 Add libratbox.pc.in for out-of-tree libratbox build (think: packaging). 2008-06-10 22:02:10 -05:00
William Pitcock c7d01d2d7d Make sure x509_cred and dh_params objects are allocated. 2008-06-10 21:24:49 -05:00
William Pitcock 1e320728f3 Merge TODO. 2008-06-10 20:34:46 -05:00
William Pitcock af6f5d479f GNUTLS backend. Untested. 2008-06-10 20:33:15 -05:00
Jilles Tjoelker b9f46fc5fa Get rid of some K&R style function declarations for conf parser. 2008-06-11 00:54:02 +02:00
Jilles Tjoelker 4a4ea261b2 m_stats: get rid of function pointers with unspecified parameter lists
stats l/L is now more a special case than before
2008-06-11 00:53:21 +02:00
Jilles Tjoelker 4cb8529c19 m_set: get rid of function pointers with unspecified parameter lists 2008-06-11 00:39:01 +02:00
Jilles Tjoelker 6d18bf1a12 Some const stuff for m_set. 2008-06-11 00:28:08 +02:00
William Pitcock dd91040957 Run autoreconf. 2008-06-10 13:45:43 -05:00
William Pitcock 5d92990907 libratbox: Add checks for GnuTLS support. 2008-06-10 13:45:15 -05:00
Valery Yatsko 02e13326cf We've done ssl stuff generation tool, 'module engine rework' marked for
current trunk
2008-06-08 12:23:04 +04:30
William Pitcock 9f9b4d7b2b More TS6 special cases simplified. 2008-06-08 02:16:43 -05:00
William Pitcock b813aae326 Remove one last bit of TS5 stuff. 2008-06-08 02:14:21 -05:00
William Pitcock b9d7f41c8a Forgot to test the bitmask, oops. 2008-06-08 02:13:26 -05:00
William Pitcock cf91d0c9d8 Replace old 2.8-style privileges notice with a new one. 2008-06-08 02:09:15 -05:00
William Pitcock 2647617347 Suppress a warning. 2008-06-08 01:32:17 -05:00
William Pitcock 9721c67622 extensions: no more TS5. 2008-06-08 01:31:15 -05:00
William Pitcock a4857d780f core: no more TS5 2008-06-08 01:29:26 -05:00
William Pitcock 06a7954fa1 modules: no more TS5 2008-06-08 01:27:25 -05:00
William Pitcock 45f5f151f8 core modules: no more TS5. 2008-06-08 01:25:42 -05:00
William Pitcock 77bf1a0402 Remove burst_modes_TS5() and burst_TS5(). 2008-06-08 01:11:57 -05:00
William Pitcock a10b07578b Finish merge. 2008-06-08 01:09:52 -05:00
William Pitcock f06c147c70 Merge with 'charybdis-ts6only' branch. 2008-06-08 01:09:04 -05:00
Jilles Tjoelker 00f13098a3 Reindent. 2008-06-03 20:52:47 +02:00
Jilles Tjoelker 823d0e7a34 Clean up m_trace somewhat.
All visibility logic is now in m_trace(), none in
report_this_status().
2008-06-03 20:52:00 +02:00
Jilles Tjoelker 5774cb2ef3 Fix another bad cache variable name. 2008-06-03 20:50:50 +02:00
Jilles Tjoelker 712ca381f9 Add FINDFORWARDS and IDENTIFY commands to oper-guide (from extensions). 2008-05-22 00:46:02 +02:00
Jilles Tjoelker c2c2491a73 Add +F and +W snomasks to oper-guide (from extensions). 2008-05-22 00:30:42 +02:00
Jilles Tjoelker aeeda4466a Reject u@@h klines. 2008-05-21 23:00:10 +02:00
Jilles Tjoelker 1dc9ac1d69 Give an error message when refusing a kline that has neither . : or @. 2008-05-21 22:56:51 +02:00
Jilles Tjoelker 0d234dca12 olist: do not send operspy notices for nonexistent channels 2008-05-21 01:13:45 +02:00
Jilles Tjoelker d4715e8f28 olist: give proper error message if oper does not have oper_spy priv 2008-05-21 00:56:53 +02:00
Jilles Tjoelker 57d78ae1ca Rerun autoconf. 2008-05-18 23:36:39 +02:00
Jilles Tjoelker 9c27c708ee Bump version on trunk to 3.1. 2008-05-18 23:34:39 +02:00
Jilles Tjoelker a2f4910ca7 Added tag charybdis-3.0.1 for changeset b57df81a2c4c 2008-05-18 23:24:45 +02:00
Jilles Tjoelker be54db581c Add MacOS X fixes to NEWS. 2008-05-18 01:24:58 +02:00
Jilles Tjoelker c1309303d4 Rerun autoconf. 2008-05-17 17:46:45 +02:00
Jilles Tjoelker 213aeb8d6b Check for the -rpath linker flag.
This makes it build on MacOS X which neither
supports nor needs this flag.
2008-05-17 17:46:37 +02:00
Jilles Tjoelker 6315153b9c libratbox: Remove static inline symbols from export-syms.txt. 2008-05-17 13:26:42 +02:00
Jilles Tjoelker e0bd36a502 Fix a mistake in kqueue 'overflow' handling.
If there is no space in the output buffer to report an
error adding to the kqueue, kevent(2) will abort and
return the error in errno (I was correct that it does
not tell you where it failed). So do not abort the loop
if kevent(2) fails and do not log (expected) EBADF.
2008-05-14 19:56:41 +02:00
Jilles Tjoelker 47fe799183 Rerun autoconf. 2008-05-13 23:23:12 +02:00
Jilles Tjoelker 6d2090c24c Bump version to 3.0.1. 2008-05-13 23:22:57 +02:00
Jilles Tjoelker 9b4f3c47e1 Save connect errno so that we get a correct connect failure reason
libratbox r25358 (androsyn)
2008-05-13 20:21:12 +02:00
Jilles Tjoelker b68b0b2cde Fix a possible crash with SSL connections closing early.
libratbox r25356 (jilles)
2008-05-12 19:54:24 +02:00
Jilles Tjoelker 98686f18e9 Fix kqueue sometimes dropping updates.
(ircd wouldn't read or write anymore to certain clients)
This happens because kqueue.c will often try to add
already closed file descriptors to the kqueue. The kernel
tries to report bad file descriptors in the eventlist; if
the eventlist has no space, processing of the changelist
is silently halted.
The fix:
1. allocate two kqlst things, one for what kqlst currently does
and one as output buffer
this ensures the kevent(2) call in rb_select_kqueue() never
drops updates
2. replace the kevent(2) call in kq_update_events() by a loop
that processes the updates one at a time
that doesn't happen much, and it's the only way to be sure
without also getting events out of the queue we cannot process
at that time
libratbox r25354 (jilles)
2008-05-12 18:54:20 +02:00