Commit Graph

1236 Commits

Author SHA1 Message Date
Scott Fennell
9d4e0343c4 issues #851 #852 add while around mg_mgr_poll to process all events before waiting for next frame 2019-08-30 11:22:34 -05:00
Scott Fennell
d8717059f5 #851 complete a basic mockup with some features of the React-based sim-control UI 2019-08-27 13:10:18 -05:00
John M. Penn
d0cbd1f2b5 Fix a deadlock problem created when ws initiated on linux #847 #730 2019-08-22 15:35:17 -05:00
Penn, John M 047828115
2afa2b3e38 Add VariableServerSession command to have ip_parse interpret python code. 2019-08-21 12:27:46 -05:00
Penn, John M 047828115
63605da069 Comments and rearrangment for clarity. 2019-08-21 10:52:48 -05:00
Penn, John M 047828115
2e08379e42 Add the ability to add new types of WebSocketSessions to make server extensible 2019-08-20 18:14:47 -05:00
Penn, John M 047828115
2998180231 Fix renaming misses. 2019-08-19 16:57:46 -05:00
Penn, John M 047828115
d966f21f51 Rename WSSession class to VariableServerSession 2019-08-19 16:50:24 -05:00
Penn, John M 047828115
9656b4fcb2 change #includes for http_server.hh rename. 2019-08-19 15:22:20 -05:00
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. #847 #730 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. #847 #730 2019-08-19 15:15:33 -05:00
Penn, John M 047828115
c633c4cddd More refactoring. #847 #730 2019-08-16 20:16:27 -05:00
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