Andrzej Rybczak
5e8d1673e0
implement ProxySongList for handling general operations on lists
2012-09-02 20:51:20 +02:00
Andrzej Rybczak
d47cad1d50
get rid of 'using namespace NCurses' directive
2012-09-02 15:37:42 +02:00
Andrzej Rybczak
6f59a175ec
implement HasSongs interface
2012-09-02 13:52:26 +02:00
Andrzej Rybczak
0811e30319
implement Searchable interface / make use of unnamed namespaces
2012-09-01 16:10:52 +02:00
Andrzej Rybczak
4c944085d6
menu: generalize filtering, introduce interfaces
2012-08-31 23:09:56 +02:00
Andrzej Rybczak
1596c8ed40
menu: simplify ItemDisplayer further
2012-08-31 12:20:41 +02:00
Andrzej Rybczak
1c46dec39f
menu: a few semantic changes
2012-08-31 11:41:22 +02:00
Andrzej Rybczak
d8b2d20bdb
menu: move a few methods to Item class
2012-08-31 04:38:20 +02:00
Andrzej Rybczak
7e53654492
menu: implement custom iterator
2012-08-30 20:17:25 +02:00
Andrzej Rybczak
7297b8a9ad
use std::bind instead of passing void pointers around
2012-08-30 12:24:19 +02:00
Andrzej Rybczak
798c9b3121
menu: some member name changing
2012-08-30 07:07:19 +02:00
Andrzej Rybczak
b77466cc38
browser: read tags from local songs
2012-08-29 18:45:58 +02:00
Andrzej Rybczak
b06e620913
more cleanup and grouping functions logically together
2012-08-29 14:35:11 +02:00
Andrzej Rybczak
b1c301dc1c
split majority of helpers and rewrite a few heinous functions
2012-08-29 11:46:17 +02:00
Andrzej Rybczak
4cb0e2232a
fix compilation --without-taglib
2012-08-29 09:07:55 +02:00
Andrzej Rybczak
a20a195225
mpd: use lambda closures instead of passing vectors to functions
2012-08-28 06:01:56 +02:00
Andrzej Rybczak
397783d701
reduce usage of pointers / replace std::pair in SearchEngine
2012-08-28 02:44:08 +02:00
Andrzej Rybczak
a270fc8402
rewrite MPD::Song object
2012-08-28 00:09:39 +02:00
Andrzej Rybczak
bac6df8c6c
some general source code tweaks
2012-08-27 19:06:19 +02:00
Andrzej Rybczak
b7999b499f
add a few informational messages
2012-08-14 23:24:32 +02:00
Andrzej Rybczak
77a3c73d9c
make displayed messages more consistent
2012-08-14 18:18:36 +02:00
Andrzej Rybczak
dad2bba13e
optimize a bit adding playlists/directories to playlist
2012-08-14 17:15:18 +02:00
Andrzej Rybczak
181224b837
keybinding system rewrite
2012-08-14 01:44:14 +02:00
Andrzej Rybczak
27a0dc958f
corrections for previous commit
2012-07-15 22:58:46 +02:00
Maarten de Vries
6c73c3cecf
add custom sort format
2012-07-15 18:38:32 +02:00
Andrzej Rybczak
f96b4fc776
browser: make playing newly loaded playlist work in all cases
2012-07-13 22:19:42 +02:00
Andrzej Rybczak
f8151904f5
update copyright dates
2012-03-17 16:46:55 +01:00
Andrzej Rybczak
57511bb941
local browser: properly check if file extension is supported
2012-01-15 13:23:07 +01:00
Andrzej Rybczak
b058fdce30
browser: display message only when loading playlist failed
2011-12-31 18:15:23 +01:00
Wieland Hoffmann
3661b37896
browser: Do not modify the items name if we're loading a playlist
...
item.name does already contain the complete path, there's no need to add
it again.
2011-12-31 18:12:57 +01:00
Andrzej Rybczak
a98a1800a7
settings: provide a way to use alternative location for configuration file
...
..and whole data folder.
2011-11-13 21:01:49 +01:00
Andrzej Rybczak
56467eaac6
new feature: support for merging screens together
2011-11-12 19:47:47 +01:00
Andrzej Rybczak
ca956c3da3
update copyright dates
2011-11-01 13:43:47 +01:00
Marc Jessome
01490db981
Fix column title resize on browser window.
2011-10-01 17:05:31 +02:00
Andrzej Rybczak
89e00e447a
add support for asx/cue/m3u/pls/xspf playlists
2011-10-01 16:47:05 +02:00
Andrzej Rybczak
e323025a82
remove $? formatting from song format while converting to string
...
this fixes wrong results while searching for phrase
that contains dollar or one of dollar formatting.
2011-02-23 20:16:23 +01:00
Alexey Semenko
18bc6368bf
titles_visibility configuration option
2010-08-25 15:35:37 +02:00
Andrzej Rybczak
d962653c76
make feature 'display separators between albums' work in all screens
2010-07-12 09:14:15 +02:00
Andrzej Rybczak
f627dc854d
browser: add support for deleting group of selected items
2010-07-12 07:48:10 +02:00
Andrzej Rybczak
4d406c85f2
browser: support operations on m3u playlists not created by mpd
2010-06-26 22:50:28 +02:00
Andrzej Rybczak
d1b82557d2
browser: fix omitting . and .. in Browser::{Clear,GetLocal}Directory
...
it seems that sometimes . and .. are not the first ones
in directory structure, so check for them in main loop
rather than in separate one at the beginning.
attention! this fix is critical for people who use function
that removes physically directories from hdd with ncmpcpp.
2010-05-29 03:06:38 +02:00
Andrzej Rybczak
02d3ec0e2a
Browser::LocateSong: compare hashes, not strings
...
I wonder why I wrote it this way.
2010-05-14 01:17:10 +02:00
Andrzej Rybczak
2583487ffb
check for emptiness in some more places
...
these containers can be empty escpecially if one wants to go for a trip
around ncmpcpp screens while connection to mpd is lost. this is highly
unlikely to happen, but should be secured anyway.
2010-03-25 00:51:56 +01:00
Andrzej Rybczak
bd64052f11
center cursor directly in Menu class
...
centering in Screen::Scroll is hacky and works
only for scrolling, not e.g. selecting.
2010-02-05 15:49:20 +01:00
Andrzej Rybczak
08daa61907
update copyright notices
2010-01-30 16:24:24 +01:00
Andrzej Rybczak
a27332a825
get rid of using directives
...
these in ncmpcpp.cpp stay since a lot of memebers are used.
2010-01-22 19:17:35 +01:00
Frank Blendinger
b504b346af
screen_switcher between current and last screen
...
Setting the new config variable "screen_switcher_browser_only" to "no"
will make the "key_screen_switcher" key switch between the current and
the last used screen, sort of like the Alt+Tab window switching
mechanism in many window managers.
This (intendedly) works only for the "main" screens (playlist, browser,
media library, etc.) and not for info/lyrics/server info. Those screens
can be closed with the screen_switcher key, but the will not be
remembered.
indentation correction in config
2009-12-09 00:24:15 +01:00
Andrzej Rybczak
ce7be2d476
make SelectedItemsAdder work with local directories
2009-11-26 22:08:31 +01:00
Andrzej Rybczak
5aaafba545
if there is no selected items, treat the current one as selected
2009-11-26 22:01:27 +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