[Evolution-hackers] New sanity and menu reorganization test cases for evolution2.5.2

2005-12-20 Thread Venkateswaran S
I have automated some test cases for Evolution 2.5.2 . The test cases
that i have
listed below are available in the attachment along this, please have a
look at them and send me your comments.

i) Basic sanity scripts
a) Tasks - creating,modifying,deleting normal/assigned task and
creating a task list.
b) Appointments (with attachments and recursion) - creating/modifying
ii) Menu-reorganization
a) Folders - creating/renaming/deleting/copying/moving/mark all read
b) Message - Open in new window, new message from existing one,
traverse mails ( goto -next read,nextunred...)
c) File - All items in the file-new submenu, preview a mail,
print a mail, work offline.


--
Question: How can I optimise code better than the compiler?
Answer: If you ask, then you can't.

S.Venkateswaran
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] Bogofilter junk plugin patch

2005-12-20 Thread Mikhail Zabaluev
Hello,

I've massaged my Bogofilter junk plugin into a patch for inclusion in
the Evolution source tree, attached below.
The plugin is included in the experimental list.
Index: configure.in
===
RCS file: /cvs/gnome/evolution/configure.in,v
retrieving revision 1.864
diff -u -r1.864 configure.in
--- configure.in	19 Dec 2005 11:23:08 -	1.864
+++ configure.in	19 Dec 2005 12:44:52 -
@@ -101,6 +101,7 @@
 NO_UNDEFINED='-no-undefined'
 SOEXT='.dll'
 SA_JUNK_PLUGIN=''
+BF_JUNK_PLUGIN=''
 DL_LIB=''
 SOFTOKN3_LIB=''
 HAL_REQUIREMENT=''
@@ -109,6 +110,7 @@
 NO_UNDEFINED=''
 SOEXT='.so'
 SA_JUNK_PLUGIN=sa-junk-plugin
+BF_JUNK_PLUGIN=bf-junk-plugin
 DL_LIB='-ldl'
 SOFTOKN3_LIB='-lsoftokn3'
 HAL_REQUIREMENT='hal'
@@ -1403,8 +1405,8 @@
 all_plugins_standard=$plugins_standard
 
 plugins_experimental_always=backup-restore folder-unsubscribe mail-to-meeting mail-remote prefer-plain save-attachments
-plugins_experimental=$plugins_experimental $IPOD_SYNC
-all_plugins_experimental=$plugins_experimental_always ipod-sync
+plugins_experimental=$plugins_experimental $IPOD_SYNC $BF_JUNK_PLUGIN
+all_plugins_experimental=$plugins_experimental_always bf-junk-plugin ipod-sync
 
 case x$enable_plugins in
 xno)
@@ -1701,6 +1703,7 @@
 plugins/groupwise-features/Makefile
 plugins/mail-account-disable/Makefile
 plugins/sa-junk-plugin/Makefile
+plugins/bf-junk-plugin/Makefile
 plugins/ipod-sync/Makefile
 plugins/publish-calendar/Makefile
 smime/Makefile
Index: po/POTFILES.in
===
RCS file: /cvs/gnome/evolution/po/POTFILES.in,v
retrieving revision 1.291
diff -u -r1.291 POTFILES.in
--- po/POTFILES.in	18 Dec 2005 12:31:19 -	1.291
+++ po/POTFILES.in	19 Dec 2005 12:44:56 -
@@ -274,6 +274,7 @@
 plugins/backup-restore/org-gnome-backup-restore.xml
 plugins/bbdb/bbdb.c
 plugins/bbdb/org-gnome-evolution-bbdb.eplug.xml
+plugins/bf-junk-plugin/org-gnome-bf-junk-plugin.eplug.xml
 plugins/calendar-file/org-gnome-calendar-file.eplug.xml
 plugins/calendar-http/calendar-http.c
 plugins/calendar-http/org-gnome-calendar-http.eplug.xml
Index: plugins/bf-junk-plugin/ChangeLog
===
RCS file: plugins/bf-junk-plugin/ChangeLog
diff -N plugins/bf-junk-plugin/ChangeLog
--- /dev/null	1 Jan 1970 00:00:00 -
+++ plugins/bf-junk-plugin/ChangeLog	1 Jan 1970 00:00:00 -
@@ -0,0 +1,10 @@
+2005-12-18  Mikhail Zabaluev [EMAIL PROTECTED]
+
+* Makefile.am, org-gnome-bf-junk-plugin.eplug.xml:
+Adapted for inclusion in the Evolution source tree.
+
+2005-11-22  Mikhail Zabaluev [EMAIL PROTECTED]
+
+* README: Added reference to Spam Trainer.
+
+* README: Reflect on the fix for bug #313096 that made it to Evolution 2.5.2.
Index: plugins/bf-junk-plugin/Makefile.am
===
RCS file: plugins/bf-junk-plugin/Makefile.am
diff -N plugins/bf-junk-plugin/Makefile.am
--- /dev/null	1 Jan 1970 00:00:00 -
+++ plugins/bf-junk-plugin/Makefile.am	1 Jan 1970 00:00:00 -
@@ -0,0 +1,20 @@
+INCLUDES =		\
+	-I$(top_srcdir)	\
+	$(EVOLUTION_MAIL_CFLAGS)
+
[EMAIL PROTECTED]@
+
+plugin_DATA = org-gnome-bf-junk-plugin.eplug
+plugin_LTLIBRARIES = liborg-gnome-bf-junk-plugin.la
+
+liborg_gnome_bf_junk_plugin_la_SOURCES = bf-junk-filter.c
+liborg_gnome_bf_junk_plugin_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED)
+
+BUILT_SOURCES = $(plugin_DATA) $(error_DATA)
+
+CLEANFILES = $(BUILT_SOURCES)
+
+EXTRA_DIST = \
+	org-gnome-bf-junk-plugin.eplug.xml
+
+
Index: plugins/bf-junk-plugin/README
===
RCS file: plugins/bf-junk-plugin/README
diff -N plugins/bf-junk-plugin/README
--- /dev/null	1 Jan 1970 00:00:00 -
+++ plugins/bf-junk-plugin/README	1 Jan 1970 00:00:00 -
@@ -0,0 +1,34 @@
+Bogofilter plugin for Evolution
+
+This plugin implements junk filtering for the Evolution mailer,
+provided by the bogofilter utility. Bogofilter (http://www.bogofilter.org)
+if a fast and nimble mail filter using a so-called Bayesian technique to
+classify junk and non-junk email.
+
+CAVEATS:
+
+For Evolution versions before 2.5.2, the definition file for the stock
+junk filter plugin, 'org-gnome-sa-junk-plugin.eplug', must be removed
+from the plugin directory to avoid conflict with any alternate junk plugin.
+Simply disabling the SA plugin in the configuration won't help.
+This is due to a flaw in the loading code for this hook type
+(see GNOME bug #313096).
+
+To be able to classify emails as spam, bogofilter needs to have some
+messages in its ham (non-spam) wordlist. This presents something of a
+chicken-and-egg problem for Evolution, because it can feed messages
+to the junk filter for learning as non-junk only after these messages have been
+classified as junk and moved into a junk folder. Thus, if you haven't got a

Re: [Evolution-hackers] Bogofilter junk plugin patch

2005-12-20 Thread Daniel Gryniewicz
On Tue, 2005-12-20 at 15:29 +0300, Mikhail Zabaluev wrote:
 Hello,
 
 I've massaged my Bogofilter junk plugin into a patch for inclusion in
 the Evolution source tree, attached below.
 The plugin is included in the experimental list.

Hi.

I have a very similar patch I've been using for a while.  I would
*highly* suggest using -u for the scan case, and -Ns and -Sn for the
learn cases.  It makes a big difference in the learning ability.

Daniel

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] Questions about merging evo/e-util/e-util.c into e-d-s/libedataserver/e-util.c?

2005-12-20 Thread Simon.Zheng

Hi Tor and all,

There're two copy in evo/e-util/e-util.c and 
e-d-s/libedataserver/e-util.c. I'll try to merge them into one copy in 
e-d-s and drop the copy in evo. Currently, I'm not sure one thing. 
There're some codes in the copy of evo, as follows.

   #include e-i18n.h
   #include e-util-private.h

If I move all functions in evo to e-d-s, shoud I also add these two 
header files to e-d-s? Is that necessary or any influence?

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Possible bug in GW Camel provider

2005-12-20 Thread Parthasarathi Susarla
On Thu, 2005-12-15 at 14:29 +0100, Jules Colding wrote:
 On Wed, 2005-12-14 at 21:30 +0530, Parthasarathi Susarla wrote:
  Hey jules,
  On Wed, 2005-12-14 at 15:39 +0100, Jules Colding wrote:
  [snip]
   I have just inspected cvs HEAD instead of the gnome-2-12 branch. The
   strings are indeed being released in HEAD so my assertion that this is a
   bug seems to be correct, but the bug(s) is only present in the
   gnome-2-12 branch.
  Yeah! a lot changes in the HEAD, did not put them on the stable branch
  since they were way to many string changes and ABI breakages. 
  HEAD has a lot of fixes.
  
 Speaking about fixes... When mi is retrieved at line 1061 in
 camel-groupwise-folder.c (HEAD) the refcount is incremented. mi is never
 unreffed when exist is TRUE.
 
 I think that there should be a call the camel_message_info_free() at
 line 1167 just after the call to camel_folder_change_info_change_uid().
You are right. Fix is committed to head.

Cheers,
partha

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers