Commit Graph

1874 Commits

Author SHA1 Message Date
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 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
ZyX 080e3e54a3 Add deprecation warning to powerline.segments.common 2014-09-21 02:12:36 +04:00
ZyX 3c1d5c615c Deprecate powerline.segments.common
Makes linter emit a warning
2014-09-21 02:10:13 +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 96f967f8bd Commit quote changes left from previous branch 2014-09-21 00:49:49 +04:00
Nikolai Aleksandrovich Pavlov 9eb6f996fa Merge pull request #1090 from ZyX-I/update-documentation
Improve documentation
2014-09-20 20:10:25 +04:00
ZyX 4826c4349d Update documentation regarding xterm
Closes #420
2014-09-20 18:30:34 +04:00
ZyX ca83c461d9 Get rid of double quotes where possible
This commits replaces them either with Unicode quotes (“”) or single 
equivalents.
2014-09-20 18:12:39 +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
Nikolai Aleksandrovich Pavlov 32cc0c7711 Merge pull request #1089 from ZyX-I/fix-531
Raise an exception when git is not found
2014-09-20 14:48:59 +04:00
ZyX 8587d14598 Link git executable to tests/shell/path 2014-09-20 14:43:45 +04:00
ZyX c5be5c6f11 Raise an exception when git is not found
Fixes #531 as such exceptions are ignored in powerline.lib.vcs.guess.
2014-09-20 14:34:21 +04:00
Nikolai Aleksandrovich Pavlov 2293657e8e Merge pull request #1088 from ZyX-I/weather-location
Fix weather segment
2014-09-20 14:11:50 +04:00
ZyX 5bb993ca53 Use region_name in place of region_code
Closes #1081
2014-09-20 14:01:42 +04:00
ZyX 48e06cbf9e Refactor weather segment to use KwThreaded segment
Problem: weather segment used to set its state (i.e. user location) once and 
remember it forever.
2014-09-20 13:52:24 +04:00
Nikolai Aleksandrovich Pavlov af962494e9 Merge pull request #1086 from ZyX-I/better-troubleshooting
Improve troubleshooting routines
2014-09-20 00:54:22 +04:00
ZyX aeb1a32a33 Document powerline.lint.check function 2014-09-20 00:42:05 +04:00
ZyX e9e53aa85f Move auxilary functions before specifications 2014-09-20 00:42:05 +04:00
ZyX e9c9b6519f Document powerline.lint.spec.Spec object 2014-09-20 00:42:04 +04:00
ZyX b781c72348 Move list_sep to powerline.lint.checks
It is the only place where it is needed.
2014-09-20 00:42:04 +04:00
ZyX 4e3b62f547 Remove unused new_context_item function 2014-09-20 00:42:04 +04:00