Commit Graph

24 Commits

Author SHA1 Message Date
Mathew Sutcliffe
2509fb9d2e Fatal message should generate a messagebox on Windows.
Qt already does this in debug builds, so this just makes release builds consistent.
2017-05-15 22:31:39 +01:00
Mathew Sutcliffe
91341890ec Use a blocking queued connection to CLogHandler::logLocalMessage
when logging a fatal message from a worker thread.
Hopefully this will allow assert messages to be recorded in the logs.
2017-05-11 17:39:42 +01:00
Mathew Sutcliffe
fce1513dae refs #937 Resolved clazy warnings: unnecessary detaching of containers. 2017-04-19 19:31:38 +01:00
Mathew Sutcliffe
b62d1c303c refs #783 Remove the flawed 4-arg version of BlackMisc::singleShot and change signature of 3-arg version. 2016-12-06 09:34:07 +01: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
Roland Winklmeier
1ea2f34f75 Fix doxygen documentation in src, samples and tests
refs #594
2016-02-16 20:01:33 +01:00
Mathew Sutcliffe
3aa3a2a892 refs #467 Mechanism for processes to notify each other of which log patterns they are subscribed to. 2015-11-19 21:02:02 +00:00
Mathew Sutcliffe
6d5e3b5897 refs #467 Refactored CLogPatternHandler garbage collection by hooking into QObject::disconnectNotify. 2015-11-19 21:01:59 +00:00
Klaus Basan
9d0408138a refs #446, changed log handler as discussed in slack 2015-11-19 20:57:12 +00:00
Roland Winklmeier
1b26311983 Fix license header spelling 2015-04-16 00:59:56 +02:00
Klaus Basan
f62f85b263 refs #359, fixed loghandler, removed / fine tuning of some output / log messages
see also discussion in #359
2014-12-28 22:20:01 +01:00
Mathew Sutcliffe
cbbf9c256a refs #348 Added thread safety guarantees in CLogSubscriber. 2014-11-30 00:57:43 +01:00
Klaus Basan
216b9f170d refs #335 disable context logging to console in swiftgui_std 2014-11-30 00:52: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
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
b12562ec5f refs #338 Fixed reentrancy of CLogHandler garbage collection. 2014-10-22 03:00:48 +01:00
Mathew Sutcliffe
c30bf9f61e refs #336 Fixed CLogHandler thread safety in swiftcore. 2014-10-16 17:06:46 +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
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
Mathew Sutcliffe
ed723c5e97 refs #316 Added CLogHandler which allows to subscribe to log messages. 2014-10-04 22:16:37 +01:00