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