Commit Graph

70 Commits

Author SHA1 Message Date
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
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
Mathew Sutcliffe
abea471b5a Fixed samples project names in QtCreator. 2015-12-12 04:47:34 +00:00
Roland Winklmeier
7ece093ee9 Refactor qmake SUBDIRS structure
The big swift.pro is refactored by the correct usage of SUBDIRS
template. The following additional changes are made:
- Removed '_' from all targets and folder names
- Aligned parent folder and target name

refs #461
2015-11-23 09:50:44 +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
5eddef0f12 Add install targets
refs #486
2015-11-19 21:07:14 +00:00
Mathew Sutcliffe
86913471a9 refs #481 Algorithms to copy random elements from containers. 2015-11-19 21:02:55 +00:00
Mathew Sutcliffe
6b75de0b3f refs #482 Project files changed to use new qmake feature files and build directory structure. 2015-11-19 21:02:41 +00:00
Klaus Basan
3e1e1070c1 refs #452 updated tests/samples to reflect previous changes 2015-11-19 20:59:21 +00:00
Klaus Basan
3c9f95356e refs #445, samples for vPilot rules
* new samples for vPilot rules
* also adjusted other samples to latest changes (livery, new readers)
2015-11-19 20:57:23 +00:00
Mathew Sutcliffe
ada03ee513 refs #434 CPropertyIndexVariantMap: removed operator templates and replaced CVariant comparison operators with a named method, matches(). 2015-06-01 21:35:00 +01:00
Roland Winklmeier
d3de687db2 Remove CSamplesConcurrent from samples_blackmisc 2015-05-30 17:00:06 +02:00
Roland Winklmeier
e4f2c9e88a Replace occurrences of CVariant::toCVariant() with CVariant::from() 2015-05-30 16:59:51 +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
104122023c Aircraft ICAO data should use ICAO code as attribute, this somehow got lost in the merge session, re-applied 2015-05-17 20:29:06 +02:00
Mathew Sutcliffe
b65232b202 MS & KB workshop: ICAO class renamings. 2015-05-12 22:47:54 +01: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
Mathew Sutcliffe
36d116b4e9 refs #413 Removed one overload of CRange::findBy and one of CSequence::applyIf; they were never used and they caused a circular dependency.
Templatized another overload of applyIf to break a circular dependency.
2015-05-12 20:37:53 +01:00
Roland Winklmeier
793fcbfd15 refs #403 refactor project files
* Use source path and build path instead of relative ones
* Unify pre target dependencies in libraries.pri
2015-05-05 21:29:46 +02: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
0ab755d510 refs #396 subfolders and renamed callsign list to callsign set
* subfolder audio
* subfolder geo
* adjusted samples, tests ....
2015-04-07 19:22:23 +02:00
Roland Winklmeier
78d3350bf3 refs #396 move Blackmisc Aviation classes into subfolder 2015-04-07 18:20:20 +02:00
Klaus Basan
28132d8e40 Fixed warnings from compiler and Jenkins build 2015-03-29 20:15:25 +02:00
Klaus Basan
f8bebf5ffa refs #386, performance issues
* keep split per callsign map in IInterpolator (so it is available for all interpolators)
* Interpolator using CWorker, so it can run in background
* added signals to provider to add split situations / callsigns
* adjustments to airspace / context for those signals
* thread safe access to those from interpolator
* renamed from rendered to remote aircraft as discussed
* adjust samples
* removed no longer required functions in timestampobjectlist
* changed connectioStatusChanged from uint -> int
2015-03-20 16:48:58 +01: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
29bb7d02d0 Allow to split callsign based list + samples 2015-03-20 16:34:26 +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
Klaus Basan
ca07e68c34 Improved samples and debugging information
* DBus test for CSimulatedAircraft
* Output of metatypes in GUI/core
* Changed output from qDebug() to QTextStream
* Variant test for CSimulatedAircraft
2015-01-25 03:55:39 +01:00