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