Commit Graph

2044 Commits

Author SHA1 Message Date
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
b93c04189e improve "Capitalize First Letters" algorithm 2009-01-19 00:17:33 +01:00
Andrzej Rybczak
f111b933a4 center immediately after autocenter mode is on 2009-01-18 19:24:18 +01:00
Andrzej Rybczak
542c121e0a add clock screen (ported from ncmpc) 2009-01-17 20:40:28 +01:00
Andrzej Rybczak
351ddc8584 eliminate compiler warnings 2009-01-17 14:17:24 +01:00
Andrzej Rybczak
fd5a3e142c do not exclude iconv support if unicode is enabled 2009-01-17 14:10:44 +01:00
Andrzej Rybczak
7d82da3fed remove static keyword from char_non_ascii() declaration 2009-01-17 12:04:36 +01:00
Andrzej Rybczak
8045899049 remove extern keyword from const char * declarations 2009-01-17 12:02:50 +01:00
Andrzej Rybczak
d8b54a549c version bump to 0.2.99 2009-01-17 00:57:20 +01:00
Andrzej Rybczak
0c9e10091f update fsf address and copyright info 2009-01-17 00:52:08 +01:00
Andrzej Rybczak
844acb1ecd block scrolling, if wide characters are used in input string
current scrolling implementation doesn't work with wide
chars properly so disable it until I find better solution
2009-01-17 00:25:41 +01:00
Andrzej Rybczak
430052bead check for type, not ptr's address while deleting old items from browser 2009-01-16 22:41:36 +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
Andrzej Rybczak
8226b9b4a2 use static width for middle column in tag editor 2009-01-15 14:59:04 +01:00
Andrzej Rybczak
0d7df1e5c6 tag editor: add options "Capitalize First Letters" and "lower all letters" 2009-01-15 12:29:45 +01:00
Andrzej Rybczak
42172bff2d set lock_statusbar_delay to -1 to prevent entering this section all the time 2009-01-15 11:32:51 +01:00
Andrzej Rybczak
5704ea9fa2 check if mpd_Song pointer passed to Song::Song() is NULL 2009-01-13 11:24:20 +01:00
Andrzej Rybczak
de5370b0dc if ncurses-config is missing, check for ncurses library anyway 2009-01-13 10:40:21 +01:00
Andrzej Rybczak
77b4f69c88 initialize ints in Scrollpad::Flush() to zero 2009-01-13 10:19:08 +01:00
Arnaud Guignard
61b5880559 restore old std::cerr buffer to prevent segfault when exiting 2009-01-12 08:37:46 +01:00
Andrzej Rybczak
11b18b95e5 use setlocale() instead of getenv() for determining locale 2009-01-12 08:35:02 +01:00
Andrzej Rybczak
daca5964e8 convert lyrics and artist's info to current locale if needed 2009-01-12 08:22:45 +01:00
Max Kellermann
67b8ca70fa charset: fix portability for unsigned chars
On some platforms, char is unsigned, and the "non_ascii" check "ch <
0" does not work.  Fix that by checking if the highest bit is set.
2009-01-11 17:24:15 +01:00
Andrzej Rybczak
73c166a029 always save and read id3 tags in unicode 2009-01-11 15:43:12 +01:00
Andrzej Rybczak
0d9aea79c2 convert id3 tags, directories and playlist names to current locale if needed
notice: this feature needs unicode disabled.
2009-01-11 15:36:14 +01:00
Andrzej Rybczak
5b3357c54c improve parsing argv 2009-01-01 20:24:07 +01:00
Andrzej Rybczak
3b91f57ef7 refresh header window only if it really exists 2008-12-31 06:21:03 +01:00
Andrzej Rybczak
2db104f2e1 do not attempt to get/select/whatever item from an empty menu 2008-12-28 21:13:04 +01:00
Andrzej Rybczak
44609c8ccb do not block scrolling if a key is pressed 2008-12-28 19:41:59 +01:00
Andrzej Rybczak
d92dde1fb1 move some functions from helpers to status_checker 2008-12-28 19:11:05 +01:00
Andrzej Rybczak
b4d8c273bb remove unnecessary, commented out code 2008-12-28 18:54:47 +01:00
Andrzej Rybczak
2f1f650235 fix compilation --without-taglib 2008-12-27 18:40:48 +01:00
Andrzej Rybczak
5f28c64a73 add -lpthread to LDFLAGS instead of -pthread 2008-12-25 18:03:02 +01:00
Andrzej Rybczak
a32f701617 redirect std::cerr output to ~/.ncmpcpp/error.log file 2008-12-25 18:00:46 +01:00
Andrzej Rybczak
497f2dd4ff some improvements for handling mpd connection 2008-12-21 18:59:00 +01:00
Andrzej Rybczak
094c4e3ab3 support for wide characters in Window::GetString() 2008-12-20 14:37:44 +01:00
Andrzej Rybczak
8785f77b18 update window title if elapsed time changes 2008-12-19 23:35:33 +01:00
Andrzej Rybczak
a84067d1ab put scrolling code into function and use it also in lyrics screen 2008-12-19 23:23:50 +01:00
Andrzej Rybczak
c6a57511fe make displaying screens numbers at start optional 2008-12-16 16:22:11 +01:00
Andrzej Rybczak
e4ce0d9c95 fix deleting last item from playlist if playing 2008-12-15 22:32:44 +01:00
Andrzej Rybczak
f787895054 comment out usage of redraw_screen variable (it's not needed for now) 2008-12-15 22:13:06 +01:00
Andrzej Rybczak
8c40f046b9 render state line on stdscr instead of header window 2008-12-15 20:57:30 +01:00
Andrzej Rybczak
2cc5528014 improve code formatting 2008-12-15 20:29:45 +01:00
Andrzej Rybczak
77e8cd0145 variables cleaning 2008-12-13 12:23:20 +01:00
Andrzej Rybczak
55c75355f8 do not try to read keyconfig file if it's NOT open. 2008-12-13 11:28:43 +01:00
Andrzej Rybczak
a87afda4b7 remove menu.cpp from list of sources 2008-12-12 23:09:20 +01:00
Andrzej Rybczak
99fde90224 remove unnecessary files 2008-12-12 23:05:41 +01:00
Andrzej Rybczak
c71f07df6d eliminate remained compiler warnings 2008-12-12 22:50:22 +01:00
Andrzej Rybczak
aac3ce17ee check if highlighted position is visible 2008-12-12 22:38:08 +01:00