summaryrefslogtreecommitdiff
path: root/alot/buffers
Commit message (Collapse)AuthorAge
* buffers/search: with walker.pyAnton Khirnov2020-04-19
| | | | It is only ever called from here, separating them makes little sense.
* buffers/search: revert 66d24cf0f00a58133c159940d8f65a4f622a09ebAnton Khirnov2020-04-19
| | | | | | | | | This optimization is wrong, since oldest_first is not a reverse of newest_first. oldest_first sorts the threads by the oldest message in each thread, while newest_first sorts by the newest message in each thread. That results in 'focus last' changing the thread order, which it should not do.
* buffers/search: drop unused varAnton Khirnov2020-04-19
|
* buffers/thread: add focusing on first/last message matching a propertyAnton Khirnov2020-03-02
|
* buffers/thread: make the widget split-windowAnton Khirnov2020-03-01
| | | | | | | | | | The top part displayes the thread structure, the bottom half the message body. This makes more sense then displaying the message inside the tree structure and makes it easier to implement features such as folding a part of the message body. Drop commands related to folding, since that functionality does not exist anymore.
* thread buffer: make attachments work againAnton Khirnov2020-02-25
|
* thread: implement tree decorationsAnton Khirnov2020-02-19
| | | | | | | | They were temporarily removed in the previous commit. Still not working: - theming for the decorations - drawing the connector line properly for expanded messages - configurable indentation
* thread: drop the use of urwidtreesAnton Khirnov2020-02-19
| | | | | | | | | | Their API is misdesigned - forces the use of trees for nontree objects and mixes data relationships with display properties. The result is a mess that is hard to understand/maintain/extend. Replace the use of urwidtrees with urwid Pile and ListBox. This temporarily removes tree-style indentation and decorations for thread buffers. That will be reimplemented in following commits.
* db: drop useless gettersAnton Khirnov2020-02-06
|
* db/thread: drop useless getter functionsAnton Khirnov2020-02-06
|
* buffers/thread: drop a useless getter functionAnton Khirnov2020-02-05
|
* buffers/thread: drop support for auto-read taggingAnton Khirnov2020-02-05
| | | | It's pointless complexity that I do not need.
* search: add thread_count info propertyAnton Khirnov2020-02-03
|
* Revert "db/manager: Drop async method"Anton Khirnov2020-01-02
| | | | This reverts commit e7e0c52db9093a9ecd9dcaa0766e66515a546a75.
* sanitize message text for displayPatrick Totzke2019-11-21
| | | | | | | | This ensures that non-printable characters (tabs) are replaced in the message body texts in envelope buffers and in source texts in thread mode. fix #1439
* Remove unicode escape codesLucas Hoffmann2019-11-06
|
* Remove unicode literals syntax from python2Lucas Hoffmann2019-11-06
|
* cleanups: buffers/thread.pyPatrick Totzke2019-08-16
|
* db/manager: Drop async methodDylan Baker2019-08-15
| | | | | | | | | | As far as I can tell using a separate process doesn't actually improve performance, it makes it worse. The work that we're passing off to the separate function isn't necessarily work that's well suited to being handed off, there isn't a lot of computation and the objects that need to be passed across the pipe are fairly large (at least when considering a pipe). Converting the function to a generator gives better performance and simplifies the implementation.
* remove old new-style classes syntaxPatrick Totzke2019-05-27
| | | | | | Python3 only supports "new-style" classes (those extending object), and we don't need to explicitly inherit from this root class any more. See http://pylint-messages.wikidot.com/messages:c1001
* Config to display in thread buffer status bar all tags present in a thread, ↵Andres MRM2019-03-04
| | | | or tags common to all messages in thread
* ui: Convert apply_command to a coroutineDylan Baker2018-07-26
| | | | | | This is a pretty invasive patch, since the ui code is used so extensively, it requires going into a lot of other code and converting those to coroutines, since before they returned deferred's.
* buffers/search: add missing NotmuchErrorDylan Baker2018-07-26
| | | | Found due to another bug :)
* add new buffer type NamedQueriesBufferPatrick Totzke2018-07-24
| | | | that displays the named query strings stored in the notmuch database
* add missing importPatrick Totzke2018-06-22
| | | | | .. that accidentally got dropped during c86623d9c7daaa2f9a832135a11870a0d91110a3 This fixes #1255
* remove deprecated future importsPatrick Totzke2018-06-19
| | | | see also #1250
* refactor buffersPatrick Totzke2018-06-19
This splits buffers.py, which contained all buffer classes, into several smaller files. issue #1226