Alexander Chernyakhovsky
0099f080ad
Fix FTBFS on ARM on GCC 4.7.0
...
GCC v4.7.0, as found in Fedora 17 and newer, fails to build mosh on
ARM because of a narrowing warning, which is then promoted to an error
by -Werror. This error message is new, and did not occur under
previous versions of GCC.
This patch corrects this error by explicitly casting to the desired
datatype the return value of the offending code, the result of a macro
from glibc to implement htobe16().
2012-06-20 01:24:08 -04:00
Keith Winstein
eef8585f50
DiffServ code point setting will not be in 1.2 maintainance release
2012-06-12 15:13:56 -04:00
Keith Winstein
cd285ba28f
Bump version to 1.2.2.
2012-06-12 14:56:05 -04:00
Keith Winstein
dd8329db06
Add DM-Upload-Allowed to debian/control
2012-06-12 14:50:22 -04:00
Keith Winstein
88bed3e94a
Remove warning for IP_TOS failure
2012-06-12 14:39:36 -04:00
Keith Winstein
2df9e07926
Add "experimental" mode to local echo (always predict even when incorrect)
2012-06-11 13:21:44 -04:00
Keith Winstein
37f78d0e4c
Disable out-of-order warning (fires too much on some 802.11n networks)
...
This reverts commit 682bbdfebd .
2012-05-30 02:04:32 -04:00
Keith Winstein
ade0aaa3e8
Make IP_TOS failure non-fatal per Keegan.
2012-05-25 21:00:51 -04:00
Dave Taht
72e6c85e3d
Set diffserv values to AF42 + ECT
...
AF42 has both the properties of CS42 and the IMM bit.
Whether this has the advantages or disadvantages of just one or
the other, I don't know. With most mac80211 stacks this will
force mosh packets in the VI queue on wireless.
As for pfifo_fast, have to look it up...
2012-05-25 20:40:49 -04:00
Keith Winstein
778b5afc50
Bump version to 1.2.1.
2012-05-25 18:07:19 -04:00
Keith Winstein
78a5eaf8e3
Clearer error message on invalid port ( closes #278 )
2012-05-24 17:16:03 -04:00
Keith Winstein
682bbdfebd
Warn on out-of-order or duplicated packets (or missing nonce increment!)
2012-05-23 18:08:31 -04:00
Keith Winstein
0b5a643964
Bump version to 1.2.0.97 (1.2.1 release candidate)
2012-05-23 12:19:09 -04:00
Keith Winstein
b9ed0cdaa6
Cleanups to "firewalled" quit scenario.
2012-05-23 12:05:59 -04:00
Keith Winstein
c0a8cd61ee
More graceful quit sequence when UDP is firewalled.
2012-05-23 11:48:10 -04:00
Keith Winstein
8026c924dc
Quit with cursor visible.
2012-05-23 11:44:49 -04:00
Keith Winstein
9b75ab0da7
Have Debian package install ufw and bash_completion.
...
Closes #248 .
2012-05-23 07:23:44 -04:00
Keith Winstein
6594ae35e9
Make bash_completion installation default to off.
2012-05-23 06:38:30 -04:00
Keith Winstein
a7818c612c
Install bash_completion rule and (optionally) UFW firewall profile
2012-05-23 06:08:45 -04:00
Larry Doolittle
eda48085ba
Simple spelling fixes
2012-05-23 05:11:05 -04:00
Keith Winstein
fa5b48c1a9
Bump version to 1.2.0.95 (1.2.1 release candidate)
2012-05-23 03:37:25 -04:00
Keith Winstein
5e86700a0a
Fix OS X 10.5 problem where FD_ISSET() argument isn't const
2012-05-23 03:19:36 -04:00
Keith Winstein
7700984bbb
Revert "Use protobuf's Gzip streams"
...
This reverts commit b0e05776f1 .
2012-05-23 01:55:57 -04:00
Keith Winstein
eca34ea0fd
Make mandatory check for bad throwaway from sender
2012-05-22 23:12:48 -04:00
Keith Winstein
e5f8ed7579
Cap state queue used by receiver, even if sender is malicious
2012-05-22 23:01:39 -04:00
Keith Winstein
1cf12f9e9b
Prevent integer overflow of very large escape sequence params. Fixes #274 .
2012-05-16 12:16:50 -04:00
Anders Kaseorg
b0e05776f1
Use protobuf's Gzip streams
...
This reverts commit 63459ed1c7 .
2012-05-16 00:24:21 -04:00
Keith Winstein
a4dd2fed89
Use static local variable for consistency with compressor, dispatch table
2012-05-16 00:17:37 -04:00
Keegan McAllister
dd941df19d
Remove unused sigfd and skalibs
...
Closes #265 .
2012-05-16 00:00:27 -04:00
Keegan McAllister
f7be5c8cec
Use Select signal handling in examples
2012-05-16 00:00:27 -04:00
Keegan McAllister
4f23326a92
Use Select signal handling in mosh-{client,server}
2012-05-16 00:00:27 -04:00
Keegan McAllister
1d0b16881c
Switch to pselect(2) and add signal handling to Select class
2012-05-16 00:00:27 -04:00
Keegan McAllister
6edc04ed1c
mosh-server: Ignore signals rather than blocking them
...
For pselect() we want to mess with the signal mask, and this is closer to our
intent anyway.
2012-05-16 00:00:27 -04:00
Keegan McAllister
7fc1aa30a5
Move dummy_fd_set into Select
...
Now that we have select.cc.
2012-05-16 00:00:27 -04:00
Keegan McAllister
768d4ce797
Make Select a singleton
...
It's going to manipulate process-global signal state, so multiple
instances do not make sense.
2012-05-16 00:00:27 -04:00
Keegan McAllister
bb651581a7
Remove unused poll(2) emulation
...
Closes #235 .
2012-05-16 00:00:27 -04:00
Keegan McAllister
043f9af260
Use Select in examples
2012-05-16 00:00:27 -04:00
Keegan McAllister
2112a3865c
Use Select in mosh-{client,server}
2012-05-16 00:00:27 -04:00
Keegan McAllister
0019b9d92a
Add a convenience wrapper for select(2)
2012-05-16 00:00:27 -04:00
Keegan McAllister
5bf681629d
mosh-server: Treat errors on pty read like EOF
...
Fixes #264 .
2012-05-16 00:00:27 -04:00
Keith Winstein
9791768705
Cap escape sequence parameters to prevent long loops.
...
Fixes #271 github issue.
2012-05-15 23:46:09 -04:00
Keegan McAllister
dee09fb8fc
Update notification less often when disconnected for at least 60 s
...
Saves battery power. Closes #243 .
2012-05-09 14:19:46 -04:00
Keegan McAllister
24d2b6e185
Calculate wait_time separately for {Notification,Prediction}Engine
...
Simplifies access to private data, including the next commit.
git renders this diff poorly. It's a bit better with --patience.
2012-05-09 14:19:46 -04:00
Keegan McAllister
02c04fbdaa
Display sendto() exception until a successful send
2012-05-09 14:19:46 -04:00
Keegan McAllister
c258e0bc4e
Make timing parameters public within namespace Network
...
So that UI timeouts can adjust accordingly.
2012-05-09 14:19:46 -04:00
Keegan McAllister
67a85eaf99
Deliver sendto() exceptions without disturbing control flow
...
This prevents the client from waking up every 200 ms while the network is down.
Addresses #243 .
2012-05-09 14:19:46 -04:00
Keegan McAllister
9dddcd8566
Move NetworkException formatting into NotificationEngine
2012-05-09 14:19:46 -04:00
Anders Kaseorg
1b86532a99
Only use AM_PROG_AR if it’s defined
...
Fixes
aclocal:configure.ac:22: warning: macro `AM_PROG_AR' not found in library
and
./configure: line 4024: AM_PROG_AR: command not found
with old automake.
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2012-05-09 14:08:30 -04:00
Keith Winstein
22375a2d54
Tabulation clear preserves wrap state (per davidben)
2012-05-06 20:01:39 -04:00
Keith Winstein
0901cd8431
Don't flag blank->blank predictions.
2012-05-05 11:21:01 -04:00