Commit Graph

424 Commits

Author SHA1 Message Date
Mathew Sutcliffe
a4b317b100 refs #290 using a CRange of iterator adaptors in implementating the tertiary predicate-based methods of the derived containers,
but preserving the return-by-copy for API stability
2014-07-13 20:30:22 +01:00
Mathew Sutcliffe
98a6854f8c refs #290 using a CRange of iterator adaptors to return from the secondary predicate-based methods of the containers without copying elements 2014-07-13 20:30:20 +01:00
Mathew Sutcliffe
101c5a4f98 refs #290 using a CRange of iterator adaptors to return from the primary predicate-based methods of CRangeBase without copying elements 2014-07-13 20:30:20 +01:00
Mathew Sutcliffe
bd02c74ea8 refs #290 using a CRange of iterator adaptors to return containers of keys and values from CDictionary without copying the elements 2014-07-13 20:30:19 +01:00
Mathew Sutcliffe
db453a6232 refs #290 added some new predicates and transform functions to use in combination with the iterator adaptors.
This required refactoring index_sequence out of tuple_private.h so it could be used by the predicates.
2014-07-13 20:30:19 +01:00
Mathew Sutcliffe
ae4413abdd refs #290 added iterator adaptors which will allow to construct a CRange representing a transformation of its host container 2014-07-13 20:30:18 +01:00
Mathew Sutcliffe
a6fad0508f refs #290 added CRange, a conceptual container constructed from a begin and end iterator of a real container,
which allows making a pseudo-copy of a container without copying the elements inside
2014-07-13 20:30:17 +01:00
Mathew Sutcliffe
32e3c0298c refs #290 Preparatory to adding CRange, refactored all const algorithm-based methods from CContainerBase into a common base class CRangeBase 2014-07-13 20:30:16 +01:00
Mathew Sutcliffe
bcac93f593 CSequence: frontOrDefault and backOrDefault taking the default value as an argument 2014-07-13 20:30:16 +01:00
Mathew Sutcliffe
e23e418797 incidental refactoring: simplify some predicates by templating their call operators 2014-07-13 00:45:22 +01:00
Mathew Sutcliffe
5c1b608391 refs #287 Doxygen "threadsafe" alias command 2014-07-11 17:53:45 +01:00
Klaus Basan
7b546c7dba Fixes 2,4,6 refs #287
https://dev.vatsim-germany.org/issues/287#note-14
2014-07-11 15:12:44 +02:00
Klaus Basan
82db2666be Fixed missing time units 2014-07-11 01:21:20 +02:00
Klaus Basan
af17c2c4e6 refs #289, negative time values supported, required for time offset 2014-07-11 01:20:57 +02:00
Klaus Basan
76cbb5348c refs #289, settings for simulator 2014-07-11 01:20:57 +02:00
Klaus Basan
c1a4cc6ff6 refs #292, fixed the bug by adding missing init for m_queriedModelStringFlag(false)
credits to MS
2014-07-11 01:20:43 +02:00
Klaus Basan
0d01c460b0 Formatting 2014-07-11 01:20:41 +02:00
Klaus Basan
0a7d025b8d refs #292, found during debugging
* const override of toQVariant
* missing getter / setters
* metaTuple
* improved toQString
* CClient::setCapability bug
* Fixed wrong ICAO check
2014-07-11 01:20:34 +02:00
Klaus Basan
b949a2635b Doxygen fixes 2014-07-11 01:20:33 +02:00
Klaus Basan
4d3b3d213d refs #291, improved airport class
* supports bearing (to own plane)
* elevation
* Fixed Property index
2014-07-11 01:20:18 +02:00
Klaus Basan
d8ca4241af refs #291, bearing
* method to calculate bearing between coordinates
* Helper methods to normalize degrees (0..360deg), e.g. -10deg -> 350deg
2014-07-11 01:20:16 +02:00
Klaus Basan
74988db472 refs #291, airports in range:
* added descriptive name for airport
* airport list model
2014-07-11 01:20:09 +02:00
Klaus Basan
5a4443487e Renamed to geodetic height, as discussed in meeting 2014-07-11 01:20:06 +02:00
Klaus Basan
b1166934e3 refs #291, member method great circle distance 2014-07-11 01:20:04 +02:00
Klaus Basan
e8baa37b9d Formatting, housekeeping 2014-07-11 01:20:00 +02:00
Klaus Basan
b65829444a Fixed object metadata registration 2014-07-11 01:19:59 +02:00
Klaus Basan
2c2a59e5a4 Fixed non-required override of propertyByIndexAsString 2014-07-11 01:19:58 +02:00
Klaus Basan
d9a1c0cc8c refs #287 Thread safety, fix "memory access violation"
* some improved comments and information
* QMetaObject::invokeMethod in tool.cpp as thread safe invocation
* common base class for threaded readers
* removed event class, using QMetaObject::invoke instead for forcing calls in main event loop
* stop methods for readers, as used for graceful shutdown (preparing for thread safe destruction of objects)
* graceful shutdown for network context
* calls in tool now via inkoke for thread safety (only thread safe methods called directly)
2014-07-11 01:15:18 +02:00
Klaus Basan
c03d45123d refs #291, airport class, list 2014-07-04 22:56:59 +02:00
Klaus Basan
18436f444a Fixed valid distance in ATC station 2014-07-04 22:56:56 +02:00
Klaus Basan
da3982fc5f refs #279, improved FSUIPC support, reading all standard values including SB3 xpdr indent 2014-07-04 22:56:55 +02:00
Klaus Basan
a9f0359666 Tweaks
* formatting
* default digits for PQs
* improved toQString in altitude / aircraft situation / coordinate
2014-07-04 22:56:52 +02:00
Klaus Basan
f989acb42e Removed validation by exception (no longer what we use) from com/xpdr 2014-07-04 22:56:50 +02:00
Mathew Sutcliffe
ef93477a82 CDictionary: fixed, enabled, and tested automatic selection of appropriate default implementation container.
refs #281
2014-07-04 11:41:44 +02:00
Mathew Sutcliffe
482ddf2081 fixes #285 removing fake variadics in predicate-based container methods 2014-07-04 11:41:44 +02:00
Roland Winklmeier
d46c5edb9f Generic CDictionary as associative container
refs #281
2014-07-04 11:41:44 +02:00
Mathew Sutcliffe
b5097a0e63 containers: added opaque pointer access to implementation container, to help with debugging 2014-07-01 01:03:32 +01:00
Klaus Basan
25122fad10 refs #273, fixed changed detection 2014-06-28 18:02:13 +02:00
Klaus Basan
4c14737d60 Fixed missing JSON methods 2014-06-28 18:02:12 +02:00
Klaus Basan
9afe8b0f8b Formatting, tweaks, style sheet 2014-06-28 18:02:05 +02:00
Klaus Basan
42db1fe9ae refs #273, added settings for simulator
* added class
* adjusted settings context
* adjusted "global" methods as register metadata
* improved settings utility
* renamed "settingsallclasses" as settings can also be in other namespaces, settingsallclasses now in core
2014-06-28 18:01:55 +02:00
Klaus Basan
abd2d6d86d Some fixes / tweaks / Doxygen:
* helper method to detect disconnected state
* clear ATC info if disconnected or not available
* unit test for "finders"
* added Doxygen file
* formatting frequency in text message tabs
2014-06-28 18:01:54 +02:00
Klaus Basan
42d8c53290 Minor tweaks,
* formatting
* Startup screen tool window removed (as requested by RW)
2014-06-23 01:26:29 +02:00
Klaus Basan
97b8ee8c32 refs #277, slow auio init
* fixed QHostInfo::localHostName()
* move to BlackMisc, as it can be used elsewhere
* temp. change, moved methods in body until refs #278, #277 is fixed/ resolved
2014-06-23 01:19:38 +02:00
Klaus Basan
427dd83a6a Doxygen, formatting, tweaks 2014-06-23 01:19:30 +02:00
Klaus Basan
0547b2847e refs #275, own info window component
* added to CVariant for value object
* signal in text message to indicate overlay messages
* info window component (currently not runtme aware, maybe changed in future)
* removed old window, adjusted GUI
2014-06-23 01:19:28 +02:00
Klaus Basan
b8390f470c refs #267, extended ICAO class 2014-06-23 01:19:20 +02:00
Klaus Basan
426dd4a09e refs #267, classes for model matching
* extended model class, refactored model class
* new mapping classes: value class / list
2014-06-23 01:19:18 +02:00
Mathew Sutcliffe
580b7edc35 refs #276 added async methods to CGenericDBusInterface 2014-06-20 15:39:43 +01:00
Mathew Sutcliffe
af1ededf9c refs #245 & #276 using variadic templates in CGenericDBusInterface 2014-06-20 15:39:42 +01:00