Andrzej Rybczak
cbbabee0e7
simplify code responsible for parsing song formats
...
functions MPD::Song::toString() and Display::Songs were
almost identical. for now the latter uses MPD::Song::toString()
implementation, which also has been simplified.
2009-08-14 04:15:34 +02:00
Andrzej Rybczak
0f53677eb6
count braces while passing format in the loop to omit nested ones
2009-08-14 02:04:22 +02:00
Andrzej Rybczak
e68306c8c0
throw away full path from song format in favor of directory
2009-08-14 00:47:48 +02:00
Andrzej Rybczak
8ad1a04b68
song format: support for nested braces
2009-08-14 00:30:17 +02:00
Andrzej Rybczak
42fee12eb0
allow for colors in song_status_format
2009-08-13 18:10:41 +02:00
Andrzej Rybczak
5a9369b585
convert alternative header text to proper locale if needed
2009-08-13 03:38:11 +02:00
Andrzej Rybczak
829a7a8d98
another fix for 450bf1b6 (hopefully the last one)
2009-08-13 02:16:12 +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
499492cd0e
prepend std to all members from this namespace, part 2
...
why the hell one of taglib headers has 'using namespace std;' in it?
2009-08-13 00:49:08 +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
a6f3fa0c0c
new feature: right aligned columns
2009-08-12 20:58:24 +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
dbca4a80ee
make number of lines scrolled with mouse wheel configurable
2009-08-09 20:56:15 +02:00
Andrzej Rybczak
ea1edd4d4a
use common interface for adding item(s) to playlist
...
this also removes a few code duplications.
2009-08-09 15:51:24 +02:00
Andrzej Rybczak
f5fc2dbe8a
fix displaying messages in search engine
2009-08-09 12:52:00 +02:00
Andrzej Rybczak
c9e08df9a5
always show whole address when dealing with links
2009-08-08 23:19:38 +02:00
Andrzej Rybczak
853164575f
adjust mouse bindings a bit and document them in help screen
2009-08-08 21:18:46 +02:00
Andrzej Rybczak
27ede67685
remove lyricswiki support as it doesn't allow fetching lyrics anymore
2009-08-05 14:35:45 +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
837560c536
do not show messages if statusbar unlock is not allowed
2009-08-02 09:44:24 +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
caec71134e
make Window::{Bold,Reverse,AltCharset} protected
...
they should be called only within member funcions, because they
ignore stacked values, that are set by Window::operator<<(Format)
2009-07-13 16:16:12 +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
209f5337ee
make str_pool return const char * instead of char *
2009-07-10 14:44:20 +02:00
Andrzej Rybczak
d8b8d4aeda
allow for empty tag marker customization
2009-07-10 13:51:24 +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
1c3cd3b90b
fix compilation --without-taglib
2009-07-06 07:32:02 +02:00
Andrzej Rybczak
1510773176
more fixes for 450bf1b6
2009-07-05 14:27:43 +02:00
Andrzej Rybczak
ddaf141f2e
rename MPD::Song::{Get,Set}Year to {Get,Set}Date
2009-07-05 14:16:15 +02:00
Andrzej Rybczak
63169f7570
remove unused operators from MPD::Song class
2009-07-05 14:14:16 +02:00
Andrzej Rybczak
f60cc71b91
some MPD::Song improvements and syntax simplifications
2009-07-05 14:13:18 +02:00
Andrzej Rybczak
df051bf674
remove using declarations
2009-07-05 12:19:22 +02:00
Andrzej Rybczak
4e77530f31
if playlist is filtered, add to playlist only filtered items
2009-07-04 08:28:32 +02:00
Andrzej Rybczak
5838d02077
add shortcut keybinding for saving in tiny tag editor
2009-07-04 07:24:57 +02:00
Andrzej Rybczak
9dab25e02c
use prefix ++ instead of postfix where available
2009-07-04 06:41:35 +02:00
Andrzej Rybczak
2eb913fe22
define MPD::Connection handler as an object, not pointer
2009-07-04 06:07:00 +02:00
Andrzej Rybczak
979a9e7670
fix displaying '\' character in man page
2009-07-04 05:55:25 +02:00
Andrzej Rybczak
9faf3acf2f
cosider different size of size_t type on 32bits and 64bits arches
2009-07-03 04:34:25 +02:00
Andrzej Rybczak
966510249b
initialize 'color' value to red rid of the warning
2009-07-03 04:15:23 +02:00
Andrzej Rybczak
ff3e90d91d
fix database update
2009-06-29 02:19:40 +02:00
Andrzej Rybczak
c4d88133bd
do not attempt to change volume if requested value is <0 or >100
2009-06-28 05:25:50 +02:00
Andrzej Rybczak
72cddfe77d
another fix for 450bf1b6
2009-06-28 05:23:23 +02:00
Andrzej Rybczak
7116c11a8a
add missing 'for' word
2009-06-26 19:34:45 +02:00
Andrzej Rybczak
d5fb17aefb
fix Browser::LocateSong() function
2009-06-26 19:24:26 +02:00
Andrzej Rybczak
450bf1b636
initialize screens only if necessary
2009-06-26 18:48:00 +02:00
Andrzej Rybczak
1147795fc6
return value instead of const reference to long long
2009-06-24 16:33:08 +02:00