Commit Graph

129 Commits

Author SHA1 Message Date
Andrzej Rybczak
c4190b6514 rewrite selected items added so it uses sane actions dispatch system 2012-09-15 00:18:22 +02:00
Andrzej Rybczak
830a2832b5 screen: change ScreenType to WindowType and add WindowReference typedef 2012-09-14 17:43:11 +02:00
Andrzej Rybczak
9c29082afe playlist: define main screen as non-pointer 2012-09-14 16:16:35 +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
9ddfca8f31 playlist: move sorting dialog related functions to separate file 2012-09-13 21:57:17 +02:00
Andrzej Rybczak
fcc097fc76 require a bit bigger screen so all possible dialogs will fit 2012-09-13 20:21:02 +02:00
Andrzej Rybczak
dd7665bb7d more PascalCase to camelCase conversions 2012-09-13 19:23:33 +02:00
Andrzej Rybczak
d55070754d settings: support customizable tags separator 2012-09-12 21:44:27 +02:00
Andrzej Rybczak
8f065e2da3 status: split NcmpcppStatusChanged into smaller pieces 2012-09-12 02:41:21 +02:00
Andrzej Rybczak
c90545b008 move statusbar/progressbar related code to separate file 2012-09-11 21:52:41 +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
8fb88b7181 comparators: generalize objects a bit 2012-09-08 14:34:46 +02:00
Andrzej Rybczak
057922d2a6 make use of std::locale based strings comparison 2012-09-08 03:35:52 +02:00
Andrzej Rybczak
45a097a45b reduce number of calls to gettimeofday 2012-09-07 23:11:40 +02:00
Andrzej Rybczak
c935dcf11a global: remove RedrawHeader 2012-09-06 16:49:47 +02:00
Andrzej Rybczak
10e88ec6b4 display: pass screen to functions by pointer 2012-09-05 20:52:33 +02:00
Andrzej Rybczak
7c6467a9e7 keys: implement parsing key configuration file 2012-09-05 18:02:37 +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
bb121fbe01 make playlist and playlist editor share code responsible for moving items 2012-09-04 18:14:37 +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
8ab8da2a30 actions: fix filter clearing 2012-09-03 19:54:23 +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
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
b1c301dc1c split majority of helpers and rewrite a few heinous functions 2012-08-29 11:46:17 +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
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
d51edfd262 remove "Reverse" from sorting window 2012-08-14 04:26:33 +02:00
Andrzej Rybczak
2d57f15cad remove some hacky shit 2012-08-14 01:51:10 +02:00
Andrzej Rybczak
181224b837 keybinding system rewrite 2012-08-14 01:44:14 +02:00