The branch "master" has been updated. The following is a summary of the commits.
from: c34a8adc5ada829845a9473d5a184766aebf884e c291d10 More thorough debugging a55b82f Better checking for invalid 8bit data 5c22f76 [mms] Horde_Imap_Client_Base#getNamespaces() now returns Horde_Imap_Client_Data_Namespace objects instead of an array. 4da3d95 * [mms] Horde_Imap_Client_Base#getNamespaces() can now return a Horde_Imap_Client_Namespace_List object instead of an array. 7b9cb8e Fix typo 44aec3e Add 'base' property to Namespace Data object 37a91d8 Use Horde_Imap_Client_Namespace_List object return fba625b Optimization: If searching all mailboxes, no need to add individual namespaces to the query 0a632e4 Add stripNamespace() method to the Namespace data object f8e275b Directly use Horde_Imap_Client_Data_Namespace objects Summary: http://github.com/horde/horde/compare/c34a8adc5ada829845a9473d5a184766aebf884e...f8e275b289d8314fcfa5ad66d0a8609f02c2a31e ----------------------------------------------------------------------- commit c291d10b5589ce45967e9adc6da4d600520e4c92 Author: Michael M Slusarz <[email protected]> Date: Sun May 25 21:42:09 2014 -0600 More thorough debugging framework/Smtp/lib/Horde/Smtp.php | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) http://github.com/horde/horde/commit/c291d10b5589ce45967e9adc6da4d600520e4c92 ----------------------------------------------------------------------- commit a55b82f5ed584ea6eb90c92c394d62001bd4dfa6 Author: Michael M Slusarz <[email protected]> Date: Sun May 25 21:42:19 2014 -0600 Better checking for invalid 8bit data framework/Smtp/lib/Horde/Smtp.php | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) http://github.com/horde/horde/commit/a55b82f5ed584ea6eb90c92c394d62001bd4dfa6 ----------------------------------------------------------------------- commit 5c22f7603283e633b7d33da31ad938b3adda447e Author: Michael M Slusarz <[email protected]> Date: Sun Aug 25 00:34:13 2013 -0600 [mms] Horde_Imap_Client_Base#getNamespaces() now returns Horde_Imap_Client_Data_Namespace objects instead of an array. Start moving some code from Horde_Imap_Client 3 that is not BC-breaking framework/Imap_Client/doc/Horde/Imap/Client/UPGRADING | 19 + framework/Imap_Client/lib/Horde/Imap/Client.php | 2 +- framework/Imap_Client/lib/Horde/Imap/Client/Base.php | 48 +- framework/Imap_Client/lib/Horde/Imap/Client/Data/Namespace.php | 151 +++++ framework/Imap_Client/lib/Horde/Imap/Client/Socket.php | 21 +- framework/Imap_Client/package.xml | 18 +- .../Imap_Client/test/Horde/Imap/Client/Data/NamespaceTest.php | 147 ++++ .../Imap_Client/test/Horde/Imap/Client/RemoteImapServerTest.php | 5 +- 8 files changed, 358 insertions(+), 53 deletions(-) create mode 100644 framework/Imap_Client/lib/Horde/Imap/Client/Data/Namespace.php create mode 100644 framework/Imap_Client/test/Horde/Imap/Client/Data/NamespaceTest.php http://github.com/horde/horde/commit/5c22f7603283e633b7d33da31ad938b3adda447e ----------------------------------------------------------------------- commit 4da3d959c01ddbc9ef881af7680b77a3c402d3b4 Author: Michael M Slusarz <[email protected]> Date: Sun May 25 23:54:43 2014 -0600 * [mms] Horde_Imap_Client_Base#getNamespaces() can now return a Horde_Imap_Client_Namespace_List object instead of an array. Might as well go all the way with 2 layers of object abstraction. Allows us to move things like namespace detection directly into the return object, instead of requiring calling app to deal with it. Make this 2nd layer optional, however, since it is conceivable that calling code would use something like array_keys() on the output (as opposed to individual namespace, where array keys were meant to be used as data labels, not iterable keys). framework/Imap_Client/doc/Horde/Imap/Client/UPGRADING | 12 +- framework/Imap_Client/lib/Horde/Imap/Client/Base.php | 30 +- framework/Imap_Client/lib/Horde/Imap/Client/Namespace/List.php | 130 ++++ framework/Imap_Client/lib/Horde/Imap/Client/Socket.php | 3 +- framework/Imap_Client/package.xml | 14 +- .../Imap_Client/test/Horde/Imap/Client/Data/NamespaceTest.php | 147 ----- .../Imap_Client/test/Horde/Imap/Client/Namespace/DataTest.php | 147 +++++ .../Imap_Client/test/Horde/Imap/Client/Namespace/ListTest.php | 138 ++++ 8 files changed, 456 insertions(+), 165 deletions(-) create mode 100644 framework/Imap_Client/lib/Horde/Imap/Client/Namespace/List.php delete mode 100644 framework/Imap_Client/test/Horde/Imap/Client/Data/NamespaceTest.php create mode 100644 framework/Imap_Client/test/Horde/Imap/Client/Namespace/DataTest.php create mode 100644 framework/Imap_Client/test/Horde/Imap/Client/Namespace/ListTest.php http://github.com/horde/horde/commit/4da3d959c01ddbc9ef881af7680b77a3c402d3b4 ----------------------------------------------------------------------- commit 7b9cb8eeaa89aa372d8ad8d886537f09eb83057f Author: Michael M Slusarz <[email protected]> Date: Mon May 26 19:20:15 2014 -0600 Fix typo imp/lib/Mailbox/SessionCache.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) http://github.com/horde/horde/commit/7b9cb8eeaa89aa372d8ad8d886537f09eb83057f ----------------------------------------------------------------------- commit 44aec3eb7c19d8b66ffd504f65585a3bebe202e1 Author: Michael M Slusarz <[email protected]> Date: Mon May 26 20:57:52 2014 -0600 Add 'base' property to Namespace Data object framework/Imap_Client/lib/Horde/Imap/Client/Data/Namespace.php | 5 ++ .../Imap_Client/test/Horde/Imap/Client/Namespace/DataTest.php | 16 ++++- 2 files changed, 20 insertions(+), 1 deletions(-) http://github.com/horde/horde/commit/44aec3eb7c19d8b66ffd504f65585a3bebe202e1 ----------------------------------------------------------------------- commit 37a91d8dbe56542b5dd033d5ccfbb040ee6a4238 Author: Michael M Slusarz <[email protected]> Date: Mon May 26 21:03:05 2014 -0600 Use Horde_Imap_Client_Namespace_List object return imp/lib/Ftree/Account/Imap.php | 10 +++++----- imp/lib/Imap.php | 36 +++++++++++++----------------------- imp/lib/Test.php | 12 ++++++------ imp/package.xml | 2 +- 4 files changed, 25 insertions(+), 35 deletions(-) http://github.com/horde/horde/commit/37a91d8dbe56542b5dd033d5ccfbb040ee6a4238 ----------------------------------------------------------------------- commit fba625b850c3a9bc4f7ac0d3ea77cefcd23e86af Author: Michael M Slusarz <[email protected]> Date: Mon May 26 21:06:37 2014 -0600 Optimization: If searching all mailboxes, no need to add individual namespaces to the query imp/lib/Ftree/Account/Imap.php | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) http://github.com/horde/horde/commit/fba625b850c3a9bc4f7ac0d3ea77cefcd23e86af ----------------------------------------------------------------------- commit 0a632e43c8247c2cdec4992f9576e40e3c6d896e Author: Michael M Slusarz <[email protected]> Date: Mon May 26 21:25:16 2014 -0600 Add stripNamespace() method to the Namespace data object framework/Imap_Client/lib/Horde/Imap/Client/Data/Namespace.php | 17 +++ .../Imap_Client/test/Horde/Imap/Client/Namespace/DataTest.php | 27 +++++ 2 files changed, 44 insertions(+), 0 deletions(-) http://github.com/horde/horde/commit/0a632e43c8247c2cdec4992f9576e40e3c6d896e ----------------------------------------------------------------------- commit f8e275b289d8314fcfa5ad66d0a8609f02c2a31e Author: Michael M Slusarz <[email protected]> Date: Mon May 26 23:52:36 2014 -0600 Directly use Horde_Imap_Client_Data_Namespace objects imp/lib/Basic/Folders.php | 10 ++++---- imp/lib/Basic/Mailbox.php | 18 +++++++--------- imp/lib/Ftree/Account/Imap.php | 16 +++++++------- imp/lib/Ftree/Element.php | 5 ++- imp/lib/Mailbox.php | 41 +++++++++++++++++++-------------------- imp/rss.php | 2 +- 6 files changed, 45 insertions(+), 47 deletions(-) http://github.com/horde/horde/commit/f8e275b289d8314fcfa5ad66d0a8609f02c2a31e -- commits mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]
