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