Commit Graph

40 Commits

Author SHA1 Message Date
jwatkins42
97b9c9a682 Fixed memory leak and incorrect copy bugs.
- The result of a call to realloc was erroneously thrown away, creating a potential memory leak.
 - Values were being copied to an array on the stack, then memcpy'ed into an array on the heap. Since the heap array is freshly allocated, it should be completely safe to memcpy the data directly into it.
 - The inner loop was copying the same value several times, rather than copying several values in series.
2014-12-08 22:17:55 -08:00
Chris Teubert
dd7f4cc83e Updated .gitignore to ignore mac xcuserstate files 2014-12-04 10:37:47 -08:00
Chris Teubert
a396088ed8 Removed unnecessary use of pointer in parseDATA 2014-12-04 10:35:24 -08:00
Chris Teubert
dcce37573f Quick fix- msTimeOut to usTimeOut 2014-12-03 10:26:01 -08:00
Christopher Teubert
044b613e32 Merge pull request #20 from jwatkins42/master
Removed duplicate socket initialization and clarified socket timeout.
2014-12-03 10:24:56 -08:00
jwatkins42
d70148b98d Reverted timeout changes and added clarifying comment. 2014-12-02 21:32:45 -08:00
jwatkins42
f582d7fec0 Removed duplicate socket initialization and corrected timeout values. 2014-12-02 21:01:52 -08:00
Chris Teubert
a5c75f4a64 Update to fix Windows test script bug (C) 2014-12-02 13:42:57 -08:00
Christopher Teubert
1786f4e248 Merge pull request #19 from nasa/Testing-Scripts
Updated Function Names for CPP Test
2014-12-02 12:25:30 -08:00
Chris Teubert
b8822d4ad9 Updated Function Names for CPP Test 2014-12-02 12:08:47 -08:00
Christopher Teubert
84be530e81 Merge pull request #18 from nasa/Testing-Scripts
Fix to sendPosTest (C++), Fixes to run on Windows
2014-12-02 10:42:06 -08:00
Chris Teubert
26995ddfbc Testing Updates to work with Windows 2014-12-02 10:30:31 -08:00
Chris Teubert
2f6bc72825 Fixed Buffer overrun in sendCTRL 2014-12-02 10:07:41 -08:00
Christopher Teubert
4c1a7bab86 Merge pull request #17 from nasa/Testing-Scripts
Testing improvements- C/C++
2014-12-01 15:50:52 -08:00
Chris Teubert
6ec1aceac7 Fix
Merge branch 'master' into Testing-Scripts

Conflicts:
	TestScripts/C Tests.xcodeproj/project.xcworkspace/xcuserdata/cteubert.xcuserdatad/UserInterfaceState.xcuserstate
	TestScripts/Cpp Tests.xcodeproj/project.xcworkspace/xcuserdata/cteubert.xcuserdatad/UserInterfaceState.xcuserstate
2014-12-01 15:50:09 -08:00
Chris Teubert
fce3b5a5a8 Resolved Conflicts 2014-12-01 15:42:40 -08:00
Chris Teubert
851cebeea0 Testing improvements- C/C++ 2014-12-01 15:36:37 -08:00
Christopher Teubert
9d94be5b57 Merge pull request #16 from nasa/Testing-Scripts
Fixed bug in xplaneConnect.c
2014-12-01 15:10:11 -08:00
Chris Teubert
9ea7011bfb Fixed bug in xplaneConnect.c
Fixed bug in openUDP where sockets could not be reopened in OS X
2014-12-01 14:44:06 -08:00
Chris Teubert
0718ca8e3e Renamed C Test Functions 2014-12-01 14:03:13 -08:00
Christopher Teubert
405062e475 Merge pull request #15 from nasa/Testing-Scripts
Completed Preliminary MATLAB Test Scripts
2014-11-28 17:09:56 -08:00
Chris Teubert
4bfe4fe88d Completed Preliminary MATLAB Test Scripts 2014-11-28 17:08:41 -08:00
Christopher Teubert
758e7d3150 Merge pull request #11 from nasa/Testing-Scripts
Added C Testing Scripts
2014-11-28 10:57:58 -08:00
Chris Teubert
2cb1d541d5 Added C Testing Scripts 2014-11-28 10:57:21 -08:00
Christopher Teubert
f215dbb92f Merge pull request #10 from nasa/Testing-Scripts
Testing scripts
2014-11-28 10:07:45 -08:00
Chris Teubert
6e05c4fe32 C++ Testing Script 2014-11-28 10:06:07 -08:00
Chris Teubert
e36dcbb693 Minor fix for requestDREF
Fix for requestDREF
2014-11-28 10:05:56 -08:00
Christopher Teubert
920b7685c4 Merge pull request #9 from jwatkins42/master
Converted Visual Studio include paths to relative paths.
2014-11-28 08:56:38 -08:00
jwatkins42
2dd1cfeffd Converted Visual Studio include paths to relative paths.
- Include paths were specified with absolute paths, which break as soon as the project is moved to a different location. (e.g., when cloning to a new computer from GitHub).
 - Include paths are now specified relative to the project file, so everything should work as long as the entire XPC directory is present.
2014-11-26 12:40:27 -08:00
Chris Teubert
f368ebaed0 Updated Capability Matrix 2014-11-24 14:56:43 -08:00
Chris Teubert
678b04491d Documentation/Version Number Changes 2014-11-24 12:29:40 -08:00
Christopher Teubert
1ca3ee68de Merge pull request #5 from nasa/Completing_Matlab
Completing Matlab Functions
2014-11-24 12:18:22 -08:00
Chris Teubert
e4fed91077 Documentation Changes 2014-11-24 12:15:57 -08:00
Chris Teubert
c8da9bce2a Completed requestDREF 2014-11-24 12:15:13 -08:00
Chris Teubert
28a9d7573a Updated Example - IP Address
Changed IP to 127.0.0.1
2014-11-24 12:13:38 -08:00
Chris Teubert
dde81b9706 Fixed buffer overrun in handleDREF 2014-11-24 12:13:07 -08:00
Chris Teubert
33283701f3 Git Ignore
Ignore temporary MATLAB .m~ Files
2014-11-21 14:23:15 -08:00
Chris Teubert
205e2998f4 User Guide Typo
Fix typo in C User Guide
2014-11-21 14:22:45 -08:00
Chris Teubert
8013ce1003 Initial Version 2014-10-22 15:52:38 -07:00
jasonduley
2f13ce38bd Initial commit 2014-10-22 15:10:26 -07:00