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