2310 Commits

Author SHA1 Message Date
Foo
bd9359c983 Use direct execution by default
Should make it not needed to bother with environment variables. Makes tmux
configuration more fragile.

Is a different variant of fixing #1354. Does not conflict with the previous one,
so both are kept.
2015-05-10 15:07:02 +03:00
Foo
9f7e59d0cf Ignore some tmux failures
Fixes #1354
2015-05-09 00:13:44 +03:00
Nikolai Aleksandrovich Pavlov
034b7d529d Merge pull request #1348 from ZyX-I/fix-1347
Fix warning when &l:statusline is set to a unicode value
2015-04-17 23:21:24 +03:00
Foo
d464ff84bb Fix warning when &l:statusline is set to a unicode value
This normally should not happen because &l:stl should be powerline-controlled,
but some plugins do this.

Fixes #1347
2015-04-17 22:36:23 +03:00
Nikolai Aleksandrovich Pavlov
1fad6f4b52 Merge pull request #1344 from powerline/revert-1343-patch-1
Revert "Add note on outdated ArchLinux AUR Packages."
2015-04-04 22:43:32 +03:00
Kim Silkebækken
e4640742b9 Revert "Add note on outdated ArchLinux AUR Packages." 2015-04-04 18:22:00 +02:00
Nikolai Aleksandrovich Pavlov
6b2b6d1e1a Merge pull request #1343 from radriaanse/patch-1
Add note on outdated ArchLinux AUR Packages.

Closes #1341
2015-04-04 15:36:19 +03:00
Remy Adriaanse
a17d7c8395 Add note on outdated ArchLinux AUR Packages. 2015-04-04 09:46:32 +02:00
Foo
364fc4dcd9 Merge commit 'HEAD@{1}' into develop 2015-04-03 22:42:41 +03:00
Foo
07cae386eb Reword troubleshooting question regarding automatic vimrc resoursing
Ref #1342
2015-04-03 22:42:23 +03:00
Nikolai Aleksandrovich Pavlov
7eda0e5c3d Merge pull request #1332 from ZyX-I/fix-1331
Always write str() objects to the stream in echoerr
2015-03-11 22:53:24 +03:00
Foo
6ca78c7383 Merge branch 'fix-1329' into develop 2015-03-11 22:50:00 +03:00
Foo
ff49538c04 Do not leak environment and home directory in documentation
Fixes #1329
2015-03-11 22:49:36 +03:00
Foo
9960a8fdc5 Always write str() objects to the stream in echoerr
Fixes #1331
2015-03-11 22:08:39 +03:00
Nikolai Aleksandrovich Pavlov
6b0cd3d37c Merge pull request #1327 from ZyX-I/fix-1322
Do not write empty lines above prompt and fix tcsh
2015-03-01 17:41:51 +03:00
Foo
10c0c5be5d Add above tests for bash, fish and zsh 2015-03-01 17:25:03 +03:00
Foo
4a3798b43b Fix tcsh renderer: end prompt with a sequence that is not dropped 2015-03-01 17:25:03 +03:00
Foo
209bff34dd Do not write empty lines from above, do not reset hl for empty lines
Fixes #1322
2015-03-01 16:25:28 +03:00
Nikolai Aleksandrovich Pavlov
333116d526 Merge pull request #1325 from ZyX-I/fix-su
Add missing highlight groups

Closes #1320 
Replaces #1323
2015-03-01 14:53:03 +03:00
Foo
17d73dd36f Define __eq__ for marks 2015-03-01 14:29:07 +03:00
Foo
93d2109589 Make messages from either check more sane 2015-03-01 14:26:28 +03:00
Foo
704d4a47b3 Remove non-keyword arguments from echoerr function 2015-03-01 14:26:28 +03:00
Foo
b88a2535d4 Add definitions for missing highlight groups 2015-03-01 14:26:28 +03:00
Foo
2d9e759f41 Make sure that check_group actually tests presense of some group
It was not much useful actually: e.g. it skipped the fact that warning:regular
highlight group was not defined.
2015-03-01 14:26:27 +03:00
Nikolai Aleksandrovich Pavlov
d797a25fa8 Merge pull request #1319 from ZyX-I/zsh-resource
Use special function for appending to precmd_functions
2015-02-27 00:41:16 +03:00
ZyX
76f73687cf Use special function for appending to precmd_functions
This way there appear no duplicates.
2015-02-23 15:59:21 +03:00
Nikolai Aleksandrovich Pavlov
ca6797055a Merge pull request #1317 from ZyX-I/gentoo-tests
Add some fixes for testing from ebuild
2015-02-21 20:33:05 +03:00
ZyX
3bf484de25 Break on self.quitting line
This may also cause python-3.2 pdb test to error out.
2015-02-21 19:55:39 +03:00
ZyX
68b43c59be Disable pdb PyPy tests completely
They currently fail for the reason that does not seem related to powerline
(though this problem did not occur before porting tests to pexpect, so this
should be somewhat related (somewhat: PyPy fails on code `return br'\u%04x'
% ord(c)` which is no a valid Python code (`%` can no longer be used with
`bytes()` obects), the whole situation only means that before using pexpect bug
in PyPy was not hit)).
2015-02-21 19:55:39 +03:00
ZyX
0058919c2b Remove blank lines from pdb output
It is the problem that causes python-3.2 pdb tests to fail on travis.
2015-02-21 19:55:39 +03:00
ZyX
9a89d4defa Do not special-case PyPy+ipython 2015-02-21 19:55:39 +03:00
ZyX
74e81bf788 Restore the timeout
There may be a reason for a test to take 3 minutes long, but there is no reason
for the test to take even half a minute long *without any output*.
2015-02-21 19:55:39 +03:00
ZyX
678faed4c2 Force destroying child after everything was done
Normally this line should not do anything useful.
2015-02-21 19:55:39 +03:00
ZyX
b7c7d29aa0 Use “non-blocking” read and stop on TIMEOUT and EOF 2015-02-21 19:55:39 +03:00
ZyX
deee40505d Do not repeat if more times then needed 2015-02-21 19:55:39 +03:00
ZyX
38a05b34d7 Do not use “which ipython” in echo since it is no longer relevant 2015-02-21 19:55:38 +03:00
ZyX
6a6991bcb4 Use 3 minutes for timeout 2015-02-21 19:55:38 +03:00
ZyX
7d98218b64 Do not wait, just .read()
.read() without arguments should read until EOF is received.
2015-02-21 19:55:38 +03:00
ZyX
0a87b558d9 Do not use child.wait(), it hangs 2015-02-21 19:55:38 +03:00
ZyX
0710f2760f Open log as binary file for writing
Child output is binary.
2015-02-21 16:11:04 +03:00
ZyX
d5361337c1 Use script to test whether python zsh uses matches $PYTHON 2015-02-21 16:08:50 +03:00
ZyX
0f86bbf819 In place of running ipython executable run IPython module
This should fix the problem with using wrong ipython for tests.
2015-02-21 15:59:10 +03:00
ZyX
b2ecb8ca84 Do not append PYTHON to *_REPO paths
$PYTHON variable is sometimes a full path which makes everything fail. It is
also useless move since directories are destroyed after tests and running two
test.sh scripts in parallel is not supported in any case.
2015-02-21 15:59:10 +03:00
ZyX
bb6342c12a Tell tmux correct path to shell to use 2015-02-21 15:59:10 +03:00
ZyX
d53c780071 Do not use absolute path for tmux socket
Absolute path is too long when using tests in ebuild.
2015-02-21 15:59:10 +03:00
ZyX
1e85f5df15 Disable vterm tests for PyPy completely 2015-02-21 15:59:10 +03:00
ZyX
22162a9656 Replace screen-based tests with pexpect-based tests
Currently works for all tests, but dash ones. Not much of a problem since dash
tests were disabled for being unstable.
2015-02-21 15:59:10 +03:00
ZyX
8524ee35e7 Ignore stderr from printf and env
socat may close pipe before they succeed to write something which results in

    env: write error: Broken pipe

(according to my experience leading printf’s always succeeds to write before
socat closes pipe).
2015-02-21 13:56:58 +03:00
ZyX
838a7c3b15 Fix the case when $0 is a path
I.e. something like /home/zyx/.vam/powerline/tests/shell/path/mksh.
2015-02-21 13:46:35 +03:00
ZyX
e6b3bff50a Rerun main() only after running finally block 2015-02-21 04:35:56 +03:00