Commit Graph

183 Commits

Author SHA1 Message Date
Andrzej Rybczak
2f971147b1 change all Mpd.GetState </> psPlay/psStop to (!)Mpd.isPlaying() 2009-09-18 02:17:30 +00:00
Andrzej Rybczak
d6fbb2f657 remove wrapper for Scroller() needed with --enable-unicode 2009-09-15 21:07:37 +00:00
Andrzej Rybczak
b5a49b3fee do not create a bunch of temporary strings in FindSharedDir functions 2009-09-15 20:46:58 +00:00
Andrzej Rybczak
8cf7a7cab6 do not copy strings while doing case insensitive comparison 2009-09-15 18:48:38 +00:00
Andrzej Rybczak
27687fd2b1 pass Buffer/Window to ShowTag() by reference
returning new Buffer and passing it to Window by operator<<()
was rather bad idea since it required unnecessary copying.
2009-09-15 16:36:26 +00:00
Andrzej Rybczak
d7108caf45 make -v|--version display info about optional screens compiled-in 2009-09-04 14:41:54 +02:00
Andrzej Rybczak
0d2c769faa update list of supported libraries that is displayed with -v|--version 2009-09-03 22:05:16 +02:00
Andrzej Rybczak
18e611bee2 make sorting window use main ncmpcpp loop 2009-08-30 02:47:46 +02:00
Andrzej Rybczak
56a1d7456c fix scrolling text which contains both normal and wide characters 2009-08-26 03:39:14 +02:00
Andrzej Rybczak
89e18096d9 rearrange sequence of arguments to Scroller() 2009-08-26 03:33:31 +02:00
Andrzej Rybczak
8c60ff1493 fix a few glitches in ParseArgv() 2009-08-24 02:25:20 +02:00
Andrzej Rybczak
b885c4f3a2 new feature: command line switch for displaying now playing song 2009-08-23 22:38:05 +02:00
Andrzej Rybczak
f5ea4634b1 support full command line switches for custom --host and --port 2009-08-23 21:35:38 +02:00
Andrzej Rybczak
101f01941d new feature: alternative user interface 2009-08-12 02:08:13 +02:00
Andrzej Rybczak
df051bf674 remove using declarations 2009-07-05 12:19:22 +02:00
Andrzej Rybczak
9dab25e02c use prefix ++ instead of postfix where available 2009-07-04 06:41:35 +02:00
Andrzej Rybczak
2eb913fe22 define MPD::Connection handler as an object, not pointer 2009-07-04 06:07:00 +02:00
Andrzej Rybczak
cd3180d265 return values instead of playing around with static variables and references 2009-06-04 12:19:37 +02:00
Andrzej Rybczak
1e340211be add config option to disable text scrolling in header window 2009-06-04 12:13:49 +02:00
Andrzej Rybczak
5cbc6dfb5b use "str" as parameter, not "string"
I wonder why compiler accepted that.
2009-06-04 11:56:47 +02:00
Andrzej Rybczak
3d9c242f4d allow quotation marks inside config options 2009-05-21 22:42:36 +02:00
Andrzej Rybczak
b0317b695a rewrite GetLineValue() function 2009-04-29 16:01:09 +02:00
Andrzej Rybczak
1daa41bde6 allow for setting host and port with command line switches 2009-03-26 21:50:36 +01:00
Andrzej Rybczak
31ab01cc1c fix prototype of write_data() function used by curl
maybe this works, but I don't want it to suddenly stop working
some day just because curl guys made their library more strict.
2009-03-14 22:15:25 +01:00
Andrzej Rybczak
d5a68a1a60 make Keypressed() funcion inline 2009-03-12 19:29:38 +01:00
Andrzej Rybczak
93fd687ec1 consider "ignore leading 'the' word" function while sorting playlist 2009-03-06 18:14:01 +01:00
Andrzej Rybczak
8f092d5490 move some functions to TagEditor class / outside 2009-03-04 22:47:48 +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
b056fb0968 fix compilation --without-curl 2009-02-20 20:12:35 +01:00
Andrzej Rybczak
32bac776e7 cleaning 2009-02-17 08:29:40 +01:00
Andrzej Rybczak
173b012d00 use vector<string_pair> instead of map<string, string> 2009-02-16 20:08:14 +01:00
Andrzej Rybczak
2a6e0fd7e8 fix searching in browser
it was taking whole path, take only top dir.
2009-02-16 19:52:11 +01:00
Andrzej Rybczak
32f959d1ec use streams instead of Window::WriteXY() 2009-02-16 19:32:43 +01:00
Andrzej Rybczak
26365d9832 rename status_checker -> status / + some cleaning 2009-02-15 22:56:41 +01:00
Andrzej Rybczak
c547fbe03b use generic Scroll method 2009-02-15 20:05:28 +01:00
Andrzej Rybczak
8653232a2a change namespace Browser into class 2009-02-14 00:43:58 +01:00
Andrzej Rybczak
6e167d67e2 change namespace Playlist into class 2009-02-13 22:27:26 +01:00
Andrzej Rybczak
8ba72bc78a separate some code from ncmpcpp.cpp 2009-02-13 17:24:06 +01:00
Andrzej Rybczak
29301aefd5 move all externs to global.h 2009-02-11 09:45:23 +01:00
Andrzej Rybczak
cecb11c3d8 move WindowTitle() to local unnamed namespace 2009-02-11 09:12:49 +01:00
Andrzej Rybczak
d82577e357 group various functions more logically 2009-02-10 15:51:55 +01:00
Andrzej Rybczak
f9f5149b76 includes cleaning 2009-02-10 12:19:59 +01:00
Andrzej Rybczak
d68824f0f2 replace all string::find_last_of() with string::rfind()
find_last_of was working properly only because it was searching
only for one character, string::rfind() is appropriate function
for this job.
2009-02-05 21:52:31 +01:00
Andrzej Rybczak
e637d8f627 add optional 'ignore leading "The" word' function while sorting 2009-02-05 21:45:34 +01:00
Andrzej Rybczak
ec38d57c9b make ncmpcpp toggle start playing if mpd is stopped 2009-01-30 00:05:47 +01:00
Andrzej Rybczak
0a6272c6db check if current iterator position is smaller than end, not equal
there's possibility that position at start will be greater
than ending iterator, so the iteration must not be started
2009-01-19 00:45:00 +01:00
Andrzej Rybczak
fd5a3e142c do not exclude iconv support if unicode is enabled 2009-01-17 14:10:44 +01:00
Andrzej Rybczak
0c9e10091f update fsf address and copyright info 2009-01-17 00:52:08 +01:00
Andrzej Rybczak
14befc5b56 fix scrolling if unicode is disabled 2009-01-15 20:44:03 +01:00
Andrzej Rybczak
24c308dac8 convert filenames to current locale if needed / some implementation improvements 2009-01-15 20:34:35 +01:00