Commit Graph

476 Commits

Author SHA1 Message Date
Andrzej Rybczak
409d60ed18 Merge branch 'libmpdclient2'
Conflicts:
	src/browser.cpp
	src/ncmpcpp.cpp
2009-10-04 16:23:42 +02:00
Andrzej Rybczak
55173cb419 move local_browser variable from settings to Browser class 2009-10-01 00:30:18 +02:00
Andrzej Rybczak
1b2999ef8e fix compilation under mingw32 2009-09-30 23:47:38 +02:00
Andrzej Rybczak
45884e0895 fix a few bugs progressbar related (redrawing, colors) 2009-09-30 18:59:36 +02:00
Andrzej Rybczak
cada9f4355 bold expected keys while waiting for keypress 2009-09-30 16:25:24 +02:00
Andrzej Rybczak
9e20858977 do not show cursor while waiting for only one keypress 2009-09-27 15:50:31 +02:00
Andrzej Rybczak
048fd2ffce refresh status window immediately after prompting user
this fixes #2537.
2009-09-27 15:48:03 +02:00
Andrzej Rybczak
0d9f6fab7d add MPD::Connection::Toggle() and throw away MPD::Connection::Execute() 2009-09-23 05:47:51 +02:00
Andrzej Rybczak
e304a6b7de WIN32 compilation fix 2009-09-23 02:50:10 +02:00
Andrzej Rybczak
66d4883728 fix compilation --with-iconv 2009-09-23 02:45:48 +02:00
Andrzej Rybczak
dec7bd9c0e make ncmpcpp use external libmpdclient (--without-taglib and --without-iconv) 2009-09-22 22:37:33 +02:00
Andrzej Rybczak
70910b77ed make ncmpcpp compile with -fno-exceptions 2009-09-21 06:01:21 +02:00
Andrzej Rybczak
5a887861d7 move code responsible for marking song as now playing to display functions 2009-09-20 23:52:43 +02:00
Andrzej Rybczak
20b0bcc85e define NCURSES_MOUSE_VERSION if pdcurses is used 2009-09-20 18:56:30 +02:00
Andrzej Rybczak
ad685091bc rename Menu::BoldOption() to Menu::Bold() 2009-09-19 02:44:44 +02:00
Andrzej Rybczak
3bdb798852 clean NCurse::List class a bit and remove a few redundant functions 2009-09-19 01:18:41 +02:00
Andrzej Rybczak
2f971147b1 change all Mpd.GetState </> psPlay/psStop to (!)Mpd.isPlaying() 2009-09-18 02:17:30 +00:00
Andrzej Rybczak
8109d26daf refresh main screen only if necessary 2009-09-17 00:59:30 +00:00
Andrzej Rybczak
ff84ba8d9d reverse evaluation order so SetFormatting() won't be invoked if findme is empty 2009-09-16 22:25:40 +00:00
Andrzej Rybczak
6723808c4f remove wrapper for Scrollpad::SetFormating() used with --enable-unicode 2009-09-16 22:21:17 +00:00
Andrzej Rybczak
d7491f8acb limit trigger for mouse actions to prevent execution of the same action twice 2009-09-09 21:47:38 +02:00
Andrzej Rybczak
30b8622776 get total time from mpd status, not from currently playing track
it seems that even if track info doesn't provide total track length,
mpd status does, which allows for seeking and displaying progressbar.
2009-09-09 18:32:57 +02:00
Andrzej Rybczak
3108fbf0c0 fix two minor bugs with colors
1. I used statusbar_color instead of header_color by accident
2. state_line_color has to be explicitely turned off before setting new color
2009-09-06 12:55:46 +02:00
Andrzej Rybczak
56be1cb753 make Window::SetColor protected as it doesn't respect stacked colors
it should only be used internally by Window and derives.
2009-09-06 12:51:48 +02:00
Andrzej Rybczak
3aa0f6a03b make color of separators used in alternative user interface customizable 2009-09-06 12:15:39 +02:00
Andrzej Rybczak
b5445bfe5b remove myPlaylist->EnableHighlighing() since it's not needed here anymore
myPlaylist->Sort() doesn't block main loop anymore.
2009-09-06 10:48:27 +02:00
Andrzej Rybczak
6843b98627 throw away all NULLs and replace them by 0s 2009-08-30 17:43:13 +02:00
Andrzej Rybczak
0a22debf0e block displaying elapsed time while seeking properly (alternative ui) 2009-08-30 06:53:15 +02:00
Andrzej Rybczak
762f233b96 do not destroy screen at exit if pdcurses library is used 2009-08-30 06:48:01 +02:00
Andrzej Rybczak
0959336040 move TinyTagEditor class to separate file / a bit of code cleaning 2009-08-30 06:37:53 +02:00
Andrzej Rybczak
18e611bee2 make sorting window use main ncmpcpp loop 2009-08-30 02:47:46 +02:00
Andrzej Rybczak
4f3040e0ec move code responsible for adding selected items to playlists to misc.cpp 2009-08-29 23:53:36 +02:00
Andrzej Rybczak
ab54ceaf71 do not display '>' char if progressbar's width is equal to screen's width 2009-08-29 21:34:24 +02:00
Andrzej Rybczak
7c593fa90c make visualizer work after mpd restart 2009-08-29 21:21:20 +02:00
Andrzej Rybczak
75f9f840f7 new screen: music visualizer 2009-08-28 00:38:29 +02:00
Andrzej Rybczak
bc1a8a2d1a allow for unicode characters in progressbar_look 2009-08-26 18:13:33 +02:00
Andrzej Rybczak
b13479e014 do not restrict statusbar_visibility option if alternative ui is active 2009-08-26 05:11:20 +02:00
Andrzej Rybczak
d92d7779e2 make progressbar look customizable 2009-08-26 03:25:06 +02:00
Andrzej Rybczak
8c3760111d new feature: display remaining time of song instead of elapsed time 2009-08-26 03:06:27 +02:00
Andrzej Rybczak
8a9eebda26 narrow tolerance for very small screen 2009-08-25 03:12:18 +02:00
Andrzej Rybczak
7a85a15ff2 simplify code responsible for adding items with 'a' more 2009-08-25 02:47:05 +02:00
Andrzej Rybczak
68b724d9de remove duplicated (and by the way quite broken) code 2009-08-25 01:46:30 +02:00
Andrzej Rybczak
d8648d2f33 always restore old cerr buffer at exit 2009-08-24 22:38:13 +02:00
Andrzej Rybczak
b6278b631a remove redundant braces 2009-08-24 22:31:06 +02:00
Andrzej Rybczak
2d9d22281a new config option: jump_to_now_playing_song_at_start (enabled by default) 2009-08-24 21:16:53 +02:00
Andrzej Rybczak
195d8b4e34 ask if one really wants to clear main playlist (disabled by default) 2009-08-24 00:36:37 +02:00
Andrzej Rybczak
8bc5d73b06 accept percentage values 0-100 for seeking instead of 1-99 2009-08-13 01:26:20 +02:00
Andrzej Rybczak
abdc042b04 fix possible issues with additinal windows due to too small screen size 2009-08-13 00:31:16 +02:00
Andrzej Rybczak
c30fec4ee6 redraw volume state after header update only if classic interface is active 2009-08-12 16:18:49 +02:00
Andrzej Rybczak
b51975e6bf fix displaying screen numbers at start if alternative UI is enabled 2009-08-12 15:57:35 +02:00