Commit Graph

3532 Commits

Author SHA1 Message Date
Mathew Sutcliffe
ad0a7f9526 refs #759 Temporarily disable a testcase pending a solution to the underlying problem. 2016-09-19 16:18:52 +02:00
Mathew Sutcliffe
004fb5c78a refs #759 Work around crash when cache value update slot is called on a partially-constructed owner. 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
Roland Winklmeier
2040ff21c5 Physically remove only physically rendered aircrafts
Physically removing an aircraft which was not yet rendered or known is
undefined behavior.
In this particular case, adding an aircraft the first time caused
its model to be updated, which called slot
ISimulator::changeRemoteAircraftModel, trying to remove an aircraft
which was not yet added and adding it again. This ends up
in an endless loop.
2016-09-19 16:18:50 +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
610dba2028 refs #757, materialize filtered data
* menu item / flag
* functions in view class
* some minor formatting
2016-09-19 16:18:48 +02:00
Klaus Basan
c848d7ca61 refs #755, allow to refresh GUI parts during consolidation 2016-09-19 16:18:47 +02:00
Klaus Basan
73d41d334b refs #755, removed context menu "Remove DB data" - same can be done with filter
(remark: Removing from model bears the risk the data are saved and the removed parts are eventually gone)
2016-09-19 16:18:44 +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
1e8090d366 refs #755, "remove published models" message 2016-09-19 16:18:42 +02:00
Klaus Basan
c4769e2ab5 refs #755, temp. workaround for multi line placeholder bug 2016-09-19 16:18:42 +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
aafff6cd82 Formatting this->ui to ui 2016-09-19 16:18:41 +02:00
Klaus Basan
7330ccba1b refs #751, hint of how data are published
* user object in stash components
* publish button text changed to reflect user`s rights
* User object in form read only
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
Klaus Basan
2cc88d9c6a refs #751, overlay message for Login Component fixed 2016-09-02 19:47:17 +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
80dc4ea49a refs #710 Sample to compare performance of string utilities versus regular expressions. 2016-09-01 21:06:18 +01:00
Mathew Sutcliffe
87eeac4e15 refs #710 Simple algorithms to replace several regular expressions. 2016-08-30 04:02:00 +01:00
Klaus Basan
d2aa2e9c1c refs #750, allow to reset window position of dock widget 2016-08-29 18:33:00 +02:00
Klaus Basan
bfd94ea6a8 refs #749, SELCAL and cockpit finetuning
* SELCAL combobox was too long
* Use tool instead of push buttons
2016-08-29 00:27:52 +02: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
461a995a92 refs #745, always update model set before matching test
(fixes issue reported by RW in #745)
2016-08-27 19:41:47 +02:00
Klaus Basan
81efe18ae5 refs #745, improved own model set dialog
* allow to consolidate data
* display either preferences or all distributors
* builder can consolidate
* get model set from mapping component
2016-08-27 18:15:21 +02:00
Klaus Basan
8afac921f4 refs #745, improved own model set dialog
* allow to consolidate data
* display either preferences or all distributors
2016-08-27 14:31:45 +02:00
Klaus Basan
a49b98166c refs #745, allow to decide which descriptions are overridden in auto stashing
* adjusted CAircraftModel to ignore auto generated message
* radio buttons in GUI to select all/non-empty descriptions
* allow to use the temp. livery
2016-08-27 14:31:44 +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
f506d780b9 refs #745, get temp. livery from web services 2016-08-27 14:31:41 +02:00
Mathew Sutcliffe
a98441c315 Latest libxplanemp and harmonize with our github repo. 2016-08-27 03:00:56 +01:00
Roland Winklmeier
ba08e587be Adjust crashreport upload url 2016-08-26 21:06:11 +01:00
Klaus Basan
d62c6a5567 refs #745, prevent problems by setting a default callsign "SWIFT" for model matcher 2016-08-26 21:06:10 +01:00
Klaus Basan
02e8d4a4cb refs #745, made modify form a CForm
* disable exclude mode when not admin
* set min. sizes for UI (better layout)
2016-08-26 21:06:09 +01:00
Klaus Basan
0d70e87d11 refs #745, do not consolidate with DB data when stashing editor model
(prevents that changed data are overridden by DB data again and hence reverted)
2016-08-26 21:06:08 +01:00
Klaus Basan
04a9381858 refs #745, fixes "validation passed" message when there are still errors 2016-08-26 21:06:07 +01:00
Klaus Basan
7bb6979b90 Mapping tool settings layout 2016-08-26 21:06:06 +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
Klaus Basan
e8aa873ea0 Formatting 2016-08-26 21:06:03 +01:00
Klaus Basan
b7d689d63d refs #742, allow to search for color liveries in livery form
(using dialog)
2016-08-26 21:06:01 +01:00
Klaus Basan
c5f60bc582 refs #742, dialog to search for color livery 2016-08-26 21:05:59 +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
940137b921 refs #720, tristate checkboxes need to be connected by QCheckBox::clicked 2016-08-26 21:05:56 +01:00
Klaus Basan
231bfea566 refs #741, allow to discard settings
(not saving, but continue closing)
2016-08-26 21:05:55 +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
Mathew Sutcliffe
0fb7603b58 refs #721 JSON performance samples. 2016-08-26 21:05:51 +01:00