-
Notifications
You must be signed in to change notification settings - Fork 300
Changelog 1.0
Jason Watkins edited this page Apr 23, 2015
·
2 revisions
This page attempts to exhaustively enumerate all changes from Version 0.1 and before to Version 1.0 of the X-Plane Connect system. Changes are divided into sections based on what parts of the system they affect. Breaking changes (i.e. changes that will require end users to modify their code) are noted in bold.
- Most "readme" and "user guide" files have been removed. Instead, refer to the XPC Client Reference and XPC Developer Information sections of this wiki.
- Todo items and other administrative notes have been removed from source files. Many of these items were out of date; those that were not have been moved to the issue tracker.
- Linux binaries are now included in the plugin folder.
- The internal structure of the plugin as been substantially refactored. Functionality has been broken into discrete segments and moved into separate classes.
- These changes are primarily for ease of maintainability, and should not have any impact on users except as noted below.
- Fixed bug #30
- Fixed bug #31
- Fixed bug #39
- The plugin and client no longer share any code.
- The plugin now automatically responds to clients on the port that they send from.
- Only one socket is now needed by the client. As a result, several functions that previously took two
xpcSocketsnow only need one. - The unused
openfield has been removed fromxpcSocket. - The
xpcSocketstructure has been typedefed toXPCSocketto remove the need to use thestructkeyword everywhere. ThexpcSocketname has been retained in the struct namespace, so the structure can be refered to by eitherstruct xpcSocketorXPCSocket. - The
readUDPandsendUDPfunction have been removed from the header since they are intended only to be used internally by the client. - The signature of several functions in the C client have been modified to better match their counterparts in MATLAB and Java.
- Added
aopenUDPfunction that automatically opens the socket using an OS selected port. -
readUDPnow takes alenargument that specifies the size of the read buffer. Previously it was assumed that the read buffer was 5000 bytes long. This change should not affect most users sincereadUDPis primarily used internally by other client functions. -
readUDPno longer takes arecvaddrargument since it was only used by the plugin. readDATAnow takes arowsargument indicating the maximum number of rows that will fit in thedataRefarray.- The type of
rowsin thesendDATAfunction has been changed tointto improve consistency with other clients. requestDREFhas been renamed togetDREFs.- A convenience function called
getDREFhas been added that gets a single dataref. getDREFsnow takes a single socket and its other parameters have been reordered to match other clients.sendDREFhas been renamed tosetDREF.- The
setDREFfunction no longer takes a parameter for the length of the dataref. It now usesstrnleninstead. - The order of parameters in
sendPOSIhave been changed to be more consistent with other functions in the client. - The
psendPOSIfunction has been added to send position for the player aircraft. sendpCTRLrenamed topsendCTRL.- The order of parameters in
psendCTRLandsendCTRLhas been changed to match other clients. - Values in the
WYPT_OPenum have been capitalized.
- The MATLAB client now uses the Java client internally. This change should be transparent to the end user.
- The
XPlaneConnect.jarfile has been added to the+XPlaneConnectfolder in the MATLAB client. Since the MATLAB client is distributed as a folder already, hopefully this will not complicate deployment for end users. - Removed
readUDPandsendUDPfunctions, which are now handled by the Java client internally. - Removed unneeded
clearUDPBufferandsendSTRUfunctions. - Removed return values from several functions where they did not convey useful information.
- Renamed
requestDREFandsendDREFtogetDREFsandsetDREFrespectively. IPandportarguments have been replaced with a singlesocketargument that can be passed the resulting socket from a call toopenUDP.
- The order of arguments to the
XPlaneConnectconstructor have been changed to match theopenUDPfunction in other clients. - Added
selectDATAandreadDATAcommands.