Commit Graph

111 Commits

Author SHA1 Message Date
Andrzej Rybczak
786ffe9182 clear filters when empty string is passed to applyFilter
boost::regex doesn't like empty strings in literal mode and throws exceptions.
2013-04-28 23:25:08 +02:00
Andrzej Rybczak
d451731562 clear search results if empty string is passed to FindForward/Backward 2013-04-07 14:10:41 +02:00
Andrzej Rybczak
1d4e006986 update copyright info 2013-04-07 13:31:58 +02:00
Andrzej Rybczak
6a3eb73a49 rewrite communication system with mpd 2013-04-07 13:22:50 +02:00
Andrzej Rybczak
2b5f1b9fd4 replace gnu regex wrapper with boost::regex 2013-04-06 16:47:03 +02:00
Andrzej Rybczak
8db773cfec replace a few string algorithms with boost utilities 2012-10-18 16:59:57 +02:00
Andrzej Rybczak
df9ecabb55 window: make color/format/border class enums 2012-10-06 19:05:12 +02:00
Andrzej Rybczak
1eb0003714 window: rename Where to Scroll and make it enum class 2012-10-05 21:25:22 +02:00
Andrzej Rybczak
044464962c initial restoration of support for encodings different than utf-8 2012-10-05 20:58:07 +02:00
Andrzej Rybczak
9aaa93a4e3 playlist editor: rename private members 2012-10-01 20:50:17 +02:00
Andrzej Rybczak
9a292ca20d mpd: make functions take item consumer instead of returning vector of items 2012-10-01 20:44:22 +02:00
Andrzej Rybczak
43ccedd6d8 fix assertion failures in media library / playlist editor with separators enabled 2012-09-16 08:13:10 +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
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
49a21370a6 playlist editor: change columns to be non-pointers 2012-09-14 18:38:28 +02:00
Andrzej Rybczak
830a2832b5 screen: change ScreenType to WindowType and add WindowReference typedef 2012-09-14 17:43:11 +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
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
31b06470d1 check properly in MouseButtonPressed if switching columns is allowed 2012-09-13 17:46:35 +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
c8097a898e get rid of locale_to_utf where it's not needed anymore 2012-09-11 22:41:42 +02:00
Andrzej Rybczak
c90545b008 move statusbar/progressbar related code to separate file 2012-09-11 21:52:41 +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
a834a8b3af fix compilation --without-taglib 2012-09-07 22:39:38 +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
ec5f271f17 playlist editor: do not display "Playlist is empty" message 2012-09-05 01:08:18 +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
6d87ebbc43 generalize UpdateSongsList (-> markSongsInPlaylist) 2012-09-04 18:50:33 +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
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
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