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