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