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
ZyX
260a0dafcb
Add tests for the constantly recreated *Powerline instances
2013-03-19 00:42:32 +04:00
ZyX
1dc039a3b0
Some small changes in .segments.vim
2013-03-19 00:29:41 +04:00
Kovid Goyal
fd6c1f1e13
Avoid divisin by zero exception in the network load segment
2013-03-19 00:26:57 +04:00
ZyX
4551bd2887
threaded: Add .update_first, leave .queries as-is unless key’s missing
...
Fixes #335
Closes #336
2013-03-19 00:26:57 +04:00
ZyX
ca723aafaa
Skip external_ip segment if self.ip is not defined
...
Ref #335
2013-03-18 23:58:06 +04:00
ZyX
137ae5f990
Change hook type
...
It makes sense to run _powerline_tmux_set_pwd only when working directory is
changed.
2013-03-18 23:55:14 +04:00
Kim Silkebækken
e49d129cb2
Merge branch 'fix-bzr-shelves' into develop
2013-03-18 08:29:05 +01:00
Kovid Goyal
c92aaef0e5
bzr segment: Handle repos with shelves correctly
...
Return None instead of a string with spaces for a clean repo with
shelves.
2013-03-18 08:27:43 +01:00
Kim Silkebækken
f0f1f3f85e
Merge remote-tracking branch 'zyx-i/threaded' into develop
2013-03-18 08:24:54 +01:00
ZyX
bb63722fb1
Also call .shutdown() in ipython
2013-03-18 08:15:02 +04:00
ZyX
b0495d028f
Do not let daemon threads be stopped while being updated
2013-03-18 07:56:25 +04:00
ZyX
674a211cda
Remove escape sequences from default strings in documentation
...
Note: to properly view some values in browser you need the browser to use
patched font or fontconfig. Though there is not much difference between some
cryptic escape sequence and singe wrongly displayed character.
2013-03-17 22:26:57 +04:00
ZyX
60cc0196e8
Remove @ from documentation which was present for unknown reason
2013-03-17 22:07:37 +04:00
ZyX
34fba2286a
Fix documentation for wrapped functions
2013-03-17 22:07:27 +04:00
ZyX
19b45e609a
Fix documentation for threaded segments
2013-03-17 22:06:52 +04:00
ZyX
ce65470ac3
Fix shorten_cwd handling
2013-03-17 21:23:27 +04:00
ZyX
fb2e9b6cdb
Test all other segments
...
Still uncovered: email_imap_alert and now_playing
2013-03-17 21:23:27 +04:00
ZyX
ceabd372d4
Add temperature_format keyword argument to weather segment
2013-03-17 21:23:26 +04:00
ZyX
a1b0b6239f
Add format keyword argument to network_load segment
2013-03-17 21:23:26 +04:00
ZyX
f9e9b2cd22
Change uptime format, make it accept seconds if needed
...
It is uncommon to use integers like 00 or 01 for days.
2013-03-17 21:23:26 +04:00