Andrzej Rybczak
70910b77ed
make ncmpcpp compile with -fno-exceptions
17 years ago
Andrzej Rybczak
14a774b8a3
window: move some members from protected to private section
17 years ago
Andrzej Rybczak
487b2fc1c9
reimplement Window::hasCoords if pdcurses is used
17 years ago
Andrzej Rybczak
0a2a7290f6
new feature: support for underlined text
17 years ago
Andrzej Rybczak
eee80427fe
change prototype of Window::Recreate() and throw away almost-duplicated code
17 years ago
Andrzej Rybczak
84418130fe
if Colors struct contains clEnd, remove current color set from stack
...
previously it just did nothing, which wasn't correct behaviour at all.
17 years ago
Andrzej Rybczak
f734b43229
remove GNUC_UNUSED from Window::Clear() argument
...
it's not needed since the variable is used.
17 years ago
Andrzej Rybczak
da4457a6e5
update copy contructor of NCurses::Window
17 years ago
Andrzej Rybczak
fc6d367f75
remove Clone() and EmptyClone() methods from NCurses::Window and derives
...
these functions served no purpose.
17 years ago
Andrzej Rybczak
21468d9537
document class NCurses::Window and remove some unused code from it
17 years ago
Andrzej Rybczak
c35deb3b94
move override wcwidth with 1 if WIN32 if defined to window.h
17 years ago
Andrzej Rybczak
b8c9d149b1
do not allocate mem for s in ToString on heap since it has const size
17 years ago
Andrzej Rybczak
bc1a8a2d1a
allow for unicode characters in progressbar_look
17 years ago
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.
17 years ago
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
17 years ago
Andrzej Rybczak
df051bf674
remove using declarations
17 years ago
Andrzej Rybczak
9dab25e02c
use prefix ++ instead of postfix where available
17 years ago
Andrzej Rybczak
9faf3acf2f
cosider different size of size_t type on 32bits and 64bits arches
17 years ago
Andrzej Rybczak
d965f4e517
new feature: mouse support
17 years ago
Andrzej Rybczak
ecd4c8cc17
get rid of C style casts
17 years ago
Andrzej Rybczak
c22653fc38
pretend there is no history if input string is encrypted
17 years ago
Andrzej Rybczak
a0cbd8fc32
new feature: input text history
17 years ago
Andrzej Rybczak
f92b0101aa
use ctrl+u to clear text from input
17 years ago
Andrzej Rybczak
84a9af2ee9
make use of gcc's __attribute__ extension
17 years ago
Andrzej Rybczak
12fa8a9bf6
count number of applied formatting flags
17 years ago
Andrzej Rybczak
a1376e8a4e
pass small structs and POD types to Window::operator<<() by value
17 years ago
Andrzej Rybczak
a6635322a8
improve handling backspace key
17 years ago
Andrzej Rybczak
cbc452fde5
check for Xinitscr in pdcurses and define XCURSES if available
17 years ago
Andrzej Rybczak
48f3361e2d
improve conversions std::string <=> std::wstring
17 years ago
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.
17 years ago
Andrzej Rybczak
1b22f307ea
add support for pdcurses
17 years ago
Andrzej Rybczak
bf71a01b1c
ignore keycodes <10 || >10 && <32 in Window::GetString()
17 years ago
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.
17 years ago
Andrzej Rybczak
ea973b6b4a
put classes related to ncurses into NCurses namespace
17 years ago
Andrzej Rybczak
9eec588be5
refresh pad in Window::GetString() after wmove() to update cursor position
17 years ago
Andrzej Rybczak
164dec3eed
unused defines cleaning / a few fixes for clock
17 years ago
Andrzej Rybczak
7246b57d48
simplify syntax a bit
17 years ago
Andrzej Rybczak
735cae628a
call Window::Refresh() in Window::Clear() explicitly
...
call to Window::Clear() from Menu object was calling Menu::Refresh()
instead of Window::Refresh(), so make an explicit call to this method.
17 years ago
Andrzej Rybczak
c827c88993
use ncurses pad instead of ncurses window by default
17 years ago
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.
17 years ago
Andrzej Rybczak
32f959d1ec
use streams instead of Window::WriteXY()
17 years ago
Andrzej Rybczak
f9f5149b76
includes cleaning
17 years ago
Andrzej Rybczak
d3b4be9c56
oops. fix for previous commit.
17 years ago
Andrzej Rybczak
4943dea1d3
do not display mpd password in clear text
17 years ago
Andrzej Rybczak
351ddc8584
eliminate compiler warnings
17 years ago
Andrzej Rybczak
0c9e10091f
update fsf address and copyright info
17 years ago
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
17 years ago
Andrzej Rybczak
daca5964e8
convert lyrics and artist's info to current locale if needed
17 years ago
Andrzej Rybczak
094c4e3ab3
support for wide characters in Window::GetString()
17 years ago
Andrzej Rybczak
6f296e2419
update displaying playlist in column view
18 years ago