Commit Graph

30 Commits

Author SHA1 Message Date
Sander Datema
388329b218 Add support for sendCOMM method
Credits go to user @angelsware, I just did a copy/paste from #120
2020-06-27 21:14:42 +02:00
Jason Watkins
fb8940583e Make SetPosition and SetOrientation do nothing if all values are "default" placeholder 2019-10-17 12:35:54 -07:00
Jan Chaloupecky
1c082d7730 Added MS Azure Dev Ops CI integration (#162)
* Do not build for i386 on macOS

Use ARCHS_STANDARD  to avoid the error “The i386 architecture is deprecated. You should update your ARCHS build setting to remove the i386 architecture.”

* Fixed missing include

The Visual Studio solution was not compiling

* Fixed isnan ambigious refernce

Ambigious reference when compiling on travis

https://stackoverflow.com/questions/33770374/why-is-isnan-ambiguous-and-how-to-avoid-it

* Set MSVC warning level to 3

Too many warnings were generated when building a Release build making Travis job to fail because of too much output

* Use default toolset for Visual Studio

AppVeyor recommends to set the default toolset

* #include <cstdint>

* Use MSVC ToolsVersion="14.0"

# Conflicts:
#	xpcPlugin/xpcPlugin/xpcPlugin.vcxproj

* Removed binaries from repository

# Conflicts:
#	xpcPlugin/XPlaneConnect/64/win.xpl
#	xpcPlugin/XPlaneConnect/win.xpl

* Added ms azure ci

xcode

linux

linux + macos

linux + macos

removed branch filter

win tests

win tests

Test all platfroms

artifacts tests

* output all binaries to ‘XPlaneConnect’

All platforms produce a binary in
xpcPlugin/XPlaneConnect/
xpcPlugin/XPlaneConnect/64/

* Added ms azure GH deploy

deploy stage

GH release test

trigger tags

* Clean up yml file

- Added variables
- Added job decriptions

* Ignore script to ignore .exp files

+ fixed output path

* Renamed ms azure GH connection
2019-06-08 08:00:32 -07:00
Jason Watkins
df5e2fd198 Update copyright notice 2018-10-19 17:44:27 -07:00
Michael Thompson
f3de032a99 Update DataManager.cpp 2018-10-19 17:35:17 -07:00
Michael Thompson
e96698a3fb Update DataManager.cpp 2018-10-19 17:35:16 -07:00
Jan Zwiener
0e493920fa sendPOSI command change (double for lat/lon/h) (#111)
* Updated POSI to use doubles for lat/lon/alt, as step size for floats was unacceptably large at high longitudes.
2018-10-19 17:35:05 -07:00
Jason Watkins
48656f2b4c Minor improvements to the handling of landing gear by the SetGear and HandlePOSI functions 2018-10-19 17:35:05 -07:00
Jason Watkins
e91defde80 Fixed typo in DREF enum mapping 2017-06-22 16:02:46 -07:00
Chris Teubert
6631814438 Updated Copyright Year, Version #, Mac Binary 2017-05-03 10:20:59 -07:00
Jason Watkins
35285cac2f Updated SetPosition
- SetPosition now updates the aircraft's orientation after moving the aircraft
 - This should improve the handling of the aircraft when setting the position while paused and then unpausing
 - Fixes #91
2016-06-20 10:01:40 -07:00
Jason Watkins
ec151a2248 Update copyright year. 2016-03-01 16:31:14 -08:00
Chris Teubert
cfdd183214 Merge branch 'master' into develop
# Conflicts:
#	xpcPlugin/XPlaneConnect/mac.xpl
#	xpcPlugin/xpcPlugin.xcodeproj/project.pbxproj
2016-02-29 12:48:30 -08: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
Jason Watkins
57be2704d1 Fixed typo in DataManager validation checks. 2015-04-30 09:17:44 -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
7f9be34d45 Y_AGL->Elevation Fix 2015-04-30 09:04:29 -07:00
Jason Watkins
955657bb96 Improved DataManager string Get and Set methods.
- The Get method no longer assumes unknown drefs are floats.
 - The Get method now properly accounts for the fact that the dref data type is a bitflag.
 - Binary drefs are now properly read and packed into `values`.
  - This is a rather inefficient process, as it quadruples the number of bytes we have to send out. Should look into better ways to do this in the future.
 - The Set method now handles data types correctly.
 - The Set method now supports binary datarefs.
 - Improved logging of edge cases.
 - Added a check to warn about setting read-only datarefs if verbose logging is enabled.
2015-04-29 12:44:18 -07:00
Jason Watkins
22a2adf5f2 More static analysis fixes. 2015-04-28 12:10:36 -07:00
Chris Teubert
f4129f5008 Added a comment 2015-04-28 12:10:33 -07:00
Jason Watkins
9109056437 Improved data logging. 2015-04-24 10:30:35 -07:00
Jason Watkins
db6180f1c9 Implemented std::hash<XPC::DREF> explicitly. 2015-04-16 15:01:34 -07:00
Chris Teubert
e60dde457c Changes to work with Mac
Changes include:
- Updating Project
- fixing sendto declaration
- Fixed some bugs in #if Mac sections
- Removed unneeded #includes (my compiler didn’t like them)
2015-04-16 12:58:49 -07:00
Jason Watkins
1a3f658774 Changed types from fixed width types in stdint to language primitive types guaranteed to be at least as big. 2015-04-16 10:13:18 -07:00
Jason Watkins
8591db96c0 Fixed various type inconsistencies to remove warning when building on Windows 2015-04-14 15:49:25 -07:00
Jason Watkins
6c51fa476e Refactored dataref manipulation operations to the DataManager class. 2015-04-13 15:53:38 -07:00