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
Mathew Sutcliffe
1e3afea9c2
refs #783 Used BlackMisc::singleShot in CDataPageQueue::queueValuesFromCache, to tolerate the page owner moving thread.
2016-12-06 09:34:08 +01:00
Mathew Sutcliffe
b62d1c303c
refs #783 Remove the flawed 4-arg version of BlackMisc::singleShot and change signature of 3-arg version.
2016-12-06 09:34:07 +01:00
Mathew Sutcliffe
64e2414b56
refs #783 Isolated improvements in BlackMisc::singleShot using QSharedPointer and C++14 lambda init-capture.
2016-12-06 09:34:06 +01:00
Mathew Sutcliffe
0b07088639
refs #782 Extended error information when data cache fails to write.
2016-12-06 09:34:05 +01:00
Klaus Basan
cdea8cff95
refs #780 , fixes login/flightplan preset
...
* empty airline is valid
* sync with flightplan (new signal to indicate changed login values)
* better preset of own model
2016-12-06 09:33:57 +01:00
Klaus Basan
492649c061
fixes "unable to login", discovered during #780 ,
...
* fixed bootstrap file
* improved timeout of connect, now in single static function
* some minor tweaks
2016-12-06 09:33:56 +01:00
Klaus Basan
9d51ee5bc8
refs #748 , further airport from DB follow up fixes
...
* Ignore mode, not all applications need to load everything (mapping tool no airports)
* removed signal in airport reader which is already in base class
* added "virtual" keyword
* fixed another syncronize typo
* added allDbEntiiesUsed() to also reflect the config (ignore flag)
* ensure allSwiftDbData are signaled correctly even with ignore flag
2016-12-06 09:33:54 +01:00
Klaus Basan
1ba42714ed
refs #768 , fixed capture as discussed
...
https://dev.vatsim-germany.org/issues/768#note-10
2016-12-06 09:33:53 +01:00
Mathew Sutcliffe
d0d1a9c8b8
refs #756 Fixed session cache concept:
...
Each new session generates an ID identifying that session, and
the .rev file annotates the ID associated with each cache value.
This is needed to avoid reading a value from a previous session
when loading for a continuing (non-new) session. The coarse-
grained approach of distinguishing new sessions from non-new
sessions was insufficient.
2016-12-06 09:33:52 +01:00
Mathew Sutcliffe
937cdbcc55
refs #756 Minor simplification and removal of unnecessary code.
2016-12-06 09:33:51 +01:00
Mathew Sutcliffe
7f422eb3e4
refs #777 Utilities for reading/writing files while holding a QLockFile.
2016-12-06 09:33:49 +01:00
Mathew Sutcliffe
d1c2c96c31
refs #777 Added classes CApplicationInfo and CApplicationInfoList.
2016-12-06 09:33:47 +01:00
Klaus Basan
35283d8887
refs #748 , fixed airport entity and reader resolution
2016-12-06 09:33:45 +01:00
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
85c5945aa1
refs #756 , init id to -1
2016-12-06 09:33:40 +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
45a620dab5
refs #768 , some minor formatting during debugging of mapping wizard
...
(found that some unnecessary model changed events are sent, will result in some refactoring)
2016-12-06 09:33:27 +01:00
Klaus Basan
4c6bb6e3fd
refs #768 , return DB keys as set
2016-12-06 09:33:13 +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
ab20b6c713
refs #756 Fixed mingw linker error.
2016-10-18 14:10:45 +01:00
Mathew Sutcliffe
384d59b084
refs #684 , #766 , #776 Removed CValueCacheCategory.
2016-10-17 14:37:47 +01:00
Mathew Sutcliffe
8a65a33384
refs #684 , #766 , #776 Support %OwnerName% in cache keys by allowing CCached::m_element to be a dummy
...
and by using a trick with explicit destructor call and placement new to reconstruct CCached when owner's name changes.
2016-10-17 14:37:47 +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
64315e1022
refs #756 Allow to mark data cache traits with a session flag, so they are overwritten when starting a new session.
...
(Starting a new session means, that a swift application is started when no other swift application is running.)
2016-10-17 14:34:24 +01:00
Mathew Sutcliffe
a08c93d53a
refs #756 Added class CProcessInfo to obtain a process name from its PID, and check if a process exists.
2016-10-17 14:34:23 +01:00
Klaus Basan
74173a734e
refs #768 , fixed reverse lookup on login page (model changes in SIM are reflected here)
...
* use reverse lookup function
* complete model when web services have read the DB data (before that no reverse lookup is possible)
* use new model changed signature
Remark: Temp adjustement when signal allSwiftDbDataRead is sent. As soon #748 is ready needs to be changed to include airport entities
2016-10-17 14:34:17 +01:00
Klaus Basan
cda3ece82b
refs #773 , sent model name to DB
...
* improved model parsing for FSX family
* improved description for model name
#772 and Ref T1 contain the related backend fixes
2016-10-17 14:34:16 +01:00
Klaus Basan
bf8198e2c2
refs #768 , misc adjustments
...
* changed signature of ownAircraftModelChanged to model
* added function for a reverse lookup of a model (string->model) and use it when model changed
* renamed function to updateByLocalFileNames
2016-10-17 14:34:15 +01:00
Klaus Basan
11e32a065e
refs #743 , utility functions and formatting / typos
...
* simulator info for FS family / as set
* fixed synchronized typo
* info string for caches
* getter for cached models from the loaders
* get all FS family models (FSX/P3D/FS9) from list
2016-10-17 14:33:58 +01:00
Klaus Basan
7446ffcb80
refs #769 , use role bulk to decide if user can directly write models
...
* renamed role functions
* renamed buttons
* some formatting
2016-10-17 14:33:56 +01:00
Roland Winklmeier
079c790aa7
Allow remote aircraft provider to be set after construction
...
refs #765
2016-09-19 16:30:05 +02:00
Roland Winklmeier
40d4c7774d
Make originators calling updateAircraftModel identifable
...
refs #765
2016-09-19 16:29:37 +02:00
Klaus Basan
609eae061f
refs #752 , added username for DB user
2016-09-19 16:18:56 +02:00
Klaus Basan
a4d70fc8bd
refs #763 , set ATC parking code as (raw) airline ICAO code
2016-09-19 16:18:54 +02:00
Klaus Basan
ccb14b4d19
refs #760 , new 3D swift icons
...
* removed old icons
* new icons in CIcons class
* and as ico / icns (MAC)
2016-09-19 16:18:54 +02:00
Mathew Sutcliffe
898b8e4078
refs #684 Added parametrised cache value key strings.
2016-09-19 16:18:53 +02:00
Mathew Sutcliffe
aeb15ea7be
refs #759 , #761 Track when a cache value notify slot is a member function to avoid duplicate calls.
2016-09-19 16:18:52 +02:00
Mathew Sutcliffe
e01ae2be11
refs #759 Allow cache value notification slot to be changed after construction.
...
Also allow slot to be any type of callable, including member function or lambda.
2016-09-19 16:18:52 +02:00
Mathew Sutcliffe
d24c17eba2
Fixed exception-safety of Optional<T>.
2016-09-19 16:18:51 +02:00
Klaus Basan
0846a8773a
refs #755 , validation also for "distributors from DB"
...
* validation now in webdataservices (so it can check against DB data)
* utility functions
2016-09-19 16:18:50 +02:00
Klaus Basan
0df72090ad
refs #755 , auto stash support for Project AI
2016-09-19 16:18:44 +02:00
Klaus Basan
cbc095d230
refs #755 , restore distributor order when consolidating with DB data
...
(formerly order was overridden)
2016-09-19 16:18:43 +02:00
Klaus Basan
10325ee8a9
refs #755 , mapping UI improvements
...
* make drop area more obvious by icon and color
* improve forms so the layout looks better on large screens
* button to display model dialog (like distributor, ICAO, ...)
2016-09-19 16:18:41 +02:00
Klaus Basan
23ccb35ed8
refs #751 , improved model writing to DB
...
* a pending request can be aborted when taking too long
* success / directWrite flags in signals
2016-09-19 16:18:41 +02:00
Klaus Basan
ced9f5294e
refs #751 , info if user can directly update models
...
* modified login component, give hints
* user object has flag for direct write
2016-09-19 16:18:40 +02:00
Klaus Basan
03c642d88a
refs #751 , detect invalid JSON message
...
(which normally means a PHP error message in HTML)
* utility function to remove HTML parts
* adjustments
2016-09-19 16:18:40 +02:00
Mathew Sutcliffe
520f593d51
refs #747 It must be possible to load CSL models from a user-supplied directory.
2016-09-02 00:57:01 +01:00