Andrzej Rybczak
efe2a52382
fix header guards
2012-10-02 16:19:04 +02:00
Andrzej Rybczak
9d8e6a2687
playlist: store song hashes in hash map, not a tree
2012-09-24 10:10:12 +02:00
Andrzej Rybczak
4ff78d6304
fix handling playlist highlight
2012-09-18 18:27:17 +02:00
Andrzej Rybczak
48cf01f084
pass ProxySongList around since it already has shared_ptr inside
2012-09-16 07:14:33 +02:00
Andrzej Rybczak
f0a0734728
add ScreenType for screen's type identification
2012-09-16 03:49:11 +02:00
Andrzej Rybczak
14587cb4ec
abstract shared parts of switchTo methods away
2012-09-15 22:58:32 +02:00
Andrzej Rybczak
c4190b6514
rewrite selected items added so it uses sane actions dispatch system
2012-09-15 00:18:22 +02:00
Andrzej Rybczak
9c29082afe
playlist: define main screen as non-pointer
2012-09-14 16:16:35 +02:00
Andrzej Rybczak
4d6ea660bc
make defining screens with main window type as non-pointer possible
2012-09-14 16:16:22 +02:00
Andrzej Rybczak
1891c1c050
do not initialize screens lazily as it doesn't make much sense
2012-09-14 00:54:48 +02:00
Andrzej Rybczak
58a26b1e18
adjust indentation of remaining classes in headers
2012-09-13 22:09:59 +02:00
Andrzej Rybczak
9ddfca8f31
playlist: move sorting dialog related functions to separate file
2012-09-13 21:57:17 +02:00
Andrzej Rybczak
dd7665bb7d
more PascalCase to camelCase conversions
2012-09-13 19:23:33 +02:00
Andrzej Rybczak
cfe738b2f7
add interface HasColumns and its appropriate implementations
2012-09-13 18:24:57 +02:00
Andrzej Rybczak
a98df99ba6
playist: do not duplicate now playing information
2012-09-11 20:22:22 +02:00
Andrzej Rybczak
d5e2d315fd
use wstrings uncoditionally where needed
2012-09-08 17:50:01 +02:00
Andrzej Rybczak
45a097a45b
reduce number of calls to gettimeofday
2012-09-07 23:11:40 +02:00
Andrzej Rybczak
ef55093586
move a few small functions to actions
2012-09-04 20:47:29 +02:00
Andrzej Rybczak
f6fb2ed54c
make use of override keyword if available
2012-09-04 20:08:43 +02:00
Andrzej Rybczak
60ca9de919
check if song is in playlist in O(nlogn) instead of O(n^2)
2012-09-04 03:17:12 +02:00
Andrzej Rybczak
506e79b4b1
add allowsFiltering / allowsSearching checks
2012-09-03 16:50:01 +02:00
Andrzej Rybczak
af2cdca3d0
change naming conventions in NC namespace
2012-09-03 15:34:07 +02:00
Andrzej Rybczak
684d871506
finally kill NC::List
2012-09-02 20:55:32 +02:00
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
d8b2d20bdb
menu: move a few methods to Item class
2012-08-31 04:38:20 +02:00
Andrzej Rybczak
7297b8a9ad
use std::bind instead of passing void pointers around
2012-08-30 12:24:19 +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
2c50064ba5
playlist: move sorting functions to Playlist::EnterPressed
2012-08-27 11:16:20 +02:00
Andrzej Rybczak
f6cae753e2
implement input character queue and add PushCharacters macro utility
2012-08-25 06:50:27 +02:00
Andrzej Rybczak
e729ab0a38
playlist: rewrite sorting so it's much less cryptic
2012-08-14 23:56:39 +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
bab756c579
add support for priorities (queueing)
2012-08-14 16:09:45 +02:00
Andrzej Rybczak
181224b837
keybinding system rewrite
2012-08-14 01:44:14 +02:00
Andrzej Rybczak
f8151904f5
update copyright dates
2012-03-17 16:46:55 +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
Andrzej Rybczak
d962653c76
make feature 'display separators between albums' work in all screens
2010-07-12 09:14:15 +02:00
Andrzej Rybczak
b01801ea22
update playlist's timer while scrolling with fancy_scrolling disabled
...
not updating it caused highlight to be disabled
during scrolling if key was being held long enough.
2010-02-05 17:19:53 +01:00
Andrzej Rybczak
08daa61907
update copyright notices
2010-01-30 16:24:24 +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
03129784d4
new feature: add selected items to playlist at given position
2009-11-26 21:41:30 +01:00
Andrzej Rybczak
03f6fd904f
new screen: mpd server info
2009-10-11 17:03:00 +02:00
Andrzej Rybczak
5a887861d7
move code responsible for marking song as now playing to display functions
2009-09-20 23:52:43 +02:00
Andrzej Rybczak
18e611bee2
make sorting window use main ncmpcpp loop
2009-08-30 02:47:46 +02:00
Andrzej Rybczak
101f01941d
new feature: alternative user interface
2009-08-12 02:08:13 +02:00