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