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