Commit Graph

446 Commits

Author SHA1 Message Date
Chris Teubert
985d5f94ba Updated C Tests Xcode Project 2015-05-20 10:23:09 -07:00
Chris Teubert
a3fa77d87c Fixed missing return in some c tests 2015-05-20 10:22:59 -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
05e0deeb0a Fixed bug in C client WYPT command. 2015-05-14 14:41:53 -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
Christopher Teubert
9b28d4b1fd Merge pull request #63 from nasa/release-1.0.1
Release 1.0.1
2015-05-14 13:00:52 -07:00
Chris Teubert
1cde0e4086 Updated Mac Binary & Fixed 32-bit building bug 2015-05-14 12:36:44 -07:00
Chris Teubert
d211c00384 Fixed timout time for Mac Client 2015-05-14 09:10:00 -07:00
Jason Watkins
cea1f7e91c Updated MATLAB client Jar file 2015-05-14 09:00:31 -07:00
Jason Watkins
99f98d0994 Fixed packet length error in Java client. 2015-05-14 08:54:47 -07:00
Jason Watkins
d826bb97c6 Fixed typo in MATLAB client. 2015-05-14 08:39:25 -07:00
Jason Watkins
4835b5ac9f Fixed closeUDP in the MATLAB client to correctly remove closed clients from the global list. 2015-05-14 08:33:20 -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
Jason Watkins
513747867c Merge branch 'view-command' into develop
Resolves #68
2015-05-08 14:39:44 -07:00
Jason Watkins
60795b10a5 Added support for VIEW command in MATLAB client. 2015-05-08 14:38:37 -07:00
Jason Watkins
255877eee3 Added support for VIEW command to Java client. 2015-05-08 14:38:36 -07:00
Jason Watkins
039c92b2f1 Added support for VIEW command to Python client. 2015-05-08 14:38:36 -07:00
Jason Watkins
579cad0655 Added support for VIEW command to the C client. 2015-05-08 14:38:31 -07:00
Jason Watkins
835f1e6527 Added support for the VIEW command to the plugin.
- The VIEW command allows clients to change the camera position in X-Plane.
2015-05-08 09:03:23 -07:00
Jason Watkins
386adba561 Removed Docs folder. All information contained there is superseded by the GitHub wiki. 2015-05-07 15:34:45 -07:00
Jason Watkins
c629a15dd7 Fixed bug in validation check order of DataManager::SetGear 2015-05-07 15:31:12 -07:00
Jason Watkins
399d59d90b Merge branch 'dref-send-multiple' into develop
Resolves #61
2015-05-07 15:30:51 -07:00
Jason Watkins
22a864a8dc Added support for sending multiple datarefs to the MATLAB client. 2015-05-07 15:30:09 -07:00
Jason Watkins
e0c0f2f6bd Added support for sending multiple datarefs to the Java client. 2015-05-07 15:30:08 -07:00
Jason Watkins
5717b0f67a Added support for sending multiple datarefs to the Python client and fixed setCONN bug. 2015-05-07 15:30:08 -07:00
Jason Watkins
c568fc6425 Merge branch 'c-test-refactor' into dref-send-multiple 2015-05-07 15:29:38 -07:00
Jason Watkins
f2e64a30f2 Added support for sending multiple datarefs to the C client. 2015-05-07 15:24:57 -07:00
Jason Watkins
ec759cbbff Refactored C Tests
The C client tests were getting a bit unwieldy. Moved each block of tests to a separate file based on the functionality being tested. I've just put all of the test code directly in the headers because there doesn't seem to be any reason for the test headers to be included anywhere except in main.c.
2015-05-07 15:24:57 -07:00
Jason Watkins
0884cfd395 Added support for setting multiple datarefs to the plugin.
- The DREF command now uses the packet length to detect and set multiple datarefs in a single packet.
2015-05-07 15:24:56 -07:00
Jason Watkins
e3bc25d510 Updated description of logging levels and changed default logging verbosity. 2015-05-07 15:24:56 -07:00
Chris Teubert
8d5af7e47e Mac Binary 2015-05-06 10:39:40 -07:00
Chris Teubert
ed16227103 Changed mac C++ compiler to 98 2015-05-06 10:39:40 -07:00
Chris Teubert
5b7fc9fb14 Removed comma at end of enum 2015-05-06 10:39:40 -07:00
Chris Teubert
37c22bd963 Added prototypes for functions not in header 2015-05-06 10:39:40 -07:00
Jason Watkins
1e83dacdc5 Merge branch 'python-example' into develop
Resolves #64
2015-05-06 10:14:59 -07:00