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