Commit Graph

1033 Commits

Author SHA1 Message Date
Thadeus Fleming
60c4120f98 Disable setting TCP_NODELAY on UDP sockets
The TCP_NODELAY socket option disables Nagle's algorithm on TCP sockets,
improving latency at the cost of throughput. This option is
TCP-specific, and it is an error to use it on any other kind of socket,
including UDP. It is also unnecessary, since UDP is datagram-based and
does not buffer data to be transmitted.
2019-01-28 10:44:17 -06:00
Scott Fennell
2a059719ba
Merge pull request #683 from nasa/trick-cp-help
#677 Add trick-cp --help message
2018-10-25 15:53:38 -05:00
Scott Fennell
d6da626a1a
Merge pull request #686 from nasa/unicode_utils
Create a suite of unicode utilities.
2018-10-25 15:53:05 -05:00
Scott Fennell
437ee149b5 release 17.4.0 2018-10-25 15:45:40 -05:00
John M. Penn
a29045005c Create a suite of unicode utilities. 2018-10-25 15:14:52 -05:00
Scott Fennell
818e60f7a2 remove shadow variable 2018-10-23 14:03:40 -05:00
Scott Fennell
e86027f825 revert scan-build changes, need further testing before merge 2018-10-22 15:11:29 -05:00
Scott Fennell
86ef489617 -std=c++11 to data_products 2018-10-22 13:58:08 -05:00
Scott Fennell
389e2837fc add -std=c++11 to MonteCarlo 2018-10-22 11:40:55 -05:00
Scott Fennell
e17509b6d1 add trick-CP --help message #677 2018-10-22 09:20:55 -05:00
Scott Fennell
587ce0aab5 #673 add break and remove trailing whitespace from @pappyvw review 2018-10-20 14:33:14 -05:00
Scott Fennell
bc35e64406
Merge pull request #673 from nasa/#scan-build
#671 fix all non memory manager scan-build bugs.
2018-10-20 13:16:35 -05:00
Alex Lin
edddc79e25
Merge pull request #676 from pappyvw/warnings
Remove all unused variables and use correct format specifiers
2018-10-19 07:47:42 -05:00
Derek Bankieris
f6872aa12c Add missing dependency to Trickification makefile
Fixes #679
2018-10-18 11:37:59 -05:00
Derek Bankieris
d38c30ad02 SWIG all of S_library_swig during Trickification
Fixes #681
2018-10-18 10:45:13 -05:00
Pappy Van Winkle
121fa84081 Use correct format specifiers.
Used http://www.cplusplus.com/reference/cstdio/printf/ as a reference.
2018-10-11 22:52:04 -05:00
Pappy Van Winkle
af2575da5b Remove all unused variables (style warning). 2018-10-11 22:05:50 -05:00
Scott Fennell
6ef62f6502
Merge pull request #675 from nasa/typeid-exception
#674 handle bad typeid
2018-10-04 14:28:03 -05:00
Scott Fennell
c133eecc27 handle bad typeid 2018-10-04 13:58:28 -05:00
Scott Fennell
5b63559312 fix error message syntax errors 2018-10-03 15:31:22 -05:00
Scott Fennell
53886fb54d add else block for code clarity and to aid static analysis JITInputFile.cpp 2018-10-03 10:49:11 -05:00
Scott Fennell
8f20710761 replace garbage value on enum error PythonPrint.cpp 2018-10-03 10:45:15 -05:00
Scott Fennell
b65b092e3b handle garbage values/invalid input MatLab4.cpp 2018-10-03 10:35:10 -05:00
Scott Fennell
072e1855dd handle memory leak on early exit parseLogHeader.cpp 2018-10-03 10:34:45 -05:00
Scott Fennell
d1957c650b handle garbage values/invalid input ClassicCheckPointAgent 2018-10-03 10:34:11 -05:00
Scott Fennell
ba0c310e64 remove potential memory leak 2018-10-02 10:58:53 -05:00
Scott Fennell
1c387551f6 replace delete with delete[] MatLab4.cpp 2018-10-02 10:51:44 -05:00
Scott Fennell
b10b56e671 initialize variable removing condition on garbage variable MatLab.cpp 2018-10-02 10:40:14 -05:00
Scott Fennell
d16064aaf0 move strlen statement 2018-10-02 10:38:59 -05:00
Scott Fennell
3c7a93c3ca remove memory leaks parseLogHeader.cpp 2018-10-02 10:38:09 -05:00
Scott Fennell
33b74c07c9 remove memory leaks var.cpp 2018-10-01 16:49:55 -05:00
Scott Fennell
e4dcd42b2b fix unreachable code MonteVarFile.cpp 2018-10-01 16:22:27 -05:00
Scott Fennell
28863c58a6 remove memory leaks and garbage return values TrickBinary.cpp 2018-10-01 15:55:04 -05:00
Scott Fennell
a60cc3f2ae remove dead assignment and memory leaks var.cpp 2018-10-01 14:28:26 -05:00
Scott Fennell
605f5d0f6d remove dead assignment DataRecordGroup.cpp 2018-10-01 14:16:19 -05:00
Scott Fennell
0b2218e449 remove dead assignment IPPython.cpp 2018-10-01 13:55:02 -05:00
Scott Fennell
424043b146 remove 'delete this' double delete in JSONVariableServerThread destructor 2018-10-01 13:33:51 -05:00
Scott Fennell
2cdd4bf380 free memory leaks MonteVarFile.cpp 2018-10-01 13:24:37 -05:00
Scott Fennell
7b3b47aa39 init value and style change VariableServerListenThread.cpp 2018-10-01 10:26:17 -05:00
Scott Fennell
2c43321076 remove dead assignments VariableServerThread_loop 2018-10-01 10:13:39 -05:00
Scott Fennell
d701040d22 handle invalid swap magic and delete dangling pointers MatLab.cpp 2018-09-28 11:17:42 -05:00
Scott Fennell
ac6fd26a6d initialize size for Matlab::Matlab to remove garbage value edge case 2018-09-28 10:53:17 -05:00
Scott Fennell
221ced44a0 remove dead assignment, divide by zero, memory leak in log.cpp 2018-09-28 10:38:40 -05:00
Scott Fennell
60e39e2838 remove another dead assignment Delta.cpp 2018-09-28 10:13:22 -05:00
Scott Fennell
7dfcf15a43 remove dead assignment Delta.cpp 2018-09-28 10:12:42 -05:00
Scott Fennell
406f3bb207 remove unnecessary strdup causing memory leak 2018-09-28 10:07:20 -05:00
Scott Fennell
b7d24b60d6 eqparse_funcsub.c remove dead assignment 2018-09-28 09:53:14 -05:00
Scott Fennell
dac6893062 eqparse_funcsub.c remove dead strlen 2018-09-28 09:52:09 -05:00
Scott Fennell
5322bea815 correct all MatLab.cpp 'delete' to 'delete []' 2018-09-27 16:01:40 -05:00
Scott Fennell
6ee1a97c23 change delete to delete [] in MatLab.cpp 2018-09-27 15:45:15 -05:00