Commit Graph

1900 Commits

Author SHA1 Message Date
Klaus Basan
afdf8eccad refs #411, MS diff to reduce DBus signature length 2015-05-12 20:35:54 +01:00
Mathew Sutcliffe
210fb5a530 refs #422, #408 Fixed illegal character in dbus interface name which was previously missed. 2015-05-09 23:31:18 +01:00
Roland Winklmeier
88cb16321b Workaround issue in blackinput.pro 2015-05-06 16:21:04 +02:00
Roland Winklmeier
51c1566824 Fix Mac OSX build issues 2015-05-06 15:55:14 +02:00
Roland Winklmeier
647c5c2de8 doxygen 2015-05-05 22:27:31 +02:00
Roland Winklmeier
d4d060f4c2 refs #403 enable shared build by default 2015-05-05 21:34:33 +02:00
Roland Winklmeier
a3cfcf58c8 refs #403 add BlackGui shared library build 2015-05-05 21:34:30 +02:00
Roland Winklmeier
a13d90ada4 refs #403 add BlackCore shared library build 2015-05-05 21:34:28 +02:00
Roland Winklmeier
d14ecb3db5 refs #403 add BlackSound shared library build 2015-05-05 21:34:26 +02:00
Roland Winklmeier
9c81467fe9 refs #403 add BlackInput shared library build 2015-05-05 21:34:23 +02:00
Roland Winklmeier
d0302c275a refs #403 workaround different extern template behaviour with MinGW 2015-05-05 21:34:21 +02:00
Roland Winklmeier
a089d3641d refs #403 add BlackMisc shared library build 2015-05-05 21:34:19 +02:00
Roland Winklmeier
f75c81010d refs #403 extern templates 2015-05-05 21:34:16 +02:00
Roland Winklmeier
38b00e06b3 refs #403 Add Policy::MetaType::None for base class templates 2015-05-05 21:34:14 +02:00
Roland Winklmeier
e5e8cf00ef refs #403 use own sessionDBusServer method
This patch fixes a dependency between BlackCore and BlackMisc.
BlackMisc is the base library and cannot dependend on anything else.
2015-05-05 21:34:12 +02:00
Roland Winklmeier
b525e4b50f refs #403 disable MSVC warning C4661
Warning text: "no suitable definition provided for explicit template
instantiation request".
We know what we are doing so it is safe to ignore this warning.
2015-05-05 21:34:10 +02:00
Roland Winklmeier
31863e9ca6 refs #403 fix CCollection::useImplOf implementation 2015-05-05 21:34:08 +02:00
Roland Winklmeier
e4e9d88af8 refs #403 fix return type in CCollection::insert 2015-05-05 21:34:05 +02:00
Roland Winklmeier
64cd22b3a3 refs #403 reimplement maybe methods with type dependent templates 2015-05-05 21:34:03 +02:00
Roland Winklmeier
b8ae30f40c refs #403 comment overloaded CMeasurementUnit::stringForStreaming() 2015-05-05 21:29:56 +02:00
Roland Winklmeier
fb5b2e0edf refs #403 add default constructors to CAvionicsBase and CPhysicalQuantity
The rationale behind this is that QtMetaType complains if there
is no default constructor.
2015-05-05 21:29:54 +02:00
Roland Winklmeier
24d6e4bb4e refs #403 register all meta values in sample_blackmisc 2015-05-05 21:29:53 +02:00
Roland Winklmeier
64e089a683 refs #403 remove unnecessary includes
This dramatically reduced the size of blackmiscfreefunctions.o
2015-05-05 21:29:51 +02:00
Roland Winklmeier
8b7bc16f41 refs #403 add missing virtual destructor
Skipping it causes linker errors in shared library BlackMisc
2015-05-05 21:29:49 +02:00
Roland Winklmeier
8ad29e2fff refs #403 add extra flag for static builds 2015-05-05 21:29:48 +02:00
Roland Winklmeier
793fcbfd15 refs #403 refactor project files
* Use source path and build path instead of relative ones
* Unify pre target dependencies in libraries.pri
2015-05-05 21:29:46 +02:00
Michał Garapich
b042fa068b refs #388 Use slots to start & stop QTimers from another thread 2015-04-25 09:16:42 +02:00
Roland Winklmeier
01d92f5981 refs #408 Fix DBus interface names to contain only legal characters
The DBus specification allows only ASCII characters "[A-Z][a-z][0-9]_".
Dash is illegal and therefore libdbus is complaining about our
interface names not being valid.
2015-04-23 22:06:38 +02:00
Roland Winklmeier
f878b77f0b Don't assert on external data. 2015-04-23 22:06:35 +02:00
Roland Winklmeier
c77c0e484f refs #375 finish sending of interim positions
Airspace monitor knows all remote aircrafts and which have interim
positions enabled. It passes the list of receivers to INetwork
and INetwork sends it to FSD.
2015-04-23 22:06:32 +02:00
Roland Winklmeier
78bc9e8769 refs #375 Rename CNetworkVatlib::update to sendPositionUpdate 2015-04-23 22:06:29 +02:00
Roland Winklmeier
9079824ab9 refs #375 finished handling of interim packets
Interim packets are very close to normal position updates. It is
only missing transponder and speed information. On reception
of a interim packet, the information is added to a new
CAircraftSituation. The missing speed information is retrieved
from the last update.
2015-04-23 22:06:26 +02:00
Roland Winklmeier
b7b91d8d5b Set host application name for vatlib to "None".
The idea is if you are an addon and running inside the simulator process
you can put his name there. Since swift does (not yet) run as an addon,
set it to "None" instead.
2015-04-23 22:06:23 +02:00
Roland Winklmeier
e87556a753 Send default model string if model is empty
For a strange reason swift was sending its own name and
version instead.
2015-04-23 22:06:20 +02:00
Roland Winklmeier
952deb3922 vatlib API adaptions to v0.9.4 2015-04-23 22:06:17 +02:00
Roland Winklmeier
6ab2abcf1a refs #377 Refactor custom FSinn packet handling
The names were a bit misleading, hence this patch does rename
the methods to something more obvious. It also changes the behaviour
of CNetworkVatlib to automatically answer a custom FSinn query.
In both cases the important details are extracted and signaled to
airspace monitor.
The airspace monitor will send FSinn queries only if the exact model
is not yet known. This would be the case when another client had
sent a FSinn query already.
2015-04-23 21:23:18 +02:00
Klaus Basan
dffb2e3581 Some build adjustements:
* Warning flags for elevated warnings as discussed: no /W3, explicit /wd
* fixed include in hotkey samples
* removed outdated QMAKE_CXXFLAGS += -std=c++0x
2015-04-19 03:04:33 +02:00
Klaus Basan
dba47d6c8c refs #407, FSX driver warnings as described
* also fixed some signed / unsigned issues
2015-04-19 03:04:29 +02:00
Klaus Basan
f870fb3cf9 refs #312, some minor adjustments:
* cpp check (Jenkins)
* init style sheet in navigator
* shorter names in JSON plugin names
2015-04-19 03:04:26 +02:00
Klaus Basan
464a8f4258 Some improvements and fixes refs #312, Navigator (aka navigation bars)
* Added extra QFrame in CDockWidgets to have better control in stylesheez (CDockWidget -> QWidget -> QFrame)
* Adjusted stylesheets
* Force update of stylesheet when frameless changes
* Cascading status message in nested CInfoArea components

Floating frameless dock widget still not transparent
2015-04-19 03:04:22 +02:00
Klaus Basan
dd3f91bcd8 Doxygen issues 2015-04-19 03:04:19 +02:00
Klaus Basan
90621fecb7 refs #312, remove unwanted widget which is required only in GUI builder 2015-04-19 03:04:15 +02:00
Klaus Basan
ccc01c6824 refs #405, removed outdated overridden container functions in lists
From/ToQVariant still needed and not removed
2015-04-19 03:03:57 +02:00
Klaus Basan
72aa072f30 refs #312, Navigator (aka navigation bars)
* different dyn. property names for main window, dock window and infoarea
* dyn.properties for nested QWidgets
* style sheet for navigator
* utility function to delete layout
* added standard OS icons, some formatting in CICons
* actions in main window to be used in navigator
* main window becomes normal window when minimized so it is correctly displayed in Win taskbar

Remark: Frameless floating dockwidgets with rounded borders not yet working
2015-04-19 03:00:38 +02:00
Klaus Basan
a05fa7494f Some minor tweaks and fixes
* added names to timers
* Some DBus code formatting
* missing GUI element names
2015-04-19 03:00:34 +02:00
Roland Winklmeier
4e33cf5ac8 Fix another incorrect header include 2015-04-17 14:28:44 +02:00
Roland Winklmeier
b794a10b8e Fix incorrect header include 2015-04-16 08:06:08 +02:00
Roland Winklmeier
1b26311983 Fix license header spelling 2015-04-16 00:59:56 +02:00
Roland Winklmeier
57b5e1421c Harmonize swift domain names to org.swift-project.* 2015-04-16 00:59:56 +02:00
Michał Garapich
f9de3ad409 refs #404 Use domain-based identifiers for plugins
* Changed all plugin identifier to org.swift-project.plugins.simulator.*
* Fixed a small bug that caused settings be parsed wrong
2015-04-16 00:59:56 +02:00