The branch "imap_client_move" has been updated. The following is a summary of the commits.
from: 065ca30dba2dfd5cffcc552f7d468586ab5f3f74 b7781a6 Fix accessing a non-object. 2426ecb Optimize FETCHs with the changedsince option 779dc7a Rethink message sequence storage 744dd0e Correctly save MODSEQs when there is no FETCH cache request de4d006 More stuff not needed with LASTMODSEQUIDs change 44067f3 Re-add caching of flag change information on sync ----------------------------------------------------------------------- commit b7781a6b64db9cb3e98e8860335e1095064b048b Author: Michael M Slusarz <[email protected]> Date: Fri Oct 26 13:36:06 2012 -0600 Fix accessing a non-object. framework/Imap_Client/lib/Horde/Imap/Client/Socket.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) http://git.horde.org/horde-git/-/commit/b7781a6b64db9cb3e98e8860335e1095064b048b ----------------------------------------------------------------------- commit 2426ecb9af18f0a71b80828b94f5cb5fb1b2fc71 Author: Michael M Slusarz <[email protected]> Date: Fri Oct 26 16:28:02 2012 -0600 Optimize FETCHs with the changedsince option Get rid of unnecessary CHANGEDSINCE only fetch. Just do a regular query and only merge in cached results for matching entries. framework/Imap_Client/lib/Horde/Imap/Client/Base.php | 59 +++++++++++------- 1 files changed, 37 insertions(+), 22 deletions(-) http://git.horde.org/horde-git/-/commit/2426ecb9af18f0a71b80828b94f5cb5fb1b2fc71 ----------------------------------------------------------------------- commit 779dc7af4211ced9d6ef6e2553ccd55b0c0f04aa Author: Michael M Slusarz <[email protected]> Date: Fri Oct 26 00:45:25 2012 -0600 Rethink message sequence storage After further reading, thinking, and discussion with experts on the subject, have come to the conclusion that we gain almost nothing by trying to maintain a sequence number -> UID storage mapping across sessions. Almost everything can be done via UIDs only and, in the rare instance where message sequences are needed, we can do workarounds. The maintenance of the mapping table most likely far outweighs the cost of doing these rare additional server requests (which are generally nothing more than simple UID ALL searches of the mailbox, which are not difficult to parse and most IMAP servers should be able to quickly/easily generate). framework/Imap_Client/lib/Horde/Imap/Client/Base.php | 164 ++++---- framework/Imap_Client/lib/Horde/Imap/Client/Base/Mailbox.php | 15 +- framework/Imap_Client/lib/Horde/Imap/Client/Base/Map.php | 228 ---------- framework/Imap_Client/lib/Horde/Imap/Client/Ids/Map.php | 227 +++++++++ framework/Imap_Client/lib/Horde/Imap/Client/Socket.php | 161 +++---- framework/Imap_Client/package.xml | 5 +- framework/Imap_Client/test/Horde/Imap/Client/MapTest.php | 6 +- 7 files changed, 398 insertions(+), 408 deletions(-) delete mode 100644 framework/Imap_Client/lib/Horde/Imap/Client/Base/Map.php create mode 100644 framework/Imap_Client/lib/Horde/Imap/Client/Ids/Map.php http://git.horde.org/horde-git/-/commit/779dc7af4211ced9d6ef6e2553ccd55b0c0f04aa ----------------------------------------------------------------------- commit 744dd0e06c0a57e1198394da108e0f3deb30744b Author: Michael M Slusarz <[email protected]> Date: Fri Oct 26 22:55:16 2012 -0600 Correctly save MODSEQs when there is no FETCH cache request framework/Imap_Client/lib/Horde/Imap/Client/Socket.php | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) http://git.horde.org/horde-git/-/commit/744dd0e06c0a57e1198394da108e0f3deb30744b ----------------------------------------------------------------------- commit de4d006ef79c68eff9bc30ad0f2b47619edecec3 Author: Michael M Slusarz <[email protected]> Date: Sun Oct 28 22:44:01 2012 -0600 More stuff not needed with LASTMODSEQUIDs change framework/Imap_Client/lib/Horde/Imap/Client/Base.php | 2 - framework/Imap_Client/lib/Horde/Imap/Client/Base/Mailbox.php | 32 ---------- 2 files changed, 0 insertions(+), 34 deletions(-) http://git.horde.org/horde-git/-/commit/de4d006ef79c68eff9bc30ad0f2b47619edecec3 ----------------------------------------------------------------------- commit 44067f335fe51cd7dec295334913aeb1234a8077 Author: Michael M Slusarz <[email protected]> Date: Sun Oct 28 22:56:13 2012 -0600 Re-add caching of flag change information on sync framework/Imap_Client/lib/Horde/Imap/Client/Base.php | 72 ++++++---- framework/Imap_Client/lib/Horde/Imap/Client/Base/Mailbox.php | 20 +++- imp/lib/Ajax/Application/ListMessages.php | 2 - 3 files changed, 63 insertions(+), 31 deletions(-) http://git.horde.org/horde-git/-/commit/44067f335fe51cd7dec295334913aeb1234a8077 -- commits mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]
