Alex Chernyakhovsky
62869ae55f
Rename VERSION to VERSION.stamp
...
-I$(top_srcdir) is not usable on macOS due to a conflicting C++ header
`version`.
2023-07-30 17:03:40 -04:00
Alex Chernyakhovsky
16c4ff84f9
Ignore generated protobufs for coverage
2022-05-30 19:38:10 -04:00
Alex Chernyakhovsky
70a02d1e83
Add support for generating coverage reports
...
This change adds autoconf/automake support for building all of mosh
with gcov, and generates an lcov html report. This allows seeing which
parts ofthe source tree have good test coverage, and which can be
shored up. Eventually, it would be good to hook this up to Github
Actions to be generated automatically.
2022-05-30 19:38:10 -04:00
John Hood
12199114fe
Move generated includes to their own directory to avoid conflicts.
...
Fixes #1051 , mosh fails to build on case-insensitive filesystems.
XXX This isn't perfect because autoconf/automake drop several extra
files in the directory anyway.
2020-05-17 23:55:09 -04:00
John Hood
944fd6c796
Restrict cppcheck to src/ directory to avoid Git worktrees.
2018-08-29 22:44:04 -04:00
Tom Judge
ab31b0f271
Add syslog logging of connections
...
Log connection change events to syslog in the auth log, logging the PID,
username and remote host.
Also log session begin and end.
Co-Authored-By: John Hood <cgull@glup.org >
2017-11-05 11:54:43 -05:00
John Hood
9df71ae5ad
Add support for OCLint static checker.
2017-08-06 22:00:24 -04:00
John Hood
4f068d7261
Improve targets for existing static checkers.
2017-08-06 21:59:57 -04:00
John Hood
307b241f0d
End to end test suite for Mosh sessions.
...
For original messy development history, see
https://github.com/cgull/mosh/tree/localhost
or
https://github.com/cgull/mosh/commit/e7feed48a4a271e2977f714f58acfa04cdaa5cca
2015-10-14 23:27:29 -04:00
John Hood
29112b410a
configure: add --enable-warnings=distcheck
...
This disables -Werror everywhere but "Linux".
The heuristic is rather crude.
2015-10-03 03:46:17 -04:00
Anders Kaseorg
6adcbdcaf2
make distcheck: Enable -Werror and examples
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2015-07-28 18:51:58 -04:00
John Hood
fce56ae6fe
Improve Makefile generation of version files.
...
Remove bad automake dependency causing double execution.
Properly update the version in the non-Git case.
Git commands are now in a condition-expression, won't break build.
Test that we're in repo root (i.e., our own and not somebody else's).
Do `git describe --always` to handle shallow Git clones.
Signed-off-by: John Hood <cgull@glup.org >
2015-07-07 19:09:09 -04:00
Anders Kaseorg
a2a34ef57f
Include test suite in static analysis
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2015-06-11 01:17:37 -04:00
John Hood
39c8b04c97
Makefile.am: fixup version file generation
...
Signed-off-by: John Hood <cgull@glup.org >
2015-06-11 00:39:55 -04:00
John Hood
c58642dd63
Add static checkers to Makefile
...
Signed-off-by: John Hood <cgull@glup.org >
2015-06-10 23:54:50 -04:00
john hood
f3073bbe5d
Add git commit version info
2015-05-25 03:46:48 -04:00
Keith Winstein
507c2cb6b2
Distribute COPYING.iOS file
2012-07-20 17:29:34 -04:00
Keith Winstein
9b75ab0da7
Have Debian package install ufw and bash_completion.
...
Closes #248 .
2012-05-23 07:23:44 -04:00
Keegan McAllister
dd941df19d
Remove unused sigfd and skalibs
...
Closes #265 .
2012-05-16 00:00:27 -04:00
Anders Kaseorg
76f5b593d9
Remove --install from ACLOCAL_AMFLAGS (for automake < 1.10)
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2012-04-21 02:19:37 -04: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
c56f8229e5
Build with bundled libstddjb selfpipe by default
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2012-03-07 03:10:19 -05:00
Keith Winstein
67ad396750
Include README.md in GNU-style mosh-version.tar.gz
2012-03-05 23:05:05 -05:00
Keith Winstein
ea3c0ca53b
Add man pages ( closes #7 github issue)
2012-02-18 01:57:07 -05:00
Anders Kaseorg
1bb546c0e7
Use an aclocal macro directory m4/, and add pkg.m4
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2012-02-17 21:29:51 -05:00
Keith Winstein
7e56af8fcd
Rename grant.htm
2012-02-06 16:52:17 -05:00
Keith Winstein
2611a42fb1
Move protobufs inside src and distribute /debian
2012-02-06 16:41:58 -05:00
Keith Winstein
71bdea29f9
Include patent license in generated tar.gz
2012-02-05 03:49:14 -05:00
Keith Winstein
71d02b2298
Makefile tweaks to pass "make distclean"
2012-02-05 03:32:58 -05:00
Keith Winstein
da2f481eea
Convert build system to automake per Anders Kaseorg Makefile.am
2012-02-05 02:21:37 -05:00