Klaus Basan
242bea3636
Ref T660, FSX path handling
...
* exclude paths from exclude patterns
* check for *air file
* use absolute paths
2019-09-16 22:40:23 +01:00
Klaus Basan
878a207f85
Ref T660, utility functions
2019-09-16 22:40:23 +01:00
Klaus Basan
58b7c875bc
Minor performance improvement of subdir check
...
* follow T689
* no need to always get and init simulator directory as it will not change
2019-09-16 22:40:12 +01:00
Mat Sutcliffe
73d3a341da
Ref T689 Add validation that XP model directories are within the XP sim directory.
2019-09-16 22:40:06 +01:00
Klaus Basan
5caea5ad9b
Ref T620, check for empty string as path, QDir("") exists
2019-05-13 11:20:40 +02:00
Klaus Basan
9be734ee73
Ref T602, added FL/meter/ft conversion table
2019-05-13 11:20:35 +02:00
Klaus Basan
4925bb46bd
Added FG in config component, follow up of T430
2019-04-11 22:12:01 +01:00
Klaus Basan
60b3c16120
Ref T401, crash simulation improvements
...
* sub-directory paths in directory utils
* no UI simulated crash in release builds
* no upload rate in local developer builds
2019-04-11 22:11:31 +01:00
Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Klaus Basan
985674f1cf
Ref T514, do not skip reading when aircraft.cfg is found
...
* check for directories not need to be parsed
* do not skip reading
2019-02-22 20:35:32 +00:00
Mat Sutcliffe
d6b5dca6b2
Return a default-constructed QString instead of implicitly converting an empty string literal.
2019-02-22 20:23:49 +00:00
Klaus Basan
7fc6fcb867
Improved version of "Allow to delete data directory from application view"
...
- split functions into dynamic loading and const versions (loading at startup)
- reload other versions from wizard in case they changed
- some renaming/formatting
2018-12-02 04:27:59 +01:00
Klaus Basan
9f6cb9a72f
Allow to delete data directory from application view
...
* allow to re-init applicazion list (needed because directories can be deleted)
* context menu for "delete data directory"
2018-11-29 20:54:25 +01:00
Klaus Basan
f553d42aca
Ref T357, directory support for terrain probe files
2018-09-17 18:28:37 +02:00
Klaus Basan
dd687b7d90
Cppcheck and unit test fixes
2018-08-07 20:39:06 +02:00
Klaus Basan
80cee12fdb
Ref T246, utility for 1st model set directory
...
* remove empty enries in directories
* allow to add directory
* detect same directories and avoid duplicates
2018-07-14 19:45:21 +02:00
Klaus Basan
fc35e8b654
Formatting, style
2018-05-22 13:23:47 +02:00
Klaus Basan
4ec3a76ed4
cpp check result fix Prefer prefix ++/-- operators for non-primitive types
2018-04-13 23:37:31 +02:00
Klaus Basan
42ef7c5633
Avoid long "hanging" if Windows UNC path is not reachable
...
Use own "isDirExisting" function checking UNC paths
2018-04-05 02:54:40 +02:00
Klaus Basan
f9bde5229b
Ref T131, utility functions
...
* recursive file copy function
* build directories
* find newest files
2018-04-05 02:53:27 +02:00
Klaus Basan
131e39db93
Ref T258, added test directory and test files for compressing tests
2018-02-22 13:58:43 +01:00
Klaus Basan
826760e347
Bootstrap file name encapsulated
2018-01-14 18:47:28 +01:00
Klaus Basan
9ec3d69eaa
Ref T199, added some utility functions
...
* tag object can be read from data directory
* isNull
* some renamings
2017-12-25 13:10:15 +01:00
Roland Winklmeier
f53ec46d20
Change the operating system name from OSX to MacOS everywhere
...
Summary:
- Changed the name in all build artifacts
- Everywhere in C++
Reviewers: #swift_pilot_client, kbasan
Reviewed By: #swift_pilot_client, kbasan
Subscribers: jenkins
Maniphest Tasks: T205
Differential Revision: https://dev.swift-project.org/D69
2017-12-06 22:50:19 +01:00
Klaus Basan
ef56590d85
Ref T180, typo in directory name, causing assert
2017-11-04 21:44:41 +01:00
Klaus Basan
5612033924
Minor fixes, formatting, static const
2017-10-31 15:39:19 +01:00
Klaus Basan
14c912e2aa
Ref T118, utility functions support multiple directories
2017-10-31 15:39:13 +01:00
Roland Winklmeier
e271e6e0fd
fix cppcheck warning
2017-10-18 22:58:21 +02:00
Roland Winklmeier
396931804f
Fix getSwiftShareDirImpl on Mac OS
2017-10-13 17:01:09 +02:00
Klaus Basan
e269ce5bd8
Ref T152, do not start loading if the model dir does not exists/is empty
2017-09-24 20:29:06 +01:00
Klaus Basan
f53a64396a
Ref T103, not all executables on MacOSX are bundles
2017-09-24 19:50:22 +01:00
Klaus Basan
07b096b398
Ref T103, verify important files/directories
...
* utility function in CDirectoryUtils
* deployed in main/application
2017-09-24 19:49:58 +01:00
Klaus Basan
d25be35868
Ref T103, unified isMacOSXBundle
2017-09-24 19:49:57 +01:00
Klaus Basan
caf358401f
Ref T103, executable file path moved to CDirectoryUtils::executableFilePath
2017-09-24 19:49:56 +01:00
Klaus Basan
3245ff4ef4
Ref T103, plugin directory now from CDirectoryUtils::pluginDirectory()
...
Hence we can use const QString & like const QString &CPluginManagerWeatherData::pluginDirectory()
2017-09-24 19:49:54 +01:00
Klaus Basan
a9198e4f13
Ref T103, Unified naming of directory functions
...
* some started with get/some not (removed get, get is normally used for our getters)
* some used swift, getSwiftXZY dir (removed swift)
* used full word "directory", not dir/directory mixed
2017-09-24 19:49:53 +01:00
Klaus Basan
debd9c802f
Ref T103, moved directory functions from CBuildConfig to CDirectoryUtils
...
getApplicationDir renamed to getBinDir() as it works different on MacOs
see https://dev.swift-project.org/w/dev/swiftpc/dirstructure/
2017-09-24 19:49:51 +01:00
Mathew Sutcliffe
3ea9e33e6b
refs #937 Resolved clazy warnings: pass-by-value/reference.
2017-04-19 19:31:42 +01:00
Mathew Sutcliffe
fce1513dae
refs #937 Resolved clazy warnings: unnecessary detaching of containers.
2017-04-19 19:31:38 +01:00
Klaus Basan
96a2b757e7
refs #887 , support nested directories in comparison
2017-04-17 23:59:35 +01:00
Klaus Basan
888375d294
refs #887 , directories available via CDirectoryUtils/relative paths
...
* relative cache/settings paths are available relativeFilePath
* directories build in CDirectoryUtils
* directory comparison in CDirectoryUtils
* using CFileUtils to concatenate dir paths
* using URL encoded string for normalized directory (as it can be decoded)
2017-03-01 20:51:34 +01:00
Klaus Basan
301db27945
refs #865 , make log directory available for blackmisc
2017-02-24 00:18:52 +00:00
Roland Winklmeier
4180a890e4
Write settings, logs, cache, etc. into a installation dependent subfolder
...
refs #668
2016-06-08 21:30:56 +02:00