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