Nikolai Aleksandrovich Pavlov
e02e6dc1c7
Merge pull request #1265 from ZyX-I/fix-1264
...
Fix tmux bindings and add functional test for tmux
2015-01-17 00:55:49 +03:00
ZyX
6f6c466bc3
Make sure LD_LIBRARY_PATH and PYTHONPATH are exported
...
LD_LIBRARY_PATH is required for UCS2 CPython versions.
2015-01-17 00:41:28 +03:00
ZyX
f0d0ad1bfd
Make sure PyPy3 is not used with vterm tests
2015-01-17 00:26:12 +03:00
ZyX
1e25c5ec42
After failing tmux vterm tests run powerline-config
...
Its output may give some clue.
2015-01-17 00:26:12 +03:00
ZyX
a0edcccecf
Increase sleeping time
...
It appears that just one second is not enough for travis
2015-01-17 00:26:12 +03:00
ZyX
44273f299b
Do not print the whole screen unles something went wrong
2015-01-17 00:26:12 +03:00
ZyX
c43bd06bd6
Use `env` for running $POWERLINE_CONFIG_COMMAND
...
This way we are making sure that this variable is always treated as a single
path to executable which is not so in case of `eval`.
2015-01-17 00:26:12 +03:00
ZyX
faef4585b2
Add support for old tmux versions in tests
...
Tmux-1.6 does not have special highlighting for previously active window. Other
then that view is identical.
2015-01-17 00:26:12 +03:00
ZyX
edb416f611
Make sure tmux will run powerline-config *after* testing env var
...
It appears that old tmux *also* spawns `if-shell` tests in background
effectively making it impossible to use in config like it was used before.
2015-01-17 00:26:12 +03:00
ZyX
b23daa251c
Join setenv and source actions into one
...
It appears that tmux-1.6 is not able to function properly. Most likely this is
because prior to some tmux version running shell commands in background is the
default and only option and starting from some version `run-shell` does not run
processes in background *by default*.
This means that `source` action is run while `setenv` action is running and
since `source` needs to load a bunch of configuration files, *including*
importing a bunch of modules when creating renderer `source` and corresponding
tmux actions are finished earlier.
It is only a guess though: I am not even seeing race condition: `source` *is*
run, `setenv` also *is*, but `source` is *always* before `setenv`.
2015-01-17 00:26:12 +03:00
ZyX
70b1e342c4
Rename .bindings.config.init_environment to init_tmux_environment
...
Otherwise it is not clear what environment is initialised.
2015-01-17 00:26:11 +03:00
ZyX
939b2ca013
Replace empty attributes list with `none`
...
Tmux-1.6 also thinks that empty value for window-status-…-attr options is
invalid
2015-01-17 00:26:11 +03:00
ZyX
9db1e7b76e
Use tmux executable from fake PATH for running tmux
...
Otherwise with system tmux present it may appear that subprocess.check_call will
use it instead.
2015-01-17 00:26:11 +03:00
ZyX
d9ed3a3117
Do not use “no…” attributes in legacy options
...
Tmux-1.6 found in travis does not accept this.
2015-01-17 00:26:11 +03:00
ZyX
a4525c8b0d
Remove invalid label and fix typo in Rcsh prompt documentation
2015-01-17 00:26:11 +03:00
ZyX
93acec238e
Create vterm-based tests that will test tmux support
...
It is possible that they eventually will be used also for shells: at least this
makes using postproc.py with all its hacks not needed.
2015-01-17 00:26:11 +03:00
ZyX
02aa123d80
Merge branch 'pull-1271' into develop
...
This is squashed version of six commits from PR that adds support for battery
status on cygwin platform.
Closes #1271
2015-01-15 20:53:38 +03:00
Michael Snead
59bd853752
Change to ctypes, remove WMIC
2015-01-15 20:53:10 +03:00
aikeru
93295fd49f
Add support for cygwin battery status using WMIC
2015-01-15 20:52:59 +03:00
Nikolai Aleksandrovich Pavlov
761a035765
Merge pull request #1270 from ZyX-I/fix-1268
...
Make sure python_to_vim function is able to format lists
2015-01-12 07:54:04 +03:00
ZyX
f1aeb7a59a
Make sure python_to_vim function is able to format lists
...
Fixes #1268
2015-01-11 18:21:03 +03:00
ZyX
4abeab04bd
Make ext a list
...
Ref #1264
2015-01-11 00:34:54 +03:00
ZyX
5d73ca814a
Add missing argument to os.environ
...
Fixes #1264
2015-01-11 00:22:52 +03:00
Nikolai Aleksandrovich Pavlov
d562844a1a
Merge pull request #1263 from ZyX-I/rc-remove-read-failed
...
When using `rc` remove “read() failed” messages
2015-01-09 18:37:08 +03:00
ZyX
9511c45e6f
Make sure to remove logs before retrying
2015-01-09 17:42:20 +03:00
ZyX
0a8e94d031
When using `rc` remove “read() failed” messages
2015-01-09 17:40:05 +03:00
ZyX
1a2e741337
Merge branch 'now_playing-doc-fixes' into develop
2015-01-09 16:54:03 +03:00
ZyX
435baf95d3
Allow wrapping of RTD tables
2015-01-09 16:52:01 +03:00
Nikolai Aleksandrovich Pavlov
886c38c37b
Merge pull request #1260 from ZyX-I/doc-fixes
...
Some documentation changes
2015-01-08 19:55:22 +03:00
ZyX
7dbbc1003b
Remove you from most of the documentation
2015-01-08 18:24:09 +03:00
Nikolai Aleksandrovich Pavlov
8f43fb6f20
Merge pull request #1259 from ZyX-I/replace-foreground
...
Allow --foreground to be used with --replace
2015-01-08 18:22:48 +03:00
ZyX
b00d7ee356
Prettify --quiet daemon argument definition
2015-01-08 17:08:25 +03:00
ZyX
99505751d0
Add line breaks to powerline/commands/config.py
2015-01-08 17:07:08 +03:00
ZyX
d37711a47e
Prettify powerline.commands.lint
2015-01-08 17:05:18 +03:00
ZyX
84b0fa0232
Enhance --renderer-module documentation
2015-01-08 17:03:15 +03:00
ZyX
2faa1584d6
Format powerline/commands/main.py to make it more readable
2015-01-08 16:58:28 +03:00
ZyX
afcd8e4f46
Fix typo in rcsh support documentation
2015-01-08 16:50:48 +03:00
ZyX
0c37948c37
Allow --foreground to be used with --replace
...
Fixes #1235
2015-01-08 16:48:42 +03:00
Nikolai Aleksandrovich Pavlov
3547ed0db9
Merge pull request #1255 from ZyX-I/rc-shell
...
Add support for Byron Rakitzis’ rc shell reimplementation
2015-01-08 04:31:05 +03:00
ZyX
c6bf5fb512
Add support for Byron Rakitzis’ rc shell reimplementation
...
Fixes #1238
2015-01-08 03:32:13 +03:00
ZyX
0942b3d8c4
Make sure that if client_id is None then width is not used
2015-01-08 03:32:12 +03:00
Nikolai Aleksandrovich Pavlov
3ba6948d56
Merge pull request #1257 from ZyX-I/ipython-fixes
...
Apply some fixes for IPython bindings
2015-01-08 03:28:46 +03:00
ZyX
d6e0dc7169
Use more then one attempt to run shell tests
...
They are rather unstable, especially IPython + PyPy, but others also are.
2015-01-08 03:12:11 +03:00
ZyX
652613a776
Make Powerline.render respect output_width as well
2015-01-08 03:05:01 +03:00
ZyX
2961e98922
Supply correct config_paths
2015-01-08 03:05:01 +03:00
ZyX
6b23430b27
Make sure client_id for IPython is not None
2015-01-08 03:05:00 +03:00
Nikolai Aleksandrovich Pavlov
eb026d3829
Merge pull request #1254 from ZyX-I/fix-zpython-bindings
...
Supply default_mode in zpython bindings
2015-01-08 00:01:57 +03:00
Nikolai Aleksandrovich Pavlov
594c6df611
Merge pull request #1253 from ZyX-I/fix-lint
...
Fix powerline-lint
2015-01-08 00:01:03 +03:00
ZyX
25b6643026
Supply default_mode in zpython bindings
2015-01-07 21:30:24 +03:00
ZyX
7eed352a50
Rewrite file loading code
...
Apparently old variant did not bother to check user configuration and in any
case was unnecessary complex.
2015-01-07 21:25:46 +03:00