summaryrefslogtreecommitdiff
path: root/alot/ui.py
Commit message (Collapse)AuthorAge
...
* | fix missing return statementPatrick Totzke2013-03-03
| | | | | | | | (got lost during rebase)
* | immediate move commandsPatrick Totzke2013-03-03
| | | | | | | | | | this directly passes on move up/down/etc commands and omits creating a MoveCommand object for speed's sake
* | postpone binding if candidates with same prefix existPatrick Totzke2013-03-03
| | | | | | | | | | | | | | | | | | | | This ensures that commandlines that are bound to a key are not fired right away but wait a little (config option 'input_timeout') in case there are other bindings with this key as prefix. This allows to bind for instance 'g g' to move up while at the same time one can bind 'g' to global replies. Without this change, the 'g' binding would be fired right away.
* | re-interpret single move commandlines directlyPatrick Totzke2013-03-03
|/ | | | | instead of creating a MoveCommand instance. These will still be created for 'move's that are part of longer command chains
* Implement move commands in globals.py. Add --redraw for bclose.William Erik Baxter2013-02-19
|
* empty input queue as soon asPatrick Totzke2013-01-11
| | | | | .. the current value cannot be prefix of any bound keysequence. fixes #547
* prevent multiple 'index locked' notificationsPatrick Totzke2012-12-16
| | | | | | by keeping a "was locked" flag in the UI. Once changes are successfully flushed, we use a single "all clear" notification.
* make sure ui.mode is defined initiallyPatrick Totzke2012-09-09
| | | | | this fixes an issue with exiting buffer-less ui: this happens only when the initial command fails for some reason.
* doc: docstringsPatrick Totzke2012-09-05
|
* fix clear the input queue before cmd applicationPatrick Totzke2012-09-03
|
* alow command sequences also in bindingsPatrick Totzke2012-09-03
|
* add UI.apply_commandlinePatrick Totzke2012-09-03
| | | | | | that reads a cmdline string, possibly splits it in separate subcommand strings and fires the (sequence of) Command object(s).
* add CommandSequenceCommandPatrick Totzke2012-09-03
| | | | a meta command that allows to chain commands
* cleanup: pep8/pyflakes fixesPatrick Totzke2012-09-01
|
* keep only one alarm callback activePatrick Totzke2012-08-20
| | | | | to clear input queue. closes #501
* indicate input_queue in statusbar by defaultPatrick Totzke2012-08-19
|
* allow to bind mutiple keypressesPatrick Totzke2012-08-19
| | | | | | | This queues key presses in UI for a while in case they don't match a binding. This way one can for example bind 'ctrl x ctrl q' = exit
* clean up UI's class variablesPatrick Totzke2012-08-19
|
* rename UI.mainframe_themed to root_widgetPatrick Totzke2012-08-19
|
* doc docstrings for UIPatrick Totzke2012-08-19
|
* cleanup input handling in UIPatrick Totzke2012-08-19
| | | | | | | | | | This moves the Command creation/application to UI.input_filter. This function gets directly triggered by the mainloop. We hardcode "esc" and "enter" to widgets.globals.ChoiceWidget and CompleteEdit and thus ditch the abstraction to "cancel" and "select" keypresses. This obsolets the extra InputWrap widget in UI and the global SendKeypressCommand and generally makes UI less messy.
* WIPPatrick Totzke2012-08-19
|
* fix: theming issue after bindings helpPatrick Totzke2012-08-17
|
* fix theming in help notificationsPatrick Totzke2012-08-15
|
* cleanup: split widgets.py and pep8/pyflakes fixesPatrick Totzke2012-08-10
|
* Merge branch '0.3.1-theming'Patrick Totzke2012-07-22
|\
| * pep8 and pyflakes fixesPatrick Totzke2012-07-21
| |
* | insert new buffers relative to current bufferPatrick Totzke2012-06-26
|/ | | | | | | .. in UI's bufferlist. This results in a more natural bufferflow when going from a search to thread and back by closing the thread. cf issue #478
* Merge branch '0.3.1-feature-statusline-474'Patrick Totzke2012-06-26
|\
| * fix implicit decoding issue with str.formatPatrick Totzke2012-06-24
| | | | | | | | cf issue #476
| * implement configurable statusbar featurePatrick Totzke2012-06-19
| | | | | | | | | | | | by looking up the format defined in the config and building the status bar strings accordingly in UI.build_statusbar
* | use more apropriate log levels in UIPatrick Totzke2012-06-24
|/ | | | | in particular, this makes exceptions in command applications always show in the log as they are moved from debug to error level.
* add copyright statements to all source filesPatrick Totzke2012-06-14
| | | | cf issue #472
* Merge branch '0.3-feature-hooksexceptions-394' into stagingPatrick Totzke2012-04-08
|\
| * abort command on pre-hook exceptionsPatrick Totzke2012-03-24
| | | | | | | | | | | | | | this makes ui.apply_command not call a commands apply method if its pre-hook raised an exception. closes #394
* | use global body theming attributePatrick Totzke2012-04-08
|/ | | | issue #430
* ignore exceptions when stopping reactorPatrick Totzke2012-03-17
| | | | | .. in ui.exit issue #264
* fix issue #389Patrick Totzke2012-03-09
| | | | closes #389
* Configurable prompt suffixDaniel2012-03-06
|
* Cleaner and more common-looking promptsDaniel2012-03-03
|
* read colourmode arg to settingsmanagerPatrick Totzke2012-02-23
|
* dont pass config parm to hooksPatrick Totzke2012-02-19
|
* pep8/pyflakes cleanupPatrick Totzke2012-02-19
|
* remove references to AccountManager in init and UIPatrick Totzke2012-02-19
|
* switch to new theming handling in widgets and UIPatrick Totzke2012-02-19
|
* replace config.get_* with settings.getPatrick Totzke2012-02-18
| | | | | this changes all "small" calls to a config getter toa theyr counterparts that call SettingsManager.get
* force screen redraw in UI.updatePatrick Totzke2012-02-03
| | | | | this fixes an issue with notification messages not being updated correctly.
* Always run post command hook.Tom Prince2012-01-28
| | | | | | Before, the hook was only being run if the command returned a deferred. Now, it uses defer.maybeDeferred to handle things generically.
* replace buffer.typename with class var 'modename'Patrick Totzke2012-01-21
| | | | | this allows for easier mode name extraction at class level for auto-generating the user docs
* remove call to self.exit in ui.updatePatrick Totzke2012-01-11
| | | | in case no buffer is open