Kim Silkebækken
2c25a71f2e
Merge branch 'fix-solarized-visual-block-color' into develop
2013-03-15 14:19:43 +01:00
Ali B
f141574d89
Make vim Visual Block mode orange in Solarized colourscheme.
...
This makes it consistent with the styles of the other visual modes.
Reference issue #147 .
2013-03-15 14:19:35 +01:00
Kim Silkebækken
8cdd12a800
Merge remote-tracking branch 'zyx-i/326-fix-None-handling' into develop
2013-03-15 14:18:03 +01:00
Kim Silkebækken
9f5793c453
Merge branch '324-fix-bzr-branch-name' into develop
2013-03-15 14:17:40 +01:00
Kovid Goyal
dda500a673
Only use locally stored bzr branch nickname
...
Fixes #324 (slow vcs branch segment with bzr checkout)
2013-03-15 14:17:25 +01:00
Kim Silkebækken
747c75c1c4
Merge remote-tracking branch 'zyx-i/fix-322' into develop
2013-03-15 14:15:26 +01:00
Kim Silkebækken
5e71f58b83
Merge branch 'fix-urllib_read' into develop
2013-03-15 14:14:20 +01:00
Kim Silkebækken
24097293e5
Catch all urllib errors in urrlib_read()
2013-03-15 08:32:25 +01:00
ZyX
48470221f0
Make git.Repository.status() also return None
...
Fixes #326
2013-03-14 20:03:26 +04:00
Kim Silkebækken
d015d517ac
Merge branch '320-fix-pkgbuilds' into develop
2013-03-13 14:10:00 +01:00
Kim Silkebækken
b1b0f2427e
Install fonts to OTF instead of TTF in PKGBUILDs
...
Fixes #320
2013-03-13 14:09:26 +01:00
Kim Silkebækken
8861c7144c
Merge remote-tracking branch 'zyx-i/branch-colors' into develop
2013-03-13 13:55:42 +01:00
ZyX
e24703dbdd
Add status_colors argument to branch segments
...
Closes #206
2013-03-13 16:51:53 +04:00
ZyX
d8c64c5e3a
Fix keyword argument name
2013-03-13 07:33:47 +04:00
ZyX
271cfe06b1
Add parameter to disable current and user directories shortening
...
Fixes #322
2013-03-13 01:01:07 +04:00
Kim Silkebækken
0a5a09db12
Merge branch '307-fix-ambiwidth' into develop
2013-03-12 13:12:28 +01:00
ZyX
1960e8329f
Remove useless import
2013-03-12 13:12:14 +01:00
ZyX
6f3703e312
Improve ambiwidth handling, readd additional_escapes
...
Fixes #307
2013-03-12 13:11:59 +01:00
ZyX
417e823e96
Fix two flake8 errors
2013-03-11 22:24:00 +04:00
ZyX
b2b05cb81c
Removed underscore_to_camelcase
...
No need to bother both developers (that need to create class names compatible
with file name, which is not obvious if not looking into main Powerline class)
and computer (that needs to recompute class name each time) if it is possible to
bother only developers (or only computer, but this contributes to higher startup
times).
About not obvious: when you look into zsh_prompt.py and see only
ZshPromptRenderer name you only think that powerline upstream is following
strict code style. You don’t think there is a technical reason for such naming,
like you don’t think there is technical reason for having blank lines. When you
look into zsh_prompt.py and see `renderer = ZshPromptRenderer` it is obvious
that there is technical reason for writing code this way because new variable is
never used in the module itself.
2013-03-11 22:22:18 +04:00
ZyX
696478593d
Move some functions out of classes
...
No need to have static methods that are not supposed to be overridden and that
do not benefit from `self' argument they do not receive
2013-03-11 22:13:43 +04:00
ZyX
2c445a9356
Add more tests to test_configuration
...
Dynamic configuration tests. Purpose: make sure that default configuration does
not throw. Tests catch only very trivial problems (like missing imports after
refactoring)
2013-03-11 22:09:34 +04:00
Kim Silkebækken
89204d2a7b
Merge remote-tracking branch 'zyx-i/fix-278-powerline-lint' into develop
2013-03-11 16:24:35 +01:00
ZyX
fe6f1bf4d5
Handle AttributeError also when importing segment function
2013-03-11 19:19:55 +04:00
ZyX
1ef1ad7cfe
Add missing import
2013-03-11 19:19:42 +04:00
ZyX
24d662c823
Make lint more error-prone
...
Target: report as much errors as possible in a single run without failure
2013-03-11 19:19:28 +04:00
ZyX
9dc69d91ad
Make Reader also produce MarkedError, remove JSONError
2013-03-11 19:19:09 +04:00
ZyX
49ad855eb5
Rename YAMLError to JSONError and MarkedYAMLError to MarkedError
2013-03-11 19:18:53 +04:00
ZyX
5da848fa4a
Some fixes for flake8
2013-03-11 19:18:53 +04:00
ZyX
3fd1215091
Some changes to make it work in non-python2.7
2013-03-11 19:18:53 +04:00
ZyX
f75bb9e65b
Make parser less restrictive and able to report problems
2013-03-11 19:18:53 +04:00
ZyX
d27f7a0411
Add most configuration checks
...
Changes:
- Add main configuration, colors.json, almost full themes and colorschemes
checks
- Make powerline.lint.check return whether it had problems
- Make powerline-lint fail if .check reported problems
- Make tests run powerline-lint
- Add the script to the list of the installed scripts
Fixes #278
2013-03-11 19:17:18 +04:00
ZyX
287a88f473
Add JSON parser producing marked values
...
Ref #278
2013-03-11 19:14:35 +04:00
ZyX
5b11feac73
Make some functions be more convenient for use in lint checker
2013-03-11 19:12:32 +04:00
ZyX
d33b8ee946
Fix highlight group documentation for line_percent
2013-03-11 19:12:15 +04:00
ZyX
9e8fab3312
Add highlight group data for powerline-lint
2013-03-11 19:12:03 +04:00
ZyX
7fca338315
Remove unused “colors” key
2013-03-11 19:11:51 +04:00
ZyX
551a2685f4
Move add_local_theme and get_theme to vim renderer
...
In any case for all other extensions they are useless. (Except for ipython, but
it is TODO and I am not going to use matchers this way, simple dictionary
lookup is better in this case.)
2013-03-11 19:11:32 +04:00
ZyX
657fcd1a99
Make @window_cached use @wraps
...
Otherwise documentation is not saved (hidden in decorated function only visible
in the closure).
2013-03-11 19:11:17 +04:00
ZyX
ae62aee529
Renamed term_24bit_colors to term_truecolor
2013-03-11 19:11:10 +04:00
Kim Silkebækken
1773750485
Merge branch 'improved-ebuild' into develop
2013-03-11 15:53:46 +01:00
ZyX
fdab80cd00
Add python-argparse dependency
2013-03-11 15:53:37 +01:00
ZyX
6c7e454fd8
Fix license
...
Fixes #299
2013-03-11 15:53:35 +01:00
ZyX
4374e1f71c
Fix git/hg repo tests
2013-03-11 15:53:34 +01:00
ZyX
a6d48232b0
Add python_test, more exclusions
...
Fixes #289
2013-03-11 15:53:32 +01:00
Kim Silkebækken
111eaa27e8
Combine vim modelines and Python encoding declarations
...
Ref #314
2013-03-11 10:40:09 +01:00
Peter Fern
b31c987cc8
Add XDG_CONFIG_DIRS to config_paths for system-wide install
...
Commonly this will be `/etc/xdg/powerline`
2013-03-11 08:25:35 +01:00
Kim Silkebækken
8e8e9c9edc
Merge remote-tracking branch 'pdf/ttf_output' into develop
2013-03-11 08:24:41 +01:00
Kim Silkebækken
6748701fcb
Add vim modelines to all Python files
...
Added with `sed -i '2i# vim:fenc=utf-8:noet' `find -name '*.py'`` and
fixed in a couple of files without the UTF-8 encoding on top.
Ref #314
2013-03-11 08:11:25 +01:00
Kim Silkebækken
40fe38f641
Move argparser to powerline.shell so it can be re-used
2013-03-11 07:52:24 +01:00