Commit Graph

1833 Commits

Author SHA1 Message Date
ZyX c8b1334969 Do not use _POWERLINE_SHORTENED_PATH or unset it shortly after using
Fixes #1068
2014-09-08 23:31:33 +04:00
Nikolai Aleksandrovich Pavlov 9e686823a5 Merge pull request #1067 from ZyX-I/fix-1066
Add proper errno attribute to exception raised by uv watcher
2014-09-07 23:30:40 +04:00
ZyX fb022b7917 Check that exception from watcher has errno attribute equal to ENOENT 2014-09-07 23:23:23 +04:00
ZyX 9f7286e4e9 Raise OSError with errno=ENOENT from uv watcher
Fixes #1066
2014-09-07 23:20:49 +04:00
Nikolai Aleksandrovich Pavlov 5f37ab7e3e Merge pull request #1065 from ZyX-I/fix-1064
Fix some possible unicode errors
2014-09-07 21:09:49 +04:00
ZyX becb3b1395 Convert shortened path to unicode
Fixes #1064
2014-09-07 20:59:04 +04:00
ZyX a962f7eeab Replace u() function with out_u for safer unicode conversion 2014-09-07 20:56:35 +04:00
ZyX c8baa5535d Merge branch 'manifest-docs' into develop 2014-09-07 15:09:40 +04:00
ZyX 1c34b48265 Include documentation in the sdist package 2014-09-07 14:44:51 +04:00
ZyX 02b9071753 Merge commit 'HEAD@{1}' into develop 2014-09-06 22:45:45 +04:00
ZyX 074966aeb6 Replace “package” with “module” in a number of places
Ref #1059
2014-09-06 22:45:25 +04:00
Nikolai Aleksandrovich Pavlov 14b48d69a4 Merge pull request #1061 from ZyX-I/powerline-vim-paths
Replace g:powerline_config_path Vim variable with …_paths list
2014-09-05 22:37:02 +04:00
ZyX 05cb133dd4 Replace g:powerline_config_path Vim variable with …_paths list
This is for consistency with other powerline bindings that now all do have a way 
to specify a list of paths.
2014-09-05 22:13:51 +04:00
ZyX 682846dcd5 Merge branch 'doc-fixes' into develop 2014-09-05 20:41:03 +04:00
ZyX 41f573659b Fix typo in label ID 2014-09-05 20:40:09 +04:00
ZyX 9eceaf3f3f Move docs/source/selectors* to the appropriate place 2014-09-05 20:39:40 +04:00
ZyX 4bcb0e154f Include tips-and-tricks for developers into develop.rst toctree 2014-09-05 20:39:22 +04:00
ZyX 51e778cd41 Always use `code-block` to format code there 2014-09-05 20:36:09 +04:00
ZyX dc5969e8df Mention `powerline-status` PyPI package in installation documentation
Fixes #1057
2014-09-05 20:33:26 +04:00
ZyX e7ad1f5717 Merge commit 'HEAD@{1}' into develop 2014-09-05 20:28:10 +04:00
ZyX c0459dbebe Rename `beta` version to `dev` 2014-09-05 20:27:52 +04:00
Nikolai Aleksandrovich Pavlov 766efe3754 Merge pull request #1058 from ZyX-I/tabline-fixes
Improve tabline support
2014-09-05 20:23:11 +04:00
ZyX 68263beec4 Show current buffer, window and tabpage number by default
Fixes #1048
2014-09-05 20:00:21 +04:00
ZyX 42bd619866 Remove `{module}.{function}` default highlighting group
It is both not documented and not supported by linter in any case.
2014-09-05 20:00:21 +04:00
ZyX f916fe819f Use less precise algorythm for width computations under stress
Makes #1047 far less bad
2014-09-05 20:00:20 +04:00
ZyX 60fb311463 Add a way to profile Vim bindings 2014-09-05 20:00:20 +04:00
ZyX d569c0b3dd Skip identical highlighting
Fixes #1049
2014-09-05 20:00:20 +04:00
ZyX 1a5bbbea96 Replace segment-local modes with highlight_group_prefix option
Fixes #1046
2014-09-05 20:00:20 +04:00
ZyX b7504c7178 Do not require using `priority_multiplier` key 2014-09-05 20:00:20 +04:00
ZyX 667cd4bce5 Assume highlight group is always an iterable
According to the documentation and linter `'highlight_group': 'string'` was not
correct even at the current stage, but it worked. This commit fixes this
situation.
2014-09-05 20:00:20 +04:00
ZyX adc08d0cd8 Filter subsegments for segment lister prior to using lister 2014-09-05 20:00:20 +04:00
ZyX 786543c977 Filter None values when computing subsegments for segment listers 2014-09-05 20:00:19 +04:00
ZyX 54e12b1515 Use new functionality to replace tabbuflister and single_tab segment 2014-09-05 20:00:19 +04:00
ZyX c5ca1b23c4 Use class setup/teardown methods to use vim module mock 2014-09-05 20:00:19 +04:00
ZyX 7bf025ca2b Add `exclude_/include_function` support
This is first step towards fixing #1046.
2014-09-05 20:00:19 +04:00
ZyX bc557bd656 Use replace_item to add module `bar` to sys.modules
Tests should not leave modified environment.
2014-09-04 21:38:49 +04:00
ZyX 96b2cb8f10 Fix spaces-only line in configuration.rst 2014-09-04 21:38:49 +04:00
ZyX 9947bb300a Reference sections where all segments are listed 2014-09-04 21:38:49 +04:00
ZyX ea2fd28292 Merge exclude_modes and include_modes documentation 2014-09-04 21:38:49 +04:00
ZyX b5a551eb56 Fix typos in exclude/include_modes documentation 2014-09-04 19:34:29 +04:00
ZyX 479bc7fca4 Do not raise from gen_segment_getter 2014-09-04 19:09:15 +04:00
ZyX bd719ba134 Make too long line in segment.py more readable 2014-09-04 19:05:30 +04:00
ZyX 00d3dfbc19 Merge branch 'pypi' into develop 2014-09-04 18:27:15 +04:00
ZyX 1d4349ce72 Exclude *.pyc files in bindings directory 2014-09-04 09:13:08 +04:00
ZyX a221e82af1 Also include client files in the distribution 2014-09-04 09:09:45 +04:00
ZyX 2a515b7849 Use PyPI name in setup.py 2014-09-04 08:46:29 +04:00
ZyX 2a73f031a0 Add download_url, license and classifiers to setup.py 2014-09-04 08:46:03 +04:00
Nikolai Aleksandrovich Pavlov 31ccd2907a Merge pull request #1056 from ZyX-I/vim-troubleshooting
Improve vim troubleshooting
2014-09-04 08:42:04 +04:00
ZyX 8588885b04 In vim tests check for printed messages 2014-09-04 08:32:36 +04:00
ZyX 0bb14dbe9c Make it immune to the absense of powerline_appended_path 2014-09-04 08:29:08 +04:00