Commit Graph

1183 Commits

Author SHA1 Message Date
Roland Winklmeier
d71e380a91 refs #341 Fix operator= return types 2014-11-05 16:07:31 +01:00
Roland Winklmeier
192b407e75 Use QPointer::data() as argument for QObject::connect()
Using QPointer breaks on some gcc versions
2014-10-27 17:32:31 +01:00
Mathew Sutcliffe
7a133bde11 refs #338 Added class CLogSubscriber, a helper for subscribing to log messages matching a certain pattern, with the ability to change the pattern at runtime. 2014-10-26 16:18:55 +00:00
Mathew Sutcliffe
0f888b8d89 refs #338 Severity strings. 2014-10-26 16:18:52 +00:00
Mathew Sutcliffe
33b0e80a99 refs #338 Fixed missing severity string. 2014-10-24 00:33:55 +01:00
Mathew Sutcliffe
82da5fca6f refs #338 Convenience methods. 2014-10-22 23:12:20 +01:00
Mathew Sutcliffe
8962368278 refs #338 Using CLogPattern for subscribing to log messages and selectively enabling console output. 2014-10-22 03:05:39 +01:00
Mathew Sutcliffe
7f783fac8f refs #338 CLogHandler: cleaned up the logic for selectively enabling console output, with the help of the partial ordering feature of CLogPattern::isProperSubsetOf. 2014-10-22 03:05:28 +01:00
Mathew Sutcliffe
4f9d522f7b refs #338 CLogHandler filtering messages using CLogPattern instead of the old prefix-based approach. 2014-10-22 03:05:18 +01:00
Mathew Sutcliffe
24485f6331 refs #338 Topological sorting algorithm, to be used for sorting CLogPattern. 2014-10-22 03:05:08 +01:00
Mathew Sutcliffe
755d1afe0d refs #338 Added class CLogPattern which provides different ways of matching log messages based on their categories. 2014-10-22 03:04:58 +01:00
Mathew Sutcliffe
b12562ec5f refs #338 Fixed reentrancy of CLogHandler garbage collection. 2014-10-22 03:00:48 +01:00
Mathew Sutcliffe
f2412483a0 Fixed mistakes detected by clang. 2014-10-16 17:11:31 +01:00
Mathew Sutcliffe
c30bf9f61e refs #336 Fixed CLogHandler thread safety in swiftcore. 2014-10-16 17:06:46 +01:00
Mathew Sutcliffe
d0894d2cf9 refs #336 Convenience methods to create validation messages. 2014-10-16 17:06:31 +01:00
Mathew Sutcliffe
5991981789 refs #336 Removed the old getMessageCategory methods. 2014-10-16 17:06:21 +01:00
Mathew Sutcliffe
75f72fa5cf refs #336 Selectively enabling console output using CLogCategory in swiftcore. 2014-10-16 17:06:10 +01:00
Mathew Sutcliffe
d115caf85b refs #336 Filtering validation messages using CLogCategory in MainWindow. 2014-10-16 17:06:00 +01:00
Mathew Sutcliffe
a294e8db0f refs #336 Using the new CLogMessage syntax to log messages. 2014-10-16 17:05:50 +01:00
Mathew Sutcliffe
067344df24 refs #336 Added class CLogCategory to represent a log category. The category logic of CLogMessage is moved into this new class. 2014-10-16 17:05:28 +01:00
Mathew Sutcliffe
8992bd734c refs #336 CStatusMessage keeps track of which objects have handled it, to avoid duplicate handlings of the same message. 2014-10-16 17:05:06 +01:00
Mathew Sutcliffe
09685e8b37 refs #336 Delete CLogCategoryHandler when it is no longer used, and thread safety. 2014-10-15 01:46:35 +01:00
Mathew Sutcliffe
4549e84e05 refs #336 Renaming. 2014-10-15 01:46:35 +01:00
Mathew Sutcliffe
e3446d78d8 refs #336 Style and const-correctness. 2014-10-15 01:46:34 +01:00
Klaus Basan
663740d5bd refs #310, adjusted components / GUI to use renamed methods 2014-10-08 19:12:22 +02:00
Klaus Basan
9e23b0a2c0 refs #310, used empty network context with runtime/context base classes
* refactored to member initialization
* adjusted asserts
* adjusted isXXObject methods
* changed create method for ContextNetwork to support empty context
* empty status message used as return value in empty context
2014-10-08 19:11:33 +02:00
Klaus Basan
dc173403fc refs #310, empty network context 2014-10-08 19:11:13 +02:00
Roland Winklmeier
c533e9213a refs #332 send slew mode position packet instead of the full one
This bypasses the physics engine inside FS9
2014-10-08 01:52:59 +02:00
Roland Winklmeier
5ad9c9c30b refs #332 Add slew mode position packet to FS9 SDK 2014-10-08 01:52:56 +02:00
Roland Winklmeier
c94295e473 Remove aircrafts limitation in FS9 plugin
It should not be the plugins descision to limit
the number of displayed aircrafts. Triggered an
assert
2014-10-08 01:35:07 +02:00
Roland Winklmeier
4950d63702 Fix typo 2014-10-08 01:35:05 +02:00
Roland Winklmeier
2417e4599d refs #331 Add size methods to all FS9 packets
Not all methods could be static, hence they are all
non-static for consistency.
2014-10-08 01:35:02 +02:00
Roland Winklmeier
a46cd750d1 refs #331 Send a default packet (gear down) to FS9 2014-10-08 01:34:54 +02:00
Roland Winklmeier
374be69d8a refs #331 Add FS9 animation param packet 2014-10-08 01:34:51 +02:00
Roland Winklmeier
716b5cc00e Fix missing enumeration value and break statement in switch 2014-10-08 00:17:26 +02:00
Roland Winklmeier
522c1263ef Fix missing removedAircraft signals when disconnecting from network 2014-10-07 23:37:12 +02:00
Roland Winklmeier
23c54a968d Fix missing includes in CDictionary 2014-10-07 23:37:10 +02:00
Roland Winklmeier
704721b01a refs #324 Enable the assert in addAircraftSituation 2014-10-07 23:37:07 +02:00
Roland Winklmeier
faf931742a refs #324 Remove timeout implementation from MSFS plugins 2014-10-07 23:37:04 +02:00
Roland Winklmeier
5fe4ea3039 refs #324 connect airspace watchdog to airspace monitor 2014-10-07 23:36:59 +02:00
Roland Winklmeier
d6cbf10854 refs #324 airspace watchdog
CAirspaceWatchdog times out clients, if a no update has been received
for a configured time
2014-10-07 23:36:57 +02:00
Roland Winklmeier
d032d250d5 Fix missing mutex include on Linux 2014-10-07 16:41:18 +02:00
Klaus Basan
0d74afe02a Fixed return type to void as discussed:
https://dev.vatsim-germany.org/issues/325#note-26
2014-10-07 13:17:37 +02:00
Mathew Sutcliffe
8664ed01a8 refs #325, used MS' worker class and removed redundant code
* contains "hacked-in demonstration of CWorker usage"
2014-10-07 13:10:50 +02:00
Mathew Sutcliffe
418dd5e126 refs #325, CWorker class for executing arbitrary tasks in their own threads 2014-10-07 13:10:49 +02:00
Klaus Basan
d4e126932b Fixes of review included (Concurrency 2, https://dev.vatsim-germany.org/issues/325#note-14) 2014-10-07 13:10:48 +02:00
Klaus Basan
e745885906 refs #325, added some comments to simplify review 2014-10-07 13:10:47 +02:00
Klaus Basan
e929423fc9 Some GUI finetuning
* tabBar expanding
* removed setDocumentMode
* Flight plan in scroll area
2014-10-07 13:10:45 +02:00
Klaus Basan
e545288630 refs#325, made simulator component CDockWidgetInfoAreaComponent compliant, finetuning with resizing in some components
* updates can be skipped, when widget is invisible
* current tab? only current tab updates
* reduced resize frequency in some cases
2014-10-07 13:10:44 +02:00
Klaus Basan
7304d8bd3e refs #325, name variant pair allows test for existing values
* equal value updates can be skipped
* equalsQVariant in CValueObject
* resizing parameter for views
2014-10-07 13:10:43 +02:00