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
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
c629a15dd7
Fixed bug in validation check order of DataManager::SetGear
2015-05-07 15:31:12 -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
Jason Watkins
6c58a09a8d
Updated Windows binaries
2015-05-06 09:09:33 -07:00
Jason Watkins
6207847968
Updated Linux binaries
2015-05-05 15:57:00 -07:00
Chris Teubert
8ae7216737
Mac Binary
2015-05-05 13:12:27 -07:00
Chris Teubert
80be9c4e3f
Changed mac C++ compiler to 98
2015-05-05 13:11:18 -07:00
Chris Teubert
4839f6eb04
Removed comma at end of enum
2015-05-05 13:11:17 -07:00
Jason Watkins
01b55f97c4
Fixed bug in handling of CTRL command
...
Several of the values were not checked for the "don't change" sentinel value.
2015-05-05 13:04:09 -07:00
Jason Watkins
3030f67a9d
Add support for speed brakes to plugin HandleCtrl function.
2015-05-05 13:04:08 -07:00
Jason Watkins
7f1af73c3c
Moved XPData array to DataManager and removed DataMaps.
...
After removing C++11 features, only the declaration of XPData remained in DataMaps, making it somewhat pointless to separate XPData from DataManager.
2015-05-05 13:04:03 -07:00
Jason Watkins
aeceb87f1d
Merge latest changes from release-1.0.1
...
Removing all C++11 features touches many parts of many files, so better merge the changes into develop ASAP to prevent future conflicts.
2015-05-05 08:33:54 -07:00
Jason Watkins
796fd0f7aa
Fix for Linux builds
2015-05-04 16:09:45 -07:00
Chris Teubert
99e94015c4
Added newline at end of file
2015-05-04 11:33:12 -07:00
Chris Teubert
79d4897206
Added newline at EOF
...
So X-Code won’t complain anymore.
2015-05-04 10:59:16 -07:00
Chris Teubert
63b9ac25d7
Mac binary
2015-05-04 10:30:21 -07:00
Jason Watkins
1ee3f85b23
Added "switch" functionality to plugin SIMU message handler.
2015-05-01 14:48:33 -07:00
Jason Watkins
d735e0f3ad
Updated plugin logging.
...
- The plugin now keeps the log file open for the duration of its lifetime.
- This greatly improves the performace of the logging component, which was previously a significant bottleneck even at low logging verbosity.
- The log now prints timestamps to the millisecond.
2015-04-30 16:24:18 -07:00
Jason Watkins
aaf25a9933
Updated Log to use C++ headers cstdio and ctime instead of stdio.h and time.h.
2015-04-30 15:11:14 -07:00
Jason Watkins
37eb6b6b03
Added X-Plane version information to the XPC log file.
2015-04-30 13:53:02 -07:00
Jason Watkins
e21006baee
Added Release build settings for Windows to plugin.
...
- Release builds in Visual Studio aggressively optimize the plugin.
- Results in nearly a 7x reduction in binary size.
2015-04-30 13:47:13 -07:00
Jason Watkins
85e3ce91dd
Removed -nodefaultlibs flag on Linux 64 bit builds.
2015-04-30 13:03:55 -07:00
Jason Watkins
8898ff9be9
Added explicit -m64 flag to CMakeLists.
2015-04-30 13:03:54 -07:00
Jason Watkins
b243306866
Added namespace qualifiers for memcpy in Message logging.
2015-04-30 11:03:42 -07:00
Jason Watkins
781fc390c2
Fixed bug in array initialization for SIMU command.
2015-04-30 10:03:24 -07:00
Jason Watkins
ed8d065642
Explicitly initialize sock to ~0 if WSAStartup fails.
2015-04-30 09:32:19 -07:00
Jason Watkins
57be2704d1
Fixed typo in DataManager validation checks.
2015-04-30 09:17:44 -07:00
Jason Watkins
0533480b8e
Updated LOG_VERBOSITY description.
2015-04-30 09:07:11 -07:00
Jason Watkins
39c2f58a54
Fixed issues related to overwriting values in POSI commands.
...
- Added global position drefs for multiplayer aircraft.
- Added checks for the "don't change" sentinel value to SetPosition, SetOrientation and SetFlaps.
- Reordered validation checks in SetGear to be consistent with the above methods.
- Removed some now redundant "don't change" value checks in the MessageHandlers class.
2015-04-30 09:04:31 -07:00
Chris Teubert
cde91d84c9
Mac Binary
2015-04-30 09:04:31 -07:00