Commit Graph

67 Commits

Author SHA1 Message Date
86eb23c7de #521 added unit tests to build and 3rd party XML formatter that does not rely on ant 2018-03-14 10:29:44 -05:00
573a6bf2a5 Java 9 Compatibility #572
Made changes to the command to get the java version to make it
compatible with the mac.  Also snuck in my perl script to parse
out the version.
 ____           _ _  _   _____
|  _ \ ___ _ __| | || | | ____|_   _____ _ __
| |_) / _ \ '__| | || |_|  _| \ \ / / _ \ '__|
|  __/  __/ |  | |__   _| |___ \ V /  __/ |
|_|   \___|_|  |_|  |_| |_____| \_/ \___|_|
2018-03-02 09:19:11 -06:00
3de9a3b2be formatting 2018-03-02 09:19:11 -06:00
2fe85f615a #490 #494 edited java/makefile to include java.se.ee when compiling with java 9 2018-03-02 09:19:11 -06:00
13c90afaee removed unneeded module 2018-03-02 09:19:11 -06:00
a2cf18f6d3 Added needed module compiler flags and changed MtvView Vector<Object> to Vector<Vector> for Java 9 DefaultTableModel constructor compatibility 2018-03-02 09:19:11 -06:00
4bf35a9c82 Revert "Merge pull request #533 from nasa/MakefileCleanup"
This reverts commit 269ed77cb4, reversing
changes made to d97f482219.
2018-03-02 08:59:26 -06:00
9dd302f4b1 Trick makefile output formatting and cleanup. #533
Removed the red from the clean rules.  We'd like to reserve red for
errors.  Ended up removing all color from the clean side.
2018-03-01 08:51:57 -06:00
9643311f4c Merge branch 'master' into MakefileCleanup 2018-03-01 08:32:08 -06:00
bb2c6fbb91 Double clicking array variable in Trick QP adds it correctly once again.
Fixes #539
2018-01-14 20:32:46 -06:00
fbd9d3237f Cleaned up 'make' target display further. 2017-12-13 11:04:00 -06:00
5e8cb8649f Added formating to the core makefile. Trick compilation is now visually broken into sections. 2017-12-12 12:01:35 -06:00
1bb3ac2a06 Cleaned up 'make clean' output significantly. 2017-12-06 13:12:13 -06:00
eba6118c92 Remove Line# from data products java table generation. Ref #497 2017-10-26 13:23:00 -05:00
41558d7188 Format table column data per the format property. Ref #496 2017-10-25 18:17:02 -05:00
87e59a9d17 Add reverse byte order formats to Trick View
Format added for shorts, ints, and longs.

Closes #482
2017-10-03 12:02:21 -05:00
841473583c Updated var server multicast address to 239.3.14.15. Ref #452 2017-07-05 16:40:22 -05:00
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
38960e6505 Made brackets consistent on modificaitons. 2017-06-21 08:16:09 -05:00
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
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
57cebe4c70 s/sepcified/specified 2017-06-16 13:58:45 -05:00
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
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
c5fbaeb7d6 Fix fonts in java GUIs #192
I fixed a hard coded size=12 font in the sim control panel.
2017-03-13 11:10:24 -05:00
9fdb5d4c51 Merge input and error streams for plotting apps
Refs #355
2016-11-29 15:59:36 -06:00
4281b92141 Fix MonteMonitor
Refs #354
2016-11-29 11:28:15 -06:00
eedd0783cd Replace multiple radian units with single instance
One of the constructor parameters enables automatic creation of
SI-prefixed versions of the root unit, which obviates the need to
create them individually.

Refs #345
2016-11-07 08:22:55 -06:00
2248b5bcfa Remove unused variables. Normalize formatting.
Refs # 345
2016-11-04 15:56:51 -05:00
de69363cbd Improve formatting
Remove trailing whitespace. Replace tabs with spaces.

Refs #345
2016-11-04 15:48:29 -05:00
245389182d Automatically determine TRICK_HOME in makefile
Refs #344
2016-11-04 14:49:52 -05:00
d61fe5f3c3 Removed unused file Simcom.java #343 2016-11-04 14:49:52 -05:00
cde7c02d22 Use 1/0 instead of True/False in TVBoolean.java
The use of True/False prevents the plotting of booleans, as those values
cannot be parsed as doubles. While it's conceptually more pleasing to
use the actual Python keywords for booleans, numbers will work just as
well and allow plotting. #337
2016-10-26 13:38:58 -05:00
90eb381987 Fix indentation 2016-10-26 13:35:20 -05:00
0a664abdeb Prepend trick app launch commands with trick- #336 2016-10-26 12:12:49 -05:00
bb93300c5c Trick View: update to handle udunits #262
Updated unit symbols to match those in udunits.
2016-08-04 08:54:07 -05:00
51fcdcb9cb #274 Purged obsolete StripChartApplication 2016-08-02 10:04:48 -05:00
48ad85d0af Some Trick jobs are labeled "simobject.classPtr->Foo()" trick_dp barfs on the "->" string
The "->" string interferes with some code in quick plot trying to split array ranges into
individual variables.  The old code only tested for the '-' character.  Changed these
checks to regular expressions that only match '-' if it is not followed by '>'.  Also
converted tabs to spaces throughout the file, hence the big diff.

refs #51
2016-06-30 15:35:23 -05:00
68a25a74ae refs #257 Ignore -psn_* arguments 2016-06-27 12:46:23 -05:00
82d950bb9a Use udunits package for units conversions
Changed the java GUIs to use udunit symbol names

refs #231
2016-05-17 10:58:08 -05:00
eee36193ea refs #219 Present a dialog that allows per-unit selection for multidimensional units 2016-04-11 10:06:51 -05:00
7d5e501012 Add option to validate pointer addresses in variable server clients
Added an option on the settings panel in TV to toggle validating
addresses.  Removed the now deprecated resolve_bad_refs button.

refs #193
2016-02-25 11:11:02 -06:00
51715a0650 trick-sniffer calls trick-simcontrol by old name
Changed the system call to use the new name.

refs #194
2016-02-25 09:02:23 -06:00
912778423b Fix Sniffer to use the new binary names, which are prepended with trick- 2016-02-22 09:42:22 -06:00
a8c8c49f0d Stripchart does not start with input file
Found that the stripchart calls itself when reading variables
from an input file.  The command to call itself was using the old
executable name trick_stripchart instead of the new trick-stripchart.

refs #166
2016-01-20 16:50:23 -06:00
87a48b36f5 make javadoc broken
The makefile rule javadoc was misnamed docs in trick_source/java/makefile. I fixed hundreds
of warnings and errors that were present when creating the java docs.

refs #159
2016-01-12 16:39:47 -06:00
80b8f99723 MTV/variable server crashes if checkpoint has less malfunctions then currently running sim
Added a case statement for the bad ref type to the binary data handler.  We handle a bad
ref as an integer, because that is what the sim sends us.  This fixes MTV.

refs #117
2015-09-14 15:11:20 -05:00
c11f04644c refs #118
Removed unused VarClient.java.
2015-09-14 14:30:24 -05:00
000f101a4f Fixes #68: Changed the path where TrickDPActionController expects to find jar files 2015-06-17 15:11:29 -05:00
eed8837478 Standardize directory names
RedHat systems use a libexec directory, MacOSX and Ubuntu use lib.  Changed our scripts and makefiles to handle both.

refs #63
2015-06-12 15:24:36 -05:00