Commit Graph

3589 Commits

Author SHA1 Message Date
Klaus Basan
50546f325a refs #768, minor GUI update of indicator 2016-12-06 09:33:16 +01:00
Klaus Basan
e8de55fcd5 refs #768, updated forms
* set focus proxy
* use CDbLiveryColorSearchDialog
* adjusted to selector updates
2016-12-06 09:33:15 +01:00
Klaus Basan
1152502721 refs #768, made color search a QFrame
* color search is a simple QFrame
* the dialog now uses this QFrame color search
* Rational: Color search can also be used in other components
2016-12-06 09:33:14 +01:00
Klaus Basan
4c6bb6e3fd refs #768, return DB keys as set 2016-12-06 09:33:13 +01:00
Klaus Basan
7d8f5f689f refs #768, some improvements of the filter
* allow to filter by airline only (livery filter)
* allow to hide description field
* set colors in livery filter
2016-12-06 09:33:12 +01:00
Klaus Basan
630fecf8e8 refs #768, allow reselection of values when a view is sorted
* reselect callbacks
* remark: Only working in some cases as sorting is part of the model, while selection is part of the view (and sorting can take place without the view knowing the model is sorted)
* allow to sort by property index
* renamed to m_sortColumn
2016-12-06 09:33:11 +01:00
Klaus Basan
93f0e6582b refs #768, improved selectors
* added focus proxy
* using &QLineEdit::editingFinished as signal (changes value also when focus is lost)
* use enum to set how values are displayed
* search for DB values by leveraging the smart selector functions
* added isSet functions
* minor renamings/formatting
2016-12-06 09:33:10 +01:00
Klaus Basan
ac331d1d4f refs #768, allow to clear message form
(also fixed wrong reference to resources and deleted unused blackgui resources)
2016-12-06 09:33:09 +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
Michał Garapich
a4b5b28cc1 refs #748 Move CAirportDataReader to the db/ subdirectory
* BlackCore::CAirportDataReader -> BlackCore::Db::CAirportDataReader
* fix typo in CDatabaseReader
2016-10-17 14:34:30 +01:00
Michał Garapich
30e3ce2dbf refs #748 Make completers also work for CFlightPlanComponent 2016-10-17 14:34:29 +01:00
Michał Garapich
281b6d11a6 refs #748 Make airport completer work
* fixed typo in CWebDataServices
* trigger CAirportDataReader::dataRead() when read from cache, too
* make AirportReader part of AllSwiftDbReaders
* fixed typo in CLoginComponent
2016-10-17 14:34:28 +01:00
Mathew Sutcliffe
cafd724aaf Performance: avoid long sleep in processEvents loop. 2016-10-17 14:34:26 +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
Roland Winklmeier
95beb61518 Fixed memory leak detected by valgrind 2016-10-17 14:34:22 +01:00
Roland Winklmeier
804fef86d8 Fix uninitialized value found by valgrind 2016-10-17 14:34:21 +01:00
Roland Winklmeier
11df9d4d9a add initial arcanist configuration
This configuration file is necessary to use arcanist.
2016-10-17 14:34:20 +01:00
Klaus Basan
0f06468f9e Minor renaming and UI fix 2016-10-17 14:34:19 +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
501bea0960 refs #743, adjusted mapping component
* use cross simulator dialog (auto simulator stashing)
* added/use utility functions
2016-10-17 14:34:14 +01:00
Klaus Basan
be94da0048 refs #743, adjustments of auto stashing dialog
* using BlackCore::IProgressIndicator
* log categories
2016-10-17 14:34:13 +01:00
Klaus Basan
260996b38c refs #743, dialog for cross simulator updates FSX-P3D-FS9 2016-10-17 14:34:11 +01:00
Klaus Basan
35f010e516 refs #743, utility function for cross imulator updating 2016-10-17 14:34:07 +01:00
Klaus Basan
f68c57869c refs #743, progress (bar) interface
a class supporting a kind of progress indicator can implement the interface and be updated in utility functions
2016-10-17 14:34:05 +01:00
Klaus Basan
c4a61c275d refs #743, bottom bar to switch simulator for own models
(like for model set, not only by context menu but also by radio buttons)
2016-10-17 14:34:04 +01:00
Klaus Basan
09bd981e81 refs #743, updated GUI labels / styles (minor changes) 2016-10-17 14:34:00 +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
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