]>
Commit | Line | Data |
---|---|---|
d76ed9a9 | 1 | # do not edit -- automatically generated by arch changelog |
ec1a68c8 | 2 | # arch-tag: automatic-ChangeLog--srvx@srvx.net--2005-srvx/srvx--devo--1.3 |
d76ed9a9 | 3 | # |
1117fc5a | 4 | |
0d16e639 | 5 | 2005-02-17 21:42:43 GMT Michael Poole <mdpoole@troilus.org> patch-18 |
6 | ||
7 | Summary: | |
8 | Fix registered channel desync; fix HelpServ crash for old cfg files | |
9 | Revision: | |
10 | srvx--devo--1.3--patch-18 | |
11 | ||
12 | src/hash.c (AddChannelUser): Do not give ops to the first user to join | |
13 | a persistent channel. | |
14 | ||
15 | src/helpserv.c (helpserv_conf_read): Use a default description for bots. | |
16 | ||
17 | modified files: | |
18 | ChangeLog src/hash.c src/mod-helpserv.c | |
19 | ||
20 | ||
21 | 2005-02-11 03:10:49 GMT Michael Poole <mdpoole@troilus.org> patch-17 | |
22 | ||
23 | Summary: | |
24 | Mention 'slab' in --with-malloc docs. Merge fakehosts when merging accounts. | |
25 | Revision: | |
26 | srvx--devo--1.3--patch-17 | |
27 | ||
28 | configure.in (--with-malloc): Mention the awesome 'slab' allocator option. | |
29 | ||
30 | src/nickserv.c (cmd_merge): Copy fakehost to target account if appropriate. | |
31 | ||
32 | modified files: | |
33 | ChangeLog configure.in src/nickserv.c | |
34 | ||
35 | ||
36 | 2005-02-08 04:42:43 GMT Michael Poole <mdpoole@troilus.org> patch-16 | |
37 | ||
38 | Summary: | |
39 | Fix memory corruption when removing certain bans from a channel. | |
40 | Revision: | |
41 | srvx--devo--1.3--patch-16 | |
42 | ||
43 | src/proto-common.c (mod_chanmode_apply): Make sure we get a pointer to | |
44 | the ban we want to deallocate BEFORE we remove it from the banlist. | |
45 | ||
46 | modified files: | |
47 | ChangeLog src/proto-common.c | |
48 | ||
49 | ||
50 | 2005-02-05 13:03:21 GMT Michael Poole <mdpoole@troilus.org> patch-15 | |
51 | ||
52 | Summary: | |
53 | Rearrange slab allocation header; minor slab fixes. | |
54 | Revision: | |
55 | srvx--devo--1.3--patch-15 | |
56 | ||
57 | src/alloc-slab.c (ALLOC_MAGIC, FREE_MAGIC): Replace with single-byte values. | |
58 | (struct alloc_header): Move file_id and line into second 32-bit word | |
59 | of header. | |
60 | (slab_alloc): Remove commented-out debug statements. | |
61 | (slab_unalloc): Remove memset() of freed block and commented-out debug | |
62 | statements. | |
63 | (slab_free): memset() freed blocks here instead. Try to fix | |
64 | *_alloc_size counting errors (use the originally requested length | |
65 | rather than rounded-up length) | |
66 | ||
67 | modified files: | |
68 | ChangeLog src/alloc-slab.c | |
69 | ||
70 | ||
71 | 2005-02-05 03:52:51 GMT Michael Poole <mdpoole@troilus.org> patch-14 | |
72 | ||
73 | Summary: | |
74 | Even more slab allocator updates. | |
75 | Revision: | |
76 | srvx--devo--1.3--patch-14 | |
77 | ||
78 | src/slab-alloc.c (SLAB_DEBUG): Default to on. | |
79 | (SMALL_CUTOFF): Fix default value (must be a multiple of 4). | |
80 | (slab_unalloc): Fix slab counting. When SLAB_RESERVE, allocate the | |
81 | set of pages in a burst, rather than supplementing them as we unmap. | |
82 | (slab_realloc): Fix a rather embarassing (and LARGE) memory leak. | |
83 | ||
84 | modified files: | |
85 | ChangeLog src/alloc-slab.c | |
86 | ||
87 | ||
88 | 2005-02-04 16:36:40 GMT Michael Poole <mdpoole@troilus.org> patch-13 | |
89 | ||
90 | Summary: | |
91 | more debugging updates | |
92 | Revision: | |
93 | srvx--devo--1.3--patch-13 | |
94 | ||
95 | src/alloc-slab.c: Switch free slab list from a stack to queue, and | |
96 | make sure there are SLAB_RESERVE in the queue before an old slab is | |
97 | dereferenced. This causes a fault when dereferencing stale pointers | |
98 | to the last SLAB_RESERVE full slabs. | |
99 | ||
100 | src/log.c: Make struct logEntry *last static, to make sure gcc does | |
101 | not optimize it away. | |
102 | ||
103 | modified files: | |
104 | ChangeLog src/alloc-slab.c src/log.c | |
105 | ||
106 | ||
107 | 2005-01-31 22:28:59 GMT Michael Poole <mdpoole@troilus.org> patch-12 | |
108 | ||
109 | Summary: | |
110 | More slab allocator updates. | |
111 | Revision: | |
112 | srvx--devo--1.3--patch-12 | |
113 | ||
114 | src/alloc-slab.c: Disable extra debugging by default. Add more | |
115 | statistics counters. Change element type of little_slabs[]. Keep a | |
116 | global list of unused (full) slab pages, rather than per-slab. | |
117 | Various other cleanups and fixes. | |
118 | ||
119 | src/chanserv.h: Can only be off-channel with off_channel > 1. | |
120 | ||
121 | src/main.c: Update years in copyright notice. | |
122 | ||
123 | src/opserv.c: Remove OSMSG_STATS_MEMORY. Make cmd_stats_memory() | |
124 | allocator-specific. | |
125 | ||
126 | modified files: | |
127 | ChangeLog src/alloc-slab.c src/chanserv.h src/main.c | |
128 | src/opserv.c | |
129 | ||
130 | ||
131 | 2005-01-31 11:08:15 GMT Michael Poole <mdpoole@troilus.org> patch-11 | |
132 | ||
133 | Summary: | |
134 | Add "?stats memory" and optional alloc_header to slab. | |
135 | Revision: | |
136 | srvx--devo--1.3--patch-11 | |
137 | ||
138 | src/alloc-slab.c: Add alloc_header (but no redzone) debug support, | |
139 | enabled by default. Update alloc_count and alloc_size. | |
140 | ||
141 | src/opserv.c: Provide "stats memory" command for slab allocator. | |
142 | ||
143 | modified files: | |
144 | ChangeLog src/alloc-slab.c src/opserv.c | |
145 | ||
146 | ||
147 | 2005-01-31 05:14:52 GMT Michael Poole <mdpoole@troilus.org> patch-10 | |
148 | ||
149 | Summary: | |
150 | Add slab allocator; reduce delta with srvx-gs. | |
151 | Revision: | |
152 | srvx--devo--1.3--patch-10 | |
153 | ||
154 | configure.in: Check for getpagesize(). Support --with-malloc=slab. | |
155 | ||
156 | src/Makefile.am: Add alloc-slab.c as an extra source file. | |
157 | ||
158 | src/alloc-srvx.c: Clean up srvx_free() slightly. Check for previously | |
159 | allocated blocks. | |
160 | ||
161 | srvx.conf.example, src/chanserv.c, src/main.c, src/modcmd.c, | |
162 | src/proto-p10.c: Apply patches to bring closer to srvx-gs branch. | |
163 | ||
164 | src/log.c: Assert and _exit() on fatal log messages. | |
165 | ||
166 | src/opserv.c: Clarify logic for modes to set on join floods. | |
167 | ||
168 | src/proto-common.c: Accept off-channel commands in registered channels. | |
169 | ||
170 | new files: | |
171 | src/.arch-ids/alloc-slab.c.id src/alloc-slab.c | |
172 | ||
173 | modified files: | |
174 | ChangeLog configure.in src/Makefile.am src/alloc-srvx.c | |
175 | src/chanserv.c src/chanserv.h src/common.h src/hash.h | |
176 | src/helpfile.c src/log.c src/main.c src/modcmd.c src/opserv.c | |
177 | src/proto-common.c src/proto-p10.c srvx.conf.example | |
178 | ||
179 | ||
ec1a68c8 | 180 | 2005-01-26 21:16:54 GMT Michael Poole <mdpoole@troilus.org> patch-9 |
1117fc5a | 181 | |
182 | Summary: | |
ec1a68c8 | 183 | offchannel fixes; more memory verification |
1117fc5a | 184 | Revision: |
ec1a68c8 | 185 | srvx--devo--1.3--patch-9 |
d76ed9a9 | 186 | |
ec1a68c8 | 187 | src/chanserv.c (cmd_register): Do not join channels if the default |
188 | options include being offchannel. | |
d76ed9a9 | 189 | |
ec1a68c8 | 190 | src/common.h: Verify list allocations when appending or removing. |
d76ed9a9 | 191 | |
ec1a68c8 | 192 | src/hash.c (GetUserMode): Verify channel and user list allocations. |
d76ed9a9 | 193 | |
ec1a68c8 | 194 | src/log.c (log_entry_search): Keep pointer to last visited log entry. |
d76ed9a9 | 195 | |
ec1a68c8 | 196 | src/proto-p10.c (mod_chanmode_parse): Fail if trying to change +z when |
197 | passed MCP_REGISTERED. | |
d76ed9a9 AS |
198 | |
199 | modified files: | |
ec1a68c8 | 200 | ChangeLog src/chanserv.c src/common.h src/hash.c src/log.c |
d76ed9a9 AS |
201 | src/proto-p10.c |
202 | ||
203 | ||
ec1a68c8 | 204 | 2005-01-24 17:12:38 GMT Michael Poole <mdpoole@troilus.org> patch-8 |
d76ed9a9 AS |
205 | |
206 | Summary: | |
ec1a68c8 | 207 | typo fix in alloc-srvx.c; avoid dereferencing free()'d bans |
d76ed9a9 AS |
208 | Revision: |
209 | srvx--devo--1.3--patch-8 | |
210 | ||
ec1a68c8 | 211 | src/alloc-srvx.c (srvx_realloc): Fix argument list to srvx_free(). |
212 | ||
213 | src/chanserv.c (find_matching_bans): Make temporary copies of bans to | |
214 | be removed. Double-check remove count at end of loop. | |
215 | (unban_user, cmd_open): Free the string copies. | |
216 | (cmd_unbanall): Make temporary copies of removed bans and free them. | |
217 | (handle_mode): Likewise. | |
d76ed9a9 | 218 | |
ec1a68c8 | 219 | src/opserv.c (cmd_clearbans): Likewise. |
d76ed9a9 AS |
220 | |
221 | modified files: | |
ec1a68c8 | 222 | ChangeLog src/alloc-srvx.c src/chanserv.c src/opserv.c |
d76ed9a9 | 223 | |
d76ed9a9 | 224 | |
ec1a68c8 | 225 | 2005-01-24 16:45:44 GMT Michael Poole <mdpoole@troilus.org> patch-7 |
d76ed9a9 AS |
226 | |
227 | Summary: | |
ec1a68c8 | 228 | More allocation debugging support. |
d76ed9a9 AS |
229 | Revision: |
230 | srvx--devo--1.3--patch-7 | |
231 | ||
ec1a68c8 | 232 | src/alloc-srvx.c (srvx_realloc): Reorganize. |
233 | (verify): New function. | |
234 | ||
235 | src/common.h (verify): Define and/or declare suitably. | |
d76ed9a9 | 236 | |
ec1a68c8 | 237 | src/dict-splay.c (dict_splay): Verify node at each iteration. |
238 | (dict_insert, dict_remove2, dict_find, dict_delete, | |
239 | dict_sanity_check): Verify entire dict. | |
240 | (dict_sanity_check_node): Verify node as valid allocation. | |
d76ed9a9 | 241 | |
ec1a68c8 | 242 | src/hash.c (DelChannel): Verify channel before deletion. |
243 | (GetUserMode): Verify channel, user, and each modeNode. | |
d76ed9a9 | 244 | |
ec1a68c8 | 245 | src/mod-sockcheck.c (sockcheck_free_client): Verify client. |
246 | (sockcheck_timeout_client, sockcheck_advance, sockcheck_readable, | |
247 | sockcheck_connected, sockcheck_begin_test): Likewise. | |
248 | (sockcheck_queue_address): Verify cached sockcheck entries. | |
d76ed9a9 | 249 | |
ec1a68c8 | 250 | src/proto-p10.c (DelUser): Verify user before deletion. |
d76ed9a9 AS |
251 | |
252 | modified files: | |
ec1a68c8 | 253 | ChangeLog src/alloc-srvx.c src/common.h src/dict-splay.c |
254 | src/hash.c src/mod-sockcheck.c src/proto-p10.c | |
d76ed9a9 AS |
255 | |
256 | ||
ec1a68c8 | 257 | 2005-01-21 15:10:49 GMT Michael Poole <mdpoole@troilus.org> patch-6 |
d76ed9a9 AS |
258 | |
259 | Summary: | |
ec1a68c8 | 260 | More debug allocator fixes and enhancements |
d76ed9a9 AS |
261 | Revision: |
262 | srvx--devo--1.3--patch-6 | |
263 | ||
ec1a68c8 | 264 | src/alloc-srvx.c (*_MAGIC): ASk recognized the CCSDS ASM sequence. |
265 | (srvx_free): Overwrite with 0xDE bytes to distinguish from | |
266 | uninitialized values. As SailorFrag suggested, only overwrite the | |
267 | user region. | |
d76ed9a9 | 268 | |
ec1a68c8 | 269 | src/dict-splay.c (dict_insert): Check whether free functions need to |
270 | be worked around here as well. | |
d76ed9a9 AS |
271 | |
272 | modified files: | |
ec1a68c8 | 273 | ChangeLog src/alloc-srvx.c src/dict-splay.c |
d76ed9a9 AS |
274 | |
275 | ||
ec1a68c8 | 276 | 2005-01-21 00:48:35 GMT Michael Poole <mdpoole@troilus.org> patch-5 |
d76ed9a9 AS |
277 | |
278 | Summary: | |
ec1a68c8 | 279 | Add redzone and statistics reporting to debug allocator. |
d76ed9a9 AS |
280 | Revision: |
281 | srvx--devo--1.3--patch-5 | |
282 | ||
ec1a68c8 | 283 | src/alloc-srvx.c (redzone): New variable to detect buffer overwrites. |
284 | (alloc_count, alloc_size): New variables to track allocation stats. | |
285 | (srvx_malloc, srvx_realloc, srvx_free): Use the above. | |
d76ed9a9 | 286 | |
ec1a68c8 | 287 | src/opserv.c (OSMSG_STATS_MEMORY): New translation string. |
288 | (cmd_stats_memory): New (conditional) command function. | |
289 | (init_opserv): Conditionally provide cmd_stats_memory. | |
d76ed9a9 AS |
290 | |
291 | modified files: | |
ec1a68c8 | 292 | ChangeLog src/alloc-srvx.c src/opserv.c |
d76ed9a9 AS |
293 | |
294 | ||
ec1a68c8 | 295 | 2005-01-20 23:41:17 GMT Michael Poole <mdpoole@troilus.org> patch-4 |
d76ed9a9 AS |
296 | |
297 | Summary: | |
ec1a68c8 | 298 | Add built-in debug malloc wrapper. |
d76ed9a9 AS |
299 | Revision: |
300 | srvx--devo--1.3--patch-4 | |
301 | ||
ec1a68c8 | 302 | TODO: Remove the completed TODO item. |
d76ed9a9 | 303 | |
ec1a68c8 | 304 | configure.in: Add --with-malloc=srvx support. |
d76ed9a9 | 305 | |
ec1a68c8 | 306 | src/Makefile.am: Add alloc-srvx.c to extra sources. |
d76ed9a9 | 307 | |
ec1a68c8 | 308 | src/common.h: Reindent debug malloc directives; add directives for |
309 | WITH_MALLOC_SRVX. | |
d76ed9a9 | 310 | |
ec1a68c8 | 311 | src/dict-splay.c: Kludge around free() as macro vs function. |
312 | ||
313 | new files: | |
314 | src/.arch-ids/alloc-srvx.c.id src/alloc-srvx.c | |
d76ed9a9 AS |
315 | |
316 | modified files: | |
ec1a68c8 | 317 | ChangeLog TODO configure.in src/Makefile.am src/common.h |
318 | src/dict-splay.c | |
d76ed9a9 AS |
319 | |
320 | ||
ec1a68c8 | 321 | 2005-01-20 22:51:54 GMT Michael Poole <mdpoole@troilus.org> patch-3 |
d76ed9a9 AS |
322 | |
323 | Summary: | |
ec1a68c8 | 324 | various bugfixes and IPv6 preparation work |
d76ed9a9 | 325 | Revision: |
ec1a68c8 | 326 | srvx--devo--1.3--patch-3 |
d76ed9a9 | 327 | |
ec1a68c8 | 328 | src/modcmd.c (modcmd_privmsg): Fix CTCP PING response type. |
d76ed9a9 | 329 | |
ec1a68c8 | 330 | src/opserv.help: Add column headers for command lists. |
d76ed9a9 | 331 | |
ec1a68c8 | 332 | src/tools.c (is_gline, split_ircmask): Accept colons in hostnames. |
d76ed9a9 AS |
333 | |
334 | modified files: | |
ec1a68c8 | 335 | ChangeLog src/modcmd.c src/opserv.help src/tools.c |
d76ed9a9 AS |
336 | |
337 | ||
ec1a68c8 | 338 | 2005-01-05 01:03:05 GMT Michael Poole <mdpoole@troilus.org> patch-2 |
d76ed9a9 AS |
339 | |
340 | Summary: | |
ec1a68c8 | 341 | Add MODE_REGISTERED as +z for P10. |
d76ed9a9 | 342 | Revision: |
ec1a68c8 | 343 | srvx--devo--1.3--patch-2 |
d76ed9a9 | 344 | |
ec1a68c8 | 345 | Add MODE_REGISTERED as +z for P10. |
d76ed9a9 AS |
346 | |
347 | modified files: | |
ec1a68c8 | 348 | ChangeLog src/proto-p10.c |
d76ed9a9 AS |
349 | |
350 |