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