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