Derek Bankieris
fe79aa81a5
Improve printable field detection
...
Renamed determinePrintAttr to isPrintable.
Different callers need to filter on different IO specs, so I added an
ioMask parameter.
Additional refactoring.
Refs #427
2017-05-17 09:37:22 -05:00
Derek Bankieris
353905c1ed
Generate STL functions only when requested
...
Remove STL prototypes. They don't appear to be necessary anymore.
Refs #427
2017-05-16 15:31:08 -05:00
Derek Bankieris
d417b1bdf1
Ignore unsupported extension in make_makefile_swig
...
Refs #426
2017-05-16 15:31:07 -05:00
John M. Penn
9e8dd6c41c
Change file name from char* to const char* in euler tranformation matrix functions. Ref #423
2017-05-15 14:02:01 -05:00
Alex Lin
706e7ff942
Merge branch 'master' of https://github.com/nasa/trick
2017-05-15 13:40:25 -05:00
Alex Lin
a11e51cce7
Sim build doesn't stop on error #421
...
When I added the "tee" commands to split off command outputs to
a file and the screen, I forgot that the exit status of the make commands
takes the exit status of "tee" which does not ususally have an error and
masks any error in the actual compilation. I added an exit ${PIPESTATUS[0]}
which returns the exit status of the compilation.
2017-05-15 13:36:06 -05:00
John M. Penn
f9c0b16451
More heading fixes in various README.md files
2017-05-11 17:44:43 -05:00
John M. Penn
135d49c4eb
Fix heading in SIM_parachute README.md
2017-05-11 17:27:35 -05:00
John M. Penn
02a2536a9f
Fix minor typo in SIM_wheelbot README.md
2017-05-11 17:24:45 -05:00
John M. Penn
a74282bd64
Update trick_sims gitignore to ignore the build dir, and remove gitignore file in SIM_sat2d. Ref #419
2017-05-11 16:48:01 -05:00
John M. Penn
9f7ab75a6b
Fixed gitignore rules, added SatDisplay.java, and uncapitalized SIM_sun graphics directory. Ref #419
2017-05-11 16:18:42 -05:00
John M. Penn
4d1c3eae4f
A Trick headers to include files without headers. Ref #403
2017-04-20 13:26:47 -05:00
Alex Lin
dce161ad94
Suppress units conversion messages in input file. #414
...
Added a routine to shoot_the_units_conversion_messenger.
2017-04-20 11:34:50 -05:00
Alex Lin
b2ebe157ed
Lost the MAKE_out file when we updated simulation makefiles #412
...
Added echos to all compile commands to append to MAKE_out. tee'd
the output of the compile command so that it will go to both the MAKE_out
file and the screen.
2017-04-18 10:26:58 -05:00
Alex Lin
98c7029b18
Unit test for SIM_test_dr failing. #411
...
This tst was only run if the HOST_CPU of the run matched one
of the pre-existing files. So it was only tested on SL6. Found
that the udunits change never made it to these log files. I
updated the units and introduced only one copy of the files that
all platforms will test against.
2017-04-18 08:01:50 -05:00
Derek Bankieris
3affc2080e
convert_swig: don't skip EXT_LIB paths for %import
...
When converting #include to %import statements, we should only skip
paths on TRICK_EXCLUDE and TRICK_SWIG_EXCLUDE, not TRICK_EXT_LIB_DIRS.
Refs #392
2017-04-04 09:25:35 -05:00
Derek Bankieris
a749118ce7
Remove -I$(<D) from Makefile_src rules
...
Refs #408
2017-03-31 09:24:39 -05:00
John M. Penn
9a5bbb160a
Get rid of yyset_lineno in the parsers. Ref #404
2017-03-30 19:53:33 -05:00
John M. Penn
56ce1c75cc
Fix yyset_out, yyset_lineno calls and remove yyset_in calls in parsers. Ref #404
2017-03-30 16:14:28 -05:00
Alex Lin
f757090e5b
Merge pull request #406 from Anteige/patch-1
...
Align both M_PI and M_PI_2 values.
2017-03-30 09:08:58 -05:00
Antoine Gaulin
c099620c09
Align both M_PI and M_PI_2 values.
...
Its easier to read this way.
2017-03-30 10:02:58 -04:00
Derek Bankieris
7094a4b71c
Correct SIM_test_dr makefile dependencies
...
Refs #402
2017-03-29 09:05:55 -05:00
Derek Bankieris
b6552c9a8f
Infer TRICK_HOME automatically
...
Refs #358
2017-03-29 09:02:17 -05:00
John M. Penn
a7039aea61
Create va_list versions of Integrator state load and unload member functions. Ref #401
2017-03-28 17:55:27 -05:00
Derek Bankieris
03f79dbbe0
Fix Pylint issues
...
I have discovered Pylint! May our Python forevermore be compliant.
Refs #365
2017-03-28 16:16:34 -05:00
Derek Bankieris
2db341cff8
Revert (almost all of) 2e4c3286
...
Sadly, we cannot yet require SWIG 2.0.
Refs #400
2017-03-28 15:59:08 -05:00
Derek Bankieris
b53c52ac33
Separate ICG & SWIG exclusion constructs
...
Refs #392
2017-03-27 15:19:43 -05:00
Derek Bankieris
2335f6bb69
Correct Monte Carlo compiler error on CentOS 7
...
Also change the Cannon sim monte_post jobs to use mc_read/write instead
of tc_read/write
Refs #396
2017-03-24 08:11:32 -05:00
Derek Bankieris
80ab0767e2
Combine command and data sockets in Monte Carlo
...
Refs #396
2017-03-23 12:22:40 -05:00
Derek Bankieris
17a5028e43
Infer TRICK_HOME automatically
...
Refs #358
2017-03-21 10:24:02 -05:00
Derek Bankieris
ef6f426d5c
Generate Doxygen files for Trick headers
...
Since the headers moved to include/trick, the Doxyfile's INPUT needs to
be updated.
2017-03-20 10:57:34 -05:00
Derek Bankieris
47847a8aef
Add ability to pass options to slave sims
...
Refs #395
2017-03-20 10:46:10 -05:00
Derek Bankieris
73cbbd96cd
Refactor ICG to report skipped files consistently
...
Refs #394
2017-03-15 15:53:56 -05:00
Alex Lin
b88c75631a
Missing includes when using clang/llvm 4.0 #393
...
Added some missing header file includes.
2017-03-15 10:05:06 -05:00
Derek Bankieris
2e4c3286a3
Automatically generate dependencies with SWIG
...
Like gcc, swig supports all those -M options. Use them to automatically
manage *_py.cpp dependencies.
Add dependency generation to trickify.mk as well.
2017-03-14 13:38:09 -05:00
Derek Bankieris
22d0fe9f23
Disable built-in implicit rules when building SIMs
...
Make spends a considerable amount of time checking targets against
built-in implicit rules. Let's turn them off, enjoy some speedup, and
see if anyone was relying on them!
Refs #360
2017-03-14 10:50:14 -05:00
Derek Bankieris
e39d57461c
Remove unused variables in make_makefile_src
...
Refs #360
2017-03-14 08:45:41 -05:00
Alex Lin
7c78187abf
Using ccache seems to work but prints warnings #390
...
Found a place in the makefile where TRICK_CC was not being set correctly.
Also found a case in gte.pm where we are not handling ccache properly.
2017-03-13 15:11:57 -05:00
Alex Lin
c5fbaeb7d6
Fix fonts in java GUIs #192
...
I fixed a hard coded size=12 font in the sim control panel.
2017-03-13 11:10:24 -05:00
Alex Lin
a1bc45548b
tool for detecting mismatch between friend init_attr and containing class #371
...
Added a check and warning message in ICG that warns you if a friend function
starts with "init_attr" but does not match the current class name.
2017-03-10 09:38:33 -06:00
John M. Penn
aab6ce3c9e
Ooops! Typo in macro. Ref #385
2017-03-03 18:33:53 -06:00
John M. Penn
1b1490a972
Add 2D Satellite Simulation. Ref #387
2017-02-28 15:49:35 -06:00
Alex Lin
85f2435af7
S_overrides.mk is included twice when building #360
...
All .i files for SWIG must be created before SWIG is run. Added an
order only rule to make sure this happens.
2017-02-28 14:15:34 -06:00
John M. Penn
1783236184
Merge branch 'master' of https://github.com/nasa/trick
2017-02-27 12:51:48 -06:00
John M. Penn
eef5b14fbf
Add tweaks that speed up matrix multiplication routines. ref #386
2017-02-27 12:51:35 -06:00
Derek Bankieris
9974e7698d
Use -Wno-unused-parameter when compiling SWIG code
...
Refs #360
2017-02-27 08:56:09 -06:00
Derek Bankieris
dd2a17e034
Separate convert_swig rule in trickify.mk
...
Refs #309
2017-02-27 08:56:09 -06:00
John M. Penn
86add82e35
Fix MxSCALAR macro to allow scalar parameter to be an expression. Ref #385
2017-02-24 17:26:08 -06:00
Derek Bankieris
ca4dce3582
Fix newline spacing & restore MODEL_OBJECTS header
...
Refs #360
2017-02-24 09:09:31 -06:00
Alex Lin
b2f8c9894e
S_overrides.mk is included twice when building #360
...
Moving targets to the more correct makefile like defining S_MAIN should
be in make_makefile_src. Moved the makefile_overrides rules read from
directories into their own makefile.
2017-02-24 08:44:34 -06:00