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