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