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
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
eeea9db9c9
refs #748 , support for airports in CDbInfo
2016-08-28 23:25:41 +02:00
Klaus Basan
58faed5ea7
refs #745 , removed unused hover code
...
(this was a trial to highlight the drop position, the callback function was kept)
2016-08-27 14:31:42 +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
Mathew Sutcliffe
8b1bdbdcf8
refs #721 Use QLatin1String for JSON object keys (disabled until Qt 5.7.1).
2016-08-26 21:05:53 +01:00
Mathew Sutcliffe
e2e1e53d42
refs #721 Avoid looking up the JSON object key twice every time.
2016-08-26 21:05:52 +01:00
Klaus Basan
f1cd73a268
refs #734 , allow to set temp.livery
2016-08-26 21:05:47 +01:00
Klaus Basan
227190ab42
Minor adjustments
...
* ignore empty root dir
* check for empty context
2016-08-26 21:05:43 +01:00
Klaus Basan
5789120ecc
refs #555 , load models from directory
...
* file dialog
* adjusted signatures to pass directory
2016-08-26 21:05:42 +01:00
Klaus Basan
e3fc72d775
refs #720 , fixed: display all models when only selected models are consolidated
...
* in same step fixed location of error message
* minor renaming
2016-08-26 21:05:06 +01:00
Klaus Basan
4582387684
refs #720 , treat auto gen. descriptions as "empty"
2016-08-26 21:05:03 +01:00
Klaus Basan
da343d81c1
refs #720 , allow to publish when there are errors, but some models pass validation
...
* return valid and invalid models
* return value "success" when there are any valid models
2016-08-26 21:05:02 +01:00
Klaus Basan
d10fe5ad18
refs #728 , hide load indicator when no vPilot rules are loaded
2016-08-26 21:05:01 +01:00
Klaus Basan
364914cc31
refs #720 , file name handling in models
...
* normalize file name before writing to DB
* use local file paths for local models
* display "C" for color liveries
2016-08-26 21:05:00 +01:00
Klaus Basan
89ac38a072
refs #720 , ui context menu finetuning
...
* renaming / formatting
* const predefined subdir menus
2016-08-26 21:04:52 +01:00
Mathew Sutcliffe
661254371c
refs #730 Avoid duplicate "empty cache value" debug messages.
2016-08-26 21:04:49 +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
Mathew Sutcliffe
ffa24411d2
Narrow the explicit iterator category of our iterator adaptors to reflect their implicit category.
2016-08-26 21:04:45 +01:00
Mathew Sutcliffe
4071fcb6d3
Fixed mistake.
2016-08-26 21:04:44 +01:00
Mathew Sutcliffe
a30eb18a9c
On Windows, warn if a thread was terminated with its QThread still in running state.
...
I hope this catches if the data cache serializer is killed in the middle of a save.
2016-08-26 21:04:43 +01:00
Mathew Sutcliffe
f8fc82019d
Invert logic of CAtomicFile destructor:
...
abandon changes if destruction is due to an exception,
instead of applying changes if destruction is NOT due to an exception.
Because otherwise QFile destructor will apply changes regardless,
by calling the close method via virtual dispatch.
2016-08-26 21:04:42 +01:00
Mathew Sutcliffe
3c82bb3a9c
Data cache shall emit an error message if it fails to save the revision file.
2016-08-26 21:04:40 +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
019b623f43
refs #720 , adjusted model loader
...
* callback function to data consolidation (so I can refer to consolidation in BlackCore)
* use status message in parser
* avoid duplicate keys (WOAI has ambiguous model strings which are to be excluded)
2016-08-26 21:04:21 +01:00