Commit Graph

117 Commits

Author SHA1 Message Date
Klaus Basan
b5aeffc31b Aircraft parser (FSX/P3D) added "sim.cfg" files as filter plus style 2018-09-08 15:36:24 +02:00
Roland Winklmeier
a60ee4a7dd Use override for destructors 2018-08-25 22:12:06 +02:00
Klaus Basan
183280fa75 Ref T308, using an optimized (faster) function for YYYYmmdd string parsing
Ref T309, found that QDateTime::fromString returns a QDateTime object with local timestamp. Using a optimized version returns UTC objects now.

- The bug was found writing a unit test for Ref T308
- Slack: https://swift-project.slack.com/archives/G7GD2UP9C/p1534848725000100
2018-08-22 12:31:53 +02:00
Klaus Basan
a6ee6d4b72 Ref T292, Ref T285 minor style improvements, renamings 2018-07-26 04:32:38 +02:00
Klaus Basan
74fa7d7289 Ref T292, Ref T285 signal when "real" loading was started (loading from disk) 2018-07-25 02:37:13 +02:00
Klaus Basan
40c0c6ae35 Ref T292, adjusted the specific model loaders
* no longer using "std::unique_ptr"
* QObject parent
* Style
2018-07-25 02:36:55 +02:00
Klaus Basan
76334b75d1 Ref T246, model loader improvements / renamings 2018-07-17 19:04:55 +02:00
Klaus Basan
69193f089a Minor tweaks, style 2018-06-25 02:04:35 +02:00
Roland Winklmeier
4aaccb44c3 Cleanup the enabled modules in all sub projects
Most modules were just enabled to add include path for dependent headers
2018-06-02 02:08:46 +02:00
Klaus Basan
eb815ab987 Ref T261, improved value classes 2018-05-08 16:06:49 +02:00
Klaus Basan
640ec3a573 Ref T252, send all loading status messages as list 2018-02-22 01:26:23 +01:00
Klaus Basan
b01119cc1b Ref T252, utility functions for simulator directories 2018-02-16 12:13:53 +01:00
Klaus Basan
1970ae9f9b Ref T252, formatting 2018-02-16 12:13:50 +01:00
Klaus Basan
50eb93cf40 Ref T229, do not display a directory if same as default
* component: made overlay compliant
* sim.dir can be empty on a machine where no simulator is installed
* formatting
* utility functions
2018-01-30 20:30:12 +01:00
Klaus Basan
0f8bbbbfc2 Ref T210, adjusting classes to use new functions 2017-12-21 19:49:52 +01:00
Mathew Sutcliffe
0b67466480 Removed workarounds in metaclass system that were needed for GCC 4.9 and old MSVC. 2017-11-14 17:51:07 +00:00
Klaus Basan
2f0253b3eb Ref T118, support multiple model directories
* this was recently discussed https://swift-project.slack.com/archives/C04J6J76N/p1508430536000065
* for config parser already implemented
* for XP the loading from multiple dirs still needs to be implemented (see todo)
2017-10-31 15:39:15 +01:00
Klaus Basan
e920dc77b8 Ref T118, formatting 2017-10-31 15:39:12 +01:00
Klaus Basan
fe3368e1f4 Ref T117, formatting 2017-09-24 19:52:15 +01:00
Klaus Basan
4a9ab8c3d7 Ref T120, removed virtual dtor for
* CDictionary
* CAircraftCfgEntriesList
2017-09-24 19:51:23 +01:00
Klaus Basan
c3ed0bc394 Ref T28, removed areModelFilesUpdated and info if loading was from cache
* removed CacheUntilNewer
* did not really work and had some problems
* cache timestamp not really a good value to compare with
* too slow with remote file
2017-05-05 23:08:04 +01:00
Mathew Sutcliffe
e3fe8ec39f refs #937 Resolved clazy warnings: miscellaneous. 2017-04-19 19:31:50 +01:00
Mathew Sutcliffe
b7f69c6887 refs #937 Resolved clazy warnings: unnecessary memory allocation. 2017-04-19 19:31:39 +01:00
Mathew Sutcliffe
fce1513dae refs #937 Resolved clazy warnings: unnecessary detaching of containers. 2017-04-19 19:31:38 +01:00
Klaus Basan
929e2883d0 refs #921, renaming follow ups 2017-04-18 00:06:34 +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
422e6626c8 refs #912, formatting, typos, const 2017-04-18 00:04:37 +01:00
Klaus Basan
1c96d30bcd refs #911, added P3D exclude directories 2017-04-18 00:00:43 +01:00
Klaus Basan
5a91f561be refs #888, loadingFinished with CStatusMessage 2017-03-01 20:51:40 +01:00
Klaus Basan
8e55baaf85 Typos, QStringBuilder 2017-03-01 20:51:39 +01:00
Klaus Basan
a210b029f1 Fixed issues shown by new cppcheck rules
#831
2017-01-10 23:44:56 +00:00
Klaus Basan
02798a7f2b refs #822, set file ts in parser/modelloader 2016-12-13 19:01:52 +01:00
Klaus Basan
ed7963e551 #447, consider cache changed signal in order to avoid issue mentioned here
https://dev.vatsim-germany.org/issues/447#note-11
2016-12-13 19:01:41 +01:00
Mathew Sutcliffe
5791de6860 refs #800 Fixed some implicit conversion warnings. 2016-12-13 19:00:26 +01:00
Klaus Basan
cda3ece82b refs #773, sent model name to DB
* improved model parsing for FSX family
* improved description for model name

#772 and Ref T1 contain the related backend fixes
2016-10-17 14:34:16 +01:00
Klaus Basan
a4d70fc8bd refs #763, set ATC parking code as (raw) airline ICAO code 2016-09-19 16:18:54 +02:00
Klaus Basan
5789120ecc refs #555, load models from directory
* file dialog
* adjusted signatures to pass directory
2016-08-26 21:05:42 +01:00
Klaus Basan
4582387684 refs #720, treat auto gen. descriptions as "empty" 2016-08-26 21:05:03 +01:00
Klaus Basan
d10fe5ad18 refs #728, hide load indicator when no vPilot rules are loaded 2016-08-26 21:05:01 +01:00
Klaus Basan
89ac38a072 refs #720, ui context menu finetuning
* renaming / formatting
* const predefined subdir menus
2016-08-26 21:04:52 +01:00
Klaus Basan
019b623f43 refs #720, adjusted model loader
* callback function to data consolidation (so I can refer to consolidation in BlackCore)
* use status message in parser
* avoid duplicate keys (WOAI has ambiguous model strings which are to be excluded)
2016-08-26 21:04:21 +01:00
Roland Winklmeier
0c51323db0 Fix incorrect include in fscommonutil.cpp 2016-08-08 11:23:07 +02:00
Mathew Sutcliffe
0ae1e70923 refs #697 Data cache traits renamed with T prefix. 2016-08-03 02:20:27 +01:00
Mathew Sutcliffe
8275b0d9bf refs #697 BlackMisc settings renamed and reorganized. 2016-08-03 02:19:08 +01:00
Klaus Basan
554d1add79 refs #676, allow 1..n model directories
* adjusted loaders
* changed settings
2016-06-23 20:13:29 +02:00
Klaus Basan
bc344c73fc refs #585, adjusted loaders
* use paths from settings
* no longer pass model directory and exclude directories
2016-06-15 00:11:26 +02:00
Klaus Basan
80ee210701 refs #585, improved FS utils
* added registry keys and support for P3D and steam
* only determine paths once (static const)
2016-06-15 00:11:23 +02:00
Mathew Sutcliffe
9bef6854ca Caches: rename "get" to "getThreadLocal" and rename "getCopy" to get. 2016-06-08 18:21:01 +02:00
Klaus Basan
875b311ede refs #649, with #659 deferred caches available
* adjustments to use deferred caches
* removed simulator from CAircraftModelSetLoader`s signature as it was not used
* only change current simulator when explicitly set (avoid unintended setting)
* added function to obtain number of elements from model caches
2016-06-08 18:20:39 +02:00