Commit Graph

2164 Commits

Author SHA1 Message Date
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
ZyX 7181c1d9b6 Move some functions to powerline.lib.dict
Moved functions: `merge*` from `powerline.lib` and `mergeargs` from
`powerline.commands.main`.
2015-01-02 15:23:49 +03:00
ZyX 9ae76a9971 Use UCS2 Python versions for running tests 2015-01-02 15:23:44 +03:00
ZyX ef3acefdd1 Only run Vim tests if PYTHON_IMPLEMENTATION is CPython 2015-01-02 03:37:21 +03:00
ZyX f5e9ec387c Use old Vim for tests, perform sanity test with empty &encoding 2015-01-02 03:37:21 +03:00
ZyX c79adfa602 Support old Vims without +multibyte 2015-01-02 03:37:21 +03:00
ZyX 5d6caaeecd Use compiled Vim binaries for Vim tests
Part 1: use latest single-python Vim builds
2015-01-02 03:37:21 +03:00
ZyX 104cea9a5c Install binary dependencies from powerline/deps 2015-01-02 03:37:20 +03:00
ZyX e3ee4ef951 Merge pull request #1233 into develop 2014-12-28 23:53:59 +03:00
ZyX ff10b9e862 Fix tests: handle must not be saved to .watches until it was started
Otherwise .is_watching() method does not return valid results.
2014-12-28 23:51:45 +03:00
ZyX eb9c14096b Readd support for 0.x 2014-12-28 23:50:45 +03:00
Nikolai Aleksandrovich Pavlov f9e4d0e440 Merge pull request #1240 from AirbornePorcine/develop
Use status_delimiter as split character
2014-12-25 02:55:02 +03:00
Paul Kirby 7cfe347f2b Use status_delimiter as split character
Newlines are not being used as a status delimiter in the applescript above, so don't use them.
2014-12-23 16:43:11 -07:00
Saúl Ibarra Corretgé 3474c0dad5 pyuv: adapt to 1.x API changes 2014-12-12 09:44:31 +01:00
Saúl Ibarra Corretgé 36737867b1 pyuv: make stopping the loop thread-safe 2014-12-12 09:41:53 +01:00
Nikolai Aleksandrovich Pavlov f34ab66ea2 Merge pull request #1226 from gladiac/cflags
Honor CFLAGS
2014-12-11 21:27:05 +03:00
Andreas Schneider e373b36d00 setup: Honor CFLAGS set as environment variable
Distributions normally have their preferred set of CFLAGS so the
binaries are optimized and include debug symbols to create a debuginfo
package. For this we need to be able to set the CFLAGS via the
commandline and the setup.py should forward them to the compiler.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2014-12-10 16:16:46 +01:00
Nikolai Aleksandrovich Pavlov c3d4934ccd Merge pull request #1231 from ZyX-I/fix-1225
Some Vims that have vim.vvars do not accept unicode indexes
2014-12-09 21:17:46 +03:00
ZyX 267ea05860 Some Vims that have vim.vvars do not accept unicode indexes
Fixes #1225
2014-12-09 19:19:13 +03:00