Commit Graph

39 Commits

Author SHA1 Message Date
Klaus Basan
a9198e4f13 Ref T103, Unified naming of directory functions
* some started with get/some not (removed get, get is normally used for our getters)
* some used swift, getSwiftXZY dir (removed swift)
* used full word "directory", not dir/directory mixed
2017-09-24 19:49:53 +01:00
Klaus Basan
debd9c802f Ref T103, moved directory functions from CBuildConfig to CDirectoryUtils
getApplicationDir renamed to getBinDir() as it works different on MacOs
see https://dev.swift-project.org/w/dev/swiftpc/dirstructure/
2017-09-24 19:49:51 +01:00
Klaus Basan
9ad721b77a Ref T99, use new icon names
* use icon id list from directory for performance
* some minor adjustments
2017-09-24 19:49:26 +01:00
Klaus Basan
afbb87298f Ref T77, prefix for getDbKeyAsStringInParentheses 2017-05-09 19:13:53 +02:00
Mathew Sutcliffe
3ea9e33e6b refs #937 Resolved clazy warnings: pass-by-value/reference. 2017-04-19 19:31:42 +01:00
Klaus Basan
f9e0146df9 refs #827, added groupid/name/designator 2017-04-17 23:57:32 +01:00
Klaus Basan
630ec78d38 refs #820, utility functions for score and groupBy 2016-12-13 19:01:43 +01:00
Mathew Sutcliffe
461474e29d refs #800 Fixed "using namespace" in header. 2016-12-13 19:00:25 +01:00
Klaus Basan
ff3f04f74c refs #768, allow more detailed tooltips
(makes it sometimes much easier to identify an entity)
2016-12-06 09:34:14 +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
Mathew Sutcliffe
87eeac4e15 refs #710 Simple algorithms to replace several regular expressions. 2016-08-30 04:02:00 +01: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
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
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
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
c7d89c7b2c refs #707, allow to resolve airline by callsign directly in airline ICAO list 2016-07-14 18:49:21 +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
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
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
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
c3722f9198 refs #485, refs #584 removed include blackmiscfreefunctions.h 2016-03-18 01:07:49 +00:00
Klaus Basan
de27c2af8a refs #590, military flag in airline ICAO
(plus fixes in prefix of aircraft ICAO)
2016-02-05 18:00:22 +01:00
Klaus Basan
2498a1ad71 refs #576, refs #588 improved finders and default selection
* IATA code for airlines
* selection for airline designator returns list not single object
* misc finder functions for airline list
* formatting, use MS override Doxygen style
2016-02-05 18:00:16 +01:00
Klaus Basan
6625b83c5e refs #571, consolidate with own models or DB models when stashed (goal: better defaults)
* improved missing parts updates
* sync. with own and DB models
2016-01-28 16:31:53 +01:00
Klaus Basan
92f930b068 refs #535 completer for airline name
* common base class for airline completers
* changed dependend classes
2015-12-20 16:59:56 +01:00
Klaus Basan
8f85c54989 refs #538, Formatting, minor tweaks, comments
* new slot syntax in ATC station component
* formatting, comments
* tab order
* utility function for severity in status message
* null checks in threadutils
* invalidKey function in datastore
* changed data object keys (cached objets)
* added missing value object compare cases
* renamed timer in context network
* finder function for model list
* renamed getContainer to container (as it is just a reference)
2015-12-07 02:25:26 +01:00
Klaus Basan
0c94922bd6 refs #501, compareByPropertyIndex (performance for sort) 2015-11-19 21:04:34 +00:00
Klaus Basan
6466260d8c Fixed icon loading (failed after new dir structure)
In same step improved paths in project (static const)
2015-11-19 21:04:01 +00:00
Klaus Basan
3ed2068ff5 refs #452, MS review
https://dev.vatsim-germany.org/issues/452#note-5
2015-11-19 21:00:19 +00:00
Klaus Basan
ae24700299 refs #452, adjusted aircraft/aviation classes
* support for loading from datastore
* improved timestamp handling
* new color and country classes
* new attributes
* updates for missing parts in CUser
2015-11-19 20:58:48 +00:00
Klaus Basan
e3b0720295 Made value object regular expressions thread safe
(note: which is important because the RegEx is static)
2015-11-19 20:57:38 +00:00
Klaus Basan
25fd0f4f2d refs #445, value objects and containers
* common base class for DB based classes
* common base class for DB based containers
* Livery, distributor value class
* adjusted value classes to livery
* utility functions for DB values (blackmisc free functions)
* register new objects with metadata system
2015-11-19 20:57:17 +00:00
Klaus Basan
e04ada3a7c refs #437, remove convertFromCVariant 2015-05-31 01:31:09 +02:00
Roland Winklmeier
e4f2c9e88a Replace occurrences of CVariant::toCVariant() with CVariant::from() 2015-05-30 16:59:51 +02:00
Klaus Basan
069f4749f4 refs #418, ICAO data for reader
* value objects and respective lists
* adjusted CAircraftIcao to use new classes
* some smaller fixes, Doxygen
* reader for values from database JSON values
  http://vatrep.vatsim-germany.org/service/allaircrafticao.php?rows=10000&sord=asc
* Related: Slightly improved signals for VATSIM reader
2015-05-12 21:03:43 +01:00