Commit Graph

15 Commits

Author SHA1 Message Date
Christopher Teubert
aac59dccf1 Merge pull request #26 from jason-watkins/master
CTest Fixes
2015-03-24 16:49:44 -07:00
Jason Watkins
66b074d89b Tweaks to fix setCONNTest on Windows 8
- Temporarily disabled the sending of a CONF message from the plugin in response to setCONN. The CONF message causes crashes on Windows 8 when setCONN is called multiple times.
 -  Removed code that attempted to free result slots in parseRequest before overwritting them with new allocations. The CTests suite currently calls parseRequest with a multidimensional array allocated on the stack, resulting in an attempt to free stack memory. A better solution may be to simply check whether the existing result slots are long enough.
 - As of this commit, all tests in the CTests suite are passing on Windows 8 for X-Plane 9, X-Plane 10 23bit and X-Plane 10 64bit.
2015-03-24 16:11:37 -07:00
Jason Watkins
fbeb297717 Fixed CTests bugs, minor plugin enhancements, and removed old files
- Fixed incorrect message buffer size in sendCTRL function.
 - Fixed a bug in sendCTRLTest where not all DREF sizes were being set.
 - Increased message buffer size in sendReadTest to account for assumptions made by sendUDP.
 - Fixed a bug in updateLog where the log message would sometimes start with several null characters, causing the log message to be effectively ignored by fprintf.

 - The xpcPlugin Visual Studio solution now supports 32 bit and 64 bit builds.
 - Logging performed by the plugin now works correctly on Windows.
 - Long log messages are now truncated to 500 characters. Previously, messages over 500 characters would be omitted, and an error message logged in their place.

 - Several files which were incorrectly added to source control have been deleted.
2015-03-24 14:29:39 -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
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
Chris Teubert
dd7f4cc83e Updated .gitignore to ignore mac xcuserstate files 2014-12-04 10:37:47 -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
e36dcbb693 Minor fix for requestDREF
Fix for requestDREF
2014-11-28 10:05:56 -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
678b04491d Documentation/Version Number Changes 2014-11-24 12:29:40 -08:00
Chris Teubert
e4fed91077 Documentation Changes 2014-11-24 12:15:57 -08:00
Chris Teubert
dde81b9706 Fixed buffer overrun in handleDREF 2014-11-24 12:13:07 -08:00
Chris Teubert
8013ce1003 Initial Version 2014-10-22 15:52:38 -07:00