Fix sending P10 bursts with many bans.
[srvx.git] / ChangeLog
1 # do not edit -- automatically generated by arch changelog
2 # arch-tag: automatic-ChangeLog--srvx@srvx.net--2006/srvx--devo--1.3
3 #
4
5 2006-10-06 23:18:58 GMT Michael Poole <mdpoole@troilus.org>     patch-57
6
7     Summary:
8       Fix sending P10 bursts with many bans.
9     Revision:
10       srvx--devo--1.3--patch-57
11
12     src/proto-p10.c (irc_burst): Only send modes and user list once.
13
14     modified files:
15      ChangeLog src/proto-p10.c
16
17
18 2006-10-06 23:16:58 GMT Michael Poole <mdpoole@troilus.org>     patch-56
19
20     Summary:
21       Remove "wants_reads" field from struct io_fd.
22     Revision:
23       srvx--devo--1.3--patch-56
24
25     Everybody wants read information, so give it to them!
26     
27     src/ioset-epoll.c (ioset_epoll_events): Make EPOLLIN unconditional.
28     
29     src/ioset-impl.h (fd_wants_reads): Delete.
30     
31     src/ioset-select.c (ioset_select_loop): Unconditionally set read bit for fd.
32     
33     src/ioset.c (ioset_add): Add fd to engine after marking it non-blocking.
34       (ioset_buffered_reads): Remove check for fd->wants_reads.
35     
36     src/ioset.h (struct io_fd): Delete "wants_reads" field.
37     
38     src/mod-qserver.c (qserver_readable): Add missing newline.
39       (qserver_accept): Delete assignment to fd->wants_reads.
40     
41     src/mod-sockcheck.c (sockcheck_connected): Delete assignment to
42         fd->wants_reads.
43     
44     src/proto-common.c (create_socket_client): Delete assignment to
45         fd->wants_reads.
46
47     modified files:
48      ChangeLog src/ioset-epoll.c src/ioset-impl.h
49      src/ioset-select.c src/ioset.c src/ioset.h src/mod-qserver.c
50      src/mod-sockcheck.c src/proto-common.c
51
52
53 2006-10-06 23:12:20 GMT Michael Poole <mdpoole@troilus.org>     patch-55
54
55     Summary:
56       Fix detection of gettimeofday().
57     Revision:
58       srvx--devo--1.3--patch-55
59
60     configure.in: Since we have a fallback for gettimeofday, move it in with
61         the functions for which we do.
62
63     modified files:
64      ChangeLog configure.in
65
66
67 2006-10-04 01:41:05 GMT Michael Poole <mdpoole@troilus.org>     patch-54
68
69     Summary:
70       Make timeq_init() automatic.
71     Revision:
72       srvx--devo--1.3--patch-54
73
74     src/main.c (main): Remove call to timeq_init().
75     
76     src/timeq.h (timeq_init): Remove declaration.
77     
78     src/timeq.c (timeq_cleanup): Assign NULL to timeq to handle late timeq_del() calls.
79       (timeq_init): Make static.
80       (timeq_next): If timeq is NULL, return a large positive number.
81       (timeq_add): If timeq is NULL, initialize it.
82       (timeq_del): If timeq is NULL, do nothing.
83
84     modified files:
85      ChangeLog src/main.c src/timeq.c src/timeq.h
86
87
88 2006-10-04 01:37:40 GMT Michael Poole <mdpoole@troilus.org>     patch-53
89
90     Summary:
91       Allow log_module() to NULL log types.
92     Revision:
93       srvx--devo--1.3--patch-53
94
95     src/log.c (log_module): To make cleanup easier, allow NULL log types.
96
97     modified files:
98      ChangeLog src/log.c
99
100
101 2006-10-04 01:32:57 GMT Michael Poole <mdpoole@troilus.org>     patch-52
102
103     Summary:
104       Fix some startup-related glitches.
105     Revision:
106       srvx--devo--1.3--patch-52
107
108     src/ioset.h (ioset_update): Declare new function.
109     
110     src/ioset.c (ioset_init): If we have an engine, return early.
111       (ioset_add): If no engine, try to initialize.
112       (ioset_update): New function.
113
114     modified files:
115      ChangeLog src/ioset.c src/ioset.h
116
117
118 2006-10-04 01:23:10 GMT Michael Poole <mdpoole@troilus.org>     patch-51
119
120     Summary:
121       Update time for ioset backend.
122     Revision:
123       srvx--devo--1.3--patch-51
124
125     src/ioset-epoll.c (ioset_epoll_loop): Set now after epoll_wait() returns.
126
127     modified files:
128      ChangeLog src/ioset-epoll.c
129
130
131 2006-10-03 23:18:25 GMT Michael Poole <mdpoole@troilus.org>     patch-50
132
133     Summary:
134       I18n'ize the staff descriptors in !access.
135     Revision:
136       srvx--devo--1.3--patch-50
137
138     src/chanserv.c (msgtab): Add new entries for staff descriptors.
139       (cmd_access): Use them.
140
141     modified files:
142      ChangeLog src/chanserv.c
143
144
145 2006-09-23 01:14:35 GMT Michael Poole <mdpoole@troilus.org>     patch-49
146
147     Summary:
148       ioset event handling fixups
149     Revision:
150       srvx--devo--1.3--patch-49
151
152     src/ioset.c (ioset_connect): Properly handle the situation if the connect
153         handler closes the fd.
154       (ioset_accept): Rename "old_active_fd" to "old_active" for consistency.
155       (ioset_buffered_read): Make sure we bail if the fd is closed.
156       (ioset_events): Handle 'readable' on a connecting fd as an error.
157
158     modified files:
159      ChangeLog src/ioset.c
160
161
162 2006-09-23 01:03:08 GMT Michael Poole <mdpoole@troilus.org>     patch-48
163
164     Summary:
165       Dummy handling fixes.
166     Revision:
167       srvx--devo--1.3--patch-48
168
169     src/proto-p10.c (irc_notice): Fix the conditions for sending message to
170         IRC.
171       (irc_privmsg): Likewise.
172       (parse_cleanup): Zero num_*_funcs when freeing the corresponding
173         arrays, so that DelUser() doesn't read after free.
174
175     modified files:
176      ChangeLog src/proto-p10.c
177
178
179 2006-09-23 00:58:27 GMT Michael Poole <mdpoole@troilus.org>     patch-47
180
181     Summary:
182       Fix hostmask generation for hostnames without dots.
183     Revision:
184       srvx--devo--1.3--patch-47
185
186     src/proto-common.c (generate_hostmask): Keep no-dot hostnames as the
187         mask -- mod-qserver can generate hostnames like "localhost".
188
189     modified files:
190      ChangeLog src/proto-common.c
191
192
193 2006-09-23 00:55:02 GMT Michael Poole <mdpoole@troilus.org>     patch-46
194
195     Summary:
196       Default qserver clients to being opers.
197     Revision:
198       srvx--devo--1.3--patch-46
199
200     src/mod-qserver.c (qserver_accept): Default dummy client to having
201         usermode +o, so they can use privileged services.
202
203     modified files:
204      ChangeLog src/mod-qserver.c
205
206
207 2006-09-23 00:52:48 GMT Michael Poole <mdpoole@troilus.org>     patch-45
208
209     Summary:
210       Further giveownership confirmation fixes.
211     Revision:
212       srvx--devo--1.3--patch-45
213
214     src/chanserv.c (CSMSG_CONFIRM_GIVEOWNERSHIP): Prepend * to account name.
215       (cmd_giveownership): Check invoker access to determine need for confirmation.
216
217     modified files:
218      ChangeLog src/chanserv.c
219
220
221 2006-09-22 03:33:25 GMT Michael Poole <mdpoole@troilus.org>     patch-44
222
223     Summary:
224       Fix comment about +O vs +o.
225     Revision:
226       srvx--devo--1.3--patch-44
227
228     src/hash.h (FLAGS_OPER): The user mode is actually +o, not +O.
229
230     modified files:
231      ChangeLog src/hash.h
232
233
234 2006-09-22 03:28:08 GMT Michael Poole <mdpoole@troilus.org>     patch-43
235
236     Summary:
237       Fix license notice for mod-qserver.c
238     Revision:
239       srvx--devo--1.3--patch-43
240
241     src/mod-qserver.c: Since this was for public distribution, use the
242         standard GPL header notice.
243
244     modified files:
245      ChangeLog src/mod-qserver.c
246
247
248 2006-09-22 03:05:54 GMT Michael Poole <mdpoole@troilus.org>     patch-42
249
250     Summary:
251       Add win32 specific files to tarballs.
252     Revision:
253       srvx--devo--1.3--patch-42
254
255     Makefile.am (EXTRA_DIST): Include Makefile.win32.
256     
257     src/Makefile.am (EXTRA_srvx_SOURCES): Include config.h.win32 and ioset-win32.c.
258
259     modified files:
260      ChangeLog Makefile.am src/Makefile.am
261
262
263 2006-09-22 03:02:07 GMT Michael Poole <mdpoole@troilus.org>     patch-41
264
265     Summary:
266       First pass at native Win32 support (does not compile).
267     Revision:
268       srvx--devo--1.3--patch-41
269
270     src/compat.h: Handle Windows Sockets 2 headers.
271     
272     src/mod-memoserv.c (KEY_READ): #undef'ine to avoid its registry access
273         meaning on Windows.
274     
275     Makefile.win32: New Makefile for native or cross builds targeting Win32.
276     
277     src/config.h.win32: Pregenerated config.h for Win32.
278     
279     src/ioset-win32.c: First attempt at a Win32 ioset backend.
280
281     new files:
282      .arch-ids/Makefile.win32.id Makefile.win32
283      src/.arch-ids/config.h.win32.id src/.arch-ids/ioset-win32.c.id
284      src/config.h.win32 src/ioset-win32.c
285
286     modified files:
287      ChangeLog src/compat.h src/mod-memoserv.c
288
289
290 2006-09-22 02:51:50 GMT Michael Poole <mdpoole@troilus.org>     patch-40
291
292     Summary:
293       Add direct query server module.
294     Revision:
295       srvx--devo--1.3--patch-40
296
297     srvx.conf.example: Document qserver configuration.
298     
299     src/Makefile.am (EXTRA_srvx_SOURCES): Add mod-qserver.c.
300     
301     src/mod-qserver.c: New file.
302
303     new files:
304      src/.arch-ids/mod-qserver.c.id src/mod-qserver.c
305
306     modified files:
307      ChangeLog src/Makefile.am src/ioset-epoll.c srvx.conf.example
308
309
310 2006-09-22 02:45:20 GMT Michael Poole <mdpoole@troilus.org>     patch-39
311
312     Summary:
313       Add epoll_* ioset backend.
314     Revision:
315       srvx--devo--1.3--patch-39
316
317     configure.in: Check for epoll_create(); demote select() from being required.
318     
319     src/Makefile.am (EXTRA_srvx_SOURCES): Add ioset-epoll.c.
320     
321     src/ioset-epoll.c: New file.
322
323     new files:
324      src/.arch-ids/ioset-epoll.c.id src/ioset-epoll.c
325
326     modified files:
327      ChangeLog configure.in src/Makefile.am
328
329
330 2006-09-22 02:38:21 GMT Michael Poole <mdpoole@troilus.org>     patch-38
331
332     Summary:
333       Allow multiple ioset backends.
334     Revision:
335       srvx--devo--1.3--patch-38
336
337     configure.in: Add framework to check for ioset backends.
338     
339     src/Makefile.am (noinst_DATA): Reorganize for easier patching.
340       (checkversion): Avoid spurious error message if $(GNU_ARCH) is missing.
341       (EXTRA_srvx_SOURCES): Reorganize for easier patching; add ioset-select.c.
342       (srvx_SOURCES): Add ioset-impl.h.
343     
344     src/ioset.c (ioset.h): #include "ioset-impl.h" instead.
345       (clock_skew): Make non-static for backends.
346       (engine): New variable.
347       (active_fd): New variable (kind of kludgy).
348       (io_engine_*): New variables, only one exists so far.
349       (ioset_init): New function.
350       (ioset_cleanup): Call engine's cleanup function.
351       (ioset_add): Call engine's add function.
352       (ioset_listen): New function.
353       (ioset_connect): Call engine's update functions at appropriate points.
354       (ioset_try_write): Call engine's update function on success.
355       (ioset_close): Change signature; check against active_fd; call engine's
356         remove function.
357       (ioset_accept): New function.
358       (ioset_buffered_read): Update fd->state instead of fd->eof and call
359         engine's update function as appropriate.  Use active_fd.
360       (ioset_line_read): Check fd->state instead of fd->eof.
361       (debug_fdsets): Move to ioset-select.c.
362       (ioset_events): New function.
363       (ioset_run): Move most of the logic into ioset-select loop function;
364         call it.  Rename "select_timeout" to "timeout" to match.
365       (ioset_write): Call engine->update function.
366       (ioset_printf): New function.
367     
368     src/ioset.h (common.h): #include this header to get PRINTF_LIKE macro.
369       (struct io_fd): Replace 'connected' and 'eof' fields with 'state' field.
370       (ioset_init): Declare new function.
371       (ioset_listen): Declare new function.
372       (ioset_printf): Declare new function.
373       (ioset_close): Update signature.
374     
375     src/main.c (main): Call ioset_init().
376     
377     src/mod-sockcheck.c (sockcheck_free_client): Can unconditionally call
378         ioset_close() now.
379       (expand_var): Always use C99 type names.
380       (sockcheck_begin_test): Can unconditionally call ioset_close() now.
381       (sockcheck_read_conf): Only warn about unknown host if the user set
382         one; it is silly to arn about unknown host `(null)'.
383     
384     src/proto-common.c (socket_destroyed): Check fd->state rather than
385         fd->eof.
386       (close_socket): Update signature for ioset_close().
387
388     new files:
389      src/.arch-ids/ioset-impl.h.id src/.arch-ids/ioset-select.c.id
390      src/ioset-impl.h src/ioset-select.c
391
392     modified files:
393      ChangeLog configure.in src/Makefile.am src/ioset.c src/ioset.h
394      src/main.c src/mod-sockcheck.c src/proto-common.c
395
396
397 2006-09-22 02:15:55 GMT Michael Poole <mdpoole@troilus.org>     patch-37
398
399     Summary:
400       Add "dummy client" support.
401     Revision:
402       srvx--devo--1.3--patch-37
403
404     src/hash.h (FLAGS_DUMMY): New flag for non-propagated clients.
405       (IsDummy): Check it.
406     
407     src/helpfile.c (send_message): Allow sending to dummy clients.
408       (send_message_type): Likewise.
409     
410     src/proto-bahamut.c (irc_user): Bail if user is NULL or has a dummy nickname.
411       (deliver_to_dummy): New function.
412       (irc_privmsg): Try to deliver via dummy method before sending to IRC.
413       (irc_notice): Likewise.
414       (irc_notice_user): Likewise.
415       (AddUser): If the first user mode character is '*', mark as a dummy.
416       (DelUser): Unregister callback functions when destroying local clients.
417     
418     src/proto-p10.c (irc_user): Bail if user is NULL or has a dummy nickname.
419       (deliver_to_dummy): New function.
420       (irc_notice): Try to deliver via dummy method before sending to IRC.
421       (irc_notice_user): Likewise.
422       (irc_privmsg): Likewise.
423       (AddUser): If the first user mode character is '*', mark as a dummy.
424       (DelUser): Unregister callback functions when destroying local clients.
425
426     modified files:
427      ChangeLog src/hash.h src/helpfile.c src/proto-bahamut.c
428      src/proto-p10.c
429
430
431 2006-09-22 01:56:07 GMT Michael Poole <mdpoole@troilus.org>     patch-36
432
433     Summary:
434       Delete obsolete and non-propagated user modes.
435     Revision:
436       srvx--devo--1.3--patch-36
437
438     src/hash.h (FLAGS_LOCOP): Delete.
439       (FLAGS_SERVNOTICE): Delete.
440       (FLAGS_HELPER): Delete.
441       (IsServNotice): Delete.
442       (IsHelperIrcu): Delete.
443     
444     src/opserv.c (cmd_whois): Remove IsServNotice() or IsHelperIrcu().
445     
446     src/proto-bahamut.c (mod_usermode): Do not handle +O/+s/+h, we never see them.
447     
448     src/proto-p10.c (irc_user): Do not emit +s or +h, we never set them..
449       (mod_usermode): Do not handle +O/+s/+h, we never see them.
450
451     modified files:
452      ChangeLog src/hash.h src/opserv.c src/proto-bahamut.c
453      src/proto-p10.c
454
455
456 2006-09-22 01:48:00 GMT Michael Poole <mdpoole@troilus.org>     patch-35
457
458     Summary:
459       Merge AddService(), AddClone() into AddLocalUser()
460     Revision:
461       srvx--devo--1.3--patch-35
462
463     src/chanserv.c (init_chanserv): Convert AddService() call to AddLocalUser().
464     
465     src/global.c (init_global): Likewise.
466     
467     src/mod-helpserv.c (register_helpserv): Likewise.
468     
469     src/modcmd.c (cmd_service_add): Likewise.
470       (modcmd_load_bots): Likewise.
471     
472     src/nickserv.c (regex.h): Fall back to rxposix.h from local rx package.
473       (init_nickserv): Convert AddService() call to AddLocalUser().
474     
475     src/opserv.c (opserv_add_reserve): Convert AddClone() call to AddLocalUser().
476       (cmd_clone): Likewise.
477       (add_reserved): Likewise.
478       (init_opserv): Convert AddService() call to AddLocalUser().
479     
480     src/proto-bahamut.c (AddService): Convert into AddLocalUser().
481       (AddClone): Delete.
482     
483     src/proto-p10.c (AddService): Convert into AddLocalUser().
484       (AddClone): Delete.
485     
486     src/proto.h (AddService): Convert into AddLocalUser().
487       (AddClone): Delete.
488
489     modified files:
490      ChangeLog src/chanserv.c src/global.c src/mod-helpserv.c
491      src/modcmd.c src/nickserv.c src/opserv.c src/proto-bahamut.c
492      src/proto-p10.c src/proto.h
493
494
495 2006-09-22 01:35:03 GMT Michael Poole <mdpoole@troilus.org>     patch-34
496
497     Summary:
498       Make IRC message handler 'text' const.
499     Revision:
500       srvx--devo--1.3--patch-34
501
502     src/chanserv.c (chanserv_ctcp_check): Make 'text' parameter const.
503     
504     src/mod-helpserv.c (helpserv_usermsg): Likewise.
505       (helpserv_botmsg): Likewise.
506     
507     src/modcmd.c (svccmd_invoke): Likewise.
508       (modcmd_privmsg): Likewise.
509       (modcmd_chanmsg): Likewise.
510     
511     src/modcmd.h (SVCMSG_HOOK): Likewise.
512     
513     src/proto.h (chanmsg_func_t): Likewise.
514       (privmsg_func_t): Likewise.
515
516     modified files:
517      ChangeLog src/chanserv.c src/mod-helpserv.c src/modcmd.c
518      src/modcmd.h src/proto.h
519
520
521 2006-09-22 01:23:43 GMT Michael Poole <mdpoole@troilus.org>     patch-33
522
523     Summary:
524       Add autogen.sh to distribution tarball.
525     Revision:
526       srvx--devo--1.3--patch-33
527
528     Makefile.am: Add autogen.sh to the "extra" distributed files.
529
530     modified files:
531      ChangeLog Makefile.am
532
533
534 2006-09-11 01:03:14 GMT Michael Poole <mdpoole@troilus.org>     patch-32
535
536     Summary:
537       Support and use G-line lastmod timestamp.
538     Revision:
539       srvx--devo--1.3--patch-32
540
541     src/gline.c (KEY_LASTMOD): New key string.
542       (gline_add): Use new parameter to set lastmod.
543       (gline_add_record): Look for KEY_LASTMOD values.
544       (gline_write_entry): Set KEY_LASTMOD if lastmod is set.
545       (gline_discrim_create): Allow specification of lastmod criteria.
546       (gline_discrim_match): Check lastmod if appropriate.
547     
548     src/gline.h (struct gline): Add lastmod field.
549       (struct gline_discrim): Add lastmod fields.
550       (gline_add): New parameter.
551     
552     src/mod-sockcheck.c (sockcheck_issue_gline): Set lastmod.
553     
554     src/opserv.c (OSMSG_NO_GLINE): New format string.
555       (opserv_block): Set lastmod.
556       (cmd_gline): Set lastmod.
557       (cmd_stats_glines): Allow searching for a particular G-line (just like
558         gtrace).
559       (opserv_new_user_check): Set lastmod.
560       (gtrace_print_func): Use intervals rather than fixed dates and show
561         lastmod.
562     
563     src/opserv.help (GTRACE CRITERIA): Mention lastmod criteria.
564     
565     src/proto-p10.c (irc_gline): Send lastmod if it is set.
566       (cmd_num_gline): Parse out lastmod if it is set.
567       (cmd_gline): Parse out lastmod if it is set.
568
569     modified files:
570      ChangeLog src/gline.c src/gline.h src/mod-sockcheck.c
571      src/opserv.c src/opserv.help src/proto-p10.c
572
573
574 2006-09-09 21:37:28 GMT Michael Poole <mdpoole@troilus.org>     patch-31
575
576     Summary:
577       Network event handler fixup when ChanServ is disabled.
578     Revision:
579       srvx--devo--1.3--patch-31
580
581     src/chanserv.c (init_chanserv): Do not register network event handlers if
582         ChanServ is disabled.
583
584     modified files:
585      ChangeLog src/chanserv.c
586
587
588 2006-09-03 15:24:48 GMT Michael Poole <mdpoole@troilus.org>     patch-30
589
590     Summary:
591       Make srvx compile on cygwin again.
592     Revision:
593       srvx--devo--1.3--patch-30
594
595     configure.in (AC_CHECK_HEADERS): Look for <arpa/inet.h>.
596       (AC_CHECK_FUNCS): Look for inet_aton().
597     
598     src/compat.c: Try to include <arpa/inet.h> so we get inet_addr().
599       (getaddrinfo): If inet_aton() is not provided, use inet_addr() instead.
600     
601     src/compat.h (AI_NUMERICHOST): Define this too.
602     
603     src/tools.c (irc_pton): Use the pedantically correct type for ip4.
604
605     modified files:
606      ChangeLog configure.in src/compat.c src/compat.h src/tools.c
607
608
609 2006-09-03 15:21:10 GMT Michael Poole <mdpoole@troilus.org>     patch-29
610
611     Summary:
612       DelChannelUser call and semantic fixups
613     Revision:
614       srvx--devo--1.3--patch-29
615
616     src/hash.c (DelChannel): Fix type of 'reason' arg to DelChannelUser().
617       (DelChannelUser): Only send part message if user is local.
618     
619     src/proto-bahamut.c (DelUser): Unswap arguments to DelChannelUser().
620       (cmd_part): Move to proto-common.c.
621     
622     src/proto-common.c (part_desc): New structure type.
623       (part_helper): Use it to capture user and reason.
624       (cmd_part): New common function.
625     
626     src/proto-p10.c (cmd_part): Move to proto-common.c.
627       (DelUser): Unswap arguments to DelChannelUser().
628
629     modified files:
630      ChangeLog src/hash.c src/proto-bahamut.c src/proto-common.c
631      src/proto-p10.c
632
633
634 2006-09-03 15:17:05 GMT Michael Poole <mdpoole@troilus.org>     patch-28
635
636     Summary:
637       Do not try to moderate join-flood channels with no OpServ.
638     Revision:
639       srvx--devo--1.3--patch-28
640
641     src/opserv.c (opserv_join_check): As feigling points out, it is bad for a
642         service that does not exist to join a channel and hack modes.
643
644     modified files:
645      ChangeLog src/opserv.c
646
647
648 2006-09-03 15:13:31 GMT Michael Poole <mdpoole@troilus.org>     patch-27
649
650     Summary:
651       Fix ounregnick access check.
652     Revision:
653       srvx--devo--1.3--patch-27
654
655     src/nickserv.c (cmd_ounregnick): Use the standard rank-checking function.
656
657     modified files:
658      ChangeLog src/nickserv.c
659
660
661 2006-09-03 15:11:29 GMT Michael Poole <mdpoole@troilus.org>     patch-26
662
663     Summary:
664       Fix giveownership to how it should be
665     Revision:
666       srvx--devo--1.3--patch-26
667
668     src/chanserv.c (cmd_giveownership): Only require confirmation code if the
669       user has real (normal) access and is not forcing the giveownership.
670
671     modified files:
672      ChangeLog
673
674
675 2006-09-03 15:10:58 GMT Michael Poole <mdpoole@troilus.org>     patch-25
676
677     Summary:
678       Fix giveownership to how it should be
679     Revision:
680       srvx--devo--1.3--patch-25
681
682     src/chanserv.c (cmd_giveownership): Only require confirmation code if the
683       user has real (normal) access and is not forcing the giveownership.
684
685     modified files:
686      ChangeLog src/chanserv.c
687
688
689 2006-08-19 13:31:08 GMT Michael Poole <mdpoole@troilus.org>     patch-24
690
691     Summary:
692       Mark channels as visited when high-level users leave.
693     Revision:
694       srvx--devo--1.3--patch-24
695
696     src/chanserv.c (handle_part): At ThiefMaster's suggestion, update a
697       channel's visited time when a high-level user leaves (parts, gets
698       kicked, or quits).
699
700     modified files:
701      ChangeLog src/chanserv.c
702
703
704 2006-08-07 03:11:10 GMT Michael Poole <mdpoole@troilus.org>     patch-23
705
706     Summary:
707       Require confirmation cookie for giveownership.
708     Revision:
709       srvx--devo--1.3--patch-23
710
711     src/chanserv.c (CSMSG_CONFIRM_GIVEOWNERSHIP): New translation string.
712       (cmd_giveownership): Fail for non-force unconfirmed giveownerships.
713
714     modified files:
715      ChangeLog src/chanserv.c
716
717
718 2006-07-29 01:36:39 GMT Michael Poole <mdpoole@troilus.org>     patch-22
719
720     Summary:
721       Add CSMSG_INVALID_CFLAG string.
722     Revision:
723       srvx--devo--1.3--patch-22
724
725     src/chanserv.c (msgtab): Add entry for "CSMSG_INVALID_CFLAG".
726
727     modified files:
728      ChangeLog src/chanserv.c
729
730
731 2006-07-29 01:34:17 GMT Michael Poole <mdpoole@troilus.org>     patch-21
732
733     Summary:
734       Fix ?csearch max timestamp default value.
735     Revision:
736       srvx--devo--1.3--patch-21
737
738     src/opserv.c (opserv_cdiscrim_create): Fix default value for max_ts.
739         (With an expression only a coder could love.  Improvements wanted.)
740
741     modified files:
742      ChangeLog src/opserv.c
743
744
745 2006-07-18 03:13:31 GMT Michael Poole <mdpoole@troilus.org>     patch-20
746
747     Summary:
748       Update arch-inventory files for in-tree builds.
749     Revision:
750       srvx--devo--1.3--patch-20
751
752     .arch-inventory: Add "libtool" as a preserved file.
753     
754     src/.arch-inventory: Add ".libs" as a preserved directory.  Put a \
755         before the . in .cvsignore to avoid capturing too much.
756
757     modified files:
758      .arch-inventory ChangeLog src/.arch-inventory
759
760
761 2006-07-18 02:48:32 GMT Michael Poole <mdpoole@troilus.org>     patch-19
762
763     Summary:
764       Make !bans searching more flexible
765     Revision:
766       srvx--devo--1.3--patch-19
767
768     src/chanserv.c (cmd_bans): Allow specifying a complete hostmask or a
769         nickname when searching bans.
770     
771     src/chanserv.help (BANS): Document the searching functions.
772
773     modified files:
774      ChangeLog src/chanserv.c src/chanserv.help
775
776
777 2006-07-18 01:49:56 GMT Michael Poole <mdpoole@troilus.org>     patch-18
778
779     Summary:
780       Simplify cdiscrim_match() max tests.
781     Revision:
782       srvx--devo--1.3--patch-18
783
784     src/opserv.c (opserv_cdiscrim_create): Explicitly initialize max_users
785         and max_ts.
786       (cdiscrim_match): Simplify the bounds tests for timestamp and users.
787
788     modified files:
789      ChangeLog src/opserv.c
790
791
792 2006-07-18 01:46:10 GMT Michael Poole <mdpoole@troilus.org>     patch-17
793
794     Summary:
795       Fix reclaim KILL behavior.
796     Revision:
797       srvx--devo--1.3--patch-17
798
799     src/nickserv.c (nickserv_reclaim): Use DelUser() instead of irc_kill(),
800         so that srvx's databases are appropriately updated.
801
802     modified files:
803      ChangeLog src/nickserv.c
804
805
806 2006-07-18 01:12:16 GMT Michael Poole <mdpoole@troilus.org>     patch-16
807
808     Summary:
809       Fix typo in English error message text.
810     Revision:
811       srvx--devo--1.3--patch-16
812
813     src/chanserv.c (CSMSG_TOPICMASK_CONFLICT2): Add missing "is".  Reported
814       by Harm, by way of Byte.
815
816     modified files:
817      ChangeLog src/chanserv.c
818
819
820 2006-05-14 02:54:24 GMT Michael Poole <mdpoole@troilus.org>     patch-15
821
822     Summary:
823       Update version tag for 1.3.1 release.
824     Revision:
825       srvx--devo--1.3--patch-15
826
827     configure.in: Update version tag for 1.3.1 release.
828
829     modified files:
830      ChangeLog configure.in
831
832
833 2006-05-02 02:46:39 GMT Michael Poole <mdpoole@troilus.org>     patch-14
834
835     Summary:
836       Make some ChanServ ban checks see through hidden hosts.
837     Revision:
838       srvx--devo--1.3--patch-14
839
840     src/chanserv.c (handle_join): Make this function see through hidden
841         hosts when matching users against bans.  Add comment before the
842         non-burst section; remove a redundant burst check there.
843       (handle_auth): See through hidden hosts when checking against active
844         bans.  Inactive ban check keeps MATCH_VISIBLE since bans on the true
845         hostname should have already been applied.
846       (handle_nick_change): Same as handle_auth.
847
848     modified files:
849      ChangeLog src/chanserv.c
850
851
852 2006-04-29 03:11:35 GMT Michael Poole <mdpoole@troilus.org>     patch-13
853
854     Summary:
855       Fix visible matching for fake and +x-hidden hosts.
856     Revision:
857       srvx--devo--1.3--patch-13
858
859     src/tools.c (user_matches_glob): Use correct test to determine whether
860         the user's host is hidden.
861
862     modified files:
863      ChangeLog src/tools.c
864
865
866 2006-04-07 00:56:38 GMT Michael Poole <mdpoole@troilus.org>     patch-12
867
868     Summary:
869       Fix a +o mode parsing error.
870     Revision:
871       srvx--devo--1.3--patch-12
872
873     src/proto-p10.c (mod_chanmode_parse): Check that the input argument after
874         +o is a valid one.
875
876     modified files:
877      ChangeLog src/proto-p10.c
878
879
880 2006-04-06 02:19:47 GMT Michael Poole <mdpoole@troilus.org>     patch-11
881
882     Summary:
883       Fix some IPv6 address compatibility issues.
884     Revision:
885       srvx--devo--1.3--patch-11
886
887     src/proto-p10.c (irc_p10_pton): Mark valid IPv4 addresses as v4-mapped.
888       (irc_p10_ntop): Emit invalid IPs as AAAAAA (but it could be _ for +6
889         flagged hubs).
890
891     modified files:
892      ChangeLog src/proto-p10.c
893
894
895 2006-04-05 02:07:30 GMT Michael Poole <mdpoole@troilus.org>     patch-10
896
897     Summary:
898       Fix a possible warning without debugging.
899     Revision:
900       srvx--devo--1.3--patch-10
901
902     src/alloc-slab.c (slab_unalloc): If assert() is #define'd to be empty,
903         then size is unused.  Include a (void)size to quash a warning.
904
905     modified files:
906      ChangeLog src/alloc-slab.c
907
908
909 2006-04-05 02:02:21 GMT Michael Poole <mdpoole@troilus.org>     patch-9
910
911     Summary:
912       Fix hostmask error from last year's patch-28.
913     Revision:
914       srvx--devo--1.3--patch-9
915
916     src/proto-common.c (generate_hostmask): When generating a strict hostmask
917         not by IP, we should keep the original hostname.
918
919     modified files:
920      ChangeLog src/proto-common.c
921
922
923 2006-04-05 01:59:54 GMT Michael Poole <mdpoole@troilus.org>     patch-8
924
925     Summary:
926       Fix compilation error with slab allocator and no debugging.
927     Revision:
928       srvx--devo--1.3--patch-8
929
930     src/alloc-slab.c (verify): Undefine as a macro before defining as a
931         function.
932
933     modified files:
934      ChangeLog src/alloc-slab.c
935
936
937 2006-04-05 00:24:50 GMT Michael Poole <mdpoole@troilus.org>     patch-7
938
939     Summary:
940       Fix backtracking bug after an escaped character.
941     Revision:
942       srvx--devo--1.3--patch-7
943
944     src/tools.c (match_ircglob): Fix backtracking behavior when an escaped
945         character did not match.
946
947     modified files:
948      ChangeLog src/tools.c
949
950
951 2006-04-05 00:11:31 GMT Michael Poole <mdpoole@troilus.org>     patch-6
952
953     Summary:
954       Advise the kernel that we will scan DB files sequentially.
955     Revision:
956       srvx--devo--1.3--patch-6
957
958     src/recdb.c (parse_database): Advise the kernel that we will scan the
959         recdb file sequentially, just in case it cannot notice the access
960         pattern on its own.
961
962     modified files:
963      ChangeLog src/recdb.c
964
965
966 2006-04-05 00:09:48 GMT Michael Poole <mdpoole@troilus.org>     patch-5
967
968     Summary:
969       Correctly implement AsLL pong.
970     Revision:
971       srvx--devo--1.3--patch-5
972
973     src/proto-p10.c (irc_pong_asll): New function.
974       (cmd_ping): Use it.
975
976     modified files:
977      ChangeLog src/proto-p10.c
978
979
980 2006-04-05 00:08:04 GMT Michael Poole <mdpoole@troilus.org>     patch-4
981
982     Summary:
983       Add missing underscore in translation key string.
984     Revision:
985       srvx--devo--1.3--patch-4
986
987     src/mod-helpserv.c (helpserv_usermsg): Add a missing underscore between
988         REQUEST and NOT.
989
990     modified files:
991      ChangeLog src/mod-helpserv.c
992
993
994 2006-04-05 00:05:59 GMT Michael Poole <mdpoole@troilus.org>     patch-3
995
996     Summary:
997       Update configure.in; support both baz and tla; avoid using dirent.
998     Revision:
999       srvx--devo--1.3--patch-3
1000
1001     configure.in: Remove AC_PROG_RANLIB since we never use ranlib.  Add
1002         AC_PROG_LIBTOOL since we do use libtool.  Set GNU_ARCH and
1003         HAS_GNU_ARCH based on whether the system has baz or tla.  Do not
1004         check for dirent.d_type.
1005     
1006     src/Makefile.am: Make the "checkversion" target conditional on
1007         HAS_GNU_ARCH, and use the detected $(GNU_ARCH).
1008     
1009     src/helpfile.c (language_read): Report error text when unable to open a
1010         language directory.
1011       (language_read_list): Always stat the language entry to determine
1012         whether it is a directory; Cygwin has no dirent.d_type and ReiserFS
1013         has a broken one.
1014
1015     modified files:
1016      ChangeLog configure.in src/Makefile.am src/helpfile.c
1017
1018
1019 2006-04-05 00:00:57 GMT Michael Poole <mdpoole@troilus.org>     patch-2
1020
1021     Summary:
1022       Update ChangeLog (again?!), ltmain.sh and rx/Makefile.in
1023     Revision:
1024       srvx--devo--1.3--patch-2
1025
1026     ChangeLog: Update again (it didn't take, for some strange reason).
1027     
1028     ltmain.sh: Update to current version.
1029     
1030     rx/Makefile.in: Regenerate to match.
1031
1032     modified files:
1033      ChangeLog ltmain.sh rx/Makefile.in
1034
1035
1036 2006-04-04 23:58:31 GMT Michael Poole <mdpoole@troilus.org>     patch-1
1037
1038     Summary:
1039       Rotate ChangeLog for the new year's archive.
1040     Revision:
1041       srvx--devo--1.3--patch-1
1042
1043     ChangeLog: Update for the new year's archive.
1044
1045     modified files:
1046      .arch-ids/ChangeLog.id ChangeLog
1047
1048
1049 2006-04-04 23:42:39 GMT Michael Poole <mdpoole@troilus.org>     base-0
1050
1051     Summary:
1052       tag of srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-36
1053     Revision:
1054       srvx--devo--1.3--base-0
1055
1056     (automatically generated log message)
1057
1058     new patches:
1059      sp@gamesurge.net--2005/srvx--sp--1.3--patch-1
1060      sp@gamesurge.net--2005/srvx--sp--1.3--patch-2
1061      srvx@srvx.net--2004-srvx/srvx--devo--1.3--base-0
1062      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-1
1063      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-2
1064      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-3
1065      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-4
1066      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-5
1067      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-6
1068      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-7
1069      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-8
1070      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-9
1071      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-10
1072      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-11
1073      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-12
1074      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-13
1075      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-14
1076      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-15
1077      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-16
1078      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-17
1079      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-18
1080      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-19
1081      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-20
1082      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-21
1083      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-22
1084      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-23
1085      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-24
1086      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-25
1087      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-26
1088      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-27
1089      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-28
1090      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-29
1091      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-30
1092      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-31
1093      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-32
1094      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-33
1095      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-34
1096      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-35
1097      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-36
1098      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-37
1099      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-38
1100      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-39
1101      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-40
1102      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-41
1103      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-42
1104      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-43
1105      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-44
1106      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-45
1107      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-46
1108      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-47
1109      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-48
1110      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-49
1111      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-50
1112      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-51
1113      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-52
1114      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-53
1115      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-54
1116      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-55
1117      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-56
1118      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-57
1119      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-58
1120      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-59
1121      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-60
1122      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-61
1123      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-62
1124      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-63
1125      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-64
1126      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-65
1127      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-66
1128      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-67
1129      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-68
1130      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-69
1131      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-70
1132      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-71
1133      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-72
1134      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-73
1135      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-74
1136      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-75
1137      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-76
1138      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-77
1139      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-78
1140      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-79
1141      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-80
1142      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-81
1143      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-82
1144      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-83
1145      srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-84
1146      srvx@srvx.net--2005-srvx/srvx--devo--1.3--base-0
1147      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-1
1148      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-2
1149      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-3
1150      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-4
1151      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-5
1152      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-6
1153      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-7
1154      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-8
1155      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-9
1156      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-10
1157      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-11
1158      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-12
1159      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-13
1160      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-14
1161      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-15
1162      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-16
1163      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-17
1164      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-18
1165      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-19
1166      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-20
1167      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-21
1168      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-22
1169      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-23
1170      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-24
1171      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-25
1172      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-26
1173      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-27
1174      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-28
1175      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-29
1176      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-30
1177      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-31
1178      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-32
1179      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-33
1180      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-34
1181      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-35
1182      srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-36
1183
1184