summaryrefslogtreecommitdiff
path: root/alot/ui.py
Commit message (Collapse)AuthorAge
* 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
* fix ui.build_statusbar if current_buffer is NonePatrick Totzke2012-01-11
| | | | just display "[no buffers]" instead of buffer info in that case
* Purge logging objectdtk2012-01-05
| | | | | | | | | Consistently use module functions instead. Introduce a non-default log format that replaces the logger name with the module name. Cf issue #170. Closes #231.
* Don't register UI with DBMandtk2012-01-05
| | | | | | | The DBMan doesn't use it (anymore). It was potentially used to send notifications to the user. Closes #229.
* propper error handling for (deferred) commandsPatrick Totzke2011-12-21
| | | | | | | This introduces an error handler for exceptions raised in Command.apply() methods. It works with defered's as well as ordinary functions. It logs a traceback via ui.logger and triggers an error notification. issue #123
* don't raise ExitMainLoop exception to exitPatrick Totzke2011-12-18
| | | | | | apparently, it suffices to stop the twisted reactor when using TwistedEventLoop. issue #156
* feature: make quit on last bclose configurablePatrick Totzke2011-12-17
| | | | issue #159
* include mode string in Buffer.__str__Patrick Totzke2011-12-10
| | | | | | | before, __str__ returned a mode identifier or additional info for the buffer. Now the modestring is always included and is not artificially prepended for the buffers that only yield additional info. issue #143