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