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