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