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