Roland Winklmeier
a732de4b28
refs #341 workaround cppcheck unreachableCode warning
2014-11-05 16:07:53 +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
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
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
Roland Winklmeier
716b5cc00e
Fix missing enumeration value and break statement in switch
2014-10-08 00:17:26 +02:00
Roland Winklmeier
23c54a968d
Fix missing includes in CDictionary
2014-10-07 23:37:10 +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
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
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
Klaus Basan
ef5f5bde0f
Formatting, new icons, minor tweaks
2014-10-07 13:10:37 +02:00
Klaus Basan
31646b91f6
refs #330 , relevant predicate-based container mutator methods now return the number of elements they modified.
2014-10-07 13:10:34 +02:00
Klaus Basan
4b50134d2a
refs #325 , refs #330 fixed apply method to return list of changed properties
...
* changed CValueObject apply
* created CIndexPropertyList
* renamed CIndexVariantMap to CPropertyIndexVariantMap
2014-10-07 13:10:33 +02:00
Klaus Basan
053c248f06
refs #325 , added async. sort (kind of experimental feature to see performance impact)
2014-10-07 13:10:18 +02:00
Klaus Basan
5d6713032f
Formatting, new icons
2014-10-07 13:10:17 +02:00
Klaus Basan
b989dec74d
Slightly changed ATC stations appearance, reload ATIS / load METAR
2014-10-07 13:08:23 +02:00
Mathew Sutcliffe
5795845400
refs #316 Doxygen.
2014-10-04 22:17:12 +01:00
Mathew Sutcliffe
87086f7e37
refs #316 Removed no longer used static status message methods in CSettingUtilities.
2014-10-04 22:16:45 +01:00
Mathew Sutcliffe
b16b02c3d6
refs #316 Changed blackmisc and blacksim to use CLogMessage to emit messages.
...
Also changed functions which always returned CStatusMessageList containing a single CStatusMessage,
to return CStatusMessage instead for simplicity.
2014-10-04 22:16:40 +01:00
Mathew Sutcliffe
ed723c5e97
refs #316 Added CLogHandler which allows to subscribe to log messages.
2014-10-04 22:16:37 +01:00
Mathew Sutcliffe
ce6cdf12a7
refs #316 Added CLogMessage for logging messages, and corresponding changes to CStatusMessage and CTextMessage.
2014-10-04 22:16:35 +01:00
Klaus Basan
d3e6a3f721
refs #327 , fixed the includes as discussed with 327
...
* no #include "valueobject.h" in blackmiscfreefunctions
* missing includes as mentioned by RW
2014-09-11 18:34:54 +02:00
Klaus Basan
c5eb1151d4
refs #327 , CStatusMessage based on CRTP (proof of concept)
2014-09-11 18:34:52 +02:00
Klaus Basan
6aba823f4f
refs #327 , CRTP for CValueObject classes
...
* using toMetaTuple, no jsonMembers function
* no un/equal operator as discussed
2014-09-11 18:34:27 +02:00
Klaus Basan
02bfa01cc9
refs #322 , fix for non-firing timer. Also adjusted input counts for online data
2014-09-11 12:08:10 +02:00
Klaus Basan
4500bda125
Added updates by VATSIM data file for voice capabilities
2014-09-09 20:07:29 +02:00
Klaus Basan
2127238ed4
Doxygen, renaming, formatting
...
* Formatting, renaming to current schema
* Minor tweaks
2014-09-09 20:07:27 +02:00
Klaus Basan
e4545f23d2
refs #322 , included context menu and methods for injecting test data (ATC stations) in GUI
2014-09-09 20:07:23 +02:00
Klaus Basan
87e87013f9
refs #322 , performance samples
...
* menu for samples, no need to comment things out
2014-09-09 20:07:22 +02:00
Klaus Basan
00f3a78a66
refs #322 , class generating testdata
2014-09-09 20:07:20 +02:00
Klaus Basan
62010a09c8
refs #319 , Doxygen, headers, formatting
2014-09-09 20:07:17 +02:00
Klaus Basan
fc84673bb9
Handled performance issues and bugs noticed during testing of refs #319 / refs #322
...
* discussion: https://dev.vatsim-germany.org/boards/22/topics/2027?r=2040#message-2040
* fixed bug with ATC station component, wrong signals for booked stations
* booked stations loading to frequently (for each minor change such as online), changed to timestamp based concept
* update booked stations with receiving ATIS/voiceroom to online
* CDigestSignal class: new class and methods for collecting signals, avoiding too many signals - one of the cures for the performance issues
* fixed bug found during testing, missing start for timers when connecting to network
2014-09-09 20:07:16 +02:00