]>
Commit | Line | Data |
---|---|---|
1 | # do not edit -- automatically generated by arch changelog | |
2 | # arch-tag: automatic-ChangeLog--srvx@srvx.net--2005-srvx/srvx--devo--1.3 | |
3 | # | |
4 | ||
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 | ||
180 | 2005-01-26 21:16:54 GMT Michael Poole <mdpoole@troilus.org> patch-9 | |
181 | ||
182 | Summary: | |
183 | offchannel fixes; more memory verification | |
184 | Revision: | |
185 | srvx--devo--1.3--patch-9 | |
186 | ||
187 | src/chanserv.c (cmd_register): Do not join channels if the default | |
188 | options include being offchannel. | |
189 | ||
190 | src/common.h: Verify list allocations when appending or removing. | |
191 | ||
192 | src/hash.c (GetUserMode): Verify channel and user list allocations. | |
193 | ||
194 | src/log.c (log_entry_search): Keep pointer to last visited log entry. | |
195 | ||
196 | src/proto-p10.c (mod_chanmode_parse): Fail if trying to change +z when | |
197 | passed MCP_REGISTERED. | |
198 | ||
199 | modified files: | |
200 | ChangeLog src/chanserv.c src/common.h src/hash.c src/log.c | |
201 | src/proto-p10.c | |
202 | ||
203 | ||
204 | 2005-01-24 17:12:38 GMT Michael Poole <mdpoole@troilus.org> patch-8 | |
205 | ||
206 | Summary: | |
207 | typo fix in alloc-srvx.c; avoid dereferencing free()'d bans | |
208 | Revision: | |
209 | srvx--devo--1.3--patch-8 | |
210 | ||
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. | |
218 | ||
219 | src/opserv.c (cmd_clearbans): Likewise. | |
220 | ||
221 | modified files: | |
222 | ChangeLog src/alloc-srvx.c src/chanserv.c src/opserv.c | |
223 | ||
224 | ||
225 | 2005-01-24 16:45:44 GMT Michael Poole <mdpoole@troilus.org> patch-7 | |
226 | ||
227 | Summary: | |
228 | More allocation debugging support. | |
229 | Revision: | |
230 | srvx--devo--1.3--patch-7 | |
231 | ||
232 | src/alloc-srvx.c (srvx_realloc): Reorganize. | |
233 | (verify): New function. | |
234 | ||
235 | src/common.h (verify): Define and/or declare suitably. | |
236 | ||
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. | |
241 | ||
242 | src/hash.c (DelChannel): Verify channel before deletion. | |
243 | (GetUserMode): Verify channel, user, and each modeNode. | |
244 | ||
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. | |
249 | ||
250 | src/proto-p10.c (DelUser): Verify user before deletion. | |
251 | ||
252 | modified files: | |
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 | |
255 | ||
256 | ||
257 | 2005-01-21 15:10:49 GMT Michael Poole <mdpoole@troilus.org> patch-6 | |
258 | ||
259 | Summary: | |
260 | More debug allocator fixes and enhancements | |
261 | Revision: | |
262 | srvx--devo--1.3--patch-6 | |
263 | ||
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. | |
268 | ||
269 | src/dict-splay.c (dict_insert): Check whether free functions need to | |
270 | be worked around here as well. | |
271 | ||
272 | modified files: | |
273 | ChangeLog src/alloc-srvx.c src/dict-splay.c | |
274 | ||
275 | ||
276 | 2005-01-21 00:48:35 GMT Michael Poole <mdpoole@troilus.org> patch-5 | |
277 | ||
278 | Summary: | |
279 | Add redzone and statistics reporting to debug allocator. | |
280 | Revision: | |
281 | srvx--devo--1.3--patch-5 | |
282 | ||
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. | |
286 | ||
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. | |
290 | ||
291 | modified files: | |
292 | ChangeLog src/alloc-srvx.c src/opserv.c | |
293 | ||
294 | ||
295 | 2005-01-20 23:41:17 GMT Michael Poole <mdpoole@troilus.org> patch-4 | |
296 | ||
297 | Summary: | |
298 | Add built-in debug malloc wrapper. | |
299 | Revision: | |
300 | srvx--devo--1.3--patch-4 | |
301 | ||
302 | TODO: Remove the completed TODO item. | |
303 | ||
304 | configure.in: Add --with-malloc=srvx support. | |
305 | ||
306 | src/Makefile.am: Add alloc-srvx.c to extra sources. | |
307 | ||
308 | src/common.h: Reindent debug malloc directives; add directives for | |
309 | WITH_MALLOC_SRVX. | |
310 | ||
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 | |
315 | ||
316 | modified files: | |
317 | ChangeLog TODO configure.in src/Makefile.am src/common.h | |
318 | src/dict-splay.c | |
319 | ||
320 | ||
321 | 2005-01-20 22:51:54 GMT Michael Poole <mdpoole@troilus.org> patch-3 | |
322 | ||
323 | Summary: | |
324 | various bugfixes and IPv6 preparation work | |
325 | Revision: | |
326 | srvx--devo--1.3--patch-3 | |
327 | ||
328 | src/modcmd.c (modcmd_privmsg): Fix CTCP PING response type. | |
329 | ||
330 | src/opserv.help: Add column headers for command lists. | |
331 | ||
332 | src/tools.c (is_gline, split_ircmask): Accept colons in hostnames. | |
333 | ||
334 | modified files: | |
335 | ChangeLog src/modcmd.c src/opserv.help src/tools.c | |
336 | ||
337 | ||
338 | 2005-01-05 01:03:05 GMT Michael Poole <mdpoole@troilus.org> patch-2 | |
339 | ||
340 | Summary: | |
341 | Add MODE_REGISTERED as +z for P10. | |
342 | Revision: | |
343 | srvx--devo--1.3--patch-2 | |
344 | ||
345 | Add MODE_REGISTERED as +z for P10. | |
346 | ||
347 | modified files: | |
348 | ChangeLog src/proto-p10.c | |
349 | ||
350 |