Commit Graph

1692 Commits

Author SHA1 Message Date
ZyX 33562ab4b8 Improve documentation 2014-08-15 19:41:15 +04:00
ZyX 4a8b81e68b Rearrange renderers: move *_prompt modules one level up
Renames powerline.renderers.zsh_prompt to powerline.renderers.shell.zsh, same
for other *sh_prompt modules.
2014-08-15 19:27:10 +04:00
ZyX b5b91afcae Document how to create Vim local themes 2014-08-15 19:17:51 +04:00
ZyX f0ccb2dcb8 Fix path to __main__ theme 2014-08-15 19:17:51 +04:00
ZyX 1a1a8410d2 Add information about shell and ipython local themes 2014-08-15 19:17:50 +04:00
ZyX 86ddb38bf4 Add information about writing segments
Fixes #629
Ref #287
2014-08-15 19:17:50 +04:00
ZyX df19fe2701 Mention `showtabline` option in Vim tips and tricks 2014-08-15 19:17:50 +04:00
ZyX 63a376e91d Alter plugin layout: move *.plugin to *.{ext}.plugin
I do not see why vim plugins should receive such a generic name as
`powerline.segments.plugin.gundo`: taking a name that clearly indicates that
`gundo` is a *vim* plugin is better.
2014-08-15 19:17:50 +04:00
Nikolai Aleksandrovich Pavlov d66256ad34 Merge pull request #985 from ZyX-I/fix-983
Check whether $COLUMNS is empty or zero, not only empty
2014-08-15 18:28:51 +04:00
Nikolai Aleksandrovich Pavlov 7789ed2721 Merge pull request #984 from ZyX-I/fix-250
Call powerline.new_window early under certain conditions
2014-08-15 18:20:54 +04:00
ZyX 6c187d94d8 Call powerline.new_window early under certain conditions
Fixes #250 for the GUI.
2014-08-15 18:04:51 +04:00
ZyX 8523282a7b Check whether $COLUMNS is empty or zero, not only empty
Fixes #983
2014-08-15 18:04:41 +04:00
Nikolai Aleksandrovich Pavlov 23b43d8376 Merge pull request #982 from gladiac/docs
docs: Fix building the docs without RTD theme.
2014-08-13 19:46:42 +04:00
Andreas Schneider 538a41b25a docs: Fix building the docs without RTD theme.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2014-08-13 17:40:11 +02:00
Nikolai Aleksandrovich Pavlov 7453e58680 Merge pull request #979 from ZyX-I/fix-add_local_theme
Fix VimPowerline.add_local_theme
2014-08-13 07:56:43 +04:00
ZyX 1afab26cec Test that VimPowerline.add_local_theme works 2014-08-12 20:48:49 +04:00
ZyX da867b26a9 Fix VimPowerline.add_local_theme
After #783 it started to fail as it made Theme require defining dividers in 
theme and add_local_theme did not merge in other themes (__main__ and top).
2014-08-12 20:33:03 +04:00
Nikolai Aleksandrovich Pavlov b8c61c1d78 Merge pull request #978 from ZyX-I/other-shell-local-themes
Add support for PS2 and PS3 prompts outside of zsh
2014-08-12 08:26:13 +04:00
ZyX 7882583dcb Update continuation segment tests 2014-08-12 08:16:26 +04:00
ZyX d658e08049 Merge branch 'fix-977' into develop 2014-08-12 08:11:40 +04:00
ZyX 9e37648acf Remove unneeded keyword argument to player function
Fixes #977
2014-08-12 08:11:15 +04:00
ZyX 89afac44bb Add support for PS2 and PS3 prompts outside of zsh 2014-08-12 08:04:35 +04:00
Nikolai Aleksandrovich Pavlov 1abe0ac194 Merge pull request #975 from ZyX-I/min_cursor_columns
Add cursor_space and cursor_columns options
2014-08-10 21:10:16 +04:00
ZyX 4f3a682de2 Add priorities to ipython and shell themes 2014-08-10 21:03:33 +04:00
ZyX eeb3b5a1ce Do not repeat renderer module argument more then once 2014-08-10 21:03:33 +04:00
ZyX 547306e746 Add cursor_space and cursor_columns configuration options
Fixes #815
2014-08-10 21:03:33 +04:00
ZyX c97ab8055a Add output_width used for various shells 2014-08-10 19:14:33 +04:00
ZyX 72b7744b98 Split Renderer.render() into .render() and .do_render() 2014-08-10 18:28:32 +04:00
ZyX fcc397100e Wait for screen to initialize, based on screen exit status
Otherwise bash tests tend to fail randomly
2014-08-10 18:19:48 +04:00
ZyX 50e4c1d1e8 Move ZshPromptRenderer.render method to ShellRenderer 2014-08-10 18:15:14 +04:00
ZyX 3c243e1aa8 Rename top_theme_config to main_theme_config
Reason: preventing name conflict (top-level theme is a theme from #783).
2014-08-10 18:10:03 +04:00
ZyX 498da5362e Add client_id renderer argument to all shell bindings 2014-08-10 17:37:08 +04:00
Nikolai Aleksandrovich Pavlov c8cc7e464e Merge pull request #974 from ZyX-I/shell-tests-improvements
Shell tests improvements
2014-08-10 17:20:27 +04:00
ZyX fdd8f6df3c Wait for pid file to appear
Should fix some rare bash test failures
2014-08-10 17:10:35 +04:00
ZyX 7ade6d1fc0 Use busybox as shell name in place of bb
Conflicts:
	tests/test_shells/test.sh
2014-08-10 17:02:07 +04:00
ZyX 01185eb9c8 Use bgscript.sh in place of direct bash call 2014-08-10 16:58:55 +04:00
Nikolai Aleksandrovich Pavlov 60c9f8b526 Merge pull request #973 from ZyX-I/ext-components
Add components configuration option
2014-08-10 16:44:09 +04:00
ZyX 5313e61fe6 Fix name conflict in vim bindings 2014-08-10 16:32:27 +04:00
ZyX 9d1392fa0d Fix vim emulation module 2014-08-10 16:26:22 +04:00
ZyX b8049fab87 Add ext.*.components configuration support
Also fixes various problems in shell bindings.

Closes #969
2014-08-10 16:26:22 +04:00
ZyX f51134deef Run shell tests in an isolated environment 2014-08-10 16:13:33 +04:00
ZyX 3c03240530 Remove tests/shell iff there are no failures 2014-08-10 16:13:33 +04:00
ZyX 99c9f730e0 Do not omit running tests without ONLY_SHELL set 2014-08-10 16:13:33 +04:00
ZyX 6f550fce8b Write zero after writing current working directory in powerline.c 2014-08-10 16:13:33 +04:00
ZyX 310af9ae75 Prefer powerline bindings directory over fish_function_path 2014-08-10 16:13:33 +04:00
ZyX 5c5407cffd Make libzpython bindings accept multiple paths when using overrides 2014-08-10 16:13:33 +04:00
ZyX 17b32b1765 Make ipython accept paths, not a single path 2014-08-10 16:13:32 +04:00
ZyX 8de14c1fd7 Do not use os.environ for write_output
This is required for daemon to work properly
2014-08-10 14:51:38 +04:00
Nikolai Aleksandrovich Pavlov 11168bf709 Merge pull request #968 from mreinhardt/feature/fix-now-playing-spotify-comma-error
Fix NowPlaying segment when comma in artist or title
2014-08-09 15:26:30 +04:00
ZyX e64811c661 Add vim_getoption and vim_setoption functions 2014-08-09 13:04:30 +04:00