Commit Graph

4991 Commits

Author SHA1 Message Date
Klaus Basan
127f1bc38c Set started flag correctly
Parsing will disable starting if there is an issue with the cmd line (mostly network not available, bootstrap URL not reachable).
2017-04-18 00:07:03 +01:00
Klaus Basan
a4a3dd1504 refs #921, support both timestamp formats
* DB
* JSON object (backend side)
2017-04-18 00:07:01 +01:00
Klaus Basan
f85501c7bf refs #921, use QVersionNumber
* CVersion removed
* remaining utility functions moved to CBuildConfig
* patch version -> micro version (Qt naming)
* using classes adjusted
2017-04-18 00:06:58 +01:00
Klaus Basan
ec297d5838 Formatting, typos 2017-04-18 00:06:53 +01:00
Klaus Basan
9eb67edddf refs #921, avoid issue when called during shutdown 2017-04-18 00:06:50 +01:00
Klaus Basan
d4fbf8b49c Typo 2017-04-18 00:06:47 +01:00
Klaus Basan
09a71feef4 refs #921, adjusted application class to use distribution info 2017-04-18 00:06:45 +01:00
Klaus Basan
d1a72f8d62 refs #921, adjusted reader to use distribution info 2017-04-18 00:06:42 +01:00
Klaus Basan
83a80bf739 refs #921, moved distribution info UI into an own component 2017-04-18 00:06:40 +01:00
Klaus Basan
cbf69d9847 refs #921, remove UpdateInfo class (now distribution list) 2017-04-18 00:06:37 +01:00
Klaus Basan
929e2883d0 refs #921, renaming follow ups 2017-04-18 00:06:34 +01:00
Klaus Basan
0b29ef3f78 Clang warnings 2017-04-18 00:06:32 +01:00
Klaus Basan
7cd49d38d9 refs #921, support for 4 segment version number 2017-04-18 00:06:29 +01:00
Klaus Basan
8299552812 refs #921, string utility functions 2017-04-18 00:06:26 +01:00
Klaus Basan
5ce704c963 refs #921, distribution value object/object list
* registration
* property index
2017-04-18 00:06:24 +01:00
Klaus Basan
e787d50e47 refs #923, use CVariant JSON to load/save flight plan 2017-04-18 00:06:22 +01:00
Klaus Basan
ff4b37b3fe refs #923, use CVariant JSON to load/save from view 2017-04-18 00:06:19 +01:00
Klaus Basan
864e64e295 refs #911, shortcut for cut/copy
* changed unselect
* use CTRL+C for copy
2017-04-18 00:06:17 +01:00
Klaus Basan
08f8916344 refs #922, refs #911, JSON cut/copy/paste
* utility function for CVariant
* use CVariant for cut/copy/paste
2017-04-18 00:06:15 +01:00
Mathew Sutcliffe
5ba438699f CManagedStatusBar: don't display a message if already displaying one with a higher severity. 2017-04-18 00:06:13 +01:00
Mathew Sutcliffe
3011c3a7ed Treat traffic network connection failure as a non-validation message, so it gets its own overlay messagebox. 2017-04-18 00:06:10 +01:00
Mathew Sutcliffe
c1a82ad60e Fixed undescriptive error message generated by CNetworkUtils::canConnect. 2017-04-18 00:06:08 +01:00
Roland Winklmeier
9dbb984e1a Split listening for simulators and loading their plugins
Previously loadSimulatorPlugin was doing two things. First starting
a listener and second loading the plugin itself. This was confusing
since the sequence is to listen first and load not before a simulator
is available.
This change splits this up properly into two methods. listenForSimulator()
is called when the plugin is started and as soon as a simulator is started,
its plugin will be loaded.

refs #909
2017-04-18 00:06:06 +01:00
Roland Winklmeier
aafe211b5c Make simulator listeners safe against multiple starts
refs #909
2017-04-18 00:06:03 +01:00
Roland Winklmeier
0eaab1753d Unload simulator driver when unchecked in settings
refs #909
2017-04-18 00:06:01 +01:00
Roland Winklmeier
53abc6aaa3 Include cleanup
refs #918
2017-04-18 00:05:59 +01:00
Roland Winklmeier
5958669bf1 Refactor queryToQString to queryStringFileInfo
String building is now done using QString::arg.
Renamed the method to clearer state what it does.

refs #918
2017-04-18 00:05:57 +01:00
Roland Winklmeier
959c290108 Initialize value type and cast to void pointer before passing to VerQueryValue
refs #918
2017-04-18 00:05:54 +01:00
Roland Winklmeier
621f6f6ca7 Fix -fpermissive error with MinGW
Changed const vector output buffer parameter to non-const raw pointer.
Writing to const vector is not possible, and vector was not necessary

refs #918
2017-04-18 00:05:52 +01:00
Roland Winklmeier
a92a9f13f4 Use QString::arg() instead of QString::sprintf()
QString::sprintf() and also QString::asprintf are both not recommended
to be used in new code.

refs #918
2017-04-18 00:05:50 +01:00
Roland Winklmeier
87420e7890 Use C++11 features in CWinDllUtils
* Use std::vector::data() to get a raw pointer
* Use reinterpret_cast instead of C style cast
* Consistenly use generic WINAPI functions without suffix

refs #918
2017-04-18 00:05:48 +01:00
Klaus Basan
06ab91334b refs #921, changed name of installer 2017-04-18 00:05:45 +01:00
Klaus Basan
102a0d51a0 Added BLACK_VERIFY 2017-04-18 00:05:43 +01:00
Klaus Basan
46521c5560 refs #911, copy menu 2017-04-18 00:05:41 +01:00
Klaus Basan
fc3a36512e refs #911, paste support in forms
* added paste icon
* base class utility functions
* implemented paste for livery, airline and aircraft ICAO
2017-04-18 00:05:38 +01:00
Klaus Basan
5e69be6208 refs #911, support for cut and paste menu and support in views 2017-04-18 00:05:36 +01:00
Klaus Basan
b785e32256 refs #911, utility functions for cut and paste JSON 2017-04-18 00:05:33 +01:00
Klaus Basan
6c752b81f5 Formatting #911 2017-04-18 00:05:31 +01:00
Klaus Basan
05b7226a08 refs #911, icons for cut and paste 2017-04-18 00:05:29 +01:00
Klaus Basan
a5946e1727 refs #911, load indicator for login component 2017-04-18 00:05:27 +01:00
Klaus Basan
24af0f044f refs #911, utility class to easily enable class for load indicator
and used it with CDbLoadOverviewComponent
2017-04-18 00:05:25 +01:00
Klaus Basan
cc1fd0e868 refs #911, allow to enter id for airline and aircraft ICAO 2017-04-18 00:05:22 +01:00
Klaus Basan
317b52a00b refs #911, livery form fixed
* search buttons in select mode
* id can be entered
2017-04-18 00:05:20 +01:00
Klaus Basan
6d97f477c9 refs #911, support for Windows UNC paths in parser 2017-04-18 00:05:18 +01:00
Klaus Basan
b0fe4ce930 refs #911, allow to set model dir relative to simulator directory
* utility functions in simulator info
* and fscommonutil
* and button in UI to set default
2017-04-18 00:05:15 +01:00
Klaus Basan
e8eb652cfd refs #906, changed concept
* no longer delete .rev file
* restrict number of caches which can be copied: only some cache like the models and modelset need to be copied
* use cache traits to create entries in .rev file by using the high level API
* made some functions private
2017-04-18 00:05:13 +01:00
Klaus Basan
9ee0b173c6 refs #906, wizard improvements
* fixed text
* only init copy wizard when using "back" button
2017-04-18 00:05:11 +01:00
Klaus Basan
2b50fe1fdb refs #906, utility functions in simulator info and model caches 2017-04-18 00:05:08 +01:00
Mathew Sutcliffe
b0aa713a2e refs #920 Remove duplicate checks. 2017-04-18 00:05:06 +01:00
Mathew Sutcliffe
55b738e65c refs #920 X-Plane support in CSimulatorInfo::getLocallyInstalledSimulators. 2017-04-18 00:05:03 +01:00