Commit Graph

1090 Commits

Author SHA1 Message Date
Alex Lin
6a84ae548b Merge branch 'master' of https://github.com/nasa/trick 2019-03-26 17:10:16 -05:00
Alex Lin
b29a117902 ICG does not compile with LLVM 8.0 #747
getLocEnd got changed to getEndLoc.  Made a LLVM version based macro
to handle both.
2019-03-26 17:03:11 -05:00
dbankieris
266a956471
Merge pull request #743 from mrjaperez/master
Support static/dynamic libraries in Trickification
2019-03-25 14:24:10 -05:00
Derek Bankieris
951bee52c0 Use existing variables for LD and c++
This is why we have code reviews!
2019-03-25 11:33:50 -05:00
Derek Bankieris
4146834f10 Support static/dynamic libraries in Trickification
Update documentation
Change TRICK_LIB_BUILD_TYPE to TRICKIFY_BUILD_TYPE
Remove support for linking in arbitrary objects
Conform logging to existing pattern
2019-03-25 10:49:34 -05:00
Jose Perez
787f2c7dc2 Support Shared and Static library. Optionally package trickified generated code and source code in to one library. 2019-03-20 15:32:11 -05:00
Penn, John M 047828115
be4372a831 Change dashes in JSON identifiers to underscores. ref #678 2019-03-07 10:44:56 -06:00
Penn, John M 047828115
531a94173e Fix output going to the wrong stream. ref #678 2019-03-07 10:43:40 -06:00
Alex Lin
7ef86c92c0
Merge pull request #740 from pappyvw/trick-CP-dashC-option
Give trick-CP the same -C/--directory option that 'make' has.
2019-03-05 07:28:40 -06:00
Pappy Van Winkle
a44014c0a3 Give trick-CP the same -C/--directory option that 'make' has.
Now one can do the following command:
     path/to/trick-CP -C path/to/SIM_example

without first having to cd to the path that contains the S_define.
2019-02-28 21:26:23 -06:00
Scott Fennell
833f7efe82
Merge pull request #739 from nasa/Derek's_Warning
#738 add Derek's warning
2019-02-28 09:03:21 -06:00
Scott Fennell
941a94d9ad never assume that syntax from github suggestions is correct 2019-02-28 08:38:47 -06:00
dbankieris
3965b87499
#738 use real division and static cast (suggestion)
Co-Authored-By: spfennell <spfennell@gmail.com>
2019-02-28 08:27:13 -06:00
Scott Fennell
08d0ea5d40 #738 add Derek's warning 2019-02-27 16:00:03 -06:00
dbankieris
6eeb4cee80
Merge pull request #736 from nasa/688
Include Trickified classes/enums in S_sie.resource
2019-02-20 14:13:12 -06:00
dbankieris
93cc526202
Merge pull request #734 from nasa/724
Correct forward-declaration-detection logic in ICG
2019-02-20 14:12:53 -06:00
Derek Bankieris
8658f33f64 Include Trickified classes/enums in S_sie.resource
Fixes #688
2019-02-20 13:21:14 -06:00
jmpenn
b9278c4a72
Add capability to list current variable server connections in JSON re… (#732)
* Add capability to list current variable server connections in JSON ref #678

* Add client tag to the connection info.

* Name consistency tweak in generation of JSON variable-server connection list. ref #732

* Add client IP address and port. ref #732

* Output should be going to the stringstream, not std::cout. Ref #732
2019-02-18 17:11:41 -06:00
Derek Bankieris
294e8c9e40 Correct forward-declaration-detection logic in ICG
Fixes #724
2019-02-14 10:55:55 -06:00
Alex Lin
a2cee328d2
Merge pull request #729 from iamthad/tcp-nodelay-on-udp
Disable setting TCP_NODELAY on UDP sockets
2019-01-31 07:43:23 -06:00
Alex Lin
0ce0398823
Merge pull request #727 from shahzadlone/master
Vector Optimize to Save on Re-Allocation costs.
2019-01-31 07:42:23 -06:00
Shahzad Lone
7428a98191
Undo spacing It was not suppose to be done on this request 2019-01-28 22:21:05 -05:00
Shahzad Lone
b7e400d0db
Remove spacing that makes travis build happy (even though i didn't introduce this ?) 2019-01-28 22:14:02 -05:00
Thadeus Fleming
60c4120f98 Disable setting TCP_NODELAY on UDP sockets
The TCP_NODELAY socket option disables Nagle's algorithm on TCP sockets,
improving latency at the cost of throughput. This option is
TCP-specific, and it is an error to use it on any other kind of socket,
including UDP. It is also unnecessary, since UDP is datagram-based and
does not buffer data to be transmitted.
2019-01-28 10:44:17 -06:00
Shahzad Lone
bdc40e3709 Vector Optimize to Save on Re-Allocation costs.
We know how many more elements we are going to push into ```listLogGroupIterators_``` so use that to our advantange and reserve inadvance to save on re-allocation costs.
2019-01-25 01:24:12 +00:00
Scott Fennell
35b4cf7880 fix right click in java uis 2019-01-24 16:19:01 -06:00
Scott Fennell
6240b2a893 typecast malloc in a math function in case someone wants to compile it in c++ 2019-01-17 15:48:38 -06:00
jmpenn
024cf2eb5f
Update Readme.md 2019-01-15 16:27:11 -06:00
jmpenn
6ba9fbb9cd
Update Readme.md 2019-01-15 16:26:21 -06:00
jmpenn
06002b3f4d
Update Readme.md 2019-01-15 16:25:18 -06:00
Penn, John M 047828115
d76d0e289f Model Rocket Simulation. Ref #726 2019-01-15 16:23:12 -06:00
Scott Fennell
f0537efb0f example sim SIM_msd add init body 2018-12-21 14:01:48 -06:00
Scott Fennell
5408b5bc44 refactor example sim SIM_msd 2018-12-21 13:48:38 -06:00
dbankieris
e47cf8d956
Merge pull request #719 from nasa/718
Add Unit.hh to files_to_ICG.hh & sim_services.i
2018-12-07 14:09:16 -06:00
Derek Bankieris
9a04d72fd0 Add Unit.hh to files_to_ICG.hh & sim_services.i
units_conv.h was also missing from sim_services.i

Closes #718
2018-12-07 08:08:15 -06:00
Alex Lin
bd4c25d927 convert_swig incorrectly excluding files #717
Added another grep to remove blank paths after abs_path is run.  abs_path will return blank if a path does not exist.  We want to remove that from the result.
2018-12-04 13:18:38 -06:00
dbankieris
6b6e4ea027
Merge pull request #716 from nasa/715
Add accessor for MonteVarRandom::randist
2018-12-04 12:51:38 -06:00
Derek Bankieris
247fcc370d Add accessor for MonteVarRandom::randist
Closes #715
2018-12-04 11:57:18 -06:00
Derek Bankieris
0394867dfd Add MonteCarlo::variables accessor
Closes #713
2018-12-04 10:25:03 -06:00
Scott Fennell
049485eeae Merge branch 'master' of github.com:nasa/trick 2018-12-03 09:50:31 -06:00
Scott Fennell
6d5ce8d7bb #712 add TRICK_CPFLAGS to trick-gte output 2018-12-03 09:49:46 -06:00
Penn, John M 047828115
5333773fbd Return output length even if output array is NULL. Ref #708 2018-11-27 14:24:48 -06:00
Alex Lin
ca99386026 Trick S_define parser should return nonzero when it fails to find included header #694
Added S_source.hh as a dependency to S_main.exe.
2018-11-14 09:51:25 -06:00
jmpenn
ca35092c1d
Fix lockup when running Valgrind. Ref #685 (#699) 2018-11-09 13:40:11 -06:00
Scott Fennell
51ddcfaae0
Merge pull request #695 from nasa/java-11
Support Java 11
2018-11-06 15:38:56 -06:00
Scott Fennell
f78a7ac8d6
Merge pull request #696 from nasa/scan-build
Scan build
2018-11-06 15:36:28 -06:00
Scott Fennell
281fe5bf9b remove premature delete 2018-11-06 13:59:02 -06:00
Scott Fennell
9b644c406a remove dangling ptr 2018-11-06 12:14:01 -06:00
Scott Fennell
47c26d971b remove dangling ptr 2018-11-06 12:03:07 -06:00
Scott Fennell
2607439227 change nullptr to NULL 2018-11-06 11:36:34 -06:00