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
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
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
Klaus Basan
705e83e156
Simplified Ctor for application with CApplicationInfo::Application
2017-04-18 00:00:02 +01:00
Klaus Basan
5420aee195
Added string concatenation samples
2017-02-24 00:09:12 +00: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
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
Klaus Basan
7a38afe8c3
refs #485 , adjusted samples
2016-03-18 01:08:07 +00:00
Klaus Basan
c3722f9198
refs #485 , refs #584 removed include blackmiscfreefunctions.h
2016-03-18 01:07:49 +00:00
Roland Winklmeier
866c8d2db6
Add samples to doxygen group 'samples' and subgroups
...
refs #594
2016-02-16 20:01:42 +01:00
Roland Winklmeier
1ea2f34f75
Fix doxygen documentation in src, samples and tests
...
refs #594
2016-02-16 20:01:33 +01:00
Roland Winklmeier
bd6f0d0f25
Use namespace BlackSample in samples
...
refs #594
2016-02-16 20:01:28 +01:00
Klaus Basan
1fc7300982
refs #507 , split up blackmiscfreefunctions
...
* single register metadata functions
* string utils
* metadata utils
* some formatting / license header where applicable
2015-11-22 02:42:29 +01:00
Roland Winklmeier
d3de687db2
Remove CSamplesConcurrent from samples_blackmisc
2015-05-30 17:00:06 +02:00
Klaus Basan
a0c0da52c0
Fixed samples:
...
* use QGuiApplication in main so GUI metadata are available
* parent for thread sample, otherwise ASSERT
Remark: some issue are Qt 5.4 update related
2015-05-18 02:28:26 +02:00
Klaus Basan
b494cb51b8
refs #395 , MS'review points
...
Also removed blackmisc variant samples, https://dev.vatsim-germany.org/issues/395#note-9
2015-05-12 21:03:42 +01:00
Roland Winklmeier
1b26311983
Fix license header spelling
2015-04-16 00:59:56 +02:00
Mathew Sutcliffe
2363fab8c1
refs #396 move Blackmisc PQ classes into subfolder
2015-04-07 19:22:30 +02:00
Klaus Basan
1ff0cfa618
refs #386 , further samples / performance tests
...
* especially impact of find performance on interpolator
2015-03-20 16:34:33 +01:00
Klaus Basan
59612a8b2e
Performance samples as discussed:
...
* Vector vs List
* getByCallsign.getTimeBefore vs. getTimeBefore.getByCallsign
2015-03-20 16:33:59 +01:00
Klaus Basan
1da3f58fec
refs #369 , fixed / adjusted testing and samples
...
* changed from qDebug() to QTextStream
* setter for voice room
* set fake voice room URL, otherwise no nonger displayed in GUI
2015-03-20 16:33:39 +01:00
Klaus Basan
f0db7ed660
refs #380 , QConcurrent vs QThread sample and fix
...
* in same step fixed nullptr issue in worker (with no parent)
* Changed from QConccurennt::run to CWorker in core
2015-03-20 16:33:23 +01:00
Mathew Sutcliffe
24485f6331
refs #338 Topological sorting algorithm, to be used for sorting CLogPattern.
2014-10-22 03:05:08 +01: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
1b43538492
refs #314 , samples for Variant tests, fixed some minor things in other samples
2014-08-24 02:47:12 +02:00
Klaus Basan
3fb5087ea8
Renaming, header, Doxygen, formatting (during refs #314 )
2014-08-24 02:45:52 +02:00
Klaus Basan
dbc3339599
Fixes in samples
...
* removed qSleep / dependency of Qt test libs
* QCoreApplication not required
2014-06-23 01:19:14 +02:00
Klaus Basan
6e3b081fd2
refs #198 , refs #199 adjusted samples
2014-04-17 00:06:02 +02:00
Klaus Basan
f03d095e10
refs #192 , JSON samples and fixed one other sample
2014-03-26 20:18:50 +01:00
Klaus Basan
ab17dabd5b
samples and tests for all kbatclist branch changes
...
refs #81
2014-01-08 01:00:28 +00:00