Commit Graph

746 Commits

Author SHA1 Message Date
Andrzej Rybczak c0d227a0c8 move selected items to actual cursor position, not to given one
this is much better as no position couting is needed.
2009-03-11 21:31:41 +01:00
Andrzej Rybczak fd7ac3b3f5 new feature: move item(s) in playlist to given position 2009-03-11 20:27:55 +01:00
Andrzej Rybczak a80bf2a7bf use typename keyword instead of class as it's more logical 2009-03-10 22:47:39 +01:00
Andrzej Rybczak d50dcac5a2 return value, not const reference, if return type is POD or ptr
returning reference to POD types can be in fact slower than returning value.
2009-03-10 22:20:09 +01:00
Andrzej Rybczak 5e29d251c3 add man page 2009-03-10 21:02:47 +01:00
Andrzej Rybczak 1667079b59 do not include misc.h in menu.h as it's redundant there 2009-03-10 17:26:03 +01:00
Andrzej Rybczak 5f114abd2c clear screen only after getting song info to avoid flickering 2009-03-09 11:43:27 +01:00
Andrzej Rybczak 2f68c48eb0 make SearchEngine::CaseSensitive regex flag 2009-03-09 11:23:55 +01:00
Andrzej Rybczak 14a817e83e fix memory leak in search engine
while performing case insensitive and exact match searching Song was
really copied, so clearing its internal mpd_Song ptr resulted in memleak.
2009-03-09 11:09:13 +01:00
Andrzej Rybczak 29f49415dd add support for regular expressions (basic and extended)
it intruduces regex support in search engine
and filtering/searching in all screens
2009-03-08 22:16:18 +01:00
Andrzej Rybczak 6be91a8216 improve searching a bit / fix going to previous found position 2009-03-08 17:45:28 +01:00
Andrzej Rybczak 2c30387a91 limit scope of unallowed_chars and make it static 2009-03-08 16:43:40 +01:00
Andrzej Rybczak 09ea91e548 check if setlocale() returns NULL 2009-03-08 15:55:41 +01:00
Andrzej Rybczak 7f2a635ac5 use inline functions instead of macros in charset.h 2009-03-08 15:53:15 +01:00
Andrzej Rybczak a3da430f1f change InternalSorting to class 2009-03-08 13:27:14 +01:00
Andrzej Rybczak eed4fb03ff use CamelCase for variables in Global namespace / some cleaning 2009-03-08 01:58:49 +01:00
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)
2009-03-07 18:23:31 +01:00
Andrzej Rybczak c5f24f402f improve fetching albums by tag editor 2009-03-07 15:03:22 +01:00
Andrzej Rybczak 3523caa592 some fixes for non-unicode locales 2009-03-07 13:26:36 +01:00
Andrzej Rybczak a4599fffe7 speed up browsing media library
the way media library was searching for albums
was wrong and by the way totally inefficient.
2009-03-07 12:26:16 +01:00
Andrzej Rybczak 93fd687ec1 consider "ignore leading 'the' word" function while sorting playlist 2009-03-06 18:14:01 +01:00
Andrzej Rybczak e209a86e8e allow for position go to in %, mm:ss format and numer of seconds 2009-03-06 14:12:40 +01:00
Andrzej Rybczak 1b74324e68 fix duplicating albums in media library 2009-03-05 18:55:11 +01:00
Andrzej Rybczak 556d0f7a3c hide cursor after return from external console editor 2009-03-05 18:06:53 +01:00
Andrzej Rybczak eef59c9099 rename Song::__Count_Last_Slash_Position() 2009-03-05 17:45:43 +01:00
Andrzej Rybczak ea973b6b4a put classes related to ncurses into NCurses namespace 2009-03-05 17:43:13 +01:00
Andrzej Rybczak 8f092d5490 move some functions to TagEditor class / outside 2009-03-04 22:47:48 +01:00
Andrzej Rybczak 31dcb27789 fix handling external console editor 2009-03-04 22:21:32 +01:00
Andrzej Rybczak 6ad80aeed5 write ID3v2 tags in utf8 2009-03-04 21:33:56 +01:00
Andrzej Rybczak 76701883e9 support for multiple composer, performer and disc tags 2009-03-04 21:14:11 +01:00
Andrzej Rybczak 67b7aaae8a define mDialog as object, not ptr to object 2009-03-04 16:18:48 +01:00
Andrzej Rybczak 2d74931a9a use static_cast in Scrollpad::Flush() instead of reinterpret_cast 2009-03-04 15:39:52 +01:00
Andrzej Rybczak d8a6993ec2 add support for external console editor 2009-03-04 15:34:04 +01:00
Andrzej Rybczak 73f7980019 make blocking search constraints change after successful searching optional
it's still enabled by default though.
2009-03-03 21:13:02 +01:00
Andrzej Rybczak 339bbb4925 while converting item in columns to string, if title is empty, use filename 2009-03-03 19:44:00 +01:00
Andrzej Rybczak 3d6765f896 make BasicScreen::{Enter,Space}Pressed() pure virtual 2009-03-03 18:39:09 +01:00
Andrzej Rybczak c3f2857dab use private where appropriate 2009-03-03 18:33:37 +01:00
Sebastian Peters e0a9a6cb9c fix: show again multiple album without year in media library 2009-03-02 00:01:32 +01:00
Andrzej Rybczak b9cbacebff new function: stop playing after current song 2009-03-01 11:26:39 +01:00
Andrzej Rybczak 27535e133c move functions from unnamed namespace to Browser class 2009-03-01 00:33:10 +01:00
Andrzej Rybczak aed227ab5f new feature: go to currently playing song in browser 2009-02-27 00:20:45 +01:00
Andrzej Rybczak 89b53ddfdb while searching for songs in media library, consider year of the album 2009-02-24 15:56:16 +01:00
Andrzej Rybczak d27a0510e4 update NEWS / version bump 2009-02-23 10:27:54 +01:00
Andrzej Rybczak fe79d1ae94 keep proper songs' positions when playlist is modified 2009-02-22 13:53:41 +01:00
Andrzej Rybczak 12e437c5af really fix compilation --without-curl 2009-02-21 16:48:38 +01:00
Andrzej Rybczak b056fb0968 fix compilation --without-curl 2009-02-20 20:12:35 +01:00
Andrzej Rybczak 2856d5cd78 make playlist's stats scrollable, also display remaining time on demand 2009-02-20 15:30:30 +01:00
Andrzej Rybczak 51d4f34cf3 move FormatPos struct to basic_buffer class, it should be private 2009-02-19 23:51:27 +01:00
Andrzej Rybczak 1d55d4c4a1 make sorting playlist case insensitive 2009-02-19 18:20:43 +01:00
Andrzej Rybczak 9eec588be5 refresh pad in Window::GetString() after wmove() to update cursor position 2009-02-19 17:12:59 +01:00