Commit Graph

2019 Commits

Author SHA1 Message Date
Saúl Ibarra Corretgé 36737867b1 pyuv: make stopping the loop thread-safe 2014-12-12 09:41:53 +01:00
Nikolai Aleksandrovich Pavlov f34ab66ea2 Merge pull request #1226 from gladiac/cflags
Honor CFLAGS
2014-12-11 21:27:05 +03:00
Andreas Schneider e373b36d00 setup: Honor CFLAGS set as environment variable
Distributions normally have their preferred set of CFLAGS so the
binaries are optimized and include debug symbols to create a debuginfo
package. For this we need to be able to set the CFLAGS via the
commandline and the setup.py should forward them to the compiler.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2014-12-10 16:16:46 +01:00
Nikolai Aleksandrovich Pavlov c3d4934ccd Merge pull request #1231 from ZyX-I/fix-1225
Some Vims that have vim.vvars do not accept unicode indexes
2014-12-09 21:17:46 +03:00
ZyX 267ea05860 Some Vims that have vim.vvars do not accept unicode indexes
Fixes #1225
2014-12-09 19:19:13 +03:00
ZyX 35a83cacc7 Merge commit 'HEAD@{1}' into develop 2014-12-09 19:13:40 +03:00
ZyX bb3295d247 Fix typo in battery segment implementation
Fixes #1229
2014-12-09 19:13:31 +03:00
ZyX 3fadacae97 Merge commit 'HEAD@{1}' into develop 2014-12-08 21:53:00 +03:00
ZyX 6f999cb291 Update list of supported python implementations in installation.rst 2014-12-08 21:52:54 +03:00
Nikolai Aleksandrovich Pavlov 5cfbcd4813 Merge pull request #1224 from ZyX-I/pypy3
Enable pypy3 tests
2014-12-08 21:34:35 +03:00
ZyX 9e454235b3 Skip testing cpu_load_percent if psutil module is not available 2014-12-08 21:15:39 +03:00
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