Commit Graph

194 Commits

Author SHA1 Message Date
ZyX 19195159ad Only install mercurial and bazaar if using CPython 2014-07-10 19:36:20 +04:00
ZyX e2a49417b6 Default line_percent_gradient to (light|dark)_green_gray gradients
dark_green_gray gradient was generated with

    tools/generate_gradients.py 70 247

. It is used for non-insert modes in the current window. light_green_gray
gradient was generated with

    ./tools/generate_gradients.py 148 250

. It is used for insert mode in the current window.
2014-07-10 18:56:40 +04:00
ZyX a0a5b44173 Use battery_full and battery_empty for displaying hearts
Red hearts for battery full are still more optimal in case white hearts are for
empty (though I do not understand why they have to be red). Cannot agree about
per cents though: red is better for empty then white is if there are no related
parts to compare.
2014-07-10 18:35:24 +04:00
ZyX 39316c429b Reverse the gradient in battery segment
Closes #910
2014-07-10 18:35:23 +04:00
ZyX 473f647fc8 Fix test_local_overrides.vim test broken by better-gradient branch 2014-07-06 22:42:28 +04:00
ZyX 623395a013 Remove outdated comment 2014-06-28 22:18:45 +04:00
ZyX d7d8108230 Fix error in python-3* that happens while checking branch name 2014-06-28 22:12:41 +04:00
ZyX 4d4da56838 Check whether it runs fine in travis 2014-06-28 21:46:12 +04:00
ZyX 317f4be43f Add tests for git symlinks 2014-06-28 21:45:24 +04:00
ZyX c570a98065 Add watcher option
Ref #818
2014-06-28 21:10:15 +04:00
ZyX 6f6c1fb90c Add tests 2014-06-25 20:05:24 +04:00
ZyX 515df615bf Add some basic tests 2014-06-24 23:36:50 +04:00
ZyX f02807ffa4 Rename test_configuration to test_provided_config_files 2014-06-24 21:38:07 +04:00
ZyX be2fe98a21 Add support for omitting VALUE
This will remove error reported in #853, but not its cause
2014-05-04 13:01:29 +04:00
ZyX e51d7a9dd3 Add fuzzy_time(unicode_text) argument 2014-03-13 20:54:07 +04:00
ZyX 3f1e621f1d Add ellipsis argument to cwd segment 2014-03-13 20:47:06 +04:00
ZyX c3b4654bfb Fix flake8 complaints 2014-03-13 20:41:54 +04:00
ZyX 55858e1a9d Fix tests for new psutil 2014-03-13 20:05:52 +04:00
ZyX acff89a8e9 Remove useless lock 2014-02-26 08:15:26 +04:00
ZyX ba41cecb72 Add powerline.lib.threaded tests 2014-02-23 15:18:20 +04:00
ZyX 68a6fd056c Use monotonic() in place of time.time() 2014-02-23 14:44:36 +04:00
ZyX 58d5d6b078 Remove failing test 2014-02-16 21:22:05 +04:00
ZyX a86c66f4e0 Update zsh tests
Note: to make prompt fancy enough powerline-daemon should be used. Otherwise 
continuation prompt length is different from what was expected:

With daemon:

    user > env > path > if true ; then
                 then > fi

Without:

    user > env > path > if true ; then
    then > fi

Fixes #771 as I do not want to touch tcsh any longer
2014-02-16 21:15:57 +04:00
ZyX 5c33de7a24 Also test zsh local themes 2014-02-16 20:52:22 +04:00
ZyX 8718bf76ce Add tests for continuation segment 2014-02-16 20:41:01 +04:00
ZyX 66d98e7def Improved battery segment:
- Ignore `steps` if gamify is False.
- Add `full_heart` and `empty_heart` keywords.
- Document `format` keyword.
- Replace `draw_soft_divider` with `draw_inner_divider`.
2014-02-09 13:44:06 +04:00
Joshua Perry c4fb09a418 Update tests to support parameter on _get_capacity() 2014-02-09 02:36:19 +04:00
ZyX 773d6a6600 Also use --allow-unverified 2014-02-09 01:25:18 +04:00
ZyX 5e4daed72b Install bazaar with --allow-external 2014-02-09 01:22:50 +04:00
ZyX d85ae963c3 Sleep more 2014-01-30 09:00:33 +04:00
ZyX c648178be0 Strip anything but prompt from tcsh tests
There are some problems with a number of spaces on travis: it differs. Cannot 
use the same code as for fish because output looks like

    {prompt}{spaces}^[0m ^[[{number}D

and both `{spaces}` and `{number}` differ on my machine and in travis.
2014-01-27 00:22:38 +04:00
ZyX fe99e252e9 Add tcsh tests 2014-01-27 00:10:48 +04:00
ZyX-I a4e8f36f36 Merge pull request #706 from ZyX-I/better-errors
Better error handling
2014-01-26 10:43:16 -08:00
ZyX bb343765b0 Add powerline: exception prefix 2014-01-26 22:45:11 +04:00
ZyX 6ba13c1d0f Modify appropriate theme 2014-01-26 22:35:02 +04:00
ZyX 8984647106 Add tests 2014-01-26 22:27:28 +04:00
ZyX a571f49b3d Get rid of printf 2014-01-26 21:59:33 +04:00
ZyX 480434331f Add tests for special characters escaping 2014-01-26 21:45:02 +04:00
ZyX e3bf63e55c Do not do needless copying in test_shells/test.sh 2014-01-26 21:30:01 +04:00
ZyX e7820efe56 Make powerline work with non-utf filenames
Fixes #281
2014-01-26 21:01:19 +04:00
ZyX e489e549a6 Move setup to powerline-setup.fish
This file is supposed to be placed in /usr/share/fish/functions.
2014-01-23 19:32:19 +04:00
ZyX 64e23d346e Merge branch 'patch-1' into develop
Fixes #724
2014-01-23 18:45:46 +04:00
ZyX b75d2b531f Add tests 2014-01-23 18:45:09 +04:00
ZyX-I 79c4d37814 Merge pull request #696 from ZyX-I/fish
Add powerline/bindings/fish/powerline.fish
2014-01-23 06:36:58 -08:00
ZyX 9fcfd54d90 Disable fish tests on travis 2014-01-23 18:33:33 +04:00
ZyX b37940235c Also print shell version string 2014-01-23 16:41:29 +04:00
ZyX d75f47a0c7 Use `.` for sourcing in fish
It appears that travis uses fish version without this command. Though `.` is 
deprecated on new versions it is still supported for backwards compatibility, 
thus may be used here.
2014-01-23 16:32:18 +04:00
ZyX 8b341c622e Make XDG_CONFIG_HOME point to writeable location 2014-01-23 16:14:32 +04:00
ZyX 12aa69a0c2 Also output full.log
Hope it will give some hints about why fish tests fail on travis
2014-01-23 15:58:52 +04:00
EinfachToll 10cd7b78f0 More test cases for position segment 2014-01-23 09:23:53 +01:00