Commit Graph

1432 Commits

Author SHA1 Message Date
Penn, John M 047828115
776614997e rename http_server.h -> http_server.hh 2019-08-19 15:19:27 -05:00
Penn, John M 047828115
2428ef3392 Add the WebSocketSession base class. 2019-08-19 15:17:14 -05:00
Penn, John M 047828115
c1cbb2ffaa Create WebSocketSession base class and make variable server session a derivative of it. 2019-08-19 15:15:33 -05:00
Penn, John M 047828115
c633c4cddd More refactoring. 2019-08-16 20:16:27 -05:00
Penn, John M 047828115
fee9b89a07 Make API handling more extensible, and a lot of refactoring. 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. 2019-08-13 16:27:03 -05:00
dbankieris
b457746d61
Merge pull request 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 
2019-08-13 11:39:17 -05:00
Penn, John M 047828115
e7e937eed9 Fix integer parsing in simple JSON parser. 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. . 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
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 2019-07-18 16:35:29 -05:00
Scott Fennell
adc3a3e425
Merge pull request from nasa/iss-840
closes 
2019-07-10 16:06:56 -05:00
Scott Fennell
3609f76474 exit on invalid input file or command line argument 2019-07-10 15:23:29 -05:00
Scott Fennell
11da17223f
Merge pull request from nasa/remove-ball-default
 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 2019-07-10 13:53:03 -05:00
Scott Fennell
5f38ca4c37 issue 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
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 from nasa/iss-836
closes 
2019-07-09 16:15:34 -05:00
Scott Fennell
82bae3b0d0 remove all S_default.dat stuff 2019-07-09 15:58:26 -05:00
Scott Fennell
101ae55bb0
Merge pull request from nasa/#837-cmd-line
iss  make command line arguments position independent
2019-07-08 15:53:13 -05:00
Scott Fennell
c2d2fee474 default input file to first argument if RUN_ is not present 2019-07-08 09:28:53 -05:00
Scott Fennell
ca5ddb429e iss make command line arguments position independent 2019-07-02 09:03:09 -05:00
Alex Lin
d1c08ade7a
Make switching to 32bit compile better ()
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 from nasa/407
Add support for -isystem
2019-06-25 07:51:28 -05:00
dbankieris
7b16743b39
Merge pull request 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 
2019-06-21 14:02:03 -05:00
dbankieris
00302208b5
Merge pull request 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 
2019-06-21 13:15:22 -05:00
dbankieris
11eae2c43d
Merge pull request 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 
2019-06-21 12:59:00 -05:00
Derek Bankieris
67decaed24 Add support for -isystem
Closes 
2019-06-20 10:12:33 -05:00
dbankieris
4f1ba26411
Merge pull request 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 2019-06-19 17:23:32 -05:00
Derek Bankieris
6c9326f760 Add makefile function for target-specific variable
Closes 
2019-06-19 15:57:26 -05:00
dbankieris
053bcfe0b2
Merge pull request 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
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 
2019-06-19 13:32:52 -05:00
Scott Fennell
b23b19195b
Merge pull request 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 ()
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 ()
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 ()
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 ()
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 ()
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 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 
2019-06-18 10:52:37 -05:00
Scott Fennell
4d247c94db remove unneccessary includes 2019-06-18 10:39:03 -05:00