Commit Graph

1387 Commits

Author SHA1 Message Date
Keith Winstein cf73e1f879 Update version to 1.3.2 (fixes Debian revision inversion) 2017-07-21 14:53:57 -07:00
John Hood dedb2c5b6f mosh 1.3.1 2017-07-20 17:45:41 -04:00
John Hood e054a86ecc mosh 1.3.1-rc3 2017-07-19 22:31:28 -04:00
John Hood 7c68667bc0 Explicitly set tmux window size in tests.
Recent versions of tmux master gave us an 80x23 window.  tmux has been
fixed to default to 80x24, and also to allow setting window sizes in
control mode.  These flags fortunately do not conflict with older
versions tmux.  So we use them to avoid problems going forward.
2017-05-28 21:19:03 -04:00
John Hood 73fc71376a Add a pause mechanism for debugging tests. 2017-05-28 19:28:04 -04:00
John Hood d15d342df3 Tests: symlink to tmux sockets
This makes it easier to attach a second client to inspect a test.
2017-05-28 19:27:39 -04:00
John Hood 2f89ac0ac7 Make tmux version check work with tmux master. 2017-05-28 13:19:12 -04:00
Giel van Schijndel cb91788d05 When binding on the IPv6 any address bind for IPv4 too
On some Linux systems this is the default. On most other operating
systems accepting IPv4 connections on a IPv6 socket only happens when
explicitly requested. Even on Linux it depends on the sysctl config.

This change makes it independent from the system's defaults whether IPv4
connections will be accepted too through the same socket.
2017-05-22 22:33:45 -04:00
John Hood 9f54cc76d2 Detect broken tmux in tests
This works around Debian kfreebsd build failures.
2017-05-21 12:49:18 -04:00
John Hood b17c5795f7 Update to 1.3.1-rc2. 2017-05-19 19:29:34 -04:00
John Hood a6d580a7c5 Set locale more correctly in tests
This fixes Debian builds which only have LC_ALL=POSIX set.
2017-05-18 23:22:55 -04:00
Keith Winstein 9cd9105cec Update changelog release dates to May 18 for 1.3.1-rc1 2017-05-18 00:52:49 -04:00
John Hood 561ac25d76 Version 1.3.1 rc1. Update changelogs. 2017-05-08 23:39:48 -04:00
John Hood 2fe33ff009 Disable unicode-later-combining.test for tmux 2.4. 2017-05-07 20:51:31 -04:00
John Hood 23ec4e59cb Revert "Disable unicode-later-combining.test for now"
This reverts commit df4dbe0d6c.
2017-05-07 20:28:14 -04:00
John Hood d205a98a87 Test for SCROLL UP and SCROLL DOWN. 2017-05-06 11:23:56 -04:00
John Hood 72199ffc0b Do not move cursor for SCROLL UP and SCROLL DOWN
This fixes #881, corrupted display of man pages with tables in tmux
2.4.
2017-05-06 11:15:43 -04:00
John Hood df4dbe0d6c Disable unicode-later-combining.test for now
tmux 2.4+ has serious bugs with combining characters.
2017-04-26 01:25:59 -04:00
John Hood 2873def506 Work around JuiceSSH rendering bug
JuiceSSH apparently has a bug where ECH for one character (ESC [ 1 X) does
not actually erase the character, in its code that receives and interprets
Mosh state updates.  This was hidden before because Mosh <= 1.2.5 never sent
this sequence, it sent ESC [ X instead as an optimization.

Do the better optimization of sending spaces for short sequences of blanks
instead.
2017-04-24 22:40:31 -04:00
Adrien Destugues aa74af9a34 Fix build on Haiku.
- Look for socket in libnetwork
- Look for forkpty in libbsd
2017-04-24 22:40:31 -04:00
John Hood 32b1e6ee4b Print {,/var}/run/motd.dynamic on Ubuntu. 2017-04-24 22:40:30 -04:00
John Hood 3f0ac51071 Don't print /etc/motd on IllumOS. 2017-04-24 22:40:30 -04:00
John Hood 95f7bf3e6c Let bools be bools. 2017-04-24 22:40:30 -04:00
John Hood 3b1984f9f8 Make tests work with OpenBSD's unversioned tmux
This tests for OpenBSD 6.x or later.  We could likely extend the
test to much older OpenBSD versions, but not without OS installs
and testing.
2017-04-24 22:40:30 -04:00
John Hood 654f269917 Make tests detect UTF-8 locale with a helper executable
This uses the same utility function that mosh-client/mosh-server do.
This resolves portability issues with the 'locale' command.
This fixes OpenBSD 6.0 and probably Haiku builds.
2017-04-24 22:38:47 -04:00
John Hood 0f0301b746 Describe reasons to do mosh-{server,client} packaging. 2017-03-29 23:52:44 -04:00
Alexander Chernyakhovsky 5ee542c26c Restore perl 5.8.8 support
This is as variant of the patch I had in EL5 for a while, but forgot to upstream.
It turns out that the changes we made to support 5.10.1 are actually sufficient
for 5.8.8 if we remove unused imports, so remove them.
2017-03-26 17:16:37 -04:00
Keith Winstein fafcdc27c5 Add debian/changelog entry for 1.3.0 2017-03-25 13:02:26 -07:00
Jérémie Courrèges-Anglas c0bf8053b2 Remove deprecated pledge("ioctl")
Unbreaks mosh on recent (> 2017/03/18) OpenBSD systems.
2017-03-20 09:54:33 -04:00
John Hood c05793cb22 Bump version to 1.3.0 for release.
Signed-off-by: John Hood <cgull@glup.org>
2017-03-17 14:06:51 -04:00
Keith Winstein be023c5afc Bump version to 1.3.0~rc3 2017-03-03 02:22:35 -08:00
John Hood 0fc950bd8a Ensure a UTF-8 locale is available for tests
Fixes Debian sid schroot build.

Also add build deps required for full testing:
tmux,  less (for window-resize.test)
2017-03-01 23:16:26 -05:00
John Hood 2e816205f7 window-resize.test: use a known-present file
/etc/services may not be present in a Debian sid schroot.
Also make $srcdir available to test scripts.
2017-03-01 23:16:26 -05:00
John Hood 1cad191b10 emulation-attributes.test: fix vt100 test failure
The failure only occurs in a Debian Sid schroot environment.
2017-03-01 23:16:26 -05:00
John Hood 936ee83d29 emulation-attributes.test: fix indentation 2017-03-01 23:16:26 -05:00
John Hood 4727f2ca40 Fix Appveyor Cygwin install-no-update issue. 2017-02-23 19:45:15 -05:00
John Hood 0c387adb3d appveyor.yml: fix typo 2017-02-21 21:08:47 -05:00
Keith Winstein 36f29ef7bc debian/changelog: Update for mosh-1.3.0~rc2-1 upload 2017-02-06 23:39:19 -08:00
Keith Winstein da206f621c src/tests/.gitignore: add inpty 2017-02-06 23:32:32 -08:00
Keith Winstein 55e5ab7fca debian/changelog: wrap line (fix lintian warning) 2017-02-06 23:32:01 -08:00
John Hood c1d85f04fc Eliminate dead code to placate GCC 7's -Wformat-truncation. 2017-01-31 23:08:03 -05:00
John Hood a993c83632 Handle GCC 7's new -Wimplicit-fallthrough. 2017-01-31 22:12:27 -05:00
John Hood 86d5b10a2c Note Bash for Windows compatibility 2017-01-20 19:03:53 -05:00
Anders Kaseorg 3439e85f7e debian/changelog: Correct version number and formatting
The format of debian/changelog is very rigid as it is parsed by the
build tools to determine the version number and other information.
The version number must use ~ so that 1.3.0 is considered greater than
1.3.0~rc2 for upgrades, and there must be a Debian release number like
-1 because this is not a Debian-native package.  Finally, the default
urgency is medium these days.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-07 12:26:03 -05:00
John Hood a092b0f7ca Mosh 1.3.0-rc2 release. 2017-01-05 00:14:48 -05:00
John Hood df07c40b84 Update release notes. 2017-01-05 00:14:36 -05:00
Carlos Cabanero 0ceb4f26f4 Memory Alignment issues on ARM processors
Unaligned data on ARM architectures do not perform efficiently unaligned
memory access, and in the case of ARMv7 and iOS it completely breaks. The OCB
algorithm dereferences a uint64x2_t pointer, and is replaced by a
memcpy to avoid penalties when trying to align it.

More info https://brewx.qualcomm.com/bws/content/gi/common/appseng/en/knowledgebase/docs/kb95.html
2017-01-05 00:14:36 -05:00
John Hood 9bb9de8ae5 Update changelogs to reflect reverted commit. 2017-01-04 23:52:07 -05:00
John Hood a777c8580e Revert "Start ssh with -f instead of -n to avoid ssh hangs."
This reverts commit f002e3bb30.

That commit appears to have created a race between ssh restoring
termios state and mosh-client initializing termios.

Probably fixes #844.
2017-01-04 23:00:18 -05:00
John Hood e7bb13a405 .travis.yml: wait longer for Homebrew protobuf build 2016-12-29 23:46:41 -05:00