Commit Graph

1108 Commits

Author SHA1 Message Date
ZyX 7df8918b39 Make code compatible with python-2.6
In python 2.6 Event.wait() always returns None making condition always True.
2014-02-26 08:24:56 +04:00
ZyX acff89a8e9 Remove useless lock 2014-02-26 08:15:26 +04:00
ZyX c08346000b Add after_update argument to prevent infinite recursion
Just in case.
2014-02-23 15:49:17 +04:00
ZyX e1eecea36d Do not use drop_interval 2014-02-23 15:49:11 +04:00
ZyX ba41cecb72 Add powerline.lib.threaded tests 2014-02-23 15:18:20 +04:00
ZyX 68a6fd056c Use monotonic() in place of time.time() 2014-02-23 14:44:36 +04:00
ZyX b1dba59170 Do not recompute key 2014-02-23 14:44:35 +04:00
ZyX 5111d9baf6 If update_first is False make it first wait and then update
Reason: otherwise it is likely that two updating processes are being run
simultaneously. With the current code it is not impossible as well, but less
likely.
2014-02-23 14:44:35 +04:00
ZyX 66a2087474 Use only get/set_update_value functions to access update_value
Also rename .skip to .crashed
2014-02-23 14:44:35 +04:00
ZyX 725ff69be0 Refactor KwThreadedSegment
Fixes #813
2014-02-22 17:24:21 +04:00
ZyX-I 84765838d5 Merge pull request #809 from ZyX-I/zsh-local-themes
Add support for [R]PS2 and PS3 prompts
2014-02-16 20:26:29 +03:00
ZyX 19da7b28a0 Add powerline-lint support for new local themes 2014-02-16 21:25:49 +04:00
ZyX 58d5d6b078 Remove failing test 2014-02-16 21:22:05 +04:00
ZyX 22b1c7437a Also update solarized colorscheme 2014-02-16 21:19:44 +04:00
ZyX a86c66f4e0 Update zsh tests
Note: to make prompt fancy enough powerline-daemon should be used. Otherwise 
continuation prompt length is different from what was expected:

With daemon:

    user > env > path > if true ; then
                 then > fi

Without:

    user > env > path > if true ; then
    then > fi

Fixes #771 as I do not want to touch tcsh any longer
2014-02-16 21:15:57 +04:00
ZyX cf0d0944b0 Add zpython support 2014-02-16 21:11:37 +04:00
ZyX 5c33de7a24 Also test zsh local themes 2014-02-16 20:52:22 +04:00
ZyX 7eed06f149 Make themes/shell/select.json look better 2014-02-16 20:52:02 +04:00
ZyX 8718bf76ce Add tests for continuation segment 2014-02-16 20:41:01 +04:00
ZyX 1f4c77db5d Do not take number of subsegments into account, work without parser_state 2014-02-16 20:40:40 +04:00
ZyX 772a09d01b Make PS2 display something more meaningful: add continuation segment 2014-02-16 20:28:59 +04:00
ZyX aff028e4e9 Add support for zsh local themes
Still missing: parser state

Ref #771
2014-02-16 20:06:32 +04:00
ZyX 01ef26354f Fix renderer_arg metavar 2014-02-16 19:59:06 +04:00
ZyX 0d49c06846 Allow more then one -R be effective 2014-02-16 19:17:06 +04:00
ZyX 3aec68449f Use tuple in place of single-element list 2014-02-16 16:44:01 +04:00
ZyX-I cf4c1e05ad Merge pull request #365 from kierun/develop
Added terminus font and urxvt documentation.
2014-02-16 03:30:35 +03:00
ZyX 9328cec3c9 Merge branch 'no-exception-format' into develop 2014-02-16 03:37:21 +04:00
ZyX 70a9da61f4 Format in PowerlineLogger._log, not in pl.exception arguments 2014-02-16 03:36:02 +04:00
ZyX 08a2e75241 Merge branch 'fix-449' into develop 2014-02-16 02:55:05 +04:00
ZyX 8483683738 Make virtcol_current_gradient background color match line_current color
Fixes #449
2014-02-16 02:53:51 +04:00
ZyX 2f400e90b3 Merge branch 'realpath' into develop 2014-02-16 01:25:18 +04:00
ZyX 25212a7dd6 Use os.path.realpath() before os.path.abspath()
Closes #454
Fixes #413
2014-02-16 01:25:10 +04:00
ZyX-I 1faf118fa3 Merge pull request #807 from ZyX-I/improved-troubleshooting
Improved troubleshooting
2014-02-15 23:43:04 +03:00
ZyX 7ab74ab73b Remove duplicate troubleshooting question 2014-02-16 00:41:44 +04:00
ZyX f384055f32 A few style fixes 2014-02-16 00:40:22 +04:00
ZyX d6f7f11491 Add more spaces so that python indentation will be correct 2014-02-16 00:38:36 +04:00
ZyX 7e65332ddf Remove outdated information from troubleshooting 2014-02-16 00:37:17 +04:00
ZyX 13df3d376e More improved troubleshooting 2014-02-16 00:36:57 +04:00
ZyX 536427f4be Make powerline.vim work in compatible mode 2014-02-16 00:35:38 +04:00
ZyX-I 1fbd92bb88 Merge pull request #806 from ZyX-I/shell-fixes
Shell fixes: TMUX support for su[do] and modes on old zsh
2014-02-15 20:05:41 +03:00
ZyX adaefddd19 Merge branch 'i3-fixes' into develop 2014-02-15 21:06:51 +04:00
ZyX dfdc12b45a Move i3bgbar.py to i3bar.py 2014-02-15 21:04:40 +04:00
ZyX 8041ea0956 Some style fixes 2014-02-15 21:01:14 +04:00
ZyX 1add2b63de Disable mode support on <=zsh-4.3.10
Fixes #800
2014-02-15 20:47:20 +04:00
ZyX 6c1571139f Check for TMUX only once, check whether $TMUX is writeable
Fixes #801
2014-02-15 20:27:31 +04:00
ZyX 4e6cd08078 In fish also check for presence of powerline in $PATH 2014-02-15 20:10:07 +04:00
ZyX-I 97c93fc7c0 Merge pull request #782 from S0lll0s/feature/i3
Add i3 bindings, segments and renderer
2014-02-09 15:46:35 +03:00
S0lll0s def68a2dc2 Update documentation to include i3 instructions 2014-02-09 12:45:01 +01:00
S0lll0s 9548c44119 Fix highlighting groups for workspaces segment 2014-02-09 12:10:18 +01:00
S0lll0s 8cb11d8915 Adapt to python3 / __future__ print statement 2014-02-09 12:03:47 +01:00