Commit Graph

25 Commits

Author SHA1 Message Date
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