Commit Graph

1276 Commits

Author SHA1 Message Date
jmpenn
be34b89512
In WebServer class use message_publish() for messages and add debug flag. (#893) 2019-10-29 17:21:19 -05:00
jmpenn
9eed167634
Add enable flag to webserver. Default is false. Should be set to true in input file to enable. (#892) 2019-10-29 11:52:02 -05:00
jmpenn
d86a23834c
Fix a race condition between ICG and mongoose install (#891)
* Fix a race condition between ICG and mongoose install

* Update mongoose to version 6.16
2019-10-25 13:21:39 -05:00
jmpenn
95c6659733
Incorporate Webserver into Trick, so one only has to include HttpServ… (#886)
* Incorporate Webserver into Trick, so one only has to include HttpServer.sm

* Tweaks in default index.html file

* Rename HTTPServer.sm to WebServer.sm

* Rename http_server to WebServer

* Add --retry to curl invocations in HttpServer makefile.

* Fix #include in VariableServerVariable.hh

* Include cleanup and curl tweaks in the hopes of making Jenkins happy.

* Doh! problem in makefile masked by preinstalled mongoose in usr/local/lib

* DIE Make Bug DIE

* Fix include in WebServer.sm

* WebServer.sm constructor name

* Don't SWIG mongoose.h

* Compile with -std=c++11

* Attempt to fix race condition in makefile

* makefie tweek

* Fix trick library name problem for Centos and Redhat
2019-10-23 11:58:19 -05:00
Alex Lin
34833be0de
configure script fails in RHEL/CentOS 8 #887 (#888)
If we can't find python in the configure script then search for
python3.  If python3 is found use python3-config to get the
include directories and libraries.  Call python scripts using the
PYTHON environment variable.
2019-10-21 13:29:26 -05:00
Penn, John M 047828115
8813455978 Merge branch 'master' of https://github.com/nasa/trick 2019-10-15 15:19:02 -05:00
Penn, John M 047828115
e1a67195d2 Create a default http document root if one doesn't exist. #885 2019-10-15 15:18:45 -05:00
dbankieris
143feee934
Merge pull request #880 from nasa/CP_dep_trace_ext_lib_dirs
Don't trace TRICK_EXT_LIB_DIRS lib deps in CP
2019-10-15 11:10:27 -05:00
Penn, John M 047828115
bf288636cb Efficiently handle time-consistent and non-time consistent message modes in web server, plus lots of refactoring. ref #883 2019-10-08 14:14:18 -05:00
Derek Bankieris
1f33406c95 Don't trace TRICK_EXT_LIB_DIRS lib deps in CP
Refs #871
2019-10-07 14:12:06 -05:00
dbankieris
5e11a40a69
Merge pull request #877 from nasa/char_sized_enums
Add support for char-sized enums
2019-10-04 12:21:31 -05:00
Scott Fennell
6625d41a63
Merge pull request #879 from nasa/udunits-bug
get rid of dangling pointer use closes #878
2019-10-04 10:25:22 -05:00
Scott Fennell
c8eb44e1fc get rid of dangling pointer use closes #878 2019-10-04 10:04:38 -05:00
Derek Bankieris
86515bcaaa Fix VERBOSE=1 in verbose_build.pm
How I hate you, Perl.

Fixes #873
2019-10-04 10:04:18 -05:00
Derek Bankieris
04d5f5dd80 Add support for char-sized enums
Fixes #876
2019-10-01 12:26:57 -05:00
dbankieris
140acb3364
Merge pull request #874 from nasa/verbose_build_in_perl_modules
Fix VERBOSE=1 in verbose_build.pm
2019-09-30 08:18:00 -05:00
Scott Fennell
c79649b7ca
Merge pull request #875 from nasa/llvm-9 2019-09-27 16:32:00 -05:00
sfennell
8ac5cf7a59 changes to support llvm 9.0 closes #869 2019-09-27 16:04:16 -05:00
Derek Bankieris
2d88126639 Fix VERBOSE=1 in verbose_build.pm
How I hate you, Perl.

Fixes #873
2019-09-27 15:58:56 -05:00
sfennell
5004f95fdd changes to support llvm 9.0 closes #869 2019-09-27 14:58:54 -05:00
dbankieris
296bf77e74
Merge pull request #872 from nasa/lib_deps_ext_lib_dir
Skip paths in TRICK_EXT_LIB_DIRS in get_lib_deps
2019-09-27 10:57:43 -05:00
Derek Bankieris
894c531541 Skip paths in TRICK_EXT_LIB_DIRS in get_lib_deps
Closes #871
2019-09-27 10:42:03 -05:00
dbankieris
9687c2f11b
Merge pull request #868 from jsooknan/ROS-kinetic-update
Updated S_overrides to work with ROS kinetic. Included catkin package…
2019-09-25 08:28:45 -05:00
Josh Sooknanan
bbe693d9d0 Updated S_overrides to work with ROS kinetic. Included catkin package containing the appropriate message file to integrate with other ROS nodes - build with catkin. 2019-09-24 15:13:00 -05:00
Scott Fennell
93a83d6ce1
Merge pull request #867 from nasa/remove-deprecated-code-#864
#864 remove ptr_fun missed one file
2019-09-24 09:31:49 -05:00
Scott Fennell
b1697b7e73 #864 remove ptr_fun missed one file 2019-09-24 09:30:37 -05:00
Scott Fennell
57eb15bcd5
Merge pull request #866 from nasa/remove-deprecated-code-#864
remove deprecated std::ptr_fun and std::not1 closes #864
2019-09-23 16:04:26 -05:00
Scott Fennell
f10e4e8d93 remove deprecated std::ptr_fun and std::not1 closes #864 2019-09-23 14:25:27 -05:00
Scott Fennell
238b376b14 use almostRealPath instead of realpath closes #857 2019-09-10 11:13:57 -05:00
Scott Fennell
d978cdf4c6 move code out of conditional block to make sure slave_output_directory gets initialized fixes #848 2019-09-09 11:26:09 -05:00
Derek Bankieris
5dd8fe4cf1 TrickView: Order enums according to S_sie.resource
Closes #860
2019-09-09 08:53:00 -05:00
Scott Fennell
e798fde189 move misplaced parentheses to include enum headers closes #856 2019-09-05 14:47:10 -05:00
Scott Fennell
337caa46e3 Merge branch 'master' of github.com:nasa/trick 2019-09-04 12:52:13 -05:00
Scott Fennell
c43ba55edf add an element to get a font to the react app 2019-09-04 12:51:52 -05:00
Derek Bankieris
3a03f7af53 Remove to_string from JITInputFile.cpp
Follow the existing error reporting pattern
2019-09-03 11:08:38 -05:00
Scott Fennell
d3ca4c4781 remove fonts 2019-09-03 09:13:26 -05:00
Dung-Ru Tsai
0dffa8096f Add debug errno in the JIT compile (#854)
Thank you for your contribution!
2019-09-03 07:21:57 -05:00
Scott Fennell
de490a5dfa
Merge pull request #853 from nasa/react-app
React App Example for Embedded Web Server
2019-08-30 13:22:54 -05:00
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
dde519f1b0 Fix warnings in unicode utils. #850 2019-08-26 15:00:23 -05:00
John M. Penn
ed64e40803 Tweaks to comments in embedded web server code. 2019-08-26 13:40:11 -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