Commit Graph

43 Commits

Author SHA1 Message Date
Mat Sutcliffe
dd86be3335 String simplification (accent removal) using Unicode decomposition 2019-09-16 22:40:44 +01:00
Klaus Basan
878a207f85 Ref T660, utility functions 2019-09-16 22:40:23 +01:00
Klaus Basan
213ca4274d Airline group functions 2019-05-23 13:13:00 +02:00
Klaus Basan
d875df6fc7 Remove the comments from qss 2019-04-11 22:12:19 +01:00
Roland Rossgotterer
3f9042848f Use QDateTime::setOffsetFromUtc instead of QDateTime::setUtcOffset 2019-04-11 22:11:50 +01:00
Klaus Basan
c899bfbea7 Minor tweak remove redundant "/' and string message improvements 2019-04-11 22:11:40 +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
1e35519a0d Added some resources (URLs) after the text message discussion 2019-02-22 20:35:05 +00:00
Mat Sutcliffe
ace7650ebe Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals. 2019-02-22 20:23:46 +00:00
Mat Sutcliffe
5443701e09 Fixed return by const value. 2019-02-22 20:23:45 +00:00
Mat Sutcliffe
333ea1b8df Fixed clazy warnings: empty QStringLiteral. 2019-02-22 20:23:32 +00:00
Klaus Basan
eed3eeb700 Ref T415, utility function to parse "ini"-file 2018-11-04 17:42:45 +01:00
Klaus Basan
ebc2ffe480 Formatting 2018-09-22 01:26:37 +02:00
Klaus Basan
61629231ff Ref T365, utility functions 2018-09-22 01:26:34 +02:00
Klaus Basan
c3cf39e102 Renamed to simplifyAccents (actually the chars are not removed, but replaced) 2018-09-17 18:28:29 +02:00
Klaus Basan
d60b900b84 Ref T323, functions to detect 0-9 chars since isDigit detects a lot of other chars 2018-09-12 17:40:21 +02:00
Klaus Basan
a9d728f451 Ref T338, utility functions / parsing
- nthIndexOf
- measurement unit can be parsed case insensitive
- CSimpleCommandParser::remainingStringAfter from n-th space
- improved frequency parsing
2018-09-12 17:01:41 +02:00
Klaus Basan
3d2d999f7a Ref T338, style 2018-09-09 02:55:16 +02:00
Klaus Basan
19b1345766 Ref T308, check parsing of YYYYmmdd strings (length) 2018-08-26 15:26:59 +02:00
Klaus Basan
433818ca4f Ref T308, if QDateTime is invalid (normal state) setting a offset turns it into a valid timestamp of 1970 (which is wrong) 2018-08-22 12:32:01 +02:00
Klaus Basan
183280fa75 Ref T308, using an optimized (faster) function for YYYYmmdd string parsing
Ref T309, found that QDateTime::fromString returns a QDateTime object with local timestamp. Using a optimized version returns UTC objects now.

- The bug was found writing a unit test for Ref T308
- Slack: https://swift-project.slack.com/archives/G7GD2UP9C/p1534848725000100
2018-08-22 12:31:53 +02:00
Klaus Basan
f1312bbb50 Style 2018-08-21 22:10:27 +02:00
Klaus Basan
a7a1674faa Ref T264, string utility function 2018-05-22 13:35:01 +02:00
Klaus Basan
fc35e8b654 Formatting, style 2018-05-22 13:23:47 +02:00
Klaus Basan
68d4243ca7 Ref T258, utility functions 2018-02-22 01:26:54 +01:00
Klaus Basan
e001b0338f Ref T242, utility functions for matching
* search among airline aircraft
* improved logging information
* search among airline ICAO aircraft (which aircraft does the airline use?)
* check ecosystem before merging with VATSIM data
2018-02-09 04:43:47 +01:00
Klaus Basan
0addfa8281 Ref T241, made QStrings static const 2018-02-05 03:45:27 +01:00
Klaus Basan
f049900e1f Ref T223, use const values for standard pressure
* standardISASeaLevelPressure
* use static const values for standard pressure
* minor formatting
2018-01-15 23:00:34 +01:00
Klaus Basan
265869dc1f Ref T210, boolToEnabledDisabled 2017-12-21 19:49:37 +01:00
Klaus Basan
e270a54a68 Ref T180, "on" is valid true value 2017-11-05 20:02:02 +01:00
Klaus Basan
5612033924 Minor fixes, formatting, static const 2017-10-31 15:39:19 +01:00
Klaus Basan
afbf3f05c8 Ref T150, utility functions in URL list
* renamed to withAppendedPath
* findByHost
* addFailed utility functions
2017-09-24 19:54:30 +01:00
Klaus Basan
bb13a32c7c Ref T111, utility function for local decimal point 2017-09-24 19:51:34 +01:00
Klaus Basan
3b6edcd575 Fix for fuzzy search function
Ref T97
2017-09-24 19:50:53 +01:00
Klaus Basan
32abac5d94 Ref T97, fuzzy search function 2017-09-24 19:49:11 +01:00
Klaus Basan
8299552812 refs #921, string utility functions 2017-04-18 00:06:26 +01:00
Mathew Sutcliffe
87eeac4e15 refs #710 Simple algorithms to replace several regular expressions. 2016-08-30 04:02:00 +01:00
Klaus Basan
f9922353c4 refs #720, improved distributor and airline/livery detection
* mark data read from DB (req. for string key where existing key value is not reliable indicator for DB data)
* detect distributors by part of model string
* use a simplified name (no spaces, no special characters) to find a match
* allow to obtain model strings (=keys) as set and list
2016-08-26 20:54:52 +01:00
Klaus Basan
773f318a07 ref #701, "improved countries"
* utility function for "accent free" strings
* added 3 letter ISO, alias names
* improved searching in countries
2016-07-03 13:22:25 +02:00
Klaus Basan
fcba4f2e75 refs #681, value object for FSD setup 2016-06-29 15:38:06 +02:00
Roland Winklmeier
3d7a39ed00 Fix BlackMisc header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #630
2016-05-13 17:05:49 +02:00
Klaus Basan
0c6780a392 refs #634, fixes and improvements in selectors/completers
* upper case
* get raw data from selector
* sort completers
2016-04-11 20:16:24 +02:00
Klaus Basan
1fc7300982 refs #507, split up blackmiscfreefunctions
* single register metadata functions
* string utils
* metadata utils
* some formatting / license header where applicable
2015-11-22 02:42:29 +01:00