| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
| |
Closes #1391
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
...that stores a query string as named search.
in Search buffers, this will fall back on the current search string
unless a full query string is provided as (second) argument.
|
|
|
|
|
|
|
|
|
| |
Introduce a new source file common.py for common commands and, as a
first example, define RetagPromptCommand there and register it from
search.py.
This shows how to "decorate" a class that is defined somewhere else, and
thus how to decorate it multiple times.
|
|
|
|
| |
They are not needed for python >= 3.0.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the else branch was hit the count was already updated by
SearchBuffer.rebuild() before the hitcount calculation was done and the
final result was obviously off. This fixes it by just counting the
messages in the search result directly.
The same code is implicitly already called in the other branch of the if
statement. So it is hopefully not a big overhead.
Fixes #1098
|
| |
|
| |
|
|
|
|
| |
This is just whitespace changes.
|
|
|
|
|
|
|
|
| |
This had the advantage of being more readable to people without a
functional programming background, and it avoids the need to use lambdas
which are both slow and have many corners in python. In a few cases it
also allows us to use a generator expression instead of a materialized
list, which save some memory.
|
|
|
|
| |
It would otherwise be picked up by the autogenerated docs.
|
|
|
|
|
|
| |
- use relative imports if possible
- group imports into standard library, third party, and alot modules
- sort imports alphabetically
|
| |
|
| |
|
|
|
|
|
|
| |
... in search.RefinePromptCommand,
bufferlist.BufferCloseCommand
and globals.BufferCloseCommand
|
|
|
|
| |
cf #629
|
|
|
|
| |
(and so avoid having a leading comma)
|
|
|
|
| |
So the tags are in a predictable order.
|
|
|
|
|
| |
So we don't have to remember to type the extra comma before typing a new
tag.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If one replaces some widget without letting urwid know,
one has to manually trigger it to redraw the screen.
We enforce this to happen after focus_first and focus_last
commands, which might replace widgets in search buffers.
For sake of performance this is *not* done after all other
focus movements.
|
|/ |
|
|
|
|
| |
mostly automatically fixed
|
|
|
|
| |
Commands
|
| |
|
| |
|
|
|
|
|
|
|
| |
added:
* ctrl d = half page down
* ctrl u = half page up
* G = focus last entry (only search buffer for now)
|
|
|
|
| |
... which has been accidentally removed before
|
|
|
|
|
|
| |
these now support an `--all` parameter that allows to tag
all messages in the (search) result set instead of just
all in the selected thread.
|
|
|
|
|
| |
- tries to omit code dupication,
- refresh issue
|
|
|
|
|
| |
The user can only ever set the target string via a command parameter,
which is sanitizd by argparse as we use choices..
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| | |
.. in search buffer. cf issue #463
|
|/
|
|
| |
cf issue #472
|
|
|
|
| |
not needed anymore
|
|
|
|
|
| |
this fixes an issue (#441) that is due to the buffer type
changing in between flush trials
|
| |
|
|
|
|
|
| |
..sets in search buffers.
closes #335
|
|
|
|
|
|
|
|
|
| |
that determines wether or not the database manager
should write out after the command. defaults to True
This also adds optional parameters '--no-flush'
for the user commands.
cf issue #307
|
| |
|
|
|
|
|
| |
this corrects an unintentionally used 'usage' parameter to the intended 'help' parameter while decorating seach modes
refine and sort commands
|