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