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
Anders Kaseorg
28f9cf7e4a
scripts/mosh: Use fork instead of threads
...
For better support of non-threaded Perl installations.
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2012-03-06 17:37:00 -05:00
Keegan McAllister
b59f0f1482
Make mosh-server exit if there's no connection within 60 seconds
...
Fixes #30 github issue.
2012-03-06 12:17:48 -08:00
Keegan McAllister
69b7c5cf44
Save calculated time since latest remote state
...
This avoids duplicating a long expression in a future commit.
2012-03-06 11:58:30 -08:00
Keegan McAllister
12fcf6800a
Change timeout from -1 to INT_MAX in TransportSender
...
This allows min() to work properly on timeouts.
2012-03-06 11:57:45 -08:00
Keegan McAllister
e35733a2c1
Rename 'attached' to 'has_remote_addr'
...
Even with future support for detaching and reattaching, this variable will keep
its original meaning.
2012-03-06 11:54:56 -08:00
Keith Winstein
d7f7e7c4ae
Add Debian link
2012-03-06 14:26:43 -05:00
Keith Winstein
01793ce5ec
Add mention of Debian and Ubuntu installation instructions
2012-03-06 14:18:55 -05:00
Keegan McAllister
a63dbf7812
Add a README section on getting/building Mosh
2012-03-05 22:01:59 -08:00
Keegan McAllister
1e996a5372
Format references to 'mosh', the Perl script
2012-03-05 22:01:59 -08:00
Keith Winstein
67ad396750
Include README.md in GNU-style mosh-version.tar.gz
2012-03-05 23:05:05 -05:00
Keegan McAllister
295e83313e
Add 'foreign' to AM_INIT_AUTOMAKE
...
This prevents errors about the missing README. It also suppresses creation of
the standard INSTALL document, which is long and fairly useless.
2012-03-05 15:12:41 -08:00
Keegan McAllister
5ab8a8332a
Copy README.md to README in the Debian build
2012-03-05 12:31:37 -08:00
Keegan McAllister
3721e22bf9
Rename README to README.md
...
This will cause GitHub to render the Markdown syntax.
2012-03-05 11:41:24 -08:00
Keegan McAllister
dae8e9127f
Convert README to Markdown syntax
2012-03-05 11:40:50 -08:00
Keith Winstein
e67bcafdf3
Correct copyright on pkg.m4 to be GPL-2+ stedda GPL-2
2012-03-03 19:08:17 -05:00
Keith Winstein
32b1226901
Add copyright is public-domain to public-domain license entries
2012-03-03 14:17:58 -05:00
Keith Winstein
a8dd9d5826
Fix another lintian error in copyright file
2012-03-03 14:12:51 -05:00
Keith Winstein
da824fe039
Fix lintian errors in copyright file
2012-03-03 14:11:09 -05:00
Keith Winstein
dcefb573e2
Update debian files to new standards version and add changelog entry
2012-03-03 14:05:57 -05:00
Keith Winstein
d8074b6f24
Fix debian/copyright file
2012-03-03 14:03:35 -05:00
Keith Winstein
9e13176d96
Fix build problem on i386
2012-02-26 13:51:11 -05:00
Keith Winstein
b2abc0d9b6
Fix bug causing too-aggressive prediction (showing part of passwords)
2012-02-26 05:20:16 -05:00
Keith Winstein
dae8734c9d
Fix failing zlib check in configure.ac
2012-02-26 04:57:03 -05:00
Keith Winstein
7a9f92d7f1
Compress all instructions ( closes #19 github issue)
2012-02-26 04:41:03 -05:00
Keith Winstein
f0886a1dda
Add const to fragmenter
2012-02-26 03:59:00 -05:00
Keith Winstein
e5c8c33f4f
Fix timing of echo acks
2012-02-26 02:49:53 -05:00
Keith Winstein
afacda98e4
Fix propagation of "unknown" last column on emacs and emacs-like delete
2012-02-25 23:08:56 -05:00