Re: [Evolution-hackers] branching 1.2 off?

2002-09-22 Thread Colin Walters

On Sat, 2002-09-21 at 06:51, Not Zed wrote:

 I would think we will not be making a branch till at least the 1.2 final
 release, and probably not till a while after that.  To reduce the amount
 of management required to maintain the branches.

Hmm.  Well, I guess I can understand not branching until the 1.2
release, but not setting up a branch afterwards doesn't make sense to
me.  I mean, you're going to need one to start on the GNOME 2 port.

 Also note, the next development phase i believe will be devoted to
 porting to the gnome 2 platform, and not feature enhancement. :-/

Well, my patches aren't generally intrusive, and they wouldn't affect
things that will likely change a lot during the GNOME 2 port.  And if I
can start putting stuff in, I'll be a lot more motivated to help out
with the GNOME 2 porting, too...


___
evolution-hackers maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers



Re: [Evolution-hackers] custom headers ?

2002-09-21 Thread Colin Walters

[ yes, I know, old mail; I'm just now catching up on this list ]

On Tue, 2002-08-27 at 08:27, Tiberiu Ungureanu wrote:

 Is there any way you could define custom headers in the emails you send?
 Like X-Something: bla bla ? i searched all available menus, and then i
 searched through config files, but i didn't find anything useful. And if
 there is no way you could configure custom headers, is there any chance
 to find this feature in near future ?

I wrote a patch to do this, which was against the CVS of Evolution 1.1
as of a few months ago.  It won't be in included in Ximian's 1.2,
unfortunately.  

I hope to have it integrated for Evolution 2, or whatever they're going
to call the next version.



___
evolution-hackers maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers



[Evolution-hackers] branching 1.2 off?

2002-09-21 Thread Colin Walters

Hello,

Now that it seems 1.2 is nearing release, could we make it a separate
CVS branch?  I have a ton of outstanding patches I'd like to get
integrated, and it would be nice to have CVS HEAD to play on without
disrupting 1.2

Thanks.

___
evolution-hackers maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers



[Evolution-hackers] adding host type to X-Mailer

2002-06-15 Thread Colin Walters

Hello,

Here's a tiny patch which adds the GNU host type 
(e.g. powerpc-debian-linux-gnu) to the X-Mailer header.  I like to see
what systems people are running; for example, if I know someone is
running Debian, then I can give them Debian-specific advice without
having to ask first.

Other mailers (Gnus and Sylpheed come to mind) do this.




--- configure.in.~1.472.~   Wed Jun  5 22:18:22 2002
+++ configure.inSat Jun 15 00:32:27 2002
 -14,7 +14,7 
 
 AC_CANONICAL_HOST
 
-AC_DEFINE_UNQUOTED(VERSION_COMMENT, (Preview Release))
+AC_DEFINE_UNQUOTED(VERSION_COMMENT, (Preview Release) on 
+$host_cpu-$host_vendor-$host_os)
 
 AC_DEFUN(EVO_CHECK_LIB, [
dispname=$1



Re: [Evolution-hackers] Camel smime

2002-06-05 Thread Colin Walters

On Tue, 2002-06-04 at 23:13, Jeffrey Stedfast wrote:
 Once upon a time I had started implementing S/MIME using the Mozilla NSS
 libraries, but I had given up on that due to the API changing on me and
 the fact that the Mozilla developers told me that the API was not going
 to be stable anytime soon. Of course this was a long while back, so
 maybe things have changed?

Have you looked at using GNUTLS?

http://www.gnu.org/software/gnutls




___
evolution-hackers maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers



[Evolution-hackers] poll: patch to optionally disable HTML mail?

2002-04-29 Thread Colin Walters

Hello,

Have you ever been annoyed by HTML email?  Do you want to have the
option not to see 66 pt. bold red headers that someone decided to
write?  Is the only HTML email you get spam, and you'd like to have the
option to turn it into an attachment?  Do you know anyone else who would
like this option?

I have written a patch which implements this
(http://people.debian.org/~walters/debian/render-html.patch).  Some of
the Evolution developers aren't convinced that many people would use
it.  So, we decided to have a poll.  If you would like to see this patch
in Evolution, please send a message in support to
[EMAIL PROTECTED]

Thanks!






___
evolution-hackers maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers



[Evolution-hackers] Re: [Evolution] poll: patch to optionally disable HTML mail?

2002-04-29 Thread Colin Walters

On Mon, 2002-04-29 at 19:23, Xavier Bestel wrote:

 Err .. I NEED to see html mails (no, not the text alternative, which BTW
 is not always present).

[ I obviously should have emphasized this more...] 

The patch will change nothing unless you actually uncheck one of the two
new options in Mail Settings.




___
evolution-hackers maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers



[Evolution-hackers] rendering HTML patch

2002-04-27 Thread Colin Walters

Hello, the following patch adds two new options to allow more control
over rendering HTML email.  Complex HTML mail (tables, funky fonts)
takes an extra second or two to render on my machine, so I always want
to turn HTML mail into an attachment, but I imagine most people will
just want the first option.

It's against the Debian 1.0.3 source tree, mainly because I couldn't get
the CVS tree to actually build and work.

2002-04-27  Colin Walters  [EMAIL PROTECTED]

* mail-config.c (struct MailConfig): Represent them with new
boolean variables `prefer_html' and `inline_html'.
(mail_config_write_on_exit): Write them.
(config_read): Read them.
(mail_config_get_prefer_html, mail_config_set_prefer_html)
(mail_config_get_inline_html, mail_config_set_inline_html):
Accessors.

* mail-config.h: Declare accessors.

* mail-config.glade (chkPreferHTML, chkInlineHTML): New
togglebutton widgets.

* mail-accounts.c (prefer_html_toggled): New function.
(inline_html_toggled): Ditto.
(construct): Bind them to chkPreferHTML and chkInlineHTML widgets,
respectively.

* mail-accounts.h (struct _MailAccountsDialog): New toggle buttons
`prefer_html' and `inline_html'.

* mail-format.c (mail_part_is_inline): Handle inline html option.
(handle_multipart_alternative): Handle prefer html option. 






diff -ru evolution-1.0.3/mail/mail-accounts.c evolution-1.0.3.new/mail/mail-accounts.c
--- evolution-1.0.3/mail/mail-accounts.c	Mon Dec 10 14:55:20 2001
+++ evolution-1.0.3.new/mail/mail-accounts.c	Sat Apr 27 14:13:56 2002
@@ -602,6 +602,18 @@
 }
 
 static void
+prefer_html_toggled (GtkToggleButton *button, gpointer data)
+{
+	mail_config_set_prefer_html (gtk_toggle_button_get_active (button));
+}
+
+static void
+inline_html_toggled (GtkToggleButton *button, gpointer data)
+{
+	mail_config_set_inline_html (gtk_toggle_button_get_active (button));
+}
+
+static void
 timeout_toggled (GtkToggleButton *button, gpointer data)
 {
 	mail_config_set_do_seen_timeout (gtk_toggle_button_get_active (button));
@@ -865,7 +877,17 @@
 	gtk_spin_button_set_value (dialog-timeout, (1.0 * mail_config_get_mark_as_seen_timeout ()) / 1000.0);
 	gtk_signal_connect (GTK_OBJECT (dialog-timeout), changed,
 			GTK_SIGNAL_FUNC (timeout_changed), dialog);
-	
+
+	dialog-prefer_html = GTK_TOGGLE_BUTTON (glade_xml_get_widget(gui, chkPreferHTML));
+	gtk_toggle_button_set_active (dialog-prefer_html, mail_config_get_prefer_html ());
+	gtk_signal_connect (GTK_OBJECT (dialog-prefer_html), toggled,
+			GTK_SIGNAL_FUNC (prefer_html_toggled), dialog);
+	
+	dialog-inline_html = GTK_TOGGLE_BUTTON (glade_xml_get_widget(gui, chkInlineHTML));
+	gtk_toggle_button_set_active (dialog-inline_html, mail_config_get_inline_html ());
+	gtk_signal_connect (GTK_OBJECT (dialog-inline_html), toggled,
+			GTK_SIGNAL_FUNC (inline_html_toggled), dialog);
+
 	dialog-images_never = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui, radioImagesNever));
 	gtk_toggle_button_set_active (dialog-images_never, mail_config_get_http_mode () == MAIL_CONFIG_HTTP_NEVER);
 	gtk_signal_connect (GTK_OBJECT (dialog-images_never), toggled,
diff -ru evolution-1.0.3/mail/mail-accounts.h evolution-1.0.3.new/mail/mail-accounts.h
--- evolution-1.0.3/mail/mail-accounts.h	Sat Oct 27 14:21:05 2001
+++ evolution-1.0.3.new/mail/mail-accounts.h	Sat Apr 27 14:14:16 2002
@@ -76,6 +76,8 @@
 	GnomeColorPicker *citation_color;
 	GtkToggleButton *timeout_toggle;
 	GtkSpinButton *timeout;
+	GtkToggleButton *prefer_html;
+	GtkToggleButton *inline_html;
 	GtkToggleButton *images_always, *images_sometimes, *images_never;
 	/*GtkToggleButton *thread_list;*/
 	/*GtkToggleButton *show_preview;*/
diff -ru evolution-1.0.3/mail/mail-config.c evolution-1.0.3.new/mail/mail-config.c
--- evolution-1.0.3/mail/mail-config.c	Fri Dec 14 16:56:20 2001
+++ evolution-1.0.3.new/mail/mail-config.c	Sat Apr 27 14:09:58 2002
@@ -78,6 +78,8 @@
 	gboolean hide_deleted;
 	gint paned_size;
 	gboolean send_html;
+	gboolean prefer_html;
+	gboolean inline_html;
 	gboolean confirm_unwanted_html;
 	gboolean citation_highlight;
 	guint32  citation_color;
@@ -516,6 +518,14 @@
 	config-send_html = bonobo_config_get_boolean_with_default (config-db,
 	/Mail/Format/send_html, FALSE, NULL);
 
+	/* Prefer seeing HTML */
+	config-prefer_html = bonobo_config_get_boolean_with_default (config-db,
+	/Mail/Format/prefer_html, TRUE, NULL);
+
+	/* Inline HTML */
+	config-inline_html = bonobo_config_get_boolean_with_default (config-db,
+	/Mail/Format/inline_html, TRUE, NULL);
+
 	/* Confirm Sending Unwanted HTML */
 	config-confirm_unwanted_html = bonobo_config_get_boolean_with_default (config-db,
 	/Mail/Format/confirm_unwanted_html, TRUE, NULL);
@@ -826,6 +839,14 @@
 	bonobo_config_set_boolean (config-db, /Mail/Format/send_html, 
    config-send_html, NULL);
 
+	/* Prefer