Benjamin Barenblat
3acaa1c4d3
clang-format Mosh
...
Run clang-format over the Mosh source tree. This is a large change and
has been factored into its own commit for auditability. Reproduce it
with
find . -name \*.cc -or -name \*.h | while read f; do clang-format -i --style=file $f; done
2023-08-07 22:03:00 -04:00
Alex Chernyakhovsky
cf542739cc
Switch to C++ versions of standard C headers
2023-07-30 19:02:51 -04:00
Alex Chernyakhovsky
19ad493dcb
Remove using-declarations for std:: types
2023-07-30 19:02:51 -04:00
Alex Chernyakhovsky
325098ac07
Switch to fully-qualified #include
...
Previously, mosh used extensive -I flags and all of the mosh-local
makes it really hard to tell what the proper dependency graph is, so
instead remove the -I arguments in favvor of $(top_srcdir) and qualify
the paths wherever they are used.
2023-07-30 17:03:40 -04:00
John Hood
fecd4ee29b
Some more namespace hygiene for "using decl;".
2018-08-15 19:28:38 -04:00
John Hood
b11d524bb7
Restore asserts and error handling
...
A couple of them got improved out of existence.
2017-08-23 15:09:43 -04:00
John Hood
a40b67691a
Remove various assert(constant) calls
...
These cause warnings from static checkers, and seem to lead to spurious
GCC7 -Wmaybe-uninitialized.
2017-08-06 23:12:05 -04:00
John Hood
93daa5ac3b
Fix Debian GCC7 FTBFS: remove default constructors
2017-08-06 23:09:07 -04:00
John Hood
42d2b5d029
Use shared_ptr and references for Actions.
...
This slows terminal emulation slightly.
2017-08-02 22:07:02 -04:00
John Hood
6abd4739de
Const correctness and const-ref in Crypto and elsewhere.
2016-03-30 23:52:19 -04:00
John Hood
e0f6eb78ef
Improve roundtrip verification tests and debug dump.
...
Add another round-trip verification. For both original and generated
state, generate a diff from an initial, empty state. Verify that
these two diffs are the same.
2015-12-06 17:42:34 -05:00
John Hood
026a3f0346
Resolve cppcheck issues.
...
Signed-off-by: John Hood <cgull@glup.org >
2015-06-10 23:50:56 -04:00
Keith Winstein
92ecb99b71
Add OpenSSL licensing exception
2012-07-20 16:46:00 -04:00
Keith Winstein
feb352c809
Optional verifier for round-trippability, and fix wrapping and tab bugs.
2012-04-16 09:09:20 -04:00
Keith Winstein
e5c8c33f4f
Fix timing of echo acks
2012-02-26 02:49:53 -05:00
Keith Winstein
3a92cd1393
Explicit echo ack protobuf with reliable semantics
2012-02-25 14:34:39 -05:00
Anders Kaseorg
6c52c1d306
Purge ‘using namespace std’ from header files
...
std::bind and boost::lambda::bind don’t mix.
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2012-02-17 20:22:12 -05:00
Keith Winstein
3781a290c8
Add copyright/license notices
2012-02-06 20:52:48 -05:00
Keith Winstein
38c9e99882
Separate modules by subdirectory
2012-02-06 18:26:45 -05:00