[Evolution-hackers] Avoiding a strdup in camel-folder-summar.c

2006-07-10 Thread Philip Van Hoof
This patch is unrelated to the mmap() patches that I've also been sending. It basically avoids an strdup() by implementing a smarter free_token(). ps. I'm keeping Varadhan and Jeffrey in CC because the mailinglist aren't working (or very slow). -- Philip Van Hoof, software developer at x-tend

[Evolution-hackers] Abnormal huge allocations happening when scanning new messages

2006-07-10 Thread Philip Van Hoof
The function imap_rescan (or a nearby function) allocates +60 MB of ram to fetch 14,558 headers and then it suddenly clears everything. I find it very hard to believe that you really need to allocate 60MB of ram, just to write a summary file of ~1MB. Is there something not being freed while

[Evolution-hackers] Message remove how-to?

2006-07-10 Thread Smartuser
Hello, I have managed to get a list of messages into a folder. Now when I delete a message I set a deleted flag. But the message still remains in place until I go to another folder and return, becouse the full list is then reloaded. Now the question is: How do I remove a message from the list

Re: [Evolution-hackers] camel-folder-summary.c with mmap

2006-07-10 Thread Philip Van Hoof
On Mon, 2006-07-10 at 09:57 +0200, Philip Van Hoof wrote: On Sun, 2006-07-09 at 18:08 +0200, Philip Van Hoof wrote: On Sun, 2006-07-09 at 14:59 +0200, Philip Van Hoof wrote: Note about this E-mail. I'm assuming people who will read this, have a technical in-depth knowledge of Camel and