Andrzej Rybczak
9dab25e02c
use prefix ++ instead of postfix where available
17 years ago
Andrzej Rybczak
2eb913fe22
define MPD::Connection handler as an object, not pointer
17 years ago
Andrzej Rybczak
450bf1b636
initialize screens only if necessary
17 years ago
Andrzej Rybczak
10a9427270
throw away Menu::GetPosition() as Menu::Choice() does the same
...
oh cool, I forgot that such function already exists under different name ~~
17 years ago
Andrzej Rybczak
d965f4e517
new feature: mouse support
17 years ago
Andrzej Rybczak
ecd4c8cc17
get rid of C style casts
17 years ago
Andrzej Rybczak
ce73ecae2e
real fix for bug 2252
17 years ago
Andrzej Rybczak
c8f99be7d0
do not limit year tag to 4 digits
17 years ago
Andrzej Rybczak
310b6c0ecd
new feature: cyclic scrolling
17 years ago
Andrzej Rybczak
a20469b403
never get full playlist from mpd, always request for changes
17 years ago
Andrzej Rybczak
24c37eb592
do not store commands list in MPD::Connection
...
it should have sent commandlist begin and end commands from the beginning,
having separated functions just to handle queueing commands was plainly ugly.
17 years ago
Andrzej Rybczak
2f68c48eb0
make SearchEngine::CaseSensitive regex flag
17 years ago
Andrzej Rybczak
14a817e83e
fix memory leak in search engine
...
while performing case insensitive and exact match searching Song was
really copied, so clearing its internal mpd_Song ptr resulted in memleak.
17 years ago
Andrzej Rybczak
29f49415dd
add support for regular expressions (basic and extended)
...
it intruduces regex support in search engine
and filtering/searching in all screens
17 years ago
Andrzej Rybczak
eed4fb03ff
use CamelCase for variables in Global namespace / some cleaning
17 years ago
Andrzej Rybczak
b21ede24f4
move searching to Menu class, also remember last constraint
...
this improvement also make that list of found items is not cleared
if one switches to another screen. it's remebered until the content
of screen changes (e.g. item is deleted from playlist)
17 years ago
Andrzej Rybczak
73f7980019
make blocking search constraints change after successful searching optional
...
it's still enabled by default though.
17 years ago
Andrzej Rybczak
5d2daab416
new feature: apply filter to screen (Ctrl-F)
...
if one applies a filter, only items that contain this
filter will be displayed. works on all screens.
17 years ago
Andrzej Rybczak
32f959d1ec
use streams instead of Window::WriteXY()
17 years ago
Andrzej Rybczak
43a8e2284e
provide generic interface for dealing with selected items
17 years ago
Andrzej Rybczak
ef9948cbe2
fix refreshing in clock screen while resizing / remove some unneded code
17 years ago
Andrzej Rybczak
ba6c2db0b1
improve resizing
17 years ago
Andrzej Rybczak
f9cdfa5d2b
another externs removed
17 years ago
Andrzej Rybczak
26365d9832
rename status_checker -> status / + some cleaning
17 years ago
Andrzej Rybczak
e6bd98e0a7
general code cleaning
17 years ago
Andrzej Rybczak
4cdafc5639
change wCurrent and wPrev to myScreen
17 years ago
Andrzej Rybczak
111652e2d6
change namespace SearchEngine into class
17 years ago
Andrzej Rybczak
6e167d67e2
change namespace Playlist into class
17 years ago
Andrzej Rybczak
8ba72bc78a
separate some code from ncmpcpp.cpp
17 years ago
Andrzej Rybczak
29301aefd5
move all externs to global.h
17 years ago
Andrzej Rybczak
d82577e357
group various functions more logically
17 years ago
Andrzej Rybczak
f9f5149b76
includes cleaning
17 years ago
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.
17 years ago
Andrzej Rybczak
2df9b1ab3f
Search() should take value, not reference
17 years ago
Andrzej Rybczak
edeb2fa37d
add field 'Any' to search engine
17 years ago
Andrzej Rybczak
1a6e0be0c1
fix searching
17 years ago
Andrzej Rybczak
966fd634a4
add support for columns view in browser and search engine
17 years ago
Andrzej Rybczak
e3ffbc7027
align search fields in media library
17 years ago
Andrzej Rybczak
4ce83854a2
rearrange fields in search engine / +composer +performer -track
17 years ago
Andrzej Rybczak
8045899049
remove extern keyword from const char * declarations
17 years ago
Andrzej Rybczak
0c9e10091f
update fsf address and copyright info
17 years ago
Andrzej Rybczak
da8feb885f
handle colored empty tag marker
18 years ago
Andrzej Rybczak
284dd6a5be
update Menu class and related stuff
18 years ago
Andrzej Rybczak
5c0af01cca
put mpd connection related things into namespace
18 years ago
Andrzej Rybczak
ef7b8fd276
add config option for default place to search in (database/playlist)
18 years ago
unK
5775eaf039
allow searching in current playlist
18 years ago
unK
0a210a8896
use ToLower() instead of calling std::transform explicitly all the time
18 years ago
unK
4c7afc4fcd
fix displaying song in search engine if song_format uses right align
18 years ago
unK
65eec99073
perform case insensitive searching by default
18 years ago
unK
0d0e5e2912
rename Song::GetShortFilename() to Song::GetName()
18 years ago