Commit Graph

1896 Commits

Author SHA1 Message Date
ZyX 99e531ec0e Make all metavars uppercased 2014-10-25 22:03:33 +04:00
ZyX e58aa8f62d Improve powerline-config help and require --shell argument 2014-10-25 22:03:33 +04:00
ZyX fadd1eec17 Move all parser definitions to powerline.commands.*.get_argparser()
Reasoning: they will be easier to reach there. It will also be possible to use
specific ArgumentParser class that will just collect data for sphinx.
2014-10-25 22:03:33 +04:00
Nikolai Aleksandrovich Pavlov c2425f6a2a Merge pull request #1133 from ZyX-I/build-version
Record git hash in dev version
2014-10-25 14:53:07 +04:00
ZyX 4a689ad648 Strip trailing newline returned by rev-parse 2014-10-25 13:06:46 +04:00
ZyX 2106be4066 Save git hex revision in powerline version string if possible
Only useful for `pip install git+git://` or `pip install /some/directory` 
installations (note: commands come without `--editable`/`-e`).
2014-10-19 00:05:51 +04:00
Nikolai Aleksandrovich Pavlov f0d2f2884e Merge pull request #1123 from ZyX-I/weather-diagnostics
Include raw_response in error message in weather segment
2014-10-18 21:38:06 +04:00
ZyX 1350fbe88e Include raw_response in error message in weather segment
Closes #1112
Ref #1119
2014-10-18 20:36:13 +04:00
Nikolai Aleksandrovich Pavlov f5b9fc24e4 Merge pull request #1122 from ZyX-I/fix-powerline-config
Make “powerline-config” without arguments show proper message (python-3*)
2014-10-18 20:16:39 +04:00
ZyX cb877e75ab Make `powerline-config` without arguments show proper message
In Python-3* it used to show the following:

    Traceback (most recent call last):
    File "/usr/lib/python-exec/python3.3/powerline-config", line 66, in <module>
        args.function(pl, args)
    AttributeError: 'Namespace' object has no attribute 'function'

now it shows

    usage: powerline-config [-h] {tmux,shell} ...
    powerline-config: error: too few arguments

in both python-2.7 and -3.3.

Fixes #1120.
2014-10-18 20:01:31 +04:00
ZyX a96b429b8a Make quotes in powerline-config --help same as in powerline --help 2014-10-18 19:35:37 +04:00
ZyX f293d6fff6 Merge branch 'fix-latex-output' into develop 2014-10-12 19:38:26 +04:00
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 b378a4c3d2 Merge branch 'release-script-2' into develop 2014-10-12 17:08:45 +04:00
ZyX 09ca7aa623 Merge commit 'HEAD@{1}' into develop 2014-10-12 17:04:02 +04:00
ZyX 2666491438 Document pyuv problem in troubleshooting section
Closes #5463
2014-10-12 17:03:34 +04:00
ZyX 5635eea233 Merge branch 'enhance-now_playing' into develop 2014-10-12 16:54:30 +04:00
ZyX 425e8f744d Remove self.STATE_SYMBOLS reference: there is no such attribute 2014-10-12 16:53:53 +04:00
ZyX b8a4d9b054 Add some workarounds for powerline-lint 2014-10-12 16:42:06 +04:00
ZyX 8551e51b6d Prioritize now_playing highlight group, but remove it from colorscheme
Reasoning for first: backwards compatibility. If user defined `now_playing`
highlight group it is what should be used.

Reasoning for second: it is useless there. If user has defined its own group its
effect will not be affected, if he has not then there is nothing to talk about.
2014-10-12 16:35:42 +04:00
ZyX dad1197284 Add `"player"` segment data 2014-10-12 16:35:42 +04:00
ZyX cdb030ec03 Rename highlight groups 2014-10-12 16:35:42 +04:00
ZyX f233c1f77e Fix mpd support 2014-10-12 16:35:42 +04:00
ZyX a37f90921f Refactor powerline.segments.common.players to use multiple functions
Also adds documentation. Still have to update top-level themes.

Fixes #445
2014-10-12 16:35:42 +04:00
Nikolai Aleksandrovich Pavlov 0eeab7fda0 Merge pull request #1114 from ZyX-I/fix-1104
Specify $TERM in place of assuming it is set to something working
2014-10-12 00:55:49 +04:00
ZyX 0d3609fb96 Specify $TERM in place of assuming it is set to something working
Ref #1104
2014-10-12 00:41:06 +04:00
ZyX 218f72e7db Merge commit 'HEAD@{1}' into develop 2014-10-12 00:39:00 +04:00
ZyX d1ac624c7f Fix broken tests 2014-10-12 00:36:53 +04:00
ZyX 7b8bcbd5c0 Merge commit 'HEAD@{1}' into develop 2014-10-06 08:45:33 +04:00
ZyX 2607fddbb0 Fix case in nerd tree matcher regex
Fixes #1105
2014-10-06 08:45:13 +04:00
ZyX 271af253b3 Merge branch 'fix-1097' into develop 2014-09-27 18:07:04 +04:00
ZyX 34e3aed094 Add missing argument to get_tmux_output
Fixes #1097
2014-09-27 18:06:53 +04:00
Nikolai Aleksandrovich Pavlov a0a02bfb18 Merge pull request #1096 from ZyX-I/no-untracked-dirty
Add a way to not mark repo as dirty when it only has untracked files
2014-09-26 00:44:52 +04:00
ZyX 8b1a502f0d Add ignore_statuses option to branch segments
Closes #1080
2014-09-26 00:34:32 +04:00
ZyX 3f2aabb77b Refactor Vim and common branch segments to share code 2014-09-26 00:20:58 +04:00
ZyX 0ecb6136ad Merge branch 'lower-virtual-nics' into develop 2014-09-22 07:44:59 +04:00
ZyX 05cb1d2d3c Lower the priority of various VM bridge interfaces
Closes #1094
2014-09-22 07:44:29 +04:00
ZyX b605692784 Update manifests 2014-09-21 17:06:43 +04:00
ZyX 8c170e28ac Merge branch 'release-script' into develop 2014-09-21 16:27:05 +04:00
Nikolai Aleksandrovich Pavlov 3929ee17d6 Merge pull request #1093 from ZyX-I/fix-tests
Some test fixes
2014-09-21 16:03:59 +04:00
ZyX cd2703d7cc powerline-python got renamed to powerline-vim 2014-09-21 16:02:52 +04:00
ZyX c68eb56f7c Raise exceptions that are not intercepted when testing
Thus problems like in #1087 will result in build failure.
2014-09-21 15:53:22 +04:00
ZyX 345025ed60 Fix UnboundLocalError in logger exceptions handling code 2014-09-21 15:53:22 +04:00
ZyX 679b66466f Fix WM bindings tests 2014-09-21 15:53:22 +04:00
ZyX 1a3ff92a62 Join paths using more robust path joining function
Fixes #1087
2014-09-21 15:53:22 +04:00
ZyX fcf5702b7f Use pwd.getpwuid or getpass.getuser to get current user name 2014-09-21 15:26:27 +04:00
ZyX bb5977c8eb Fix tests with <psutil-2.0 2014-09-21 15:11:01 +04:00
Nikolai Aleksandrovich Pavlov 5660b35358 Merge pull request #1091 from ZyX-I/common-segments-split
Split powerline.segments.common module
2014-09-21 14:58:39 +04:00