Commit Graph

367 Commits

Author SHA1 Message Date
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
Andrzej Rybczak
101f01941d new feature: alternative user interface 2009-08-12 02:08:13 +02:00
Andrzej Rybczak
e5e8261c40 a few more "postfix to prefix" operator++ changes 2009-08-02 09:58:30 +02:00
Andrzej Rybczak
d9b844fce2 one more fix for 450bf1b6 2009-08-02 09:51:28 +02:00
Andrzej Rybczak
a77bd03e53 update header window after going to now playing song in browser 2009-07-14 14:06:36 +02:00
Andrzej Rybczak
26326de2c8 fix setting format flags in Window::operator<<(Format)
I though static variables are created for each class object,
but apparently they aren't, which makes the previous design
utterly broken. I'm suprised it somehow worked before.
2009-07-12 15:42:30 +02:00
Andrzej Rybczak
c20d8694ae new feature: allow for fixed size columns 2009-07-10 19:17:12 +02:00
Andrzej Rybczak
113e54c85c Revert "cosider different size of size_t type on 32bits and 64bits arches"
This reverts commit 9faf3acf2f
and applies correct patch (thx for Damien Leone for pointing this)

Conflicts:

	src/ncmpcpp.cpp
2009-07-06 07:43:04 +02:00
Andrzej Rybczak
1510773176 more fixes for 450bf1b6 2009-07-05 14:27:43 +02:00
Andrzej Rybczak
df051bf674 remove using declarations 2009-07-05 12:19:22 +02:00