Commit Graph

1294 Commits

Author SHA1 Message Date
Mathew Sutcliffe
5795845400 refs #316 Doxygen. 2014-10-04 22:17:12 +01:00
Mathew Sutcliffe
ebab95dd06 refs #316 Application context relays messages over DBus between the CLogHandler instances of different processes. 2014-10-04 22:17:09 +01:00
Mathew Sutcliffe
eceb67c38f refs #316 Application context: removed old message handler. 2014-10-04 22:17:06 +01:00
Mathew Sutcliffe
2c0e6505a0 refs #316 Debug messages should not be displayed by simulator plugins. 2014-10-04 22:17:04 +01:00
Mathew Sutcliffe
a68ad8ec7d refs #316 Simulator context subscribes to log messages on behalf of the simulator plugin. 2014-10-04 22:17:01 +01:00
Mathew Sutcliffe
dc4de279d0 refs #316 Swiftcore, swiftgui, and samples use CLogHandler to display subscribed messages. 2014-10-04 22:16:59 +01:00
Mathew Sutcliffe
aef7135e28 refs #316 Removed old statusMessage signals and sendStatusMessage slots. 2014-10-04 22:16:56 +01:00
Mathew Sutcliffe
b1c74d81e5 refs #316 Removed old logging mechanism in contexts. 2014-10-04 22:16:53 +01:00
Mathew Sutcliffe
d7a2fa3dea refs #316 Swiftgui using CLogMessage to emit messages. 2014-10-04 22:16:51 +01:00
Mathew Sutcliffe
f7e2523eaa refs #316 Blackgui changes: using CLogMessage and removed sendStatusMessage signals. 2014-10-04 22:16:48 +01:00
Mathew Sutcliffe
87086f7e37 refs #316 Removed no longer used static status message methods in CSettingUtilities. 2014-10-04 22:16:45 +01:00
Mathew Sutcliffe
5d123f798a refs #316 Changed blackcore to use CLogMessage to emit messages.
Also changed functions which always returned CStatusMessageList containing a single CStatusMessage,
to return CStatusMessage instead for simplicity.
2014-10-04 22:16:43 +01:00
Mathew Sutcliffe
b16b02c3d6 refs #316 Changed blackmisc and blacksim to use CLogMessage to emit messages.
Also changed functions which always returned CStatusMessageList containing a single CStatusMessage,
to return CStatusMessage instead for simplicity.
2014-10-04 22:16:40 +01:00
Mathew Sutcliffe
ed723c5e97 refs #316 Added CLogHandler which allows to subscribe to log messages. 2014-10-04 22:16:37 +01:00
Mathew Sutcliffe
ce6cdf12a7 refs #316 Added CLogMessage for logging messages, and corresponding changes to CStatusMessage and CTextMessage. 2014-10-04 22:16:35 +01:00
Roland Winklmeier
8ba1a37ea7 Fix warning detected by gcc 4.9.1
- unused variables
- linker error with the MinGW DX SDK
- don't delete a void* pointer
- initialization order
2014-09-28 13:09:39 +02:00
Roland Winklmeier
f43f3013fe refs #308 QMetaObject always requires the full namespace for string based lookup 2014-09-13 14:53:00 +02:00
Roland Winklmeier
2ab1a0f847 refs #308 lobby client 2014-09-13 14:52:58 +02:00
Roland Winklmeier
b00d67e90c refs #308 improved client thread handling and cleanup
Threads are now waiting for closure
2014-09-13 14:52:55 +02:00
Roland Winklmeier
bd8eba6913 refs #308 style 2014-09-13 14:52:53 +02:00
Roland Winklmeier
1cbc02a4c5 refs #308 Fixed missing CoUninitialize 2014-09-13 14:52:50 +02:00
Roland Winklmeier
53b257fa3d refs #308 Instead of enumerating hosts, use the well known host url
Since we are hosting in the same process, we can get the URL from the host
object and pass it to new clients.
2014-09-13 14:52:47 +02:00
Roland Winklmeier
7a02aff7b9 refs #308 private slot for client status changes 2014-09-13 14:39:43 +02:00
Roland Winklmeier
65be5149ee refs #308 free function to print DirectPlay error messages 2014-09-13 14:12:07 +02:00
Mathew Sutcliffe
39aa5e2f0a Fixed #326 wrong and unnecessary Q_DECLARE_METATYPE caused duplicate definitions of class template explicit specialization 2014-09-12 19:45:33 +01:00
Mathew Sutcliffe
472cf525d7 Workaround error C2797 when compiling with MSVC 2013 Update 3.
For more info see http://msdn.microsoft.com/en-us/library/dn793970.aspx
2014-09-12 19:36:58 +01:00
Klaus Basan
d3e6a3f721 refs #327, fixed the includes as discussed with 327
* no #include "valueobject.h" in blackmiscfreefunctions
* missing includes as mentioned by RW
2014-09-11 18:34:54 +02:00
Klaus Basan
c5eb1151d4 refs #327, CStatusMessage based on CRTP (proof of concept) 2014-09-11 18:34:52 +02:00
Klaus Basan
6aba823f4f refs #327, CRTP for CValueObject classes
* using toMetaTuple, no jsonMembers function
* no un/equal operator as discussed
2014-09-11 18:34:27 +02:00
Klaus Basan
02bfa01cc9 refs #322, fix for non-firing timer. Also adjusted input counts for online data 2014-09-11 12:08:10 +02:00
Klaus Basan
bce67b7873 refs #319, refs #322 user can force reload and clearing the data in views
* context menu
* timer based component can fire directly
* View base class (non templated) so it can use Q_OBJECT
2014-09-11 12:08:09 +02:00
Klaus Basan
b576e21b48 Workaround for assert in FSX plugin, refs #324 2014-09-11 12:07:56 +02:00
Klaus Basan
4500bda125 Added updates by VATSIM data file for voice capabilities 2014-09-09 20:07:29 +02:00
Klaus Basan
2127238ed4 Doxygen, renaming, formatting
* Formatting, renaming to current schema
* Minor tweaks
2014-09-09 20:07:27 +02:00
Klaus Basan
681201377a refs #322 added support for profile build as discussed 2014-09-09 20:07:25 +02:00
Klaus Basan
e4545f23d2 refs #322, included context menu and methods for injecting test data (ATC stations) in GUI 2014-09-09 20:07:23 +02: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
00f3a78a66 refs #322, class generating testdata 2014-09-09 20:07:20 +02:00
Klaus Basan
473f8cd608 Debug messages to monitor model reloading/sorting, will be removed later 2014-09-09 20:07:19 +02:00
Klaus Basan
62010a09c8 refs #319, Doxygen, headers, formatting 2014-09-09 20:07:17 +02:00
Klaus Basan
fc84673bb9 Handled performance issues and bugs noticed during testing of refs #319 / refs #322
* discussion: https://dev.vatsim-germany.org/boards/22/topics/2027?r=2040#message-2040
* fixed bug with ATC station component, wrong signals for booked stations
* booked stations loading to frequently (for each minor change such as online), changed to timestamp based concept
* update booked stations with receiving ATIS/voiceroom to online
* CDigestSignal class: new class and methods for collecting signals, avoiding too many signals - one of the cures for the performance issues
* fixed bug found during testing, missing start for timers when connecting to network
2014-09-09 20:07:16 +02:00
Klaus Basan
538cee89b2 refs #319, cleaned up views for formatters, in the same step fixed bug sort column based on view mode was missing 2014-09-09 20:07:15 +02:00
Klaus Basan
983a8d5d30 Using QMetaType::Type instead of QVariant::Type
Auto as per review of refs #319
2014-09-09 20:07:13 +02:00
Klaus Basan
9567d1aedf refs #319, added column formatters
* Specialized formatters (e.g. for bool, for PQs etc.) allow specialized look and feel for each column
* Fixed isValidComFrequency used for formatters
* Changed models to use formatters
* Outdated propertyByIndexAsString methods removed
* During the above tasks: fixed override keyword in some places
* Column tooltips
* refs #323, wrong column name fix
2014-09-09 20:07:12 +02:00
Klaus Basan
c54fa0fd43 refs #314, new icons for formatters
* Moved methods to cpp file (less recompilation)
* Background of icons can be changed
* refs #322, changed to index based approach for retrieving icons (faster)
* therfore: sorted icons per name, easier to keep in sync
2014-09-09 20:06:17 +02:00
Klaus Basan
a6ebfc0e0b Bug fixes and improvements for PropertyIndex discovered during refs #319, mainly contributing to refs #314
* Start index 10 instead 0 for CValueObject (easier to detect bugs)
* Fixed wrong indexes
* Asserts in CPropertyIndex
* Used Icon instead of QPixpmap with indexes, icons are sortable and have a tooltip
* Removed redundant toQVariant methods
2014-09-04 01:38:10 +02:00
Klaus Basan
674a0b5665 During refs #319, refactoring of QLed (as it is used with a LED formatter)
* renamed to CLedWidget
* added missing SVG
* rendering to pixmap possible
* QScopedPointer<QSvgRenderer>
* Led, copyright
2014-09-04 01:37:33 +02:00
Roland Winklmeier
f72ff4e495 refs #318 Add method in Application Context to process a remote event 2014-08-27 23:07:50 +02:00
Roland Winklmeier
bdd7de1459 refs #318 Let CInputManager forward HotkeyFunc events 2014-08-27 23:07:47 +02:00
Roland Winklmeier
f970e7cfaa refs #318 Value class CEventHotkeyFunction
Event which will be transferred to another process and trigger a
hotkey function remotely.
2014-08-27 23:07:42 +02:00