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