Commit Graph

2282 Commits

Author SHA1 Message Date
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
ZyX 548e330fd8 Add NERDTree tests 2015-01-06 01:51:31 +03:00
ZyX 2bd25d7979 Test Command-T plugin 2015-01-06 01:51:31 +03:00
ZyX d8307b03ae Create tests for CtrlP 2015-01-06 01:39:23 +03:00
ZyX aa456e415b Fix error present when trying to use CtrlP
Ref #1244
2015-01-06 01:39:23 +03:00
ZyX e1e591fedd Improve error reporting: do not fail on one segment in theme.py 2015-01-06 01:39:23 +03:00
ZyX dbc994887d Also set prefix when processing segments in parsed_segments list 2015-01-06 01:39:23 +03:00
ZyX 1c1d33dbbf Create a way to log to the list in Vim 2015-01-06 01:39:23 +03:00
ZyX d51a50223e Use $ROOT in place of $PWD in run_vim_tests, set $PYTHONPATH
Checking whether this fixes Python-2.6 build failure
2015-01-05 21:28:54 +03:00
ZyX 6b89c8e394 Preserve old value of LD_LIBRARY_PATH 2015-01-03 00:07:07 +03:00
ZyX e86ec8bf99 Make sure not to add colon unless required 2015-01-03 00:04:11 +03:00
ZyX 375a169825 Install bc as it is required by test_shells/test.sh 2015-01-02 23:53:46 +03:00
ZyX c9e1dd8bdf Check whether specifying python==UCS2_PYTHON_VARIANT fixes Vim problem 2015-01-02 23:53:46 +03:00
ZyX c7fe5dbbb4 Use `set -e` for testing shells 2015-01-02 21:31:39 +03:00
ZyX c01cc35663 Do not double-check exceptions 2015-01-02 17:45:09 +03:00
ZyX 4eb6ec85ac Also make sure that get_var_config uses unicode values 2015-01-02 17:44:26 +03:00
ZyX 3f5cedbba1 Make sure that mode value from zpython bindings is unicode 2015-01-02 16:06:02 +03:00
ZyX 9374d135f2 Do not install pyuv watcher in Python-2.6
If pyuv watcher is installed then powerline.lib.vcs tests do not pass because
pyuv is missing notify events and INotify watcher is not available.

Ref #1041
2015-01-02 16:06:01 +03:00
ZyX 6a339a3a3a Install built fish 2015-01-02 15:25:06 +03:00
ZyX f311f75d0a Install libssl1.0.0
Should be required for Python sha256 hash to work. Actually it should be
installed already.
2015-01-02 15:25:06 +03:00
ZyX f2fd92068e Add support for testing zsh with zpython bindings 2015-01-02 15:25:01 +03:00
ZyX 2be849de44 Add support for modes to zpython bindings 2015-01-02 15:23:50 +03:00
ZyX 696793a884 Remove inconsistent ShellPowerline.theme_option attribute
Other overrides are accessed via ShellPowerline.args.
2015-01-02 15:23:50 +03:00
ZyX 0898a692e9 Add `powerline-reload-config` command 2015-01-02 15:23:50 +03:00
ZyX 029dc92da0 Fix zpython overrides 2015-01-02 15:23:50 +03:00