2552 Commits

Author SHA1 Message Date
John Drouhard
a85b54d923 Update vim test module to implement 'getbufvar(...)'
This allows the tests for the buffer tablist to pass, since it now uses
getbufvar(nr, '&modified') to detect whether the buffer needs to be
modified
2015-11-14 19:39:35 -06:00
John Drouhard
63214c8a79 Update highlight groups for tabline
This changes the buffer highlight groups from buf and buf_nc to
buf, buf_nc, buf_mod, and buf_nc_mod. Doing this allows a higher
level of configurability for the highlight groups used in the
buffer-only tabline.
2015-11-14 15:12:48 -06:00
John Drouhard
6efabc170d Fix performance issue with tabline and showtabline=2
vim_getbufoption(segment, 'buflisted') was causing vim to update the tabline for every
keystroke. using vim.eval('buflisted(nr)') allows vim to optimize when
it needs to update

Fixes #1281
2015-11-14 14:49:42 -06:00
Nikolai Aleksandrovich Pavlov
4e7f39926a Merge pull request #1486 from michelesr/develop
Fix #1483 -- [Battery - Linux] Fix AC status fetch
2015-11-08 18:10:28 +03:00
Michele Sorcinelli
2063411d34 Fix #1483 -- [Battery - Linux] Fix AC status fetch
Fix a bug where the `online` property is checked inside battery
instead of AC.

As specified in issue #1483, `online` is found only inside
`/sys/class/power_supply/AC<x>/` directories, and equals `1` when cable is
plugged, and `0` when unplugged.

Edit: updated with --amend according to ZyX-I hints in order to work with
powerline daemon.
2015-11-08 15:44:32 +01:00
Nikolai Aleksandrovich Pavlov
5364919b47 Merge pull request #1482 from fernandezcuesta/develop
Include dist folder to MANIFEST.in
2015-11-04 19:30:50 +03:00
Jesús Fernández
9fcf8fa0c1 Including dist folder to MANIFEST.in 2015-11-04 12:19:28 +01:00
Foo
fc6c3d9474 Merge branch 'release-2.3' into develop 2015-10-20 12:54:26 +03:00
Foo
312301b3f4 Update base version 2015-10-20 12:54:26 +03:00
Nikolai Aleksandrovich Pavlov
a7dc28fb4d Merge pull request #1472 from ZyX-I/pr-1426
Add hide_domain argument to common.env.user segment
2015-10-20 00:03:41 +03:00
=
e0a62f9cf7 Add hide_domain argument to common.env.user segment
If true, this argument hides `@` and the following characters from the user
name.

Fixes #1420
Closes #1426
2015-10-19 23:53:23 +03:00
Nikolai Aleksandrovich Pavlov
e041f0e6ac Merge pull request #1451 from QuLogic/virtualenv-conda
Show conda environment in virtualenv segment.
2015-10-19 23:50:05 +03:00
Nikolai Aleksandrovich Pavlov
ddfbb20eba Merge pull request #1471 from ZyX-I/tmux-2.1-update
Support tmux-2.1
2015-10-19 23:34:12 +03:00
Foo
0233909189 Do not allow failures any more 2015-10-19 23:29:34 +03:00
Foo
688e507967 Install old virtualenvwrapper for 2.6 UCS2 Python 2015-10-19 22:46:20 +03:00
Foo
c4b4097b0c Transform pane_id to unicode before using
Tmux-2.1 appears not to output leading `%` when using `tmux display -p '#D'`.
This change changes type of the `pane_id` argument: leading `%` turns it into
a literal string, number in front makes it be parsed as a JSON number.

Fixes #1470
2015-10-19 22:00:45 +03:00
Nikolai Aleksandrovich Pavlov
3b3d8f0188 Merge pull request #1408 from ti-mo/develop
Added tips for Urxvt compiler flags
2015-10-16 00:21:49 +03:00
Timo Beckers
e6d484a329 Added troubleshooting for Urxvt & Unicode 2015-10-15 23:14:52 +02:00
Nikolai Aleksandrovich Pavlov
841c25f6b6 Merge pull request #1467 from S0lll0s/i3-docs
Add i3 to the tagline
2015-10-08 20:07:56 +03:00
S0lll0s
9247567ae9 Add i3 to the tagline 2015-10-08 11:52:29 +02:00
Nikolai Aleksandrovich Pavlov
44b2f91729 Merge pull request #1466 from ZyX-I/fix-pypy3-test
Skip date test on PyPy3
2015-10-06 02:15:06 +03:00
Foo
76be911b81 Skip date test on PyPy3
See https://bitbucket.org/pypy/pypy/issues/2161/pypy3-strftime-does-not-accept-unicode
2015-10-06 01:46:25 +03:00
Foo
1cd992b4e3 Merge branch 'disable-python2.6-ucs2-tests' into develop 2015-10-06 01:40:15 +03:00
Foo
20ceaac885 Allow the whole CPython-2.6 UCS2 section to fail 2015-10-06 01:39:30 +03:00
Foo
a839b15ecd Merge branch 'pull-1461' into develop 2015-10-06 00:41:40 +03:00
Håken Lid
c6a6041b0d Allow unicode characters in time segment in Python-2 2015-10-06 00:40:54 +03:00
Nikolai Aleksandrovich Pavlov
3696782368 Merge pull request #1464 from powerline/ZyX-I-patch-2
Fix typo (missing letter) in installation/osx.rst
2015-10-06 00:27:32 +03:00
Nikolai Aleksandrovich Pavlov
69d3bdf328 Fix typo (missing letter) in installation/osx.rst
Closes #1463
2015-10-06 00:27:08 +03:00
Nikolai Aleksandrovich Pavlov
6a62e82925 Merge pull request #1462 from S0lll0s/i3-docs
Include i3wm segments in configuration docs
2015-10-05 21:59:50 +03:00
S0lll0s
811498d21b Include i3wm segments in Configuration docs
Close #1457
2015-10-05 20:57:26 +02:00
Nikolai Aleksandrovich Pavlov
aa33599e3f Merge pull request #1456 from powerline/ZyX-I-patch-1
Do not state that patched font does not work for rxvt-unicode
2015-09-29 14:18:48 +03:00
Nikolai Aleksandrovich Pavlov
783b0f7f84 Do not state that patched font does not work for rxvt-unicode
Fixes #1455
2015-09-29 13:50:40 +03:00
Elliott Sales de Andrade
56aa31a66d Show conda environment in virtualenv segment.
Either conda or virtualenv checks can be disabled using the new
ignore_venv or ignore_conda options to this segment.
2015-09-14 02:36:06 -04:00
Nikolai Aleksandrovich Pavlov
f8c45e9566 Merge pull request #1449 from DoctorJellyface/develop
Added a systemd service, fixes #1447.
2015-09-13 18:20:16 +03:00
Juraj Fiala
7e379a8a2f Added a systemd service, fixes #1447. 2015-09-13 16:53:26 +02:00
Nikolai Aleksandrovich Pavlov
d78d29c61e Merge pull request #1443 from seanfisk/feature/internal-ip-default-gateway
Add option to detect internal_ip interface from default gateway
2015-09-06 01:24:41 +03:00
Sean Fisk
2c1213116e Log when IP address family not found for interface 2015-09-05 18:02:11 -04:00
Sean Fisk
105cf6666f Detect internal_ip interface from default gateway
Add the option to specify `interface='default_gateway'` to the
`internal_ip` segment, which displays the IP address of the interface
connected to the default gateway.
2015-09-05 18:00:55 -04:00
Nikolai Aleksandrovich Pavlov
f91fb141de Merge pull request #1439 from ZyX-I/fix-1437
Fix support for passworded connections in mpd+python-mpd* player seg
2015-08-30 14:29:35 +03:00
Foo
b8e09b3e42 Fix support for passworded connections in mpd+python-mpd* player seg
Fixes #1437
2015-08-30 13:21:01 +03:00
Foo
5ebf0875b8 Merge commit 'a272c6a' into develop 2015-08-30 01:23:03 +03:00
Foo
a272c6abb5 Use net_io_counters by default also in _get_interfaces
Fixes #1435
2015-08-30 01:21:49 +03:00
Nikolai Aleksandrovich Pavlov
e1dc584fc3 Merge pull request #1436 from setrofim/develop
Adding zoom indicator to window status formats.
2015-08-27 18:45:02 +03:00
Sergei Trofimov
eeaaf3930f updating tmux tests to expect window_flags in window status format 2015-08-27 09:05:13 +01:00
Sergei Trofimov
c687ea943f Adding zoom indicator to window status formats. 2015-08-26 16:02:42 +01:00
Nikolai Aleksandrovich Pavlov
5905ac22bf Merge pull request #1432 from S0lll0s/new-workspace
Add 'output' option to segments.i3wm.workspaces
2015-08-22 20:12:53 +03:00
S0lll0s
918dd957cf Add 'output' option to segments.i3wm.workspaces 2015-08-22 18:53:32 +02:00
Foo
7ef8f4f97e Merge branch 'zsh-fix' into develop 2015-08-22 18:19:14 +03:00
Foo
959693fa97 Temporary fix for failing zsh tests 2015-08-22 18:05:07 +03:00
Foo
b7bca615af Use tests/common.sh for reporting test failures 2015-08-22 17:29:44 +03:00