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