Commit Graph

1273 Commits

Author SHA1 Message Date
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
Roland Winklmeier
2304b8e4db refs #318 Event originator with machine information
Mats ammended version (non-static methods).
2014-08-27 23:03:25 +02:00
Roland Winklmeier
34326447f8 refs #317 IKeyboard implementation fixes
- private constructor
- deleted public copy constructor
- deleted public assignment operator
2014-08-27 19:23:42 +02:00
Roland Winklmeier
80f8e33ba0 refs #317 Add stub Linux and OSX IJoystick implementations 2014-08-27 19:23:39 +02:00
Roland Winklmeier
9283ecdd9d refs #317 Adding joystick support to input manager 2014-08-27 19:23:34 +02:00
Roland Winklmeier
78cab16a3d refs #317 IJoystick windows implementation 2014-08-27 19:23:32 +02:00
Roland Winklmeier
fa80d2d897 refs #317 IJoystick interface definition 2014-08-27 19:23:26 +02:00
Roland Winklmeier
da4da1c4b5 refs #317 CJoystickButton value object 2014-08-27 19:23:21 +02:00
Mathew Sutcliffe
bf84b01ff7 refs #294 fixed X-Plane paths on Mac 2014-08-27 00:02:37 +01:00
Mathew Sutcliffe
276484da8d refs #283 Fixed PQ unit assumption in FSX plugin 2014-08-27 00:02:36 +01:00
Mathew Sutcliffe
4aef58564e refs #283 Added ISimulator::getInstalledModels method, with stub implementations 2014-08-27 00:02:35 +01:00
Mathew Sutcliffe
09f0d008cb refs #283 Simulator context takes responsibility for connecting CAirspaceMonitor signals to ISimulator slots 2014-08-27 00:02:35 +01:00
Mathew Sutcliffe
f4b7a9c6a2 refs #283 Rationalized ISimulator slots for managing remote aircraft 2014-08-27 00:02:34 +01:00
Mathew Sutcliffe
a6fd2bdeb2 refs #283 CAirspaceMonitor: added signals to notify when an aircraft is added or removed 2014-08-27 00:02:34 +01:00
Mathew Sutcliffe
f1150361b7 refs #283 Fixed crash sending status message to simulator when no simulator loaded 2014-08-27 00:02:33 +01:00
Mathew Sutcliffe
d25eac66b1 refs #283 Dedicated displayTextMessage for text messages instead of using displayStatusMessage for both.
The simulator can use this to display text messages in a different colour, for example.
2014-08-27 00:02:32 +01:00
Mathew Sutcliffe
4fc78adab9 refs #283 Simulator can display private messages too 2014-08-27 00:02:31 +01:00
Mathew Sutcliffe
61343e39f2 refs #283 ps_ prefix for private slots 2014-08-27 00:02:30 +01:00
Mathew Sutcliffe
595261f755 refs #283 Doxygen 2014-08-27 00:02:30 +01:00
Roland Winklmeier
adc25f5f3d refs #76 CForeignWindows
Provides static methods to get QWindow pointers to known simulators
2014-08-26 22:51:36 +02:00
Roland Winklmeier
53a42e3dd8 refs #76 cross platform class to find and return pointer to a foreign window 2014-08-26 22:51:33 +02:00
Klaus Basan
c1895c1ab2 refs #314, fixed missing virtual keyword and Doxygen comment 2014-08-25 13:10:13 +02:00