Commit Graph

1194 Commits

Author SHA1 Message Date
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
Scott Fennell
ffb3749a5a prevent garbage value in default switch case MatLab4 2018-09-27 15:37:34 -05:00
Scott Fennell
2f328f6697 prevent garbage value loaded as value in LogGroup::getValueAtTime 2018-09-27 14:32:35 -05:00
Scott Fennell
8315f95a8c remove dead assignment eqparse 2018-09-27 10:54:49 -05:00
Scott Fennell
6619ecb92f move commented prints in FieldDescription to debug_level 4 2018-09-27 08:10:05 -05:00
Scott Fennell
855510da63 handle edge default case for uninitialized value in eqparse 2018-09-26 15:10:49 -05:00
Scott Fennell
55db7fc708 remove dead assignment in EQParse 2018-09-26 15:07:06 -05:00
Scott Fennell
a9f84d1d9f various static analyser bug fixes 2018-09-26 14:27:03 -05:00
Scott Fennell
53f3b308f5 Merge branch 'master' of https://github.com/nasa/trick 2018-09-25 10:41:35 -05:00
Scott Fennell
77e0e73b3f various static analyser bug fixes 2018-09-25 10:41:14 -05:00
jmpenn
fccf32093b
Explicitly specify void arg for C functions that take no arguments. (#670)
* Clock empty args to void

* command_line func empty args to void

* DataRecord func empty args to void

* debug_pause func empty args to void

* echojobs func empty args to void

* ExternalApplication func empty args to void

* FrameLog func empty args to void

* MasterSlave func empty args to void

* MonteCarlo func empty args to void

* outdllist func proto empty args to void

* sie func empty args to void

* SimTime func empty args to void

* UnitTest func empty args to void

* var_server func empty args to void

* wcs func empty args to void
2018-09-19 11:25:04 -05:00
jmpenn
9a5ecd1294
Replace unreliable 'divide-by-zero' way of generating NaNs with math.h NAN in deuler routines. (#668) 2018-09-17 11:04:53 -05:00
jmpenn
00b4b2c8d9
Fix incorrect initialization of units in trick-qp, and incorrect generation of XML that caused fermi tables to crash. (#666) 2018-09-13 14:00:29 -05:00
jmpenn
fcbd99aaf4
Two Java plot fixes (#665)
* MinY and MaxY of Plot axis should never be the same, even with flatline data.

* In addition to a null check, add a empty units String check.
2018-09-06 14:46:08 -05:00
jmpenn
c112290265
Replace iText Java PDF library with PDFBox. (#664) 2018-09-04 16:59:06 -05:00
Derek Bankieris
3032aae3e4 Trick View: use fixed width for binary format
Closes #661
2018-08-28 08:22:56 -05:00
jmpenn
8c97db25f4
Cleanup the Cannon Readme's and Sim Tweaks of Clarity (#659)
* Delete a bunch of old png's.

* Make g (acceleration of gravity at sea-level) a parameter rather to make doc cleaner.

* Update Cannon READMEs to be more informative.
2018-08-17 17:07:06 -05:00
jmpenn
7b694931ef
Warning fixes (#658)
* Suppress expected, benign warnings from Bison and Flex generated code.

* Trick::MessageThreadedCout::thread_body should return NULL.
2018-08-16 16:02:11 -05:00
John M. Penn
8f5123e480 Included stdexcept in TRK_DataLog.cpp. Ref #657 2018-08-13 19:06:48 -05:00
John M. Penn
3ff8fc6bc0 Fix enums in MonteCarlo_test.cpp. REF #650 2018-08-08 14:36:10 -05:00
jmpenn
6790b27330
Fix heading 2018-07-31 19:05:23 -05:00
jmpenn
d90a979b36
Updates for Example Sims (#655)
* Move integloop initialization from input file to S_defines create_connections routine

* Add README.md to describe the ball sims.
2018-07-31 19:01:47 -05:00
jmpenn
84f67ef79f
Update all enums in MonteCarlo with prefixes, so as to not conflict with other enums. (#650) 2018-07-25 13:05:10 -05:00
jmpenn
6f82d11122
Refactoring in trkConvert (#649)
* refactoring: DocWindow constructor to take datalog rather than filename.

* Neatening DocWindow.cpp
2018-07-19 17:45:47 -05:00
Scott Fennell
951aae4be4
Merge pull request #648 from nasa/java-update
#647 update deprecated code
2018-07-13 15:46:33 -05:00
Scott Fennell
a6274680a5 #647 update depricated code 2018-07-13 15:15:35 -05:00
jmpenn
b0b0cdf21b
Add Search and Documentation for trkConvert (#646)
* Add Export of variable list to file.

* Create DocWindow:formattedSave, and implement saveAsCSV etc in terms of it.

* Minor spacing changes

* Add text text UI parts to DocWindow.

* Add foreward and reverse search by pattern.

* Document and configuration for Mac.
2018-07-13 13:43:03 -05:00
Scott Fennell
8a4c8e3dd9
Merge pull request #645 from nasa/configure-with-swig
add --with-swig=<path to swig binary> option to configure
2018-07-12 16:15:57 -05:00
Scott Fennell
c752dd1b2c one more line 2018-07-12 16:12:39 -05:00
Scott Fennell
5b5dc148bf remove debugging printouts 2018-07-12 16:09:07 -05:00
Scott Fennell
63ab0ffc22 changed help string for --with-swig 2018-07-12 16:05:39 -05:00
Scott Fennell
2a13bf34af add --with-swig=<path to swig> option to configure 2018-07-11 15:11:02 -05:00
Scott Fennell
d42f75c507
Merge pull request #640 from nasa/swig-flags
#618 add TRICK_SWIG_FLAGS, TRICK_SYSTEM_SWIG_FLAGS, TRICK_SWIG_CFLAGS, TRICK_SYSTEM_SWIG_CFLAGS...
2018-07-09 10:45:39 -05:00
Scott Fennell
8044c03176 #618 update trickify.mk flag name 2018-07-09 09:41:34 -05:00
Scott Fennell
a0eaf5b794 #624 Remove invalid delete in empty rec_buffer, checkpoint load no longer crashes. 2018-07-09 09:23:28 -05:00
Derek Bankieris
398907f365 Remove SIM_makefile_overrides from test makefile
Refs #626
2018-07-05 13:41:18 -05:00
Derek Bankieris
442fcadc05 Remove SIM_makefile_overrides
I failed to commit the S_define for this sim and have since cleaned it
away. I'm not remaking it.

Refs #626
2018-07-05 13:03:42 -05:00
Scott Fennell
bf7ce2db3c #618 revert/remove TRICK_SYSTEM_SWIG_FLAGS. Wiki and trickify.mk update still required 2018-06-29 11:06:50 -05:00
jmpenn
402f7c152b
Added GUI to trkConvert. (#641) 2018-06-28 16:16:48 -05:00
anon
34dcffa7f7 add C headers to trk_DataLog.cpp 2018-06-28 10:18:49 -05:00