John Hood
9a606c2f3d
src/statesync/completeterminal.cc: fix bad iterator type
2018-08-03 17:32:07 -04:00
John Hood
8ac80db419
C++03 bound functions are not available in C++17; remove
...
This makes me a little sad, it's time to move to C++11 or greater.
2018-08-03 16:13:47 -04:00
John Hood
b1a6f7c144
Eliminate unnecessary, trailing else conditional blocks.
2017-08-06 22:22:05 -04:00
John Hood
42d2b5d029
Use shared_ptr and references for Actions.
...
This slows terminal emulation slightly.
2017-08-02 22:07:02 -04:00
John Hood
9c55198635
Fix off-by-one error on timeouts for input history echo updates
2016-11-06 06:15:42 -05:00
John Hood
dcd04850f0
Fix memory leak in window resize
2016-05-13 01:22:47 -04:00
John Hood
6abd4739de
Const correctness and const-ref in Crypto and elsewhere.
2016-03-30 23:52:19 -04:00
John Hood
81f21fc7ac
Don't send empty HostBytes strings.
...
This allows more Resize instructions to be elided. It also keeps the
server from sending empty updates when the screen has been written but
not changed.
2015-12-06 17:47:11 -05:00
John Hood
e0f6eb78ef
Improve roundtrip verification tests and debug dump.
...
Add another round-trip verification. For both original and generated
state, generate a diff from an initial, empty state. Verify that
these two diffs are the same.
2015-12-06 17:42:34 -05:00
John Hood
0b51260540
Fix for UTF-8 roundtrip verification bug.
...
The problem was that the round-trip verification code copies the
current state, which may contain intermediate Parser state for
multibyte characters and ANSI escape sequences. It then applies diffs
to that copy, which may appear as badly formed input.
Also removes some dead, never-used code.
2015-12-06 17:42:34 -05:00
John Hood
8fdcdc88cd
Isolated algorithmic improvements.
...
* Fix inefficient STL use around Parser::UTF8Parser.
* Reduce typeid() usage, change some of it to a virtual method
* Do multiple-line scrolls as a single move
2015-12-06 17:42:34 -05:00
Ira Cooper
deecf6bb2f
Add limits.h to allow for illumos to compile.
...
Closes #331
2012-10-05 04:02:11 -04:00
Keith Winstein
92ecb99b71
Add OpenSSL licensing exception
2012-07-20 16:46:00 -04:00
Keith Winstein
feb352c809
Optional verifier for round-trippability, and fix wrapping and tab bugs.
2012-04-16 09:09:20 -04:00
Keegan McAllister
cd2d482484
Don't use *_t for our own typedefs
...
It's reserved by POSIX.
(closes #158 pull request)
2012-04-15 13:50:18 -04:00
Keegan McAllister
8bc9aa33bf
Remove boost::lambda from completeterminal.cc
2012-04-15 13:49:15 -04:00
Keegan McAllister
5320fbd346
Remove BOOST_AUTO from completeterminal.cc
2012-04-15 13:49:15 -04: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
df5d163f9c
Fix asserts with side-effects (per Keegan McAllister)
2012-03-08 10:50:19 -05:00
Keith Winstein
e5c8c33f4f
Fix timing of echo acks
2012-02-26 02:49:53 -05:00
Keith Winstein
3a92cd1393
Explicit echo ack protobuf with reliable semantics
2012-02-25 14:34:39 -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