Keith Winstein
231c181101
Scroll only scrolled region ( fixes #31 github issue)
2012-03-18 16:07:23 -04:00
Keith Winstein
13bd38aa51
Switch to deltaE method for color posterization
2012-03-18 01:52:13 -04:00
Keith Winstein
d88ae9bfd0
Fix erroneous blinking in emacs (sgr with >15 fg but <16 bg)
2012-03-17 15:00:54 -04:00
Keith Winstein
170bc8366a
Posterize to 8 colors when outer terminal does not support 256 colors
...
Fixes #58 github issue.
2012-03-16 17:43:01 -04:00
Keith Winstein
c896055d15
Correctly render on terminals without BCE ( fixes #56 github issue)
2012-03-16 13:46:55 -04:00
Keith Winstein
57d97209c0
Support 256color (and assume 256color terminal). Closes #3 github issue.
2012-03-16 13:46:55 -04:00
Keith Winstein
4783e7cd82
Eliminate unnecessary snprintf()
2012-03-14 02:14:10 -04:00
Keith Winstein
561a2be761
Optimize out use of sgr() by storing rendition instead (11% speedup)
2012-03-14 01:11:47 -04:00
Anders Kaseorg
843401a935
Display::Display: Fix undefined pointer comparison
...
“If two pointers p and q of the same type point to different that are
not members of the same object or elements of the same array or to
different functions, or if only one of them is null, the results of
p<q, p>q, p<=q, and p>=q are unspecified.”
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2012-03-10 15:58:19 -05:00
Keith Winstein
bc3297aa75
Small cleanup to generated output when predictions active
2012-03-10 06:42:21 -05:00
Keith Winstein
122d9fbccf
Eliminate warning on OS X where argument to tigetstr is not const
2012-03-10 06:02:17 -05:00
Keith Winstein
b8457dd308
Use TERM env var / terminfo to decide whether to send ECH. Fixes tmux bug.
...
Closes #28 github issue.
2012-03-10 05:41:03 -05:00
Keith Winstein
ac16f9127c
Output EL (erase line) when possible
2012-03-10 04:30:04 -05:00
Keith Winstein
df5d163f9c
Fix asserts with side-effects (per Keegan McAllister)
2012-03-08 10:50:19 -05:00
Keith Winstein
812b24b83a
Screen out ill-formed UTF-8 representing surrogate code point
2012-03-07 03:10:19 -05:00
Quentin Smith
e8d14d35a6
Add boost and protobuf in the places where they are needed
...
[seph@directionless.org , andersk@mit.edu: add in even more places]
2012-03-07 03:05:36 -05:00
Quentin Smith
26e9e91adb
Cast MB_CUR_MAX to type size_t
2012-03-07 03:05:36 -05:00
Quentin Smith
96fe2349bb
Remove check for __STDC_ISO_10646__
...
On most systems, even if __STDC_ISO_10646__ is not declared, wchar_t
will be correct in a UTF-8 locale. The client and server both enforce
a locale check on startup.
2012-03-07 03:05:36 -05:00
Anders Kaseorg
aad760e7d6
Make warning CXXFLAGS configurable
...
This turns off -Werror by default except in the Debian package.
-Werror is inherently unportable and breaks things on OS X. While it
can cause problems in Debian too, this is at least a little better.
It also turns off -pedantic in src/protobufs, because apparently
protoc output doesn’t compile with -pedantic on all platforms.
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2012-03-07 03:05:35 -05:00
Anders Kaseorg
689eedc271
Compile without --std=c++0x
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2012-02-17 21:29:51 -05:00
Anders Kaseorg
7d19fbe203
Replace C++0x auto with Boost Typeof library
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2012-02-17 21:29:51 -05:00
Anders Kaseorg
32ff4af359
Fix wchar_t format string types
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2012-02-17 20:22:12 -05:00
Anders Kaseorg
af649a035c
Add missing #includes
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2012-02-17 19:24:51 -05:00
Keith Winstein
3781a290c8
Add copyright/license notices
2012-02-06 20:52:48 -05:00
Keith Winstein
38c9e99882
Separate modules by subdirectory
2012-02-06 18:26:45 -05:00