Pappy Van Winkle
d7e8d48a8a
Creating additional C-interface routines for UnitTest. #511
2018-02-03 19:56:08 -06:00
Alex Lin
940a275192
Some of Trick's unit conversions have too many significant digits #557
...
Changed the conversion factors for lb, slug, and oz (force) to match
the accepted values.
2018-02-02 14:10:39 -06:00
Alex Lin
cc7e3ea128
Merge pull request #543 from pappyvw/master
...
Double clicking array variable in Trick QP adds it correctly once again.
2018-02-01 16:29:37 -06:00
Alex Lin
8f76605f3b
Create Message client that writes to screen on a separate thread #553
...
Created a new message class that will copy incoming messages to a
buffer area. The buffer area is pre allocated during simulation
initialization. On a separate thread the buffer area is written
to std::cout.
2018-01-25 15:59:19 -06:00
Alex Lin
54b57bc351
Pointers to STLs cannot be checkpointed. #552
...
Added code to disable printing of STLs if it is arrayed or has pointer
dimensions.
2018-01-25 09:40:23 -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
Alex Lin
c4b872c26e
Don't start or wait for disabled threads in the executive #549
...
Added check to see if thread is enabled when starting it and waiting
for it to finish. If it is disabled, skip it.
2018-01-23 09:37:02 -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
Alex Lin
12c7dbd4cf
Trick's new variable server address is hard to debug if you don't know it changed #546
...
Created a second multicast socket to broadcast the sims variable server information
on the old address.
2018-01-19 16:49:08 -06:00
Alex Lin
d4ffa4002b
Add NULL pointer check to remove_event. #545
...
Added the NULL pointer check and return immediately if the pointer is NULL.
2018-01-18 13:23:38 -06:00
Pappy Van Winkle
bb2c6fbb91
Double clicking array variable in Trick QP adds it correctly once again.
...
Fixes #539
2018-01-14 20:32:46 -06:00
John M. Penn
020dd0c1c9
Correct the sizeof() arg to memset call in test fixture. Ref #541 .
2018-01-10 14:27:46 -06:00
Aaron Brogley
f16360ab5f
Fixing typos in trick_utils/math
...
s/determinate/determinant
s/haft/half
s/LELF/LEFT
2018-01-06 11:45:20 -06:00
Alex Lin
c694700148
Add environment variable to ignore types from ICG processing #535
...
Added a new environment variable TRICK_ICG_IGNORE_TYPES. Class/struct/enum
types found in this semicolon delimited list will not have attributes written
out.
2017-12-19 10:02:41 -06:00
Alex Lin
9509924b64
Don't create attributes for class members that are of private embedded class types #534
...
Test the class field type. If the type is a private embedded class mark the field
as io=0 so we don't create attributes for the field.
2017-12-19 08:26:52 -06:00
Nick Kapliev
c8619dbea7
Fixed MonteCarlo EOF problem. #459 ( #531 )
...
* Added tests for MonteCarlo varfile eof line problem
* Remove redundant variables in MonteCarlo varfile test
* Fixed MonteCarlo varfile eof line problem. #459
2017-12-13 12:01:31 -06:00
Alex Lin
5285f1a72e
Symbolic links rise again #530
...
Found more places where symbolic links cause havoc. Also added back a #define
that was removed in parameter_types.h and added back the messaging routines to
the list swig processes.
2017-12-12 10:17:24 -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
Christopher LaChance
0e772525c7
Fixed the MC 'file failed to open' error.
2017-11-22 12:51:34 -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
Alex Lin
7af2b790a2
Merge pull request #500 from nasa/MonteCarloUnitTest
...
Modified unit tests to account for new logic.
2017-11-02 14:17:51 -05:00
Thadeus Fleming
143d0f2c41
Make object .d files order-only prerequisites
...
This will ensure objects are rebuilt only due to a missing dependency
file, not a newer one.
Fixes #501 .
2017-11-02 12:34:48 -05:00
Christopher LaChance
21e3804638
Removed outdated MonteVarFile exception unit test.
2017-11-02 11:40:28 -05:00
Christopher LaChance
5ea826c67b
Modified unit test to account for new logic.
2017-11-01 09:00:59 -05:00
Christopher LaChance
a68ea46f14
Fixed issue with open file being reopened.
2017-10-31 13:56:04 -05:00
Christopher LaChance
cf75a15be8
Removed redundant checks and this-> keywords.
2017-10-31 13:17:14 -05:00
Christopher LaChance
0dbdc2d7b9
Changed streampos comparison from NULL to 0.
2017-10-31 10:02:10 -05:00
Christopher LaChance
0a90c11541
Implemented a fix for multiple concurrent file handles.
2017-10-27 14:35:54 -05:00
John M. Penn
eba6118c92
Remove Line# from data products java table generation. Ref #497
2017-10-26 13:23:00 -05:00
John M. Penn
41558d7188
Format table column data per the format property. Ref #496
2017-10-25 18:17:02 -05:00
Alex Lin
6271283c31
Revert Trick::Clock::clock_spin shouldn't call RELEASE() #489
...
Added a stub exec_get_rt_nap function in the test directory that
always returns false. That is the cleanest way to satisfy the
call for the unit tests.
2017-10-20 15:03:31 -05:00
Christopher LaChance
c8f916e818
Merge pull request #488 from nasa/NonNumericValues
...
Non-numerical values can now be used in Monte Carlo data files.
2017-10-17 08:40:29 -05:00
Christopher LaChance
db4e0dd024
Returned brace style to K&R at John's behest.
2017-10-16 14:03:48 -05:00
Christopher LaChance
f81d7b0c16
Swapped line read in to std::getline().
2017-10-16 12:56:45 -05:00
Alex Lin
56ddfab6a5
Revert Trick::Clock::clock_spin shouldn't call RELEASE() #489
...
Reverting change, adding back RELEASE call in clock_spin loop.
2017-10-16 10:39:31 -05:00
Christopher LaChance
ebe4174b5c
Converted data file traversal from strtold to strtok.
2017-10-12 10:00:54 -05:00
Christopher LaChance
24894ea08a
Merge pull request #487 from nasa/VariableInformation
...
Added additional variable information to the Monte_Runs data file.
2017-10-11 09:48:42 -05:00
Christopher LaChance
1efedefdf7
Added additional variable information to the Monte_Runs data file.
2017-10-10 11:12:33 -05:00
Alex Lin
8aa8f31e3d
Frame logging for child threads not working. #484
...
Prepended "trick_" to the frame scheduled time variable name.
2017-10-06 10:22:38 -05:00
Derek Bankieris
87e59a9d17
Add reverse byte order formats to Trick View
...
Format added for shorts, ints, and longs.
Closes #482
2017-10-03 12:02:21 -05:00
Alex Lin
de012dde71
Feature request: Support checkpointing and logging of std::array #480
...
Added std::array as an STL type Trick recognizes. We can now create io code
that can save and restore std::arrays like std::vectors and other similar
types. Like other STL types, an std::array cannot be logged or viewed in
trick-tv.
2017-09-27 16:01:52 -05:00
John M. Penn
a1ee0e93da
Merge branch 'master' of https://github.com/nasa/trick
2017-09-13 14:47:03 -05:00
John M. Penn
db2f00cc4e
Changed 'git' to 'trick-gte'. Ref #475
2017-09-13 14:46:28 -05:00
Alex Lin
c6ecd76be5
ICG does not compile with llvm 5.0 #476
...
Added a preprocessor check for llvm version >= 5. If true use
clang::InputKind::CXX instead of clang::IK_CXX
2017-09-13 14:07:23 -05:00
Alex Lin
70a81acc6c
ICG handling of \brief in comments differs on Linux and Mac #453
...
Adjusted regular expression so it will work on the mac. Changed "\w" to
"[a-zA-Z0-9]".
2017-08-21 14:03:49 -05:00
Alex Lin
9207bd0ab1
io_src makefile applying TRICK_SYSTEM_CXXFLAGS to all compilation units. #470
...
Changed TRICK_SYSTEM_CXXFLAGS in Makefile_io_src to TRICK_IO_CXXFLAGS.
2017-08-21 13:28:28 -05:00
Thadeus Fleming
bf2759c5c0
Remove deprecated dynamic exception specifiers.
...
Resolves #461
2017-07-28 20:49:42 -05:00
John M. Penn
841473583c
Updated var server multicast address to 239.3.14.15. Ref #452
2017-07-05 16:40:22 -05:00
John M. Penn
d0b9cda9f2
Fixed variable server debug messages. Ref #447
2017-06-26 17:50:54 -05:00