Commit Graph

53 Commits

Author SHA1 Message Date
Chris Teubert
6236ffc69d Fixed closeUDP bug in CPP Tests 2015-03-24 09:37:38 -07:00
Chris Teubert
7fa3fae689 Updated Plugin
Removed xpcPlugin.xpl from windows directory (32 and 64 bit versions
are already there). Also, changed the plugin outDesc and outSig
2015-03-24 09:37:38 -07:00
Christopher Teubert
88e659d62c Merge pull request #25 from jason-watkins/feature/ctest
Added Visual Studio solution for C test scripts and fixed test bug
2015-03-24 08:37:46 -07:00
jason-watkins
f902303b20 Added Visual Studio solution for C test scripts and fixed test bug
- Added a Visual Studio solution that builds the C test scripts on Windows.
 - Updated .gitignore to ignore user specific Visual Studio files
 - Updated .gitignore to ignore Windows build folders
 - Fixed a bug in closeTest. It now properly closes the UDP port a second time after reopening the port to verify that it closed successfully.
2015-03-23 16:10:50 -07:00
Christopher Teubert
ef6c80d7a4 Added 64-bit windows support
Added separate .xpl plugin files for win 32/64.
Updated Readme to explain.
2015-02-10 11:57:14 -08:00
Christopher Teubert
54c4363fe4 Merge pull request #24 from edowson/user/edowson
CMake Files Added and xpcExample moved into src sub-folder
2015-01-15 09:50:13 -08:00
Elvis Dowson
5853062402 C/xpcExample: Update XCode project to reference new source file location.
This commit:
- updates the XCode project to 6.1.1
- updates the reference to the xpcExample source file
- modifies the project so that some of the files that are copied across during the build phase are
  only done during deployment.

Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
2015-01-02 14:45:36 +04:00
Elvis Dowson
b3fada3c64 C/xpcExample: Add CMake support for building xpcExample that uses the xplaneconnect library.
Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
2015-01-02 14:24:34 +04:00
Elvis Dowson
6709765a48 C/xpcExample: Move sources to src sub-folder.
Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
2015-01-02 14:23:02 +04:00
Elvis Dowson
b91bdf6d35 .gitignore: Ignore build folder.
Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
2015-01-02 14:20:33 +04:00
Elvis Dowson
ba0600ee68 xplaneconnect: Add CMake support for building xplaneconnect shared and static library.
Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
2015-01-02 14:20:00 +04:00
Elvis Dowson
0b7ad8809d User Guide(C).txt: Remove trailing whitespaces.
Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
2015-01-02 14:19:07 +04:00
Christopher Teubert
520adb2d7d Merge pull request #23 from jwatkins42/bug/parseRequest
Fixed memory leak and incorrect copy bugs.
2014-12-09 09:11:59 -08:00
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