Commit Graph

606 Commits

Author SHA1 Message Date
Roland Winklmeier
c0265ba0e4 refs #320 Move own implementation of std::make_unique into BlackMisc 2014-12-27 11:08:39 +01:00
Roland Winklmeier
cb7ad005b0 refs #320 port Network to new vatlib
* CNetworkVatlib
* Contexts
* Samples
2014-12-27 11:08:32 +01:00
Roland Winklmeier
a1ef1d4484 refs #320 Rename CAudioDevice to CAudioDeviceInfo
CAudioDevice implied a device handler instead of device information
2014-12-25 20:12:58 +01:00
Klaus Basan
927a533040 refs #349, some convenience functions 2014-12-13 13:17:34 +01:00
Klaus Basan
78e4900243 refs #349, housekeeping
* formatting
* tweaks (such as changing to new log style),
* Doxygen
* int instead of qint
2014-12-13 13:17:31 +01:00
Mathew Sutcliffe
69905d310f refs #350 Fixed CLogMessage methods for logging preformatted statusmessages. 2014-12-13 01:42:32 +00:00
Mathew Sutcliffe
bf52390e01 refs #350 CStatusMessage methods for adding extra log categories. 2014-12-13 01:42:32 +00:00
Mathew Sutcliffe
599068e25b refs #247 Removed code which is no longer used. 2014-12-13 01:42:02 +00:00
Mathew Sutcliffe
7db0587254 refs #247 Using CVariant in physical quantities. 2014-12-13 01:41:59 +00:00
Mathew Sutcliffe
48f04a4750 refs #247 Using CVariant in property index system. 2014-12-13 01:41:58 +00:00
Mathew Sutcliffe
4007f34e22 refs #247 Enabled equality comparison between CVariant and CValueObject. 2014-12-13 01:41:55 +00:00
Mathew Sutcliffe
befa5892a5 refs #247 CValueObject: Added missing convertFromCVariant method to complement toCVariant. 2014-12-13 01:41:54 +00:00
Mathew Sutcliffe
1b671e9cb0 refs #247 CVariant::valueOrDefault convenience function. 2014-12-13 01:41:53 +00:00
Mathew Sutcliffe
0bc4f82ea7 refs #247 Fine-tuned CVariant constructors. 2014-12-13 01:41:50 +00:00
Mathew Sutcliffe
155b957cee refs #247 CVariant can inherit from CValueObjectStdTuple.
But if valueobject.h includes variant.h then it would create a circular dependency.
2014-12-13 01:41:49 +00:00
Mathew Sutcliffe
f68fc32f3d refs #247 CVariant uses our new metadata system to provide access to CValueObject operations in a safe manner. 2014-12-13 01:41:48 +00:00
Mathew Sutcliffe
f52cdd596e refs #247 All our value classes registered with our new custom metatype system. 2014-12-13 01:41:47 +00:00
Mathew Sutcliffe
c5b463fafb refs #247 Created a facility to register our own custom metatype metadata. 2014-12-13 01:41:46 +00:00
Mathew Sutcliffe
fc82270d68 refs #247 Added class CVariantList. 2014-12-13 01:38:54 +00:00
Mathew Sutcliffe
16e285cecd refs #247 Style. 2014-12-13 01:38:53 +00:00
Mathew Sutcliffe
0179240619 refs #247 Compiler fixes in CDictionary. 2014-12-13 01:38:51 +00:00
Mathew Sutcliffe
d8d361a317 refs #247 Improved CSequence comparison, and suppressed stupid warnings. 2014-12-13 01:38:49 +00:00
Mathew Sutcliffe
b129b68d16 refs #247 Fix in tuple system: decltype(a.m_obj) was not decayed. 2014-12-13 01:38:48 +00:00
Mathew Sutcliffe
22f3943064 refs #247 CPropertyIndexVariantMap::addValue needs a QVariant overload to avoid selecting the template overload which would create a variant containing a variant. 2014-12-13 01:38:47 +00:00
Mathew Sutcliffe
dae235881c refs #247 Removed hashing based on address, which is very wrong. 2014-12-13 01:38:47 +00:00
Mathew Sutcliffe
a2c0a893c0 refs #247 Fixed mistakes. 2014-12-13 01:38:46 +00:00
Mathew Sutcliffe
57b2a6b588 refs #247 Removed methods which were missed in refs #345. 2014-12-13 01:38:45 +00:00
Roland Winklmeier
562cadee8a Fix several gcc, cppcheck and clang warnings 2014-12-01 23:15:49 +01:00
Mathew Sutcliffe
54e883c322 refs #334 VATSIM threaded reader classes using CContinuousWorker. 2014-11-30 02:49:15 +01:00
Mathew Sutcliffe
2a1541786a refs #334 Added class CContinuousWorker, base class for long-lived threaded worker objects. Inherits from CWorkerBase. 2014-11-30 02:29:21 +01:00
Mathew Sutcliffe
7b352c907a refs #334 Refactored CWorker parts relating to finished() signal into new base class CWorkerBase. 2014-11-30 02:29:18 +01:00
Mathew Sutcliffe
355d08d7e3 refs #348 Fixed parameter namespaces so that moc generates correct metacall code for calling slots by Qt::QueuedConnection. 2014-11-30 00:57:46 +01:00
Mathew Sutcliffe
cbbf9c256a refs #348 Added thread safety guarantees in CLogSubscriber. 2014-11-30 00:57:43 +01:00
Klaus Basan
09ecb419dd Added isFromClass, see
https://dev.vatsim-germany.org/boards/22/topics/2207?r=2230#message-2230
2014-11-30 00:57:26 +01:00
Klaus Basan
97e04f8360 Human readable log category:
* fixed propertyIndex in CStatusMessage
* added method for human readable messages in CStatusMessage
* added typeid based category for classes
* listmodel for staus messages, added column and removed outdated data method
* columns, in class init
2014-11-30 00:56:48 +01:00
Klaus Basan
350b5a0bfa improved string to severity enum (for core log levels) 2014-11-30 00:56:38 +01:00
Klaus Basan
4ce5144516 refs #77, refs #288 fixed gcc / doxygen warnings as far as possible 2014-11-30 00:56:00 +01:00
Klaus Basan
eb13c9d4ae refs #77, used locale aware number parsing for command parser 2014-11-30 00:55:51 +01:00
Klaus Basan
c173a30a94 refs #343, Changed transponder code and volume to int as discussed 2014-11-30 00:55:48 +01:00
Klaus Basan
44d0cd002b refs #288, adjusted server and network views
* aircraft settings are gone, move to login screen
* no selected server needed anymore
* marked outdated methods as deprecated
2014-11-30 00:55:09 +01:00
Klaus Basan
d1d02d6c3c refs #288, improved validation in some value objects 2014-11-30 00:55:06 +01:00
Klaus Basan
5ff28cb3a1 refs #288, formatting, minor tweaks, utility methods, tabstops 2014-11-30 00:55:04 +01:00
Klaus Basan
159dbe9f5a refs #288, convenience methods in log message 2014-11-30 00:54:56 +01:00
Klaus Basan
d6cc6e3dd3 refs #288, made setFrequency methods virtual
* rounding in setFrequency of com system
* minor fixes in com/modulator
2014-11-30 00:54:53 +01:00
Klaus Basan
a401ce439d refs #288, added FSD servers to VATSIM reader
* Voice and FSD servers can be obtained via context
* using QSCopedPointer for network reply
* minor fixes / renaming
2014-11-30 00:54:43 +01:00
Klaus Basan
dfd007c9a1 refs #335, improved mode from string in transponder 2014-11-30 00:54:30 +01:00
Klaus Basan
ffc9cc1b77 refs #335, log messages directly from status messages 2014-11-30 00:54:22 +01:00
Klaus Basan
9a920367b2 Formatting 2014-11-30 00:54:15 +01:00
Klaus Basan
fe2fa65d36 refs #77, a simple command parser
* more a util class, not a real parser
2014-11-30 00:53:52 +01:00
Klaus Basan
0c6f5f1777 refs #335, SELCAL tweaks discovered during refactoring
* better case handling in SELCAL
* SELCAL in aircraft
* SELCAL selector, improved getter / setters
* changed cockpit SELCAL elements to promoted GUI element
* synchronized flightplan and cockpit SELCAL codes, used new signal/slot syntacs in flightplan
* added SELCAL in own aircraft context
2014-11-30 00:53:49 +01:00