Commit Graph

1478 Commits

Author SHA1 Message Date
Penn, John M 047828115
fee9b89a07 Make API handling more extensible, and a lot of refactoring. #847 #730 2019-08-16 18:39:45 -05:00
Penn, John M 047828115
ba4c86858a Remove unused variable definition. 2019-08-13 16:32:21 -05:00
Penn, John M 047828115
3e1d639a3e Synchronize web socket variable server to realtime frame. #847 #730 2019-08-13 16:27:03 -05:00
dbankieris
b457746d61
Merge pull request #846 from nasa/845
Add signed types to swig_int_typemap.i
2019-08-13 13:25:50 -05:00
Derek Bankieris
6d7b523169 Add signed types to swig_int_typemap.i
Fixes #845
2019-08-13 11:39:17 -05:00
Penn, John M 047828115
e7e937eed9 Fix integer parsing in simple JSON parser. #844 #730 2019-07-22 16:20:24 -05:00
Penn, John M 047828115
0df631c41a Implement var_clear and var_send for imbedded http server JSON variable server. #844 #730. 2019-07-22 13:35:43 -05:00
Alex Lin
90c1564a0c Merge branch 'master' of https://github.com/nasa/trick 2019-07-19 16:06:54 -05:00
Alex Lin
4b68ed4993 Add support for Mac's removal of /usr/include #810
Found a unit test makefile that wasn't ready for Mojave.
2019-07-19 16:05:26 -05:00
Penn, John M 047828115
c011f27a2c Add web socket variable server and html/javascript example app #844 #730 2019-07-18 16:35:29 -05:00
Scott Fennell
adc3a3e425
Merge pull request #842 from nasa/iss-840
closes #840
2019-07-10 16:06:56 -05:00
Scott Fennell
3609f76474 exit on invalid input file or command line argument #840 2019-07-10 15:23:29 -05:00
Scott Fennell
11da17223f
Merge pull request #841 from nasa/remove-ball-default
#836 remove SIM_ball_default_data
2019-07-10 15:02:09 -05:00
Scott Fennell
1d17aa579a fix sim help message and handle bad command line args #840 2019-07-10 13:53:03 -05:00
Scott Fennell
5f38ca4c37 issue #836 remove SIM_ball_default_data 2019-07-10 11:36:09 -05:00
Alex Lin
f117839d2f Add support for Mac's removal of /usr/include #810
Add line to ignore all files from /usr/local/include explicitly while
creating makefile for swig processing.
2019-07-10 08:27:13 -05:00
Scott Fennell
de572d714b
Merge pull request #839 from nasa/iss-836
closes #836
2019-07-09 16:15:34 -05:00
Scott Fennell
82bae3b0d0 #836 remove all S_default.dat stuff 2019-07-09 15:58:26 -05:00
Scott Fennell
101ae55bb0
Merge pull request #838 from nasa/#837-cmd-line
iss #837 make command line arguments position independent
2019-07-08 15:53:13 -05:00
Scott Fennell
c2d2fee474 #837 default input file to first argument if RUN_ is not present 2019-07-08 09:28:53 -05:00
Scott Fennell
ca5ddb429e iss #837 make command line arguments position independent 2019-07-02 09:03:09 -05:00
Alex Lin
d1c08ade7a
Make switching to 32bit compile better #829 (#830)
Added a new configure arugument "--enable-32bit".  If enabled,
TRICK_FORCE_32BIT is automatically set for building Trick and for
all sims built.  Changed the ARCH and added -m32 in the configure
script if 32bit is enabled.  This changes the configure script to
test for 32bit libraries.
2019-06-27 07:58:49 -05:00
dbankieris
5d0e0f65bd
Merge pull request #831 from nasa/407
Add support for -isystem
2019-06-25 07:51:28 -05:00
dbankieris
7b16743b39
Merge pull request #835 from nasa/481
Note the process exit status of Monte Carlo runs
2019-06-24 10:49:45 -05:00
Derek Bankieris
40cf5c0b29 Note the process exit status of Monte Carlo runs
Closes #481
2019-06-21 14:02:03 -05:00
dbankieris
00302208b5
Merge pull request #834 from nasa/358
Infer TRICK_HOME in Makefiles
2019-06-21 13:21:25 -05:00
Derek Bankieris
d135353c90 Infer TRICK_HOME in Makefiles
Closes #358
2019-06-21 13:15:22 -05:00
dbankieris
11eae2c43d
Merge pull request #833 from nasa/637
Give er7_utils proper Makefiles
2019-06-21 13:04:45 -05:00
Derek Bankieris
422ef225f1 Give er7_utils proper Makefiles
Closes #637
2019-06-21 12:59:00 -05:00
Derek Bankieris
67decaed24 Add support for -isystem
Closes #407
2019-06-20 10:12:33 -05:00
dbankieris
4f1ba26411
Merge pull request #827 from nasa/672
Add makefile function for target-specific variable
2019-06-20 07:29:11 -05:00
Penn, John M 047828115
e6b6312396 Add Websocket sessions to experimental mongoose-based embedded web server. Ref #828 2019-06-19 17:23:32 -05:00
Derek Bankieris
6c9326f760 Add makefile function for target-specific variable
Closes #672
2019-06-19 15:57:26 -05:00
dbankieris
053bcfe0b2
Merge pull request #825 from nasa/824
Fix TRICK_VER in make_makefile_swig
2019-06-19 15:32:19 -05:00
Alex Lin
b778e16bc1 Deprecate TRICK_CPPC in trick-gte #826
Added a new hash of deprecated values into trick-gte.  If a deprecated
value is requested, a warning message is printed with the value.  If
all of the values are printed, the deprecated values are printed in
their own section.
2019-06-19 13:55:45 -05:00
Derek Bankieris
6bb061738e Fix TRICK_VER in make_makefile_swig
Fixes #824
2019-06-19 13:32:52 -05:00
Scott Fennell
b23b19195b
Merge pull request #818 from nasa/786-clock-stuff
Add C call to clock_tics_per_sec and also log init job elapsed time
2019-06-18 13:38:18 -05:00
Alex Lin
453a03a809
Get configure with no java and no X to work #735 (#817)
Found if --without-x was specified, that automatically caused an
error condition in the configure script.  Fixed that and only
tested for X windows headers and libs if X is included.  Excluded
a couple of directories from compiling if X is not included.

Didn't seem to be a problem with java.
2019-06-18 11:00:42 -05:00
Alex Lin
04d50df7cd
TRICK_HOST_CPU incorrect with gcc 7 #598 (#816)
Changed the regular expression that grabs the gcc version to accept
either 1 digit or 2.
2019-06-18 11:00:21 -05:00
Scott Fennell
b676ecac65 SWIG 2.0 compatability 2019-06-18 11:00:09 -05:00
Alex Lin
497f11f132
Make TRICK_CXX variable to specify c++ compiler #767 (#815)
Changed all references of TRICK_CPPC to TRICK_CXX.  Added a
warning message that TRICK_CPPC has been deprecated.
2019-06-18 11:00:08 -05:00
Alex Lin
187fa37540
Remove suppression of units conversion warnings in 19 #789 (#814)
Removed checks on dead units conversion messenger.  Units conversion
messages cannot be suppressed.  Added deprecated messages to the functions
that modified the message printouts.
2019-06-18 10:59:51 -05:00
Alex Lin
5e9723c630
Add support for Mac's removal of /usr/include #810 (#811)
If we are on a Mac, use xcrun to find the standard include directories.
Some of the makefiles in data_products look for libxml2 which requires
them to get the same change as the configure script.
2019-06-18 10:59:35 -05:00
dbankieris
3e28812485
Merge pull request #820 from nasa/819
Use TRICK_CXXFLAGS for include paths & defines
2019-06-18 10:59:24 -05:00
Derek Bankieris
9f3175d01b Use TRICK_CXXFLAGS for include paths & defines
Fixes #819
2019-06-18 10:52:37 -05:00
Scott Fennell
4d247c94db remove unneccessary includes 2019-06-18 10:39:03 -05:00
Scott Fennell
97941ac073 move init_log_stream to Executive.hh, move Executive::process_sim_args from "default data" to Executive::init 2019-06-18 10:34:56 -05:00
Scott Fennell
fadda55abf Log elapsed time in default_data, input_processor, and init jobs in file
init_log.csv
2019-06-17 14:40:01 -05:00
Alex Lin
03d93aee18 Merge branch 'master' of https://github.com/nasa/trick 2019-06-14 07:44:44 -05:00
Alex Lin
78b5a0c692 Optionally use 'cio' in place of 'trick_chkpnt_io' field #749
Added an alias to use cio for trick_chkpnt_io and io for trick_io.
2019-06-14 07:43:37 -05:00