Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ChangeLog
1 2000-04-12  Kevin L. Mitchell  <klmitch@mit.edu>
2
3         * ircd/channel.c (mode_process_clients): fix "Deop of +k user on
4         %s by %s" message...
5
6         * ircd/ircd_snprintf.c: my new snprintf()-like functions
7
8         * include/ircd_snprintf.h: my new snprintf()-like functions
9
10 2000-04-11  Thomas Helvey <tomh@inxpress.net>
11         * ircd/IPcheck.c: removed old dead code
12         * ircd/s_user.c (send_user_info): removed non-standard
13           user not found message for userhost/userip
14
15 2000-04-11  Greg Sikorski <gte@atomicrevs.demon.co.uk>
16
17         * ircd/s_err.c: Added missing quotes to ERR_DONTCHEAT numeric.
18         * doc/p10.html: Work on chapter 4.
19
20 2000-04-10  Kevin L. Mitchell  <klmitch@mit.edu>
21
22         * ircd/channel.c (mode_parse_client): fix coredump on /mode
23         #foobar +o nosuchnick
24
25 2000-04-10  Perry Lorier  <Isomer@coders.net>
26         * BUGS: Added bug.
27
28 2000-04-09  Thomas Helvey <tomh@inxpress.net>
29         * include/IPcheck.h: fix prototype
30         * ircd/s_user.c: fix usage of IPcheck_remote_connect
31         * ircd/IPcheck.c: removed unused args
32
33 2000-04-09  Thomas Helvey <tomh@inxpress.net>
34         * include/IPcheck.h: add proto for IPcheck_expire
35
36         * ircd/IPcheck.c: Rewrote
37
38         * ircd/ircd.c: Add IPcheck_expire to main message loop
39
40         * ircd/s_user.c: Redo target hashing, refactor target code
41
42         * include/numeric.h: Cleaned up numerics, added which ones are
43         in use by other networks and what they are in use for.
44
45         * ircd/channel.c: cleaned can_join(), allow anyone through anything
46         if /invited, simplified the function.  Opers overusing OPEROVERRIDE
47         will get a message explaining to them not to cheat.
48
49         * ircd/m_join.c: cleaned up the various join functions, should be
50         a lot more efficient.  Still needs work.  Now assumes that s<->s
51         won't send it a JOIN 0.  Service coders - note this and tread with
52         care.
53
54         * ircd/m_stats.c: added Gte-'s stats doc patch.
55
56         * ircd/m_version.c: /version now returns the 005 numeric as well.
57         as requested by Liandrin.
58
59
60 2000-04-07  Kevin L. Mitchell  <klmitch@mit.edu>
61
62         * ircd/m_clearmode.c: add include for support.h for write_log()
63
64         * configure: move ircd/crypt/* to tools/*
65
66 2000-04-06  Thomas Helvey <tomh@inxpress.net>
67         * ircd/s_auth.c: Shorten auth connect timeout to 60 seconds
68           set client host to server alias if connection from localhost
69
70 2000-04-06  Perry Lorier <isomer@coders.net>
71         * ircd/ircd.c: Fix core during pinging (oops)
72         
73 2000-04-06  Perry Lorier <isomer@coders.net>
74         * ircd/send.c: fixed wrong ident being sent to channels bug.
75         * include/numerics.h: Updated some of the numerics from other
76         networks.  Flagged some as 'unused' by undernet.
77
78 2000-03-30  Perry Lorier <isomer@coders.net>
79         * ircd/ircd.c: Lets see if this helps the ping problem at all.
80         * ircd/whocmds.c, /doc/readme.who: Added %l specifier to get idle
81         time for local clients. (as requested), extended who now returns all
82         the flags (@+!) so you can tell the complete state of a client.
83
84 2000-03-30  Thomas Helvey <tomh@inxpress.net>
85         * m_rping.c m_rpong.c: add Gte's rping/rpong fixes
86
87 2000-03-30  Perry Lorier <isomer@coders.net>
88         * ircd/parse.c: oops, missed opers.
89
90 2000-03-30  Perry Lorier <isomer@coders.net>
91         * ircd/parse.c: fixed mystifying ping bug thats been plaguing us
92         for so long.  Remember: m_ping MUST be in the parse array. :)
93
94 2000-03-30  Perry Lorier <isomer@coders.net>
95         * ircd/ircd.c: test in check_pings was wrong.  I move that we
96         disallow cvs commit after 10pm localtime....
97
98 2000-03-30  Perry Lorier <isomer@coders.net>
99         * ircd/m_pong.c: Fix it for servers too.
100
101 2000-03-30  Perry Lorier <isomer@coders.net>
102         * ircd/m_pong.c: Fix ping timeout bugs
103
104 2000-03-30  Perry Lorier <isomer@coders.net>
105         * ircd/channel.c: Bans had CurrentTime in their when field instead
106         of TStime()
107
108 2000-03-31  Thomas Helvey <tomh@ixpress.net>
109         * ircd/numnicks.c (SetXYYCapacity): fix for extended
110         numerics.
111
112 2000-03-30  Perry Lorier <isomer@coders.net>
113         * ircd/m_nick.c: send kills both ways so when we add nick change
114         on collision we don't desync the network.
115
116         * ircd/map.c: Fixup the map a bit more.
117
118 2000-03-31  Kevin L. Mitchell  <klmitch@mit.edu>
119
120         * ircd/m_clearmode.c (do_clearmode): Log the CLEARMODE to OPATH
121
122         * ircd/m_opmode.c: Log the mode changes to OPATH
123
124         * ircd/channel.c (modebuf_flush_int): Log the mode changes to
125         OPATH
126
127         * include/channel.h (MODEBUF_DEST_LOG): Log the mode changes to
128         OPATH
129
130         * doc/Configure.help: help text for CONFIG_LOG_OPMODE / OPATH
131
132         * config/config-sh.in: added OPATH for opmode log file
133
134         * ircd/m_clearmode.c (do_clearmode): updated uses of
135         modebuf_mode_string() for the new usage
136
137         * ircd/channel.c: added flag MODE_FREE and an int argument to
138         modebuf_mode_string() to indicate that the string must be free'd;
139         updated calls to modebuf_mode_string() for the new usage; called
140         collapse(pretty_mask()) on the ban string and use allocated memory
141         for it; added ban list length accounting; fixed a number of small
142         bugs in ban processing
143
144         * include/channel.h: added flag MODE_FREE and an int argument to
145         modebuf_mode_string() to indicate that the string must be free'd
146
147         * ircd/m_clearmode.c (do_clearmode): made sure clearmode removed
148         keys and limits that are set
149
150 2000-03-30  Perry Lorier <isomer@coders.net>
151         * ircd/ircd.c: rewrote check_pings() for maintainability
152         and speed.  Also changed quit msg's so they don't have
153         redundant nick[host] info in them.
154
155         * ircd/send.c: Changed write errors to report what error
156         occured (if possible).
157
158         * ircd/gline.c: added gline comment to the quit.
159
160         * ircd/m_server.c: Added suggestions to server quits mentioning
161         what went wrong so the admin can fix it earlier instead of asking
162         questions...
163
164         * ircd/map.c: Changed m_map() to hide numerics, show a * beside
165         servers that aren't fully burst yet.  And show '(--s)' for servers
166         where its not sure.
167
168         * doc/example.conf: Fixed wrapped U:
169
170 2000-03-30  Kevin L. Mitchell  <klmitch@mit.edu>
171
172         * ircd/m_mode.c (ms_mode): implemented a new m_mode in terms of
173         mode_parse() (version selectable at compile time)
174
175         * ircd/m_clearmode.c (mo_clearmode): clean_channelname(parv[1])
176
177         * ircd/m_opmode.c (mo_opmode): clean_channelname(parv[1])
178
179         * config/config-sh.in: add new config option to enable new m_mode
180         implementation
181
182         * doc/Configure.help: add documentation for new config option
183         CONFIG_NEW_MODE
184
185         * ircd/channel.c (mode_parse_client): /opmode #foobar -o -- 461
186         MODE -v : Not enough parameters
187
188         * ircd/m_clearmode.c (do_clearmode): do_clearmode() would remove
189         +k and +l even if they weren't set...
190
191         * ircd/m_opmode.c: implement the OPMODE command using mode_parse()
192
193         * ircd/channel.c: make mode_process_clients() clear the DEOPPED
194         flag; fix +s+p exclusivity; add MODE_ADD/MODE_DEL to flag list
195         for; test the 0-th member, not the i-th member, of the client
196         change state stuff
197
198         * ircd/m_clearmode.c (do_clearmode): use the new
199         mode_invite_clear() function
200
201         * ircd/channel.c: cleared up all the compile-time warnings and
202         errors
203
204         * include/channel.h: added declarations for mode_ban_invalidate()
205         and mode_invite_clear()
206
207         * ircd/channel.c: finished mode_parse(), then broke it up into a
208         dozen or so helper functions to make the code easier to read
209
210 2000-03-29  Thomas Helvey <tomh@inxpress.net>
211         * ircd/ircd.c: refactor server initialization a bit, use
212         getopt for parsing command line, refactor init_sys, main,
213         and other bits.
214
215         * ircd/s_bsd.c: add functions for initialization to clean
216         up logic a bit and remove duplicated code.
217
218         * include/ircd.h: add struct for server process related
219         variables.
220
221 2000-03-29  Kevin L. Mitchell  <klmitch@mit.edu>
222
223         * ircd/channel.c: initial definition of mode_parse(); flags to
224         prevent doing the same thing multiple times; helper method
225         send_notoper() to send a "Not oper"/"Not on channel" notice
226
227         * include/channel.h: declare mode_parse() and helper flags
228
229         * ircd/channel.c (modebuf_flush_int): fiddled with timestamp
230         sending to match the current action of set_mode() closely enough
231         that hopefully there won't be major conflicts
232
233         * ircd/channel.c (modebuf_flush_int): consolidated the mode string
234         building logic, reversed the order of the arguments to mode
235         commands to have '-' preceed '+'
236
237 2000-03-29  Thomas Helvey <tomh@inxpress.net>
238         * ircd/s_bsd.c (add_connection): don't disable socket options
239         let OS tune itself and allow important performance tweaks to 
240         work.
241
242 2000-03-28  Kevin L. Mitchell  <klmitch@mit.edu>
243
244         * ircd/channel.c (modebuf_flush_int): use %d, not %-15d; I got
245         confused by set_mode, which is doing some really weird logic;
246         guess what I'm going to rewrite next?  ;)
247
248 2000-03-28  Kevin L. Mitchell  <klmitch@emc.com>
249
250         * include/channel.h: added MODE_SAVE for the bounds checking stuff
251         in modebuf_flush
252
253         * ircd/channel.c: make modebuf_flush into modebuf_flush_int and
254         make it do bounds checking on the buffer; all modes are sent only
255         if the all parameter is 1; modebuf_flush is the exported wrapper
256
257         * include/channel.h: add BOUNCE, renumber flags to get a little
258         more space
259
260         * ircd/channel.c (modebuf_flush): don't overload HACK2, add
261         BOUNCE; send DESYNCH message
262
263 2000-03-27  Kevin L. Mitchell  <klmitch@emc.com>
264
265         * ircd/m_clearmode.c (do_clearmode): only mark the modes the
266         channel actually has in effect for deletion
267
268         * ircd/channel.c: added explanatory comments to all added
269         functions; made flushing take place at the correct place even if
270         the MODEBUF_DEST_DEOP flag is set; rewrote build_string() helper
271         to bash some stupid bugs; made modebuf_flush() return if ModeBuf
272         is empty, fixed the apparent source, removed some bogus string
273         termination code, properly terminate the mode strings, add support
274         for HACK2 and HACK3, made limit strings not be sent if the limit
275         is being removed, changed where '+' and '-' come from in sent
276         strings, added support for DEOP flag, set up bouncing code for
277         HACK2
278
279         * ircd/Makefile.in: ran make depend
280
281         * include/channel.h: added new defines for future functionality,
282         made modebuf_flush() return int so I can use tail recursion
283
284         * ircd/m_clearmode.c: add msg.h to includes; other misc cleanups
285         to make it all compile
286
287         * ircd/m_opmode.c: add msg.h to includes...
288
289         * ircd/m_clearmode.c: implemented mo_clearchan()/ms_clearchan()
290
291         * ircd/channel.c (modebuf_flush): realized I forgot to
292         nul-terminate addbuf/rembuf properly...
293
294         * ircd/m_clearmode.c (do_clearmode): wrote do_clearmode()...
295
296         * ircd/channel.c (modebuf_flush): correct sendto_server_butone to
297         sendto_serv_butone--blah^2
298
299         * ircd/send.c (sendto_serv_butone): stupid comments confused me
300
301         * ircd/channel.c (modebuf_flush): if there are no mode changes to
302         propagate, we're done...
303
304         * ircd/channel.c (modebuf_flush): duh; it's sendto_server_butone,
305         not sendto_all_butone
306
307         * ircd/m_clearmode.c: define skeleton for m{o,s}_clearmode
308
309         * ircd/m_opmode.c: define skeleton for m{o,s}_opmode
310
311         * ircd/Makefile.in (SRC): added m_opmode() and m_clearmode() to
312         the list
313
314         * ircd/parse.c: added messages for opmode and clearmode
315
316         * include/handlers.h: added declarations for mo_opmode(),
317         ms_opmode(), mo_clearmode(), and ms_clearmode()
318
319         * include/msg.h: define MSG_OPMODE, TOK_OPMODE, MSG_CLEARMODE, and
320         TOK_CLEARMODE
321
322         * include/channel.h (MODEBUF_DEST_OPMODE): Define the
323         MODEBUF_DEST_OPMODE flag
324
325         * ircd/channel.c (modebuf_flush): added new flag,
326         MODEBUF_DEST_OPMODE; causes channel MODE/HACK(4) notice to appear
327         to originate from source's server (or source itself, if
328         IsServer(source)); also causes a server-level MODE to be sent as
329         OPMODE instead
330
331         * include/channel.h: defined MODEBUF_DEST_SERVER,
332         MODEBUF_DEST_HACK4
333
334         * ircd/channel.c: Add another argument to build_string() to handle
335         numeric nicks; implemented MODEBUF_DEST_SERVER to send MODEs to
336         servers; implemented MODEBUF_DEST_HACK4 to cause HACK(4) notices
337         to be sent out
338
339 2000-03-27  Perry Lorier <isomer@coders.net>
340
341         * ircd/s_bsd.c: fixed missing 'u' typo.
342
343 2000-03-26  Kevin L. Mitchell  <klmitch@emc.com>
344
345         * ircd/channel.c: implement modebuf_init(), _mode(), _mode_uint(),
346         _mode_string(), _mode_client(), _flush(); also implemented a
347         simple build_string()
348
349         * include/channel.h: added definition of ModeBuf, modebuf_*
350         manipulation functions, and a couple of helper macros
351
352 2000-03-24 Thomas Helvey <tomh@inxpress.net>
353   * numicks.c: convert extended numerics to use original mask version
354   * numnicks.h: ""
355   * s_user.c:
356 2000-03-23 Thomas Helvey <tomh@inxpress.net>
357   * Merge in changes from production
358 2000-03-22 Thomas Helvey <tomh@inxpress.net>
359   * numicks.c: Tweak to numnick generator to reduce possibility of duplicates.
360   * rfc1459.unet: Add Maniac's documentation for /names 0
361 * Fix misc. jupe bugs that somehow made it into the tree
362 * Escape /names 0 to mean /names --Maniac
363 * Don't core when server asks for info --Maniac 
364 * Add Kev's jupe patch --Bleep
365 * Add Maniacs squit patch --Bleep
366 * Merge in u2_10_10_beta07 changes --Bleep
367 * Merge in u2_10_10_beta06 changes --Bleep
368 * Start ircu2.10.11 development, beta branch u2_10_10 --Bleep
369 #-----------------------------------------------------------------------------
370 #
371 # ChangeLog for ircu2.10.11
372 #
373 # $Id: ChangeLog,v 1.73 2000-04-12 20:53:22 kev Exp $
374 #
375 # Insert new changes at beginning of the change list.
376 #