Commit Graph

2345 Commits

Author SHA1 Message Date
Nikolai Aleksandrovich Pavlov 3a175fecf4 Merge pull request #1221 from ZyX-I/fix-lib-unicode
Fix some issues in powerline.lib.unicode
2014-12-06 15:57:42 +03:00
Nikolai Aleksandrovich Pavlov 7a6fc1ed75 Merge pull request #1219 from ZyX-I/limit-abstract-sockets-usage
Use sockets in abstract namespace only if running on linux
2014-12-06 15:05:46 +03:00
ZyX b80da891a1 Add documentation for `register_strwidth_error` and `string` functions 2014-12-06 15:02:07 +03:00
Nikolai Aleksandrovich Pavlov 158b6d0177 Merge pull request #1220 from ZyX-I/fix-higher-unicode
Fix higher unicode characters
2014-12-06 15:01:14 +03:00
ZyX f697d9ef67 Make FailedUnicode summary not too lengthy 2014-12-06 14:48:31 +03:00
ZyX 8707f35bc9 Fix safe_unicode and string unicode library functions 2014-12-06 14:47:53 +03:00
ZyX 87ca9bca5c Make unichr() work with characters above U+10000 in UCS-2 builds 2014-12-06 14:40:46 +03:00
ZyX 305b65f365 Fix regex that searches for non-printable characters 2014-12-06 14:40:46 +03:00
ZyX f0f6efcdbb Also have uname in $PATH
Travis uses Ubuntu, Ubuntu is debian-based and debian uses dash as /bin/sh, so 
$OSTYPE is not available.
.
2014-12-06 00:52:17 +03:00
ZyX aaf52c92c5 Use sockets in abstract namespace only if running on linux
Also adds fallback to shell client which uses `uname -o` in place of `ostype`.

Closes #1215
2014-12-06 00:05:25 +03:00
Nikolai Aleksandrovich Pavlov 432cc5031f Merge pull request #1217 from ZyX-I/ucs-2-python
Add support for UCS-2 Python builds
2014-12-05 23:46:40 +03:00
Nikolai Aleksandrovich Pavlov ad998cfd0c Merge pull request #1218 from ZyX-I/fix-1214
Fix tmux colors and alignment
2014-12-05 23:18:24 +03:00
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