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
paul
77686a4dbc
components, lcl: replace FileIsWritable by DirectoryIsWritable when we check a directory
...
git-svn-id: trunk@41832 -
2013-06-23 15:31:33 +00:00
bart
7ac6639fb4
LazUtils: Move GetAppConfigDirUTF8 and GetAppConfigFileUTF8 to LazFileUtils (and inline them in FileUtil).
...
Part of the ongoing restructuring of LazUtils.
git-svn-id: trunk@41589 -
2013-06-08 15:00:18 +00:00
bart
555ede86aa
LazUtils: Move SysErrorMessageUTF8 to LazUtf8 (and inline it in FileUtil).
...
Part of the ongoing restructuring of LazUtils.
git-svn-id: trunk@41588 -
2013-06-08 14:54:15 +00:00
bart
bcea8662ff
LazUtils: Move ConsoleToUTF8, UTF8ToConsole, ParamStrUTF8,
...
GetEnvironmentStringUTF8 and GetEnvironmentVariableUTF8 to LazUtf8 (and inline them in FileUtil).
Part of the ongoing restructuring of LazUtils.
git-svn-id: trunk@41587 -
2013-06-08 14:41:16 +00:00
bart
8df292bbb6
LazUtils: Move FileSearchUtf8 to LazFileUtils (and inline it in FileUtil).
...
Part of the ongoing restructuring of LazFileUtils/FileUtil.
git-svn-id: trunk@41568 -
2013-06-06 21:29:50 +00:00
bart
9cab951c18
LazUtils: Move FileIsReadOnly to LazFileUtils (and inline it in FileUtil).
...
Part of the ongoing restructuring of LazFileUtils/FileUtil.
git-svn-id: trunk@41566 -
2013-06-06 21:22:21 +00:00
mattias
4e6e36dc04
lazutils: sort uses clause
...
git-svn-id: trunk@41488 -
2013-06-02 08:32:06 +00:00
bart
27e955ca5c
FileUtil: Implement WideString API based version of ParamStrUtf8 on Windows.
...
git-svn-id: trunk@41486 -
2013-06-01 18:01:02 +00:00
bart
1d2d0b6a26
LazFileUtils: (Try)CreateRelativePath: implement option to control wether Dest and Source
...
must always share a common base folder (being not the root directory).
For CreateRelativePath it defaults to True for backwards compatibility.
git-svn-id: trunk@41452 -
2013-05-29 19:01:13 +00:00
bart
a74716e6aa
LazFileUtils: Fix CreateRelativePath function. Better fix for issue #0022603 .
...
git-svn-id: trunk@41449 -
2013-05-29 11:51:48 +00:00