Commit Graph

83 Commits

Author SHA1 Message Date
Derek Bankieris
d5544a5991 Correct decimal formatting for ints in TrickView
3032aae added fixed-width to binary formats. Looks like I modified
TVInteger's Decimal format instead of Binary.

Refs 
2019-04-25 07:29:58 -05:00
Scott Fennell
35b4cf7880 fix right click in java uis 2019-01-24 16:19:01 -06:00
Scott Fennell
c34d2c6947 move dependance on java.se.ee to third party jars to support java 11 2018-11-05 14:01:52 -06:00
jmpenn
00b4b2c8d9
Fix incorrect initialization of units in trick-qp, and incorrect generation of XML that caused fermi tables to crash. () 2018-09-13 14:00:29 -05:00
jmpenn
fcbd99aaf4
Two Java plot fixes ()
* MinY and MaxY of Plot axis should never be the same, even with flatline data.

* In addition to a null check, add a empty units String check.
2018-09-06 14:46:08 -05:00
jmpenn
c112290265
Replace iText Java PDF library with PDFBox. () 2018-09-04 16:59:06 -05:00
Derek Bankieris
3032aae3e4 Trick View: use fixed width for binary format
Closes 
2018-08-28 08:22:56 -05:00
Scott Fennell
a6274680a5 update depricated code 2018-07-13 15:15:35 -05:00
Derek Bankieris
62f95e784f Default exit confirmation dialog to off
Worst feature ever.

Closes 
2018-05-07 08:10:31 -05:00
Scott Fennell
af6727408c Limit log file size ()
*  create new method to set max file size for DataRecordGroups.  Needs testing and DRD interface function

*  dre implementation and other improvements, needs more work

*  update dre, add intf for drd max size functions. Still requires better comments, wiki updates, some refactoring, and testing

*  refactor trick-dre

* format trick-dre

* improve readability of dre output for set_max_file_size
2018-04-10 16:02:44 -05:00
Scott Fennell
a1aaf52ce7 preparation for java 10 support for xmls annotation and improved safety of file separator call 2018-03-21 08:27:11 -05:00
Scott Fennell
4030757304 formatting 2018-03-15 15:32:44 -05:00
Scott Fennell
206a928a98 removed build.xml 2018-03-15 15:22:19 -05:00
Scott Fennell
84f15d8361 more makefile editing for java unit tests 2018-03-14 15:01:02 -05:00
Scott Fennell
eee6b12a6b edit resource locations in test source 2018-03-14 13:33:13 -05:00
Scott Fennell
8ee0614309 create directory in makefile 2018-03-14 10:55:09 -05:00
Scott Fennell
86eb23c7de added unit tests to build and 3rd party XML formatter that does not rely on ant 2018-03-14 10:29:44 -05:00
Alex Lin
573a6bf2a5 Java 9 Compatibility
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
Scott Fennell
3de9a3b2be formatting 2018-03-02 09:19:11 -06:00
Scott Fennell
2fe85f615a edited java/makefile to include java.se.ee when compiling with java 9 2018-03-02 09:19:11 -06:00
Scott Fennell
13c90afaee removed unneeded module 2018-03-02 09:19:11 -06:00
Scott Fennell
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
Alex Lin
4bf35a9c82 Revert "Merge pull request from nasa/MakefileCleanup"
This reverts commit 269ed77cb4, reversing
changes made to d97f482219.
2018-03-02 08:59:26 -06:00
Alex Lin
9dd302f4b1 Trick makefile output formatting and cleanup.
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
Alex Lin
9643311f4c Merge branch 'master' into MakefileCleanup 2018-03-01 08:32:08 -06:00
Pappy Van Winkle
bb2c6fbb91 Double clicking array variable in Trick QP adds it correctly once again.
Fixes 
2018-01-14 20:32:46 -06:00
Christopher LaChance
fbd9d3237f Cleaned up 'make' target display further. 2017-12-13 11:04:00 -06:00
Christopher LaChance
5e8cb8649f Added formating to the core makefile. Trick compilation is now visually broken into sections. 2017-12-12 12:01:35 -06:00
Christopher LaChance
1bb3ac2a06 Cleaned up 'make clean' output significantly. 2017-12-06 13:12:13 -06:00
John M. Penn
eba6118c92 Remove Line# from data products java table generation. Ref 2017-10-26 13:23:00 -05:00
John M. Penn
41558d7188 Format table column data per the format property. Ref 2017-10-25 18:17:02 -05:00
Derek Bankieris
87e59a9d17 Add reverse byte order formats to Trick View
Format added for shorts, ints, and longs.

Closes 
2017-10-03 12:02:21 -05:00
John M. Penn
841473583c Updated var server multicast address to 239.3.14.15. Ref 2017-07-05 16:40: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 
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
Thadeus Fleming
57cebe4c70 s/sepcified/specified 2017-06-16 13:58:45 -05:00
Christopher LaChance
8fb1355de3 +-NaN and +-Infinity are now correctly represented in Trick View. ()
* 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
Christopher LaChance
af6b8cbea8 Capped the maximum throttle value to 1000. ()
* 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
Alex Lin
c5fbaeb7d6 Fix fonts in java GUIs
I fixed a hard coded size=12 font in the sim control panel.
2017-03-13 11:10:24 -05:00
Derek Bankieris
9fdb5d4c51 Merge input and error streams for plotting apps
Refs 
2016-11-29 15:59:36 -06:00
Derek Bankieris
4281b92141 Fix MonteMonitor
Refs 
2016-11-29 11:28:15 -06:00
Derek Bankieris
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 
2016-11-07 08:22:55 -06:00
Derek Bankieris
2248b5bcfa Remove unused variables. Normalize formatting.
Refs # 345
2016-11-04 15:56:51 -05:00
Derek Bankieris
de69363cbd Improve formatting
Remove trailing whitespace. Replace tabs with spaces.

Refs 
2016-11-04 15:48:29 -05:00
Derek Bankieris
245389182d Automatically determine TRICK_HOME in makefile
Refs 
2016-11-04 14:49:52 -05:00
Derek Bankieris
d61fe5f3c3 Removed unused file Simcom.java 2016-11-04 14:49:52 -05:00
Derek Bankieris
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. 
2016-10-26 13:38:58 -05:00
Derek Bankieris
90eb381987 Fix indentation 2016-10-26 13:35:20 -05:00