ZyX
00271c2a0c
Shut down network_load segment in tests
2013-03-24 22:24:48 +04:00
ZyX
80e55b0c81
Replace update_lock with shutdon_event
2013-03-24 22:24:48 +04:00
Kim Silkebækken
07c2ea1176
Merge remote-tracking branch 'zyx-i/fix-361' into develop
2013-03-24 19:07:44 +01:00
ZyX
b6143cf429
Readd log_ prefix and expand log_file
2013-03-24 21:04:09 +04:00
ZyX
d27c720279
Fix race condition, don’t rely on detect feature
...
detect feature is to be tested though
2013-03-24 20:36:28 +04:00
ZyX
7764bcc6a1
Fix logging format
...
Fixes #361
2013-03-24 20:21:21 +04:00
Kim Silkebækken
68e29a7eba
Merge remote-tracking branch 'zyx-i/pl-argument' into develop
2013-03-24 17:11:29 +01:00
ZyX
6c495374a0
Fix exec call for non-python-2.7
2013-03-24 20:03:09 +04:00
ZyX
1351207462
Some fixes for flake8
2013-03-24 19:59:56 +04:00
Kim Silkebækken
5cebad9428
Merge remote-tracking branch 'zyx-i/pl-argument' into develop
2013-03-24 16:52:44 +01:00
ZyX
14d957bdf9
Skip crashed segments
2013-03-24 19:49:54 +04:00
ZyX
ca2f0cc873
Do not wait for update lock, exit
2013-03-24 19:49:54 +04:00
ZyX
63a50ad200
Remove run_once from ShellPowerline, fix update_first
...
run_once will be passed to Powerline as a part of **kwargs
2013-03-24 19:49:54 +04:00
ZyX
7370876c35
Make scripts/powerline use os.environ['PWD'] for .getcwd() if present
...
Closes #330
2013-03-24 19:49:54 +04:00
ZyX
8a51d99389
Some fixes for zsh, remove some exceptions handling
...
Those exceptions are now handled and logged at top level, thus no need to handle
them in segment.
Ref #330 , it is now fixed for zsh/zpython
Note: do not use zsh/zpython + python3, it does not work properly, even though
this changeset contains fixes for it as well
Fixes #360
2013-03-24 19:48:51 +04:00
ZyX
ed435f8063
Add required pl argument to segments
...
Fixes #340
Ref #330
2013-03-24 19:44:01 +04:00
ZyX
cc1c982696
Move configuration to /etc/xdg/powerline
...
XDG_CONFIG_DIRS is set in /etc/env.d by configuration from xdg-utils package,
but it is not guaranteed to be present in the system
2013-03-24 19:35:25 +04:00
ZyX
e151b600b2
Use python’s try/catch, not vim’s
...
Fixes #344
2013-03-24 19:35:25 +04:00
ZyX
127a600e1b
Rework API for custom vim events
2013-03-24 19:35:25 +04:00
ZyX
a021916428
Make update_first configurable
2013-03-24 19:35:25 +04:00
ZyX
e6dd40bff0
Fix behavior with run_once: .update() was called too much times
2013-03-24 19:35:25 +04:00
ZyX
a65a27e673
Allow multiple starts by not subclassing from Thread
2013-03-24 19:35:25 +04:00
ZyX
0c9337bd72
Allow multiple shutdown calls
2013-03-24 19:35:25 +04:00
ZyX
840ac0109b
Port common.branch segment to KwThreaded*, add common.repository_status
2013-03-24 19:35:25 +04:00
Kim Silkebækken
5caeac26bf
Merge remote-tracking branch 'zyx-i/fix-356' into develop
2013-03-24 16:18:44 +01:00
Kim Silkebækken
154fe123fe
Merge remote-tracking branch 'zyx-i/ipython-other' into develop
2013-03-24 16:18:26 +01:00
Kim Silkebækken
7a096f6c9d
Merge remote-tracking branch 'zyx-i/colors' into develop
2013-03-24 16:18:07 +01:00
ZyX
33592145ae
Also fix VimRenderer.strwidth
...
Fixes #356
2013-03-24 05:56:55 +04:00
ZyX
87e39d0b56
Autodetect python version
2013-03-24 05:51:41 +04:00
ZyX
b517df774b
Fix bytes handling on python3
...
Fixes #356
2013-03-24 05:45:52 +04:00
ZyX
c4e5ff8b49
Added support for all powerline prompts (in2, out, rewrite)
...
Also fixed problem with prompt not really updating.
Fixes #141
2013-03-24 05:23:33 +04:00
ZyX
bb06207838
Some lint fixes
...
* Fixed handling of empty scalars in python2: ''.join([]) returns str,
''.join([u'smth']) returns unicode
* Fixed check_config: it was always checking for themes, even if it was
requested to check colorscheme
2013-03-24 05:23:33 +04:00
ZyX
83ed36903c
Fix bold attr that may leak into next segment
2013-03-24 05:23:33 +04:00
ZyX
b1f9edab4c
Remove get_segment_info and passing segment_info through globals
2013-03-24 05:23:33 +04:00
ZyX
004e6a8b46
Add gradient to email_imap_alert segment
...
Colors probably need to be revised
Fixes #301
2013-03-24 01:43:37 +04:00
ZyX
83517f65b9
Make test.sh always check only powerline/config_files directory
2013-03-24 01:42:50 +04:00
ZyX
25806fa075
Added gradient for network_load segment
2013-03-24 01:33:56 +04:00
ZyX
37b684dcd3
Fix checks for gradient groups (it was not forcing gradient colors)
2013-03-24 01:19:58 +04:00
ZyX
157b849d33
Make weather gradient configurable, add system_load gradient
...
Also make gradients floating-point and fix #332 by removing “normalized” from
system_load segment documentation.
2013-03-24 00:55:54 +04:00
Kim Silkebækken
49b54353a1
Merge branch 'feature/autodetect-network-interfaces' into develop
2013-03-21 17:25:35 +01:00
Kovid Goyal
b951907912
Autodetect network interfaces to monitor
2013-03-21 17:24:09 +01:00
Kim Silkebækken
4d8a0d50e3
Merge remote-tracking branch 'zyx-i/fix-342' into develop
2013-03-21 17:11:18 +01:00
ZyX
0610316e25
Make prompt* sets non-local
...
Fixes #342
2013-03-21 07:52:54 +04:00
ZyX
c92dfae5dc
Made tools/*.py executable
2013-03-19 23:25:44 +04:00
ZyX
910dc3e69d
Made tools/generate_gradients.py work in python3
2013-03-19 23:25:44 +04:00
ZyX
da8647895a
Make generate_gradients tool be able to show custom scale
2013-03-19 23:25:44 +04:00
ZyX
11aa74c634
Make it use gradient for weather temperature
...
Ref #301
2013-03-19 23:25:44 +04:00
ZyX
3e4a98b174
Make green_yellow_orange_red grad use <16 colors, added 2 more grads
...
They are currently unused
2013-03-19 23:25:44 +04:00
ZyX
1a4eeadbee
Added green_yellow_orange_red gradient for line % in solarized
...
Ref #301
2013-03-19 23:25:44 +04:00
Kim Silkebækken
83d855d3d7
Merge remote-tracking branch 'zyx-i/threaded-misc' into develop
2013-03-19 10:52:31 +01:00