1465 Commits

Author SHA1 Message Date
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
John Hood ba5f33fd76 Do clock_gettime() weak symbol check only on OS X/iOS 2016-12-29 23:46:00 -05:00
John Hood 78ba5fddb6 macosx/build.sh: build-a-bottle option changed 2016-12-29 16:33:22 -05:00
John Hood c2ff43f83d Finish release changes for 1.3.0-rc1 2016-12-29 15:23:51 -05:00
John Hood b2eac32ebc Try multiple clock sources at runtime. 2016-12-29 15:10:06 -05:00
John Hood fad60f9ca3 .travis.yml: do release builds on mobile-shell/mosh, not cgull/mosh 2016-12-27 23:19:53 -05:00
John Hood bebdb7c54d Travis build: don't upload dist tarball, better name for build report 2016-12-24 00:01:36 -05:00
John Hood ccf82fb95c Revert to Xcode 6.4/OS X 10.10 for Travis build 2016-12-21 21:38:21 -05:00
John Hood b6ebf840b4 Rework Travis OS X build to eliminate subshells and "set -e". 2016-12-21 21:38:21 -05:00
John Hood 9f59c69e40 1.3.0-rc0-- test build process 2016-12-21 21:26:53 -05:00
John Hood 1710c1a107 Make Travis upload distribution tarball too. 2016-12-21 21:26:53 -05:00
John Hood f002e3bb30 Start ssh with -f instead of -n to avoid ssh hangs.
This seems to resolve #833.
2016-12-02 23:12:07 -05:00
John Hood 278fd12ec1 More print-to-pipe error checking in tests. 2016-11-29 22:31:33 -05:00
John Hood 60c5b022f8 Check for assertion failures while testing. 2016-11-29 22:30:25 -05:00
John Hood bb54325dc9 s/geteuid/getuid/ for correct user lookups
Addresses an issue mentioned in #193.
2016-11-23 17:03:45 -05:00
John Hood 8fcfb3a587 Fix Coverity "missing move operator" (copy to rvalue).
Also makes this bit of code more readable, but the overall handling of
Unicode characters in Actions and Transitions is messy, and may get
reworked later.
2016-11-20 01:27:51 -05:00
John Hood 24eb5a7544 Remove a Network::Exception that isn't one.
Code smell pointed out by Coverity.
2016-11-19 21:11:04 -05:00
Anders Kaseorg 4fe706a4d3 src/test/local.test: Set TERM=xterm
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2016-11-19 18:31:29 -05:00
Anders Kaseorg f0f83f5c4e src/tests/inpty.cc: Send the inner stderr to the outer stderr
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2016-11-19 18:31:29 -05:00
Ashish Gupta 3ba5a29758 Clarify that -p does not affect SSH port 2016-11-19 18:16:01 -05:00
chenxiaoqino 0c2088d1da Add a little hint for first-time users
I was recommended to use mosh as "an in-place replacement for ssh" by
my friends, and take a while to figure out the message until I
realized I missed the line "The Mosh package should be installed on
both the client and server."

If this line often corresponds to missing server-side installation,
rather than other mysterious scenario, how about adding a hint?
2016-11-19 17:31:29 -05:00
Anders Kaseorg 94027efc45 Make all commands properly support --help and --version
These should output to stdout and exit with status 0.  Passing
std-options to AM_INIT_AUTOMAKE causes ‘make installcheck’ (hence also
‘make distcheck’) to verify this.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2016-11-19 17:15:48 -05:00
John Hood e8f1004f94 append_move(): improve awkward control flow, naming 2016-11-19 17:14:37 -05:00