Commit Graph

58 Commits

Author SHA1 Message Date
Andrzej Rybczak
fc6d367f75 remove Clone() and EmptyClone() methods from NCurses::Window and derives
these functions served no purpose.
2009-09-16 03:10:53 +00:00
Andrzej Rybczak
21468d9537 document class NCurses::Window and remove some unused code from it 2009-09-16 03:08:31 +00:00
Andrzej Rybczak
56be1cb753 make Window::SetColor protected as it doesn't respect stacked colors
it should only be used internally by Window and derives.
2009-09-06 12:51:48 +02:00
Andrzej Rybczak
c35deb3b94 move override wcwidth with 1 if WIN32 if defined to window.h 2009-09-06 12:00:46 +02:00
Andrzej Rybczak
101f01941d new feature: alternative user interface 2009-08-12 02:08:13 +02:00
Andrzej Rybczak
caec71134e make Window::{Bold,Reverse,AltCharset} protected
they should be called only within member funcions, because they
ignore stacked values, that are set by Window::operator<<(Format)
2009-07-13 16:16:12 +02:00
Andrzej Rybczak
26326de2c8 fix setting format flags in Window::operator<<(Format)
I though static variables are created for each class object,
but apparently they aren't, which makes the previous design
utterly broken. I'm suprised it somehow worked before.
2009-07-12 15:42:30 +02:00
Andrzej Rybczak
113e54c85c Revert "cosider different size of size_t type on 32bits and 64bits arches"
This reverts commit 9faf3acf2f
and applies correct patch (thx for Damien Leone for pointing this)

Conflicts:

	src/ncmpcpp.cpp
2009-07-06 07:43:04 +02:00
Andrzej Rybczak
9faf3acf2f cosider different size of size_t type on 32bits and 64bits arches 2009-07-03 04:34:25 +02:00
Andrzej Rybczak
d965f4e517 new feature: mouse support 2009-05-25 21:46:36 +02:00
Andrzej Rybczak
a0cbd8fc32 new feature: input text history 2009-05-09 21:57:55 +02:00
Andrzej Rybczak
84a9af2ee9 make use of gcc's __attribute__ extension 2009-05-03 15:14:31 +02:00
Andrzej Rybczak
a1376e8a4e pass small structs and POD types to Window::operator<<() by value 2009-04-03 22:33:00 +02:00
Andrzej Rybczak
c4849bf129 redefine KEY_BACKSPACE only if pdcurses is used
this is redundant in ncurses and causes display
bug while pressing backspace in some terminals.
2009-03-27 17:35:50 +01:00
Andrzej Rybczak
c634059834 put macros definition into parenthesis to avoid bugs 2009-03-26 12:27:57 +01:00
Andrzej Rybczak
a6635322a8 improve handling backspace key 2009-03-26 12:26:22 +01:00
Andrzej Rybczak
cbc452fde5 check for Xinitscr in pdcurses and define XCURSES if available 2009-03-26 12:10:04 +01:00
Andrzej Rybczak
48f3361e2d improve conversions std::string <=> std::wstring 2009-03-26 12:00:11 +01:00
Andrzej Rybczak
65f52da949 make it compile under mingw32 --without-curl --without-taglib
ncmpcpp can be built for windows \o/
pdcurses and regex libraries are needed for this though.
2009-03-25 22:08:18 +01:00
Andrzej Rybczak
1b22f307ea add support for pdcurses 2009-03-25 17:47:10 +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
ea973b6b4a put classes related to ncurses into NCurses namespace 2009-03-05 17:43:13 +01:00
Andrzej Rybczak
164dec3eed unused defines cleaning / a few fixes for clock 2009-02-19 00:59:02 +01:00
Andrzej Rybczak
c827c88993 use ncurses pad instead of ncurses window by default 2009-02-18 21:45:54 +01:00
Andrzej Rybczak
5d2daab416 new feature: apply filter to screen (Ctrl-F)
if one applies a filter, only items that contain this
filter will be displayed. works on all screens.
2009-02-17 17:57:55 +01:00
Andrzej Rybczak
32f959d1ec use streams instead of Window::WriteXY() 2009-02-16 19:32:43 +01:00
Andrzej Rybczak
f9f5149b76 includes cleaning 2009-02-10 12:19:59 +01:00
Andrzej Rybczak
4943dea1d3 do not display mpd password in clear text 2009-02-05 20:22:03 +01:00
Andrzej Rybczak
0c9e10091f update fsf address and copyright info 2009-01-17 00:52:08 +01:00
Andrzej Rybczak
73c166a029 always save and read id3 tags in unicode 2009-01-11 15:43:12 +01:00
Andrzej Rybczak
563c4530aa update Window::WriteXY() and related stuff 2008-12-11 15:08:56 +01:00
Andrzej Rybczak
c61ddd3383 improve handling statusbar messages (+ some minor various fixes) 2008-12-11 14:04:14 +01:00
Andrzej Rybczak
284dd6a5be update Menu class and related stuff 2008-12-10 17:34:55 +01:00
Andrzej Rybczak
c03bcbe44b remove color parser / update Window, Scrollpad class and related stuff 2008-12-09 16:40:04 +01:00
unK
48ba7cbcf2 another code clean-ups 2008-10-07 23:04:26 +02:00
unK
fc00baa300 include and ifdef clean-up 2008-10-07 16:03:09 +02:00
unK
c6fea611bf improve utf8 related stuff 2008-10-07 15:40:06 +02:00
unK
e6b7e22485 remove ToString() and ToWString() returning C strings as they aren't used anyway 2008-10-01 18:46:56 +02:00
unK
0d5032c452 support for adding items like in ncmpc (disabled by default) 2008-09-25 20:08:47 +02:00
unK
c54de64176 new option for song format - right align (thx to Nathan Jones) 2008-09-13 21:59:05 +02:00
unK
369bbf6b96 new feature for parser, coordinates reader 2008-09-13 20:39:13 +02:00
unK
2605b29dd9 filename parser for tag editor, renaming files support, minor fixes 2008-09-12 22:06:48 +02:00
unK
25c2f3fb49 add scroll ability for Window::GetString 2008-09-10 21:22:38 +02:00
unK
c997e13091 classes cleaning 2008-09-05 10:17:47 +02:00
unK
b896f31c50 improve moving items and fix password handling (again) + fixes 2008-09-04 14:27:59 +02:00
unK
3b562d5a37 add playlist mode switcher (and some clean-ups ofc) 2008-09-04 04:34:30 +02:00
unK
d7b635e276 support for columns view in playlist 2008-09-03 11:04:21 +02:00
unK
723de0687e class Menu is template now / bunch of code clean-ups. 2008-09-03 01:16:26 +02:00
unK
0f0bf11652 more clean-ups 2008-09-02 04:39:56 +02:00
unK
a37882f62a code clean-ups 2008-09-02 03:53:13 +02:00