Commit Graph

57 Commits

Author SHA1 Message Date
Mat Sutcliffe
2aeacf49a7 Issue #114 Use CSetBuilder and CMapBuilder 2021-08-29 17:02:27 +01:00
Mat Sutcliffe
33209fa1eb Use std::as_const (C++17 feature) 2021-07-13 17:56:31 +01:00
Mat Sutcliffe
e9b0d57b2a Issue #77 Break cyclic dependency fileutils <-> directoryutils 2020-08-30 00:26:19 +01:00
Mat Sutcliffe
bb8aeaa3d0 Fix build with Clang on Windows 2020-08-29 14:16:17 +01:00
Mat Sutcliffe
b80114213d Issue #77 Move mixin classes to separate files
By separating them from unrelated code, their dependents
can use them without depending on unrelated code, which
in turn helps to reduce cyclic dependencies.
2020-08-29 14:16:17 +01:00
Mat Sutcliffe
8e065a8fef Issue #77 Factor out parts of CDirectoryUtils into CSwiftDirectories
CDirectoryUtils is utilities for manipulating directories.
CSwiftDirectories is getters that return directories used by swift.
2020-08-29 14:16:12 +01:00
Mat Sutcliffe
2dc86652c2 Issue #77 Include style 2020-08-28 00:45:26 +01:00
Klaus Basan
e839820940 Check UNC path to avoid "hanging" if other machine is not reachable 2020-06-12 18:42:47 +01:00
Mat Sutcliffe
4a0d8e9864 Fixed most Qt 5.14 deprecation warnings 2020-01-07 19:57:25 +00:00
Klaus Basan
b207c9c944 Ref T730, adjusted audio settings for new notification sounds
* utility functions, find most appropriate file
* PTT blocked, removed voice rooms
2019-10-11 19:00:16 +01:00
Klaus Basan
55f70a794e Style 2019-10-11 18:59:10 +01:00
Klaus Basan
b76d89bf27 Ref T660, make sure all file paths (for FSX/P3D) are Qt standard (not Windows native) 2019-09-16 22:40:29 +01:00
Klaus Basan
458daa4532 Improved string concat to avoid "//" in paths 2019-09-16 22:40:09 +01:00
Klaus Basan
e4b0655129 Ref T644, allow to fetch notifications sounds from an arbitrary directory
* added settings
* utility functions
2019-05-13 11:20:48 +02:00
Klaus Basan
fd1f6bcc84 Utility functions, status messages and model list
Ref T247 follow up
2019-04-11 22:12:17 +01:00
Klaus Basan
77a898c9ec Utility functions for notification sounds 2019-04-11 22:11:58 +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
df3ac2b02d Ref T401, crash info can be saved as file 2019-02-22 20:36:31 +00:00
Klaus Basan
107464d92a Ref T515, utility functions for file name/path etc. 2019-02-22 20:35:34 +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
Mat Sutcliffe
6c05c5249d When calling arg() on a QString constructed from a literal, use QStringLiteral. 2019-02-22 20:23:47 +00:00
Mat Sutcliffe
462172a87f Fixed clazy warnings: unnecessary containers and containers being detached in range-for loops. 2019-02-22 20:23:37 +00:00
Mat Sutcliffe
333ea1b8df Fixed clazy warnings: empty QStringLiteral. 2019-02-22 20:23:32 +00:00
Klaus Basan
50cc9c32d6 Ref T365, find add-on SimObjects
* utility function to compare directories
* parse "add-on.xml"
* use add-on SimObject paths for P3D as default
2018-12-10 03:41:15 +01:00
Klaus Basan
ca3345bbe0 Ref T455, utility file functions 2018-12-07 02:37:16 +01:00
Klaus Basan
61629231ff Ref T365, utility functions 2018-09-22 01:26:34 +02:00
Klaus Basan
a07d18aa44 Ref T348, util function to correct FSX/P3D model path
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:07 +02:00
Klaus Basan
8bd969105a XSwiftBus install dialog (for local environment)
* can also be called from menu
* improved file check
* renamed some functions
2018-05-18 00:25:02 +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
68d4243ca7 Ref T258, utility functions 2018-02-22 01:26:54 +01:00
Klaus Basan
5cc70c2903 Ref T253, utility functions to support UNC 2018-02-22 01:26:28 +01:00
Klaus Basan
47778acf81 Ref T199, utility file functions 2018-01-14 18:47:44 +01:00
Klaus Basan
e81211775b RW's review fixes Ref T202 Ref T189 Ref T210
* dmg comment and follow up issue created
* cppcheck-suppress passedByValue in cppcheck.supp
* renamed from Xsb -> XSwiftBus
* reverted wrong "static const QString dataStr"
2017-12-21 19:50:19 +01:00
Klaus Basan
45d02bd22a Ref T203, file utility functions 2017-12-21 19:48:54 +01:00
Klaus Basan
14c912e2aa Ref T118, utility functions support multiple directories 2017-10-31 15:39:13 +01:00
Klaus Basan
329b0512eb Ref T125, utility functions 2017-09-24 19:53:20 +01:00
Klaus Basan
53189eafd5 Ref T125, human readable file size 2017-09-24 19:53:15 +01:00
Klaus Basan
6d97f477c9 refs #911, support for Windows UNC paths in parser 2017-04-18 00:05:18 +01:00
Mathew Sutcliffe
0d0e2cf9e0 refs #884 Refactoring: moved method. 2017-04-18 00:00:20 +01:00
Klaus Basan
80b127bce8 refs #887, copy nested directories in wizard
* added utility function
* removed preselectMissingOrOutdated, flag for initCurrentDirectories
* support for copying nested directories
2017-04-17 23:59:37 +01:00
Klaus Basan
a492fe4806 Added 3 parameters version
#868
2017-04-17 23:58:00 +01:00
Klaus Basan
9b4b2f70cc refs #890, use CFileUtils to append paths 2017-04-17 23:56:58 +01:00
Klaus Basan
c693423905 refs #883, OS independent version of CFileUtils::getSwiftExecutables 2017-02-24 15:22:07 +00:00
Klaus Basan
5d81b23386 refs #883, some UI finetuning / Doxygen comments 2017-02-24 15:21:57 +00:00
Klaus Basan
c8c18b0b21 refs #883, utility functions
* get executable names
* containsApplication
2017-02-24 15:21:43 +00:00
Klaus Basan
246f48b71c refs #822, add file timestamp 2016-12-13 19:01:49 +01:00
Mathew Sutcliffe
7f422eb3e4 refs #777 Utilities for reading/writing files while holding a QLockFile. 2016-12-06 09:33:49 +01:00
Klaus Basan
0a0f8cf85c refs #676, utility function to eliminate nested subdirectories 2016-06-23 20:13:30 +02:00
Klaus Basan
a848d2ce68 refs #585, utility function to make directory path relative and find first file existing 2016-06-15 00:11:22 +02:00