Commit Graph

2200 Commits

Author SHA1 Message Date
Mark Herring
cb1491df2f Merge remote-tracking branch 'upstream/master' 2024-10-16 23:12:44 -05:00
Mark Herring
80ff4292b2 Changed convert swig to ignore private constructors. 2024-10-16 17:48:23 -05:00
Mark Herring
8679e8c86d Fixed indentation in interface file 2024-10-16 17:28:36 -05:00
bnwalla1
7bc6ab74a8
added SIM_singlerigidbody (#1762)
* added SIM_singlerigidbody

* Removed a few sections in the README file

* Removed the sims directory

* Added shutdown job and made minor changes to body.cpp

---------

Co-authored-by: Wallace <bnwalla1@scooby.trick.gov>
2024-10-16 14:37:48 -05:00
M-Herr
bf25bbed34
Update swig_class_typedef.i
Hopefully fixed bug that was preventing default behavior in  python classes in the input file
2024-10-16 13:25:17 -05:00
Mrockwell2
b2403dcfc6
Fixed debug_pause semaphore name (#1793) 2024-10-15 10:50:33 -05:00
Hong Chen
5a5379b975
Added _swig_setattr_nondynamic_instance_variable function call back for struct and moved it to right after struct declaration instead of at the end of the swig interface file. (#1795) 2024-10-15 10:41:17 -05:00
Hong Chen
48029fe031
Updated to use FileEntryRef to get name instead of FileEntry for clang18+ due the corresponding function is deprecated for the applicable clang versions. (#1792) 2024-10-15 10:37:03 -05:00
Mark Herring
61f179efea Documentation updates 2024-10-10 06:37:58 -05:00
Mark Herring
8f64831aeb Added alternative to generating TrickTypeToString structures. 2024-10-09 21:10:46 -05:00
Mark Herring
19b06f10de Updated includes 2024-10-01 19:27:13 -05:00
Mark Herring
a89a594159 Merge remote-tracking branch 'upstream/master' 2024-10-01 18:20:07 -05:00
Mark Herring
daba5295fb Minor update to test 2024-10-01 17:34:34 -05:00
Mark Herring
48914fd461 Changed getReturnType to getType since we're in a constructor 2024-10-01 17:33:20 -05:00
Mark Herring
9ec72b9f6a Fixed typo in test_sims.yml 2024-10-01 16:04:21 -05:00
Mark Herring
0542f0f500 Wrapped JSON include in a flag used to enable/disable siwg interface constructor additions 2024-09-30 13:58:21 -05:00
Pherring04
1bdabadcbe
Fixed new job index calc (#1791)
* Fixed new job index calc

* Added additional index test
2024-09-30 13:53:02 -05:00
dependabot[bot]
ab2c5b2290
Bump rollup from 2.79.1 to 2.79.2 in /trick_source/web/dashboard (#1788)
Bumps [rollup](https://github.com/rollup/rollup) from 2.79.1 to 2.79.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.79.1...v2.79.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 09:11:23 -05:00
Mark Herring
91caad9ce8 Extended unit test to include allocatin gin the input processor 2024-09-28 23:22:02 -05:00
Mark Herring
43253a2741 Updated unit test sim 2024-09-28 22:16:58 -05:00
M-Herr
95230b06f9
Merge branch 'nasa:master' into master 2024-09-28 01:15:54 -05:00
Mark Herring
36b26401d1 Finishing touches on PrintConstructors class. Moved back to generating static alloc functions for the swig interface files. These get called by overwriting the __init__ functions. 2024-09-27 23:18:11 -05:00
Mark Herring
cc30885141 Was leaning to heavily on perl for writing wrappers. ICG now writes a json (for now) file that has important constructor info. Less regex, less room for error. 2024-09-27 16:06:56 -05:00
Sean Harmeyer
d34844e76c
1746 trick view variable search causes large spike in cpu usage (#1786)
* Add new "greedy search" option to toggle multi-threaded variable search

* Back down to a single thread

* Fixed a typo.

---------

Co-authored-by: Hong Chen <hong.chen-1@nasa.gov>
2024-09-27 08:25:43 -05:00
Mrockwell2
c007cfc88a
Fixed error message for sims with the same port number (#1776)
* Fixed error message for same port number

* Fixed return values
2024-09-26 11:47:45 -05:00
Pherring04
c9cec718b4
Preserved job queue currant index after pushing a job. (#1781)
* Peserved job queue current index after pushing a job.

* Reconciled the heinous offense of using tabs.
2024-09-26 11:40:04 -05:00
Thomas Brain
1a842a6b89
Add deletions to tracking list if malloc or new (#1778)
* Add deletions to tracking list if malloc or new

* Add all TRICK_LOCAL deletions to deletion_list
2024-09-26 11:23:50 -05:00
Hong Chen
077064f225
Fixed one warning message at shutdown after checkpoint load and kept the current multicast group after checkpoint load. (#1784)
* Added a check before calling MM delete_var in ExternalApplication destructor;
Made sure that the MulticastGroup is not initialized before initializing it in VariableServerListenThread.cpp;

* Updated to call multicast group initialization to be consistent for the unit test.

* Removed unnecessary command c str pointer.

* Removed unnecessary command c str pointer.
2024-09-26 11:17:57 -05:00
Mark Herring
59537e487c Moved tmm_alloc_args to it's own file. Updates to convert_swig to
generate alloc functions in the swig interface files for classes.
These alloc functions wrap the tmm_alloc_args call so swig doesn't have
to think about variadic templates.
2024-09-25 02:45:41 -05:00
Mark Herring
1e5d1a8cc4 Moved tmm_alloc_args into inludde/trick. File never changes so it was unecessary to write it out from ICG. Created trick_types.hh to hold includes for the non-specialized TrickTypeToString<T> and the specialzied TrickTypeToString<T> created by ICG. 2024-09-21 14:49:53 -05:00
Mark Herring
61c2fdbed3 Updated Makefile.common to include /build in include paths 2024-09-19 23:42:14 -05:00
Mark Herring
6aa4ef6c2b Merge remote-tracking branch 'origin/master' 2024-09-19 23:38:47 -05:00
Mark Herring
64fabb22ec Initial pass at adding support for a templated emplacement new function. Added FunctionVisitor class to ICG to handle parsing constructors with arguments. 2024-09-19 23:38:31 -05:00
Hong Chen
eed8707638
Added sub second information to message time stamps. (#1773)
* Added sub second information to message time stamps.

* Removed "0." for sub-second portion of time stamp.
2024-09-17 11:03:40 -05:00
Hong Chen
b46ba50fd0
Added optional remote shell config file for the remote startup command. (#1771)
* Added optional remote sheel config file for the remote startup command.

* Updated to cd to the sim directory after sourcing a config file in case the config file changed pwd.
2024-09-17 10:59:52 -05:00
dependabot[bot]
da56b835b7
Bump send and express in /trick_source/web/dashboard (#1783)
Bumps [send](https://github.com/pillarjs/send) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: send
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 10:14:27 -05:00
dependabot[bot]
adc62a34a7
Bump serve-static and express in /trick_source/web/dashboard (#1782)
Bumps [serve-static](https://github.com/expressjs/serve-static) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `serve-static` from 1.15.0 to 1.16.2
- [Release notes](https://github.com/expressjs/serve-static/releases)
- [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md)
- [Commits](https://github.com/expressjs/serve-static/compare/v1.15.0...v1.16.2)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: serve-static
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 10:14:14 -05:00
dependabot[bot]
f8a432c8a0
Bump path-to-regexp and express in /trick_source/web/dashboard (#1780)
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `path-to-regexp` from 0.1.7 to 0.1.10
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v0.1.7...v0.1.10)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 10:14:03 -05:00
Hong Chen
cca503a6ec
Updated trickops.yml to use a newer Ubuntu (#1769)
* Updated to use ubuntu22 instead of ubuntu20 due to the koviz update that removed deprecated calls from an older Qt on ubuntu20.

* Changed perl-modules-5.30 to perl-modules-5.34 as ubuntu20 uses perl 5.30 and ubuntu22 uses perl 5.34.
2024-09-05 14:51:19 -05:00
Sean Harmeyer
55f055eb70
Update README.md
Coveralls provides no value
2024-09-05 14:42:29 -05:00
dependabot[bot]
052d0bfedb
Bump webpack from 5.88.2 to 5.94.0 in /trick_source/web/dashboard (#1766)
Bumps [webpack](https://github.com/webpack/webpack) from 5.88.2 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.88.2...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-05 14:26:44 -05:00
dependabot[bot]
1f1a935228
Bump micromatch from 4.0.5 to 4.0.8 in /trick_source/web/dashboard (#1767)
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-05 14:25:26 -05:00
jmpenn
b794aba68d
Update Input-File.md to describe the Factory Function method of alloc… (#1763)
* Update Input-File.md to describe the Factory Function method of allocating objects from the input file.

* Fix issues caught during review. #1763
2024-08-28 10:39:54 -05:00
Pherring04
d2ec14dc02
Wiki button (#1755)
* Added a wiki button

* Removed commented code

* Updated SCP image

---------

Co-authored-by: Pherring04 <plherrin@JSLRL0523040929.ndc.nasa.gov>
2024-08-27 15:03:33 -05:00
Mrockwell2
de1cb6740b
Fixed the warning and error messages when toggling monte carlo (#1761) 2024-08-20 10:47:05 -05:00
Hong Chen
b87598c80c
Updated to use default-jdk package instead of openjdk-11-jdk for ubuntu. (#1757)
* Updated to use default-jdk package instead of openjdk-11-jdk for ubuntu.

* Added a note for using a specific JDK version for ubuntu.

* Fixed typo
2024-08-20 10:36:16 -05:00
Thomas Brain
26f6a02e44
Added "target_integ_time" to Integrator class. It can be useful to know the integration time. (#1760)
Co-authored-by: Thomas Brain <thomas.a.brain@nasa.gov>
2024-08-13 10:51:24 -05:00
Mrockwell2
446f1fa757
1747 create a document page for simulation control panel (#1750)
* Created a basic outline for the documentation

* Filled in outline more

* Created the reference images

* Documentation update

* Finish rough draft of Sim Control Panel documentation

* Updated the Throttle documentation

* Documentation updates

* Standardized punctuation

* Update

* Updated Docs

* update control panel

* Unseasoned Simulation Connection

* Shenanigans

* Fixed the shenanigans

* Changed to passive voice, updated graphic

* Update SimControlPanel.md for consistency and clean-up
2024-08-06 10:19:02 -05:00
iamthad
92b0168b7b
Speed up Trick::ScheduledJobQueue::push (#1694)
* Speed up Trick::ScheduledJobQueue::push

* Make comparator a static function

* Use upper_bound instead

* Use explicit types

* Update comment

* Fix formatting
2024-07-23 12:16:57 -05:00
Hong Chen
f892b41d2d
Added TRICK_LDFLAGS to the rule for linking shared library for jit input. (#1745)
* Added TRICK_LDFLAGS to the rule for linking shared library so user can use TRICK_LDFLAGS for linking shared library if necessary.

* Removed the new line added by accident.
2024-07-23 11:53:33 -05:00