Mercurial > pidgin
comparison src/session.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 | 50224ac8184d |
| children | f8cd06753755 |
comparison
equal
deleted
inserted
replaced
| 11255:1b1d63602d77 | 11256:bb0d7b719af2 |
|---|---|
| 281 SmcCallbacks callbacks; | 281 SmcCallbacks callbacks; |
| 282 gchar *client_id = NULL; | 282 gchar *client_id = NULL; |
| 283 gchar error[ERROR_LENGTH] = ""; | 283 gchar error[ERROR_LENGTH] = ""; |
| 284 gchar *tmp = NULL; | 284 gchar *tmp = NULL; |
| 285 gchar **cmd = NULL; | 285 gchar **cmd = NULL; |
| 286 | |
| 287 gaim_debug_register_category("Session Management"); | |
| 288 | 286 |
| 289 if (session != NULL) { | 287 if (session != NULL) { |
| 290 /* session is already established, what the hell is going on? */ | 288 /* session is already established, what the hell is going on? */ |
| 291 gaim_debug(GAIM_DEBUG_WARNING, "Session Management", | 289 gaim_debug(GAIM_DEBUG_WARNING, "Session Management", |
| 292 "Duplicated call to session_init!\n"); | 290 "Duplicated call to session_init!\n"); |
| 390 | 388 |
| 391 SmcCloseConnection(session, 0, NULL); | 389 SmcCloseConnection(session, 0, NULL); |
| 392 | 390 |
| 393 gaim_debug(GAIM_DEBUG_INFO, "Session Management", | 391 gaim_debug(GAIM_DEBUG_INFO, "Session Management", |
| 394 "Connection closed.\n"); | 392 "Connection closed.\n"); |
| 395 | |
| 396 gaim_debug_unregister_category("Session Management"); | |
| 397 #endif /* USE_SM */ | 393 #endif /* USE_SM */ |
| 398 } | 394 } |
