Commit Graph

20 Commits

Author SHA1 Message Date
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
3137af30bb Ref T494, detect callsign in text message 2019-02-22 20:35:07 +00:00
Klaus Basan
cb084427ec Unified "simplification" to ASCII only for text messages
Based on the codepage discussion of text messages

* in text message value object still store the unicode string
* the text is only "cleaned" up and Qt "simplified" (do not confuse with conversion to ASCII)
* only place where we simplify to ASCII only is
** in VATLIB
** or the utility
2019-02-22 20:35:05 +00:00
Mat Sutcliffe
d6b5dca6b2 Return a default-constructed QString instead of implicitly converting an empty string literal. 2019-02-22 20:23:49 +00:00
Mat Sutcliffe
ace7650ebe Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals. 2019-02-22 20:23:46 +00:00
Klaus Basan
85f7a37c8b Make sure there are no "illegal" characters in text messages 2018-10-03 03:03:39 +02:00
Klaus Basan
a3bbb72185 Simplify (remove duplicate spaces) text messages 2018-01-30 20:30:46 +01:00
Klaus Basan
d4b4b48a55 Ref T190, improved display of text messages
* tooltip
* using QStringBuilder
2017-12-21 19:45:22 +01:00
Klaus Basan
c2eeff6193 Ref T189, formatting 2017-12-21 19:45:17 +01:00
Klaus Basan
48adb52082 Ref T190, text messages can be appended
(same sender sends one message in multiple parts)
2017-12-21 19:44:57 +01:00
Klaus Basan
f55332b1ec Ref T190, text message formatting 2017-12-21 19:44:49 +01:00
Mathew Sutcliffe
e848459ccb Avoiding QRegularExpression for simple stuff [follow-up D11]
Summary: Fixing a snag I noticed while reviewing D11. There is no need to use a regex for such a simple thing as removing `[^A-Z]`. Some other minor optimizations in the same function.

Reviewers: rwinklmeier, kbasan

Reviewed By: rwinklmeier

Subscribers: jenkins

Tags: #swift_pilot_client

Differential Revision: https://dev.swift-project.org/D20
2017-05-14 15:04:32 +01:00
Mathew Sutcliffe
d5ab73e1bc Replace QRegExp with QRegularExpression
Reviewers: kbasan, msutcliffe

Reviewed By: kbasan, msutcliffe

Subscribers: jenkins

Differential Revision: https://dev.swift-project.org/D11
2017-05-05 23:08:35 +01:00
Klaus Basan
8cc683386f refs #897, set timestamp for sent message and default "all messages" 2017-04-17 23:58:21 +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
Klaus Basan
0f5d2a29a8 refs #655, Change signature (order) of setProperty/compareProperty 2016-05-13 16:44:17 +02:00
Klaus Basan
c3722f9198 refs #485, refs #584 removed include blackmiscfreefunctions.h 2016-03-18 01:07:49 +00:00
Klaus Basan
e04ada3a7c refs #437, remove convertFromCVariant 2015-05-31 01:31:09 +02:00
Roland Winklmeier
e4f2c9e88a Replace occurrences of CVariant::toCVariant() with CVariant::from() 2015-05-30 16:59:51 +02:00
Michał Garapich
985a1caecf refs #396 BlackMisc: nw* goes to network/, hw* goes to hardware/ 2015-04-07 19:22:37 +02:00