Commit Graph

81 Commits

Author SHA1 Message Date
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
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
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
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
77e0e73b3f various static analyser bug fixes 2018-09-25 10:41:14 -05:00
John M. Penn
8f5123e480 Included stdexcept in TRK_DataLog.cpp. Ref #657 2018-08-13 19:06:48 -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
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
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
John M. Penn
f87657c747 Break out classes into separate files. #639 2018-06-25 11:44:00 -05:00
Derek Bankieris
f8edd98780 Replace CC w/ CXX in Trk2csv makefile
Fixes #638
2018-06-25 10:44:51 -05:00
Alex Lin
4bf35a9c82 Revert "Merge pull request #533 from nasa/MakefileCleanup"
This reverts commit 269ed77cb4, reversing
changes made to d97f482219.
2018-03-02 08:59:26 -06:00
John M. Penn
c9a121aa27 Fix format codes in CSV_Formatter. Ref #570 2018-03-01 12:10:30 -06:00
Alex Lin
9dd302f4b1 Trick makefile output formatting and cleanup. #533
Removed the red from the clean rules.  We'd like to reserve red for
errors.  Ended up removing all color from the clean side.
2018-03-01 08:51:57 -06:00
Alex Lin
9643311f4c Merge branch 'master' into MakefileCleanup 2018-03-01 08:32:08 -06:00
John M. Penn
d17d48d040 Fixed trkConvert to recognize TRICK_BOOLEAN and LogFormatter interface. Ref #570 2018-02-28 15:34:46 -06:00
Alex Lin
a2d0387d57 trk2csv can open too many files #508
trckConvert missing cstring header. Added object code to .gitignore.
2018-01-24 07:55:14 -06:00
John M. Penn
6039669647 Created a new program call trkConvert that only opens the trk file once. Ref #508 2018-01-19 17:37:29 -06:00
Christopher LaChance
fbd9d3237f Cleaned up 'make' target display further. 2017-12-13 11:04:00 -06:00
Christopher LaChance
5e8cb8649f Added formating to the core makefile. Trick compilation is now visually broken into sections. 2017-12-12 12:01:35 -06:00
Christopher LaChance
6e0fcbd947 Updated formating and replaced formating variables. 2017-12-07 15:10:39 -06:00
Christopher LaChance
1bb3ac2a06 Cleaned up 'make clean' output significantly. 2017-12-06 13:12:13 -06:00
Christopher LaChance
6184aa6cd9
Some unit test warnings addressed. (#515)
* Removed purple warnings from unit test compilation.

* "Fixed const corectness bug. Added more warning fixes."

* Fixed warning issue.

* Removed null checking and (char*) casting.

* Changed sizeof parameter to variable from data structure.
2017-11-29 15:35:16 -06:00
John M. Penn
65800e2dcd If XML_CATALOG_FILES env variable is not set, parse xml files without validation. Ref #514 2017-11-10 13:42:39 -06:00
John M. Penn
a9aff05320 Don't have FXPLOT validate DP and session files against the DTD. Ref #514 2017-11-09 16:31:26 -06:00
Thadeus Fleming
bf2759c5c0 Remove deprecated dynamic exception specifiers.
Resolves #461
2017-07-28 20:49:42 -05:00
Thadeus Fleming
fb1925e0d8 Use std::cerr instead of std::cout for error messages 2016-12-10 11:49:44 -06:00
Derek Bankieris
3600e3880a Infer TRICK_HOME automatically
Refs #358
2016-11-30 14:12:34 -06:00
Derek Bankieris
9fa76d8e78 Use std::strerror to report system call errors
Refs #357
2016-11-30 13:25:52 -06:00
Derek Bankieris
4d7ea87a43 Fix typo
Refs #355
2016-11-30 11:47:56 -06:00
Michael Vetter
18f0d7e871 Remove trailing whitespaces
Makes it easier to edit the files. So if we press 'end of line' we are
really at the end of line.
2016-11-08 10:25:07 +01:00