Commit Graph

12 Commits

Author SHA1 Message Date
Mat Sutcliffe
57d32da826 Use nested namespaces (C++17 feature) 2021-09-18 15:07:48 +01:00
Mat Sutcliffe
e28df21641 [xswiftbus] Fix UTF-8 bug when displaying text messages
std::string is not UTF-8 aware, so it was possible to create
malformed strings by splitting in the middle of a code point.

The splitting code also did read beyond the end of the input string.

Now we use a Unicode-aware iterator adaptor to help find the
correct place to split the string across multiple lines.
2020-11-24 22:47:22 +00:00
Klaus Basan
add649c321 Ref T709, improved normalization and space pressed handling, unit test 2019-09-16 22:41:14 +01:00
Klaus Basan
447152bd13 Ref T709, only update settings if changed 2019-09-16 22:41:04 +01:00
Klaus Basan
d1db1943ae Ref T709, display settings as string/QString (for logging) 2019-09-16 22:40:56 +01:00
Klaus Basan
cc4b8b61ae Ref T709, move case insensitive compare to utils (so it can be used elsewhere) 2019-09-16 22:40:52 +01:00
Mat Sutcliffe
359bd1ab15 Ref T633 Simplify whitespace in X-Plane flyable model strings. 2019-09-16 22:40:04 +01:00
Mat Sutcliffe
61439a48e0 Inline functions defined in header file, to avoid ODR violation. 2019-09-16 22:40:04 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
9293989a78 Doxygen comments 2018-11-04 17:42:45 +01:00
Roland Winklmeier
1fecf65a40 Fix parsing of X-Plane ACF file headers
So far the 'version' literal was compared case sensitive. So we did not
parse ACF files which had a capitalized literal. Instead the comparison
should be case insensitive. To do that we convert all strings to lower
case before comparing.

ref T378
2018-11-04 17:42:43 +01:00
Roland Winklmeier
a19ccabf35 Refactor shared X-Plane model parser in common header only functions
ref T290
2018-08-24 21:27:00 +02:00