1 # do not edit -- automatically generated by arch changelog
2 # arch-tag: automatic-ChangeLog--srvx@srvx.net--2005-srvx/srvx--devo--1.3
5 2005-03-15 23:12:58 GMT Michael Poole <mdpoole@troilus.org> patch-19
8 Clarify NickServ REGISTER help messages; fix ?raw and ?dump errors.
10 srvx--devo--1.3--patch-19
12 src/nickserv.help (REGISTER): Rephrase the message about using the
13 same password to hopefully make it clearer.
15 src/opserv.c (cmd_dump, cmd_raw): Use local buffers to hold the
16 original message, so that parse_line() will not unsplit the line into
17 the "original" buffer and strip out the sentinel :.
20 ChangeLog src/nickserv.help src/opserv.c
23 2005-02-17 21:42:43 GMT Michael Poole <mdpoole@troilus.org> patch-18
26 Fix registered channel desync; fix HelpServ crash for old cfg files
28 srvx--devo--1.3--patch-18
30 src/hash.c (AddChannelUser): Do not give ops to the first user to join
33 src/helpserv.c (helpserv_conf_read): Use a default description for bots.
36 ChangeLog src/hash.c src/mod-helpserv.c
39 2005-02-11 03:10:49 GMT Michael Poole <mdpoole@troilus.org> patch-17
42 Mention 'slab' in --with-malloc docs. Merge fakehosts when merging accounts.
44 srvx--devo--1.3--patch-17
46 configure.in (--with-malloc): Mention the awesome 'slab' allocator option.
48 src/nickserv.c (cmd_merge): Copy fakehost to target account if appropriate.
51 ChangeLog configure.in src/nickserv.c
54 2005-02-08 04:42:43 GMT Michael Poole <mdpoole@troilus.org> patch-16
57 Fix memory corruption when removing certain bans from a channel.
59 srvx--devo--1.3--patch-16
61 src/proto-common.c (mod_chanmode_apply): Make sure we get a pointer to
62 the ban we want to deallocate BEFORE we remove it from the banlist.
65 ChangeLog src/proto-common.c
68 2005-02-05 13:03:21 GMT Michael Poole <mdpoole@troilus.org> patch-15
71 Rearrange slab allocation header; minor slab fixes.
73 srvx--devo--1.3--patch-15
75 src/alloc-slab.c (ALLOC_MAGIC, FREE_MAGIC): Replace with single-byte values.
76 (struct alloc_header): Move file_id and line into second 32-bit word
78 (slab_alloc): Remove commented-out debug statements.
79 (slab_unalloc): Remove memset() of freed block and commented-out debug
81 (slab_free): memset() freed blocks here instead. Try to fix
82 *_alloc_size counting errors (use the originally requested length
83 rather than rounded-up length)
86 ChangeLog src/alloc-slab.c
89 2005-02-05 03:52:51 GMT Michael Poole <mdpoole@troilus.org> patch-14
92 Even more slab allocator updates.
94 srvx--devo--1.3--patch-14
96 src/slab-alloc.c (SLAB_DEBUG): Default to on.
97 (SMALL_CUTOFF): Fix default value (must be a multiple of 4).
98 (slab_unalloc): Fix slab counting. When SLAB_RESERVE, allocate the
99 set of pages in a burst, rather than supplementing them as we unmap.
100 (slab_realloc): Fix a rather embarassing (and LARGE) memory leak.
103 ChangeLog src/alloc-slab.c
106 2005-02-04 16:36:40 GMT Michael Poole <mdpoole@troilus.org> patch-13
109 more debugging updates
111 srvx--devo--1.3--patch-13
113 src/alloc-slab.c: Switch free slab list from a stack to queue, and
114 make sure there are SLAB_RESERVE in the queue before an old slab is
115 dereferenced. This causes a fault when dereferencing stale pointers
116 to the last SLAB_RESERVE full slabs.
118 src/log.c: Make struct logEntry *last static, to make sure gcc does
119 not optimize it away.
122 ChangeLog src/alloc-slab.c src/log.c
125 2005-01-31 22:28:59 GMT Michael Poole <mdpoole@troilus.org> patch-12
128 More slab allocator updates.
130 srvx--devo--1.3--patch-12
132 src/alloc-slab.c: Disable extra debugging by default. Add more
133 statistics counters. Change element type of little_slabs[]. Keep a
134 global list of unused (full) slab pages, rather than per-slab.
135 Various other cleanups and fixes.
137 src/chanserv.h: Can only be off-channel with off_channel > 1.
139 src/main.c: Update years in copyright notice.
141 src/opserv.c: Remove OSMSG_STATS_MEMORY. Make cmd_stats_memory()
145 ChangeLog src/alloc-slab.c src/chanserv.h src/main.c
149 2005-01-31 11:08:15 GMT Michael Poole <mdpoole@troilus.org> patch-11
152 Add "?stats memory" and optional alloc_header to slab.
154 srvx--devo--1.3--patch-11
156 src/alloc-slab.c: Add alloc_header (but no redzone) debug support,
157 enabled by default. Update alloc_count and alloc_size.
159 src/opserv.c: Provide "stats memory" command for slab allocator.
162 ChangeLog src/alloc-slab.c src/opserv.c
165 2005-01-31 05:14:52 GMT Michael Poole <mdpoole@troilus.org> patch-10
168 Add slab allocator; reduce delta with srvx-gs.
170 srvx--devo--1.3--patch-10
172 configure.in: Check for getpagesize(). Support --with-malloc=slab.
174 src/Makefile.am: Add alloc-slab.c as an extra source file.
176 src/alloc-srvx.c: Clean up srvx_free() slightly. Check for previously
179 srvx.conf.example, src/chanserv.c, src/main.c, src/modcmd.c,
180 src/proto-p10.c: Apply patches to bring closer to srvx-gs branch.
182 src/log.c: Assert and _exit() on fatal log messages.
184 src/opserv.c: Clarify logic for modes to set on join floods.
186 src/proto-common.c: Accept off-channel commands in registered channels.
189 src/.arch-ids/alloc-slab.c.id src/alloc-slab.c
192 ChangeLog configure.in src/Makefile.am src/alloc-srvx.c
193 src/chanserv.c src/chanserv.h src/common.h src/hash.h
194 src/helpfile.c src/log.c src/main.c src/modcmd.c src/opserv.c
195 src/proto-common.c src/proto-p10.c srvx.conf.example
198 2005-01-26 21:16:54 GMT Michael Poole <mdpoole@troilus.org> patch-9
201 offchannel fixes; more memory verification
203 srvx--devo--1.3--patch-9
205 src/chanserv.c (cmd_register): Do not join channels if the default
206 options include being offchannel.
208 src/common.h: Verify list allocations when appending or removing.
210 src/hash.c (GetUserMode): Verify channel and user list allocations.
212 src/log.c (log_entry_search): Keep pointer to last visited log entry.
214 src/proto-p10.c (mod_chanmode_parse): Fail if trying to change +z when
215 passed MCP_REGISTERED.
218 ChangeLog src/chanserv.c src/common.h src/hash.c src/log.c
222 2005-01-24 17:12:38 GMT Michael Poole <mdpoole@troilus.org> patch-8
225 typo fix in alloc-srvx.c; avoid dereferencing free()'d bans
227 srvx--devo--1.3--patch-8
229 src/alloc-srvx.c (srvx_realloc): Fix argument list to srvx_free().
231 src/chanserv.c (find_matching_bans): Make temporary copies of bans to
232 be removed. Double-check remove count at end of loop.
233 (unban_user, cmd_open): Free the string copies.
234 (cmd_unbanall): Make temporary copies of removed bans and free them.
235 (handle_mode): Likewise.
237 src/opserv.c (cmd_clearbans): Likewise.
240 ChangeLog src/alloc-srvx.c src/chanserv.c src/opserv.c
243 2005-01-24 16:45:44 GMT Michael Poole <mdpoole@troilus.org> patch-7
246 More allocation debugging support.
248 srvx--devo--1.3--patch-7
250 src/alloc-srvx.c (srvx_realloc): Reorganize.
251 (verify): New function.
253 src/common.h (verify): Define and/or declare suitably.
255 src/dict-splay.c (dict_splay): Verify node at each iteration.
256 (dict_insert, dict_remove2, dict_find, dict_delete,
257 dict_sanity_check): Verify entire dict.
258 (dict_sanity_check_node): Verify node as valid allocation.
260 src/hash.c (DelChannel): Verify channel before deletion.
261 (GetUserMode): Verify channel, user, and each modeNode.
263 src/mod-sockcheck.c (sockcheck_free_client): Verify client.
264 (sockcheck_timeout_client, sockcheck_advance, sockcheck_readable,
265 sockcheck_connected, sockcheck_begin_test): Likewise.
266 (sockcheck_queue_address): Verify cached sockcheck entries.
268 src/proto-p10.c (DelUser): Verify user before deletion.
271 ChangeLog src/alloc-srvx.c src/common.h src/dict-splay.c
272 src/hash.c src/mod-sockcheck.c src/proto-p10.c
275 2005-01-21 15:10:49 GMT Michael Poole <mdpoole@troilus.org> patch-6
278 More debug allocator fixes and enhancements
280 srvx--devo--1.3--patch-6
282 src/alloc-srvx.c (*_MAGIC): ASk recognized the CCSDS ASM sequence.
283 (srvx_free): Overwrite with 0xDE bytes to distinguish from
284 uninitialized values. As SailorFrag suggested, only overwrite the
287 src/dict-splay.c (dict_insert): Check whether free functions need to
288 be worked around here as well.
291 ChangeLog src/alloc-srvx.c src/dict-splay.c
294 2005-01-21 00:48:35 GMT Michael Poole <mdpoole@troilus.org> patch-5
297 Add redzone and statistics reporting to debug allocator.
299 srvx--devo--1.3--patch-5
301 src/alloc-srvx.c (redzone): New variable to detect buffer overwrites.
302 (alloc_count, alloc_size): New variables to track allocation stats.
303 (srvx_malloc, srvx_realloc, srvx_free): Use the above.
305 src/opserv.c (OSMSG_STATS_MEMORY): New translation string.
306 (cmd_stats_memory): New (conditional) command function.
307 (init_opserv): Conditionally provide cmd_stats_memory.
310 ChangeLog src/alloc-srvx.c src/opserv.c
313 2005-01-20 23:41:17 GMT Michael Poole <mdpoole@troilus.org> patch-4
316 Add built-in debug malloc wrapper.
318 srvx--devo--1.3--patch-4
320 TODO: Remove the completed TODO item.
322 configure.in: Add --with-malloc=srvx support.
324 src/Makefile.am: Add alloc-srvx.c to extra sources.
326 src/common.h: Reindent debug malloc directives; add directives for
329 src/dict-splay.c: Kludge around free() as macro vs function.
332 src/.arch-ids/alloc-srvx.c.id src/alloc-srvx.c
335 ChangeLog TODO configure.in src/Makefile.am src/common.h
339 2005-01-20 22:51:54 GMT Michael Poole <mdpoole@troilus.org> patch-3
342 various bugfixes and IPv6 preparation work
344 srvx--devo--1.3--patch-3
346 src/modcmd.c (modcmd_privmsg): Fix CTCP PING response type.
348 src/opserv.help: Add column headers for command lists.
350 src/tools.c (is_gline, split_ircmask): Accept colons in hostnames.
353 ChangeLog src/modcmd.c src/opserv.help src/tools.c
356 2005-01-05 01:03:05 GMT Michael Poole <mdpoole@troilus.org> patch-2
359 Add MODE_REGISTERED as +z for P10.
361 srvx--devo--1.3--patch-2
363 Add MODE_REGISTERED as +z for P10.
366 ChangeLog src/proto-p10.c