Commit Graph

1067 Commits

Author SHA1 Message Date
jmpenn
7b694931ef
Warning fixes (#658)
* Suppress expected, benign warnings from Bison and Flex generated code.

* Trick::MessageThreadedCout::thread_body should return NULL.
2018-08-16 16:02:11 -05:00
John M. Penn
8f5123e480 Included stdexcept in TRK_DataLog.cpp. Ref #657 2018-08-13 19:06:48 -05:00
John M. Penn
3ff8fc6bc0 Fix enums in MonteCarlo_test.cpp. REF #650 2018-08-08 14:36:10 -05:00
jmpenn
6790b27330
Fix heading 2018-07-31 19:05:23 -05:00
jmpenn
d90a979b36
Updates for Example Sims (#655)
* Move integloop initialization from input file to S_defines create_connections routine

* Add README.md to describe the ball sims.
2018-07-31 19:01:47 -05:00
jmpenn
84f67ef79f
Update all enums in MonteCarlo with prefixes, so as to not conflict with other enums. (#650) 2018-07-25 13:05:10 -05:00
jmpenn
6f82d11122
Refactoring in trkConvert (#649)
* refactoring: DocWindow constructor to take datalog rather than filename.

* Neatening DocWindow.cpp
2018-07-19 17:45:47 -05:00
Scott Fennell
951aae4be4
Merge pull request #648 from nasa/java-update
#647 update deprecated code
2018-07-13 15:46:33 -05:00
Scott Fennell
a6274680a5 #647 update depricated code 2018-07-13 15:15:35 -05:00
jmpenn
b0b0cdf21b
Add Search and Documentation for trkConvert (#646)
* Add Export of variable list to file.

* Create DocWindow:formattedSave, and implement saveAsCSV etc in terms of it.

* Minor spacing changes

* Add text text UI parts to DocWindow.

* Add foreward and reverse search by pattern.

* Document and configuration for Mac.
2018-07-13 13:43:03 -05:00
Scott Fennell
8a4c8e3dd9
Merge pull request #645 from nasa/configure-with-swig
add --with-swig=<path to swig binary> option to configure
2018-07-12 16:15:57 -05:00
Scott Fennell
c752dd1b2c one more line 2018-07-12 16:12:39 -05:00
Scott Fennell
5b5dc148bf remove debugging printouts 2018-07-12 16:09:07 -05:00
Scott Fennell
63ab0ffc22 changed help string for --with-swig 2018-07-12 16:05:39 -05:00
Scott Fennell
2a13bf34af add --with-swig=<path to swig> option to configure 2018-07-11 15:11:02 -05:00
Scott Fennell
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
Scott Fennell
8044c03176 #618 update trickify.mk flag name 2018-07-09 09:41:34 -05:00
Scott Fennell
a0eaf5b794 #624 Remove invalid delete in empty rec_buffer, checkpoint load no longer crashes. 2018-07-09 09:23:28 -05:00
Derek Bankieris
398907f365 Remove SIM_makefile_overrides from test makefile
Refs #626
2018-07-05 13:41:18 -05:00
Derek Bankieris
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
Scott Fennell
bf7ce2db3c #618 revert/remove TRICK_SYSTEM_SWIG_FLAGS. Wiki and trickify.mk update still required 2018-06-29 11:06:50 -05:00
jmpenn
402f7c152b
Added GUI to trkConvert. (#641) 2018-06-28 16:16:48 -05:00
anon
34dcffa7f7 add C headers to trk_DataLog.cpp 2018-06-28 10:18:49 -05:00
anon
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
John M. Penn
f87657c747 Break out classes into separate files. #639 2018-06-25 11:44:00 -05:00
Derek Bankieris
f8edd98780 Replace CC w/ CXX in Trk2csv makefile
Fixes #638
2018-06-25 10:44:51 -05:00
Derek Bankieris
ed5a5426b1 Revert "Infer TRICK_HOME automatically"
This reverts commit 6e18294100.
Refs #637
2018-06-22 08:12:38 -05:00
Derek Bankieris
6e18294100 Infer TRICK_HOME automatically
Refs #358
2018-06-21 11:40:40 -05:00
Derek Bankieris
e14e6bc1ec Fix make_makefile_src on CentOS 6
Closes #632
2018-06-21 11:40:00 -05:00
Derek Bankieris
3172be86b1 Fix special treatment of "src" AGAIN
Great feature. Really, I love it.

Refs #627
2018-06-11 13:10:36 -05:00
Derek Bankieris
7998791679 Add test sim: SIM_makefile_overrides
Refs #626
2018-06-11 13:10:36 -05:00
Derek Bankieris
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
Derek Bankieris
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
Derek Bankieris
334273fa81 Make everything about make_makefile_src better
Fixes #626 #627
2018-06-11 13:10:36 -05:00
Derek Bankieris
ea0878af26 Fix "objects:" in makefile_overrides
Fixes #626
2018-06-11 13:10:36 -05:00
jmpenn
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
abrogley
1015f6ec90 Retry curl operations to avoid transient failures. (#622) 2018-05-30 16:29:57 -05:00
Scott Fennell
aedf9ee585
Merge pull request #623 from nasa/print-target
#603 restored 'make print-%' in sim directory
2018-05-22 15:05:07 -05:00
anon
23fef115c8 #603 #623 2018-05-22 14:55:47 -05:00
anon
9a2bab0df2 #603 #623 2018-05-22 14:53:10 -05:00
anon
bd0cfec731 #603 #623 2018-05-22 14:36:46 -05:00
anon
d764a67709 #603 restored 'make print-%' in sim directory 2018-05-22 14:01:32 -05:00
Alex Lin
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
jmpenn
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
Derek Bankieris
b6f06e01c1 Ignore unordered_map in convert_swig
Fixes #620
2018-05-16 14:20:25 -05:00
Alex Lin
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
Alex Lin
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
Alex Lin
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
anon
0212ed1650 #588 top_of_frame and _end_of_frame for child threads 2018-05-11 09:49:17 -05:00
Thadeus Fleming
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