Mercurial > pidgin.yaz
comparison src/signals.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 | cb73483c9f63 |
comparison
equal
deleted
inserted
replaced
11255:1b1d63602d77 | 11256:bb0d7b719af2 |
---|---|
575 void | 575 void |
576 gaim_signals_init() | 576 gaim_signals_init() |
577 { | 577 { |
578 g_return_if_fail(instance_table == NULL); | 578 g_return_if_fail(instance_table == NULL); |
579 | 579 |
580 gaim_debug_register_category("signals"); | |
581 | |
582 instance_table = | 580 instance_table = |
583 g_hash_table_new_full(g_direct_hash, g_direct_equal, | 581 g_hash_table_new_full(g_direct_hash, g_direct_equal, |
584 NULL, (GDestroyNotify)destroy_instance_data); | 582 NULL, (GDestroyNotify)destroy_instance_data); |
585 } | 583 } |
586 | 584 |
589 { | 587 { |
590 g_return_if_fail(instance_table != NULL); | 588 g_return_if_fail(instance_table != NULL); |
591 | 589 |
592 g_hash_table_destroy(instance_table); | 590 g_hash_table_destroy(instance_table); |
593 instance_table = NULL; | 591 instance_table = NULL; |
594 | |
595 gaim_debug_unregister_category("signals"); | |
596 } | 592 } |
597 | 593 |
598 /************************************************************************** | 594 /************************************************************************** |
599 * Marshallers | 595 * Marshallers |
600 **************************************************************************/ | 596 **************************************************************************/ |