Mercurial > pidgin.yaz
comparison src/protocols/yahoo/yahoo.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 | ad9a61894d9b |
children | 90be432e8385 |
comparison
equal
deleted
inserted
replaced
11255:1b1d63602d77 | 11256:bb0d7b719af2 |
---|---|
3377 } | 3377 } |
3378 | 3378 |
3379 static gboolean yahoo_unload_plugin(GaimPlugin *plugin) | 3379 static gboolean yahoo_unload_plugin(GaimPlugin *plugin) |
3380 { | 3380 { |
3381 yahoo_dest_colorht(); | 3381 yahoo_dest_colorht(); |
3382 | |
3383 gaim_debug_unregister_category("yahoo"); | |
3384 gaim_debug_unregister_category("yahoo_filexfer"); | |
3385 | 3382 |
3386 return TRUE; | 3383 return TRUE; |
3387 } | 3384 } |
3388 | 3385 |
3389 static void yahoo_change_buddys_group(GaimConnection *gc, const char *who, | 3386 static void yahoo_change_buddys_group(GaimConnection *gc, const char *who, |
3608 static void | 3605 static void |
3609 init_plugin(GaimPlugin *plugin) | 3606 init_plugin(GaimPlugin *plugin) |
3610 { | 3607 { |
3611 GaimAccountOption *option; | 3608 GaimAccountOption *option; |
3612 | 3609 |
3613 gaim_debug_register_category("yahoo"); | |
3614 gaim_debug_register_category("yahoo_filexfer"); | |
3615 | |
3616 option = gaim_account_option_bool_new(_("Yahoo Japan"), "yahoojp", FALSE); | 3610 option = gaim_account_option_bool_new(_("Yahoo Japan"), "yahoojp", FALSE); |
3617 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); | 3611 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); |
3618 | 3612 |
3619 option = gaim_account_option_string_new(_("Pager host"), "server", YAHOO_PAGER_HOST); | 3613 option = gaim_account_option_string_new(_("Pager host"), "server", YAHOO_PAGER_HOST); |
3620 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); | 3614 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); |