Commit Graph

44 Commits

Author SHA1 Message Date
Andrzej Rybczak
6cd420511d perform case insensitive searching in text fields 2009-11-23 20:18:57 +01:00
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.
2009-11-13 15:59:18 +01:00
Andrzej Rybczak
dd04406ee5 poll both stdin and mpd using one select()
this allows for immediate reading mpd events
2009-10-25 20:44:07 +01:00
Andrzej Rybczak
f61b4716a2 add support for multiple tags 2009-10-04 21:10:57 +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
7c9363c174 refresh window after lyrics/artist info was (not) downloaded 2009-09-18 01:46:53 +00:00
Andrzej Rybczak
6723808c4f remove wrapper for Scrollpad::SetFormating() used with --enable-unicode 2009-09-16 22:21:17 +00:00
Andrzej Rybczak
61a9d6a785 get rid of all mysterious numbers that meant length of string literals 2009-09-15 23:12:45 +00:00
Andrzej Rybczak
27687fd2b1 pass Buffer/Window to ShowTag() by reference
returning new Buffer and passing it to Window by operator<<()
was rather bad idea since it required unnecessary copying.
2009-09-15 16:36:26 +00:00
Andrzej Rybczak
7da142a4c7 display "artist info" instead of "artist's info" 2009-09-04 14:47:09 +02:00
Andrzej Rybczak
6843b98627 throw away all NULLs and replace them by 0s 2009-08-30 17:43:13 +02:00
Andrzej Rybczak
101f01941d new feature: alternative user interface 2009-08-12 02:08:13 +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
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
9dab25e02c use prefix ++ instead of postfix where available 2009-07-04 06:41:35 +02:00
Andrzej Rybczak
450bf1b636 initialize screens only if necessary 2009-06-26 18:48:00 +02:00
Andrzej Rybczak
cd3180d265 return values instead of playing around with static variables and references 2009-06-04 12:19:37 +02:00
Andrzej Rybczak
da13e93df0 fix bug with removing format from artist's info screen 2009-05-10 02:09:21 +02:00
Andrzej Rybczak
72acc09b26 fix compilation if there were no curl dev files installed 2009-05-03 13:53:15 +02:00
Andrzej Rybczak
2d8b5f7abc rename Screen::Cmp() to Screen::ActiveWindow() as it's more logical 2009-04-03 22:29:03 +02:00
Andrzej Rybczak
e29e5576c7 do not start additional thread if artist's info is available locally 2009-03-27 14:11:18 +01:00
Andrzej Rybczak
49a13222a3 get proper user home dir on WIN32 and adjust folders in this case a bit 2009-03-26 20:23:47 +01:00
Andrzej Rybczak
344fc21d76 use pthread_t * handlers rather than pthread_t
pthread-win32 doesn't accept assigning zero to pthread_t type,
so we need to use pointers instead. this is more semantic anyway.
2009-03-26 16:18:11 +01:00
Andrzej Rybczak
f04472641b make it compile under mingw32 --with-curl 2009-03-25 23:13:34 +01:00
Andrzej Rybczak
65f52da949 make it compile under mingw32 --without-curl --without-taglib
ncmpcpp can be built for windows \o/
pdcurses and regex libraries are needed for this though.
2009-03-25 22:08:18 +01:00
Andrzej Rybczak
5f114abd2c clear screen only after getting song info to avoid flickering 2009-03-09 11:43:27 +01:00
Andrzej Rybczak
eed4fb03ff use CamelCase for variables in Global namespace / some cleaning 2009-03-08 01:58:49 +01:00
Andrzej Rybczak
32f959d1ec use streams instead of Window::WriteXY() 2009-02-16 19:32:43 +01:00
Andrzej Rybczak
af6467d8c1 fix colors in song info screen --without-taglib 2009-02-16 01:08:46 +01:00
Andrzej Rybczak
ef9948cbe2 fix refreshing in clock screen while resizing / remove some unneded code 2009-02-16 01:01:54 +01:00
Andrzej Rybczak
ba6c2db0b1 improve resizing 2009-02-16 00:37:03 +01:00
Andrzej Rybczak
26365d9832 rename status_checker -> status / + some cleaning 2009-02-15 22:56:41 +01:00
Andrzej Rybczak
e6bd98e0a7 general code cleaning 2009-02-15 19:15:52 +01:00
Andrzej Rybczak
4cdafc5639 change wCurrent and wPrev to myScreen 2009-02-15 16:09:11 +01:00
Andrzej Rybczak
49abc4d42c change namespace Info into class 2009-02-14 22:25:44 +01:00
Andrzej Rybczak
d6a6bca3e6 change namespace TagEditor into class 2009-02-14 19:44:55 +01:00
Andrzej Rybczak
7148762b0c change namespace PlaylistEditor into class 2009-02-14 18:11:31 +01:00
Andrzej Rybczak
5a06f2a4fc change namespace MediaLibrary into class 2009-02-14 17:38:39 +01:00
Andrzej Rybczak
111652e2d6 change namespace SearchEngine into class 2009-02-14 16:15:11 +01:00
Andrzej Rybczak
8653232a2a change namespace Browser into class 2009-02-14 00:43:58 +01:00
Andrzej Rybczak
6e167d67e2 change namespace Playlist into class 2009-02-13 22:27:26 +01:00
Andrzej Rybczak
08e162f6ac fix compilation --without-curl 2009-02-13 17:39:53 +01:00
Andrzej Rybczak
8ba72bc78a separate some code from ncmpcpp.cpp 2009-02-13 17:24:06 +01:00