Andrzej Rybczak
21947d3655
status: optimize filtering when chars are being taken from input queue
14 years ago
Andrzej Rybczak
226fbdd2c9
fix shadowing warnings
14 years ago
Andrzej Rybczak
af2cdca3d0
change naming conventions in NC namespace
14 years ago
Andrzej Rybczak
0cfe5d8f01
strbuffer: reorder headers
14 years ago
Andrzej Rybczak
b1ff896cb6
get rid of HAVE_CONFIG_H directives
14 years ago
Andrzej Rybczak
337a27c366
window: adjust indentation
14 years ago
Andrzej Rybczak
d47cad1d50
get rid of 'using namespace NCurses' directive
14 years ago
Andrzej Rybczak
4c944085d6
menu: generalize filtering, introduce interfaces
14 years ago
Andrzej Rybczak
0447b4e881
window: remove GetXY
14 years ago
Andrzej Rybczak
b06e620913
more cleanup and grouping functions logically together
14 years ago
Andrzej Rybczak
a270fc8402
rewrite MPD::Song object
14 years ago
Andrzej Rybczak
9e071b074c
display: rewrite Display::Columns and Display::SongsInColumns
14 years ago
Andrzej Rybczak
f6cae753e2
implement input character queue and add PushCharacters macro utility
14 years ago
Andrzej Rybczak
6829a8e05c
add support for binding actions to multibyte characters
14 years ago
Andrzej Rybczak
fbd4a0484e
fix a few issues with win32 build
14 years ago
Andrzej Rybczak
181224b837
keybinding system rewrite
14 years ago
Andrzej Rybczak
7b8a286c49
window: interpret ctrl-h as backspace
14 years ago
Andrzej Rybczak
f8151904f5
update copyright dates
14 years ago
Andrzej Rybczak
ca956c3da3
update copyright dates
15 years ago
Andrzej Rybczak
087245ecda
window: make new BUTTON2_PRESSED definition more clear
16 years ago
Andrzej Rybczak
08daa61907
update copyright notices
16 years ago
Andrzej Rybczak
3365b066c3
window: store strings history in list instead of deque
17 years ago
Andrzej Rybczak
495ec25a0a
simplify Clear() in Window and its derivatives
...
it removes argument responsible for immediate refreshing.
since after all calls that were refreshing screen there was
call to Refresh() anyway, this switch doesn't make much sense.
17 years ago
Andrzej Rybczak
dd866e9337
fix visualizer
17 years ago
Andrzej Rybczak
dd04406ee5
poll both stdin and mpd using one select()
...
this allows for immediate reading mpd events
17 years ago
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
1a3dcbfe17
set attributes in Menu::Refresh() by operators<<()
...
this also makes Window::{Bold,UnderLine,Reverse,Altcharset} private.
these should only be called by internals of Window class.
17 years ago
Andrzej Rybczak
d995b9f065
define NCURSES_MOUSE_VERSION as 1 (not 2) if pdcurses is used
17 years ago
Andrzej Rybczak
91ffdf9799
redefine BUTTON2_PRESSED if ncurses is used
17 years ago
Andrzej Rybczak
20b0bcc85e
define NCURSES_MOUSE_VERSION 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
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
56be1cb753
make Window::SetColor protected as it doesn't respect stacked colors
...
it should only be used internally by Window and derives.
17 years ago
Andrzej Rybczak
c35deb3b94
move override wcwidth with 1 if WIN32 if defined to window.h
17 years ago
Andrzej Rybczak
101f01941d
new feature: alternative user interface
17 years ago
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)
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
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
a0cbd8fc32
new feature: input text history
17 years ago
Andrzej Rybczak
84a9af2ee9
make use of gcc's __attribute__ extension
17 years ago
Andrzej Rybczak
a1376e8a4e
pass small structs and POD types to Window::operator<<() by value
17 years ago
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.
17 years ago
Andrzej Rybczak
c634059834
put macros definition into parenthesis to avoid bugs
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