Commit Graph

1425 Commits

Author SHA1 Message Date
ZyX 85ea44b1ee Do not output \x01/\x02 symbols for non-prompts in ipython
Should fix #664
2014-08-06 13:38:45 +04:00
Nikolai Aleksandrovich Pavlov faceb59876 Merge pull request #902 from ZyX-I/battery
Improve battery support
2014-08-06 13:10:55 +04:00
Nikolai Aleksandrovich Pavlov 22fdc10534 Merge pull request #958 from ZyX-I/theme-hierarchy
Implement theme hierarchy
2014-08-06 13:04:50 +04:00
ZyX 1a87006310 Refactor powerline.lint.inspect: do not special-case *ThreadedSegment
Fixes now_playing segment handling in python-3.4
2014-08-06 12:52:52 +04:00
ZyX d4735c87df Fix labels in configuration/reference.rst 2014-08-06 12:48:17 +04:00
ZyX c3e6329262 Add description of shipped themes to documentation 2014-08-06 03:09:31 +04:00
ZyX 2b5734c767 Add unicode_terminus_condensed theme 2014-08-06 03:05:04 +04:00
ZyX cd576f0d4e Add unicode_terminus top-level theme
This one contains only glyphs present in terminus font.
2014-08-06 03:05:04 +04:00
ZyX 3c93ac2f44 Add unicode-only theme 2014-08-06 03:05:04 +04:00
ZyX 625aa243d6 Use ascii theme in local overrides 2014-08-06 02:25:24 +04:00
ZyX fa5c1e8ce4 Add ASCII-only theme 2014-08-06 02:25:24 +04:00
Nikolai Aleksandrovich Pavlov 39d1f4e1d6 Merge pull request #959 from aledovsky/bug/weather_segment_fix
Fix weather segment display
2014-08-06 02:16:49 +04:00
ZyX 48254ea657 Use more precise error messages in test_tabline.vim 2014-08-06 01:33:37 +04:00
Aleksandrs Ļedovskis 75d2c62f62 Fix weather segment display
Most likely a change on GitHub/Yahoo servers made it crash, when
non-robot ready result page started to appear inside YQL processor.
Using "raw.githubusercontent.com" URL helps and weather icon is again visible.

Closes: Lokaltog/powerline#949

Signed-off-by: Aleksandrs Ļedovskis <aleksandrs@ledovskis.lv>
2014-08-06 00:07:53 +03:00
ZyX 0255df2f7b Allow checking NowPlayingSegment 2014-08-06 00:24:30 +04:00
ZyX 416a0efd84 Copy a number of unicode values to powerline.json 2014-08-06 00:24:30 +04:00
ZyX b0093c6b67 Implement single-level merging of “args” dictionaries 2014-08-06 00:24:30 +04:00
ZyX 759b42a823 Make now_playing segment accept state symbols from arguments 2014-08-06 00:05:05 +04:00
ZyX 37b1f967a2 Move all unicode characters from themes to powerline.json 2014-08-06 00:05:04 +04:00
ZyX bdde4ae99f Implement theme hierarchy
Fixes #783
2014-08-06 00:05:04 +04:00
ZyX 145e1c2050 Only check that all colorschemes have theme, but not the opposite 2014-08-06 00:05:04 +04:00
Nikolai Aleksandrovich Pavlov b1a2b44db1 Merge pull request #957 from ZyX-I/better-visual-range
Improve visual_range segment
2014-08-05 23:16:05 +04:00
ZyX f4b5c6a63f Add fix for old Vims where getpos does not return list of integers 2014-08-05 23:03:59 +04:00
ZyX 117661e186 Add tests for visual_range 2014-08-05 22:49:53 +04:00
ZyX 702f43858b Do not use “rows” and “cols” in text
Reason: string “1 rows” is incorrect and I do not want to implement proper 
number handling (*proper* handling is *not* limited to plural/singular form like
in English).
2014-08-05 22:44:29 +04:00
ZyX 97978eaf77 Improve visual_range segment 2014-08-05 22:27:05 +04:00
Nikolai Aleksandrovich Pavlov c95b288527 Merge pull request #923 from ZyX-I/merge-config
Implement configuration merging
2014-08-05 14:05:23 +04:00
ZyX 0f4e1bafda Refactor config_mock module to not use globals and fix tests 2014-08-05 13:56:02 +04:00
ZyX 66e0999147 Document configuration merging 2014-08-05 13:56:02 +04:00
ZyX 01585edeab Fix errors reported by linter, allow running it during tests 2014-08-05 13:56:02 +04:00
ZyX 2fd04348f7 Fix name regex: allow single-letter names 2014-08-05 13:56:02 +04:00
ZyX 27db44ac7a Implement configuration merging
Fixes #418
2014-08-05 13:56:02 +04:00
ZyX 3d77306c35 Some style fixes in powerline.lint 2014-08-05 13:42:21 +04:00
ZyX b043749daa Add support for pickle 2014-08-05 13:39:48 +04:00
ZyX 2296290037 Add MarkedList type 2014-08-05 13:39:48 +04:00
ZyX f482eea8be Merge branch 'quiet-tmux' into develop 2014-08-05 00:18:09 +04:00
ZyX 0c3e380fe0 Set all options quietly
Requires tmux 1.7 or later, so `-q` is not used in 1.8 and earlier configuration 
file.

Closes #942
2014-08-05 00:17:58 +04:00
ZyX 7286e7876f Merge branch 'tmux-refresh' into develop 2014-08-05 00:07:32 +04:00
ZyX 4bb217a05c Run refresh-client in tmux not depending on POWERLINE_COMMAND
Ref #942
2014-08-05 00:07:25 +04:00
Nikolai Aleksandrovich Pavlov d5964bc25b Merge pull request #955 from ZyX-I/faster-powerline_daemon
Do not use argparge for parsing environment
2014-08-04 03:55:52 +04:00
ZyX 203a374b54 Do not use argparge for parsing --env and --cwd
It took 2/3 of do_render call according to profiler. New variant takes only 1/6.

WARNING: This commit will break all powerline installations with running daemon
because it changes communication protocol. You must kill and restart all your
powerline daemons for powerline to function properly.

Highlight @kovidgoyal
2014-08-04 03:02:05 +04:00
ZyX da45adb9e6 Make it compile without warnings with -Wconversion 2014-08-04 03:02:05 +04:00
ZyX a5037a817b Fix powerline.c styling
Also makes it compile with -std=c89 (except for snprintf) or just -std=c99,
-Wall, -pedantic.
2014-08-04 03:02:05 +04:00
ZyX 088d1f0f58 Merge branch 'strip-renderer_arg-key' into develop 2014-08-04 00:18:03 +04:00
ZyX cfb107724f Exclude renderer_arg from daemon powerline objects cache
It may easily change between runs from one client and only affects segment_info 
which is regenerated always.
2014-08-04 00:17:41 +04:00
Nikolai Aleksandrovich Pavlov 4343e4edb4 Merge pull request #954 from ZyX-I/file-scheme
Add file_scheme segment
2014-08-04 00:12:22 +04:00
ZyX 50703f1cef Fix unicode/bytes handling for python-3 2014-08-04 00:07:30 +04:00
ZyX 74a3c9a0ca Add file_scheme segment
Fixes #207
2014-08-03 23:58:34 +04:00
Nikolai Aleksandrovich Pavlov e89832be14 Merge pull request #953 from ZyX-I/powerline-shell-help
Make powerline --help more useful
2014-08-03 22:47:41 +04:00
ZyX 3d1f9bfbbd Allow multiple arguments to `powerline[-lint] --config_path` 2014-08-03 22:22:59 +04:00