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