Commit Graph

2260 Commits

Author SHA1 Message Date
c752dd1b2c one more line 2018-07-12 16:12:39 -05:00
5b5dc148bf remove debugging printouts 2018-07-12 16:09:07 -05:00
63ab0ffc22 changed help string for --with-swig 2018-07-12 16:05:39 -05:00
2a13bf34af add --with-swig=<path to swig> option to configure 2018-07-11 15:11:02 -05:00
d42f75c507 Merge pull request #640 from nasa/swig-flags
#618 add TRICK_SWIG_FLAGS, TRICK_SYSTEM_SWIG_FLAGS, TRICK_SWIG_CFLAGS, TRICK_SYSTEM_SWIG_CFLAGS...
2018-07-09 10:45:39 -05:00
8044c03176 #618 update trickify.mk flag name 2018-07-09 09:41:34 -05:00
a0eaf5b794 #624 Remove invalid delete in empty rec_buffer, checkpoint load no longer crashes. 2018-07-09 09:23:28 -05:00
398907f365 Remove SIM_makefile_overrides from test makefile
Refs #626
2018-07-05 13:41:18 -05:00
442fcadc05 Remove SIM_makefile_overrides
I failed to commit the S_define for this sim and have since cleaned it
away. I'm not remaking it.

Refs #626
2018-07-05 13:03:42 -05:00
bf7ce2db3c #618 revert/remove TRICK_SYSTEM_SWIG_FLAGS. Wiki and trickify.mk update still required 2018-06-29 11:06:50 -05:00
402f7c152b Added GUI to trkConvert. (#641) 2018-06-28 16:16:48 -05:00
34dcffa7f7 add C headers to trk_DataLog.cpp 2018-06-28 10:18:49 -05:00
ef634c9f48 #618 add TRICK_SWIG_FLAGS, TRICK_SYSTEM_SWIG_FLAGS, TRICK_SWIG_CFLAGS, TRICK_SYSTEM_SWIG_CFLAGS. *_FLAGS are swig options, *_CFLAGS are g++ compiler options for swig objects. TRICK_SYSTEM_* options should not be changed by trick users 2018-06-27 13:58:44 -05:00
f87657c747 Break out classes into separate files. #639 2018-06-25 11:44:00 -05:00
f8edd98780 Replace CC w/ CXX in Trk2csv makefile
Fixes #638
2018-06-25 10:44:51 -05:00
ed5a5426b1 Revert "Infer TRICK_HOME automatically"
This reverts commit 6e18294100.
Refs #637
2018-06-22 08:12:38 -05:00
6e18294100 Infer TRICK_HOME automatically
Refs #358
2018-06-21 11:40:40 -05:00
e14e6bc1ec Fix make_makefile_src on CentOS 6
Closes #632
2018-06-21 11:40:00 -05:00
3172be86b1 Fix special treatment of "src" AGAIN
Great feature. Really, I love it.

Refs #627
2018-06-11 13:10:36 -05:00
7998791679 Add test sim: SIM_makefile_overrides
Refs #626
2018-06-11 13:10:36 -05:00
a0faa289df Restore support for "batch compiling"
In LIBRARY DEPENDENCIES, any file ending in ".a" will cause all
files in that directory and any contained "src" directory to be
compiled. What a terrible "feature".

Refs #627
2018-06-11 13:10:36 -05:00
98b621fd6e In "src", look for makefile_overrides one level up
I don't like this "feature", but it's baggage we're stuck with for now.

Refs #626
2018-06-11 13:10:36 -05:00
334273fa81 Make everything about make_makefile_src better
Fixes #626 #627
2018-06-11 13:10:36 -05:00
ea0878af26 Fix "objects:" in makefile_overrides
Fixes #626
2018-06-11 13:10:36 -05:00
882b568b86 Fix enums in MonteCarlo ExitStatus to less susceptible to conflict wi… (#628)
* Fix enums in MonteCarlo ExitStatus to less susceptible to conflict with other code. ref #609

* Add MC_ prefix to ExitStatus enums. Ref #609
2018-06-05 15:10:08 -05:00
1015f6ec90 Retry curl operations to avoid transient failures. (#622) 2018-05-30 16:29:57 -05:00
aedf9ee585 Merge pull request #623 from nasa/print-target
#603 restored 'make print-%' in sim directory
2018-05-22 15:05:07 -05:00
23fef115c8 #603 #623 2018-05-22 14:55:47 -05:00
9a2bab0df2 #603 #623 2018-05-22 14:53:10 -05:00
bd0cfec731 #603 #623 2018-05-22 14:36:46 -05:00
d764a67709 #603 restored 'make print-%' in sim directory 2018-05-22 14:01:32 -05:00
6ce60cb2ec Is Trick ICG missing some uses of TRICK_ICG #608
Some functions changed signatures in 3.5, others in 3.7.
2018-05-18 08:38:28 -05:00
f7567aa9be Add lqueue.h lstack.h, and dllist.h to the list of Trick files that are ICG'ed. #614. (#621) 2018-05-17 11:23:44 -05:00
b6f06e01c1 Ignore unordered_map in convert_swig
Fixes #620
2018-05-16 14:20:25 -05:00
a8314b1497 Merge pull request #615 from nasa/framelog_fix
#588 top_of_frame and _end_of_frame fix for scheduled threads
2018-05-16 09:16:36 -05:00
bf1ab16793 Merge pull request #617 from iamthad/pr_set_ptracer
Fix debugger attach when ptrace is restricted
2018-05-16 09:16:14 -05:00
1e783fb49c When we are copying recorded data into a buffer we use a pointer to track the
buffer position.  This pointer wasn't used in DR_Changes_Step and was corrupting
the pointer initialization later in the write function.
2018-05-16 09:08:39 -05:00
0212ed1650 #588 top_of_frame and _end_of_frame for child threads 2018-05-11 09:49:17 -05:00
54fe22684a Fix debugger attach when ptrace is restricted
Trick's backtrace or attach functionality fails on systems like Ubuntu
where the use of ptrace(2) is restricted. Where it is defined, use the
PR_SET_PTRACER prctl with the argument PR_SET_PTRACER_ANY to allow any
process to attach.
2018-05-10 07:19:30 -05:00
be6f9dc855 Trick will not compile with llvm 6.0 and Xcode 9.2 on the mac. #579
Found a new language option we need to set in ICG when llvm >= 6.0 to parse
header files correctly.  The option is DoubleSquareBracketAttributes.
2018-05-07 16:26:20 -05:00
62f95e784f Default exit confirmation dialog to off
Worst feature ever.

Closes #612
2018-05-07 08:10:31 -05:00
8bba7ac30f Merge github.com/trick 17.3.0 updates to developer.nasa.gov/trick 2018-04-25 16:40:42 -05:00
ba2df0757e #604 #490 add java.se.ee to application at runtime. (#605) 17.3.0 2018-04-23 17:10:49 -05:00
f412125715 Is Trick ICG missing some uses of TRICK_ICG #608
Yes, it is, it's missing all of them.  Any clang/llvm version 3.5 and
above.  So it's been broken for a while.  We inherit from a
clang class that processes preprocessing statements.  If we override
virtual functions of a certain signature, we can inject our code into
the preprocessing process.  In this case we're looking for the use
of TRICK_ICG.  Clang changed the function signature in version 3.5.
From 3.5 on our functions were never called, so we never would find
TRICK_ICG.  I created new signatures for the functions post 3.5 so
they will work again.
2018-04-23 16:40:32 -05:00
c44239a382 Merge pull request #606 from pappyvw/configure-fixes
Configure fixes
2018-04-23 08:44:13 -05:00
206ca5710d Fix configure's gcc version check. #593
We don't want to test the gcc version on the mac.  It is clang
underneath and it does not report a version >= 4.8.  On High Sierra
it reports 4.2.1
2018-04-23 08:36:13 -05:00
e313264305 Update configure script based on configure.ac changes.
Relates to: #492, #592, #593
2018-04-21 13:07:18 -05:00
505872c859 Check for minimum clang version > 3.4.2 (#592) 2018-04-21 13:00:30 -05:00
0bf5d4a928 Fix configure's gcc version check. (#593)
The existing AX_GCC_VERSION macro was deprecated. Using
https://stackoverflow.com/questions/7067385/find-the-gcc-version
as a template for an equivalent check.
2018-04-21 12:58:13 -05:00
b5127ab93a Add configure check for 'curl'. (#492) 2018-04-21 12:57:57 -05:00