Commit Graph

761 Commits

Author SHA1 Message Date
Alex Lin
9207bd0ab1 io_src makefile applying TRICK_SYSTEM_CXXFLAGS to all compilation units. #470
Changed TRICK_SYSTEM_CXXFLAGS in Makefile_io_src to TRICK_IO_CXXFLAGS.
2017-08-21 13:28:28 -05:00
Alex Lin
a40381f9e1 Merge pull request #469 from DavidHammen/convert_swig_struct_patch
Fixes #468
2017-08-21 10:14:33 -05:00
Christopher LaChance
bc50836e22 Merge pull request #466 from nasa/MakeCleanFix
Added more test directories to "make clean".
2017-08-14 09:43:31 -05:00
David Hammen
8a42a9adcd Fixes #468 2017-08-09 09:14:35 -05:00
John M. Penn
821907cd73 Updated units specifications in SIM_sun and SIM_wheelbot. 2017-08-04 18:37:16 -05:00
Christopher LaChance
66d0240ed4 Added missing test directory from clean command. 2017-08-04 15:05:52 -05:00
Christopher LaChance
689b75af25 Merge pull request #465 from nasa/SmartmatchFix
Replaced smartmatch operator with string equality operation.
2017-08-02 08:54:51 -05:00
Christopher LaChance
418df6bb9d Fixed typo in trick-units. 2017-08-01 15:39:12 -05:00
Christopher LaChance
7ef539f331 Replaced smartmatch operator with string equality operation. 2017-08-01 15:33:23 -05:00
jmpenn
acb06d5965 Merge pull request #462 from iamthad/remove-dynamic-exception-spec
Remove deprecated dynamic exception specifiers
2017-08-01 15:12:24 -05:00
jmpenn
e757dd228d Merge pull request #464 from nasa/Trick-Units
Added "trick-units" perl script.
2017-08-01 14:40:37 -05:00
Christopher LaChance
947a0a24cf Added a new binary file that will display Trick's available units when called. 2017-08-01 14:23:21 -05:00
Thadeus Fleming
bf2759c5c0 Remove deprecated dynamic exception specifiers.
Resolves #461
2017-07-28 20:49:42 -05:00
jmpenn
2d345ee06b Update README.md 2017-07-24 18:49:29 -05:00
John M. Penn
841473583c Updated var server multicast address to 239.3.14.15. Ref #452 2017-07-05 16:40:22 -05:00
Christopher LaChance
2a79c4a3cd Sim monte freeze fix. (#451)
* Extended the size of the character array to fully fit the string.

* Changed to sizeof().
2017-07-05 08:51:56 -05:00
John M. Penn
d0b9cda9f2 Fixed variable server debug messages. Ref #447 2017-06-26 17:50:54 -05:00
Christopher LaChance
11d638d49e Merge pull request #446 from nasa/DefaultPortFlagMC
Replaced socket_init calls with tc_init.
2017-06-21 13:17:03 -05:00
Christopher LaChance
8bf17f2805 Merge remote-tracking branch 'origin/DefaultPortFlagMC' into DefaultPortFlagMC 2017-06-21 09:38:39 -05:00
Christopher LaChance
bd024ce597 Readded the reverted changes.
The situation required rebasing the branch from master and re-adding the changes that were reverted.
2017-06-21 09:38:22 -05:00
Christopher LaChance
129fb89fb4 Readded the reverted changes.
The situation required rebasing the branch from master and re-adding the changes that were reverted.
2017-06-21 09:31:32 -05:00
Christopher LaChance
86aaa8e9fa Replaced socket_init calls with tc_init.
Some classes were still calling socket_init which had been removed. Replaced those calls with tc_init.

Make compiled and make test successfully ran all tests. Jenkins should be happy now.
2017-06-21 09:19:48 -05:00
Christopher LaChance
345971e31a Replaced socket_init calls with tc_init.
Some classes were still calling socket_init which had been removed. Replaced those calls with tc_init.

Make compiled and make test successfully ran all tests. Jenkins should be happy now.
2017-06-21 08:59:22 -05:00
Derek Bankieris
87423ec5aa Add option to hide search and tree panels
Restore previous size of Variable Tree and Search Panel when visibility
is restored.
Save/restore visibility across sessions.
Add mnemonics and tooltips to menu items.
Ensure the Variable Tree is visible as part of the "Expand Parent in
Tree" actions.
Remove calls to setOneTouchExpandable.

Refs #415
2017-06-21 08:16:09 -05:00
Christopher LaChance
38960e6505 Made brackets consistent on modificaitons. 2017-06-21 08:16:09 -05:00
Christopher LaChance
12e74744b6 Changed the view menu items into checkbox menu items.
The two view menu toggles are now checkbox menu items. The default state is enabled and is toggled when the option is selected.
2017-06-21 08:16:09 -05:00
Christopher LaChance
70369fdb71 Added menu options to toggle the visibility of Trick View panes.
This currently doesn't work 100% properly. It will toggle fine, but when showing the panels it starts them collapsed. Resizing the pane causes them to appear for some reason.
2017-06-21 08:16:09 -05:00
Christopher LaChance
7171288aa8 Merge pull request #444 from nasa/revert-442-DefaultPortFlagMC
Revert "Removed default_port_flag and socket_init. "
2017-06-20 14:38:31 -05:00
Christopher LaChance
0137700473 Revert "Removed default_port_flag and socket_init. " 2017-06-20 14:36:48 -05:00
Christopher LaChance
256a1adeb4 Merge pull request #442 from nasa/DefaultPortFlagMC
Removed default_port_flag and socket_init.
2017-06-20 10:51:29 -05:00
Alex Lin
e2693de992 Many Trick sims SEGFAULT when built in 32-bit mode #440
Added a switch to trick-ICG to handle the -m32 flag.  When the
flag is present we tell clang to use a 32bit layout when calculating
member offsets.
2017-06-19 14:18:37 -05:00
Christopher LaChance
34cc3ae8e5 Removed default_port_flag and socket_init. 2017-06-16 15:20:04 -05:00
Christopher LaChance
9b5c3fc2cc Merge pull request #441 from iamthad/fix-typos
Fix "sepcified" typos
2017-06-16 14:52:06 -05:00
Thadeus Fleming
57cebe4c70 s/sepcified/specified 2017-06-16 13:58:45 -05:00
John M. Penn
6988aa77c2 Merge branch 'master' of https://github.com/nasa/trick 2017-06-13 15:54:07 -05:00
John M. Penn
6aad66646f Update cannon_impact function for tutorial. Ref #439 2017-06-13 15:53:44 -05:00
Christopher LaChance
8fb1355de3 +-NaN and +-Infinity are now correctly represented in Trick View. (#437)
* Values that return "-nan" will now properly show <NaN> in the Trick View variable table.

* +-NaN and +-Infinity are now correctly represented in Trick View.

This solution now handles +- infinity and +-nan instead of just -nan.

* Lifted fix logic into a protected function in the super class.

Removed author/date information.
Put duplicate code from VSFLoat and VSDouble into VSValue.
Added support for -NaN.
2017-06-08 12:09:39 -05:00
John M. Penn
6c73951488 fix path to SunDisplay.jar in SIM_sun/RUN_test/input.py 2017-06-06 14:28:22 -05:00
John M. Penn
11aa54d4a4 Updates for SIM_wheelbot. Ref #438 2017-06-06 14:20:12 -05:00
John M. Penn
876075e325 Use include paths relative to TRICK_HOME/include in Cannon sims. Ref #438 2017-06-06 13:04:12 -05:00
Christopher LaChance
af6b8cbea8 Capped the maximum throttle value to 1000. (#434)
* Capped the maximum throttle value to 1000.

Entering extremely large values into the maximum value field of the throttle GUI caused the GUI to freeze. Imposing a cap of 1000 to the maximum value prevents the GUI from freezing.

* Updated brace style from Allman to K&R.
2017-06-06 09:08:10 -05:00
Derek Bankieris
39aef15a8e Infer TRICK_HOME automatically
Refs #358
2017-06-02 13:37:28 -05:00
Derek Bankieris
bb9b136a66 Remove CURDIR in trickify.mk
Reverts the important parts of c909669. Trying to include another
project's build dependencies as part of a sim build doesn't work that
well.

Refs #309
2017-05-30 08:56:06 -05:00
Derek Bankieris
0bb5995397 Standardize missing S_define include error message
trick_print is not flexible enough for the kind of formatting I want to
do, so I added a new function, trick_formatted_print, that takes
alternating control sequences and strings to allow any kind of
formatting in the console. Like trick_print, it also prints to a file
with the control sequences removed.

Refs #436
2017-05-24 13:10:21 -05:00
Derek Bankieris
1dbeb3e2d4 Fix io code for classes with excluded parents
Check the return value of CXXRecordVisitor::TraverseCXXRecordDecl and
don't add information from excluded parents.
Add a parameter to PrintAttributes::isHeaderExcluded to toggle exlusion
of TRICK_EXT_LIB_DIRS paths. When traversing a CXX record, we don't
actually want to skip these paths since their io code should exist in
the Trickified library.
Fix memory leak.

Refs #435
2017-05-24 10:51:27 -05:00
Derek Bankieris
56bdafc68b Correct file extension regex in make_makefile_swig
Refs #426
2017-05-23 10:43:54 -05:00
John M. Penn
2edd7b986d Add include of errno.h to MonteVarFile.cpp. Ref #431 2017-05-22 14:07:25 -05:00
John M. Penn
7941faef3c Merge branch 'master' of https://github.com/nasa/trick 2017-05-22 13:47:46 -05:00
John M. Penn
d7e3aa4b5c Make failed ifstream error message more informative. Ref#431 2017-05-22 13:47:25 -05:00
Derek Bankieris
05b4d09b2b Sanitize field names when generating STL functions
A sanitizing function was already present in FieldVisitor.cpp. I
refactored and moved it to Utilities.
Refs #429
2017-05-22 10:37:20 -05:00