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