Commit Graph

582 Commits

Author SHA1 Message Date
Andrzej Rybczak
2cb9b46135 use vector of pointers to options rather than vector of options
this way I can implement options filtering with much less effort.
2009-02-17 10:03:21 +01:00
Andrzej Rybczak
32bac776e7 cleaning 2009-02-17 08:29:40 +01:00
Andrzej Rybczak
7c936d8eaf another ugly cast removal 2009-02-17 07:41:09 +01:00
Andrzej Rybczak
2c66178663 get rid of this awful casting to List * 2009-02-17 07:30:26 +01:00
Andrzej Rybczak
ab2c925654 Revert "cast properly", that wasn't proper casting, lol.
This reverts commit 0415fa37fe.
2009-02-16 20:13:34 +01:00
Andrzej Rybczak
173b012d00 use vector<string_pair> instead of map<string, string> 2009-02-16 20:08:14 +01:00
Andrzej Rybczak
2a6e0fd7e8 fix searching in browser
it was taking whole path, take only top dir.
2009-02-16 19:52:11 +01:00
Andrzej Rybczak
0415fa37fe cast properly 2009-02-16 19:35:12 +01:00
Andrzej Rybczak
32f959d1ec use streams instead of Window::WriteXY() 2009-02-16 19:32:43 +01:00
Andrzej Rybczak
43a8e2284e provide generic interface for dealing with selected items 2009-02-16 18:20:45 +01:00
Andrzej Rybczak
2ec7748acd improve 'Crop' function
deleting by songid seems to be very slow
in current mpd-git so use positions instead.
2009-02-16 15:25:23 +01:00
Andrzej Rybczak
34feba8d67 fix refreshing dialog window 2009-02-16 14:50:07 +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
f9cdfa5d2b another externs removed 2009-02-15 23:08:15 +01:00
Andrzej Rybczak
26365d9832 rename status_checker -> status / + some cleaning 2009-02-15 22:56:41 +01:00
Andrzej Rybczak
b43d4dddeb throw away unneeded code 2009-02-15 22:28:04 +01:00
Andrzej Rybczak
9dd21b7653 get rid of some externs 2009-02-15 20:44:42 +01:00
Andrzej Rybczak
c547fbe03b use generic Scroll method 2009-02-15 20:05:28 +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
d762bd9b55 add screen.h 2009-02-14 23:23:27 +01:00
Andrzej Rybczak
81d685eff8 change namespace Clock into class 2009-02-14 22:54:12 +01:00
Andrzej Rybczak
49abc4d42c change namespace Info into class 2009-02-14 22:25:44 +01:00
Andrzej Rybczak
17352e821c change namespace Lyrics into class 2009-02-14 21:30:14 +01:00
Andrzej Rybczak
6f09d3b592 change namespace Help into class 2009-02-14 20:01:19 +01:00
Andrzej Rybczak
d6a6bca3e6 change namespace TagEditor into class 2009-02-14 19:44:55 +01:00
Andrzej Rybczak
7b1d07722b change namespace TinyTagEditor into class 2009-02-14 18:36:42 +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
11622b7ba5 remove extern int now_playing 2009-02-14 15:18:13 +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
Andrzej Rybczak
29301aefd5 move all externs to global.h 2009-02-11 09:45:23 +01:00
Andrzej Rybczak
cecb11c3d8 move WindowTitle() to local unnamed namespace 2009-02-11 09:12:49 +01:00
Andrzej Rybczak
d82577e357 group various functions more logically 2009-02-10 15:51:55 +01:00
Andrzej Rybczak
256bb429b5 change std::stringstream to std::ostringstream 2009-02-10 12:23:02 +01:00
Andrzej Rybczak
f9f5149b76 includes cleaning 2009-02-10 12:19:59 +01:00
Andrzej Rybczak
b607617193 remember active columns 2009-02-06 17:13:55 +01:00
Andrzej Rybczak
d68824f0f2 replace all string::find_last_of() with string::rfind()
find_last_of was working properly only because it was searching
only for one character, string::rfind() is appropriate function
for this job.
2009-02-05 21:52:31 +01:00
Andrzej Rybczak
e637d8f627 add optional 'ignore leading "The" word' function while sorting 2009-02-05 21:45:34 +01:00
Andrzej Rybczak
d3b4be9c56 oops. fix for previous commit. 2009-02-05 20:23:12 +01:00
Andrzej Rybczak
4943dea1d3 do not display mpd password in clear text 2009-02-05 20:22:03 +01:00
Andrzej Rybczak
94edefae44 fix Scrollpad::MoveTo() 2009-02-05 19:48:23 +01:00
Andrzej Rybczak
32cc754077 use Scrollpad for clock window 2009-02-05 19:47:46 +01:00
Andrzej Rybczak
01f429cca0 fix adding results from searching in current playlist
previously, pointers to items in playlist were added to list.
this is utterly wrong as playlist can change at any time, so
if song is from playlist, duplicate it.
2009-02-05 18:44:05 +01:00