- Jun 11, 2015
-
-
John Hood authored
Fixes #624. Signed-off-by:John Hood <cgull@glup.org>
-
John Hood authored
Signed-off-by:John Hood <cgull@glup.org>
-
John Hood authored
Signed-off-by:John Hood <cgull@glup.org>
-
John Hood authored
This commit is somewhat subtle; it informs Coverity that Parser::Transition only holds an Action* temporarily, and should never create/delete one. I believe runtime checkers should also understand this OK. Signed-off-by:John Hood <cgull@glup.org>
-
John Hood authored
Signed-off-by:John Hood <cgull@glup.org>
-
John Hood authored
Signed-off-by:John Hood <cgull@glup.org>
-
- Jun 10, 2015
-
-
Keith Winstein authored
-
John Hood authored
Includes Debian and Fedora packaging. Mac OS X package build is still broken. Signed-off-by:John Hood <cgull@glup.org> Closes #625
-
Keith Winstein authored
-
Keith Winstein authored
-
Keith Winstein authored
Fixes #626 (resize not working) introduced by 543f346a
-
- Jun 08, 2015
-
-
John Hood authored
This fixes the broken i386 build (aka generic code). Untested on __ALTIVEC__ and __ARM_NEON__. Signed-off-by:John Hood <cgull@glup.org>
-
- Jun 07, 2015
-
-
Anders Kaseorg authored
Signed-off-by:Anders Kaseorg <andersk@mit.edu>
-
John Hood authored
terminalfunctions.cc: set_if_available() was undeclared. Fix printf() wint_t/wchar_t warnings. mosh-server.cc: Fix warning for side effects inside typeid(). Signed-off-by:John Hood <cgull@glup.org>
-
- Jun 06, 2015
-
-
Anders Kaseorg authored
Signed-off-by:Anders Kaseorg <andersk@mit.edu>
-
Anders Kaseorg authored
Signed-off-by:Anders Kaseorg <andersk@mit.edu>
-
John Hood authored
Signed-off-by:John Hood <cgull@glup.org>
-
John Hood authored
-
- Jun 05, 2015
-
-
John Hood authored
-
Anders Kaseorg authored
This helps to catch inconsistent declarations in headers that weren’t included, and local functions that are not marked static. Signed-off-by:Anders Kaseorg <andersk@mit.edu>
-
Anders Kaseorg authored
This helps to catch unused functions like the former mosh_read_line, allows the compiler to make better inlining decisions, and reduces the binary size a bit. Signed-off-by:Anders Kaseorg <andersk@mit.edu>
-
Anders Kaseorg authored
This function is buggy. feof(file) does not become true until after we’ve tried to read past the last character; it should instead be checking the getc return value for EOF (which is distinct from any unsigned char). Really it should just be replaced by istream &std::getline(istream &is, string &str). Fortunately, it’s unused so we can just delete it. Resolves a truncated stdio return value issue found by Coverity Scan service. Signed-off-by:Anders Kaseorg <andersk@mit.edu>
-
Anders Kaseorg authored
Signed-off-by:Anders Kaseorg <andersk@mit.edu>
-
Anders Kaseorg authored
Signed-off-by:Anders Kaseorg <andersk@mit.edu>
-
Anders Kaseorg authored
Print a real error message instead of abnormally aborting. Found by Coverity Scan service. Signed-off-by:Anders Kaseorg <andersk@mit.edu>
-
Anders Kaseorg authored
size_t is unsigned. Fixes two issues found by the Coverity Scan service, one about the dead code and one about the std::string exception being uncaught by mosh-server. Signed-off-by:Anders Kaseorg <andersk@mit.edu>
-
Geoffrey Thomas authored
This function has never in its history had a codepath returning false.
-
Geoffrey Thomas authored
Both f and frame.last_frame must have the same number of rows here, but since we're iterating over frame.last_frame's rows, make that more explicit.
-
Geoffrey Thomas authored
-
Geoffrey Thomas authored
Now everything we throw or catch ourselves is a subclass of std::exception.
-
Geoffrey Thomas authored
-
Geoffrey Thomas authored
-
Geoffrey Thomas authored
This refactors out a very common pattern of formatting "%s: %s" with e.function.c_str() and strerror( e.the_errno ) into just the what() method of NetworkException. It's also a prerequisite for making cleaner public API for any exceptions we throw, and allows us to more easily get exceptions passed back to us to handle.
-
- Jun 04, 2015
-
-
Anders Kaseorg authored
I do sympathize with the motivation for these trailing commas, but they cause silly build failures with --enable-compile-warnings=error (which is used at least by the Debian/Ubuntu package). CXX parseraction.o In file included from terminal.h:42:0, from parseraction.cc:37: terminalframebuffer.h:200:39: error: comma at end of enumerator list [-Werror=pedantic] MOUSE_REPORTING_ANY_EVENT = 1003, ^ terminalframebuffer.h:210:34: error: comma at end of enumerator list [-Werror=pedantic] MOUSE_ENCODING_URXVT = 1015, ^ cc1plus: all warnings being treated as errors Makefile:354: recipe for target 'parseraction.o' failed Signed-off-by:Anders Kaseorg <andersk@mit.edu>
-
- Jun 01, 2015
-
-
John Hood authored
-
John Hood authored
-
Louis Kruger authored
-
- May 29, 2015
-
-
Anders Kaseorg authored
Signed-off-by:Anders Kaseorg <andersk@mit.edu>
-
John Hood authored
-
Anders Kaseorg authored
Some systems have IO::Socket::INET6 preinstalled, so we might as well accept either. Signed-off-by:Anders Kaseorg <andersk@mit.edu>
-