Commit Graph

3552 Commits

Author SHA1 Message Date
Roland Winklmeier
3a7c9626d3 Restore stub README.md file
Content of this file will follow later to instruct how to properly get
configure and build from source. For now, restore it, since building the
installer requires it to be present.
2016-10-17 14:33:54 +01:00
Klaus Basan
45304e647a refs #651, updated legal docs 2016-10-17 14:33:53 +01:00
Klaus Basan
06906742a5 refs #651, updated legal docs, mainly CLA and license 2016-09-22 00:42:55 +02:00
Roland Winklmeier
121e70e187 Enable installing of ICU on Linux
Since 5.6.1 is now available on Jenkins, installing of ICU can finally
be activated.
2016-09-19 16:36:17 +02:00
Roland Winklmeier
fb3df51013 Move aircraft matching out of simulator plugins
All model matching will be done simulator independent in
CContextSimulator. The simulator specific part is kept in the model
set.
This also caused the signal modelMatchingCompleted to be renamed to
aircraftRenderingChanged, since the name wasn't accurate anymore.
Both getInstalledModels(), getInstalledModelsCount() and iconForModel()
were removed from the ISimulator interface.

refs #765
2016-09-19 16:30:05 +02: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
Roland Winklmeier
004ca4f0ca Rename argument simulatorInfo to simulatorPluginInfo 2016-09-19 16:29:37 +02:00
Roland Winklmeier
e5e5e796f7 Reduce risk of window init interference when floating dock widgets on XCB platforms
On XCB platforms, the initialization of native windows is an async task.
When floating a dock widget, a new top level window is created, followed
by further customizations (changes to title and status bar, child
rearrangements etc). The customizations might be triggered at a time
when Qt was still processing XCB events and the QWindows state not yet
fully initialized. In some random cases, this caused the Window to be
invisible.
By sleeping for 100 ms on XCB platforms, we make sure that
all customizations are delayed long enough that the XCB event thread can
continue to process. By then all XCB communication
should be finished and the window setup complete.

refs #754
2016-09-19 16:25:00 +02:00
Klaus Basan
609eae061f refs #752, added username for DB user 2016-09-19 16:18:56 +02:00
Klaus Basan
03b5f9ce2c refs #764, improved JSON response with messages for JSON authentication service 2016-09-19 16:18:56 +02:00
Klaus Basan
67fdfd228a Minor improvements for reader unit test
* URL in verify msg.
* qWait when reading
2016-09-19 16:18:56 +02:00
Klaus Basan
44258a97fa Use temp dir. for cache when a unit test is performed
* the temp. dir can also be used for other purposes
2016-09-19 16:18:55 +02:00
Klaus Basan
09d74c48b8 Changed some default URL to https://datastore.swift-project.org 2016-09-19 16:18:55 +02:00
Klaus Basan
1d15e90f0a Updated shared directory files from https://datastore.swift-project.org/page/index.php 2016-09-19 16:18:55 +02:00
Klaus Basan
68eb5a9282 refs #651, legal pages structure (pages need legal texts) 2016-09-19 16:18:54 +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
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