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
Jason Watkins
1e83dacdc5
Merge branch 'python-example' into develop
...
Resolves #64
2015-05-06 10:14:59 -07:00
Jason Watkins
e3e9c3c55c
Fixed bug in that format of the Python client's DATA command.
2015-05-06 10:13:02 -07:00
Jason Watkins
7d7e0d01b2
Added example for the Python client.
2015-05-06 10:12:41 -07:00
Jason Watkins
24768ff140
Renamed Python client file to decrease ambiguity.
...
- File and class name no longer conflict.
- Better matches the structure of Java client.
2015-05-05 14:47:39 -07:00
Jason Watkins
8a0efd6c76
Merge branch 'ctrl-speedbrakes' into develop
...
Resolves #53
2015-05-05 13:17:14 -07:00
Jason Watkins
e9e95d988b
Added support for setting speed brakes to Python client
2015-05-05 13:04:11 -07:00
Jason Watkins
7017c314fd
Added support for setting speed brakes to MATLAB client.
...
- Updated .jar version of the Java client used by the MATLAB client
- Added documentation for speed brake setting
- No additional changes are needed since the Java client handles the heavy lifting.
- Fixed a bug in sendDREF related to the updated .jar
2015-05-05 13:04:11 -07:00
Jason Watkins
873950a866
Added support for setting speed brakes to Java client.
2015-05-05 13:04:10 -07:00
Jason Watkins
b6e79d43fd
Fixed sendCTRL test bugs.
2015-05-05 13:04:10 -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
c6f9669e36
Added support for setting speed brakes to C client.
2015-05-05 13:04:08 -07:00
Jason Watkins
3030f67a9d
Add support for speed brakes to plugin HandleCtrl function.
2015-05-05 13:04:08 -07:00
Jason Watkins
8f4d50929f
Cleaned up implementation of getDREFs in the Java client.
...
- Removed unnecessary loop to try to read several times.
- Fixed the way that readUDP detects the length of received packets.
2015-05-05 13:04:07 -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
Jason Watkins
8ed6b39779
Increased the timeout for select in the C client on Windows.
2015-05-04 14:58:55 -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
Chris Teubert
c44f521842
pauseSim should be returning int on error
2015-05-04 10:30:10 -07:00
Jason Watkins
23ee994b8d
Merge branch 'simu-switch' into develop
...
Resolves #52
2015-05-01 15:22:07 -07:00
Jason Watkins
35abb41e8e
Updated Python client to support "switch" argument in SIMU command.
2015-05-01 15:13:27 -07:00
Jason Watkins
dcdd63d0c3
Updated MATLAB client to support "switch" argument in SIMU command.
2015-05-01 15:08:31 -07:00
Jason Watkins
f88d319191
Updated Java client to support "switch" argument in SIMU command.
2015-05-01 15:07:42 -07:00
Jason Watkins
0b984c3d49
Updated C client to support "switch" argument in SIMU command.
2015-05-01 14:55:36 -07:00
Jason Watkins
1ee3f85b23
Added "switch" functionality to plugin SIMU message handler.
2015-05-01 14:48:33 -07:00
Jason Watkins
7b462b5f78
Merge branch 'example-improvements' into develop
...
Resolves #36
2015-05-01 14:29:16 -07:00