Re: [Evolution-hackers] This one works, the mmap() patch

2006-07-17 Thread Philip Van Hoof
On Mon, 2006-07-10 at 22:44 +0200, Philip Van Hoof wrote: Please test. It should consume *A LOT* less memory. Especially in offline mode And I'll just continue with fixes06 - Implements it for nntp, imapp, imap4, groupwise and fixes some of the problems in the local implementation.

Re: [Evolution-hackers] Folder summaries with mmap() (version nine -- fixes a leak)

2006-07-17 Thread Philip Van Hoof
On Tue, 2006-07-11 at 13:17 +0200, Philip Van Hoof wrote: This is a version (version eight) that actually works (afaics). This version (version nine) fixes a leak when new messages arrive. However. The implementation/architecture of Camel requires that new messages get transformed into

Re: [Evolution-hackers] Folder summaries with mmap() (version nine -- fixes a leak)

2006-07-17 Thread Philip Van Hoof
On Tue, 2006-07-11 at 16:47 +0200, Philip Van Hoof wrote: On Tue, 2006-07-11 at 13:17 +0200, Philip Van Hoof wrote: This is a version (version eight) that actually works (afaics). This version (version nine) fixes a leak when new messages arrive. This version (version ten) fixes a few

Re: [Evolution-hackers] Folder summaries with mmap() (version nine -- fixes a leak)

2006-07-17 Thread Philip Van Hoof
On Wed, 2006-07-12 at 09:12 +0530, Harish Krishnaswamy wrote: On Tue, 2006-07-11 at 20:33 +0200, Philip Van Hoof wrote: On Tue, 2006-07-11 at 23:14 +0530, Harish Krishnaswamy wrote: ps. I think we should do a in-depth tech-meeting about this stuff. What do you think, Harish? I have a few

Re: [Evolution-hackers] The fixes11 mmap patch doesn't respect data alignment on some architectures

2006-07-17 Thread Philip Van Hoof
On Fri, 2006-07-14 at 19:23 +0200, Philip Van Hoof wrote: While the x86 handles unaligned access, ARM doesn't. The patch will not work on architectures that don't handle unaligned access. I will try to fix it, but I don't have a lot experience in this field. Second attempt to introduce data

[Evolution-hackers] The mmap stuff definitely needs more eyes!

2006-07-17 Thread Philip Van Hoof
Eeeek. Look at what I just found in my own patches!! static CamelMessageInfo * message_info_load (CamelFolderSummary *s, FILE *in) { CamelMessageInfo *info; CamelImapMessageInfo *iinfo; info = camel_imap_summary_parent-message_info_load (s, in); if (info) {

Re: [Evolution-hackers] Camel in evolution-data-server, a different proposal

2006-07-17 Thread JP Rosevear
On Wed, 2006-07-12 at 19:13 +0200, Philip Van Hoof wrote: On Wed, 2006-07-12 at 17:00 +0100, Ross Burton wrote: On Wed, 2006-07-12 at 17:39 +0200, Philip Van Hoof wrote: So you are proposing the following library packages: libedataserver libedataserverui libebook libedata-book

Re: [Evolution-hackers] The mmap stuff definitely needs more eyes!

2006-07-17 Thread Philip Van Hoof
Hi there, This one works on the Nokia 770 device! http://pvanhoof.be/files/camel_folder_summary_with_mmap_fixes11_data_alignment04.diff So my real target has finally been reached. Using this stuff, it should be possible to display huge folders using tinymail on a Nokia 770. With huge I mean: