ZyX
66e0999147
Document configuration merging
2014-08-05 13:56:02 +04:00
ZyX
01585edeab
Fix errors reported by linter, allow running it during tests
2014-08-05 13:56:02 +04:00
ZyX
2fd04348f7
Fix name regex: allow single-letter names
2014-08-05 13:56:02 +04:00
ZyX
27db44ac7a
Implement configuration merging
...
Fixes #418
2014-08-05 13:56:02 +04:00
ZyX
3d77306c35
Some style fixes in powerline.lint
2014-08-05 13:42:21 +04:00
ZyX
b043749daa
Add support for pickle
2014-08-05 13:39:48 +04:00
ZyX
2296290037
Add MarkedList type
2014-08-05 13:39:48 +04:00
ZyX
f482eea8be
Merge branch 'quiet-tmux' into develop
2014-08-05 00:18:09 +04:00
ZyX
0c3e380fe0
Set all options quietly
...
Requires tmux 1.7 or later, so `-q` is not used in 1.8 and earlier configuration
file.
Closes #942
2014-08-05 00:17:58 +04:00
ZyX
7286e7876f
Merge branch 'tmux-refresh' into develop
2014-08-05 00:07:32 +04:00
ZyX
4bb217a05c
Run refresh-client in tmux not depending on POWERLINE_COMMAND
...
Ref #942
2014-08-05 00:07:25 +04:00
Nikolai Aleksandrovich Pavlov
d5964bc25b
Merge pull request #955 from ZyX-I/faster-powerline_daemon
...
Do not use argparge for parsing environment
2014-08-04 03:55:52 +04:00
ZyX
203a374b54
Do not use argparge for parsing --env and --cwd
...
It took 2/3 of do_render call according to profiler. New variant takes only 1/6.
WARNING: This commit will break all powerline installations with running daemon
because it changes communication protocol. You must kill and restart all your
powerline daemons for powerline to function properly.
Highlight @kovidgoyal
2014-08-04 03:02:05 +04:00
ZyX
da45adb9e6
Make it compile without warnings with -Wconversion
2014-08-04 03:02:05 +04:00
ZyX
a5037a817b
Fix powerline.c styling
...
Also makes it compile with -std=c89 (except for snprintf) or just -std=c99,
-Wall, -pedantic.
2014-08-04 03:02:05 +04:00
ZyX
088d1f0f58
Merge branch 'strip-renderer_arg-key' into develop
2014-08-04 00:18:03 +04:00
ZyX
cfb107724f
Exclude renderer_arg from daemon powerline objects cache
...
It may easily change between runs from one client and only affects segment_info
which is regenerated always.
2014-08-04 00:17:41 +04:00
Nikolai Aleksandrovich Pavlov
4343e4edb4
Merge pull request #954 from ZyX-I/file-scheme
...
Add file_scheme segment
2014-08-04 00:12:22 +04:00
ZyX
50703f1cef
Fix unicode/bytes handling for python-3
2014-08-04 00:07:30 +04:00
ZyX
74a3c9a0ca
Add file_scheme segment
...
Fixes #207
2014-08-03 23:58:34 +04:00
Nikolai Aleksandrovich Pavlov
e89832be14
Merge pull request #953 from ZyX-I/powerline-shell-help
...
Make powerline --help more useful
2014-08-03 22:47:41 +04:00
ZyX
3d1f9bfbbd
Allow multiple arguments to `powerline[-lint] --config_path`
2014-08-03 22:22:59 +04:00
ZyX
780c919d88
Add documentation for `powerline --help`
2014-08-03 22:04:09 +04:00
ZyX
4f94afd612
Merge branch '946-troubleshooting' into develop
2014-08-03 18:56:30 +04:00
ZyX
ead7e3f0fe
Add troubleshooting information discovered in #946
2014-08-03 18:56:14 +04:00
Nikolai Aleksandrovich Pavlov
3983e9f711
Merge pull request #950 from ZyX-I/bufwinnr-segments
...
Add buffer and window number segments
2014-08-03 13:38:45 +04:00
ZyX
120a9cc8fa
Add winnr segment
...
Closes #705
2014-08-03 13:25:58 +04:00
ZyX
f877516e54
Add bufnr segment
...
Ref #705
2014-08-03 13:25:58 +04:00
Nikolai Aleksandrovich Pavlov
1cc46c7126
Merge pull request #948 from ZyX-I/tabline
...
Add tabline support
2014-08-03 13:24:26 +04:00
ZyX
1b8c092ae3
Make dividers unicode
...
Fixes travis problem with old vim
2014-08-03 13:13:49 +04:00
ZyX
43acf07ca0
Modify test_tabline to also test bufline
2014-08-03 12:53:53 +04:00
ZyX
6cf0c485fa
Add single_tab segment
2014-08-03 12:53:53 +04:00
ZyX
2acefc9ac9
Add tabbuflister and buflister listers
2014-08-03 12:53:53 +04:00
ZyX
85f252652e
Add tabnr segment
2014-08-03 12:53:53 +04:00
ZyX
f02399b617
Add tabpage and tabnr arguments to segment_info
2014-08-03 12:53:16 +04:00
ZyX
1907708e98
Add support for has_key(gettabwinvar()) in vim test module
2014-08-03 12:53:16 +04:00
ZyX
0403f7af1a
Fix renderer length computation
...
Current sum() of once computed _len’s is completely inappropriate in case
removal of the segment caused change in divider lengths: addition or removal of
dividers or change of the divider type when dividers have different length.
Also contains some optimizations: first of all _render_segments is called only
once always, same for strwidth() function for each string. Space is considired
to always have length 1. And do not bother computing any length if no width was
specified.
2014-08-03 12:53:16 +04:00
ZyX
3148acfef1
Set __bool__ to __nonzero__ in DelayedEchoErr
...
Method __nonzero__ was renamed to __bool__ in Python-3
2014-08-03 12:53:15 +04:00
ZyX
b99ad3904e
Remove some __nonzero__ methods in tests/vim.py
...
Just __len__ is good enough here
2014-08-03 12:53:15 +04:00
ZyX
07c533d1b2
Test tabline in test_tabline.vim file
2014-08-03 12:53:15 +04:00
ZyX
ff91ff7f92
Update tests to work with new functionality
...
Still no tests for new functionality.
2014-08-03 12:53:15 +04:00
ZyX
70ae12b512
Added tabline support
...
No tests for it yet
2014-08-03 12:53:15 +04:00
ZyX
0ecd10ffb2
Add ability to copy recursive specifications
2014-08-03 12:53:15 +04:00
ZyX
23ec5efb41
Fix required keys handling: do not require more keys then required
2014-08-03 12:53:15 +04:00
Nikolai Aleksandrovich Pavlov
fc40c80be2
Merge pull request #947 from magus424/feature/556-line_count-segment
...
Added line_count segment for vim.
Closes #556
2014-08-03 10:40:01 +04:00
Collin Grady
f615d85172
Added line_count segment for vim.
...
Returns total number of lines in current buffer.
Addresses #556
2014-08-03 05:54:57 +00:00
Nikolai Aleksandrovich Pavlov
da6667bd14
Merge pull request #945 from ZyX-I/update-docs
...
Update documentation
2014-08-03 03:40:26 +04:00
ZyX
d5081acf38
Add note about minibufexpl
...
Closes #230
2014-08-03 03:22:34 +04:00
ZyX
5173246a93
Add note about automatic vimrc resourcing
...
Ref #297
Ref #296
Closes #213
2014-08-03 03:22:25 +04:00
ZyX
2e34e1914c
Add code for Vundle installations and related warning
...
Ref #414
Closes #378
2014-08-03 03:06:39 +04:00