Re: noselect_fix_enable incomplete?

Dave McMurtrie <[email protected]> Tue, 06 Dec 2011 11:22:16 -0500
Newsgroups gmane.mail.squirrelmail.devel
Message-ID <[email protected]>
On 12/06/2011 06:53 AM, Paul Lesniewski wrote:

...snipped...

> While we're here, though, it occurs that doing one LIST per folder is
> egregious.  Again, version 1.5.2 fixes this, too, and my tests show
> that the folder listing gains 11 to 12 times the performance by doing
> just a single LIST.

Yes, I see that 1.5.x handles this much better.

> So I'm prepared to add a slightly different patch, which is attached
> to this message.  Note that it depends on another fix I've added to
> SVN just now which was a bug (and for you, Dave, you'll have to remove
> your patch as well).

I removed my patch.

> Here's the fix I just made:
>
> http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/branches/SM-1_4-STABLE/squirrelmail/functions/imap_mailbox.php?view=patch&r1=14175&r2=14174&pathrev=14175

I applied this patch.

> Apply that, then the patch attached to this message and let me know if
> this works for you.

It doesn't appear to work.  I'm getting clickable links for hierarchy 
levels again.  I think the problem is that

  $temp_mailbox_name = find_mailbox_name($list_ary[$i]);

just extracts the mailbox name and throws away all the flags, leaving 
you with a tidy array of just mailbox names.  sqimap_mailbox_parse() 
seems to want the list output as-is so it can populate the 'raw' format 
array.



------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel