- The Linux binaries for the 1.1 release were built on the wrong branch, and so include none of the v1.1 changes. This patch fixes some minor compiler errors and includes properly updated binaries.
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
- 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.
- Improved formatting in XPCPlugin.cpp to be consistent throughout the file.
- Formatted copyright and license notices to be consistent with the rest of the codebase.
- Replaced out of date documentation with a link to the GitHub wiki
- Moved the writing of the log header to the Log class and expanded it to include useful information.
- Updated Windows binaries