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