2723 Commits

Author SHA1 Message Date
ZyX
4c6a2e3e59 Also check that MIME type matches during tests
MIME type names are inconsistent across different systems, so only first
component is used. For example, `file` in Travis Ubuntu detects Python scripts
as `text/x-java`, in Gentoo these are `text/x-python`.

Travis Ubuntu also uses magic file format different from the one
sys-apps/file-5.22 from Gentoo has, making it impossible to fix the issue by
just copying the files from my system.
2015-02-19 02:48:03 +03:00
ZyX
e233ca7a54 Fix compiling C client when using Python-2.6
`shlex.split` is inadequate when it receives Unicode strings: `u'-O3'` is split 
into a single argument that looks like `'-\x00O\x003\x00'`.
2015-02-15 01:19:06 +03:00
ZyX
c1bcaaad9e Merge branch 'pep440' into develop 2015-02-15 01:06:45 +03:00
ZyX
99830bad49 Use PEP440-compatible versions
Fixes #1310
2015-02-15 01:04:58 +03:00
Nikolai Aleksandrovich Pavlov
9823701a55 Merge pull request #1305 from sryze/patch-1
Fix link to colorschemes section
2015-02-08 00:56:57 +03:00
Sergey Zolotarev
e112eb4ec4 Fix link to colorschemes section 2015-02-08 02:31:53 +05:00
Nikolai Aleksandrovich Pavlov
fc7057c85b Merge pull request #1300 from ZyX-I/stabilize-vterm-tests
Another attempt to stabilize vterm tests
2015-02-07 22:08:05 +03:00
ZyX
04feda5922 Merge branch 'update-documentation' into develop 2015-02-07 18:51:18 +03:00
ZyX
9e5bd5c1af Replace obsolete advice to copy the entire configuration 2015-02-07 18:50:47 +03:00
ZyX
66c6128b66 Wait less in vterm tmux tests 2015-02-07 11:14:09 +03:00
ZyX
d5d138f83d Do not bother with testing or setting POWERLINE_CONFIG_COMMAND
Instead just test whether using $POWERLINE_CONFIG_COMMAND succeeds and if it 
does not run just `powerline-config tmux setup`. Problem is that tests in vterm 
fail *not* because sleeping time is too short, but because `powerline-config 
tmux setup` for some reason is not launched at all. I am not sure whether this 
construct is going to fix things.

Also ref #875. I am very unsure this commit will fix the issue, but since I do 
not know what is the reason for this issue at all… who knows.
2015-02-07 11:13:16 +03:00
Nikolai Aleksandrovich Pavlov
e280313b0f Merge pull request #1299 from ZyX-I/stabilize-vterm-tests
Wait more before failing tmux vterm tests
2015-02-07 05:13:57 +03:00
ZyX
92d4beffa4 Wait more before failing tmux vterm tests
May fix random test failures.
2015-02-07 05:00:37 +03:00
Nikolai Aleksandrovich Pavlov
43a9a2552a Merge pull request #1290 from ZyX-I/pdb
Add support for Python debugger
2015-02-07 04:27:43 +03:00
Nikolai Aleksandrovich Pavlov
b40e45a0e7 Merge pull request #1297 from seanfisk/c-client-connect-size
Fix socket address size on non-Linux platforms.
2015-02-05 07:25:07 +03:00
Sean Fisk
17e0f74eb0 Fix socket address size on non-Linux platforms. 2015-02-04 15:35:56 -05:00
ZyX
d57be8324a Do not alter the way keys are fed with PyPy 2015-02-02 00:12:06 +03:00
ZyX
f4e3c3099f Remove everything up until class Foo(object): in pdb tests
PyPy3 displays prompt two times on the line where `s` is present.
2015-02-01 12:13:56 +03:00
ZyX
c3e541d16a Remove empty lines 2015-02-01 12:08:09 +03:00
ZyX
0db8154b9a Document how to pdb bindings with Python-2.6 and update tests 2015-01-31 21:44:43 +03:00
ZyX
e63a1c7cb5 Display the log after long wait 2015-01-31 21:34:26 +03:00
ZyX
d8252f66b7 Move main() into powerline.bindings.pdb 2015-01-31 21:34:26 +03:00
ZyX
f9d65fb34d Do not wait for too long in do_run_test 2015-01-31 20:25:40 +03:00
ZyX
2ef5107628 Import overrides from environment in PDB prompts 2015-01-31 20:23:10 +03:00
ZyX
5bc68b66fe Define all groups in both default and solarized colorschemes 2015-01-31 18:54:14 +03:00
ZyX
f74320fba8 Add unit tests for pdb segments 2015-01-31 18:54:13 +03:00
ZyX
27291b5e0e Force ASCII-only prompt when using PyPy 2015-01-31 18:54:13 +03:00
ZyX
682a9ab504 Warn that PyPy is not supported 2015-01-31 18:54:13 +03:00
ZyX
deacb9ab02 Add some methods to PowerlineRenderResult
This is an attempt to fix PDB prompt on PyPy. Does not work.
2015-01-31 18:54:13 +03:00
ZyX
ef02ab70fb Also test powerline.bindings.pdb module 2015-01-31 18:52:04 +03:00
ZyX
47dbdd571d Add pdb integration tests 2015-01-31 18:52:04 +03:00
ZyX
cac9754fcf Add pdb-specific segments and make default theme use them 2015-01-31 18:52:04 +03:00
ZyX
b0d295301b Add some hacks to make code compatible with pdbpp 2015-01-31 18:44:41 +03:00
ZyX
9bbec772e0 Add support for pdb prompt
Note: pdbpp is not supported, it has lots of problems with unicode<-->str
conversion (either explicit or implicit).
2015-01-31 18:44:41 +03:00
ZyX
7250cd4bd8 Use :py:meth for referring to methods 2015-01-31 18:44:41 +03:00
ZyX
36d64bc3da Remove unused get_segment_info method 2015-01-31 18:44:40 +03:00
ZyX
f5d96743fe Move IPython prompt and rcsh renderers into a separate module
Some applications that use readline use same variants of telling it where
highlighting starts and ends. This module will also be used for pdb.
2015-01-31 18:44:40 +03:00
Nikolai Aleksandrovich Pavlov
cddfc364c1 Merge pull request #1289 from ZyX-I/fix-lint-hl-groups
Fix highlight groups linting
2015-01-31 15:36:46 +03:00
ZyX
72d9b8305a Fix linter errors: add necessary highlight groups or fix docstrings
Fixes #1136
2015-01-31 15:15:34 +03:00
ZyX
3b56cf748b Fix linting of highlight groups
Currently checks for highlight group existence do not work. With this commit
tests will fail due to #1136.
2015-01-31 15:14:38 +03:00
ZyX
b22562b028 Merge branch 'fix-1286' into develop 2015-01-26 20:39:49 +03:00
ZyX
c606db75a5 Remove call to a removed function
Function was removed in a90b080 (“Remove all exports”), but call survived.

Fixes #1286
2015-01-26 20:39:11 +03:00
Nikolai Aleksandrovich Pavlov
edec4215c1 Merge pull request #1285 from ZyX-I/fixed-1256
Add BAR support with i3 bindings
2015-01-25 19:20:09 +03:00
ZyX
ff0631c625 Make sure powerline class knows that it will use UTF-8 2015-01-25 17:17:24 +03:00
ZyX
ea9eae676f Always write UTF-8 string 2015-01-25 17:17:24 +03:00
ZyX
1e7dc7900d Fix issues found in 1256 pull request
Ref #1256
2015-01-25 12:51:19 +03:00
S0lll0s
dd77d420a3 Add BAR (bar ain't recursive) renderer and fitting i3 bindings 2015-01-25 12:26:13 +03:00
Nikolai Aleksandrovich Pavlov
9dfd40a6a7 Merge pull request #1284 from ZyX-I/update-zpython
Update zpython bindings according to new zpython changes
2015-01-25 02:23:20 +03:00
Nikolai Aleksandrovich Pavlov
c0e5ef6710 Merge pull request #1283 from ZyX-I/fix-configuration-tests
When testing Vim do not rely on test order and do not save state

Ref #1256
2015-01-25 02:11:39 +03:00
ZyX
614c17d115 Do not use zsh.eval to unset special value 2015-01-25 02:08:36 +03:00