aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/bogo-junk-plugin/bf-junk-filter.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert junk filtering EPlugins to EExtensions.Matthew Barnes2011-07-141-420/+0
| | | | | | | | | | | | | | | | | We now have a proper junk mail filtering API. All junk filtering extensions must subclass EMailJunkFilter for user preferences and availability testing, and implement the CamelJunkFilter interface for the actual junk filtering and learning operations. The bogofilter module should be feature-equivalent to its former EPlugin. The spamassassin module is far more complex. It's nearly feature-equivalent to its former EPlugin, but I ditched the spamd respawning code since it seemed unnecessary for a mail client to have to deal with. If there's a huge outcry from users about it I'll reluctantly put it back, but I don't expect one. This gets us a step closer to killing off EConfig, and eventually the EPlugin framework itself.
* Including <glib.h> directly is rarely needed.Matthew Barnes2011-05-281-2/+0
|
* Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-271-1/+1
|
* More whitespace cleanup.Matthew Barnes2011-01-311-1/+1
|
* Adapt to Camel API changes.Matthew Barnes2010-09-281-11/+20
|
* Coding style cleanups.Matthew Barnes2010-09-131-3/+3
|
* Migrate from CamelException to GError.Matthew Barnes2010-07-091-6/+7
|
* Merge branch 'express2'Matthew Barnes2010-05-271-2/+10
|\
| * Hide the junk plugin options in Express modeFederico Mena Quintero2010-04-141-2/+10
| | | | | | | | Signed-off-by: Federico Mena Quintero <federico@novell.com>
* | Coding style and whitespace cleanup.Matthew Barnes2010-05-021-3/+3
| |
* | Camel is now GObject-based.Matthew Barnes2010-04-241-4/+4
| |
* | Use accessor functions instead direct access (GSEAL work)Javier Jardón2010-04-131-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Still remaining: GtkAccessible::widget GtkAssistant::forward GtkAssistant::back GtkObject::flags GtkTreeStore::stamp The GtkAssistant fields are related to bug #596428. We don't need accessor functions so much as the enhancement described there implemented. https://bugzilla.gnome.org/show_bug.cgi?id=615613
* | Only #include Camel's top-level header.Matthew Barnes2010-04-031-5/+0
|/
* Bug #552727 - Flooded by spam checking errors if bogofilter not installedMilan Crha2009-10-281-11/+37
|
* Simplify EPlugin loading at startup.Matthew Barnes2009-08-301-13/+13
| | | | | | | | | | | | | - Require all EPlugin and EPluginHook subtypes be registered before loading plugins. This drastically simplifies the EPlugin/EPluginHook negotiation. - Turn most EPluginHook subtypes into GTypeModules and register their types from an e_module_load() function (does not include shell hooks). - Convert EPluginLib and the Mono and Python bindings to GTypeModules and register their types from an e_module_load() function, and kill EPluginTypeHook.
* Fix excessive whitespace.Matthew Barnes2009-07-141-4/+0
|
* Whitespace cleanup.Matthew Barnes2009-05-291-19/+19
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-271-9/+9
|
* Remove trailing whitespace, again.Matthew Barnes2009-05-271-5/+5
|
* Fix compiler warnings in plugins.Matthew Barnes2009-05-271-10/+10
|
* Use -no-undefined on Windows. Link with libeutil.Tor Lillqvist2009-01-291-3/+14
| | | | | | | | | | | | | 2009-01-28 Tor Lillqvist <tml@novell.com> * Makefile.am: Use -no-undefined on Windows. Link with libeutil. * bf-junk-filter.c: Tentative port to Windows even though this plugin isn't even compiled on Windows for now. Just for completeness. svn path=/trunk/; revision=37149
* init the bogofilter if it wasn't. say that evolution's welcome message issrinivasa ragavan2008-12-151-1/+46
| | | | | | | | | | | | | 2008-12-15 srinivasa ragavan <sragavan@novell.com> * makefile.am: * bf-junk-filter.c: (init_db), (pipe_to_bogofilter): init the bogofilter if it wasn't. say that evolution's welcome message is not junk. svn path=/trunk/; revision=36883
* Change License from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-10-141-10/+15
| | | | svn path=/trunk/; revision=36617
* Report errors properly. Thanks to Reid Thompson whom found it.Milan Crha2008-04-291-1/+1
| | | | | | | | | | 2008-04-29 Milan Crha <mcrha@redhat.com> * bf-junk-filter.c: (pipe_to_bogofilter): Report errors properly. Thanks to Reid Thompson whom found it. svn path=/trunk/; revision=35443
* ** Fix for bug #273041Milan Crha2008-04-251-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-25 Milan Crha <mcrha@redhat.com> ** Fix for bug #273041 * mail/mail.error.xml: (junk-check-error), (junk-report-error), (junk-not-report-error): New error messages added. * mail/em-junk-hook.h: (struct _EMJunkHookTarget), (em_junk_error_quark): * mail/em-junk-hook.c: (manage_error), (em_junk_check_junk), (em_junk_report_junk), (em_junk_report_non_junk): Allow propagation of the error from the plugin in the hook target. * plugins/bogo-junk-plugin/bf-junk-filter.c: (pipe_to_bogofilter), (em_junk_bf_check_junk), (em_junk_bf_report_junk), (em_junk_bf_report_non_junk): Propagate possible errors to the UI. * sa-junk-plugin/em-junk-filter.c: (em_junk_sa_commit_reports), (em_junk_sa_validate_binary): Fix function prototype. * sa-junk-plugin/em-junk-filter.c: (pipe_to_sa_full), (em_junk_sa_test_spamd_running), (em_junk_sa_test_spamassassin), (pipe_to_sa), (em_junk_sa_run_spamd), (em_junk_sa_test_spamd), (em_junk_sa_is_available), (em_junk_sa_check_junk), (get_spamassassin_version), (em_junk_sa_report_junk), (em_junk_sa_report_non_junk): Propagate possible errors to the UI. svn path=/trunk/; revision=35415
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-2/+2
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* Use consistent terminology for mail messages (#480621).Matthew Barnes2007-09-281-1/+1
| | | | | | | | | | | | | | | | | 2007-09-27 Matthew Barnes <mbarnes@redhat.com> * mail/em-account-editor.c: * mail/evolution-mail.schemas.in: * mail/mail-config.glade: * plugins/bbdb/bbdb.c (bbdb_page_factory): * plugins/bogo-junk-plugin/bf-junk-filter.c: * plugins/face/org-gnome-face-eplug.xml: * plugins/new-mail-notify/org-gnome-new-mail-notify.eplug.xml: * plugins/print-message/org-gnome-print-message.eplug.xml: Use consistent terminology for mail messages (#480621). svn path=/trunk/; revision=34326
* 2007-09-07 mcrha Fix for bug #473903Milan Crha2007-09-071-5/+3
| | | | svn path=/trunk/; revision=34192
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-1/+1
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* Avoid reentrancy in enableSrinivasa Ragavan2007-08-271-2/+3
| | | | svn path=/trunk/; revision=34112
* Plugged memory leak.Hiroyuki Ikezoe2007-07-261-0/+2
| | | | | | | | | 2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net> * bf-junk-filter.c: (convert_unicode_cb): Plugged memory leak. svn path=/trunk/; revision=33850
* Bug 437584 – Compilation warning in evolution's plugins folderSankarasivasubramanian Pasupathilingam2007-05-111-0/+10
| | | | svn path=/trunk/; revision=33507
* Added bogofilter to Evolution.Srinivasa Ragavan2007-04-031-0/+301
svn path=/trunk/; revision=33364