From spam@pvanhoof.be Thu Mar 16 20:24:14 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D821C3B13FC for ; Thu, 16 Mar 2006 20:24:14 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14876-10 for ; Thu, 16 Mar 2006 20:24:13 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id 0C4923B13DD for ; Thu, 16 Mar 2006 20:24:13 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id 241BAE74D2 for ; Wed, 15 Mar 2006 17:46:39 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11141-02 for ; Wed, 15 Mar 2006 17:46:39 +0100 (CET) Received: from lort.newtec.be (mailhost.newtec.be [62.58.98.194]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id F00A1E7261 for ; Wed, 15 Mar 2006 17:46:38 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: multipart/alternative; boundary="=-wzbgkG8E1Gv6GyMZY3hF" Date: Wed, 15 Mar 2006 17:47:24 +0100 Message-Id: <1142441244.29923.2.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.376 tagged_above=-999 required=2 tests=[AWL=0.089, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] X-Spam-Score: -2.376 X-Spam-Level: Subject: 3th test X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: tinymail-devel-list.gnome.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2006 01:24:15 -0000 --=-wzbgkG8E1Gv6GyMZY3hF Content-Type: text/plain Content-Transfer-Encoding: 7bit -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be --=-wzbgkG8E1Gv6GyMZY3hF Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
-- 
Philip Van Hoof, software developer at x-tend 
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
work: vanhoof at x-tend dot be 
http://www.pvanhoof.be - http://www.x-tend.be
--=-wzbgkG8E1Gv6GyMZY3hF-- From spam@pvanhoof.be Thu Mar 16 20:57:42 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 99E373B2673 for ; Thu, 16 Mar 2006 20:57:42 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16706-02 for ; Thu, 16 Mar 2006 20:57:33 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id BBAB13B14CD for ; Thu, 16 Mar 2006 20:57:32 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id 506E2E7280 for ; Wed, 15 Mar 2006 11:39:16 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03630-04 for ; Wed, 15 Mar 2006 11:39:16 +0100 (CET) Received: from lort.newtec.be (mailhost.newtec.be [62.58.98.194]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id 273A1E7261 for ; Wed, 15 Mar 2006 11:39:16 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: text/plain Date: Wed, 15 Mar 2006 11:40:01 +0100 Message-Id: <1142419201.5119.13.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.377 tagged_above=-999 required=2 tests=[AWL=0.088, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, SPF_PASS=-0.001] X-Spam-Score: -2.377 X-Spam-Level: Subject: First mail X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: tinymail-devel-list.gnome.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2006 01:57:42 -0000 Because the first mail on a new mailing list is always exciting! -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be From spam@pvanhoof.be Thu Mar 16 20:57:50 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6375C3B2673 for ; Thu, 16 Mar 2006 20:57:50 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16341-10 for ; Thu, 16 Mar 2006 20:57:33 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id BB30D3B10A1 for ; Thu, 16 Mar 2006 20:57:32 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id 46060E74B1 for ; Wed, 15 Mar 2006 12:51:40 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05103-05 for ; Wed, 15 Mar 2006 12:51:40 +0100 (CET) Received: from lort.newtec.be (mailhost.newtec.be [62.58.98.194]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id 1247EE72BF for ; Wed, 15 Mar 2006 12:51:40 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: multipart/alternative; boundary="=-qQMFtk3jFxFwIfb/Uf0l" Date: Wed, 15 Mar 2006 12:52:23 +0100 Message-Id: <1142423544.5244.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.378 tagged_above=-999 required=2 tests=[AWL=0.086, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.378 X-Spam-Level: Subject: Second test X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: tinymail-devel-list.gnome.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2006 01:57:50 -0000 --=-qQMFtk3jFxFwIfb/Uf0l Content-Type: text/plain Content-Transfer-Encoding: 7bit -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be --=-qQMFtk3jFxFwIfb/Uf0l Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
-- 
Philip Van Hoof, software developer at x-tend 
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
work: vanhoof at x-tend dot be 
http://www.pvanhoof.be - http://www.x-tend.be
--=-qQMFtk3jFxFwIfb/Uf0l-- From spam@pvanhoof.be Fri Mar 17 04:37:47 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 766D23B006E for ; Fri, 17 Mar 2006 04:37:47 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05310-02 for ; Fri, 17 Mar 2006 04:37:45 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id 94ABE3B0BC2 for ; Fri, 17 Mar 2006 04:37:44 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id C2FC4E7523 for ; Fri, 17 Mar 2006 10:36:52 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27054-09 for ; Fri, 17 Mar 2006 10:36:52 +0100 (CET) Received: from lort.newtec.be (mailhost.newtec.be [62.58.98.194]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id 98E7FE7501 for ; Fri, 17 Mar 2006 10:36:52 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org In-Reply-To: <1142423544.5244.0.camel@localhost.localdomain> References: <1142423544.5244.0.camel@localhost.localdomain> Content-Type: text/plain Date: Fri, 17 Mar 2006 10:37:40 +0100 Message-Id: <1142588260.5114.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.38 tagged_above=-999 required=2 tests=[AWL=0.086, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] X-Spam-Score: -2.38 X-Spam-Level: Subject: Re: Second test X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: tinymail-devel-list.gnome.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2006 09:37:47 -0000 On Wed, 2006-03-15 at 12:52 +0100, Philip Van Hoof wrote: Final test . . . > -- > Philip Van Hoof, software developer at x-tend > home: me at pvanhoof dot be > gnome: pvanhoof at gnome dot org > work: vanhoof at x-tend dot be > http://www.pvanhoof.be - http://www.x-tend.be > _______________________________________________ > tinymail-devel-list mailing list > tinymail-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/tinymail-devel-list -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be From spam@pvanhoof.be Sat Mar 18 06:21:42 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 731853B04E4 for ; Sat, 18 Mar 2006 06:21:42 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30220-07 for ; Sat, 18 Mar 2006 06:21:40 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id 36C2F3B04DD for ; Sat, 18 Mar 2006 06:21:40 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id 7C3F7E734A for ; Sat, 18 Mar 2006 12:20:46 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24574-08 for ; Sat, 18 Mar 2006 12:20:46 +0100 (CET) Received: from [192.168.1.110] (d54C0E27E.access.telenet.be [84.192.226.126]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id 3FAD2E72D4 for ; Sat, 18 Mar 2006 12:20:46 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: text/plain Date: Sat, 18 Mar 2006 12:21:37 +0100 Message-Id: <1142680897.11904.25.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.426 tagged_above=-999 required=2 tests=[AWL=0.021, BAYES_00=-2.599, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TW_BG=0.077, TW_GT=0.077] X-Spam-Score: -2.426 X-Spam-Level: Subject: Ideas, todo, etcetera X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development mailing list for tinymail List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2006 11:21:42 -0000 So, tinymail. Camel related ------------- o. At this moment I'm working on the account implementations. Camel has a notion of accounts through the CamelService in combination with the CamelSession. You basically ask the CamelSession for a specific CamelService instance. When doing so, you need to tell the CamelSession what type of service you are interested in. The API allows you to use camel_session_get_service to get both a store provider, and a transport provider. In reality it looks like this only works correctly for store providers. So there's another API for getting transport providers. camel_session _get_transport will return you the transport provider. What I haven't found is how I can let such a returned transport provider have authentication and SSL. So I've been testing it with a SMTP service that doesn't require SSL nor authentication. On the TODO list is getting SMTP over SSL with authentication working. o. For the store types I have POP and IMAP working. So not POP over SSL nor IMAP over SSL. On the TODO list is getting the SSL support for stores working. This shouldn't be very difficult. Also for the POP store, I don't yet have subfolders working. It looks like Subfolders and handled differently. I think for POP, subfolders are to be done with local folders. As in Evolution only filters can write to them. So a less high priority TODO item is getting a notion of subfolders for POP boxes working. o. Some people want to store their sent items in a specific folder. Such a folder can be a remote IMAP folder also (I don't recommend it, but some want this feature). At this moment is sending mails not yet working, but for getting this to work it should be possible to put messages in a folder. Tinymail can't yet put messages in a folder. So this is a TODO item. o. I haven't yet made renaming, creating, copying and moving messages a todo item. But they are trivial and so if somebody wants to work on this, I'd probably accept such patches. I will probably not focus on such features yet. o. Attaching a stream to a message doesn't work: it crashes. So on TODO is fixing that. Streams related --------------- o. One of the streams is doing something wrong. When I use the feature of writing an attachment to disk, not all bytes of the attachment are written or .. the bytes are wrong. Perhaps this is because you have to put a format-convertor in the middle (this is something camel supports). Or whatever. I haven't really tested this. o. Attaching a stream to a message doesn't work: it crashes. So on TODO is fixing that. UI related ---------- o. Somebody or some team should write a complete UI on top of libtinymailui. o. The current gtk implementation requires libgnome stuff. On TODO is trying to remove such dependencies (MIME icon stuff). Language bindings ----------------- o. Somebody started the support for Python language bindings. Somebody else proposed to finish it. If they will: it's a todo item. I'm not yet going to focus on this. o. Try to make sure the header files of the camel implementation don't require camel objects. As camel is not as easy to generate language bindings for. This should be possible afaik, so it's a todo item. -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be From spam@pvanhoof.be Sat Mar 18 10:28:41 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 28C723B0D24 for ; Sat, 18 Mar 2006 10:28:41 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12155-01 for ; Sat, 18 Mar 2006 10:28:37 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id 58C5F3B0B27 for ; Sat, 18 Mar 2006 10:28:37 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id 0848CE72D4 for ; Sat, 18 Mar 2006 16:27:43 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29389-06 for ; Sat, 18 Mar 2006 16:27:42 +0100 (CET) Received: from [192.168.1.100] (d54C0E27E.access.telenet.be [84.192.226.126]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id B03EDE72BF for ; Sat, 18 Mar 2006 16:27:42 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: text/plain Date: Sat, 18 Mar 2006 16:28:34 +0100 Message-Id: <1142695715.30096.35.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.503 tagged_above=-999 required=2 tests=[AWL=0.098, BAYES_00=-2.599, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] X-Spam-Score: -2.503 X-Spam-Level: Subject: Sorting X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development mailing list for tinymail List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2006 15:28:41 -0000 Sorting is still a major problem in tinymail: o. First of all, for getting sorting right you have to read all the message headers at some point. The results of such a sort should therefore at least be stored on disk, and recalculated when a new message arrives. o. Some people want to have support for message threading in their summary view. I'm not planning to focus on such a feature, but would welcome work that goes in that direction. Some information can be found here: http://www.jwz.org/doc/threading.html It would of course be nice if we can store the sorting result and reuse the stored information. o Storing the information I was thinking about a mmapable format for storing sorting results. Something like this: 1) [1 byte depth as char] [ 1 byte UID LENGTH ] [UID as a string] or 2) [1 byte depth as char] [ 4 bytes UID as unsigned integer ] Let's illustrate point 1) first: 0x01 0x04 0x30 0x30 0x30 0x31 0x02 0x03 0x30 0x30 0x32 0x01 0x04 0x30 0x30 0x31 0x32 0x01 0x05 0x30 0x30 0x30 0x30 0x34 +-----------+-------------------------------------------------+------------------+ | 0000:0000 | 01 04 30 30 30 31 02 03 30 30 32 01 04 30 30 31 | ..0001..002..001 | | 0000:0010 | 32 01 05 30 30 30 30 34 | 2..00004 | +-----------+-------------------------------------------------+------------------+ Where uid=0001 Subject=First header uid=002 Subject=Second header uid=0012 Subject=Third header uid=00004 Subject=Fourth header For a tree like this: -+-First header --+-Second header -+-Third header -+-Fourth header Such a binary file could be mmaped on platforms that support mmap (or read as it is without needing any extra parsing, which is what is important about this format) and used by the custom GtkTreeModel to instantly how to show the instances. Perhaps somebody else already made such a tree-index format? It would certainly be very nice if tinymail would use something like this. So it's at least on my todo list. Important is that UID's have a variable size and that most are shorter than four bytes. Storing 16.000 such uids with threading information might be wasting a little bit memory if we'd for example always use a 32 bit field (an unsigned normal integer). But it might be a little bit more faster? So let's illustrate 2) : 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 The same sample would look like this: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x02 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x0c 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x04 +-----------+-------------------------------------------------+ | 0000:0000 | 01 00 00 00 00 00 00 00 01 02 00 00 00 00 00 00 | | 0000:0010 | 00 02 01 00 00 00 00 00 00 00 0c 01 00 00 00 00 | | 0000:0020 | 00 00 00 04 | +-----------+-------------------------------------------------+ I might have made a mistake but you probably get the idea? About 2), what I don't know is whether or not message UID's are ALWAYS integer fields. Using 1) the UID's of the messages can also be character data of lengths 1 to 255. This is the reason why I'm more pro the first idea. If longer UID's are needed, the format can be adapted to have two or more bytes for the uid-length information. Anyway, 1) is significantly shorter in memory usage and supports more possibilities (uid's not being integers). -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be From spam@pvanhoof.be Mon Mar 20 17:41:22 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7BB1A3B2A61 for ; Mon, 20 Mar 2006 17:41:22 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27676-02 for ; Mon, 20 Mar 2006 17:41:20 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id E87B53B162C for ; Mon, 20 Mar 2006 17:41:19 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id E5DB4E74C3 for ; Mon, 20 Mar 2006 23:40:19 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27145-07 for ; Mon, 20 Mar 2006 23:40:19 +0100 (CET) Received: from [192.168.1.110] (d54C0E27E.access.telenet.be [84.192.226.126]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id B69ACE71B6 for ; Mon, 20 Mar 2006 23:40:19 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: text/plain Date: Mon, 20 Mar 2006 23:41:17 +0100 Message-Id: <1142894477.5961.71.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.505 tagged_above=-999 required=2 tests=[AWL=0.096, BAYES_00=-2.599, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] X-Spam-Score: -2.505 X-Spam-Level: Subject: Todays commit and status X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development mailing list for tinymail List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2006 22:41:22 -0000 Hi folks, Store and Transport accounts ---------------------------- Today I committed some improvements for libtinymail* that addresses the fact that there's some differences between STORE and TRANSPORT camel providers. I basically made "reconnect" a abstract method in the abstract TnyAccount type of libtinymail-camel. You basically have to implement it to be a real account-type. Both TnyStoreAccount and TnyTransportAccount do implement it. I should, perhaps, put the function pointer in the class structure, rather than the private structure. Feel free to correct this if you would like to do that. Common functionality for libtinymail-camel ------------------------------------------ I also introduced a tny-camel-common.c which implements some functionality that's shared across tny-msg-header.c and tny-transport-account.c (the converting of address strings to a CamelInternetAddress instance). Creating messages ----------------- I refactored the TnyMsgIface type in such a way that it now implements TnyMsgMimePartIface. The Camel implementation implements it by inheriting from the TnyMsgMimePart camel implementation type. It should be possible to perform all mime-part actions on a message type. I've succeeded in sending an e-mail while setting some headers like the To, From and Subject right. I didn't yet succeed in writing a body to the e-mail but I did succeed in correctly adding a mime-part to the message. Probably some small mistake I made about the stream and mime part things. Feel free to jump ship and help me a bit here, if you feel adventurous. You'll basically have to study Evolutions source code and try to find out how to do it. Which is very fun. Promised! Testing ------- I adapted the tny-test-anything test so that it reflects the changes about how you need to use the TnyMsgIface type. You, for example, need to set the content-type of the message instance using the mime-part API. As a message (from now on) implements that API. You can say that a message is a mime part that can contain other mime parts. Like it's attachments. The API changes --------------- These changes do, indeed, increase the size of one message instance. But a message instance shouldn't be created very often. You typically work with header instances (or header proxy instances) in for example the summary view. As the tinymail demo ui shows you. You create a message instance by asking the folder ... you give it the header instance (the one that should be behind your selected row, and it can be a proxy indeed) and the method will return you a fresh and new message instance which you can then start using. That's the idea here. -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be From spam@pvanhoof.be Tue Mar 21 13:09:44 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 1E6613B1431 for ; Tue, 21 Mar 2006 13:09:44 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23583-05 for ; Tue, 21 Mar 2006 13:09:42 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id 53C383B13E5 for ; Tue, 21 Mar 2006 13:09:42 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id 85A83E751D for ; Tue, 21 Mar 2006 19:08:40 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15775-01 for ; Tue, 21 Mar 2006 19:08:40 +0100 (CET) Received: from [192.168.1.110] (d54C0E27E.access.telenet.be [84.192.226.126]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id 5020FE74C1 for ; Tue, 21 Mar 2006 19:08:40 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org In-Reply-To: <1142894477.5961.71.camel@localhost.localdomain> References: <1142894477.5961.71.camel@localhost.localdomain> Content-Type: text/plain Date: Tue, 21 Mar 2006 19:09:39 +0100 Message-Id: <1142964579.5314.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.506 tagged_above=-999 required=2 tests=[AWL=0.095, BAYES_00=-2.599, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] X-Spam-Score: -2.506 X-Spam-Level: Subject: Re: Todays commit and status X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development mailing list for tinymail List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 18:09:44 -0000 On Mon, 2006-03-20 at 23:41 +0100, Philip Van Hoof wrote: > I should, perhaps, put the function pointer in the class structure, > rather than the private structure. Feel free to correct this if you > would like to do that. This has been corrected -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be From spam@pvanhoof.be Mon Mar 27 18:39:00 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 59D683B0146 for ; Mon, 27 Mar 2006 18:39:00 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26635-04 for ; Mon, 27 Mar 2006 18:38:58 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id 695003B0131 for ; Mon, 27 Mar 2006 18:38:58 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id BB8C1E758C for ; Tue, 28 Mar 2006 01:37:41 +0200 (CEST) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12239-04 for ; Tue, 28 Mar 2006 01:37:41 +0200 (CEST) Received: from [192.168.1.110] (d54C0E27E.access.telenet.be [84.192.226.126]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id 7F984E758B for ; Tue, 28 Mar 2006 01:37:41 +0200 (CEST) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: text/plain Date: Tue, 28 Mar 2006 01:38:55 +0200 Message-Id: <1143502735.5358.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.516 tagged_above=-999 required=2 tests=[AWL=0.085, BAYES_00=-2.599, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] X-Spam-Score: -2.516 X-Spam-Level: Subject: I forgot to mention X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development mailing list for tinymail List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2006 23:39:00 -0000 That since 21 March, sending e-mails is working. Sorry :-) -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be From spam@pvanhoof.be Thu Mar 16 20:24:14 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D821C3B13FC for ; Thu, 16 Mar 2006 20:24:14 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14876-10 for ; Thu, 16 Mar 2006 20:24:13 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id 0C4923B13DD for ; Thu, 16 Mar 2006 20:24:13 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id 241BAE74D2 for ; Wed, 15 Mar 2006 17:46:39 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11141-02 for ; Wed, 15 Mar 2006 17:46:39 +0100 (CET) Received: from lort.newtec.be (mailhost.newtec.be [62.58.98.194]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id F00A1E7261 for ; Wed, 15 Mar 2006 17:46:38 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: multipart/alternative; boundary="=-wzbgkG8E1Gv6GyMZY3hF" Date: Wed, 15 Mar 2006 17:47:24 +0100 Message-Id: <1142441244.29923.2.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.376 tagged_above=-999 required=2 tests=[AWL=0.089, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] X-Spam-Score: -2.376 X-Spam-Level: Subject: 3th test X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: tinymail-devel-list.gnome.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2006 01:24:15 -0000 --=-wzbgkG8E1Gv6GyMZY3hF Content-Type: text/plain Content-Transfer-Encoding: 7bit -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be --=-wzbgkG8E1Gv6GyMZY3hF Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
-- 
Philip Van Hoof, software developer at x-tend 
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
work: vanhoof at x-tend dot be 
http://www.pvanhoof.be - http://www.x-tend.be
--=-wzbgkG8E1Gv6GyMZY3hF-- From spam@pvanhoof.be Thu Mar 16 20:57:42 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 99E373B2673 for ; Thu, 16 Mar 2006 20:57:42 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16706-02 for ; Thu, 16 Mar 2006 20:57:33 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id BBAB13B14CD for ; Thu, 16 Mar 2006 20:57:32 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id 506E2E7280 for ; Wed, 15 Mar 2006 11:39:16 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03630-04 for ; Wed, 15 Mar 2006 11:39:16 +0100 (CET) Received: from lort.newtec.be (mailhost.newtec.be [62.58.98.194]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id 273A1E7261 for ; Wed, 15 Mar 2006 11:39:16 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: text/plain Date: Wed, 15 Mar 2006 11:40:01 +0100 Message-Id: <1142419201.5119.13.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.377 tagged_above=-999 required=2 tests=[AWL=0.088, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, SPF_PASS=-0.001] X-Spam-Score: -2.377 X-Spam-Level: Subject: First mail X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: tinymail-devel-list.gnome.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2006 01:57:42 -0000 Because the first mail on a new mailing list is always exciting! -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be From spam@pvanhoof.be Thu Mar 16 20:57:50 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6375C3B2673 for ; Thu, 16 Mar 2006 20:57:50 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16341-10 for ; Thu, 16 Mar 2006 20:57:33 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id BB30D3B10A1 for ; Thu, 16 Mar 2006 20:57:32 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id 46060E74B1 for ; Wed, 15 Mar 2006 12:51:40 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05103-05 for ; Wed, 15 Mar 2006 12:51:40 +0100 (CET) Received: from lort.newtec.be (mailhost.newtec.be [62.58.98.194]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id 1247EE72BF for ; Wed, 15 Mar 2006 12:51:40 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: multipart/alternative; boundary="=-qQMFtk3jFxFwIfb/Uf0l" Date: Wed, 15 Mar 2006 12:52:23 +0100 Message-Id: <1142423544.5244.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.378 tagged_above=-999 required=2 tests=[AWL=0.086, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.378 X-Spam-Level: Subject: Second test X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: tinymail-devel-list.gnome.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2006 01:57:50 -0000 --=-qQMFtk3jFxFwIfb/Uf0l Content-Type: text/plain Content-Transfer-Encoding: 7bit -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be --=-qQMFtk3jFxFwIfb/Uf0l Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
-- 
Philip Van Hoof, software developer at x-tend 
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
work: vanhoof at x-tend dot be 
http://www.pvanhoof.be - http://www.x-tend.be
--=-qQMFtk3jFxFwIfb/Uf0l-- From spam@pvanhoof.be Fri Mar 17 04:37:47 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 766D23B006E for ; Fri, 17 Mar 2006 04:37:47 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05310-02 for ; Fri, 17 Mar 2006 04:37:45 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id 94ABE3B0BC2 for ; Fri, 17 Mar 2006 04:37:44 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id C2FC4E7523 for ; Fri, 17 Mar 2006 10:36:52 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27054-09 for ; Fri, 17 Mar 2006 10:36:52 +0100 (CET) Received: from lort.newtec.be (mailhost.newtec.be [62.58.98.194]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id 98E7FE7501 for ; Fri, 17 Mar 2006 10:36:52 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org In-Reply-To: <1142423544.5244.0.camel@localhost.localdomain> References: <1142423544.5244.0.camel@localhost.localdomain> Content-Type: text/plain Date: Fri, 17 Mar 2006 10:37:40 +0100 Message-Id: <1142588260.5114.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.38 tagged_above=-999 required=2 tests=[AWL=0.086, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] X-Spam-Score: -2.38 X-Spam-Level: Subject: Re: Second test X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: tinymail-devel-list.gnome.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2006 09:37:47 -0000 On Wed, 2006-03-15 at 12:52 +0100, Philip Van Hoof wrote: Final test . . . > -- > Philip Van Hoof, software developer at x-tend > home: me at pvanhoof dot be > gnome: pvanhoof at gnome dot org > work: vanhoof at x-tend dot be > http://www.pvanhoof.be - http://www.x-tend.be > _______________________________________________ > tinymail-devel-list mailing list > tinymail-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/tinymail-devel-list -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be From spam@pvanhoof.be Sat Mar 18 06:21:42 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 731853B04E4 for ; Sat, 18 Mar 2006 06:21:42 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30220-07 for ; Sat, 18 Mar 2006 06:21:40 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id 36C2F3B04DD for ; Sat, 18 Mar 2006 06:21:40 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id 7C3F7E734A for ; Sat, 18 Mar 2006 12:20:46 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24574-08 for ; Sat, 18 Mar 2006 12:20:46 +0100 (CET) Received: from [192.168.1.110] (d54C0E27E.access.telenet.be [84.192.226.126]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id 3FAD2E72D4 for ; Sat, 18 Mar 2006 12:20:46 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: text/plain Date: Sat, 18 Mar 2006 12:21:37 +0100 Message-Id: <1142680897.11904.25.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.426 tagged_above=-999 required=2 tests=[AWL=0.021, BAYES_00=-2.599, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TW_BG=0.077, TW_GT=0.077] X-Spam-Score: -2.426 X-Spam-Level: Subject: Ideas, todo, etcetera X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development mailing list for tinymail List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2006 11:21:42 -0000 So, tinymail. Camel related ------------- o. At this moment I'm working on the account implementations. Camel has a notion of accounts through the CamelService in combination with the CamelSession. You basically ask the CamelSession for a specific CamelService instance. When doing so, you need to tell the CamelSession what type of service you are interested in. The API allows you to use camel_session_get_service to get both a store provider, and a transport provider. In reality it looks like this only works correctly for store providers. So there's another API for getting transport providers. camel_session _get_transport will return you the transport provider. What I haven't found is how I can let such a returned transport provider have authentication and SSL. So I've been testing it with a SMTP service that doesn't require SSL nor authentication. On the TODO list is getting SMTP over SSL with authentication working. o. For the store types I have POP and IMAP working. So not POP over SSL nor IMAP over SSL. On the TODO list is getting the SSL support for stores working. This shouldn't be very difficult. Also for the POP store, I don't yet have subfolders working. It looks like Subfolders and handled differently. I think for POP, subfolders are to be done with local folders. As in Evolution only filters can write to them. So a less high priority TODO item is getting a notion of subfolders for POP boxes working. o. Some people want to store their sent items in a specific folder. Such a folder can be a remote IMAP folder also (I don't recommend it, but some want this feature). At this moment is sending mails not yet working, but for getting this to work it should be possible to put messages in a folder. Tinymail can't yet put messages in a folder. So this is a TODO item. o. I haven't yet made renaming, creating, copying and moving messages a todo item. But they are trivial and so if somebody wants to work on this, I'd probably accept such patches. I will probably not focus on such features yet. o. Attaching a stream to a message doesn't work: it crashes. So on TODO is fixing that. Streams related --------------- o. One of the streams is doing something wrong. When I use the feature of writing an attachment to disk, not all bytes of the attachment are written or .. the bytes are wrong. Perhaps this is because you have to put a format-convertor in the middle (this is something camel supports). Or whatever. I haven't really tested this. o. Attaching a stream to a message doesn't work: it crashes. So on TODO is fixing that. UI related ---------- o. Somebody or some team should write a complete UI on top of libtinymailui. o. The current gtk implementation requires libgnome stuff. On TODO is trying to remove such dependencies (MIME icon stuff). Language bindings ----------------- o. Somebody started the support for Python language bindings. Somebody else proposed to finish it. If they will: it's a todo item. I'm not yet going to focus on this. o. Try to make sure the header files of the camel implementation don't require camel objects. As camel is not as easy to generate language bindings for. This should be possible afaik, so it's a todo item. -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be From spam@pvanhoof.be Sat Mar 18 10:28:41 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 28C723B0D24 for ; Sat, 18 Mar 2006 10:28:41 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12155-01 for ; Sat, 18 Mar 2006 10:28:37 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id 58C5F3B0B27 for ; Sat, 18 Mar 2006 10:28:37 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id 0848CE72D4 for ; Sat, 18 Mar 2006 16:27:43 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29389-06 for ; Sat, 18 Mar 2006 16:27:42 +0100 (CET) Received: from [192.168.1.100] (d54C0E27E.access.telenet.be [84.192.226.126]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id B03EDE72BF for ; Sat, 18 Mar 2006 16:27:42 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: text/plain Date: Sat, 18 Mar 2006 16:28:34 +0100 Message-Id: <1142695715.30096.35.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.503 tagged_above=-999 required=2 tests=[AWL=0.098, BAYES_00=-2.599, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] X-Spam-Score: -2.503 X-Spam-Level: Subject: Sorting X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development mailing list for tinymail List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2006 15:28:41 -0000 Sorting is still a major problem in tinymail: o. First of all, for getting sorting right you have to read all the message headers at some point. The results of such a sort should therefore at least be stored on disk, and recalculated when a new message arrives. o. Some people want to have support for message threading in their summary view. I'm not planning to focus on such a feature, but would welcome work that goes in that direction. Some information can be found here: http://www.jwz.org/doc/threading.html It would of course be nice if we can store the sorting result and reuse the stored information. o Storing the information I was thinking about a mmapable format for storing sorting results. Something like this: 1) [1 byte depth as char] [ 1 byte UID LENGTH ] [UID as a string] or 2) [1 byte depth as char] [ 4 bytes UID as unsigned integer ] Let's illustrate point 1) first: 0x01 0x04 0x30 0x30 0x30 0x31 0x02 0x03 0x30 0x30 0x32 0x01 0x04 0x30 0x30 0x31 0x32 0x01 0x05 0x30 0x30 0x30 0x30 0x34 +-----------+-------------------------------------------------+------------------+ | 0000:0000 | 01 04 30 30 30 31 02 03 30 30 32 01 04 30 30 31 | ..0001..002..001 | | 0000:0010 | 32 01 05 30 30 30 30 34 | 2..00004 | +-----------+-------------------------------------------------+------------------+ Where uid=0001 Subject=First header uid=002 Subject=Second header uid=0012 Subject=Third header uid=00004 Subject=Fourth header For a tree like this: -+-First header --+-Second header -+-Third header -+-Fourth header Such a binary file could be mmaped on platforms that support mmap (or read as it is without needing any extra parsing, which is what is important about this format) and used by the custom GtkTreeModel to instantly how to show the instances. Perhaps somebody else already made such a tree-index format? It would certainly be very nice if tinymail would use something like this. So it's at least on my todo list. Important is that UID's have a variable size and that most are shorter than four bytes. Storing 16.000 such uids with threading information might be wasting a little bit memory if we'd for example always use a 32 bit field (an unsigned normal integer). But it might be a little bit more faster? So let's illustrate 2) : 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 The same sample would look like this: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x02 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x0c 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x04 +-----------+-------------------------------------------------+ | 0000:0000 | 01 00 00 00 00 00 00 00 01 02 00 00 00 00 00 00 | | 0000:0010 | 00 02 01 00 00 00 00 00 00 00 0c 01 00 00 00 00 | | 0000:0020 | 00 00 00 04 | +-----------+-------------------------------------------------+ I might have made a mistake but you probably get the idea? About 2), what I don't know is whether or not message UID's are ALWAYS integer fields. Using 1) the UID's of the messages can also be character data of lengths 1 to 255. This is the reason why I'm more pro the first idea. If longer UID's are needed, the format can be adapted to have two or more bytes for the uid-length information. Anyway, 1) is significantly shorter in memory usage and supports more possibilities (uid's not being integers). -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be From spam@pvanhoof.be Mon Mar 20 17:41:22 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7BB1A3B2A61 for ; Mon, 20 Mar 2006 17:41:22 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27676-02 for ; Mon, 20 Mar 2006 17:41:20 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id E87B53B162C for ; Mon, 20 Mar 2006 17:41:19 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id E5DB4E74C3 for ; Mon, 20 Mar 2006 23:40:19 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27145-07 for ; Mon, 20 Mar 2006 23:40:19 +0100 (CET) Received: from [192.168.1.110] (d54C0E27E.access.telenet.be [84.192.226.126]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id B69ACE71B6 for ; Mon, 20 Mar 2006 23:40:19 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: text/plain Date: Mon, 20 Mar 2006 23:41:17 +0100 Message-Id: <1142894477.5961.71.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.505 tagged_above=-999 required=2 tests=[AWL=0.096, BAYES_00=-2.599, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] X-Spam-Score: -2.505 X-Spam-Level: Subject: Todays commit and status X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development mailing list for tinymail List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2006 22:41:22 -0000 Hi folks, Store and Transport accounts ---------------------------- Today I committed some improvements for libtinymail* that addresses the fact that there's some differences between STORE and TRANSPORT camel providers. I basically made "reconnect" a abstract method in the abstract TnyAccount type of libtinymail-camel. You basically have to implement it to be a real account-type. Both TnyStoreAccount and TnyTransportAccount do implement it. I should, perhaps, put the function pointer in the class structure, rather than the private structure. Feel free to correct this if you would like to do that. Common functionality for libtinymail-camel ------------------------------------------ I also introduced a tny-camel-common.c which implements some functionality that's shared across tny-msg-header.c and tny-transport-account.c (the converting of address strings to a CamelInternetAddress instance). Creating messages ----------------- I refactored the TnyMsgIface type in such a way that it now implements TnyMsgMimePartIface. The Camel implementation implements it by inheriting from the TnyMsgMimePart camel implementation type. It should be possible to perform all mime-part actions on a message type. I've succeeded in sending an e-mail while setting some headers like the To, From and Subject right. I didn't yet succeed in writing a body to the e-mail but I did succeed in correctly adding a mime-part to the message. Probably some small mistake I made about the stream and mime part things. Feel free to jump ship and help me a bit here, if you feel adventurous. You'll basically have to study Evolutions source code and try to find out how to do it. Which is very fun. Promised! Testing ------- I adapted the tny-test-anything test so that it reflects the changes about how you need to use the TnyMsgIface type. You, for example, need to set the content-type of the message instance using the mime-part API. As a message (from now on) implements that API. You can say that a message is a mime part that can contain other mime parts. Like it's attachments. The API changes --------------- These changes do, indeed, increase the size of one message instance. But a message instance shouldn't be created very often. You typically work with header instances (or header proxy instances) in for example the summary view. As the tinymail demo ui shows you. You create a message instance by asking the folder ... you give it the header instance (the one that should be behind your selected row, and it can be a proxy indeed) and the method will return you a fresh and new message instance which you can then start using. That's the idea here. -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be From spam@pvanhoof.be Tue Mar 21 13:09:44 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 1E6613B1431 for ; Tue, 21 Mar 2006 13:09:44 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23583-05 for ; Tue, 21 Mar 2006 13:09:42 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id 53C383B13E5 for ; Tue, 21 Mar 2006 13:09:42 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id 85A83E751D for ; Tue, 21 Mar 2006 19:08:40 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15775-01 for ; Tue, 21 Mar 2006 19:08:40 +0100 (CET) Received: from [192.168.1.110] (d54C0E27E.access.telenet.be [84.192.226.126]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id 5020FE74C1 for ; Tue, 21 Mar 2006 19:08:40 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org In-Reply-To: <1142894477.5961.71.camel@localhost.localdomain> References: <1142894477.5961.71.camel@localhost.localdomain> Content-Type: text/plain Date: Tue, 21 Mar 2006 19:09:39 +0100 Message-Id: <1142964579.5314.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.506 tagged_above=-999 required=2 tests=[AWL=0.095, BAYES_00=-2.599, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] X-Spam-Score: -2.506 X-Spam-Level: Subject: Re: Todays commit and status X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development mailing list for tinymail List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 18:09:44 -0000 On Mon, 2006-03-20 at 23:41 +0100, Philip Van Hoof wrote: > I should, perhaps, put the function pointer in the class structure, > rather than the private structure. Feel free to correct this if you > would like to do that. This has been corrected -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be From spam@pvanhoof.be Mon Mar 27 18:39:00 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 59D683B0146 for ; Mon, 27 Mar 2006 18:39:00 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26635-04 for ; Mon, 27 Mar 2006 18:38:58 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id 695003B0131 for ; Mon, 27 Mar 2006 18:38:58 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id BB8C1E758C for ; Tue, 28 Mar 2006 01:37:41 +0200 (CEST) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12239-04 for ; Tue, 28 Mar 2006 01:37:41 +0200 (CEST) Received: from [192.168.1.110] (d54C0E27E.access.telenet.be [84.192.226.126]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id 7F984E758B for ; Tue, 28 Mar 2006 01:37:41 +0200 (CEST) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: text/plain Date: Tue, 28 Mar 2006 01:38:55 +0200 Message-Id: <1143502735.5358.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.516 tagged_above=-999 required=2 tests=[AWL=0.085, BAYES_00=-2.599, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] X-Spam-Score: -2.516 X-Spam-Level: Subject: I forgot to mention X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development mailing list for tinymail List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2006 23:39:00 -0000 That since 21 March, sending e-mails is working. Sorry :-) -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be From spam@pvanhoof.be Thu Mar 16 20:24:14 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D821C3B13FC for ; Thu, 16 Mar 2006 20:24:14 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14876-10 for ; Thu, 16 Mar 2006 20:24:13 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id 0C4923B13DD for ; Thu, 16 Mar 2006 20:24:13 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id 241BAE74D2 for ; Wed, 15 Mar 2006 17:46:39 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11141-02 for ; Wed, 15 Mar 2006 17:46:39 +0100 (CET) Received: from lort.newtec.be (mailhost.newtec.be [62.58.98.194]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id F00A1E7261 for ; Wed, 15 Mar 2006 17:46:38 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: multipart/alternative; boundary="=-wzbgkG8E1Gv6GyMZY3hF" Date: Wed, 15 Mar 2006 17:47:24 +0100 Message-Id: <1142441244.29923.2.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.376 tagged_above=-999 required=2 tests=[AWL=0.089, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] X-Spam-Score: -2.376 X-Spam-Level: Subject: 3th test X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: tinymail-devel-list.gnome.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2006 01:24:15 -0000 --=-wzbgkG8E1Gv6GyMZY3hF Content-Type: text/plain Content-Transfer-Encoding: 7bit -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be --=-wzbgkG8E1Gv6GyMZY3hF Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
-- 
Philip Van Hoof, software developer at x-tend 
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
work: vanhoof at x-tend dot be 
http://www.pvanhoof.be - http://www.x-tend.be
--=-wzbgkG8E1Gv6GyMZY3hF-- From spam@pvanhoof.be Thu Mar 16 20:57:42 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 99E373B2673 for ; Thu, 16 Mar 2006 20:57:42 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16706-02 for ; Thu, 16 Mar 2006 20:57:33 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id BBAB13B14CD for ; Thu, 16 Mar 2006 20:57:32 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id 506E2E7280 for ; Wed, 15 Mar 2006 11:39:16 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03630-04 for ; Wed, 15 Mar 2006 11:39:16 +0100 (CET) Received: from lort.newtec.be (mailhost.newtec.be [62.58.98.194]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id 273A1E7261 for ; Wed, 15 Mar 2006 11:39:16 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: text/plain Date: Wed, 15 Mar 2006 11:40:01 +0100 Message-Id: <1142419201.5119.13.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.377 tagged_above=-999 required=2 tests=[AWL=0.088, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, SPF_PASS=-0.001] X-Spam-Score: -2.377 X-Spam-Level: Subject: First mail X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: tinymail-devel-list.gnome.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2006 01:57:42 -0000 Because the first mail on a new mailing list is always exciting! -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be From spam@pvanhoof.be Thu Mar 16 20:57:50 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6375C3B2673 for ; Thu, 16 Mar 2006 20:57:50 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16341-10 for ; Thu, 16 Mar 2006 20:57:33 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id BB30D3B10A1 for ; Thu, 16 Mar 2006 20:57:32 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id 46060E74B1 for ; Wed, 15 Mar 2006 12:51:40 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05103-05 for ; Wed, 15 Mar 2006 12:51:40 +0100 (CET) Received: from lort.newtec.be (mailhost.newtec.be [62.58.98.194]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id 1247EE72BF for ; Wed, 15 Mar 2006 12:51:40 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: multipart/alternative; boundary="=-qQMFtk3jFxFwIfb/Uf0l" Date: Wed, 15 Mar 2006 12:52:23 +0100 Message-Id: <1142423544.5244.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.378 tagged_above=-999 required=2 tests=[AWL=0.086, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, HTML_MESSAGE=0.001, SPF_PASS=-0.001] X-Spam-Score: -2.378 X-Spam-Level: Subject: Second test X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: tinymail-devel-list.gnome.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2006 01:57:50 -0000 --=-qQMFtk3jFxFwIfb/Uf0l Content-Type: text/plain Content-Transfer-Encoding: 7bit -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be --=-qQMFtk3jFxFwIfb/Uf0l Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
-- 
Philip Van Hoof, software developer at x-tend 
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
work: vanhoof at x-tend dot be 
http://www.pvanhoof.be - http://www.x-tend.be
--=-qQMFtk3jFxFwIfb/Uf0l-- From spam@pvanhoof.be Fri Mar 17 04:37:47 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 766D23B006E for ; Fri, 17 Mar 2006 04:37:47 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05310-02 for ; Fri, 17 Mar 2006 04:37:45 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id 94ABE3B0BC2 for ; Fri, 17 Mar 2006 04:37:44 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id C2FC4E7523 for ; Fri, 17 Mar 2006 10:36:52 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27054-09 for ; Fri, 17 Mar 2006 10:36:52 +0100 (CET) Received: from lort.newtec.be (mailhost.newtec.be [62.58.98.194]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id 98E7FE7501 for ; Fri, 17 Mar 2006 10:36:52 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org In-Reply-To: <1142423544.5244.0.camel@localhost.localdomain> References: <1142423544.5244.0.camel@localhost.localdomain> Content-Type: text/plain Date: Fri, 17 Mar 2006 10:37:40 +0100 Message-Id: <1142588260.5114.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.38 tagged_above=-999 required=2 tests=[AWL=0.086, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] X-Spam-Score: -2.38 X-Spam-Level: Subject: Re: Second test X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: tinymail-devel-list.gnome.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2006 09:37:47 -0000 On Wed, 2006-03-15 at 12:52 +0100, Philip Van Hoof wrote: Final test . . . > -- > Philip Van Hoof, software developer at x-tend > home: me at pvanhoof dot be > gnome: pvanhoof at gnome dot org > work: vanhoof at x-tend dot be > http://www.pvanhoof.be - http://www.x-tend.be > _______________________________________________ > tinymail-devel-list mailing list > tinymail-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/tinymail-devel-list -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be From spam@pvanhoof.be Sat Mar 18 06:21:42 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 731853B04E4 for ; Sat, 18 Mar 2006 06:21:42 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30220-07 for ; Sat, 18 Mar 2006 06:21:40 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id 36C2F3B04DD for ; Sat, 18 Mar 2006 06:21:40 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id 7C3F7E734A for ; Sat, 18 Mar 2006 12:20:46 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24574-08 for ; Sat, 18 Mar 2006 12:20:46 +0100 (CET) Received: from [192.168.1.110] (d54C0E27E.access.telenet.be [84.192.226.126]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id 3FAD2E72D4 for ; Sat, 18 Mar 2006 12:20:46 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: text/plain Date: Sat, 18 Mar 2006 12:21:37 +0100 Message-Id: <1142680897.11904.25.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.426 tagged_above=-999 required=2 tests=[AWL=0.021, BAYES_00=-2.599, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TW_BG=0.077, TW_GT=0.077] X-Spam-Score: -2.426 X-Spam-Level: Subject: Ideas, todo, etcetera X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development mailing list for tinymail List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2006 11:21:42 -0000 So, tinymail. Camel related ------------- o. At this moment I'm working on the account implementations. Camel has a notion of accounts through the CamelService in combination with the CamelSession. You basically ask the CamelSession for a specific CamelService instance. When doing so, you need to tell the CamelSession what type of service you are interested in. The API allows you to use camel_session_get_service to get both a store provider, and a transport provider. In reality it looks like this only works correctly for store providers. So there's another API for getting transport providers. camel_session _get_transport will return you the transport provider. What I haven't found is how I can let such a returned transport provider have authentication and SSL. So I've been testing it with a SMTP service that doesn't require SSL nor authentication. On the TODO list is getting SMTP over SSL with authentication working. o. For the store types I have POP and IMAP working. So not POP over SSL nor IMAP over SSL. On the TODO list is getting the SSL support for stores working. This shouldn't be very difficult. Also for the POP store, I don't yet have subfolders working. It looks like Subfolders and handled differently. I think for POP, subfolders are to be done with local folders. As in Evolution only filters can write to them. So a less high priority TODO item is getting a notion of subfolders for POP boxes working. o. Some people want to store their sent items in a specific folder. Such a folder can be a remote IMAP folder also (I don't recommend it, but some want this feature). At this moment is sending mails not yet working, but for getting this to work it should be possible to put messages in a folder. Tinymail can't yet put messages in a folder. So this is a TODO item. o. I haven't yet made renaming, creating, copying and moving messages a todo item. But they are trivial and so if somebody wants to work on this, I'd probably accept such patches. I will probably not focus on such features yet. o. Attaching a stream to a message doesn't work: it crashes. So on TODO is fixing that. Streams related --------------- o. One of the streams is doing something wrong. When I use the feature of writing an attachment to disk, not all bytes of the attachment are written or .. the bytes are wrong. Perhaps this is because you have to put a format-convertor in the middle (this is something camel supports). Or whatever. I haven't really tested this. o. Attaching a stream to a message doesn't work: it crashes. So on TODO is fixing that. UI related ---------- o. Somebody or some team should write a complete UI on top of libtinymailui. o. The current gtk implementation requires libgnome stuff. On TODO is trying to remove such dependencies (MIME icon stuff). Language bindings ----------------- o. Somebody started the support for Python language bindings. Somebody else proposed to finish it. If they will: it's a todo item. I'm not yet going to focus on this. o. Try to make sure the header files of the camel implementation don't require camel objects. As camel is not as easy to generate language bindings for. This should be possible afaik, so it's a todo item. -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be From spam@pvanhoof.be Sat Mar 18 10:28:41 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 28C723B0D24 for ; Sat, 18 Mar 2006 10:28:41 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12155-01 for ; Sat, 18 Mar 2006 10:28:37 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id 58C5F3B0B27 for ; Sat, 18 Mar 2006 10:28:37 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id 0848CE72D4 for ; Sat, 18 Mar 2006 16:27:43 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29389-06 for ; Sat, 18 Mar 2006 16:27:42 +0100 (CET) Received: from [192.168.1.100] (d54C0E27E.access.telenet.be [84.192.226.126]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id B03EDE72BF for ; Sat, 18 Mar 2006 16:27:42 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: text/plain Date: Sat, 18 Mar 2006 16:28:34 +0100 Message-Id: <1142695715.30096.35.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.503 tagged_above=-999 required=2 tests=[AWL=0.098, BAYES_00=-2.599, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] X-Spam-Score: -2.503 X-Spam-Level: Subject: Sorting X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development mailing list for tinymail List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2006 15:28:41 -0000 Sorting is still a major problem in tinymail: o. First of all, for getting sorting right you have to read all the message headers at some point. The results of such a sort should therefore at least be stored on disk, and recalculated when a new message arrives. o. Some people want to have support for message threading in their summary view. I'm not planning to focus on such a feature, but would welcome work that goes in that direction. Some information can be found here: http://www.jwz.org/doc/threading.html It would of course be nice if we can store the sorting result and reuse the stored information. o Storing the information I was thinking about a mmapable format for storing sorting results. Something like this: 1) [1 byte depth as char] [ 1 byte UID LENGTH ] [UID as a string] or 2) [1 byte depth as char] [ 4 bytes UID as unsigned integer ] Let's illustrate point 1) first: 0x01 0x04 0x30 0x30 0x30 0x31 0x02 0x03 0x30 0x30 0x32 0x01 0x04 0x30 0x30 0x31 0x32 0x01 0x05 0x30 0x30 0x30 0x30 0x34 +-----------+-------------------------------------------------+------------------+ | 0000:0000 | 01 04 30 30 30 31 02 03 30 30 32 01 04 30 30 31 | ..0001..002..001 | | 0000:0010 | 32 01 05 30 30 30 30 34 | 2..00004 | +-----------+-------------------------------------------------+------------------+ Where uid=0001 Subject=First header uid=002 Subject=Second header uid=0012 Subject=Third header uid=00004 Subject=Fourth header For a tree like this: -+-First header --+-Second header -+-Third header -+-Fourth header Such a binary file could be mmaped on platforms that support mmap (or read as it is without needing any extra parsing, which is what is important about this format) and used by the custom GtkTreeModel to instantly how to show the instances. Perhaps somebody else already made such a tree-index format? It would certainly be very nice if tinymail would use something like this. So it's at least on my todo list. Important is that UID's have a variable size and that most are shorter than four bytes. Storing 16.000 such uids with threading information might be wasting a little bit memory if we'd for example always use a 32 bit field (an unsigned normal integer). But it might be a little bit more faster? So let's illustrate 2) : 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 The same sample would look like this: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x02 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x0c 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x04 +-----------+-------------------------------------------------+ | 0000:0000 | 01 00 00 00 00 00 00 00 01 02 00 00 00 00 00 00 | | 0000:0010 | 00 02 01 00 00 00 00 00 00 00 0c 01 00 00 00 00 | | 0000:0020 | 00 00 00 04 | +-----------+-------------------------------------------------+ I might have made a mistake but you probably get the idea? About 2), what I don't know is whether or not message UID's are ALWAYS integer fields. Using 1) the UID's of the messages can also be character data of lengths 1 to 255. This is the reason why I'm more pro the first idea. If longer UID's are needed, the format can be adapted to have two or more bytes for the uid-length information. Anyway, 1) is significantly shorter in memory usage and supports more possibilities (uid's not being integers). -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be From spam@pvanhoof.be Mon Mar 20 17:41:22 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7BB1A3B2A61 for ; Mon, 20 Mar 2006 17:41:22 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27676-02 for ; Mon, 20 Mar 2006 17:41:20 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id E87B53B162C for ; Mon, 20 Mar 2006 17:41:19 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id E5DB4E74C3 for ; Mon, 20 Mar 2006 23:40:19 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27145-07 for ; Mon, 20 Mar 2006 23:40:19 +0100 (CET) Received: from [192.168.1.110] (d54C0E27E.access.telenet.be [84.192.226.126]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id B69ACE71B6 for ; Mon, 20 Mar 2006 23:40:19 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: text/plain Date: Mon, 20 Mar 2006 23:41:17 +0100 Message-Id: <1142894477.5961.71.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.505 tagged_above=-999 required=2 tests=[AWL=0.096, BAYES_00=-2.599, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] X-Spam-Score: -2.505 X-Spam-Level: Subject: Todays commit and status X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development mailing list for tinymail List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2006 22:41:22 -0000 Hi folks, Store and Transport accounts ---------------------------- Today I committed some improvements for libtinymail* that addresses the fact that there's some differences between STORE and TRANSPORT camel providers. I basically made "reconnect" a abstract method in the abstract TnyAccount type of libtinymail-camel. You basically have to implement it to be a real account-type. Both TnyStoreAccount and TnyTransportAccount do implement it. I should, perhaps, put the function pointer in the class structure, rather than the private structure. Feel free to correct this if you would like to do that. Common functionality for libtinymail-camel ------------------------------------------ I also introduced a tny-camel-common.c which implements some functionality that's shared across tny-msg-header.c and tny-transport-account.c (the converting of address strings to a CamelInternetAddress instance). Creating messages ----------------- I refactored the TnyMsgIface type in such a way that it now implements TnyMsgMimePartIface. The Camel implementation implements it by inheriting from the TnyMsgMimePart camel implementation type. It should be possible to perform all mime-part actions on a message type. I've succeeded in sending an e-mail while setting some headers like the To, From and Subject right. I didn't yet succeed in writing a body to the e-mail but I did succeed in correctly adding a mime-part to the message. Probably some small mistake I made about the stream and mime part things. Feel free to jump ship and help me a bit here, if you feel adventurous. You'll basically have to study Evolutions source code and try to find out how to do it. Which is very fun. Promised! Testing ------- I adapted the tny-test-anything test so that it reflects the changes about how you need to use the TnyMsgIface type. You, for example, need to set the content-type of the message instance using the mime-part API. As a message (from now on) implements that API. You can say that a message is a mime part that can contain other mime parts. Like it's attachments. The API changes --------------- These changes do, indeed, increase the size of one message instance. But a message instance shouldn't be created very often. You typically work with header instances (or header proxy instances) in for example the summary view. As the tinymail demo ui shows you. You create a message instance by asking the folder ... you give it the header instance (the one that should be behind your selected row, and it can be a proxy indeed) and the method will return you a fresh and new message instance which you can then start using. That's the idea here. -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be From spam@pvanhoof.be Tue Mar 21 13:09:44 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 1E6613B1431 for ; Tue, 21 Mar 2006 13:09:44 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23583-05 for ; Tue, 21 Mar 2006 13:09:42 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id 53C383B13E5 for ; Tue, 21 Mar 2006 13:09:42 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id 85A83E751D for ; Tue, 21 Mar 2006 19:08:40 +0100 (CET) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15775-01 for ; Tue, 21 Mar 2006 19:08:40 +0100 (CET) Received: from [192.168.1.110] (d54C0E27E.access.telenet.be [84.192.226.126]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id 5020FE74C1 for ; Tue, 21 Mar 2006 19:08:40 +0100 (CET) From: Philip Van Hoof To: tinymail-devel-list@gnome.org In-Reply-To: <1142894477.5961.71.camel@localhost.localdomain> References: <1142894477.5961.71.camel@localhost.localdomain> Content-Type: text/plain Date: Tue, 21 Mar 2006 19:09:39 +0100 Message-Id: <1142964579.5314.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.506 tagged_above=-999 required=2 tests=[AWL=0.095, BAYES_00=-2.599, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] X-Spam-Score: -2.506 X-Spam-Level: Subject: Re: Todays commit and status X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development mailing list for tinymail List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 18:09:44 -0000 On Mon, 2006-03-20 at 23:41 +0100, Philip Van Hoof wrote: > I should, perhaps, put the function pointer in the class structure, > rather than the private structure. Feel free to correct this if you > would like to do that. This has been corrected -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be From spam@pvanhoof.be Mon Mar 27 18:39:00 2006 Return-Path: X-Original-To: tinymail-devel-list@gnome.org Delivered-To: tinymail-devel-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 59D683B0146 for ; Mon, 27 Mar 2006 18:39:00 -0500 (EST) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26635-04 for ; Mon, 27 Mar 2006 18:38:58 -0500 (EST) Received: from mail.freax.org (mail.freax.org [86.39.154.66]) by menubar.gnome.org (Postfix) with ESMTP id 695003B0131 for ; Mon, 27 Mar 2006 18:38:58 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.freax.org (Postfix) with ESMTP id BB8C1E758C for ; Tue, 28 Mar 2006 01:37:41 +0200 (CEST) Received: from mail.freax.org ([127.0.0.1]) by localhost (mail.freax.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12239-04 for ; Tue, 28 Mar 2006 01:37:41 +0200 (CEST) Received: from [192.168.1.110] (d54C0E27E.access.telenet.be [84.192.226.126]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.freax.org (Postfix) with ESMTP id 7F984E758B for ; Tue, 28 Mar 2006 01:37:41 +0200 (CEST) From: Philip Van Hoof To: tinymail-devel-list@gnome.org Content-Type: text/plain Date: Tue, 28 Mar 2006 01:38:55 +0200 Message-Id: <1143502735.5358.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.516 tagged_above=-999 required=2 tests=[AWL=0.085, BAYES_00=-2.599, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] X-Spam-Score: -2.516 X-Spam-Level: Subject: I forgot to mention X-BeenThere: tinymail-devel-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development mailing list for tinymail List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2006 23:39:00 -0000 That since 21 March, sending e-mails is working. Sorry :-) -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be