Andrzej Rybczak
0447b4e881
window: remove GetXY
14 years ago
Andrzej Rybczak
5989cc6317
status: fix current song update
14 years ago
Andrzej Rybczak
b1c301dc1c
split majority of helpers and rewrite a few heinous functions
14 years ago
Andrzej Rybczak
6449cc5f2c
status: uncomment forgotten line
14 years ago
Andrzej Rybczak
eaabbee189
strbuffer: get rid of ostringstream
14 years ago
Andrzej Rybczak
a20a195225
mpd: use lambda closures instead of passing vectors to functions
14 years ago
Andrzej Rybczak
397783d701
reduce usage of pointers / replace std::pair in SearchEngine
14 years ago
Andrzej Rybczak
a270fc8402
rewrite MPD::Song object
14 years ago
Andrzej Rybczak
bac6df8c6c
some general source code tweaks
14 years ago
Andrzej Rybczak
77a3c73d9c
make displayed messages more consistent
14 years ago
Andrzej Rybczak
456c855adb
make it compile with -O2 -Werror
14 years ago
Andrzej Rybczak
181224b837
keybinding system rewrite
14 years ago
Andrzej Rybczak
4475902eb9
settings: make progressbar more customizable (elapsed time part color, boldness)
14 years ago
Andrzej Rybczak
a14b77338d
jump to current song at startup even if it's not currently played
14 years ago
Andrzej Rybczak
8e369252f4
display ncmpcpp instead of ncmpc++ in window's title
14 years ago
Andrzej Rybczak
f8151904f5
update copyright dates
14 years ago
Andrzej Rybczak
e8f08ea884
fix bug 3409 (there was no '$' char escaping in statusbar for current song)
14 years ago
Andrzej Rybczak
4a8cfcb187
fixes for overwriting not mergable screen displayed on top of merged ones
15 years ago
Andrzej Rybczak
4cd95d6c8d
playlist: disable highlighting if screen is visible (and not necessarily active)
15 years ago
Andrzej Rybczak
56467eaac6
new feature: support for merging screens together
15 years ago
Andrzej Rybczak
ca956c3da3
update copyright dates
15 years ago
Andrzej Rybczak
d9bc1c0950
new feature: support for fetching lyrics for currently playing song in background
15 years ago
Andrzej Rybczak
0db01b7429
status: fix drawing progressbar if third character was not specified
16 years ago
Andrzej Rybczak
80d6b36917
status: fix drawing progressbar if third character is non-ascii
16 years ago
Andrzej Rybczak
a66ab40c25
settings: make progressbar_look support 'empty' part of progressbar
16 years ago
Andrzej Rybczak
3bb3607399
lyrics: pass wrapper around member function to new thread
...
+ some more code refactoring
16 years ago
Andrzej Rybczak
7cd6508496
lyrics: general code refactoring
16 years ago
Andrzej Rybczak
7c75be82bd
browser: if current dir doesn't exists, go down one level automatically
16 years ago
Andrzej Rybczak
b6e6ab1f61
fix statusbar scrolling speed with idle mode and bitrate displayed
...
with this combination scrolling was twice as fast as it should be.
16 years ago
Andrzej Rybczak
e6757c4b20
visualizer: set refresh rate to 0.5 sec if mpd is not playing
16 years ago
Andrzej Rybczak
6b396bfbf2
fix error codes handling
...
MPD_ERROR_* and MPD_SERVER_ERROR_* flags can have the same
value, so we need to store it separately in error_code.
16 years ago
Andrzej Rybczak
80290c183b
reload lyrics with single mode active if track is changed with ncmpcpp
16 years ago
Andrzej Rybczak
6df8ae1694
make displaying volume level in statusbar optional
16 years ago
Andrzej Rybczak
08daa61907
update copyright notices
16 years ago
Andrzej Rybczak
dac2458e1f
rename misc.{cpp,h} to sel_items_adder.{cpp,h}
16 years ago
Andrzej Rybczak
9e5700cfd0
fix redrawing bottom line with alternate UI and mpd stopped
16 years ago
Andrzej Rybczak
a27332a825
get rid of using directives
...
these in ncmpcpp.cpp stay since a lot of memebers are used.
16 years ago
Andrzej Rybczak
0d05a550c2
display 'U' in status flags while update is running if idle support is off
16 years ago
Andrzej Rybczak
43dcc8bd54
fix refreshing player state with classic user interface
16 years ago
Andrzej Rybczak
73f9c8c320
display message properly
16 years ago
Andrzej Rybczak
5f6f915a3a
switch from selected items adder to old screen if db was updated
...
not doing so inctroduces a very obscure bug: db update forces modification
of browser, media library etc by clearing them and letting theirs Update()
function populate them. but since selected items adder is active at the
moment, this function is never called and we end up trying to add songs
from screen that is empty, which in most cases leads to an out_of_range
exception being thrown.
16 years ago
Andrzej Rybczak
055cf43af3
handle update "properly" (as it's possible) with <mpd-0.16
...
<mpd-0.16 doesn't support MPD_IDLE_UPDATE, so we need another
extra hack to support that. This whole idle things really starts
to pissing me off.
16 years ago
Andrzej Rybczak
d2d716fd35
fix updating bitrate of current song
17 years ago
Andrzej Rybczak
fdb9bfcd4f
remove a piece of code that was overwriting statusbar without any checks
...
maybe it made a difference in the past, but it's redundant now.
17 years ago
Andrzej Rybczak
9a5a053ec3
improve handling columns in media library a bit
...
given column should clear only the first column on its right, not all.
17 years ago
Andrzej Rybczak
495ec25a0a
simplify Clear() in Window and its derivatives
...
it removes argument responsible for immediate refreshing.
since after all calls that were refreshing screen there was
call to Refresh() anyway, this switch doesn't make much sense.
17 years ago
Andrzej Rybczak
d4fddf4466
update directory after db update only if current screen is browser
17 years ago
Andrzej Rybczak
c6e26e121f
do not ask if one wants to enter password, just ask for password
17 years ago
Andrzej Rybczak
0a95aebd7c
improve elapsed time handling
...
this also throws away hack that was used to count elapsed
time locally while polling mpd, it's not needed anymore.
17 years ago
Andrzej Rybczak
db5efc6eb9
update screen in TraceMpdStatus(), not in the main loop
...
this makes screen update even if ncmpcpp is in Window::GetString().
17 years ago