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