# arch-tag: automatic-ChangeLog--srvx@srvx.net--2006/srvx--devo--1.3
#
+2006-10-06 23:12:20 GMT Michael Poole <mdpoole@troilus.org> patch-55
+
+ Summary:
+ Fix detection of gettimeofday().
+ Revision:
+ srvx--devo--1.3--patch-55
+
+ configure.in: Since we have a fallback for gettimeofday, move it in with
+ the functions for which we do.
+
+ modified files:
+ ChangeLog configure.in
+
+
+2006-10-04 01:41:05 GMT Michael Poole <mdpoole@troilus.org> patch-54
+
+ Summary:
+ Make timeq_init() automatic.
+ Revision:
+ srvx--devo--1.3--patch-54
+
+ src/main.c (main): Remove call to timeq_init().
+
+ src/timeq.h (timeq_init): Remove declaration.
+
+ src/timeq.c (timeq_cleanup): Assign NULL to timeq to handle late timeq_del() calls.
+ (timeq_init): Make static.
+ (timeq_next): If timeq is NULL, return a large positive number.
+ (timeq_add): If timeq is NULL, initialize it.
+ (timeq_del): If timeq is NULL, do nothing.
+
+ modified files:
+ ChangeLog src/main.c src/timeq.c src/timeq.h
+
+
+2006-10-04 01:37:40 GMT Michael Poole <mdpoole@troilus.org> patch-53
+
+ Summary:
+ Allow log_module() to NULL log types.
+ Revision:
+ srvx--devo--1.3--patch-53
+
+ src/log.c (log_module): To make cleanup easier, allow NULL log types.
+
+ modified files:
+ ChangeLog src/log.c
+
+
+2006-10-04 01:32:57 GMT Michael Poole <mdpoole@troilus.org> patch-52
+
+ Summary:
+ Fix some startup-related glitches.
+ Revision:
+ srvx--devo--1.3--patch-52
+
+ src/ioset.h (ioset_update): Declare new function.
+
+ src/ioset.c (ioset_init): If we have an engine, return early.
+ (ioset_add): If no engine, try to initialize.
+ (ioset_update): New function.
+
+ modified files:
+ ChangeLog src/ioset.c src/ioset.h
+
+
+2006-10-04 01:23:10 GMT Michael Poole <mdpoole@troilus.org> patch-51
+
+ Summary:
+ Update time for ioset backend.
+ Revision:
+ srvx--devo--1.3--patch-51
+
+ src/ioset-epoll.c (ioset_epoll_loop): Set now after epoll_wait() returns.
+
+ modified files:
+ ChangeLog src/ioset-epoll.c
+
+
+2006-10-03 23:18:25 GMT Michael Poole <mdpoole@troilus.org> patch-50
+
+ Summary:
+ I18n'ize the staff descriptors in !access.
+ Revision:
+ srvx--devo--1.3--patch-50
+
+ src/chanserv.c (msgtab): Add new entries for staff descriptors.
+ (cmd_access): Use them.
+
+ modified files:
+ ChangeLog src/chanserv.c
+
+
+2006-09-23 01:14:35 GMT Michael Poole <mdpoole@troilus.org> patch-49
+
+ Summary:
+ ioset event handling fixups
+ Revision:
+ srvx--devo--1.3--patch-49
+
+ src/ioset.c (ioset_connect): Properly handle the situation if the connect
+ handler closes the fd.
+ (ioset_accept): Rename "old_active_fd" to "old_active" for consistency.
+ (ioset_buffered_read): Make sure we bail if the fd is closed.
+ (ioset_events): Handle 'readable' on a connecting fd as an error.
+
+ modified files:
+ ChangeLog src/ioset.c
+
+
+2006-09-23 01:03:08 GMT Michael Poole <mdpoole@troilus.org> patch-48
+
+ Summary:
+ Dummy handling fixes.
+ Revision:
+ srvx--devo--1.3--patch-48
+
+ src/proto-p10.c (irc_notice): Fix the conditions for sending message to
+ IRC.
+ (irc_privmsg): Likewise.
+ (parse_cleanup): Zero num_*_funcs when freeing the corresponding
+ arrays, so that DelUser() doesn't read after free.
+
+ modified files:
+ ChangeLog src/proto-p10.c
+
+
+2006-09-23 00:58:27 GMT Michael Poole <mdpoole@troilus.org> patch-47
+
+ Summary:
+ Fix hostmask generation for hostnames without dots.
+ Revision:
+ srvx--devo--1.3--patch-47
+
+ src/proto-common.c (generate_hostmask): Keep no-dot hostnames as the
+ mask -- mod-qserver can generate hostnames like "localhost".
+
+ modified files:
+ ChangeLog src/proto-common.c
+
+
+2006-09-23 00:55:02 GMT Michael Poole <mdpoole@troilus.org> patch-46
+
+ Summary:
+ Default qserver clients to being opers.
+ Revision:
+ srvx--devo--1.3--patch-46
+
+ src/mod-qserver.c (qserver_accept): Default dummy client to having
+ usermode +o, so they can use privileged services.
+
+ modified files:
+ ChangeLog src/mod-qserver.c
+
+
+2006-09-23 00:52:48 GMT Michael Poole <mdpoole@troilus.org> patch-45
+
+ Summary:
+ Further giveownership confirmation fixes.
+ Revision:
+ srvx--devo--1.3--patch-45
+
+ src/chanserv.c (CSMSG_CONFIRM_GIVEOWNERSHIP): Prepend * to account name.
+ (cmd_giveownership): Check invoker access to determine need for confirmation.
+
+ modified files:
+ ChangeLog src/chanserv.c
+
+
+2006-09-22 03:33:25 GMT Michael Poole <mdpoole@troilus.org> patch-44
+
+ Summary:
+ Fix comment about +O vs +o.
+ Revision:
+ srvx--devo--1.3--patch-44
+
+ src/hash.h (FLAGS_OPER): The user mode is actually +o, not +O.
+
+ modified files:
+ ChangeLog src/hash.h
+
+
+2006-09-22 03:28:08 GMT Michael Poole <mdpoole@troilus.org> patch-43
+
+ Summary:
+ Fix license notice for mod-qserver.c
+ Revision:
+ srvx--devo--1.3--patch-43
+
+ src/mod-qserver.c: Since this was for public distribution, use the
+ standard GPL header notice.
+
+ modified files:
+ ChangeLog src/mod-qserver.c
+
+
+2006-09-22 03:05:54 GMT Michael Poole <mdpoole@troilus.org> patch-42
+
+ Summary:
+ Add win32 specific files to tarballs.
+ Revision:
+ srvx--devo--1.3--patch-42
+
+ Makefile.am (EXTRA_DIST): Include Makefile.win32.
+
+ src/Makefile.am (EXTRA_srvx_SOURCES): Include config.h.win32 and ioset-win32.c.
+
+ modified files:
+ ChangeLog Makefile.am src/Makefile.am
+
+
+2006-09-22 03:02:07 GMT Michael Poole <mdpoole@troilus.org> patch-41
+
+ Summary:
+ First pass at native Win32 support (does not compile).
+ Revision:
+ srvx--devo--1.3--patch-41
+
+ src/compat.h: Handle Windows Sockets 2 headers.
+
+ src/mod-memoserv.c (KEY_READ): #undef'ine to avoid its registry access
+ meaning on Windows.
+
+ Makefile.win32: New Makefile for native or cross builds targeting Win32.
+
+ src/config.h.win32: Pregenerated config.h for Win32.
+
+ src/ioset-win32.c: First attempt at a Win32 ioset backend.
+
+ new files:
+ .arch-ids/Makefile.win32.id Makefile.win32
+ src/.arch-ids/config.h.win32.id src/.arch-ids/ioset-win32.c.id
+ src/config.h.win32 src/ioset-win32.c
+
+ modified files:
+ ChangeLog src/compat.h src/mod-memoserv.c
+
+
+2006-09-22 02:51:50 GMT Michael Poole <mdpoole@troilus.org> patch-40
+
+ Summary:
+ Add direct query server module.
+ Revision:
+ srvx--devo--1.3--patch-40
+
+ srvx.conf.example: Document qserver configuration.
+
+ src/Makefile.am (EXTRA_srvx_SOURCES): Add mod-qserver.c.
+
+ src/mod-qserver.c: New file.
+
+ new files:
+ src/.arch-ids/mod-qserver.c.id src/mod-qserver.c
+
+ modified files:
+ ChangeLog src/Makefile.am src/ioset-epoll.c srvx.conf.example
+
+
+2006-09-22 02:45:20 GMT Michael Poole <mdpoole@troilus.org> patch-39
+
+ Summary:
+ Add epoll_* ioset backend.
+ Revision:
+ srvx--devo--1.3--patch-39
+
+ configure.in: Check for epoll_create(); demote select() from being required.
+
+ src/Makefile.am (EXTRA_srvx_SOURCES): Add ioset-epoll.c.
+
+ src/ioset-epoll.c: New file.
+
+ new files:
+ src/.arch-ids/ioset-epoll.c.id src/ioset-epoll.c
+
+ modified files:
+ ChangeLog configure.in src/Makefile.am
+
+
+2006-09-22 02:38:21 GMT Michael Poole <mdpoole@troilus.org> patch-38
+
+ Summary:
+ Allow multiple ioset backends.
+ Revision:
+ srvx--devo--1.3--patch-38
+
+ configure.in: Add framework to check for ioset backends.
+
+ src/Makefile.am (noinst_DATA): Reorganize for easier patching.
+ (checkversion): Avoid spurious error message if $(GNU_ARCH) is missing.
+ (EXTRA_srvx_SOURCES): Reorganize for easier patching; add ioset-select.c.
+ (srvx_SOURCES): Add ioset-impl.h.
+
+ src/ioset.c (ioset.h): #include "ioset-impl.h" instead.
+ (clock_skew): Make non-static for backends.
+ (engine): New variable.
+ (active_fd): New variable (kind of kludgy).
+ (io_engine_*): New variables, only one exists so far.
+ (ioset_init): New function.
+ (ioset_cleanup): Call engine's cleanup function.
+ (ioset_add): Call engine's add function.
+ (ioset_listen): New function.
+ (ioset_connect): Call engine's update functions at appropriate points.
+ (ioset_try_write): Call engine's update function on success.
+ (ioset_close): Change signature; check against active_fd; call engine's
+ remove function.
+ (ioset_accept): New function.
+ (ioset_buffered_read): Update fd->state instead of fd->eof and call
+ engine's update function as appropriate. Use active_fd.
+ (ioset_line_read): Check fd->state instead of fd->eof.
+ (debug_fdsets): Move to ioset-select.c.
+ (ioset_events): New function.
+ (ioset_run): Move most of the logic into ioset-select loop function;
+ call it. Rename "select_timeout" to "timeout" to match.
+ (ioset_write): Call engine->update function.
+ (ioset_printf): New function.
+
+ src/ioset.h (common.h): #include this header to get PRINTF_LIKE macro.
+ (struct io_fd): Replace 'connected' and 'eof' fields with 'state' field.
+ (ioset_init): Declare new function.
+ (ioset_listen): Declare new function.
+ (ioset_printf): Declare new function.
+ (ioset_close): Update signature.
+
+ src/main.c (main): Call ioset_init().
+
+ src/mod-sockcheck.c (sockcheck_free_client): Can unconditionally call
+ ioset_close() now.
+ (expand_var): Always use C99 type names.
+ (sockcheck_begin_test): Can unconditionally call ioset_close() now.
+ (sockcheck_read_conf): Only warn about unknown host if the user set
+ one; it is silly to arn about unknown host `(null)'.
+
+ src/proto-common.c (socket_destroyed): Check fd->state rather than
+ fd->eof.
+ (close_socket): Update signature for ioset_close().
+
+ new files:
+ src/.arch-ids/ioset-impl.h.id src/.arch-ids/ioset-select.c.id
+ src/ioset-impl.h src/ioset-select.c
+
+ modified files:
+ ChangeLog configure.in src/Makefile.am src/ioset.c src/ioset.h
+ src/main.c src/mod-sockcheck.c src/proto-common.c
+
+
+2006-09-22 02:15:55 GMT Michael Poole <mdpoole@troilus.org> patch-37
+
+ Summary:
+ Add "dummy client" support.
+ Revision:
+ srvx--devo--1.3--patch-37
+
+ src/hash.h (FLAGS_DUMMY): New flag for non-propagated clients.
+ (IsDummy): Check it.
+
+ src/helpfile.c (send_message): Allow sending to dummy clients.
+ (send_message_type): Likewise.
+
+ src/proto-bahamut.c (irc_user): Bail if user is NULL or has a dummy nickname.
+ (deliver_to_dummy): New function.
+ (irc_privmsg): Try to deliver via dummy method before sending to IRC.
+ (irc_notice): Likewise.
+ (irc_notice_user): Likewise.
+ (AddUser): If the first user mode character is '*', mark as a dummy.
+ (DelUser): Unregister callback functions when destroying local clients.
+
+ src/proto-p10.c (irc_user): Bail if user is NULL or has a dummy nickname.
+ (deliver_to_dummy): New function.
+ (irc_notice): Try to deliver via dummy method before sending to IRC.
+ (irc_notice_user): Likewise.
+ (irc_privmsg): Likewise.
+ (AddUser): If the first user mode character is '*', mark as a dummy.
+ (DelUser): Unregister callback functions when destroying local clients.
+
+ modified files:
+ ChangeLog src/hash.h src/helpfile.c src/proto-bahamut.c
+ src/proto-p10.c
+
+
+2006-09-22 01:56:07 GMT Michael Poole <mdpoole@troilus.org> patch-36
+
+ Summary:
+ Delete obsolete and non-propagated user modes.
+ Revision:
+ srvx--devo--1.3--patch-36
+
+ src/hash.h (FLAGS_LOCOP): Delete.
+ (FLAGS_SERVNOTICE): Delete.
+ (FLAGS_HELPER): Delete.
+ (IsServNotice): Delete.
+ (IsHelperIrcu): Delete.
+
+ src/opserv.c (cmd_whois): Remove IsServNotice() or IsHelperIrcu().
+
+ src/proto-bahamut.c (mod_usermode): Do not handle +O/+s/+h, we never see them.
+
+ src/proto-p10.c (irc_user): Do not emit +s or +h, we never set them..
+ (mod_usermode): Do not handle +O/+s/+h, we never see them.
+
+ modified files:
+ ChangeLog src/hash.h src/opserv.c src/proto-bahamut.c
+ src/proto-p10.c
+
+
+2006-09-22 01:48:00 GMT Michael Poole <mdpoole@troilus.org> patch-35
+
+ Summary:
+ Merge AddService(), AddClone() into AddLocalUser()
+ Revision:
+ srvx--devo--1.3--patch-35
+
+ src/chanserv.c (init_chanserv): Convert AddService() call to AddLocalUser().
+
+ src/global.c (init_global): Likewise.
+
+ src/mod-helpserv.c (register_helpserv): Likewise.
+
+ src/modcmd.c (cmd_service_add): Likewise.
+ (modcmd_load_bots): Likewise.
+
+ src/nickserv.c (regex.h): Fall back to rxposix.h from local rx package.
+ (init_nickserv): Convert AddService() call to AddLocalUser().
+
+ src/opserv.c (opserv_add_reserve): Convert AddClone() call to AddLocalUser().
+ (cmd_clone): Likewise.
+ (add_reserved): Likewise.
+ (init_opserv): Convert AddService() call to AddLocalUser().
+
+ src/proto-bahamut.c (AddService): Convert into AddLocalUser().
+ (AddClone): Delete.
+
+ src/proto-p10.c (AddService): Convert into AddLocalUser().
+ (AddClone): Delete.
+
+ src/proto.h (AddService): Convert into AddLocalUser().
+ (AddClone): Delete.
+
+ modified files:
+ ChangeLog src/chanserv.c src/global.c src/mod-helpserv.c
+ src/modcmd.c src/nickserv.c src/opserv.c src/proto-bahamut.c
+ src/proto-p10.c src/proto.h
+
+
+2006-09-22 01:35:03 GMT Michael Poole <mdpoole@troilus.org> patch-34
+
+ Summary:
+ Make IRC message handler 'text' const.
+ Revision:
+ srvx--devo--1.3--patch-34
+
+ src/chanserv.c (chanserv_ctcp_check): Make 'text' parameter const.
+
+ src/mod-helpserv.c (helpserv_usermsg): Likewise.
+ (helpserv_botmsg): Likewise.
+
+ src/modcmd.c (svccmd_invoke): Likewise.
+ (modcmd_privmsg): Likewise.
+ (modcmd_chanmsg): Likewise.
+
+ src/modcmd.h (SVCMSG_HOOK): Likewise.
+
+ src/proto.h (chanmsg_func_t): Likewise.
+ (privmsg_func_t): Likewise.
+
+ modified files:
+ ChangeLog src/chanserv.c src/mod-helpserv.c src/modcmd.c
+ src/modcmd.h src/proto.h
+
+
2006-09-22 01:23:43 GMT Michael Poole <mdpoole@troilus.org> patch-33
Summary: