Commit Graph

388 Commits

Author SHA1 Message Date
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
Mathew Sutcliffe
1afef03c6d refs #210 workaround an apparent bug in 64bit MSVC by using a signed type for tuple flags
(using a smaller unsigned type also worked)
2014-06-19 20:08:28 +01:00
Mathew Sutcliffe
fbb89375da refs #210 added jsonName in Private::Attribute
* Explicit JSON name can be set for tuple members
* Names can still be extracted by preprocessor stringification if not explicitly set
* In both cases, names are embedded in Attribute metadata, so no need to call jsonMembers() in the value classes
2014-06-18 23:46:31 +01:00
Mathew Sutcliffe
11824206a1 refs #210 added Private::Attribute
* An Attribute contains a reference to a data member, plus some metadata
* Creates the concept of a "meta tuple", a tuple of Attribute objects
* New facilities in TupleConverterBase to be used inside the macro
* Flags allow individual data members to be selectively enabled or disabled depending on how the tuple is used
* Selective enable/disable is implemented by removing the indices of the flagged members from the index_sequence
2014-06-18 23:45:01 +01:00
Mathew Sutcliffe
48a4bfdd10 refs #268 initialize CFrequency from an int,
useful in combination with c++11 braced initializer lists,
which do not perform implicit conversion of argument types
2014-06-17 21:18:58 +01:00
Roland Winklmeier
8cbff262d1 refs #256 Update CProject and project files to reflect BlackInput 2014-06-15 19:39:28 +02:00
Mathew Sutcliffe
8dccc8d792 refs #246 renamed host to server to avoid ambiguity 2014-06-14 16:52:47 +01:00
Mathew Sutcliffe
45260258d6 refs #245 & #210 moved TupleConverter's parsing of the stringified macro argument into a base class, ready for further extension 2014-06-13 13:16:07 +01:00
Mathew Sutcliffe
9766b5c63a refs #245 & #210 style 2014-06-13 13:16:07 +01:00
Mathew Sutcliffe
2eb16ce9da refs #245 & #210 with proper variadic templates we can use index_sequence to simplify some of the recursion in the tuple system 2014-06-13 13:16:06 +01:00
Mathew Sutcliffe
5d38812482 refs #245 TupleConverter specialization for class templates can use a variadic parameter pack to support templates taking any number of parameters 2014-06-13 13:16:05 +01:00
Mathew Sutcliffe
b0ecaff4da refs #245 removed nested tie workarounds for tuples with >10 members 2014-06-13 13:16:05 +01:00
Mathew Sutcliffe
05fd6fbcae refs #245 removed fake variadics for tuples and predicates 2014-06-13 13:16:04 +01:00
Klaus Basan
56430c860a refs #264, QPixmap enable list model base to simplify columns with icons
* new constructor in column class
* removed overridden data method, no longer needed
* added icons for ATC station views
* QPixmap comparison for such columns (free functions)
2014-06-10 02:05:44 +02:00
Klaus Basan
9ea1fd86ef Doxygen 2014-06-10 01:54:07 +02:00
Klaus Basan
61740fab0a Changed audio settings to CVariant after merge with master 2014-06-09 17:35:37 +02:00
Klaus Basan
251fe70dc9 Minor Tweaks
* renamed methods in aircraft class, new helper method
* renamed method in aircraft list
* renamed method in datafile reader
2014-06-09 14:44:25 +02:00
Klaus Basan
63b0fac72f Some bugfixes
* Missing registration
* wrong frequency in text messages, also some minor tweaks in text message
2014-06-09 14:44:23 +02:00
Klaus Basan
6b55b10b9b Prepared for voice capabilities 2014-06-09 14:44:21 +02:00
Klaus Basan
dac556c6e9 refs #262, fix update of aircraft position
Described here (3): https://dev.vatsim-germany.org/boards/22/topics/1792?r=1801#message-1801

* Also renamed: setOwnAircraftAvionics -> setOwnCockpit to be consistent
* Removed outdated methods
2014-06-09 14:44:19 +02:00
Klaus Basan
8c792a61e3 refs #219, endless recursion in parsing
* Fixes 2, https://dev.vatsim-germany.org/boards/22/topics/1792?r=1801#message-1801
* https://dev.vatsim-germany.org/issues/219#note-5
2014-06-09 14:44:17 +02:00
Klaus Basan
0a7be12efa Fixes around audio "on remote computer"
* Better options to debug
* Fixes as of n2, https://dev.vatsim-germany.org/boards/22/topics/1792?r=1802#message-1802
* Doxygen
2014-06-09 14:44:14 +02:00
Klaus Basan
c3f7a7c179 Some fixes found during testing with remote black core (different computer)
* Allow anonymous access for P2P
* Fixed sound settings flags, if empty string is saved in settings
* Fixed metadata registration
2014-06-09 14:44:13 +02:00
Klaus Basan
27a697c307 Some fixes:
* Cockpit, max frequency corrected to 136,975
* Text message components, tabs show cockpit frequencies
* fixed icons
* some aggresive sound for voice room joined/left, until full testing is complete
2014-06-09 14:44:12 +02:00
Klaus Basan
6404fafb34 refs #220, helper methods for empty rooms 2014-06-09 14:44:03 +02:00
Klaus Basan
226edda23b refs #219, load flight plan
* fixed issue with parsing, only default locale is used. Now user's local possible
* allow to load FP for other callsigns as well (voice capabilities)
* Improved handling of CTime, inclusive bug fixes and time formatting
* Max. lengths for FP fields as const value (so we can change it if required)
* Load FP from GUI component
* Samples for PQ classes
* Adjusted depending classes (e.g. client)
2014-06-09 14:43:57 +02:00
Klaus Basan
aac967a4a6 refs #258, notification sounds
* added to RuntimeBasedComponent
2014-06-09 14:43:45 +02:00
Klaus Basan
1b804ca8d7 refs #258, notification sounds for voice room joined/left
* settings for notification sounds
* wav files
* changes in GUI
2014-06-09 14:43:43 +02:00
Klaus Basan
1bb4c3120b Formatting, comments, minor tweaks, typos, Doxygen 2014-06-09 14:43:31 +02:00
Klaus Basan
8d0af27a05 New icons, e.g. for OBS 2014-06-09 14:43:24 +02:00
Klaus Basan
9c5726dc13 refs #23, anticipating aircraft ICAO code from VATSIM data file
* helper methods
* renamed methods
2014-06-09 14:43:23 +02:00
Klaus Basan
0a4c47c800 refs #250, formatting, minor tweaks and fixes
* changed return type for updateFromVatsimDataFileStation
* improved resolution for own aircraft
* convenience method findFirstByCallsign
* automatically convert frequency to MHz for ATC station
* improved output in toQString
* GUI, flight plan formatting
* corrected logging for network context
* override keyword in listmodelbase
2014-06-09 14:42:44 +02:00
Klaus Basan
6353edd50a Formatting / tweaks 2014-06-09 14:42:43 +02:00
Klaus Basan
e0b06e1555 refs #250, helper methods
* in aircraft class to compare COM
* in context / runtime component to check vitality of core
2014-06-09 14:42:37 +02:00
Mathew Sutcliffe
078ae6c498 refs #260 added frontOrDefault and backOrDefault methods in CSequence 2014-06-05 23:29:10 +01:00
Mathew Sutcliffe
cd7cc84fbc refs #116 removed firstBlackMetaType as it is no longer needed 2014-06-05 21:04:29 +01:00
Mathew Sutcliffe
c6e9301078 refs #116 using CVariant in the implementation of CIndexVariantMap 2014-06-05 21:04:28 +01:00