Mercurial > pidgin.yaz
comparison src/connection.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 | 84d3f47e6258 |
comparison
equal
deleted
inserted
replaced
11255:1b1d63602d77 | 11256:bb0d7b719af2 |
---|---|
504 void | 504 void |
505 gaim_connections_init(void) | 505 gaim_connections_init(void) |
506 { | 506 { |
507 void *handle = gaim_connections_get_handle(); | 507 void *handle = gaim_connections_get_handle(); |
508 | 508 |
509 gaim_debug_register_category("connection"); | |
510 | |
511 gaim_signal_register(handle, "signing-on", | 509 gaim_signal_register(handle, "signing-on", |
512 gaim_marshal_VOID__POINTER, NULL, 1, | 510 gaim_marshal_VOID__POINTER, NULL, 1, |
513 gaim_value_new(GAIM_TYPE_SUBTYPE, | 511 gaim_value_new(GAIM_TYPE_SUBTYPE, |
514 GAIM_SUBTYPE_CONNECTION)); | 512 GAIM_SUBTYPE_CONNECTION)); |
515 | 513 |
531 | 529 |
532 void | 530 void |
533 gaim_connections_uninit(void) | 531 gaim_connections_uninit(void) |
534 { | 532 { |
535 gaim_signals_unregister_by_instance(gaim_connections_get_handle()); | 533 gaim_signals_unregister_by_instance(gaim_connections_get_handle()); |
536 | |
537 gaim_debug_unregister_category("connection"); | |
538 } | 534 } |
539 | 535 |
540 void * | 536 void * |
541 gaim_connections_get_handle(void) | 537 gaim_connections_get_handle(void) |
542 { | 538 { |