Commit Graph

1055 Commits

Author SHA1 Message Date
Keith Winstein 4f8f938369 Add versions and no-warranty msg to mosh, mosh-client, mosh-server 2012-03-12 04:49:00 -04:00
Keith Winstein 66730050ee Update version 2012-03-10 16:51:30 -05: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 5ac36b58df Update README.md 2012-03-10 14:10:47 -05:00
Keith Winstein 792724159c Update README.md 2012-03-10 14:06:01 -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 0f8d0eea0d Update version number (to 0.98) and changelogs 2012-03-10 05:47:05 -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 66c6c0669a Print pre-CONNECT output only on failure 2012-03-10 03:55:25 -05:00
Keith Winstein 0fe911ce20 Update man pages to reflect port selection (closes #21 github issue) 2012-03-10 03:48:46 -05:00
Keith Winstein df3eec1397 Allow explicit UDP port option, confine ports to range 60000..61000 2012-03-10 03:34:47 -05:00
Keith Winstein c96e4956b0 Update AUTHORS 2012-03-08 11:36:31 -05:00
Keith Winstein df5d163f9c Fix asserts with side-effects (per Keegan McAllister) 2012-03-08 10:50:19 -05:00
Keegan McAllister 4a29ab9d70 Fix comments, formatting, error message around use of selfpipe 2012-03-07 18:38:18 -08:00
Keith Winstein e9cea2627e Update version numbers (etc.) for new release 2012-03-07 04:22:15 -05:00
Keith Winstein dc1c49975f Underline when empirical delay gets >500ms, even if SRTT hasn't (fixes #35) 2012-03-07 04:09:40 -05:00
Keith Winstein 562ab991c8 Turn off prediction display only when quiescent (fixes #36 github issue) 2012-03-07 03:51:31 -05:00
Keith Winstein 5dc208a97e Terminate compiler warnings options so displays with closing right bracket 2012-03-07 03:30:23 -05:00
Keith Winstein 4e158a22e5 Fix bug affecting clean shutdown on OS X 2012-03-07 03:21:33 -05:00
Keith Winstein 4295111fd9 Add new files to debian/copyright 2012-03-07 03:10:19 -05:00
Keith Winstein 5a9f75bdba Update AUTHORS 2012-03-07 03:10:19 -05:00
Keith Winstein 812b24b83a Screen out ill-formed UTF-8 representing surrogate code point 2012-03-07 03:10:19 -05:00
Keith Winstein 875e17e966 skalibs without HAS_SIGNALFD will not work if we block these signals 2012-03-07 03:10:19 -05:00
Anders Kaseorg b65b1bde53 Add autogen.sh to EXTRA_DIST
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2012-03-07 03:10:19 -05:00
Anders Kaseorg edada5e1ea Don’t use $(builddir)
$(builddir) is always ., except apparently on automake 1.9 which
doesn’t define it.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2012-03-07 03:10:19 -05:00
Quentin Smith 03edc31ccb Lower required autoconf version since 2.65 isn't needed 2012-03-07 03:10:19 -05:00
Anders Kaseorg c56f8229e5 Build with bundled libstddjb selfpipe by default
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2012-03-07 03:10:19 -05:00
Anders Kaseorg 29bb8facc7 Fake up enough headers to let libstddjb selfpipe build
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2012-03-07 03:05:37 -05:00
Quentin Smith 77f3a9073f Import selfpipe code from skalibs 1.2.5
[andersk@mit.edu: Move code to new third/libstddjb directory]
2012-03-07 03:05:37 -05:00
Quentin Smith 9a3ab83783 Use libstddjb's selfpipe instead of signalfd
Use selfpipe in our client, server, and examples.
2012-03-07 03:05:37 -05:00
Anders Kaseorg 6d65fe9f79 Add configure options for external skalibs
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2012-03-07 03:05:37 -05:00
Quentin Smith d5a1afd5e1 Fix ioctl 2012-03-07 03:05:37 -05:00
Anders Kaseorg b275571b8f Remove redundant uses of environ
environ doesn’t work on OS X.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2012-03-07 03:05:36 -05:00
Quentin Smith 19d284bfa4 Handle util.h if it exists instead of pty.h 2012-03-07 03:05:36 -05:00
Quentin Smith a1671bcf3b Handle the absence of IP_MTU_DISCOVER 2012-03-07 03:05:36 -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 582bf347c9 Add alternate timestamp implementations
Add mach_absolute_time and gettimeofday timestamp implementations, and
fix clock_gettime check so that it can actually succeed
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
Quentin Smith 5c1020c51a Add configure test for protoc 2012-03-07 03:05:36 -05:00
Quentin Smith 17d6962af8 Check for proper byteorder functions
[andersk@mit.edu: Add byteorder.h to libmoshcrypto_a_SOURCES]
2012-03-07 03:05:36 -05:00
Quentin Smith b03d53d421 Make libutempter optional 2012-03-07 03:05:36 -05:00
Quentin Smith 1b0686a7ea Stop overriding LIBS so that configure can properly set it 2012-03-07 03:05:35 -05:00
Anders Kaseorg c71f8e2dc2 Use automake’s silent-rules mode if available, for quieter build output
With automake 1.11, this gives us Linux kernel–style silent output
that makes warnings more obvious:

  GEN    userinput.pb.cc
  CXX    userinput.pb.o
  AR     libmoshprotos.a
  CXXLD  mosh-client

(Use ‘make V=1’ for the traditional verbose output.)

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2012-03-07 03:05:35 -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
Keith Winstein 8fa8bac35e Distribute README.md with Debian package instead of copying to README
[andersk@mit.edu: No changes, but I note for the record that dh
 overrides require a debhelper (>= 7.0.50) dependency that should have
 been listed in the control file, and there was nothing to clean up
 README after it was copied.]
2012-03-07 03:05:35 -05:00
Keith Winstein 6a7afb381d Avoid leaving fake-proxy processes running 2012-03-07 02:47:47 -05:00
Keith Winstein 568f7d9b96 Clearer error message on missing MOSH IP (fixed #33 github issue) 2012-03-06 17:43:33 -05:00