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