Re: IMAP patches

From: Date: Mon, 21 Jun 1999 13:48:33 +0000
Subject: Re: IMAP patches
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-7326@lists.php.net to get a copy of this message
i'll go try and get them in as soon as i can get cvs working on php.net.. I've got another set of patches i need to incorporate into it too.. One thing..try to keep the reformatting of the code to a minimum. Theres tons of line in your patch that's just changes in the spacing. Thanks, Mark > > Hi. > I've got an updated version of my imap patch. It is attached to this > message, gzipped for minimum size. (It's small, but I'm paranoid after the > little fiasco on the main list). > > This patch adds several things. I've tried to follow the coding standards in > all of this. > > 1. What the patch in the bug database does: allow the DRAFT flag to be > checked for wherever other flags are available (imap_header(), etc). > > 2. imap_getmailboxes(). This function returns the mailbox list as a list of > objects. Each object has a name property, an attributes property, and a > delimiter property. This allows discovery of different levels of folder > hierarchy, determination of whether or not a folder can have folders inside > it, and handling of servers that use different hierarchy delimiters for > different namespaces. > > 3. An SA_ALL constant that can be passed to imap_status to get an object > with all of the various status members defined, without having to do a > 5-member | in the php script. > > The only bug that I'm aware of is in imap_getmailboxes(). I get the > following message in my apache error log whenever it is called: > > [Sun Jun 20 17:26:35 1999] [error] Possible PHP3 memory leak detected > (harmless): 20 bytes from php3_hash.c:111 > [Sun Jun 20 17:26:35 1999] [error] Possible PHP3 memory leak detected > (harmless): 44 bytes from internal_functions.c:269 > > > I know it says harmless, but I'd like to track it down nonetheless. If > someone could tell me where this is happening, or suggest a way to find out > what part of my code it's in, I'd be grateful. > > I can seperate these into individual patches if that would let 1 and 3 go > into 3.0.10, if 2 isn't ready. > > Also, who is currently maintaining the IMAP code? I'm probably going to need > to add some more functions in the future - imap_search(), etc. > > Thanks, > -chuck > > -- > Charles Hagenbuch, <chagenbu@wso.williams.edu> > > -- > PHP Development Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#7326) next »