Hello community, here is the log from the commit of package imapfilter checked in at Mon Oct 8 12:21:56 CEST 2007. -------- --- imapfilter/imapfilter.changes 2007-10-05 11:26:22.000000000 +0200 +++ /mounts/work_src_done/STABLE/imapfilter/imapfilter.changes 2007-10-08 09:28:23.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Oct 8 09:27:06 CEST 2007 - mskibbe@suse.de + +- update to version 2.0.6 which: + o fix a bug that the select_all() method sent an incorrect format + and this caused an error in some mail servers. + +------------------------------------------------------------------- Old: ---- imapfilter-2.0.5.tar.bz2 New: ---- imapfilter-2.0.6.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ imapfilter.spec ++++++ --- /var/tmp/diff_new_pack.Y25449/_old 2007-10-08 12:21:51.000000000 +0200 +++ /var/tmp/diff_new_pack.Y25449/_new 2007-10-08 12:21:51.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package imapfilter (Version 2.0.5) +# spec file for package imapfilter (Version 2.0.6) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -14,7 +14,7 @@ BuildRequires: lua-devel openssl-devel pcre-devel pkgconfig Requires: lua-libs >= 5.1 Summary: a mail filtering utility -Version: 2.0.5 +Version: 2.0.6 Release: 1 License: X11/MIT Group: Productivity/Networking/Email/Utilities @@ -60,6 +60,10 @@ %{_mandir}/man1/imapfilter.1.gz %{_mandir}/man5/imapfilter_config.5.gz %changelog +* Mon Oct 08 2007 - mskibbe@suse.de +- update to version 2.0.6 which: + o fix a bug that the select_all() method sent an incorrect format + and this caused an error in some mail servers. * Fri Oct 05 2007 - mmaher@suse.de - update to version 2.0.5 which: * Bug fix; an error in the sample extensions file. ++++++ imapfilter-2.0.5.tar.bz2 -> imapfilter-2.0.6.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/imapfilter-2.0.5/mailbox.lua new/imapfilter-2.0.6/mailbox.lua --- old/imapfilter-2.0.5/mailbox.lua 2007-10-04 21:31:55.000000000 +0200 +++ new/imapfilter-2.0.6/mailbox.lua 2007-10-07 13:19:47.000000000 +0200 @@ -59,8 +59,13 @@ _check_optional(criteria, { 'string', 'table' }) _check_optional(charset, 'string') + local query if (criteria == nil) then - criteria = '' + query = 'ALL' + elseif (type(criteria) == 'string') then + query = 'ALL ' .. criteria + else + query = _make_query(criteria) end if (charset == nil) then @@ -76,13 +81,6 @@ return {} end - local query - if (type(criteria) == 'string') then - query = 'ALL ' .. criteria - else - query = _make_query(criteria) - end - local _, results = ifcore.search(self._account._imap, query, charset) if (type(options) == 'table' and options.close == true) then diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/imapfilter-2.0.5/NEWS new/imapfilter-2.0.6/NEWS --- old/imapfilter-2.0.5/NEWS 2007-10-04 21:31:55.000000000 +0200 +++ new/imapfilter-2.0.6/NEWS 2007-10-07 13:41:21.000000000 +0200 @@ -1,3 +1,9 @@ +Version 2.0.6 - 7 October 2007 +------------------------------ +- Bug fix; the search query that was sent with the select_all() method had an + incorrect format and this caused an error in some mail servers. + + Version 2.0.5 - 4 October 2007 ------------------------------ - Bug fix; an error in the sample extensions file. @@ -7,6 +13,7 @@ - Examples were added on how to define composite filters that include multiple searching rules. + Version 2.0.4 - 27 September 2007 --------------------------------- - Bug fix; the send_query() method didn't return the special form of table that diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/imapfilter-2.0.5/README new/imapfilter-2.0.6/README --- old/imapfilter-2.0.5/README 2007-10-04 21:31:55.000000000 +0200 +++ new/imapfilter-2.0.6/README 2007-10-07 13:30:21.000000000 +0200 @@ -1,4 +1,4 @@ -IMAPFilter Version 2.0.5 +IMAPFilter Version 2.0.6 ======================== Requirements diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/imapfilter-2.0.5/version.h new/imapfilter-2.0.6/version.h --- old/imapfilter-2.0.5/version.h 2007-10-04 21:31:55.000000000 +0200 +++ new/imapfilter-2.0.6/version.h 2007-10-07 13:30:18.000000000 +0200 @@ -3,7 +3,7 @@ /* Program's version number. */ -#define IMAPFILTER_VERSION "2.0.5" +#define IMAPFILTER_VERSION "2.0.6" /* Program's copyright. */ #define IMAPFILTER_COPYRIGHT "Copyright (c) 2001-2007 Lefteris Chatzimparmpas" ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org