Commit Graph

828 Commits

Author SHA1 Message Date
Kovid Goyal 28c1c0dfb4 More informative error message. Fixes #638 2013-08-20 09:28:11 +05:30
Kim Silkebækken 70e279afde Merge branch 'feature/visual-range-segment' into develop 2013-08-06 11:09:11 +02:00
Kim Silkebækken ab6140136d Add visual_range segment
Returns a value similar to `showcmd`.

TODO: Make proper test case.
2013-08-06 10:57:04 +02:00
Kim Silkebækken aa05f22652 Update README 2013-08-05 10:56:27 +02:00
Kim Silkebækken 0b3e354c2e Merge branch 'fix-archlinux-aur-issues' into develop 2013-07-31 16:13:05 +02:00
Kim Silkebækken ad4a1b546a Fix Arch Linux AUR package upload issues
Some workarounds have been added so that AUR correctly parses the
package name and dependencies when the package is uploaded.
2013-07-31 16:11:20 +02:00
Kim Silkebækken 225ac48cfc Merge remote-tracking branch 'tmurph/feature/504-battery-segment' into develop
Conflicts:
	powerline/config_files/colorschemes/tmux/default.json
2013-07-31 15:28:54 +02:00
Kim Silkebækken 432fb81e42 Merge branch 'improve-archlinux-packages' into develop 2013-07-31 15:26:15 +02:00
Kim Silkebækken 99e0cf57b8 Improve Arch Linux packages
Use simplified syntax and messages, fix package names, ref
HalosGhost/patch-{2,3}.
2013-07-31 15:24:40 +02:00
Kim Silkebækken 0ff02f7b1f Merge remote-tracking branch 'mmlb/add-fontpatcher-to-PKGBUILD' into develop 2013-07-31 14:37:10 +02:00
Kim Silkebækken 35364ecbd0 Merge remote-tracking branch 'HalosGhost/patch-3' into develop 2013-07-31 14:34:59 +02:00
Kim Silkebækken 4ea9dcb66f Merge remote-tracking branch 'HalosGhost/patch-2' into develop 2013-07-31 14:34:33 +02:00
Kim Silkebækken 5c88c0ae75 Merge remote-tracking branch 'doitian/tmux-activity-bell-fg' into develop 2013-07-31 14:30:31 +02:00
Kim Silkebækken b4ee360498 Merge remote-tracking branch 'kovidgoyal/fix-578' into develop 2013-07-31 14:28:03 +02:00
Kim Silkebækken 69db1a905f Merge remote-tracking branch 'kovidgoyal/fix-latest-psutil-network' into develop 2013-07-31 08:11:55 +02:00
Kim Silkebækken 9fd64f2dec Merge remote-tracking branch 'kovidgoyal/fix-unicode-in-setup' into develop 2013-07-31 08:03:45 +02:00
Kovid Goyal d1cdf860d1 Fix #604 2013-07-20 18:44:18 +05:30
Kovid Goyal d66806e506 Fix latest psutil breaking network segment 2013-07-14 15:04:34 +05:30
Trevor Murphy 24cda1d947 Add a battery info segment.
Default colors range from red (full battery) to white (no battery) but can be changed via the
`battery' and `battery_gradient' settings.

Default presentation is a formatted percentage string (with keyword `batt').  The `gamify' setting
changes this to a sequence of video game hearts.

Number of steps from 100% to 0% / number of video game heart icons is controlled by the `steps'
setting (default 5).
2013-07-13 22:44:38 -04:00
Ian Yang 82842e015c Set different window name foreground based on activity and bell status. 2013-07-09 09:32:01 +08:00
Kovid Goyal 52c6bff67f Dont log inotify missing error when using branch coloring
The error message about inotify being missing when branch coloring is
enabled was being logged for every directory and for every invocation
of powerline in a shell, without powerline-daemon. Dont log it, since
the log is printed to stderr when using powerline in a shell without
powerline-daemon. Also improve the error message on OS X. Fixes #578
2013-07-03 09:40:05 +05:30
Manuel Mendez 2be3059ebd arch: update pkgrel to 2. 2013-07-02 08:52:22 -04:00
Manuel Mendez 4083cf4cc0 arch: break package() into separate packages. 2013-07-02 08:52:18 -04:00
Manuel Mendez 01560ae714 arch: add fontpatcher to archlinux/python-powerline. 2013-07-02 08:44:12 -04:00
Manuel Mendez ffb29d60d8 arch: add fontpatcher to archlinux/python2-powerline. 2013-07-02 08:43:37 -04:00
Manuel Mendez 79e7640bba arch: add provides=('powerline') to PKGBUILDs. 2013-07-02 08:41:05 -04:00
Sam Stuewe b0c5c05924 Clean up package function for python3
``|| return 1`` is very old syntax and is no longer needed. And, the ``install`` command can handle directory creation and file installation in the same command which cuts a great deal of unnecessary commands out.

Also, remember, ``msg2`` in the package function will be printed during the making of the package, not during the installation. Thus, instead of ``msg2`` (as they really serve only as documentation), comments should be preferred.
2013-06-28 10:48:01 -05:00
Sam Stuewe 1970d0787c Clean up package function for python2
The "|| return 1" is very old syntax and is no longer needed. And, the ``install`` command can handle directory creation and file installation in the same command which cuts a great deal of unnecessary commands out.

Also, remember, msg2s in the package function will be printed during the making of the package, not during the installation. Thus, instead of msg2s (as this really would serve only as documentation), comments should be preferred.
2013-06-28 10:43:12 -05:00
Kim Silkebækken c1ae7f3598 Merge remote-tracking branch 'zyx-i/fix-516' into develop 2013-06-28 14:26:33 +02:00
Kim Silkebækken 67dff293b8 Merge branch 'feature/update-archlinux-packages' into develop 2013-06-28 14:15:07 +02:00
Kim Silkebækken 8d9fa13797 Update Arch Linux packages to use updated VCS syntax
Closes #479
2013-06-28 14:14:37 +02:00
Kim Silkebækken 4ee5072c6d Merge branch 'fix/docs-fontpatcher-path' into develop 2013-06-28 13:55:37 +02:00
mwcz 17435ecf90 Fix documented path to fontpatcher.py 2013-06-28 13:55:28 +02:00
Kim Silkebækken 5dd095a846 Merge remote-tracking branch 'michaelbeaumont/fix/issue-543' into develop 2013-06-28 13:54:03 +02:00
Kim Silkebækken f00f1ace4d Merge branch 'feature/git-improve-detached-head' into develop 2013-06-28 13:50:41 +02:00
Jack Zhou 72b082a510 Change [DETACHED HEAD] message to a short hash of the detached head. 2013-06-28 13:49:45 +02:00
Kim Silkebækken afe415a398 Merge remote-tracking branch 'kovidgoyal/fix-482' into develop
Conflicts:
	powerline/lib/vcs/git.py
2013-06-28 13:47:25 +02:00
Kim Silkebækken fc6d85219f Merge remote-tracking branch 'zyx-i/fix-567' into develop 2013-06-28 13:37:50 +02:00
Kim Silkebækken bb6c959313 Merge remote-tracking branch 'zyx-i/powerline-list-expanduser' into develop 2013-06-28 13:36:38 +02:00
Kim Silkebækken 13e0c8992d Merge remote-tracking branch 'zyx-i/fix-545' into develop 2013-06-28 13:36:11 +02:00
ZyX 3cf04f3aab Support low values of line2byte
Fixes #567
2013-06-27 19:24:28 +04:00
ZyX 5ccf8d2cb4 Support ~/ directories in powerline-lint 2013-06-22 20:30:53 +04:00
ZyX a85d9017fd In place of failure create new window ID in case of duplicate ID
Fixes #545
Fixes #537
2013-06-22 19:32:56 +04:00
ZyX 987376aecb Fix tests 2013-06-22 19:14:07 +04:00
ZyX 79b842ec9b Remove uneeded code 2013-06-22 19:12:57 +04:00
ZyX 31c86486fe Disable vim.bindeval support for vim_getwar for old vim versions 2013-06-22 19:00:56 +04:00
Kovid Goyal a03035dd0d Remove obsolete comment 2013-06-14 13:45:13 +05:30
Kovid Goyal 14bec211aa Various performance improvements for the vcs backend
1) Fix a bug where watching a directory would also report the directory
as changed if any files inside it were changed. This would causes
excessive polling by the branch segment

2) Fix a bug where the watch for the repo dir in the branch segment
was being continually recreated, again causing excessive polling. This
was particularly noticeable with the patch to fix fugitive file status
updates.

3) Improve the performance of branch coloring for git repos by ignoring
change events for the index.lock file. This file is created/deleted
every time git access the index and would cause the entire working tree
status to be re-queried every time.
2013-06-14 13:40:17 +05:30
michaelbeaumont 8de2a9abf9 Fix infinite add_watches loop with symbolic links
Added a check to ensure that add_watches doesn't run on the same folder over and over again. This occurs at least when circular symbolic links are present.

Fix #543
2013-06-12 11:09:50 +02:00
Kim Silkebækken 2758c349db Revert "Fix committing with fugitive => stuck file status"
This reverts commit 0435d44984.

The commit introduces a huge performance penalty and is removed for now.
2013-06-10 11:53:40 +02:00