Nikolai Aleksandrovich Pavlov
1d696d3d4c
Merge pull request #944 from ZyX-I/feature/daemon
...
Add powerline-daemon
Closes #827
Fixes #616
Closes #170
2014-08-02 22:37:03 +04:00
ZyX
8bc5bb3ff4
Update documentation
2014-08-02 22:30:54 +04:00
ZyX
4ddac2a2f5
Do not run `set-environment` in tmux if POWERLINE_COMMAND is set
2014-08-02 22:30:54 +04:00
ZyX
ea7f3b6501
Add powerline-daemon --quiet
2014-08-02 22:20:06 +04:00
ZyX
44cca97566
Check whether daemon log is as empty as it should
2014-08-02 22:03:22 +04:00
ZyX
28aee92c51
Fix zsh daemon tests: disable hostname and user before testing select
...
Reason: hostname and user do not have stable width and select prompt width with
daemon depends on previous prompt width.
2014-08-02 21:56:37 +04:00
ZyX
9da3e04bc2
Do not hardcode scripts/powerline in input.*
2014-08-02 21:31:01 +04:00
ZyX
f3d972849e
Fall back to powerline-render when using powerline.sh
2014-08-02 21:31:01 +04:00
ZyX
fed43e8af5
Run shell tests with and without daemon
2014-08-02 21:31:01 +04:00
ZyX
9290c2a23b
Make daemon work with aboveleft shell key
2014-08-02 21:31:01 +04:00
ZyX
8374a66ca7
Also use the same code for tmux
2014-08-02 21:31:00 +04:00
ZyX
05384e31e4
Add `powerline-config shell command` and use it in all shell bindings
2014-08-02 21:31:00 +04:00
ZyX
925d3eb0e4
Show exception in setup.py and try to fall back to powerline.sh
2014-08-02 21:31:00 +04:00
ZyX
95dcef8bf8
Some style fixes
2014-08-02 21:30:51 +04:00
ZyX
3b060562e2
Fix UnicodeDecodeError in Python version of powerline client
2014-08-02 19:46:04 +04:00
ZyX
e37b13cc44
Remove compiled binary from repository
2014-08-02 18:56:44 +04:00
ZyX
e613beb8df
Add shell version of powerline-client
...
Note: this shell script is still faster then client/powerline.py. `time` reports
0.00, 0.01, 0.02÷0.03 for powerline, powerline.sh and powerline.py
respectively (run with `./client/powerline* tmux right`).
Note: does not work in busybox as env there does not support -0 argument.
Requires sed, id (for dash as $UID is not available there), env, printf
and socat. Is not currently handled by setup.py.
2014-08-02 18:53:25 +04:00
ZyX
7db428667c
Get rid of modeline E518 error
2014-08-02 18:53:25 +04:00
ZyX
a27f90df62
Add a note about not fully working --editable to linux.rst
2014-08-02 18:53:24 +04:00
ZyX
21ee641a02
Do not use scripts=[] to install powerline at all.
2014-08-02 18:53:24 +04:00
ZyX
75536825ba
Use powerline/powerline-render pair in place of powerline-client/powerline
2014-08-02 18:52:52 +04:00
ZyX
c1d290b570
Use data_files on python-3
2014-08-02 18:45:43 +04:00
Kim Silkebækken
a122e73b9b
Add files from @kovidgoyal's powerline-daemon repo
...
Minor changes have been applied:
- Removed copyright info and GPL 3 license since Powerline is MIT (needs
confirmation from kovidgoyal before merge)
- The `powerline-client` script is renamed to `powerline`, and calls the
daemon or `powerline-render` (the previous `powerline`) to render
a statusline
- Minor coding style corrections to match the rest of the project
- Python 3 support is removed for now due to setuptools failing with
binary scripts
Todo:
- Automatically attempt to launch powerline-daemon the first time
powerline is run if the daemon isn't already running?
- pip install -e fails with binary files (it appears that pip recodes
the powerline binary to ASCII, the compiled powerline script must be
copied manually to ~/.local/bin after pip install -e has been run)
2014-08-02 18:45:18 +04:00
ZyX
6430877ec9
Merge branch 'trailing-whitespace-warning' into develop
...
Closes #943
2014-08-02 18:42:10 +04:00
ZyX
9e8c115eea
Add trailing whitespace segment
...
Note: by default this segment is disabled. Until #923 it may only be enabled by
copying the whole file and changing "enabled" to "true". After #923 it may be
enabled by having `~/.config/powerline/themes/vim/default.json` with the
following contents:
{
"segment_data": {
"trailing_whitespace": {
"display": true
}
}
}
Fixes #388
2014-08-02 18:39:16 +04:00
ZyX
16c01e8d64
Add support for display option
2014-08-02 18:37:22 +04:00
ZyX
90f3ca5afb
Merge branch 'update-powerline.vim-error' into develop
2014-07-29 16:24:50 +04:00
ZyX
8cb478f859
Add information about g:powerline_pycmd to error message
2014-07-29 16:24:38 +04:00
Nikolai Aleksandrovich Pavlov
074e118d70
Merge pull request #938 from ZyX-I/noloadpython
...
Do not let powerline trigger loading wrong python
2014-07-29 16:14:38 +04:00
ZyX
191c71cf53
Do not let powerline trigger loading wrong python
...
Used python version is controlled by `g:powerline_pycmd`. User configuration now
has top priority: if `g:powerline_pyeval` is set powerline will not try to use
`pyeval()` emulation in old Vim versions.
Closes #937 as WONTFIX
2014-07-29 14:57:55 +04:00
ZyX
c91a0fa769
Remove note about Gentoo ebuild
...
It is not hosted in this repo any longer.
2014-07-29 14:31:17 +04:00
ZyX
68ba8a270e
Merge commit '6a08168' into develop
2014-07-28 03:36:38 +04:00
ZyX
6a081685e5
Fix “syntax error near unexpected token `fi'” error
2014-07-28 03:36:15 +04:00
ZyX
9e023d14f7
Merge branch 'disable-dash-tests' into develop
2014-07-28 03:31:01 +04:00
ZyX
d1b62eba45
Disable dash tests
...
Temporary fix for #931
2014-07-28 03:30:51 +04:00
ZyX
8c7908c131
Merge commit 'HEAD@{2}' (PR #802 , squashed) into develop
...
Closes #935
Ref #302
Closes #300
Merges #802
Ref #769
2014-07-28 03:24:20 +04:00
Nikolai Aleksandrovich Pavlov
9a02f82d27
Merge pull request #934 from ZyX-I/fix-932
...
Ignore IOErrors in ConfigLoader.update
2014-07-26 01:58:39 +04:00
ZyX
d0c4d4e266
Ignore IOError’s in ConfigLoader.update
...
Fixes #932
2014-07-26 01:46:54 +04:00
ZyX
a279ea236c
Also check error messages
2014-07-26 01:46:54 +04:00
ZyX
5cb897dd57
Merge branch 'fix-933' into develop
2014-07-26 01:11:18 +04:00
ZyX
cd5c6fe719
Make sure arguments in `args` are only strings
...
Required for python-2.6
Fixes #933
2014-07-26 01:10:39 +04:00
ZyX
5f7fbda29a
Merge branch 'fix-powerline-config' into develop
...
Ref #930
2014-07-23 01:48:09 +04:00
ZyX
1447be1ddc
Add missing imports in powerline-config
...
They matter when script is used without properly installing powerline, so that
importing `powerline.bindings.config` does not work.
2014-07-23 01:47:46 +04:00
ZyX
e72ca9d775
Merge branch 'sh-support' into develop
...
Closes #928
2014-07-20 02:07:34 +04:00
ZyX
97e4ee6799
Document why `stuff` and waiting are used for dash
2014-07-20 02:04:44 +04:00
ZyX
855e33274e
Fix travis build: on travis “Terminated…” message is truncated
2014-07-20 02:00:56 +04:00
ZyX
5425c06476
Add tests for new functionality
2014-07-20 01:53:25 +04:00
ZyX
b2406d983d
Disable libzpython support in zsh
2014-07-20 00:43:19 +04:00
ZyX
82e433906c
Fix shell tests: VIRTUAL_ENV is not accessible by powerline by default
2014-07-20 00:35:37 +04:00
ZyX
a8da67e2aa
Add various other shell implementations support
...
Tested in busybox, mksh, ksh and dash. Ksh has issues described in
troubleshooting.
2014-07-20 00:24:12 +04:00