summaryrefslogtreecommitdiff
path: root/alot/commands/globals.py
Commit message (Collapse)AuthorAge
* Notify for unknown movement.William Erik Baxter2013-02-19
|
* Conform to PEP 8.William Erik Baxter2013-02-19
|
* Implement move commands in globals.py. Add --redraw for bclose.William Erik Baxter2013-02-19
|
* make sure urwid keeps track of updated TERM sizePatrick Totzke2013-01-30
| | | | | | ... after external processes terminate. fixes #566
* bug on exit if index not syncedPatrick Totzke2012-12-16
|
* 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.
* add callback parameter for FlushCommandPatrick Totzke2012-09-23
|
* prompt for initial tags when composing msgPatrick Totzke2012-09-22
| | | | | This also adds a new config option `compose_ask_tags` that defaults to False.
* directly use "realname <address>" in AccountCompleterPatrick Totzke2012-09-22
| | | | | instead of only completing addresses and afterwards looking up a matching account
* transfer global refs of ui and settings to hooksPatrick Totzke2012-09-09
| | | | | | | ... in CallCommand. This makes it possible to use `call "hooks.myfunc()"`, where my_func makes use of the UI instance (and settings) by referencing to `ui` (and `settings`).
* Merge branch '0.3.2-fix-input-506'Patrick Totzke2012-09-05
|\
| * restart urwid screen as early as possiblePatrick Totzke2012-08-31
| | | | | | | | | | .. after external commands that reuse the terminal. cf issue #506
* | fix errors in CommandSequenceCommandPatrick Totzke2012-09-03
| |
* | delegate cmdline interpretation to UIPatrick Totzke2012-09-03
| |
* | fix trivial errors in CommandSequenceCommandPatrick Totzke2012-09-03
| |
* | add CommandSequenceCommandPatrick Totzke2012-09-03
| | | | | | | | a meta command that allows to chain commands
* | cleanup: pep8/pyflakes fixesPatrick Totzke2012-09-01
|/
* add new global (goto) "buffer" commandPatrick Totzke2012-08-26
|
* fix error notifications during `call`Patrick Totzke2012-08-26
|
* rename UI.mainframe_themed to root_widgetPatrick Totzke2012-08-19
|
* rm SendKeypressCommand, CatchKeyWidgetWrapPatrick Totzke2012-08-19
| | | | which were obsoleted by the previous commit
* doc: update docstringPatrick Totzke2012-08-19
|
* theming: fix halfway themed help overlayPatrick Totzke2012-08-11
|
* cleanup: split widgets.py and pep8/pyflakes fixesPatrick Totzke2012-08-10
|
* replace bclose! command by a boolean argument 'force'Patrick Totzke2012-08-01
| | | | | | .. for bclose command: This way one can bind `bclose --force` to prevent a confirmation dialog while closing unsent envelope buffers.
* Add `bclose!` commandKazuo Teramoto2012-08-01
| | | | | | | This command is similar to `bclose` but it force closing a buffer without asking the user. cf issue #453
* Ask the user to close an unsent envelope bufferKazuo Teramoto2012-08-01
| | | | | | | This prevent accidentally closing an alot.buffers.EnvelopeBuffer and losing the buffer content. cf issue #453
* new global 'call' command to execute python codePatrick Totzke2012-07-17
| | | | issue #480
* fix default behaviour of --spawn on X11-less TERMSPatrick Totzke2012-06-23
| | | | | | | | | | this ensures that whenever X11 is not present and external commands like calling the editor are used in combination with the --spawn parameter, they are *not* called in a new xterm and forced to run in the same thread as alot. cf issue #460
* fix issue #475Patrick Totzke2012-06-16
|
* fix shellescape --spawn return codesPatrick Totzke2012-06-16
| | | | | we used subprocess.call, which in an error case just returns the int-return value and does not raise OSError if shell==True.
* spawn in new xterm only if X is runningPatrick Totzke2012-06-16
|
* add new hook 'touch_external_cmdlist'Patrick Totzke2012-06-16
| | | | | | | that gets a command as list of str together with spawn, thread and shell flags and returns a triple of cmdlist shell and thread flags to be used. This allows for crazy stuff like spawning into gnu screen tabs etc. cf issue #466.
* make EditCommand use spawn/thread parms directlyPatrick Totzke2012-06-16
| | | | | This makes the command use its spawn and thread parameters and fall back to the values given in the config
* add copyright statements to all source filesPatrick Totzke2012-06-14
| | | | cf issue #472
* use BooleanAction where appropriatePatrick Totzke2012-06-11
|
* make --spawn option default to NonePatrick Totzke2012-06-10
| | | | | | | .. for commands that end in ExternalCommand. ExternalCommand's spawn parameter is actually interpreted as "force-spawn-bit" at the moment. cf issue #460
* use cmdlist properly for shellescapePatrick Totzke2012-06-05
| | | | | | If ExternalCommand gets a 'shell' parameter set to True, it passes this on to subprocess.Popen. This makes Popen only use the first entry in the commandlist. This patch ensures that the 'shellescape's commandstring argument ends up in this first entry.
* fix: shellescape to work with ExternalCommand APIPatrick Totzke2012-06-03
| | | | | this makes ExternalCommand also accept command strings as well as lists in order to make the shellescape command work properly
* add helper split_commandstringPatrick Totzke2012-06-03
| | | | | | | | that splits a command string into a list of strings to pass on to subprocess.Popen and the like. This helper is now used throughout the application instead of calling shlex.split directly as this is a potential source for errors because shlex is not yet able to properly deal with unicode bytestrings.
* make ExternalCommand work on command listsPatrick Totzke2012-06-03
| | | | | | | | | | instead of command strings. subprocess.Popen takes a string list that determines the subcommand to call. This makes ExternalCommand directly accept string lists to pass on to Popen. This change obsoletes the 'path' parameter, as callers can now simply construct the command list accordingly. OpenAttachmentCommand and EditCommand are updated to match this API change.
* shell parameter for ExternalCommandPatrick Totzke2012-06-02
| | | | | | | this introduces the 'shell' parameter, that gets passed on to subprocess.Popen and results in the commandstring being interpreted by the shell. This commits also makes shellescape force-set this parameter to true
* stdin parameter for ExternalCommandPatrick Totzke2012-06-02
| | | | | file-like object or string that will be piped into external processes stdin if not None
* fix editnewPatrick Totzke2012-05-19
| | | | | | | ... if used on a mail with sender's address not being one's own: In that case, settings.get_account_by_address(addr) returns None. cf issue #451
* Merge branch '0.3-feature-pyme' into stagingPatrick Totzke2012-05-17
|\ | | | | | | | | | | | | Conflicts: alot/settings/__init__.py alot/settings/checks.py docs/source/generate_configs.py
| * verify accounts gpg_key upon startupPatrick Totzke2012-05-13
| | | | | | | | | | | | | | This introduces a custom config check that tests if the given gpg_key value points to a valid private key. If so, the property Account.gpg_key is a pyme.pygpgme._gpgme_key object.
| * move alot.db.errors GPGProblem to alot.errorsPatrick Totzke2012-05-13
| | | | | | | | | | to prevent circular imports and for consistency: This Exception is not related to the database abstraction layer.
| * lookup gpg key once during composePatrick Totzke2012-05-12
| | | | | | | | | | | | .. and not in reply/forward/editnew. This also obsoletes Envelope.apply_account_crypto_settings, which needed a reference to UI for error notifications.
| * add sign_by_default account setting to enable GPG signatures by default, use ↵Michael Stapelberg2012-05-11
| | | | | | | | existing gpg_key setting
* | added debug statements for flushingPatrick Totzke2012-05-17
| | | | | | | | issue #413