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