Commit Graph

1350 Commits

Author SHA1 Message Date
Roland Winklmeier
ab1491f085 Rename share/dbus-1 to etc/dbus-1 to not mix it up with data/shared
refs #615
2016-05-20 01:41:19 +02:00
Roland Winklmeier
20aa59c537 Properly cleanup open QDBusConnection's
Everytime you connect to DBus, the connection stays open until it
is manually disconnected or cleaned up by the QCoreApplication
destructor. In case of xbus, ~QCoreApplication is not necessarily
be called and the connection not cleaned up. Hence do it manually.

refs #615
2016-05-20 01:41:18 +02:00
Roland Winklmeier
d4248d2661 Util methods to modify the custom library search path
refs #615
2016-05-20 01:41:10 +02:00
Roland Winklmeier
45b0503896 Include Mac OS X platform in installer project
refs #615
2016-05-20 01:40:04 +02:00
Roland Winklmeier
0ba46360dd Move sounds and stylesheet directory configuration to buildconfig.h.in
refs #615
2016-05-20 01:36:44 +02:00
Roland Winklmeier
9ef34c4b96 Group all resources in data/ subfolder
refs #615
2016-05-20 01:35:19 +02:00
Roland Winklmeier
d0313c7524 Style 2016-05-20 01:31:26 +02:00
Roland Winklmeier
f4c2939253 Fix BlackGui header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-20 01:31:11 +02:00
Roland Winklmeier
3d7a39ed00 Fix BlackMisc header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #630
2016-05-13 17:05:49 +02:00
Klaus Basan
0f5d2a29a8 refs #655, Change signature (order) of setProperty/compareProperty 2016-05-13 16:44:17 +02:00
Klaus Basan
49094115b1 static assert as discussed here https://dev.vatsim-germany.org/issues/648#note-10
#648
2016-05-13 16:43:58 +02:00
Klaus Basan
4b11eb3f83 refs #648, refs #640 review of MS
https://dev.vatsim-germany.org/issues/648#note-5
2016-05-07 20:11:54 +02:00
Klaus Basan
96189f530b Fixed typo setGroundSpeed 2016-05-07 20:11:50 +02:00
Klaus Basan
1a62de8dc3 refs #641, improvements/fixes of orderable lists / models / views
* set sort order automatically to IndexOrder when changing order of items
* call onChanged when model is changed and then update view (needed when model is changed directly, not via view)
* support for digest signal so redundant updates can be avoided
* renamed rowCountChanged (signal) to modelDataChanged - detecting row count changes only was useless
* updated Doxygen / fixed typos
2016-05-07 20:11:49 +02:00
Klaus Basan
2da14e3b62 refs #648, change existing context menus 2016-05-07 20:11:46 +02:00
Mathew Sutcliffe
bf2a84b67c refs #614, allow CCached::NotifySlot to refer to a base class method 2016-05-07 20:11:42 +02:00
Klaus Basan
43f9515eaa refs #641, moved last simulator selection to caches
* removed from component cache
* kept renamed component caches as stubs for later usage

refs #646, removed gui state cache as it causes build issues on Jenkins
(idea was to keep the classes as stubs for later usage)
2016-05-07 20:11:41 +02:00
Klaus Basan
48bcb105cd refs #613, changes as proposed by MS
https://dev.vatsim-germany.org/issues/613#note-3
2016-05-07 20:11:40 +02:00
Klaus Basan
8da559a186 refs #642, as proposed by MS
https://dev.vatsim-germany.org/issues/642#note-4
2016-05-07 20:11:40 +02:00
Klaus Basan
bb6eea6c72 refs #641, using order in model caches 2016-05-05 20:49:24 +02:00
Klaus Basan
1bb6f98e56 refs #641, using IOrderable and some formatting 2016-05-05 20:49:23 +02:00
Klaus Basan
c42df3ed4d Formatting and fixed dropbase (unimplemented function) 2016-05-05 20:49:20 +02:00
Klaus Basan
d487a84acb refs #640, distributor list preferences value object and settings 2016-05-05 20:49:19 +02:00
Klaus Basan
5f2110b81a refs #640, value object orderable interface (same as ITimestampBased ..)
* interface and list
* added Q_DECLARE_INTERFACE
2016-05-05 20:49:19 +02:00
Klaus Basan
5d39c906e4 refs #640, support for simulator in distributor
* changed backend (JSON) and added support for simulator data
* get distributors by simulator
* renamed to setSimulator / getSimulator
2016-05-05 20:49:18 +02:00
Klaus Basan
b78308b059 follow up of refs #643, allow to display icon in overlay window
* some optimization to check if icon is available
* menus for context menu
* allow to display icon/image in overlay window
2016-05-05 20:49:17 +02:00
Klaus Basan
ddc7347927 refs #643, moved aircraft model icon loading to model class
* removed iconForModel from interface and aircraft config parser
* CPixmap support for loading pixmap from file
* Access to model of model set loader by model string
* icon path as member of CAircraftModel
2016-05-05 20:49:16 +02:00
Klaus Basan
a3a3380008 Typo 2016-05-05 20:49:15 +02:00
Klaus Basan
bc4efbfd71 refs #642, fixed 2nd issue reported by RW via slack
(assert with default values)
2016-05-05 20:49:14 +02:00
Klaus Basan
d0daad7d34 refs #642, fixed setup loading, in same step refs #636 clear cache
* changed signals in setup reader
* explicit mode is default
* detailed information what is loaded
* new log pattern
* allow to add message list to log component
* allow to clear cache by cmd line arg
* consolidated cmd names
2016-05-05 20:49:13 +02:00
Klaus Basan
bd9de9308c refs #640, alternatives for combined code 2016-05-05 20:49:12 +02:00
Mathew Sutcliffe
ed2c8130ae refs #652 Convenience to support changing only an indexed property of a cached value. 2016-05-05 15:25:07 +01:00
Mathew Sutcliffe
a492189874 refs #653 Rephrase "uninitialized value" message. 2016-05-05 15:25:07 +01:00
Michał Garapich
1a3e610cbf refs #513 Make plugin selection persistent
* Saved listeners are started on application startup
* CVariant has support for QStringList
2016-05-04 22:58:08 +02:00
Mathew Sutcliffe
f4eadddee7 refs #644 Add method CCached::save, like setAndSave but using the currently set value.
Implemented with a flag in CValueCachePacket to indicate a request to save only.
2016-04-27 19:39:49 +01:00
Mathew Sutcliffe
d9d30a339a refs #644 Move the enable of settings save to the same place as the initial settings load. 2016-04-27 18:35:08 +01:00
Klaus Basan
826662cbb5 refs #638, refs #614, support for military flag and swift livery string
* fixed missing tuple attribute
* improved toQString conversion
2016-04-11 20:57:58 +02:00
Klaus Basan
d9e550beef refs #634, improved completers
* mostly to avoid roundtrips (set->changed signal->set again...)
* better sort for ICAO completer
2016-04-11 20:57:57 +02:00
Klaus Basan
95044e7854 refs #614, fixed icon/qss as found during testing 2016-04-11 20:57:56 +02:00
Klaus Basan
368d803d42 refs #614, refs #638 removed redundant m_livery from CSimulatedAircraft and improved convertTOQString
* removed some leftovers in simulated aircraft such as virtual functions
* use livery from model instead of keeping a redundant copy
2016-04-11 20:57:54 +02:00
Klaus Basan
1953665c40 refs #637, move matcher to blackcore
(access to sApp/web services)
2016-04-11 20:24:57 +02:00
Klaus Basan
f4f195a5f4 refs #614, matcher improvements
* improved reduce functions
* support for combined code
* support for livery
2016-04-11 20:22:23 +02:00
Klaus Basan
d83e9c0c91 Made ctor explicit 2016-04-11 20:22:22 +02:00
Klaus Basan
abca1fde52 refs #614, use interfaces from last step to reuse mergeWithDb data in multiple components
* adjusted menus
* adjusted loaders and components
2016-04-11 20:22:18 +02:00
Klaus Basan
43c69d2ed0 refs #614, move utility functions into own class so I can resuse them better 2016-04-11 20:22:16 +02:00
Klaus Basan
314c005ff2 refs #614, a generic interface to modify / update models so I can write generic functions for that purpose and use them
* interface for the caches
* generic model interfaces
2016-04-11 20:22:15 +02:00
Klaus Basan
5254d0ff71 refs #614, categories 2016-04-11 20:22:07 +02:00
Klaus Basan
0343bfb521 refs #625, refs #614 using cpp.in instead of h.in
* kept nornmal header buildconfig.h
* kept all standard code in buildconfig.cpp
* bundled all DEFINE / replaced code in buildconfig.cpp.in (small)
2016-04-11 20:19:50 +02:00
Klaus Basan
17ce1eef34 refs #625, refs #614 integration of client id fix 2016-04-11 20:19:49 +02:00
Klaus Basan
f5942347f2 refs #614, improved model matcher 2016-04-11 20:19:48 +02:00