Commit Graph

932 Commits

Author SHA1 Message Date
Andrzej Rybczak
c031675f56 update NEWS / version bump 2009-10-03 19:22:30 +02:00
Andrzej Rybczak
00fde3c266 add to example config info about how to check state of charset detection 2009-10-03 19:16:16 +02:00
Andrzej Rybczak
b2aeb9f609 make --version|-v display info about encoding detection 2009-10-03 19:08:45 +02:00
Andrzej Rybczak
fcf3acb6dd convert tags to wide strings in TagEditor::GetTagList()
This fixes writing tags that contain non-ascii
characters if non-unicode locale is used.
2009-10-03 17:41:28 +02:00
Andrzej Rybczak
14c601eebe Revert "do not convert tag values to wide string, just mark it explicitely as utf8"
This breaks writing tags that contain non-ascii
characters if non-unicode locale is used.

This reverts commit 62e3c84728.
2009-10-03 17:35:38 +02:00
Andrzej Rybczak
3b9f28f7ce write TOPE frame as performer tag if <mpd-0.16 is used, TPE3 otherwise 2009-10-03 17:10:39 +02:00
Andrzej Rybczak
62e3c84728 do not convert tag values to wide string, just mark it explicitely as utf8 2009-10-03 03:37:22 +02:00
Andrzej Rybczak
b74aabfaa1 tag editor: performer, composer and disc tags support for ogg and flac files 2009-10-03 02:46:32 +02:00
Andrzej Rybczak
dfb651be62 do not open mp3 files twice while writing tags into them 2009-10-02 00:30:14 +02:00
Andrzej Rybczak
55173cb419 move local_browser variable from settings to Browser class 2009-10-01 00:30:18 +02:00
Andrzej Rybczak
35d776dfab supress warnings about signedness if pdcurses is used 2009-09-30 23:48:12 +02:00
Andrzej Rybczak
1b2999ef8e fix compilation under mingw32 2009-09-30 23:47:38 +02:00
Andrzej Rybczak
a4a05aa812 fix Trim() as it seems it doesn't work in some cases 2009-09-30 22:24:11 +02:00
Andrzej Rybczak
c019fc05d2 do some checks on data fetched from last.fm while parsing it 2009-09-30 21:58:46 +02:00
Andrzej Rybczak
884cb0b7fb write both ID3v1 and ID3v2 tags to mp3 files 2009-09-30 21:31:46 +02:00
Andrzej Rybczak
e84a8ddf98 set max progressbar width to screen width 2009-09-30 19:34:55 +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
c7c6b2c321 lyrics: check if data returned by curl contains opening and closing tag 2009-09-26 23:12:56 +02:00
Andrzej Rybczak
dca6642a7f warn about consequences from using song format without any braces 2009-09-26 20:18:52 +02:00
Andrzej Rybczak
4efaa18927 ignore special chars that occurs in tag values
ncmpcpp shouldn't treat '$' characters that
are part of a tag as special format chars.
2009-09-26 18:29:52 +02:00
Andrzej Rybczak
3e75ff6455 always try to link with ncursesw 2009-09-26 00:38:22 +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
d2f516d15c replace the last one mpd_song_get_uri with MyFilename() 2009-09-23 04:29:52 +02:00
Andrzej Rybczak
01c138e680 make sure null pointer won't be dereferenced
Song::Empty() does the check.
2009-09-23 04:28:26 +02:00
Andrzej Rybczak
08cb912424 fix Connection::AddSong() 2009-09-23 04:12:53 +02:00
Andrzej Rybczak
5866cd6343 if iconv conversion failed, restore input buffer to its initial state 2009-09-23 03:43:59 +02:00
Andrzej Rybczak
e99b1c63e9 fix very nasty bug that could cause billion of segfaults 2009-09-23 03:33:56 +02:00
Andrzej Rybczak
04f822b44a fix very nasty bug that could cause billion of segfaults 2009-09-23 03:31:39 +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
24627d8493 fix compilation --with-taglib 2009-09-22 23:12:19 +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
aad9146397 make use of CaseInsensitiveStringComparison() instead of copying strings 2009-09-22 00:56:51 +02:00
Andrzej Rybczak
31a5363434 search engine: throw away SearchedPattern class and generalize the code 2009-09-22 00:31:22 +02:00
Andrzej Rybczak
dbc9b5a216 get rid of warnings about signed and unsigned integer comparison 2009-09-21 21:53:29 +02:00
Andrzej Rybczak
0a1d2e37ae add -fno-exceptions to CXXFLAGS if compiler supports it 2009-09-21 17:37:06 +02:00
Andrzej Rybczak
70910b77ed make ncmpcpp compile with -fno-exceptions 2009-09-21 06:01:21 +02:00
Andrzej Rybczak
14a774b8a3 window: move some members from protected to private section 2009-09-21 01:44:38 +02:00
Andrzej Rybczak
1a3dcbfe17 set attributes in Menu::Refresh() by operators<<()
this also makes Window::{Bold,UnderLine,Reverse,Altcharset} private.
these should only be called by internals of Window class.
2009-09-21 01:34:37 +02:00
Andrzej Rybczak
ec18a34513 apply selected item prefix to menu before clearing the line
if selected item prefix turned on a color or other format flag
it should be appended to the whole line, not only the part that
is going to be drawn using item displayer.
2009-09-21 01:20:02 +02:00
Andrzej Rybczak
ead5255df1 new feature: support for custom prefix/suffix of now playing song 2009-09-21 01:17:54 +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
b47ad169dc add new function: Menu::CurrentlyDrawedPosition()
this'll be used to simplify displaying currently playing item
2009-09-20 22:23:03 +02:00
Andrzej Rybczak
d995b9f065 define NCURSES_MOUSE_VERSION as 1 (not 2) if pdcurses is used 2009-09-20 21:02:22 +02:00
Andrzej Rybczak
91ffdf9799 redefine BUTTON2_PRESSED if ncurses is used 2009-09-20 19:14:00 +02:00
Andrzej Rybczak
20b0bcc85e define NCURSES_MOUSE_VERSION if pdcurses is used 2009-09-20 18:56:30 +02:00
Andrzej Rybczak
487b2fc1c9 reimplement Window::hasCoords if pdcurses is used 2009-09-20 16:38:04 +02:00