Commit Graph

1456 Commits

Author SHA1 Message Date
Nikolai Aleksandrovich Pavlov 074e118d70 Merge pull request #938 from ZyX-I/noloadpython
Do not let powerline trigger loading wrong python
2014-07-29 16:14:38 +04:00
ZyX 191c71cf53 Do not let powerline trigger loading wrong python
Used python version is controlled by `g:powerline_pycmd`. User configuration now
has top priority: if `g:powerline_pyeval` is set powerline will not try to use
`pyeval()` emulation in old Vim versions.

Closes #937 as WONTFIX
2014-07-29 14:57:55 +04:00
ZyX c91a0fa769 Remove note about Gentoo ebuild
It is not hosted in this repo any longer.
2014-07-29 14:31:17 +04:00
ZyX 68ba8a270e Merge commit '6a08168' into develop 2014-07-28 03:36:38 +04:00
ZyX 6a081685e5 Fix “syntax error near unexpected token `fi'” error 2014-07-28 03:36:15 +04:00
ZyX 9e023d14f7 Merge branch 'disable-dash-tests' into develop 2014-07-28 03:31:01 +04:00
ZyX d1b62eba45 Disable dash tests
Temporary fix for #931
2014-07-28 03:30:51 +04:00
ZyX 8c7908c131 Merge commit 'HEAD@{2}' (PR #802, squashed) into develop
Closes #935
Ref #302
Closes #300
Merges #802
Ref #769
2014-07-28 03:24:20 +04:00
Nikolai Aleksandrovich Pavlov 9a02f82d27 Merge pull request #934 from ZyX-I/fix-932
Ignore IOErrors in ConfigLoader.update
2014-07-26 01:58:39 +04:00
ZyX d0c4d4e266 Ignore IOError’s in ConfigLoader.update
Fixes #932
2014-07-26 01:46:54 +04:00
ZyX a279ea236c Also check error messages 2014-07-26 01:46:54 +04:00
ZyX 5cb897dd57 Merge branch 'fix-933' into develop 2014-07-26 01:11:18 +04:00
ZyX cd5c6fe719 Make sure arguments in `args` are only strings
Required for python-2.6

Fixes #933
2014-07-26 01:10:39 +04:00
ZyX 5f7fbda29a Merge branch 'fix-powerline-config' into develop
Ref #930
2014-07-23 01:48:09 +04:00
ZyX 1447be1ddc Add missing imports in powerline-config
They matter when script is used without properly installing powerline, so that 
importing `powerline.bindings.config` does not work.
2014-07-23 01:47:46 +04:00
ZyX e72ca9d775 Merge branch 'sh-support' into develop
Closes #928
2014-07-20 02:07:34 +04:00
ZyX 97e4ee6799 Document why `stuff` and waiting are used for dash 2014-07-20 02:04:44 +04:00
ZyX 855e33274e Fix travis build: on travis “Terminated…” message is truncated 2014-07-20 02:00:56 +04:00
ZyX 5425c06476 Add tests for new functionality 2014-07-20 01:53:25 +04:00
ZyX b2406d983d Disable libzpython support in zsh 2014-07-20 00:43:19 +04:00
ZyX 82e433906c Fix shell tests: VIRTUAL_ENV is not accessible by powerline by default 2014-07-20 00:35:37 +04:00
ZyX a8da67e2aa Add various other shell implementations support
Tested in busybox, mksh, ksh and dash. Ksh has issues described in 
troubleshooting.
2014-07-20 00:24:12 +04:00
ZyX 3d12662f8b Refactor _powerline_init_tmux_support
- Move _powerline_tmux* functions definitions out of
  _powerline_init_tmux_support.
- Do not touch PROMPT_COMMAND unless tmux support is to be added.
2014-07-19 21:38:49 +04:00
ZyX d86064436d Rename some bash powerline functions
Renamed `_powerline_prompt` to `_powerline_set_prompt` and `_run_powerline` to 
`_powerline_prompt.`

Reason: name `_run_powerline` is not consistent with other names used in shell 
bindings.
2014-07-19 20:34:39 +04:00
Nikolai Aleksandrovich Pavlov 402554a194 Merge pull request #927 from ZyX-I/move-POWERLINE_COMMAND
Do not define POWERLINE_COMMAND when not using prompt
2014-07-19 20:19:58 +04:00
ZyX face17174c Do not define POWERLINE_COMMAND when not using prompt
To be consistent with fish and bash
2014-07-19 20:08:47 +04:00
Nikolai Aleksandrovich Pavlov 8f0bbd37bd Merge pull request #926 from ZyX-I/fix-cygwin-COLUMNS
Use `stty size` or zero as a fallback for $COLUMNS
2014-07-19 20:06:44 +04:00
ZyX f92e6eb54c Use `stty size` or zero as a fallback for $COLUMNS
Fixes #924
2014-07-19 19:56:31 +04:00
Nikolai Aleksandrovich Pavlov 12a93c57ad Merge pull request #921 from ZyX-I/colorschemes-hierarchy
Implement colorschemes hierarchy

Fixes #770.
2014-07-12 14:35:49 +04:00
ZyX f5735148e8 Add group aliasing and colorscheme hierarchy tests 2014-07-12 14:22:23 +04:00
ZyX 3ebf9c1a81 Use highlighted_string function to define segments 2014-07-12 14:08:05 +04:00
ZyX 576971c5f1 Fix test class name in test_configuration 2014-07-12 13:48:04 +04:00
ZyX 9af7834463 Disable shell tests in PyPy
Do not let PyPy SEGVs result in failed build.
2014-07-12 13:46:28 +04:00
ZyX 621eb8412d Fix tests 2014-07-12 12:20:40 +04:00
ZyX ba63965a25 Refactor some vim colorschemes to use group aliases 2014-07-12 12:20:40 +04:00
ZyX 2d27f82122 Make lint checker work 2014-07-12 12:20:40 +04:00
ZyX 8ded14c3d8 Add mergedicts_copy: non-modifying mergedicts 2014-07-12 12:20:40 +04:00
ZyX 4d9157d7f1 Add MarkedDict class, add special code for .copy() in Marked 2014-07-12 12:20:40 +04:00
ZyX ee71eac7b2 Check for dictionaries using isinstance(), not is 2014-07-12 12:20:40 +04:00
ZyX 7f94583324 Make attr colorscheme group key required 2014-07-12 12:20:40 +04:00
ZyX d72e4f5081 Update documentation 2014-07-12 12:20:40 +04:00
ZyX e79eada2a0 Move some color defintions to colorscheme/*.json 2014-07-12 12:20:40 +04:00
ZyX 97266b7ffc Initial support for #770
What was done:
- Implemented loading using configuration hierarhy as proposed in the issue
- Implemented group aliasing

What was not:
- Some tests (config_reload) are failing
- Other (test_configuration) are spamming console with unexpected messages
- No support for powerline-lint
- No tests for new functionality
- Specifically I have not checked whether group aliasing actually works
- Colorschemes were not ported

Some other things: I have named this branch `config-ng` because I have other
ideas about configuration and it would be good to include them making only one
possibly backwards-incompatible merge commit instead of many. Specifically I am
going to rebase `merge-config` branch here.
2014-07-12 12:20:40 +04:00
ZyX 2d1a964e32 Merge branch 'disable-virtualenv-prompt' into develop 2014-07-10 23:40:26 +04:00
ZyX ff7be9ac40 Set VIRTUAL_ENV_DISABLE_PROMPT to 1
Otherwise powerline prompt is being prefixed by `(virtualenv-name)` in zsh which 
looks rather ugly. In bash prompt is always overridden by PROMPT_COMMAND, thus 
there is no actual need to set this variable.
2014-07-10 23:40:15 +04:00
Nikolai Aleksandrovich Pavlov 0fb5405af6 Merge pull request #920 from ZyX-I/fix-not-implemented-tests
Improve vim tests
2014-07-10 23:30:53 +04:00
ZyX 93c3b28785 Use better type converted for python-3*
Converter already existed, just needed to make it used by getbufvar
2014-07-10 23:25:08 +04:00
ZyX 128921454f Correct _construct_result for Python-3 2014-07-10 23:24:58 +04:00
ZyX a92d72b5d7 Respect the fact that vim.eval in Vim returns str instances 2014-07-10 22:54:27 +04:00
ZyX 3ac75eeca6 Add window_title tests 2014-07-10 22:33:10 +04:00