Mercurial > pidgin
comparison plugins/ciphertest.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 | 8dca96cbcd64 |
| children | cfc808463763 |
comparison
equal
deleted
inserted
replaced
| 11255:1b1d63602d77 | 11256:bb0d7b719af2 |
|---|---|
| 177 /************************************************************************** | 177 /************************************************************************** |
| 178 * Plugin stuff | 178 * Plugin stuff |
| 179 **************************************************************************/ | 179 **************************************************************************/ |
| 180 static gboolean | 180 static gboolean |
| 181 plugin_load(GaimPlugin *plugin) { | 181 plugin_load(GaimPlugin *plugin) { |
| 182 gaim_debug_register_category("cipher-test"); | |
| 183 | |
| 184 cipher_test_md5(); | 182 cipher_test_md5(); |
| 185 cipher_test_sha1(); | 183 cipher_test_sha1(); |
| 186 | 184 |
| 187 return TRUE; | 185 return TRUE; |
| 188 } | 186 } |
| 189 | 187 |
| 190 static gboolean | 188 static gboolean |
| 191 plugin_unload(GaimPlugin *plugin) { | 189 plugin_unload(GaimPlugin *plugin) { |
| 192 gaim_debug_unregister_category("cipher-test"); | |
| 193 | |
| 194 return TRUE; | 190 return TRUE; |
| 195 } | 191 } |
| 196 | 192 |
| 197 static GaimPluginInfo info = | 193 static GaimPluginInfo info = |
| 198 { | 194 { |
