Commit Graph

163 Commits

Author SHA1 Message Date
Chris Teubert
6631814438 Updated Copyright Year, Version #, Mac Binary 2017-05-03 10:20:59 -07:00
Chris Teubert
10f3ce2854 Fixed Issue with clearing buffer breaking response messages 2017-05-02 12:00:00 -07:00
Chris Teubert
1dfe7bff66 fixed include time in c client (#102) 2017-04-24 10:52:03 -07:00
Jason Watkins
f1855e9c00 Updated Linux binaries 2016-07-07 10:05:14 -07:00
Jason Watkins
312829420d Updated Windows binaries 2016-07-07 09:55:20 -07:00
Jason Watkins
35285cac2f Updated SetPosition
- SetPosition now updates the aircraft's orientation after moving the aircraft
 - This should improve the handling of the aircraft when setting the position while paused and then unpausing
 - Fixes #91
2016-06-20 10:01:40 -07:00
Chris Teubert
7bd16df72b Updated Mac Binary 2016-03-07 17:26:05 -08:00
Jason Watkins
470219694c Remove unused method from Message.h 2016-03-01 16:31:40 -08:00
Jason Watkins
ec151a2248 Update copyright year. 2016-03-01 16:31:14 -08:00
Jason Watkins
d5a88d0aaa Updated dead code in XPCFlightLoopCallBack and removed unused variables.
Resolves #84
2016-03-01 16:28:16 -08:00
Chris Teubert
d548186252 Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	C/src/xplaneConnect.c
#	xpcPlugin/XPlaneConnect/mac.xpl
#	xpcPlugin/xpcPlugin.xcodeproj/project.pbxproj
2016-02-29 12:51:42 -08:00
Chris Teubert
cfdd183214 Merge branch 'master' into develop
# Conflicts:
#	xpcPlugin/XPlaneConnect/mac.xpl
#	xpcPlugin/xpcPlugin.xcodeproj/project.pbxproj
2016-02-29 12:48:30 -08:00
Chris Teubert
9187c82e56 Fixes for MATLAB and C Examples, Updated Mac Binary 2015-08-25 10:50:15 -07:00
Jason Watkins
1ec7649569 Updated Linux binaries 2015-08-20 09:53:12 -07:00
Jason Watkins
dbeabc6779 Updated PrintToLog method in Message.cpp to handle all current message types and to work reliably across platforms. 2015-08-20 09:46:13 -07:00
Chris Teubert
7c58c627ff Minor fixes and Mac Binary
- Added Mac Binary
- Fixed missing returns in PosiTests.h
- Fixed bug in DataManager where FormatLine was being sent a string
instead of a c string
- Increased mac timeout
2015-08-20 09:17:19 -07:00
Jason Watkins
ae72eed8e5 Fixed missing format argument in dref logging. 2015-08-20 08:16:37 -07:00
Jason Watkins
e932179e20 Updated plugin version number and new Windows binaries 2015-08-20 08:12:20 -07:00
Jason Watkins
b4d1a8a980 Added playback example to C client 2015-07-30 08:51:38 -07:00
Jason Watkins
b6be2510c5 Fix version numbers 2015-06-16 13:11:17 -07:00
Jason Watkins
efc99c3eae Make pointer in Log.cpp const to avoid deprecated conversion warning on gcc. 2015-06-08 09:40:11 -07:00
Jason Watkins
e0200ce29e Fix CMakeLists for Linux builds.
- Removed source file that no longer exists.
2015-06-08 09:33:18 -07:00
Jason Watkins
4b6b1d57ce Fixed logging typos 2015-06-02 14:28:41 -07:00
Jason Watkins
0b562d1fce Added getPOSI and getCTRL support to the C client. 2015-06-02 14:28:36 -07:00
Jason Watkins
292f347982 Added GCTRL and GPOS commands to the plugin. 2015-06-02 13:44:27 -07:00
Jason Watkins
dcdcf22751 Fix compilation issues on Linux and update Linux binaries.
- The Linux binaries for the 1.1 release were built on the wrong branch, and so include none of the v1.1 changes. This patch fixes some minor compiler errors and includes properly updated binaries.
2015-06-01 12:50:36 -07:00
Jason Watkins
ece43c3c30 Merge pull request #72 from nasa/release-1.1.0
Release 1.1.0
2015-05-27 10:38:37 -07:00
Jason Watkins
a17b29881d Updated Linux binaries 2015-05-27 10:35:52 -07:00
Jason Watkins
3189eaaed1 Updated Windows binaries. 2015-05-27 10:33:11 -07:00
Chris Teubert
cc094f46c2 Updated Mac Binary 2015-05-27 10:21:18 -07:00
Jason Watkins
784d2ea2bb Added message magic number to debug log. 2015-05-20 16:32:40 -07:00
Chris Teubert
bb104b63f4 New Mac Binary 2015-05-20 10:18:28 -07:00
Chris Teubert
a2fadc5b6a Update Mac Project 2015-05-20 10:18:21 -07:00
Chris Teubert
2889f4e3ce Fixed sending string to FormatLine
varargs does not support type String.
2015-05-20 10:18:13 -07:00
Chris Teubert
be8f92eaa2 Fixed use of previous writeline format in #if __APPLE__ segment 2015-05-20 10:17:42 -07:00
Jason Watkins
acac0063d7 Removed extra space in Log::FormatLine 2015-05-14 14:42:29 -07:00
Jason Watkins
748d37c4d9 Fixed logging bug with varargs and dialed back excessive trace logging in Message. 2015-05-14 14:23:11 -07:00
Jason Watkins
693c5f3d23 Moved handling of deafult values to the DataManager class. 2015-05-14 13:35:55 -07:00
Jason Watkins
238c82454c Merge branch 'release-1.0.1' into develop
Conflicts:
	C/src/xplaneConnect.c
	MATLAB/+XPlaneConnect/XPlaneConnect.jar
	MATLAB/+XPlaneConnect/sendDREF.m
	xpcPlugin/XPlaneConnect/mac.xpl
2015-05-14 13:20:15 -07:00
Chris Teubert
1cde0e4086 Updated Mac Binary & Fixed 32-bit building bug 2015-05-14 12:36:44 -07:00
Jason Watkins
bd0c15bede Improved trace logging. 2015-05-12 15:47:55 -07:00
Jason Watkins
8e46a90557 Fixed several typos in comments. 2015-05-12 14:32:35 -07:00
Jason Watkins
236cdc02fa Moved flight loop callback registration/unregistration to to the enable/disable functions. 2015-05-11 16:45:34 -07:00
Jason Watkins
46bd09e7b4 Increment version number. 2015-05-11 15:17:36 -07:00
Jason Watkins
c0efe91b60 Improved consistency of comment formatting. 2015-05-11 15:17:04 -07:00
Jason Watkins
a406b82f44 Updated versions and improved comments. 2015-05-11 15:07:41 -07:00
Jason Watkins
a2c1f83629 Refactored logging.
- Logging levels are now named preprocessor defines
 - Logging level is now a parameter for WriteLine/FormatLine
2015-05-11 14:51:47 -07:00
Jason Watkins
044a7498f7 Converted value type string args to const references. 2015-05-11 12:29:40 -07:00
Jason Watkins
abff97a411 Tweaks to improve code clarity. 2015-05-11 10:31:13 -07:00
Jason Watkins
ceba580450 Addressed issues found by Google code lint.
Fixed:
 - Removed trailing whitespace.
 - Removed out of date TODO's.
 - Added #include<algorithm> to DataManager.cpp
 - Reordered includes to include C system headers before C++ system headers.
 - Added username to TODO's
 - Renamed include guards to use full project name as prefix.
 - Made methods and parameters const where possible.
 - Made UDPSocket constructor explicit.

Won't Fix:
 - snprintf is introduced in C++11.
 - Trailing comments at the end of namespace & header guards
 - Did not re-inlude headers already included by the matching XPC header.
 - localtime is fine since X-Plane is not multithreaded at all on the plugin side.
 - Linter confuses #elif with parens as a function call.
 - namespace indentation
2015-05-08 15:18:24 -07:00