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