summaryrefslogtreecommitdiff
path: root/src/leap/mail
AgeCommit message (Collapse)Author
2014-02-17avoid hitting db on every selectKali Kaneko
2014-02-17remove early notification on append for nowKali Kaneko
this can be done to save some msec, but additional measures have to be taken to avoid inconsistencies with reads right after this is done. we could make those wait until a second deferred is done, for example.
2014-02-17suggest bigger threadpool to reactors that honor itKali Kaneko
2014-02-17docstring fixesKali Kaneko
2014-02-17select instead of examineKali Kaneko
2014-02-17remove all refs during removal, and protect from empty docsKali Kaneko
2014-02-17move mbox-doc handling to soledadstore, and lock itKali Kaneko
2014-02-17purge empty fdocs on selectKali Kaneko
2014-02-17avoid revision conflict during deletionKali Kaneko
2014-02-17defer appends tooKali Kaneko
and cut some more time by firing the callback as soon as we've got an UID.
2014-02-17defend against malformed fdocs during unset dirty/newKali Kaneko
2014-02-17defer fetch to threadKali Kaneko
also, dispatch query for all headers to its own method.
2014-02-17improve flag-docs relative internal storageKali Kaneko
2014-02-17fix several bugs in copy/storeKali Kaneko
2014-02-17fix last_uid write to avoid updates to lesser valuesKali Kaneko
2014-02-17fine grained locks for putsKali Kaneko
2014-02-17separate new and dirty queuesKali Kaneko
2014-02-17catch typeerror too in empty definitionKali Kaneko
2014-02-17make the condition optionalKali Kaneko
2014-02-17call notify in reactorKali Kaneko
2014-02-17fix repeated recent flagKali Kaneko
2014-02-17do not get last_uid from the set of soledad messagesKali Kaneko
but always from the counter instead. once assigned, the uid must never be reused, unless the uidvalidity mailbox value changes. doing otherwise will cause messages not to be shown until next session. Also, renamed get_mbox method for clarity.
2014-02-17add profile-command utilityKali Kaneko
2014-02-17defer_to_thread the bulk of write operationsKali Kaneko
and batch the notifications back to the memorystore, within the reactor thread.
2014-02-17two versions of accumulator utilKali Kaneko
2014-02-17separate better dirty/new flags; add cdocsKali Kaneko
2014-02-17remove hdoc copy since it's in its own structure nowKali Kaneko
2014-02-17make fdoc, hdoc, chash 'public' propertiesKali Kaneko
2014-02-17change internal storage and keying scheme in memstoreKali Kaneko
2014-02-17long-due update to unittests!Kali Kaneko
So we're safe under the green lights before further rewriting. :)
2014-02-17make last_uid a defaultdictKali Kaneko
2014-02-17enable memory-only storeKali Kaneko
2014-02-17increase writeback period for debugKali Kaneko
2014-02-17take recent count from memstoreKali Kaneko
2014-02-17defend against empty itemsKali Kaneko
2014-02-17temporarily nuke out the fetch_heders diversionKali Kaneko
2014-02-17do not defer fetches to threadKali Kaneko
I think this is not a good idea now that all is done in the memstore, overhead from passing the data to thread and gathering the result seems to be much higher than just retreiving the data we need from the memstore.
2014-02-17prefetch flag docsKali Kaneko
2014-02-17defer copy and soledad writesKali Kaneko
2014-02-17defer parse to threadKali Kaneko
2014-02-17lock document retrieval/putKali Kaneko
2014-02-17fix get_size callKali Kaneko
2014-02-13Merge remote-tracking branch 'refs/remotes/kali/feature/get-sizes' into developTomás Touceda
2014-02-06Flush IMAP data to disk when stopping. Closes #5095.drebs
2014-02-05Fix the fallback for the memoized call for bodies/content.Kali Kaneko
Changed to "empty" to consider empty strings too.
2014-02-05fix memoized call returning always NoneKali Kaneko
2014-02-05fix expunge deferreds so they waitKali Kaneko
2014-02-05minimal regression testsKali Kaneko
2014-02-04Rebased dreb's commit to update sizes dictionaryKali Kaneko
for faster calculation of sizes. https://github.com/andrejb/leap_mail/commit/8b88e85fab3c2b75da16b16c8d492c001b8076c6
2014-02-04fixes after reviewKali Kaneko
* Some more docstring completion/fixes. * Removed unneeded str coertion. * Handle mailbox name in logs. * Separate manhole boilerplate into its own file.