Commit Graph

2256 Commits

Author SHA1 Message Date
ZyX 3c21c0f459 Fix Linux installation instructions
Fixes #1251
2015-01-07 15:20:29 +03:00
ZyX bac851bcc9 Add ``powerline-status`` to OS X installation documentation 2015-01-07 15:17:40 +03:00
ZyX 21e6e5ba5d Make installation docs mention powerline-status first, reword them 2015-01-07 15:15:31 +03:00
ZyX c3e6c2aeab Make POWERLINE_COMMAND a single path without arguments
Ref #1201
2015-01-07 15:07:27 +03:00
ZyX 10300756cc Also do not allow empty paths in zpython bindings 2015-01-07 05:14:41 +03:00
ZyX a01870c1d3 Also use it in `get_config_paths` 2015-01-07 05:13:48 +03:00
ZyX efecf408d2 Use `powerline.lib.path.join` in `_find_config_files()` 2015-01-07 05:12:48 +03:00
ZyX 76f5a60a9b Fix `TypeError` in Python-3.2
This code may raise

    TypeError: string argument without an encoding
2015-01-07 05:02:08 +03:00
ZyX df5f5e9a7d Ignore empty elements in POWERLINE_CONFIG_PATHS
Ref #1201
2015-01-07 04:27:40 +03:00
ZyX 972a55afc1 Make sure to add paths from `POWERLINE_CONFIG_PATHS` to args 2015-01-07 01:21:59 +03:00
ZyX 4d35167b13 Avoid using overrides in $POWERLINE_COMMAND 2015-01-07 01:14:20 +03:00
ZyX 2b880c4a54 Suggest using old-style overrides for testing purposes only 2015-01-07 01:09:53 +03:00
ZyX 98ae55c183 Lower the priority of environment variables overrides 2015-01-07 01:09:53 +03:00
ZyX a47a486394 Make `powerline-config` also accept overrides from env variables
Ref #1201
2015-01-07 01:09:53 +03:00
ZyX 87ebe41f30 Make zsh tests use new environment variables 2015-01-07 01:09:53 +03:00
ZyX 07f82fed66 Use `zsh.environ` if possible 2015-01-07 01:09:53 +03:00
ZyX 4f268cb887 Make zsh bindings support string override variants
Ref #1201
2015-01-07 01:09:53 +03:00
ZyX 917dfed842 Take overrides from environment variables
Ref #1201
2015-01-07 01:09:53 +03:00
ZyX 1451b4261f Rename `paths` IPython override to `config_paths`
Fixes #1126
2015-01-07 01:09:53 +03:00
ZyX de064558a1 Rename `POWERLINE_THEME_CONFIG` to `POWERLINE_THEME_OVERRIDES`
Ref #1126
2015-01-07 01:09:53 +03:00
ZyX 45ccbee171 Use singular --*-override form for command-line overrides
Ref #1126
2015-01-07 01:09:52 +03:00
ZyX 4b4964013b Merge commit 'HEAD@{1}' into develop 2015-01-07 00:19:42 +03:00
ZyX 2f885eb4d1 Fix function name
Fixes #1248
2015-01-07 00:19:33 +03:00
ZyX 4bae6c6666 Make `powerline-lint` also use dashes
Ref #1125
2015-01-06 20:57:45 +03:00
ZyX 1c29ea3f8c Use g:powerline_theme_overrides dictionary in place of g:…overrides__
Ref #1126
2015-01-06 20:48:39 +03:00
Nikolai Aleksandrovich Pavlov 28ec9a5117 Merge pull request #1247 from ZyX-I/remove-obsolete-segments
Remove obsolete segments
2015-01-06 20:34:40 +03:00
ZyX a583c17ba5 Remove deprecation warning from powerline.lint.imp
Fixes #1117
2015-01-06 17:01:48 +03:00
ZyX 22ae6a6062 Remove `now_playing` data from top-level themes
Ref #1117
2015-01-06 17:01:48 +03:00
ZyX 52e1be946a Remove `now_playing` highlight group from ….players.PlayerSegment 2015-01-06 17:01:48 +03:00
ZyX 70ae1aa116 Remove now_playing segment
Ref #1117
2015-01-06 17:01:48 +03:00
ZyX 2528a2c571 Remove deprecation warning from powerline.lint.imp
Fixes #1092
2015-01-06 17:01:48 +03:00
ZyX 654d4690fc Remove all segments from powerline.segments.common
Ref #1092
2015-01-06 17:01:48 +03:00
Nikolai Aleksandrovich Pavlov 4c717695f1 Merge pull request #1246 from ZyX-I/consistency-changes
Create some incompatible consistency changes
2015-01-06 16:43:23 +03:00
ZyX 09afbc4655 Replace underscores with dashes in long options
Fixes #1125
2015-01-06 16:29:54 +03:00
ZyX 16bf16478c Rename `POWERLINE_CONFIG` to `POWERLINE_CONFIG_OVERRIDES`
Fixes #1124
Ref #1126
2015-01-06 16:19:47 +03:00
ZyX 2a2da9d43f Use `env` to run $POWERLINE_CONFIG_COMMAND in fish
Reasoning: everywhere else $POWERLINE_CONFIG_COMMAND specifies one command, not 
command with arguments. But with eval this is changed. `env` will receive this 
variable as one argument, so the meaning is consistent again.
2015-01-06 16:17:51 +03:00
ZyX b17d03e688 Rename `POWERLINE_CONFIG` to `POWERLINE_CONFIG_COMMAND` where appropriate
Ref #1124
2015-01-06 16:16:39 +03:00
ZyX 983315b2c5 Fix documentation of network_load segment 2015-01-06 16:11:17 +03:00
ZyX 79f6853f4b Rename `detect` to `auto` special values in network segments
Fixes #1205
2015-01-06 16:08:11 +03:00
ZyX 33b44e8a3f Check function documentation for invalid identifiers
Fixes #1216
2015-01-06 16:05:01 +03:00
ZyX d8f030496a Make linter treat `a.b` highlight group names as not correct
Ref #1216
2015-01-06 16:05:01 +03:00
ZyX 9d90552091 Rename highlight groups: `plugin.` to `plugin:`
Ref #1216
2015-01-06 16:05:01 +03:00
ZyX c868f9c255 Rename `attr` to `attrs`
Fixes #1199
2015-01-06 16:05:01 +03:00
ZyX 8d05003849 Rename `highlight_group` key to `highlight_groups`
Ref #1199
2015-01-06 15:57:49 +03:00
Nikolai Aleksandrovich Pavlov 4cef8669bd Merge pull request #1245 from ZyX-I/drop-ctrlp
Remove Control-P plugin support
2015-01-06 14:55:32 +03:00
ZyX 4e6b0a7ec8 Remove Control-P plugin support
If somebody needs to readd it he should make better code, specifically:

- Functions and variables necessary for supporting Control-P need to be defined 
  in a separate initialiazation function that is only called if Control-P was 
  found.
- Segments that show different information must be defined as separate segments 
  that may be put into configuration file.
- Segment functions must not know side they are on.
- Segment functions must not emit `priority`, it must go to configuration file.
- Segment functions must have proper documentation.
- Segment functions must not emit `width` and `align` keys.
- String `Loading...` or the equivalent must be overridable from configuration, 
  same for other interface strings (e.g. what is shown  when `regex` is true).
- Segment functions must have names that make it clear what they emit.

Closes #1244
2015-01-06 03:57:38 +03:00
Nikolai Aleksandrovich Pavlov 8a09aba211 Merge pull request #1230 from ZyX-I/integration-tests
Improve integration tests
2015-01-06 03:36:54 +03:00
ZyX de328b25ed Make VimVarHandler a new style class
Python-2.6 emits some strange problem:

    TypeError: super() argument 1 must be type, not classobj

. This means that in Python-2.6 `logging.Handler` is an old style class.

Ref http://stackoverflow.com/questions/1713038.
2015-01-06 03:24:44 +03:00
ZyX 733b09f78c Revert "Add tagbar plugin tests": don’t know how to make it work
This reverts commit fb652d5126.
2015-01-06 02:53:58 +03:00
ZyX fb652d5126 Add tagbar plugin tests 2015-01-06 02:45:48 +03:00