237 Commits

Author SHA1 Message Date
ZyX
b307ad7891 Fix default value of SPHINXBUILD variable 2014-10-12 19:37:59 +04:00
ZyX
2e1df4461e Update Makefile: remove unused gh-pages target and add latexpdf & help 2014-10-12 19:37:58 +04:00
ZyX
80b50733a0 Fix latex build: make some unicode characters found in help work 2014-10-12 19:37:15 +04:00
ZyX
2666491438 Document pyuv problem in troubleshooting section
Closes #5463
2014-10-12 17:03:34 +04:00
ZyX
b8a4d9b054 Add some workarounds for powerline-lint 2014-10-12 16:42:06 +04:00
ZyX
26365a9620 Split powerline.segments.common into a number of modules
Note: some modules (i.e wthr and bat) have their names in order to avoid the 
situation when module name matches segment name:

    import powerline.segments.common.weather

will import weather segment because `powerline.segments.common` contains line 
`from powerline.segments.common.weather import weather`.

Fixes #1083
2014-09-21 02:00:37 +04:00
ZyX
4826c4349d Update documentation regarding xterm
Closes #420
2014-09-20 18:30:34 +04:00
ZyX
77b0695caf Replace all ASCII ' with Unicode ’ in comments and docstrings 2014-09-20 17:48:15 +04:00
ZyX
2b5e9e0dc1 Replace all ASCII double quotes with Unicode quotes in documentation 2014-09-20 17:43:19 +04:00
ZyX
b94cfd98a4 Replace all ASCII apostrophs with Unicode ones in documentation 2014-09-20 17:40:33 +04:00
ZyX
f073437f02 Remove the only remaining reference to u' string prefix 2014-09-14 14:28:52 +04:00
ZyX
d14aecbc0a Use proper encoding to convert values in various places
Fixes #1072
2014-09-14 14:26:42 +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
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
60fb311463 Add a way to profile Vim bindings 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
54e12b1515 Use new functionality to replace tabbuflister and single_tab segment 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
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
986a69481f Update documentation 2014-09-02 21:49:23 +04:00
ZyX
06211cbe63 Unify imports
Now imports follow the following structure:

1. __future__ line: exactly one line allowed:

        from __future__ import (unicode_literals, division, absolute_import, print_function)

   (powerline.shell is the only exception due to problems with argparse).
2. Standard python library imports in a form `import X`.
3. Standard python library imports in a form `from X import Y`.
4. and 5. 2. and 3. for third-party (non-python and non-powerline imports).
6. 3. for powerline non-test imports.
7. and 8. 2. and 3. for powerline testing module imports.

Each list entry is separated by exactly one newline from another import. If
there is module docstring it goes between `# vim:` comment and `__future__`
import. So the structure containing all items is the following:

    #!/usr/bin/env python
    # vim:fileencoding=utf-8:noet

    '''Powerline super module'''

    import sys

    from argparse import ArgumentParser

    import psutil

    from colormath.color_diff import delta_e_cie2000

    from powerline.lib.unicode import u

    import tests.vim as vim_module

    from tests import TestCase

.
2014-09-01 00:25:24 +04:00
ZyX
aaed00e078 Fix installation notes location.
These notes are parts of the list entries.
2014-08-31 21:33:56 +04:00
ZyX
2505d0b827 Implement segment truncation
Closes #161 (requires implementation for specific segments though)
2014-08-30 18:22:52 +04:00
ZyX
d6c603daf0 Add support for segment.expand
Closes #154
2014-08-30 18:22:46 +04:00
ZyX
875f8e98b1 Update documentation 2014-08-30 17:59:58 +04:00
ZyX
f320fb3df3 Remove filler segment type
It was replaced with `"width": "auto"` and is not used anywhere. I do not even 
know whether it works.
2014-08-30 16:08:30 +04:00
ZyX
41476544ca Replace name and module keys with function key
Fixes #1031
2014-08-29 23:13:10 +04:00
ZyX
356cb43ea2 Add powerline_segment_datas attribute
Fixes #1035
2014-08-29 20:17:23 +04:00
ZyX
67845dc96e Add documentation for segment attributes 2014-08-29 20:17:23 +04:00
ZyX
8f70811768 Add another answer to troubleshooting section 2014-08-27 23:52:09 +04:00
ZyX
fe6cd47bdd Also add “Shell issues” section 2014-08-27 23:52:09 +04:00
ZyX
dfb08fad5a Separate some issues into “Vim issues” section in troubleshooting 2014-08-27 23:52:09 +04:00
ZyX
285a6aa3ce Fall back to ASCII-only theme in case of non-unicode locale 2014-08-27 23:52:09 +04:00
ZyX
d32b798c11 Add use_non_breaking_spaces theme option, use it in ascii theme 2014-08-27 23:52:09 +04:00
ZyX
37546f4ad2 Update shell powerline client OSX requirements in documentation 2014-08-26 19:31:10 +04:00
Matthew M. Keeler
88515ab472 Show Count of Attached Tmux Sessions
- This segment displays the number of attached tmux clients to the
  currently running session.
- The minimum argument is used to specify a threshold for when the
  segment should be visible.

Fixes #661
Closes #662

Conflicts:
	docs/source/index.rst
	powerline/config_files/colorschemes/shell/default.json
	powerline/config_files/colorschemes/shell/solarized.json
	powerline/config_files/colorschemes/tmux/default.json
	powerline/config_files/colorschemes/vim/default.json
	powerline/config_files/colorschemes/vim/solarized.json
	powerline/config_files/colorschemes/wm/default.json
	tests/test_segments.py
2014-08-24 20:56:59 +04:00
ZyX
f4e49e2ee6 Make powerline autodoc add all Segments 2014-08-24 19:50:54 +04:00
ZyX
6a8074a3d3 Update information about Vim version 2014-08-24 13:37:20 +04:00
ZyX
03c22e94a7 Make tcsh check whether some variables are defined or empty
Makes it consistent with other shells
2014-08-23 15:19:00 +04:00
ZyX
8e77262f2d Perform shell word splitting in zsh bindings
This makes POWERLINE_COMMAND be consistent across various bindings.
2014-08-23 15:19:00 +04:00
ZyX
28bcb01345 Update documentation 2014-08-19 22:24:10 +04:00
ZyX
a792fb0e1c Add support for draw_inner_divider in listers 2014-08-16 14:25:12 +04:00
ZyX
6106e914e3 Remove duplicate documentation of draw_inner_divider 2014-08-16 14:00:08 +04:00