summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* py3k: use StringIO from io module instead of cStringIODylan Baker2018-03-01
| | | | | cStringIO doesn't exist in python 3.x, instead one simply uses io.StringIO and python provided a C accelerated version if possible.
* Merge pull request #1214 from lucc/feature/travis-py3Patrick Totzke2018-03-01
|\ | | | | Lift version requirement to run tests on travis (prep for #1055)
| * Lift version requirement to run tests on travisLucas Hoffmann2018-02-28
|/ | | | Otherwise the tests will not be run with py3 on travis.
* Merge pull request #1210 from lucc/feature/travis-py3Lucas Hoffmann2018-02-26
|\ | | | | Run tests with python3 on travis
| * Don't build with old python3 versions on travisLucas Hoffmann2018-02-26
| |
| * Temporarily only check the docs on python2Lucas Hoffmann2018-02-23
| |
| * Build with several py3 versions on travisLucas Hoffmann2018-02-23
|/ | | | | Currently the py3 runs are allowed to fail. This has to be changed once py3 support is merged.
* Merge pull request #1196 from dcbaker/fix-ambigious-keyPatrick Totzke2018-02-22
|\ | | | | fix ambiguous keys harder
| * fix ambiguous keys harderDylan Baker2018-02-08
| | | | | | | | always pass keyword arguments as thus, to prevent problems like this.
* | bump version stringPatrick Totzke2018-02-22
| |
* | update NEWSPatrick Totzke2018-02-21
| |
* | Merge pull request #1204 from tomjnixon/fix_editor_lockupPatrick Totzke2018-02-20
|\ \ | | | | | | Fix #1191, lockup after running external command.
| * | Move screen stop/start logic into context manager.Thomas Nixon2018-02-19
| | | | | | | | | | | | | | | | | | | | | As well as reducing duplication and adding screen size detection to :pipeto and :pyshell, this ensures that the screen is always restarted, resulting in cleaner error handling if an error occurs while the screen is stopped.
| * | Move mock ui creation to function.Thomas Nixon2018-02-19
| | |
| * | Fix #1191, lockup after running external command.Thomas Nixon2018-02-19
|/ / | | | | | | | | | | | | | | This is caused by urwid/urwid#285; stopping and starting the whole mainloop rather than just the screen works around this, but that's only available in newer urwid versions. This also affected the :pipeto and :pyshell commands.
* | Merge pull request #1199 from three-comrades/fix_templatesDylan Baker2018-02-15
|\ \ | | | | | | Fix templates with non-ascii characters.
| * | Fix non-ascii templates.Julian Mehne2018-02-15
| | |
| * | Add test: template not decoded properly.Julian Mehne2018-02-15
| | |
* | | Merge pull request #1197 from kyrias/compose-tagsLucas Hoffmann2018-02-15
|\ \ \ | | | | | | | | Add --tags argument to compose command
| * | | Add --tags argument to compose commandJohannes Löthberg2018-02-12
|/ / / | | | | | | | | | Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
* | | Merge pull request #1193 from three-comrades/fix_lang_cPatrick Totzke2018-02-10
|\ \ \ | |_|/ |/| | Fix `LANG=C alot` with custom bindings.
| * | Fix `LANG=C alot` with custom bindings.Julian Mehne2018-02-01
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reproduction steps: - Set a custom binding in your config file. E.g.: [bindings] S = toggletags spam - start alot with LANG=C: LANG=C alot - variant A: type ö - variant B: type :search ö Problem: the urwid encoding is set to 'narrow', such that all key events are passed down as `str`, not `unicode`. At the same time, ConfigObj reads the custom binding as a unicode string. The interaction of both leads to crashes. Related to #673
* | Merge pull request #1172 from Dica-Developer/patch-4Dylan Baker2018-02-08
|\ \ | |/ |/| Fix for issue 1164 - Cannot select key for encryption by number keys
| * * apply CR commentsMartin Schaaf2017-12-12
| |
| * * apply code review commentsMartin Schaaf2017-12-12
| |
| * Fix issue 1164 of not able to select a key for encryption on ambigious keyid ↵Martin Schaaf2017-11-01
| | | | | | | | | | | | | | | | | | | | error * avoid endless loop if the selected key leads to an ambiguous key error again * do not add the resulting key to the loop again instead add it directly * use a list of keys as selection return values * add fpr to visual key selection list to be able to select the expected key * remove reversed call that should not be necessary
| * * Extend choice to diffefrentiate between a list of choicesMartin Schaaf2017-11-01
| | | | | | | | and a list of return objects for choices.
| * * Extend ChoiceWidget to differentiate between a list of choicesMartin Schaaf2017-11-01
| | | | | | | | and a list of return objects for choices.
* | Merge pull request #1187 from pazz/faq5Patrick Totzke2018-01-28
|\ \ | | | | | | mention unrendered HTML parts directly in message body text.
| * | mention unredered HTML parts in message body textPatrick Totzke2018-01-16
| | |
| * | ignore multipart subparts when extracting contentPatrick Totzke2018-01-02
| | | | | | | | | | | | | | | these are internal nodes in the mail tree and do not contain displayable content.
| * | mark inline part as attachment if no mailcap entry is foundPatrick Totzke2018-01-02
| | |
* | | Merge pull request #1190 from three-comrades/write_historyPatrick Totzke2018-01-28
|\ \ \ | | | | | | | | [WIP] Fix writing/loading history, if a command contains non-ascii character(s)
| * | | Fix writing/loading history, if a command contains a non-ascii character.Julian Mehne2018-01-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: - alot -l log -d debug - :search ö<enter> - quit alot - in log file: stacktrace with UnicodeEncodeError, when writing the histfile.
* | | | Merge pull request #1179 from three-comrades/themes_dirPatrick Totzke2018-01-28
|\ \ \ \ | | | | | | | | | | Bug fixes regarding XDG_* variable expansion + adds general env expansion
| * | | | Remove blank lines and fix docstrings.Julian Mehne2018-01-24
| | | | |
| * | | | Put expand_environment_and_home inside _expand_config_values.Julian Mehne2018-01-23
| | | | |
| * | | | Expand environment variables when reading the config file.Julian Mehne2018-01-23
| | | | |
| * | | | Set changed values in mock.patch.dict call itself.Julian Mehne2018-01-23
| | | | |
| * | | | Rename get_env to get_xdg_env and clarify docstring.Julian Mehne2018-01-23
| | | | |
| * | | | Store settings in alot.rc.spec.Julian Mehne2018-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | - allows users to use $XDG_CONFIG_HOME, as well - stores information in single places.
| * | | | Document the default values of template_dir and themes_dir.Julian Mehne2018-01-21
| | | | |
| * | | | Improve logging messages.Julian Mehne2018-01-21
| | | | |
| * | | | Fix empty XDG_* environment variables.Julian Mehne2018-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use fallback, if an enviroment variable is unset *or* empty. Bug: - XDG_CONFIG_HOME='' alot Problem: Does not find the configuration file (among others), because os.environ.get('XDG_CONFIG_HOME', '~/.config') returns '', instead of '~/.config'.
| * | | | De-duplicate code with helper function.Julian Mehne2018-01-21
| | | | |
| * | | | Move processing of setting to the right place.Julian Mehne2018-01-21
| | | | |
| * | | | Fix `:compose --template=foo` if default template_dir is used.Julian Mehne2018-01-21
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the following bug: To reproduce:: - Don't define `template_dir` in the user configuration file, such that the default value is used. - Run: :compose --template=foobar Problem: Displays error: `no template directory: $XDG_CONFIG_HOME/alot/templates`
* | | | Merge pull request #1188 from lucc/fix-test-outputLucas Hoffmann2018-01-09
|\ \ \ \ | | | | | | | | | | Fix test output
| * | | | Use any() instead of a for loop with a break statementLucas Hoffmann2018-01-09
| | | | |
| * | | | Move code out of with blockLucas Hoffmann2018-01-08
| | | | | | | | | | | | | | | | | | | | | | | | | The code doesn't need the context manager to be active, hence it can run outside of the with block.