Mercurial > pidgin
comparison src/core.c @ 11256:bb0d7b719af2
[gaim-migrate @ 13430]
I give you regex filtering in the debug window.
We keep a buffer of all the text, so when unpausing all the messages that were output when paused will be displayed, as well as when you change the filter.
This _should_ be alright on systems that don't have regex.h but I haven't gotten anyone to test it recently, if it's busted, just #ifdef HAVE_REGEX_H it.
committer: Tailor Script <tailor@pidgin.im>
author | Gary Kramlich <grim@reaperworld.com> |
---|---|
date | Sat, 13 Aug 2005 22:09:34 +0000 |
parents | ebb02ea3c789 |
children | 920a37a4c1be |
comparison
equal
deleted
inserted
replaced
11255:1b1d63602d77 | 11256:bb0d7b719af2 |
---|---|
90 | 90 |
91 if (ops->debug_ui_init != NULL) | 91 if (ops->debug_ui_init != NULL) |
92 ops->debug_ui_init(); | 92 ops->debug_ui_init(); |
93 } | 93 } |
94 | 94 |
95 gaim_debug_register_category("main"); | |
96 | |
97 #ifdef HAVE_DBUS | 95 #ifdef HAVE_DBUS |
98 gaim_dbus_init(); | 96 gaim_dbus_init(); |
99 #endif | 97 #endif |
100 | 98 |
101 /* Initialize all static protocols. */ | 99 /* Initialize all static protocols. */ |
170 if (core->ui != NULL) { | 168 if (core->ui != NULL) { |
171 g_free(core->ui); | 169 g_free(core->ui); |
172 core->ui = NULL; | 170 core->ui = NULL; |
173 } | 171 } |
174 | 172 |
175 /* I think this is where this should go */ | |
176 gaim_debug_unregister_category("main"); | |
177 | |
178 g_free(core); | 173 g_free(core); |
179 | 174 |
180 _core = NULL; | 175 _core = NULL; |
181 } | 176 } |
182 | 177 |