Commit Graph

1833 Commits

Author SHA1 Message Date
ZyX 242a6a0f12 Add `None` mark to module object
Applicable only when it fallbacks to the default value. This may output shown by
travis more informative. And in any case old code contained a bug.
2014-08-24 22:21:01 +04:00
Nikolai Aleksandrovich Pavlov 9ee8e6976b Merge pull request #1018 from ZyX-I/solarized-colors-names
Use color names specific to solarized
2014-08-24 22:09:28 +04:00
ZyX 407014417f Move solarized colors below other colors 2014-08-24 22:04:15 +04:00
ZyX 9d63fb42d1 Remove unneeded colors 2014-08-24 22:04:15 +04:00
ZyX a70ec39a1f Make powerline-lint support `id:id` groups 2014-08-24 22:04:15 +04:00
pearofducks abc9c5ef90 Add a prefix to solarized color names
Conflicts:
	powerline/config_files/colors.json
	powerline/config_files/colorschemes/shell/solarized.json
	powerline/config_files/colorschemes/vim/solarized.json
2014-08-24 22:04:15 +04:00
Nikolai Aleksandrovich Pavlov 2954a5c404 Merge pull request #1016 from ZyX-I/tmux-attached_clients
Add segment with count of clients attached to tmux
2014-08-24 21:19:04 +04:00
ZyX 69939f351c Add __future__ import 2014-08-24 21:08:20 +04:00
ZyX dc7f8c22e6 Wrap docstring and add dot 2014-08-24 21:07:49 +04:00
ZyX e4565dd3e8 Make attached_clients segment use provided tmux bindings 2014-08-24 21:07:19 +04:00
ZyX eee150f97c Move some functions to from bindings.config to bindings.tmux 2014-08-24 20:58:39 +04:00
Matthew M. Keeler 88515ab472 Show Count of Attached Tmux Sessions
- This segment displays the number of attached tmux clients to the
  currently running session.
- The minimum argument is used to specify a threshold for when the
  segment should be visible.

Fixes #661
Closes #662

Conflicts:
	docs/source/index.rst
	powerline/config_files/colorschemes/shell/default.json
	powerline/config_files/colorschemes/shell/solarized.json
	powerline/config_files/colorschemes/tmux/default.json
	powerline/config_files/colorschemes/vim/default.json
	powerline/config_files/colorschemes/vim/solarized.json
	powerline/config_files/colorschemes/wm/default.json
	tests/test_segments.py
2014-08-24 20:56:59 +04:00
ZyX 48b575b67b Merge branch 'rdio-mac-app-player' into develop
Closes #530
2014-08-24 20:19:59 +04:00
ZyX a9c397e5e6 Increase indentation of osascript code in spotify player 2014-08-24 20:19:28 +04:00
ZyX 86c9e998d1 Refactor player_rdio to use the same approach spotify uses 2014-08-24 20:17:47 +04:00
Zero Cho 7f9eef4ce1 Add player support for Rdio Mac app
Conflicts:
	powerline/segments/common.py
2014-08-24 20:13:12 +04:00
Nikolai Aleksandrovich Pavlov d4525a8086 Merge pull request #1014 from ZyX-I/zsh-named-dirs
Add support for zsh named directories
2014-08-24 20:08:20 +04:00
ZyX 45d2053053 Do not specify $PYTHON when running python client
It is not needed: in the environment where it is run only python is the one
linked in tests/shell/path.
2014-08-24 19:57:58 +04:00
ZyX d7a674deaa Add support for shell-specific path shortening
Fixes #502
2014-08-24 19:54:28 +04:00
ZyX 86c3768e4e Move with_docstring function to powerline.segments 2014-08-24 19:50:54 +04:00
ZyX f4e49e2ee6 Make powerline autodoc add all Segments 2014-08-24 19:50:54 +04:00
ZyX 04c0030fe1 Refactor cwd segment into a class and add shorten_home argument 2014-08-24 19:50:54 +04:00
ZyX 7c07f242bb Merge branch 'clementine-dbus' into develop 2014-08-24 18:08:25 +04:00
ZyX 7c587f5c20 Add clementine media player support
Based on #438 by @printesoi

Fixes #422
Closes #438
2014-08-24 18:07:07 +04:00
Nikolai Aleksandrovich Pavlov e7ef2d14d3 Merge pull request #1013 from ZyX-I/fix-341
Catch errors from tree_status
2014-08-24 18:02:50 +04:00
ZyX 2d4897d5dd Catch errors from tree_status
Fixes #341
2014-08-24 17:46:11 +04:00
ZyX 10665f4c7d Do not format message before passing it to self.pl.warn 2014-08-24 17:45:08 +04:00
Nikolai Aleksandrovich Pavlov cd9811806c Merge pull request #1012 from ZyX-I/fish-vi-mode
Add fish vi mode support

Closes #879
Fixes #878
2014-08-24 17:22:14 +04:00
ZyX 58057c95b9 Add a directory that will make fish_update_completions not launch 2014-08-24 17:14:37 +04:00
ZyX 0af5e2d2ca Test mode support in fish
WARNING: Requires development version of fish. Since fish is not tested in
travis it is probably OK.
2014-08-24 17:14:37 +04:00
ZyX 54672aace0 Make COMMAND_PATTERN consistent with other arguments 2014-08-24 17:14:37 +04:00
ZyX 68ecd81edd Wait until fish_update_completions finishes 2014-08-24 16:58:35 +04:00
ZyX 09b78884de Set default mode in another function 2014-08-24 15:37:56 +04:00
Shen-Ta Hsieh 9be2a2e39b add _POWERLINE_DEFAULT_MODE detection 2014-08-24 15:36:50 +04:00
sthsieh 04c293e40d Add fish shell vi-mode support 2014-08-24 15:36:50 +04:00
Nikolai Aleksandrovich Pavlov c2f35ca76e Merge pull request #1011 from ZyX-I/old-vims
Improve Vim bindings
2014-08-24 13:57:08 +04:00
ZyX 5bc1f75b70 Add support for vim.eval('v:version') in test bindings 2014-08-24 13:41:54 +04:00
ZyX 6a8074a3d3 Update information about Vim version 2014-08-24 13:37:20 +04:00
ZyX 767d0afa2a Make troubleshooting routine actually work 2014-08-24 13:37:20 +04:00
ZyX 6dde8f2f95 Move powerline setup under :try
Makes it benefit from troubleshooting below
2014-08-24 13:37:20 +04:00
ZyX 2c8932b084 Do not call mode() with an argument on old Vims 2014-08-24 13:37:13 +04:00
ZyX c2609e31b8 Replace let s:pystr… with call s:rcmd(…)
Makes lines slightly shorter
2014-08-24 13:36:05 +04:00
ZyX 098dadadf5 Add some unlets before calling :finish 2014-08-24 13:20:08 +04:00
Nikolai Aleksandrovich Pavlov 4f07694e06 Merge pull request #1010 from ZyX-I/internal_ip
Add internal_ip segment

Closes #857
Fixes #826
2014-08-24 01:32:43 +04:00
ZyX 173c4d6e76 Add internal_ip segment
Closes #857
2014-08-24 01:20:25 +04:00
ZyX d76df9f168 Merge branch 'fix-reloading' into develop 2014-08-23 19:09:42 +04:00
ZyX 483b261019 When processing exception from _load do not allow overwriting it
If `self.loaded.pop` raises KeyError then this KeyError will be logged, not the 
initial exception from `self._load`.
2014-08-23 19:09:28 +04:00
ZyX f6f8dd8af3 Make condition function return path as expected by lib.config 2014-08-23 19:07:57 +04:00
Nikolai Aleksandrovich Pavlov 1a71ed3eba Merge pull request #1009 from ZyX-I/fix-1008
Improve Python 3 compatibility when using daemon and client
2014-08-23 16:30:59 +04:00
ZyX 20e9575c17 Do not try to test ipython if it is not available 2014-08-23 16:24:16 +04:00