Klaus Basan
7279772cab
refs #768 , changes to QSet<QString>
...
* based on review https://dev.vatsim-germany.org/issues/768#note-5
* changed a few signatures to QSet<QString>
2016-12-06 09:33:42 +01:00
Klaus Basan
b8d323226f
refs #748 , fixed airport JSON bugs and removed workaround
...
* removed workaround in web data services
* removed convertFromDatabaseJson functions, not needed
* changed to use the correct static fromDatabaseJson functions
* fixed prefixes
* load correct Country object by loading it as nested object
* key and timestamp was missing in CAirport tuple metadata
2016-12-06 09:33:29 +01:00
Klaus Basan
8718260623
refs #768 , update of value objects
...
* Adjusted validation
* Use default airline object when a color livery is created (refs #774 also)
* Added/improved completer strings (e.g. getVDesignatorDbKey())
* utility functions in lists
2016-12-06 09:33:07 +01:00
Michał Garapich
9acfb89e65
refs #748 Add operating attribute to CAirport
2016-10-17 14:34:33 +01:00
Michał Garapich
cf3e9f1f67
refs #748 Support database format in CAirportDataReader
...
* CAirport is now database object
* CAirportList is now datastore object list
* CAirportDataReader adjustments
2016-10-17 14:34:31 +01:00
Mathew Sutcliffe
7320969888
Performance fix: rewrote an algorithm to be linear instead of quadratic.
2016-10-17 14:34:25 +01:00
Mathew Sutcliffe
87eeac4e15
refs #710 Simple algorithms to replace several regular expressions.
2016-08-30 04:02:00 +01:00
Klaus Basan
1d1815de43
refs #748 , add airport completers
...
* in flight plan
* in login
* utility functions
2016-08-28 23:26:11 +02:00
Klaus Basan
f91cf3bbf3
refs #734 , added NAVY/MARINES as 2 letter codes
...
* adjustement for 2 letter codes
* icons
2016-08-26 21:06:05 +01:00
Klaus Basan
74740991a3
refs #742 , allow to search by colors
...
* color distance in livery
* and in container
2016-08-26 21:05:58 +01:00
Klaus Basan
f1cd73a268
refs #734 , allow to set temp.livery
2016-08-26 21:05:47 +01:00
Mathew Sutcliffe
67b36bbfcf
refs #721 Trying the unaltered name first is slower
...
because in nearly all cases, it just leads to comparing the names twice.
2016-08-26 21:04:48 +01:00
Mathew Sutcliffe
15cf07c1c5
refs #721 For performance, avoid regular expressions where a simple algorithm would suffice.
2016-08-26 21:04:47 +01:00
Klaus Basan
009bfc3ed1
refs #720 , finder by Telephony designator (aka callsign) and name
2016-08-26 21:04:35 +01:00
Klaus Basan
dbdea2d846
Fix handling of base index properties in CAirport/ICoordinateWithRelativePosition
2016-08-26 21:04:33 +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
Michał Garapich
39dae7ed45
Fix possible memleak in CDatabaseWriter
...
* CApplication network methods cleanup
2016-08-26 00:18:41 +02:00
Michał Garapich
1032b2f506
refs #650 Implement CAirportDataReader
...
* Add BlackCore::CAirportDataReader class
* Add cache traits for airport list
* Add corresponding WebReaderFlag
* Add CAirport::convertFromDatabaseJson()
* Add CApplication::headerFromNetwork() to handle HTTP HEAD method
2016-08-26 00:18:41 +02:00
Klaus Basan
c4d9ab06be
refs #712 , airline icons in pilot client
2016-07-28 21:08:26 +02:00
Klaus Basan
e2f8f097e0
refs #712 , completers and load from disk for flight plan
2016-07-28 21:08:26 +02:00
Klaus Basan
90c3c35609
refs #709 , as result of testing created special database views for ICAO codes
...
* view already filter incomplete data
* as result, info object count values are aligned with data eventually parsed (which will allow to detect changes by comparing counts)
* smaller adjustments to allow airlines with designator
2016-07-28 21:08:20 +02:00
Klaus Basan
409534fa5e
refs #707 , also resolve invalid codes (as those are now resolved by endsWith)
2016-07-14 18:49:24 +02:00
Klaus Basan
c7d89c7b2c
refs #707 , allow to resolve airline by callsign directly in airline ICAO list
2016-07-14 18:49:21 +02:00
Klaus Basan
9810aa04b8
refs #707 , allow to skip equal values in applyIf
2016-07-14 18:49:19 +02:00
Klaus Basan
b959972e0c
refs #707 , refactoring geo interfaces
...
* added compare functions (also to ATC list)
* renamed to relative position, e.g. station.setRelativeDistance
* delegate set/get/compare to correct interface
2016-07-14 18:49:13 +02:00
Klaus Basan
64cee7fba8
refs #706 , callsign to airline plus testing resulting in multiple smaller improvements (refs #707 )
...
* added functions to callsign / callsign list
* used in aircraft matcher
* also resolve std.livery in matcher
* also allow to find aircraft ICAO designator ending with string (e.g. 737 for B737)
* renamed CAircraftMatcher::reverseLookup -> CAircraftMatcher::reverselLookupModel
* threadsafe isInRange (CAIrspaceMonitor)
2016-07-14 18:49:12 +02:00
Klaus Basan
d782839cb8
refs #703 , moved context to subdir
...
* ns: Context
* adjusted using classes
2016-07-14 18:49:08 +02:00
Klaus Basan
a3b5632a5c
refs #702 , better callsign syncronization
2016-07-12 03:37:37 +02:00
Roland Winklmeier
77b60cbb7a
Accept also numbers in airport ICAO codes
2016-07-11 21:33:33 +02:00
Klaus Basan
663b161b0c
Gimmick and formatting
...
* flags for VATSIM servers
* improved country resolution
2016-07-03 13:22:06 +02:00
Klaus Basan
6f97e7290b
refs #681 , FSD UI at login screen
...
* plus completers for login GUI (ICAO, ...)
* some utility functions in related value object classed
2016-06-29 15:38:15 +02:00
Roland Winklmeier
a97a6609a8
CCallsignSet std::initializer_list constructor
2016-06-20 13:17:38 +02:00
Mathew Sutcliffe
eecc4d75e9
refs #570 Each CAircraftSituation can have its own time offset, instead of a hardcoded 6 seconds.
2016-06-08 23:54:13 +01:00
Klaus Basan
0aa916f057
clang: error: default initialization of an object of const type 'const BlackMisc::Aviation::CAirlineIcaoCodeList' without a user-provided default constructor
2016-06-08 18:20:27 +02:00
Klaus Basan
54b1234f7f
refs #649 , refs #658 fixed includes to new subfolders "db"
...
some style changes in same step
2016-06-08 18:20:23 +02:00
Roland Winklmeier
d0313c7524
Style
2016-05-20 01:31:26 +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
0f5d2a29a8
refs #655 , Change signature (order) of setProperty/compareProperty
2016-05-13 16:44:17 +02:00
Klaus Basan
96189f530b
Fixed typo setGroundSpeed
2016-05-07 20:11:50 +02:00
Klaus Basan
48bcb105cd
refs #613 , changes as proposed by MS
...
https://dev.vatsim-germany.org/issues/613#note-3
2016-05-07 20:11:40 +02:00
Klaus Basan
bd9de9308c
refs #640 , alternatives for combined code
2016-05-05 20:49:12 +02:00
Klaus Basan
826662cbb5
refs #638 , refs #614 , support for military flag and swift livery string
...
* fixed missing tuple attribute
* improved toQString conversion
2016-04-11 20:57:58 +02:00
Klaus Basan
d9e550beef
refs #634 , improved completers
...
* mostly to avoid roundtrips (set->changed signal->set again...)
* better sort for ICAO completer
2016-04-11 20:57:57 +02:00
Klaus Basan
368d803d42
refs #614 , refs #638 removed redundant m_livery from CSimulatedAircraft and improved convertTOQString
...
* removed some leftovers in simulated aircraft such as virtual functions
* use livery from model instead of keeping a redundant copy
2016-04-11 20:57:54 +02:00
Klaus Basan
1b0dda74a3
refs #614 , renamed function and helper function
2016-04-11 20:19:46 +02:00
Klaus Basan
a07af2b781
refs #614 , formatting and new functions for list/value objects
...
* find by aircraft family
* name completer sorting
2016-04-11 20:16:23 +02:00
Mathew Sutcliffe
4e9d7d3efe
refs #628 Metaclass style compatible with the AStyle beautifier.
2016-04-06 15:15:12 +01:00
Mathew Sutcliffe
4bd4baa535
refs #628 Use the metaclass mixins in all value classes.
2016-04-03 18:17:43 +01:00
Klaus Basan
3073710dba
refs #619 , function to get all ICAO designators as string list
2016-03-30 03:07:18 +02:00
Mathew Sutcliffe
a1861c69f0
refs #624 Some more occurrences of constexpr.
2016-03-22 16:02:53 +00:00