Mercurial > pidgin.yaz
comparison plugins/perl/perl.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 | 0e9e2b923d09 |
children | b284c703d398 |
comparison
equal
deleted
inserted
replaced
11255:1b1d63602d77 | 11256:bb0d7b719af2 |
---|---|
530 } | 530 } |
531 | 531 |
532 static gboolean | 532 static gboolean |
533 plugin_load(GaimPlugin *plugin) | 533 plugin_load(GaimPlugin *plugin) |
534 { | 534 { |
535 gaim_debug_register_category("perl"); | |
536 | |
537 return TRUE; | 535 return TRUE; |
538 } | 536 } |
539 | 537 |
540 static gboolean | 538 static gboolean |
541 plugin_unload(GaimPlugin *plugin) | 539 plugin_unload(GaimPlugin *plugin) |
542 { | 540 { |
543 perl_end(); | 541 perl_end(); |
544 | |
545 gaim_debug_unregister_category("perl"); | |
546 | 542 |
547 return TRUE; | 543 return TRUE; |
548 } | 544 } |
549 | 545 |
550 static GaimPluginLoaderInfo loader_info = | 546 static GaimPluginLoaderInfo loader_info = |