Skip to content

Version 1.1

Compare
Choose a tag to compare
@jason-watkins jason-watkins released this 31 May 16:00
· 207 commits to master since this release

General Changes

  • All of the example scripts now check that they are connected before
    sending commands.
  • The "Docs" folder has been removed from the repository. All information
    previously documented there has been transfered to the wiki.

New Features

  • A Python client has been added.
  • The sendCTRL command now supports setting speed-brakes.
  • The sendDREF command has been augmented with a sendDREFs variant that
    supports setting multiple datarefs at once.
  • A sendVIEW command has been added that supports setting the camera view in
    X-Plane.

Changes to the X-Plane Connect Plugin

Enhancements

  • Greatly improved logging efficiency by keeping a single open file
    descriptor for the entire program execution.
  • Improved consistency of includes. All C headers should now be included
    using the <cname> style rather than "name.h" style.
  • Numerous methods and parameters that could be marked const have been.
  • Several value type string parameters have been replaced with const
    references.
  • Logging has been refactored to take the logging level as a method parameter.
  • Trace logging has been made substantially more comprehensive.
  • Handling of default values (-998, -999) has been centralized in the DataManager::IsDefault and DataManager::GetDefaultValue methods.

Bug Fixes

  • Fixed a bug where DataManager::SetGear would sometimes incorrectly log an
    error when passed a default value.
  • The flight loop callback registration handling has been moved to the
    enable/disable function pair instead of the start/stop pair. The plugin
    manager seems to be smart enough to only call callbacks for enabled
    plugins, but it still makes sense to unregister the callback completely
    while disabled.

Changes to the C client

  • The unit test suite has been refactored. There is now one file per client
    function. This should make it much easier to maintain and expand test
    coverage in the future.

Note:

The initial version of this release did not contain update Linux binaries. This issue has been corrected in the v1.1.1 download below.