Raghavendra D Prabhu
bbef713741
status: reduce wakeups with display_bitrate enabled
...
When system was profiled for wakeups, a high wakeup rate from mpd was observed even when paused. Strace-ing mpd pointed at excessive polling even though mpd_communication_mode is set to notifications. By method of elimination in the configuration, it was narrowed down to display_bitrate. By code inspection, it could be seen that Mpd.isPlaying() is true even if mpd is paused, but it doesn't make sense as to why bitrate needs to be constantly updated even when mpd is paused. Hence the patch.
Signed-off-by: Raghavendra D Prabhu <rprabhu@wnohang.net>
13 years ago
Andrzej Rybczak
8db773cfec
replace a few string algorithms with boost utilities
14 years ago
Andrzej Rybczak
df9ecabb55
window: make color/format/border class enums
14 years ago
Andrzej Rybczak
439e004cfa
restore BasicBuffer::write function
14 years ago
Andrzej Rybczak
e40edade0e
use boost.locale for charset conversions instead of iconv
14 years ago
Andrzej Rybczak
6e33c2ef0f
media library: preserve filters/selections on update
14 years ago
Andrzej Rybczak
9a292ca20d
mpd: make functions take item consumer instead of returning vector of items
14 years ago
Andrzej Rybczak
b57428db90
mdp: remove GetCurrentlyPlayingSongPos
14 years ago
Andrzej Rybczak
4ff78d6304
fix handling playlist highlight
14 years ago
Andrzej Rybczak
88a279119e
status: fix blinking cursor when playlist_highlight_delay is set to 1
14 years ago
Andrzej Rybczak
48cf01f084
pass ProxySongList around since it already has shared_ptr inside
14 years ago
Andrzej Rybczak
f691ab265f
screen: rename BasicScreen to BaseScreen
14 years ago
Andrzej Rybczak
14587cb4ec
abstract shared parts of switchTo methods away
14 years ago
Andrzej Rybczak
f7dba0a578
make remaining single-windowed screens' main windows non-pointer
14 years ago
Andrzej Rybczak
0d27d6ded3
media library: make screens non-pointer
14 years ago
Andrzej Rybczak
d05707ad82
browser: make main type non-pointer
14 years ago
Andrzej Rybczak
9c29082afe
playlist: define main screen as non-pointer
14 years ago
Andrzej Rybczak
1891c1c050
do not initialize screens lazily as it doesn't make much sense
14 years ago
Andrzej Rybczak
9ddfca8f31
playlist: move sorting dialog related functions to separate file
14 years ago
Andrzej Rybczak
dd7665bb7d
more PascalCase to camelCase conversions
14 years ago
Andrzej Rybczak
d55070754d
settings: support customizable tags separator
14 years ago
Andrzej Rybczak
8e7bcd219b
display: improve showSongs a bit
14 years ago
Andrzej Rybczak
8f065e2da3
status: split NcmpcppStatusChanged into smaller pieces
14 years ago
Andrzej Rybczak
a9bee35cca
charset: put functions into namespace and change naming convention
14 years ago
Andrzej Rybczak
63413368c8
remove remaining exclamation marks from messages
14 years ago
Andrzej Rybczak
c90545b008
move statusbar/progressbar related code to separate file
14 years ago
Andrzej Rybczak
6ab2714e2f
status: improve dealing with now playing song
14 years ago
Andrzej Rybczak
a98df99ba6
playist: do not duplicate now playing information
14 years ago
Andrzej Rybczak
37b7650d71
status: change window title from "ncmpcpp ver. X" to "ncmpcpp X"
14 years ago
Andrzej Rybczak
84326efc46
move wstring related functions to wide_char file
14 years ago
Andrzej Rybczak
d5e2d315fd
use wstrings uncoditionally where needed
14 years ago
Andrzej Rybczak
45a097a45b
reduce number of calls to gettimeofday
14 years ago
Andrzej Rybczak
c935dcf11a
global: remove RedrawHeader
14 years ago
Andrzej Rybczak
21947d3655
status: optimize filtering when chars are being taken from input queue
14 years ago
Andrzej Rybczak
69bd1bac97
tag editor: remove albums view
14 years ago
Andrzej Rybczak
bf3a7a7715
do not clear playlists content, make idle notifications take care of it
14 years ago
Andrzej Rybczak
09e746aa05
status: fix copypaste bug
14 years ago
Andrzej Rybczak
6d87ebbc43
generalize UpdateSongsList (-> markSongsInPlaylist)
14 years ago
Andrzej Rybczak
bb121fbe01
make playlist and playlist editor share code responsible for moving items
14 years ago
Andrzej Rybczak
60ca9de919
check if song is in playlist in O(nlogn) instead of O(n^2)
14 years ago
Andrzej Rybczak
ce80c21ea5
status: restore commented out piece of code
14 years ago
Andrzej Rybczak
226fbdd2c9
fix shadowing warnings
14 years ago
Andrzej Rybczak
af2cdca3d0
change naming conventions in NC namespace
14 years ago
Andrzej Rybczak
6f918091d9
remove warnings clang generates
14 years ago
Andrzej Rybczak
d47cad1d50
get rid of 'using namespace NCurses' directive
14 years ago
Andrzej Rybczak
6f59a175ec
implement HasSongs interface
14 years ago
Andrzej Rybczak
0811e30319
implement Searchable interface / make use of unnamed namespaces
14 years ago
Andrzej Rybczak
4c944085d6
menu: generalize filtering, introduce interfaces
14 years ago
Andrzej Rybczak
d8b2d20bdb
menu: move a few methods to Item class
14 years ago
Andrzej Rybczak
7e53654492
menu: implement custom iterator
14 years ago