Commit Graph

2008 Commits

Author SHA1 Message Date
ZyX c617dbe6d8 Fall back to getuid if geteuid is not available
It appears to be missing in PyPy3
2014-12-08 20:00:46 +03:00
ZyX 8ae3d2aeaf Fix typo in install.sh 2014-12-08 08:42:08 +03:00
ZyX 1871d4581f Enable pypy3 tests 2014-12-08 08:41:46 +03:00
Nikolai Aleksandrovich Pavlov 6633f27a28 Merge pull request #1223 from ZyX-I/move-powerline
Update various URLs: powerline has moved to github.com/powerline
2014-12-08 08:37:39 +03:00
Nikolai Aleksandrovich Pavlov 4a6445b2ad Merge pull request #1222 from ZyX-I/update-themes
Add unicode-7.0 theme and some small theme fixes
2014-12-08 08:37:35 +03:00
ZyX db5d87f9e3 Update various URLs: powerline has moved to github.com/powerline 2014-12-07 16:08:24 +03:00
ZyX cd4cae83ba Mention powerline_unicode7 in documentation 2014-12-07 03:20:03 +03:00
ZyX 38da7bb639 Make all modes have equal width in all themes 2014-12-06 19:32:04 +03:00
ZyX 0457ef405f Alias `blustery` to `windy` and not `foggy` 2014-12-06 19:29:16 +03:00
ZyX e969f43f2a Add troubleshooting question about powerline_unicode7 player symbols 2014-12-06 19:28:58 +03:00
ZyX f4c4c1e6d5 Add theme with unicode-7.0 symbols
- All powerline symbols, except for dividers, were replaced with Unicode ones,
  mostly from Unicode-7.0.
- Player statuses are using U+23Fx symbols. I have found it only in Symbola font
  though, so one may need to tell fontconfig to use it using something like

      <?xml version="1.0"?>
      <!DOCTYPE fontconfig SYSTEM "fonts.dtd">

      <fontconfig>
      	<alias>
      		<family>Terminus</family>
      		<prefer><family>Symbola</family></prefer>
      	</alias>
      </fontconfig>

- Modified indicator is using two characters: floppy disk and diacritics
  character that crosses it (WHITE HARD SHELL FLOPPY DISK + COMBINING REVERSE 
  SOLIDUS OVERLAY). It is not always displayed correctly.
- Vim cannot currently correctly handle Unicode-7.0 characters. [See this
  thread][1].
- `powerline.segments.vim.mode` got strings with identical width.

[1]: https://groups.google.com/forum/#!topic/vim_dev/zgY0r9UbKT4
2014-12-06 19:15:40 +03:00
Nikolai Aleksandrovich Pavlov d2a1106c04 Merge pull request #1206 from ZyX-I/fbterm-support
Add support for fbterm
2014-12-06 17:08:41 +03:00
ZyX 033422aff2 Add tests for various shell escapes variants 2014-12-06 16:53:00 +03:00
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