Commit Graph

1230 Commits

Author SHA1 Message Date
ZyX 551c9f8bed Add two more colors to white_red gradient cterm colors
Picked up with

    tools/generate_gradients.py 231 223 216 209 196
2014-07-10 18:35:24 +04:00
ZyX a0a5b44173 Use battery_full and battery_empty for displaying hearts
Red hearts for battery full are still more optimal in case white hearts are for
empty (though I do not understand why they have to be red). Cannot agree about
per cents though: red is better for empty then white is if there are no related
parts to compare.
2014-07-10 18:35:24 +04:00
ZyX 2f7c44c29c Document how to create gradient colors 2014-07-10 18:35:24 +04:00
ZyX 39316c429b Reverse the gradient in battery segment
Closes #910
2014-07-10 18:35:23 +04:00
Nikolai Aleksandrovich Pavlov cbcab959b4 Merge pull request #913 from ZyX-I/improve-generate_gradients
Improve generate_gradients.py script
2014-07-10 18:22:42 +04:00
ZyX a68e01ac24 Reverse JSON output and add trailing comma
Makes it easier to copy-paste output to colors.json.
2014-07-10 18:13:16 +04:00
ZyX ca0a8a2659 Refactor generate_gradients.py 2014-07-10 18:11:03 +04:00
ZyX d1c2980ca4 Add a way to omit computing colors for terminal 2014-07-10 18:11:03 +04:00
ZyX 97cd66b69b Merge branch 'fix-vim-overrides-test' into develop 2014-07-06 22:42:53 +04:00
ZyX 473f647fc8 Fix test_local_overrides.vim test broken by better-gradient branch 2014-07-06 22:42:28 +04:00
ZyX 184df196b9 Merge branch 'better-gradients' into develop 2014-07-06 11:57:49 +04:00
ZyX 8b084bf60a Also use CIE2000 in colors_find 2014-07-06 11:57:31 +04:00
ZyX e74ca29330 Use new script to regenerate dark_GREEN_Orange_red
Used command was

    tools/generate_gradients.py 22 58 94 52 --weights '60 15 10 2'

as earlier.
2014-07-06 11:57:31 +04:00
ZyX 2e5c66c2cc Use CIE2000 to determine color distances, compute gradients in Lab
Slow
2014-07-06 11:57:31 +04:00
Nikolai Aleksandrovich Pavlov 7879142aeb Merge pull request #905 from ZyX-I/fix-876
Fix support for .git git symlinks
2014-06-28 22:20:39 +04:00
ZyX 623395a013 Remove outdated comment 2014-06-28 22:18:45 +04:00
ZyX d7d8108230 Fix error in python-3* that happens while checking branch name 2014-06-28 22:12:41 +04:00
ZyX 4d4da56838 Check whether it runs fine in travis 2014-06-28 21:46:12 +04:00
ZyX 317f4be43f Add tests for git symlinks 2014-06-28 21:45:24 +04:00
ZyX 803963af15 Fix git symlink handling 2014-06-28 21:45:08 +04:00
ZyX abb4ed4efc Support .git files with newline at the end
Fixes #876
2014-06-28 21:28:45 +04:00
Nikolai Aleksandrovich Pavlov 138611412e Merge pull request #904 from ZyX-I/disable-inotify-option
Add watcher option
2014-06-28 21:17:32 +04:00
ZyX c570a98065 Add watcher option
Ref #818
2014-06-28 21:10:15 +04:00
Nikolai Aleksandrovich Pavlov 71ddacec46 Merge pull request #903 from ZyX-I/patchable-config
Add patchable file powerline/config.py with system-dependent variables
2014-06-28 19:30:04 +04:00
ZyX 27003bc003 Move all variables that should be replaced to powerline/config.py 2014-06-28 19:20:06 +04:00
ZyX 95a2bef8d9 Take directory setting from TMUX_CONFIG_DIRECTORY 2014-06-28 19:03:50 +04:00
ZyX 1f6ed8ef13 Merge branch 'fix-901' into develop 2014-06-28 17:37:04 +04:00
ZyX 43ca0e828d Fix documentation 2014-06-28 17:36:41 +04:00
ZyX 070bfab3e3 Fix quotes in powerline.conf
Fixes #901
2014-06-28 17:36:05 +04:00
ZyX-I 828c953f84 Merge pull request #880 from ZyX-I/powerline-config-script
[RFC] Powerline config script
2014-06-25 21:58:04 +04:00
ZyX-I eb44c61566 Merge pull request #899 from ZyX-I/fix-tests
Set tmux PWD after PROMPT_COMMAND, do not require it at the start
2014-06-25 21:40:50 +04:00
ZyX 17469f051b Set tmux PWD after PROMPT_COMMAND, do not require it at the start
Should fix failing bash bindings test
2014-06-25 21:34:57 +04:00
ZyX-I c6d5632779 Merge pull request #898 from ZyX-I/fix-inotify-watcher
Fix inotify tree watcher bug

Fixes #874
2014-06-25 21:28:06 +04:00
ZyX-I f4c62b8f83 Merge pull request #897 from ZyX-I/shell
Shell: some refactoring and Windows hack
2014-06-25 21:27:15 +04:00
ZyX 1d9cdc8ff0 Fix inotify tree watcher bug
Change made by @kovidgoyal. Comment:

Fix a bug in the inotify tree watcher that incorrectly marked a tree as 
unchanged if an ignored event happens after a non-ignored event. This allows an 
optimisation in the git backed to be used (ignoring changes to .git/index.lock).

--

Not including actual commit as I do not think removing pygit2 backend is a good 
idea. Worse, removing pygit2 backend in the same commit fix is added is 
definitely bad idea.
2014-06-25 21:18:46 +04:00
ZyX 685161fc31 Incorporate Windows hack found by @kovidgoyal
Ref #36
Fixes #498
2014-06-25 21:05:58 +04:00
ZyX afa6b83815 Explicitly specify shell=False when using powerline.lib.shell.run_cmd 2014-06-25 21:00:38 +04:00
ZyX ed267933ed Add documentation for powerline.lib.shell.run_cmd 2014-06-25 21:00:12 +04:00
ZyX 1498fc714c Move readlines function to powerline.lib.shell 2014-06-25 20:59:39 +04:00
ZyX 7f5c4968c1 Merge branch 'fix-467' into develop 2014-06-25 20:42:39 +04:00
ZyX fc8ad831d4 Update tmux data even when prompt is disabled
Fixes #467
2014-06-25 20:40:24 +04:00
ZyX-I 1dd5f42b9d Merge pull request #896 from ZyX-I/fix-vim-environment
Fix typo in VimRenderer.render

Ref jmcantrell/vim-virtualenv#26.
2014-06-25 20:15:04 +04:00
ZyX 6f6c1fb90c Add tests 2014-06-25 20:05:24 +04:00
ZyX 46d58d39fa Fix typo in VimRenderer.render
segment_info should have been initialized with self.segment_info, not updated: 
new values must have priority. Refactored the result so that static values are 
defined in VimRenderer.segment_info.
2014-06-25 19:27:21 +04:00
ZyX-I 35522b1511 Merge pull request #893 from ZyX-I/multiline-prompt
Multiline prompt support

Fixes #462
2014-06-24 23:50:03 +04:00
ZyX 515df615bf Add some basic tests 2014-06-24 23:36:50 +04:00
ZyX f02807ffa4 Rename test_configuration to test_provided_config_files 2014-06-24 21:38:07 +04:00
ZyX 9a4e1edfbc Update documentation 2014-06-24 21:38:07 +04:00
ZyX f718719a3b Update lint checker 2014-06-24 21:38:07 +04:00
ZyX 8849f9d3d6 Support multiline prompt in fish
Note: fish does not accept prompt strings that have width identical to the
terminal width: it makes prompt be reduced to just `>`.
2014-06-24 21:38:07 +04:00