bart
e513f7a26a
TFileSearcher: use the new Options parameter for the MaskList.
...
git-svn-id: trunk@62783 -
2020-03-20 17:59:40 +00:00
juha
f867f60b13
LazUtils: Warn in a comment that function ReadFileToString() does not work with virtual files. Issue #36145 .
...
git-svn-id: trunk@62770 -
2020-03-16 19:51:51 +00:00
mattias
63594b3af5
lazutils: fixed TFileSearcher initial PathSeparator and paths with spaces
...
git-svn-id: trunk@61569 -
2019-07-11 14:56:44 +00:00
mattias
5905fbb553
lazutils: SearchFileInPath: added flags sffFile, sffExecutable
...
git-svn-id: trunk@60621 -
2019-03-08 13:19:10 +00:00
bart
34803af734
- TFileSearcher: implement property PathSeparator.
...
- and expose both MaskSeparator and PathSeparator in FindAllFiles()
- expose PathSeparator in FindAllDirectories.
Issue #0034607 .
git-svn-id: trunk@59687 -
2018-11-28 17:23:33 +00:00
juha
75d1f28106
LazUtils: Move more functions from FileUtils to LazFileUtilities, deprecate the old ones.
...
git-svn-id: trunk@59177 -
2018-09-28 12:25:39 +00:00
juha
571647e302
LazUtils: Move ExtractFileNameWithoutExt to LazFileUtils. Rhymes with ExtractFileNameOnly.
...
git-svn-id: trunk@59169 -
2018-09-26 17:49:27 +00:00
juha
0bb1729bdc
Cleanup for utility functions.
...
git-svn-id: trunk@58786 -
2018-08-27 19:03:21 +00:00
juha
887cf78963
Move a version of function ProgramDirectory from IDEProcs to FileUtils.ProgramDirectoryWithBundle.
...
git-svn-id: trunk@58619 -
2018-07-24 17:49:13 +00:00
juha
3ed79743c8
Remove the wrapper functions from LazUtils.FileUtil, Lcl.LclProcs and Codetools.FileProcs completely. Simplify code.
...
git-svn-id: trunk@56693 -
2017-12-11 19:44:37 +00:00
juha
09de77223d
LazUtils: Fix the package name in file headers.
...
git-svn-id: trunk@53753 -
2016-12-21 22:35:14 +00:00
mattias
e53ad0a63b
lazutils: simplified
...
git-svn-id: trunk@53403 -
2016-11-21 16:05:02 +00:00
ondrej
c4a4b773bd
LazUtils: FindDefaultExecutablePath refactoring. Issue #30816 , patch by AlexeyT
...
git-svn-id: trunk@53257 -
2016-10-29 06:30:41 +00:00
mattias
3bcde4474b
lazutils: FindDefaultExecutablePath: on Windows search in BaseDir as well, bug #30802 .
...
git-svn-id: trunk@53236 -
2016-10-27 10:38:59 +00:00
mattias
ad2a1d0c2d
lazutils: less warnings
...
git-svn-id: trunk@53137 -
2016-10-17 13:33:55 +00:00
bart
9c050f164e
LazUtils: disable the wrapper functions in FileUtil by default. The wrapper functions will be removed later on.
...
git-svn-id: trunk@51834 -
2016-03-06 13:19:23 +00:00
bart
2683bc53a8
LazUtils: Prevent CopyDirTree copying to a subdirectory of source: handle unicode characters.
...
git-svn-id: trunk@51692 -
2016-02-24 23:07:19 +00:00
bart
f7005c6649
LazUtils: Revert r51038 #10e166f60e. Fixes bug in CopyDirTree. Issue #0029695 .
...
git-svn-id: trunk@51675 -
2016-02-22 18:13:29 +00:00
bart
35b30db335
LazUtils: CopyDirTree: better readable Boolean expression.
...
git-svn-id: trunk@51041 -
2015-12-26 16:43:20 +00:00
bart
b8d42c3a62
LazUtils: Fix r51038 #10e166f60e for Issue #28841 .
...
git-svn-id: trunk@51039 -
2015-12-26 13:50:01 +00:00
bart
10e166f60e
LazUtils: Better fix "Prevent CopyDirTree copying to a subdirectory of source." Issue #28841 .
...
git-svn-id: trunk@51038 -
2015-12-26 13:14:11 +00:00
juha
d10faafb1a
LazUtils: Use trimmed paths for comparing sub-dir in CopyDirTree. Fix return value. Issue #28841 .
...
git-svn-id: trunk@51034 -
2015-12-25 19:14:04 +00:00
juha
6faa4e893c
LazUtils: Prevent CopyDirTree copying to a subdirectory of source. Issue #28841 .
...
git-svn-id: trunk@51033 -
2015-12-25 18:39:32 +00:00
mattias
7896da19ae
IDE: fixed searching in PATH on Windows
...
git-svn-id: trunk@50865 -
2015-12-17 14:34:53 +00:00
ondrej
3a6697bc77
codetools, lazutils, win32: less hints
...
git-svn-id: trunk@50822 -
2015-12-15 16:27:39 +00:00
juha
08c9621520
Change order of used units so that "deprecated" warnings are not triggered.
...
git-svn-id: trunk@49612 -
2015-08-07 17:20:40 +00:00
juha
653b5dd43a
Codetools, unit FileProcs: Disable conditionally wrapper functions. For testing define DisableWrapperFunctions and build Lazarus.
...
git-svn-id: trunk@49504 -
2015-07-07 11:43:38 +00:00
juha
06ac76f560
LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus.
...
git-svn-id: trunk@49494 -
2015-07-04 23:08:00 +00:00
bart
5383338553
LazUtils: Don't raise exceptions in CopyFile function by default. Added a parameter to control this behaviour. Issue #0028236 .
...
git-svn-id: trunk@49284 -
2015-06-07 09:21:24 +00:00
bart
b727702265
LazUtils: TFileSearcher.Search: do not remove directories that are subdirectories of another directory from ASearchPath,
...
when ASearchSubDirs is False. Issue #0027965 .
git-svn-id: trunk@48858 -
2015-04-25 18:28:43 +00:00
bart
a64855cad9
LazUtils: TFileSearcher.Search: if SearchPath is empty, search current directory.
...
git-svn-id: trunk@48854 -
2015-04-25 18:02:28 +00:00
bart
f78f0d056d
FileUtil: implement optional parameter DirAttr for FindAllFiles.
...
git-svn-id: trunk@47144 -
2014-12-08 21:51:43 +00:00
juha
8e7bbbd8f9
LazUtils: Overload FindAllFiles and FindAllDirectories with procedures having StringList as a parameter. Issue #27054 , patch from wp.
...
git-svn-id: trunk@47034 -
2014-11-30 10:58:02 +00:00
juha
08fb92aaad
LazUtils: Move TListFileSearcher and TListDirectoriesSearcher to public interface section. Issue #26632 .
...
git-svn-id: trunk@46179 -
2014-09-11 15:18:22 +00:00
juha
adb4858156
LazUtils: make CopyDirTree() work also with the "wrong" path delimiter ('/' on Windows). Was broken after r45991 #3e8d8b891e.
...
git-svn-id: trunk@46031 -
2014-08-11 11:53:48 +00:00
mattias
5615c5a447
LCL: fileutil: TFileSearcher.Search: check duplicates
...
git-svn-id: trunk@46002 -
2014-08-01 11:52:01 +00:00
mattias
3e8d8b891e
lazutils: TFileSearcher.Search: parameter SearchPath now works as semicolon separated search path
...
git-svn-id: trunk@45991 -
2014-07-30 12:05:38 +00:00
mattias
30c58e48d6
IDE,lazutils: added GetPhysicalFilenameCached
...
git-svn-id: trunk@45247 -
2014-05-30 13:41:20 +00:00
mattias
9f680e7c26
lazutils: use GetPhysicalFilename instead of readalllinks
...
git-svn-id: trunk@45242 -
2014-05-30 12:40:24 +00:00
mattias
877c4d50b9
LCL: moved ReadAllLinks to LazUtils
...
git-svn-id: trunk@44577 -
2014-04-01 10:24:50 +00:00
bart
f10b9abc94
LazUtils: Use ResolveDots in FindDiskFilename(CaseInSensitive) to sanitize Filename.
...
git-svn-id: trunk@42660 -
2013-09-07 10:13:14 +00:00
bart
eab977d2b3
LazUtils: AllowDirectorySeparators instead of PathDelim in FindDiskFilename.
...
git-svn-id: trunk@42648 -
2013-09-06 18:15:16 +00:00
bart
78fe9ed6eb
LazUtils: when seraching for PathDelimiters use AllowDirectorySeparators instead of PathDelim.
...
Reason: compatibility with fpc RTL.
git-svn-id: trunk@42622 -
2013-09-05 17:55:50 +00:00
mattias
98ea2c18a5
lazutils: fixed compilation darwin
...
git-svn-id: trunk@42372 -
2013-08-09 08:30:52 +00:00
mattias
8fb042dba7
lazutils: FindDefaultExecutablePath: added default param BaseDir
...
git-svn-id: trunk@42361 -
2013-08-05 19:33:31 +00:00
mattias
283ae2bad5
lazutils: merged code
...
git-svn-id: trunk@42360 -
2013-08-05 19:24:41 +00:00
mattias
d46e886263
lazutils: clean up
...
git-svn-id: trunk@42359 -
2013-08-05 19:19:30 +00:00
juha
bdc7156f0f
Converter: backup also include files + minor refactoring.
...
git-svn-id: trunk@41946 -
2013-06-30 06:43:29 +00:00
juha
eaef69c3e5
LazUtils: Create destination dirs in CopyDirTree(). Fixes a regression.
...
git-svn-id: trunk@41939 -
2013-06-29 13:14:51 +00:00
bart
347f0c2afe
LazUtils: move GetFileDescription from FileUtil to LazFileUtils.
...
Part of moving all UTF8 related filefunctions to LazFileUtils.
git-svn-id: trunk@41903 -
2013-06-26 09:43:12 +00:00