Commit Graph

1239 Commits

Author SHA1 Message Date
Alex Lin
bb1457c1b1 Remove java class files when making an rpm.
Added a makefile rule that only removes the intermediate java class
files when we are cleaning out stuff for an rpm.

fixes #61.
2015-05-21 16:57:20 -05:00
Alex Lin
366afd27dc Data Record binary endianness is determined by uninitialized variable
Initialized the variable that DRBinary is using to check for little/big
endianness.

fixes #60
2015-05-21 16:47:11 -05:00
Alex Lin
caf79f5e45 Monte Carlo shell command not set correctly when use shell used.
When a user shell is specified, the command is never written into
the buffer that is used to start a slave.

fixes #59
2015-05-21 16:40:01 -05:00
Alex Lin
2e78e89a5b Merge branch 'master' of https://github.com/nasa/trick 2015-05-21 16:31:28 -05:00
Alex Lin
5bfee865cd Creating 15.0.0 release
Incrementing version number in trick_ver.txt to 15.1.0

refs #56
2015-05-21 16:30:28 -05:00
John M. Penn
205bda4375 Refs #58: Fixed generation of the monte_header file. 2015-05-19 17:30:26 -05:00
Alex Lin
514a06a0f7 Creating changelog for release.
Creating changelog for release.

refs #56
2015-05-18 14:57:28 -05:00
John M. Penn
899b0d3efe Merge branch 'master' of https://github.com/nasa/Trick 2015-05-15 10:41:36 -05:00
John M. Penn
bc9746db6c Fix #55: Fix problem in stringstream declaration 2015-05-15 10:41:08 -05:00
Alex Lin
83e68ef26e JITEvents are not checkpointable
JITEvents all need C bindings.  They need to be extern "C"ed if they are in C++.

Refs #53
2015-05-14 13:55:09 -05:00
Alex Lin
24fe5adaec JITEvents are not checkpointable
Changed the way JITEvents are created and handled. Instead of taking a function pointer directly we save a name of a function to the JITEvent class.  The class will dynamically look up a function that matches the name both during event creation and during checkpoint restart.

Fixes #53
2015-05-14 13:41:17 -05:00
John M. Penn
eb46419951 Fix #55 : Use stringsstreams to build paths rather than a fixed size char array. 2015-05-12 18:00:49 -05:00
Derek Bankieris
08138fef87 Moved psi up in the list of units for pressure in Trick View.
refs #54
2015-05-11 15:40:12 -05:00
Derek Bankieris
f85c8e6787 Added psi to the list of units for pressure in Trick View.
fixes #54
2015-05-11 15:30:11 -05:00
John M. Penn
d8013068cc Fix #52 : Created a python script to generate the changelog 2015-05-05 11:19:48 -05:00
Alex Lin
108ec3ebf9 Add more files to exclude from release
data_products/DPX/test is not used.  We need to fix it or delete it, but for now we need to exclude it from releases.

refs #49
2015-04-30 16:50:03 -05:00
Alex Lin
2972685f71 Development flag needs to be set in configure script
The source release will need everything compiled so everyone who downloads the source needs the developer flag turned on.

refs #50
2015-04-30 16:46:46 -05:00
Alex Lin
13b2ba6446 Add .gitattributes file to exclude files from release.
refs #49
2015-04-30 14:56:40 -05:00
Alex Lin
1b5ed16686 Add batch files to start GUIs under Windows
Forgot need to keep the name of the directory that houses the
batch files bin, not bat.
2015-04-29 15:33:33 -05:00
Alex Lin
7ecfcad90a Add batch files to start GUIs under Windows
Added a couple of batch files in the java GUI area so they can be used with
Windows.  Made an addition in TrickApplication.java to add the .bat suffix
to script calls when using Windows.

Fixes #47
2015-04-29 15:01:45 -05:00
John M. Penn
6aff648c0d Change trick_ver.txt to 15.0.0 and add Change Log. Fix #46 2015-04-27 10:17:20 -05:00
John M. Penn
8608fd73fc Fix#45: removed thread_version and services issues cruft 2015-04-24 15:51:09 -05:00
John M. Penn
936bb9cce2 Fixes #42: Fixed makefile for graphics app for Satellite model. 2015-04-08 15:48:08 -05:00
Alex Lin
871c6904d5 make install incomplete
Perl scripts linked into /usr/local/bin or anyother directory needs
to use FindBin qw($RealBin) instead of just FindBin qw($Bin).  Realpath
will find the absolute path to where the script actually lives and the
pm directory that holds the perl modules.
2015-04-06 14:31:58 -05:00
Alex Lin
24a081a32b Event messages not printing
After further discussion, it was revealed that the event printouts would stop
coming out if a new event was created.  Found that the constructor of the
event was clearing out the static info_msg flag all events used to test
for printing.  Removed the assignment in the constructor and set the
initial value of the info_msg flag to false at the declaration point.

Fixes #38
2015-04-06 08:19:16 -05:00
Alex Lin
9ab5406573 Revert "Remove dependency on perl Digest::MD5"
This reverts commit be6d918053.

Undo #29.
2015-04-06 08:00:51 -05:00
Derek Bankieris
203a1bd31d Fixes #39: Added logic to restore missing strip chart properties when loaded from a TV file. 2015-04-02 14:16:13 -05:00
Derek Bankieris
df39400847 Merge branch 'master' of https://github.com/nasa/Trick 2015-04-02 14:14:16 -05:00
John M. Penn
c1619156a9 Fixed the way that Trick::MemoryManager::ref_dim() calculates the sizes of elements in an unconstrained array. Fixes #37. 2015-03-30 17:36:54 -05:00
John M. Penn
1769db5e33 A few touchups to SIM_parachute README. Fix #36 2015-03-27 16:59:30 -05:00
John M. Penn
ef5bbef665 Fix heading in SIM_parachute README. Fix #36 2015-03-27 16:35:22 -05:00
John M. Penn
68fcb0e885 Alas Github Markup doesn't appear to like MathML. Fixes #36 2015-03-27 16:26:34 -05:00
John M. Penn
c47e650d1e Wrote a README file that clearly describes the simulation. Also updated the simulation code to be clear and consistent with the documentation. Fixes #36 2015-03-27 15:56:15 -05:00
Alex Lin
ea71eefd52 Can't access fields in REGULA_FALSI structure in python
Added regula_falsi.h to the list of files we process with SWIG
when building everything.

Fixes #34
2015-03-26 08:40:02 -05:00
Alex Lin
7544d9cca7 Remove overloaded fields in Integrator/trick_algorithms/ABM_Integrator.hh
Removed the overloaded fields.

Fixes #33
2015-03-26 08:04:17 -05:00
Alex Lin
94b2a4eff0 Checkpoints cannot handle overloaded names
I think I ran into this before.  The offsetof calls that use
fully qualified fields in classes is not compilable using clang
on the Mac.  So I've decided to only conditionally compile this
code for non Apple platforms.  So this fix will work in Linux,
but not on Macs.  We'll have to revisit this and see if we
can make it work for both.

refers to #31
2015-03-25 17:15:42 -05:00
John M. Penn
6d13282e90 Merge branch 'master' of https://github.com/nasa/Trick 2015-03-25 16:34:20 -05:00
John M. Penn
6f989c9157 Implement Felix Baumgartner parachutist simulation. Fixes #32 2015-03-25 16:23:59 -05:00
Alex Lin
3e0abdddc5 Checkpoints cannot handle overloaded names
When a field is processed in a class it is added to a list.  This list
will contain the fields from base classes the current class inherits
from.  We check the list of fields we inherited, if we find that the
current field overloads the name of an inherited field we adjust the
inherited field's name to be shown as the fully qualified name in io_src
code.

Fixes #31
2015-03-25 15:58:33 -05:00
Alex Lin
2fa76ce704 Remove dependency on perl Data::Dumper
Removed all references to Data::Dumper.  Only one module was
even using the Data::Dumper.

Fixes #30.
2015-03-25 15:50:55 -05:00
John M. Penn
8536208822 Removed erroneous stringstream declaration, which compiled on MacOSX but failed on Linux. 2015-03-25 15:47:36 -05:00
John M. Penn
f5334e07d7 Merge branch 'devel'
to fix issue #25.
2015-03-25 12:06:15 -05:00
John M. Penn
08be591e32 Replace message_publish calls with MemoryManager specific calls. fixes #25 2015-03-25 12:05:25 -05:00
Alex Lin
be6d918053 Remove dependency on perl Digest::MD5
We were using md5_hex to generate a unique file id from a full path
filename.  Changed this to use the file device and inode id instead.
Should still provide unique file ids and the file names are shorter
too.

Fixes #29
2015-03-25 10:43:25 -05:00
Alex Lin
c5456fab2a Variable Server fails to establish listen port on restart under a specific circumstance.
Added a test in the variable server listen restart job to see if the the name of the
machine in the checkpoint file matches the machine that we are running on.  We
test all of the network names avaiable on the machine.  If the name is not found then
we assume that the checkpoint was taken on another machine and wipe out the machine
name.  This will default the machine name back to localhost.

Fixes #24.
2015-03-24 15:16:35 -05:00
Alex Lin
ea085eb9ee Fixes io_src code for typedef structures.
Found that my check for embedded classes was also catching some typedef structures.
This was causing some io_src code not to be generated.  Changed the test so that
we can differentiate between embedded classes and the typedefs.

This change fixes #10 and fixes #23.
2015-03-24 11:01:31 -05:00
Derek Bankieris
4c5839d437 Merge branch 'master' of https://github.com/nasa/Trick 2015-03-24 07:42:34 -05:00
Derek Bankieris
df6e86e7cb Made VariableServerConnection autocloseable. 2015-03-24 07:42:07 -05:00
John M. Penn
e2be23c269 Add emitMessage, emitError, and emitWarning member functions to MemoryMananger 2015-03-23 17:21:35 -05:00
Alex Lin
48a09d386e CP needs more verbose checking of makefile generation
CP now tests if the current directory is writable before
trying to create a makefile and compile the sim.

Fixes #26.
2015-03-23 17:07:38 -05:00