Commit Graph

804 Commits

Author SHA1 Message Date
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
John M. Penn
bac90aac14 Fix cannon_impact, by updating it to the version in the tutorial. Oops. Ref #439 2017-11-08 14:13:40 -06:00
Derek Bankieris
29bd27e931 Restore (module="sim_services") to Trick %imports
Fixes #510
2017-11-03 10:22:38 -05: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
9b3813dd1f
Merge pull request #498 from nasa/MultiFileFix
Implemented a fix for multiple concurrent file handles.
2017-11-01 08:54:57 -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
Alex Lin
ec9d1547ea Merge pull request #491 from iamthad/sim-object-uniform-init
Improve handling of sim object member initializers
2017-10-20 14:40:52 -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
Thadeus Fleming
b3f03e3fc4 Improve handling of sim object member initializers
Rather than just searching for the first pair of curly braces to find a
sim object's constructor, parse any member initializer list that is
present. Fixes #443.
2017-10-16 15:22:19 -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
1f5be950e4 Unable to configure Trick with Java 9 #486
Changed the java version extractor to look for an optional decimal and
number past the decimal.  Now it can properly find "9" as the version number.
2017-10-10 09:18:51 -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
Christopher LaChance
ea0cfde2db Updated Trick Logo and increased size. 2017-10-05 14:55:31 -05:00
Christopher LaChance
eca570e8ba Renamed trick logo file. 2017-10-05 14:54:39 -05:00
Christopher LaChance
8b31ccf03d Delete trick-0.png 2017-10-05 14:54:24 -05:00
Christopher LaChance
62ee364ff5 Updated trick logo resolution. 2017-10-05 14:52:47 -05:00
Christopher LaChance
0b68fb59d8 Updated relative links to be absolute links. 2017-10-05 13:51:18 -05:00
Christopher LaChance
686a8a53c5 Changed column width. Centered logo. 2017-10-05 09:49:26 -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
Christopher LaChance
25cb478fd6 Updated wiki relative links.
Relative links don't work with the README if the relative link points to a wiki page.
2017-10-03 11:57:55 -05:00
Christopher LaChance
67ba0067ec Updated README.md to reflect wiki changes. 2017-10-03 11:54:05 -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
John M. Penn
9335b9cff8 Fix variable server config in java clients. Ref #474 2017-09-12 12:52:59 -05:00
John M. Penn
0a6e1bbc64 Create a simple Java graphics client for the Ball sims. Ref #472 2017-09-08 16:33:56 -05:00
Alex Lin
86007c70cd convert_swig mishandles struct templates #468
The new regular expression added a pair of parentheses without the "?:"
substring to ignore the match.  I added the "?:"
2017-08-21 14:07:31 -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
Alex Lin
a40381f9e1 Merge pull request #469 from DavidHammen/convert_swig_struct_patch
Fixes #468
2017-08-21 10:14:33 -05:00
Christopher LaChance
bc50836e22 Merge pull request #466 from nasa/MakeCleanFix
Added more test directories to "make clean".
2017-08-14 09:43:31 -05:00
David Hammen
8a42a9adcd Fixes #468 2017-08-09 09:14:35 -05:00
John M. Penn
821907cd73 Updated units specifications in SIM_sun and SIM_wheelbot. 2017-08-04 18:37:16 -05:00
Christopher LaChance
66d0240ed4 Added missing test directory from clean command. 2017-08-04 15:05:52 -05:00
Christopher LaChance
689b75af25 Merge pull request #465 from nasa/SmartmatchFix
Replaced smartmatch operator with string equality operation.
2017-08-02 08:54:51 -05:00