2183 Commits

Author SHA1 Message Date
ZyX
f8270a8e49 Skip some functions’ tests as they are buggy
They are buggy, but fixing them is out of the scope of this PR.
2014-12-05 23:15:52 +03:00
ZyX
cdfe6f03b2 Add support for running tests with debug Python versions
They are failing due to `[NNNN refs]` entries in daemon log and when switching 
modes in zsh without daemon, but who cares.
2014-12-05 23:09:21 +03:00
ZyX
df14aaaa9c Add tests for unicode module
Note: east_asian_width does not accept surrrogate pairs in UCS-4 Python builds.
2014-12-05 22:41:50 +03:00
ZyX
531d3e60c6 Fix code: unichr on UCS-2 builds cannot emit surrogate pairs 2014-12-05 22:39:59 +03:00
ZyX
6dc585b7ee Move strwidth function variants to powerline.lib.unicode
They can be tested thus.
2014-12-05 22:38:23 +03:00
ZyX
f3c8413043 Add a warning about UCS-2 builds to the documentation 2014-12-05 22:38:22 +03:00
ZyX
b5b033d512 Fix width calculations when using UCS-2 Python 2014-12-05 22:38:11 +03:00
ZyX
9576738bfa When parsing JSON join surrogate pairs
Also closes #1211
2014-12-04 22:34:00 +03:00
ZyX
52f3c83830 Also add spaces to the end of the window-status-format 2014-12-04 21:44:33 +03:00
ZyX
8d10664c62 In place of hardcoding spaces compute them 2014-12-04 21:42:48 +03:00
ZyX
1e4dee6e0f Fix colors used in tmux left side
Fixes #1214
2014-12-04 21:26:01 +03:00
ZyX
f37efeac5b lint: Do not allow non-printable characters in configuration 2014-12-04 21:18:51 +03:00
ZyX
2656953f24 Move some calculations into a separate function
Also moves non-printable character translation *before* width calculations which
is correct.
2014-12-04 21:18:51 +03:00
ZyX
3779ec5b29 Read the whole stream at once, not just 4096 characters
This may cause problems in case UTF-8 was read partially. Dunno how this code
survived in pyyaml.
2014-12-04 21:18:51 +03:00
ZyX
209d6be91e Add support for UCS-2 Python versions
Fixes #1213
2014-12-04 21:18:51 +03:00
Nikolai Aleksandrovich Pavlov
61f0542946 Merge pull request #1210 from ZyX-I/fix-1207
Only convert clementine title and album if they are true
2014-12-03 08:26:40 +03:00
ZyX
d061deb7e5 Only convert clementine title and album if they are true
It appears that at least album may be None.

Fixes #1207
2014-12-03 07:45:49 +03:00
Nikolai Aleksandrovich Pavlov
16ffd10672 Merge pull request #1208 from gladiac/shebang
lib: Remove wrong shebang from debug.py.
2014-12-03 07:30:16 +03:00
Andreas Schneider
9281f4a6c4 lib: Remove wrong shebang from debug.py. 2014-12-02 20:39:21 +01:00
ZyX
af9420b89f Mark term_escape_style setting as optional 2014-12-01 08:19:25 +03:00
ZyX
97816440cd Merge commit 'HEAD@{1}' into develop 2014-12-01 00:58:55 +03:00
ZyX
e8a53ebd9e Fix typo in capslock_indicator docstring 2014-12-01 00:58:48 +03:00
ZyX
aeba94b02d Add support for fbterm
No tests yet, also no tests for term_truecolor.
2014-12-01 00:57:29 +03:00
ZyX
88c5f400e4 Merge commit 'HEAD@{1}' into develop 2014-11-30 19:34:37 +03:00
ZyX
1af127b023 CommandT has moved finders under CommandT::Finder module, respect this 2014-11-30 19:34:27 +03:00
ZyX
4618dab2ec Merge branch 'replace-1151' into develop 2014-11-30 04:27:02 +03:00
ZyX
ebe5fca377 Reorder pip arguments in installation documentation
`--editable`/`-e` pip argument is accepting an argument, not specifying the
action.
2014-11-30 04:26:24 +03:00
ZyX
3fc8135835 Merge branch 'powerline-release-forcepush' into develop 2014-11-30 04:20:09 +03:00
ZyX
88233184ea Force push to my fork of the overlay 2014-11-30 04:02:56 +03:00
ZyX
fe3b8a41da Merge branch 'powerline-release-merge' into develop 2014-11-30 03:50:41 +03:00
ZyX
c9964a12f5 Use git mergetool after error because -c merge.tool does not work 2014-11-30 03:46:30 +03:00
ZyX
508f8f5eaa Supply merge.tool option when merging 2014-11-30 03:42:17 +03:00
ZyX
4624a1dc86 Merge commit 'HEAD@{1}' into develop 2014-11-30 03:23:18 +03:00
ZyX
a9aef12c34 Remove unused test files 2014-11-30 03:23:12 +03:00
Nikolai Aleksandrovich Pavlov
bf8f4a1496 Merge pull request #1203 from ZyX-I/cache-tagbar
Add more precise caching for tagbar segment
2014-11-30 03:13:41 +03:00
ZyX
f7d7e274f4 Implement caching for tagbar segment
Ref #700
2014-11-30 02:17:41 +03:00
ZyX
2304242ca2 Remove unused code 2014-11-30 02:17:41 +03:00
ZyX
8560e9261d Move code for checking existence and getting funcs into vim bindings 2014-11-30 02:17:41 +03:00
Nikolai Aleksandrovich Pavlov
7caf14f205 Merge pull request #1202 from ZyX-I/fix-1051
Use dash hack for PyPy+IPython
2014-11-30 00:37:40 +03:00
ZyX
1707f083e9 Modify postproc to make pypy tests work
Note: modification to test.sh is there because if running test outside of 
a virtualenv postproc.py will behave incorrectly.
2014-11-30 00:30:35 +03:00
ZyX
3f0d538584 Use dash hack for PyPy+IPython
Fixes #1051
Closes #919 (I hope so)
2014-11-29 21:40:06 +03:00
ZyX
b2c1bb9cf0 Merge commit 'HEAD@{1}' into develop 2014-11-29 20:58:29 +03:00
ZyX
aa18247f7b Add note about 70-no-bitmaps.conf fontconfig configuration file
Closes #1152
2014-11-29 20:57:59 +03:00
Nikolai Aleksandrovich Pavlov
3a3cc9b41c Merge pull request #1200 from ZyX-I/tmux-colors
Obtain tmux colors and dividers from the configuration
2014-11-29 20:15:20 +03:00
ZyX
0e81486494 Do not hardcode dividers in tmux configuration, use powerline-config
Fixes #817
2014-11-29 19:32:28 +03:00
ZyX
5146978870 Refactor some calls to run_tmux_command into a new function 2014-11-29 19:32:28 +03:00
ZyX
1348472f1e Rename setcolors to setenv, add documentation 2014-11-29 19:32:28 +03:00
ZyX
d62336f7a2 Add a way to specify configuration paths to powerline-config
One still cannot override various configuration options from the command-line.
2014-11-29 19:32:27 +03:00
ZyX
f3ba38e53d Move all configuration to powerline-base.conf
Reasoning: for some reason it does not work after `powerline-config tmux
setcolors`.

Fixes #717
2014-11-29 19:32:07 +03:00
ZyX
e6fc2911c2 Get color configuration from variables exported by setcolors 2014-11-29 13:28:45 +03:00