Andrzej Rybczak
ce7be2d476
make SelectedItemsAdder work with local directories
17 years ago
Andrzej Rybczak
5aaafba545
if there is no selected items, treat the current one as selected
17 years ago
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.
17 years ago
Andrzej Rybczak
dd04406ee5
poll both stdin and mpd using one select()
...
this allows for immediate reading mpd events
17 years ago
Andrzej Rybczak
eff5ebba4e
fix locating now playing song in browser (using 'o')
...
due to change of keybinding for switching to local browser,
the trigger is invoked in SwitchTo() if main screen is already
pointing to browser. since we use 'o' in browser to locate now
playing song, this function was switching browser to wrong mode
and thus requested song couldn't be found.
17 years ago
Andrzej Rybczak
3551057dbb
new feature: sort songs in browser by mtime (optional)
17 years ago
Andrzej Rybczak
b48133a743
change keybinding for changing browse mode
...
I shouldn't do that, but the old one will be much better for
choosing whether songs in browser have to be sorted by names
or modification date. Besides, binding this to browser key
makes browser behaviour more "compatible" with media library.
17 years ago
Andrzej Rybczak
833f608d60
shorten long names in messages displayed in statusbar
17 years ago
Andrzej Rybczak
89779e6fb9
sort files in Browser::GetLocalDirectory()
...
files are read in kinda random order, so if one added local dir
to playlist, (s)he would get them not sorted at all. fix that by
sorting files that have been read recently from current dir, so
that we get files sorted within each read directory (if read
recursively), which is nice.
17 years ago
Andrzej Rybczak
55173cb419
move local_browser variable from settings to Browser class
17 years ago
Andrzej Rybczak
1b2999ef8e
fix compilation under mingw32
17 years ago
Andrzej Rybczak
24627d8493
fix compilation --with-taglib
17 years ago
Andrzej Rybczak
dec7bd9c0e
make ncmpcpp use external libmpdclient (--without-taglib and --without-iconv)
17 years ago
Andrzej Rybczak
ad685091bc
rename Menu::BoldOption() to Menu::Bold()
17 years ago
Andrzej Rybczak
3bdb798852
clean NCurse::List class a bit and remove a few redundant functions
17 years ago
Andrzej Rybczak
d6fbb2f657
remove wrapper for Scroller() needed with --enable-unicode
17 years ago
Andrzej Rybczak
18e611bee2
make sorting window use main ncmpcpp loop
17 years ago
Andrzej Rybczak
f0ebc47785
browser: do nothing if space is pressed and parent dir is highlighted
17 years ago
Andrzej Rybczak
89e18096d9
rearrange sequence of arguments to Scroller()
17 years ago
Andrzej Rybczak
101f01941d
new feature: alternative user interface
17 years ago
Andrzej Rybczak
ea1edd4d4a
use common interface for adding item(s) to playlist
...
this also removes a few code duplications.
17 years ago
Andrzej Rybczak
853164575f
adjust mouse bindings a bit and document them in help screen
17 years ago
Andrzej Rybczak
c20d8694ae
new feature: allow for fixed size columns
17 years ago
Andrzej Rybczak
f60cc71b91
some MPD::Song improvements and syntax simplifications
17 years ago
Andrzej Rybczak
df051bf674
remove using declarations
17 years ago
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
d5fb17aefb
fix Browser::LocateSong() function
17 years ago
Andrzej Rybczak
450bf1b636
initialize screens only if necessary
17 years ago
Andrzej Rybczak
f6d9be350c
new feature: add local directories recursively
17 years ago
Andrzej Rybczak
c497641908
do not load playlist with LMB
17 years ago
Andrzej Rybczak
25554ed100
be more verbose while deleting items in browser
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
8f5df28e62
new feature: allow for files and directories deletion in browser
17 years ago
Andrzej Rybczak
ecd4c8cc17
get rid of C style casts
17 years ago
Andrzej Rybczak
5682734840
make displaying hidden files in local browser optional
17 years ago
Andrzej Rybczak
ce73ecae2e
real fix for bug 2252
17 years ago
Andrzej Rybczak
310b6c0ecd
new feature: cyclic scrolling
17 years ago
Andrzej Rybczak
49a13222a3
get proper user home dir on WIN32 and adjust folders in this case a bit
17 years ago
Andrzej Rybczak
de98176198
make code from Browser::GetLocalDirectory() portable
17 years ago
Andrzej Rybczak
a1a2ba4eed
show columns' titles if browser displays them at start
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
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
3523caa592
some fixes for non-unicode locales
17 years ago
Andrzej Rybczak
27535e133c
move functions from unnamed namespace to Browser class
17 years ago
Andrzej Rybczak
aed227ab5f
new feature: go to currently playing song in browser
17 years ago
Andrzej Rybczak
b056fb0968
fix compilation --without-curl
17 years ago