Commit Graph

1336 Commits

Author SHA1 Message Date
ZyX-I c100c90b08 Merge pull request #855 from afflux/feature/fix-zsh-mode-display
fix default mode display in zsh bindings
2014-04-05 03:53:37 +04:00
Kjell Braden 96d89ae81b fix default mode in zsh bindings 2014-04-04 13:11:37 +02:00
ZyX b856fa5a82 Merge branch 'fix-no-clients-error' into develop 2014-03-28 08:57:24 +04:00
ZyX 45cc73aa8d Use “tmux refresh -S” to check for tmux presence
Reason: tmux may be launched and $TMUX set, but current shell still not under 
tmux (and most likely there are no active session). In this case `tmux refresh 
-S` may fail with “no clients” message, which is annoying.
2014-03-28 08:56:04 +04:00
ZyX f9764b9c98 Merge branch 'fix-tmux-support' into develop
Ref #672
2014-03-21 19:33:40 +04:00
ZyX 36e1854018 Fix tmux guard 2014-03-21 19:28:41 +04:00
ZyX b9a0444172 Merge branch 'more-powerline-symbols-fonts' into develop 2014-03-17 19:27:21 +04:00
ZyX e094e3c5a9 Add more Droid Sans Mono families
Fixes #830
2014-03-17 19:26:43 +04:00
ZyX-I c5692bf94f Merge pull request #841 from ZyX-I/no-pl-unicode-exceptions
Do not allow unicode-related exceptions inside logger
2014-03-15 00:33:24 +03:00
ZyX 839038d58e Also move FailedUnicode to powerline/lib/unicode 2014-03-15 01:27:10 +04:00
ZyX d8562256c1 Do not allow unicode-related exceptions inside logger
Fixes #421
2014-03-13 23:41:25 +04:00
ZyX 7965134e26 Merge branch 'fix-intro' into develop 2014-03-13 23:27:17 +04:00
ZyX 993402fe6c Do not use :redrawstatus!: it makes intro disappear
It seems that old fix for old code is no longer needed. At least I do not see 
any problems with

    vim -u NONE -S ~/.vam/powerline/powerline/bindings/vim/plugin/powerline.vim --cmd 'set ls=2'

.

Fixes #250
2014-03-13 23:27:06 +04:00
ZyX b4644ffd29 Add fix for old vims
Old vim versions did not support both unicode() and str() in python2 bindings in 
a number of places.

Fixes #829
2014-03-13 21:14:20 +04:00
ZyX-I 820b5ec4ef Merge pull request #840 from ZyX-I/review-res-fixes
Fixes #819.
2014-03-13 20:12:12 +03:00
ZyX 94155405f0 Suggest URIs under query_url description 2014-03-13 20:55:00 +04:00
ZyX e51d7a9dd3 Add fuzzy_time(unicode_text) argument 2014-03-13 20:54:07 +04:00
ZyX 3cf3fb8f8e Document istime date argument 2014-03-13 20:48:19 +04:00
ZyX 3f1e621f1d Add ellipsis argument to cwd segment 2014-03-13 20:47:06 +04:00
ZyX c3b4654bfb Fix flake8 complaints 2014-03-13 20:41:54 +04:00
ZyX 076134a741 Merge branch 'bash-keep-status' into develop 2014-03-13 20:37:12 +04:00
ZyX 2b5b6af002 Put _powerline_prompt at the start
Reason: $? may be overridden by the previous commands in PROMPT_COMMAND that do 
not keep it like _powerline_prompt does (see `return $last_exit_code`). 
(@ascrane)

Closes #836
2014-03-13 20:35:20 +04:00
ZyX-I 534b0434f3 Merge pull request #838 from ZyX-I/new-psutil-fixes
New psutil fixes
2014-03-13 19:32:39 +03:00
ZyX 55858e1a9d Fix tests for new psutil 2014-03-13 20:05:52 +04:00
ZyX 678d47c61e Switch comments 2014-03-13 19:41:59 +04:00
ZyX ecf26dfbc6 Update powerline for new psutil
Fixes #835
2014-03-13 19:40:34 +04:00
ZyX-I 70a94ee7d3 Merge pull request #822 from ZyX-I/threaded-fixes
Some fixes for powerline.lib.threaded

Fixes #813
2014-02-26 07:28:45 +03:00
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