aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author4 <NotZed@Ximian.com>2001-09-25 08:58:34 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-09-25 08:58:34 +0800
commit35fe068ed2a74a9eee0f52236625d913951a56b0 (patch)
tree8efda09afb96a188bef85ba5614ad97c50bb9c7d
parent53e4dca70fde21056b85d6d162454f1997e42149 (diff)
downloadgsoc2013-evolution-35fe068ed2a74a9eee0f52236625d913951a56b0.tar.gz
gsoc2013-evolution-35fe068ed2a74a9eee0f52236625d913951a56b0.tar.zst
gsoc2013-evolution-35fe068ed2a74a9eee0f52236625d913951a56b0.zip
Set the exception to FOLDER_INVALID rather than making out it worked. A
2001-09-24 <NotZed@Ximian.com> * camel-folder.c (append_message): Set the exception to FOLDER_INVALID rather than making out it worked. A fix for #7025. (search_by_expression): Here too. svn path=/trunk/; revision=13106
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/camel-folder.c8
2 files changed, 12 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index fc02246f57..bed79fb5d6 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,9 @@
2001-09-24 <NotZed@Ximian.com>
+ * camel-folder.c (append_message): Set the exception to
+ FOLDER_INVALID rather than making out it worked. A fix for #7025.
+ (search_by_expression): Here too.
+
* providers/imap/camel-imap-folder.c (imap_update_summary): In the
'lose' case, free messages, not fetch_data twice!
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index 9798de5c7d..ec23a55c71 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -467,6 +467,10 @@ static void
append_message (CamelFolder *folder, CamelMimeMessage *message,
const CamelMessageInfo *info, CamelException *ex)
{
+ camel_exception_setv(ex, CAMEL_EXCEPTION_FOLDER_INVALID,
+ _("Unsupported operation: append message: for %s"),
+ camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder)));
+
g_warning ("CamelFolder::append_message not implemented for `%s'",
camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder)));
return;
@@ -1030,6 +1034,10 @@ static GPtrArray *
search_by_expression (CamelFolder *folder, const char *expression,
CamelException *ex)
{
+ camel_exception_setv(ex, CAMEL_EXCEPTION_FOLDER_INVALID,
+ _("Unsupported operation: search by expression: for %s"),
+ camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder)));
+
g_warning ("CamelFolder::search_by_expression not implemented for "
"`%s'", camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder)));
return NULL;
=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&id=a04a471294060e679dbfffebdf6bff30665a90f7'>- I forgot some line comments in last commit.araujo2008-06-211-15/+15 * - Use %%PORTDOCS%% correct.araujo2008-06-212-16/+17 * Don't install rtelnet when sgtty is not available anymore.ed2008-06-193-4/+16 * - Delete expired port net-mgmt/nsc: Project abandonedpav2008-06-195-61/+0 * - respect NOPORTDOCSmich2008-06-181-4/+4 * - Update to 4.2.7.1chinsan2008-06-112-5/+4 * - Update to 3.0.708rafan2008-06-103-6/+9 * - Mark IS_INTERACTIVE to avoid infinite loops and stop some damages on packag...araujo2008-06-091-2/+2 * - Update to 0.2.21rafan2008-06-085-8/+41 * - Mark BROKEN. The port asks interactive questions in post-install. It needs topav2008-06-081-0/+2 * ezRADIUS is FreeRADIUS and Chillispot web-based management apps. It's easy, s...lippe2008-06-075-0/+305 * - Update to 0.0.9.2.araujo2008-06-073-10/+22 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-0635-17/+35 * - Forced commit to fix maintainer address.lippe2008-06-061-1/+1 * - Update to 2.16.2. [1]lippe2008-06-063-12/+11 * Fix typo & encoding.skv2008-06-031-68/+68 * * add new example to ng_ipacct.conf [1]skv2008-06-032-8/+79 * - Unbreakmiwi2008-06-021-8/+5 * - Pass maintainership to David Wolfskill <david@catwhisker.org>miwi2008-06-011-6/+2 * - readded net-mgmt/ap-utils to the buildmiwi2008-06-011-0/+1 * - Backout from atticmiwi2008-06-015-0/+89 * - Go back to 1.4.5 because is a stable version and seems to work better that ...araujo2008-05-314-10/+10 * - s/NOPORTDOC/NOPORTDOCSmiwi2008-05-311-2/+2 * - Update to 200805.r1miwi2008-05-313-23/+5 * 2008-05-15 net-p2p/dclibc: Abandoned, not used, website disappearedmiwi2008-05-316-90/+0 * - Does not compile outside i386 (needs some -fPIC)pav2008-05-301-0/+4 * - Unbreak startup script.lippe2008-05-301-2/+3 * - pass flags to startup scriptdinoex2008-05-294-10/+12 * Update to 3.0.2.wxs2008-05-292-4/+4 * Update to 2.12.wxs2008-05-294-8/+8 * - Add common code to support for cmake based ports.miwi2008-05-282-11/+38 * o Resurrect UCD-SNMP-MIB::memBuffer MIB [1].kuriyama2008-05-274-2/+92 * - Reassign to perl@tabthorpe2008-05-261-1/+1 * Drop maintainership.demon2008-05-261-1/+1 * [UPDATE] net-mgmt/mrtg to 2.16.0edwin2008-05-247-160/+160 * - Update to 1.5.2.araujo2008-05-234-8/+8 * - Fix pkg-plist.araujo2008-05-212-16/+2 * - Add missing filerafan2008-05-212-1/+3 * Update to 3.3.1ehaupt2008-05-202-4/+4 * - Clean up: remove old terminology and disable 6Bone specific codemiwi2008-05-1811-14/+485 * - Update to 0.27miwi2008-05-182-4/+4 * - Fix typo.lippe2008-05-181-1/+2 * - Update to 2.8.1.lippe2008-05-177-237/+409 * - Update to 0.14.araujo2008-05-172-6/+5 * - Update to 2.61pav2008-05-144-94/+34 * Improve upon previous patch (fix to use sysctls instead of KVM tosobomax2008-05-1410-78/+226 * - Update to 0.2.1az2008-05-132-4/+4 * - Update to 0.11.7sat2008-05-102-4/+4 * - glib is pulled by xmms so don't depend explicitly on ititetcu2008-05-092-4/+2 * - Update to 3.4.1rc1beech2008-05-085-96/+195 * - Transfer maintainership to daniel@roe.ch [1]itetcu2008-05-0610-152/+344 * Update to 3.3.0ehaupt2008-05-052-4/+4 * Fix build on 7.0edwin2008-05-042-2/+17 * Update to 2.3.6lth2008-05-017-23/+23 * Update to 4.2.7edwin2008-04-309-108/+79 * Reset fenner's port maintainerships. portmgr has taken his commit bitlinimon2008-04-291-1/+1 * - Correct maintainer's emailrafan2008-04-291-1/+1 * Fix issue with retrieving CPU stats in 6.3-STABLE and upper. The problemsobomax2008-04-292-1/+23 * o Fix regression in 5.4.1 - the custom FreeBSD vmstat code is not compiledsobomax2008-04-296-2/+78 * - Update to 0.28miwi2008-04-276-224/+24 * Add keywords to make nrpe actually start at boot-time.anders2008-04-252-2/+6 * - update to 2.0.11leeym2008-04-234-24/+16 * - Fix build after xorg cleanupmiwi2008-04-231-3/+4 * - Chase graphics/ImageMagick shlib version bumpmiwi2008-04-221-1/+2 * Create new port for version 3 of the argus client utilities.se2008-04-2111-0/+215 * Create new port for version 3 of the argus network audit server.se2008-04-218-0/+147 * - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-208-10/+8 * - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_C...araujo2008-04-1719-37/+19 * - Fix fetch, update WWWpav2008-04-172-2/+2 * - Update to 1.1.a13gahr2008-04-165-44/+4 * - Fix a typo in pkg-messagesem2008-04-141-1/+1 * - Update to 3.0.1:clsung2008-04-132-4/+4 * - Unbreakmiwi2008-04-113-18/+20 * - Remove empty filespav2008-04-102-0/+0 * - Fix mysqltcl dependencymm2008-04-101-1/+1 * - Update to 0.11.6sat2008-04-093-5/+5 * - Move from versioned tcl/tk CATEGORIES to simple tcl and tk categoriespav2008-04-091-1/+1 * - Mark BROKEN on FreeBSD 7 and uppav2008-04-091-0/+4 * - Update to 1.4.5.araujo2008-04-0812-44/+62 * Bump portrevision after yesterdays changes in the package list.edwin2008-04-081-1/+1 * files/nrpe.sh.in -> files/nrpe.inedwin2008-04-073-4/+4 * - Fix plistpav2008-04-072-0/+3 * - Add ruby 1.9 supportstas2008-04-061-3/+4 * - Update to 0.26rafan2008-04-062-4/+4 * Update port to the 1.00 version.timur2008-03-313-10/+9 * - Remove unused dependency.kuriyama2008-03-306-94/+36 * - Fix $CONFLICTS entry for ucd-snmp-4.* packages [1].kuriyama2008-03-292-22/+8 * - Fix $CONFLICTS entry for ucd-snmp-4.* packages.kuriyama2008-03-291-2/+2 * - Chase shlib version of net-mgmt/net-snmp which I've forgotten.kuriyama2008-03-292-2/+2 * - Update to 0.9.3lme2008-03-283-5/+5 * Use MASTER_SITE_CRITICALehaupt2008-03-281-2/+1 * Update to 3.0wxs2008-03-272-4/+4 * - Chase shlib version of net-mgmt/net-snmp.kuriyama2008-03-2723-21/+34 * - Repocopy from net-mgmt/net-snmp to net-mgmt/net-snmp53.kuriyama2008-03-276-5/+10 * - Repocopy from net-mgmt/net-snmp to net-mgmt/net-snmp53.kuriyama2008-03-2726-698/+299 * Unbreak on 7.x and later.fjoe2008-03-271-8/+3 * - Update to 0.25miwi2008-03-262-4/+4 * - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORGmiwi2008-03-251-1/+0 * - Update to 1.2rafan2008-03-222-12/+7 * coWPAtty is designed to audit the security of pre-shared keysrafan2008-03-226-0/+88 * - Update to 2.11 [1]rafan2008-03-226-16/+32 * - Remove USE_GETOPT_LONG which is a no-op since March 2007pav2008-03-2011-12/+0 * - USE_GETTEXT should defined only when WITH_NLSrafan2008-03-191-1/+1 * - Respect CC and CXXrafan2008-03-191-0/+5 * - Update tork to 0.27miwi2008-03-184-14/+15 * - Update MASTER_SITESmiwi2008-03-171-2/+1 * - Fix issue "ZBX_TCP_READ() failed [Interrupted system call]"beech2008-03-162-0/+22 * - Pass maintainership to submitterbeech2008-03-164-4/+4 * - Stop packaging mtree symlinkspav2008-03-151-2/+0