Lars Toenning
1deaeba584
Add CMake support
2023-11-12 21:36:21 +01:00
Lars Toenning
3ffb8f689b
Remove qmake files
2023-11-01 22:23:15 +01:00
Lars Toenning
bcc4bdd31e
Add SPDX identifiers for REUSE compliance
...
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com >
2023-10-03 09:29:49 +02:00
Lars Toenning
674710f146
clang-format samples
2023-04-18 16:07:19 +02:00
Lars Toenning
1a1b5429d5
Partially revert "Remove unused stringutils methods"
...
This partially reverts commit 0c1a5a5c97 .
2022-06-05 22:47:41 +02:00
Lars Toenning
0c1a5a5c97
Remove unused stringutils methods
2022-05-25 19:47:34 +01:00
Mat Sutcliffe
eb6b0ff289
Fix clang-tidy and clazy warnings
2021-08-29 17:02:27 +01:00
Mat Sutcliffe
33209fa1eb
Use std::as_const (C++17 feature)
2021-07-13 17:56:31 +01:00
Mat Sutcliffe
3c3b4cd2fe
Issue #77 Move some templated member functions into their respective header files
2020-12-19 18:50:37 +00:00
Mat Sutcliffe
0971c8ce68
Issue #77 All classes propertyindex methods use CPropertyIndexRef and QVariant
2020-12-19 18:50:35 +00:00
Mat Sutcliffe
b80114213d
Issue #77 Move mixin classes to separate files
...
By separating them from unrelated code, their dependents
can use them without depending on unrelated code, which
in turn helps to reduce cyclic dependencies.
2020-08-29 14:16:17 +01:00
Mat Sutcliffe
15789902a1
Issue #77 Remove outdated function
2020-08-29 14:16:13 +01:00
Mat Sutcliffe
8e065a8fef
Issue #77 Factor out parts of CDirectoryUtils into CSwiftDirectories
...
CDirectoryUtils is utilities for manipulating directories.
CSwiftDirectories is getters that return directories used by swift.
2020-08-29 14:16:12 +01:00
Mat Sutcliffe
670b1a1986
Fix cppcheck and compiler warnings
2020-06-29 18:34:16 +01:00
Roland Rossgotterer
9fa3221abc
Replace deprecated endl with Qt::endl
2020-06-12 18:42:54 +01:00
Mat Sutcliffe
4a0d8e9864
Fixed most Qt 5.14 deprecation warnings
2020-01-07 19:57:25 +00:00
Klaus Basan
96fc62e393
Fix wrong call in sample
2019-09-16 22:40:29 +01:00
Klaus Basan
ca7f11eb81
Ref T660, fixed and renamed to "getRelativeSubDirectories" plus sample
2019-09-16 22:40:25 +01:00
Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Mat Sutcliffe
dd655bcb25
Ref T486 Using QRandomGenerator.
2019-02-22 20:34:53 +00:00
Klaus Basan
e312718bbb
Ref T379, style
2018-10-05 17:39:57 +02:00
Klaus Basan
f6dee9e7ff
Ref T308, use optimized version in model reader/performance samples
2018-08-31 20:08:02 +02:00
Klaus Basan
398ca4fb45
Ref T280, sample to test if QHash or QMap for key callsign is faster
...
* QHash seems to be faster and is const
* see also https://woboq.com/blog/qmap_qhash_benchmark.html
2018-06-13 14:00:35 +02:00
Roland Winklmeier
4aaccb44c3
Cleanup the enabled modules in all sub projects
...
Most modules were just enabled to add include path for dependent headers
2018-06-02 02:08:46 +02:00
Klaus Basan
afe4a09218
Formatting
2018-05-18 00:25:10 +02:00
Klaus Basan
69d1897f62
Ref T202, Ref T189 samples (based on RW's review and discussion)
2017-12-21 19:50:26 +01:00
Mathew Sutcliffe
fcb6cf1a52
Removed type erasure in containers
...
Summary:
Refs T196
Using QVector as this is Qt's recommended container type.
Reviewers: #swift_developers, rwinklmeier
Reviewed By: #swift_developers, rwinklmeier
Subscribers: rwinklmeier, jenkins
Tags: #swift_pilot_client
Maniphest Tasks: T196
Differential Revision: https://dev.swift-project.org/D61
2017-11-23 22:15:23 +00:00
Mathew Sutcliffe
b163f2b4fb
Removed std::random_shuffle which was deprecated in C++14 and removed in C++17.
2017-09-24 20:29:28 +01:00
Klaus Basan
a9198e4f13
Ref T103, Unified naming of directory functions
...
* some started with get/some not (removed get, get is normally used for our getters)
* some used swift, getSwiftXZY dir (removed swift)
* used full word "directory", not dir/directory mixed
2017-09-24 19:49:53 +01:00
Klaus Basan
debd9c802f
Ref T103, moved directory functions from CBuildConfig to CDirectoryUtils
...
getApplicationDir renamed to getBinDir() as it works different on MacOs
see https://dev.swift-project.org/w/dev/swiftpc/dirstructure/
2017-09-24 19:49:51 +01:00
Roland Winklmeier
cf2c0d0f35
Use qt.conf to override plugin path on Mac OS
...
Summary:
QCoreApplication::addLibraryPath is called before QCoreApplication
was constructed and this caused the returned string to be different
depending from which working directory it was called and not always
the intended binary path.
Using qt.conf has a fixed prefix relative to the binary path
inside the application bundle and therefore is easier to be used
with a relative path.
Reviewers: kbasan, msutcliffe
Reviewed By: msutcliffe
Differential Revision: https://dev.swift-project.org/D18
2017-05-05 23:08:40 +01:00
Roland Winklmeier
a3bc5c2936
Add <swiftInstall>/bin to library lookup paths
...
Summary:
This change adds <swiftInstall>/bin to the library lookup paths.
Without, QFactoryLoader is not able to find the Qt plugins
on Mac OS since on this platform the hard coded path defaults to
'foo.app/Contents/MacOS' for app bundles.
This change also adds the installation of QtPrintSupport framework which
is a dependency from cocoa platform plugin.
ref T48
Reviewers: kbasan, msutcliffe
Reviewed By: kbasan
Subscribers: jenkins
Maniphest Tasks: T48
Differential Revision: https://dev.swift-project.org/D15
2017-05-05 22:40:43 +01:00
Mathew Sutcliffe
b7f69c6887
refs #937 Resolved clazy warnings: unnecessary memory allocation.
2017-04-19 19:31:39 +01:00
Mathew Sutcliffe
fce1513dae
refs #937 Resolved clazy warnings: unnecessary detaching of containers.
2017-04-19 19:31:38 +01:00
Klaus Basan
705e83e156
Simplified Ctor for application with CApplicationInfo::Application
2017-04-18 00:00:02 +01:00
Klaus Basan
e73c8c4f36
refs #879 , use test data in samples/unit tests
2017-02-24 15:21:30 +00:00
Klaus Basan
20921b79b8
refs #875 , refs #879 , move functions only needed in performance samples to CSamplesPerformance
...
Also made some sample functions private
2017-02-24 15:21:21 +00:00
Klaus Basan
7917769802
refs #875 , adjusted using classes to use new namespaces
2017-02-24 15:21:18 +00:00
Klaus Basan
c1482dca36
Formatting, help text beautifyHelpMessage, improved convertToQString
2017-02-24 15:20:55 +00:00
Klaus Basan
5420aee195
Added string concatenation samples
2017-02-24 00:09:12 +00:00
Mathew Sutcliffe
7e85422da7
refs #837 CAircraftSituation altitude is part of its position.
2017-01-10 23:44:40 +00:00
Mathew Sutcliffe
6c36cd202b
refs #837 ICoordinateGeodetic::geodeticHeight is a CAltitude.
2017-01-10 23:44:34 +00:00
Mathew Sutcliffe
5791de6860
refs #800 Fixed some implicit conversion warnings.
2016-12-13 19:00:26 +01:00
Mathew Sutcliffe
f4982ffbc4
refs #784 Extend JSON performance sample to test memoization of CAircraftModelList.
2016-12-13 19:00:18 +01:00
Klaus Basan
ff394f4785
refs #787 , support for Header / shared files in database reader / web services
...
* split JsonDatastoreResponse in subclass HeaderResponse
* support for request newtwork request duration ("started") in application
* removed ps_setupChanged because it was unused
2016-12-06 09:35:02 +01:00
Klaus Basan
14469f2d4e
Sample reg. JSON performance
...
* DB JSON vs. swift JSON
* Database reader: own function for stringToDatastoreResponse so it can be reused
2016-12-06 09:33:43 +01:00
Mathew Sutcliffe
80dc4ea49a
refs #710 Sample to compare performance of string utilities versus regular expressions.
2016-09-01 21:06:18 +01:00
Mathew Sutcliffe
0fb7603b58
refs #721 JSON performance samples.
2016-08-26 21:05:51 +01:00
Mathew Sutcliffe
a5dfa1ef00
refs #570 Removed unused method splitByTime.
2016-06-08 23:59:57 +01:00
Roland Winklmeier
364b16346d
Fix samples header includes
...
* Include only what is used
* Use forward declaration when possible
* Sorted includes
refs #598
2016-05-20 01:32:14 +02:00