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
39fe54c5f6
Make LCL and LazUtils compile for Amiga systems (NoGUI). Issue #31186 , patch from Marcus Sackrow.
...
git-svn-id: trunk@53853 -
2017-01-03 12:01:49 +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
juha
920c072f0e
LazUtils: Add, fix and unify header comments of many units.
...
git-svn-id: trunk@52518 -
2016-06-18 16:40:04 +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
juha
5ff026ab94
IDE: Support dotted unit names in FilenameIsPascalSource. Issue #29363 .
...
git-svn-id: trunk@51261 -
2016-01-12 17:00:28 +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
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
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
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
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
877c4d50b9
LCL: moved ReadAllLinks to LazUtils
...
git-svn-id: trunk@44577 -
2014-04-01 10:24: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
mattias
7fe318a1a3
lazutils: inlined
...
git-svn-id: trunk@41953 -
2013-07-01 12:58:11 +00:00
mattias
4cbfb35970
lazutils: clean up
...
git-svn-id: trunk@41942 -
2013-06-29 13:37:54 +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
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
mattias
3a9e8d9e0c
lazutils: clean up
...
git-svn-id: trunk@41439 -
2013-05-28 08:09:50 +00:00
juha
ecd140c985
Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
...
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
bart
42315809a3
LazUtils: move more Utf8 file routines to LazFileUtils (and inline them in FileUtil):
...
ForceDirectoriesUTF8.
git-svn-id: trunk@41374 -
2013-05-23 17:26:47 +00:00
bart
b9a543d619
LazUtils: move more Utf8 file routines to LazFileUtils (and inline them in FileUtil):
...
CompareFileExt, FileIsExecutable, CheckIfFileIsExecutable, FileIsSymlink, CheckIfFileIsSymlink,
FileIsHardLink, FileIsReadable, FileIsWritable.
git-svn-id: trunk@41358 -
2013-05-22 16:36:57 +00:00
bart
cb33ec967a
LazUtils: move more Utf8 file routines to LazFileUtils (and inline them in FileUtil):
...
ForceDirectory, DirectoryIsWritable.
git-svn-id: trunk@41356 -
2013-05-22 15:38:48 +00:00
bart
ba38848714
LazUtils: move more Utf8 file routines to LazFileUtils (and inline them in FileUtil):
...
DirPathExists, CompareFilenames, CompareFilenamesIgnoreCase.
git-svn-id: trunk@41354 -
2013-05-22 15:14:35 +00:00
bart
b59ec93c89
LazUtils: move the more UTF8 file routines to LazFileUtils (and inline them in FileUtil):
...
FindFirstUTF8, FindNextUTF8, FindCloseUTF8, DeleteFileUTF8, RenameFileUTF8,
GetCurrentDirUTF8, SetCurrentDirUTF8, CreateDirUTF8, RemoveDirUTF8,
FilenameIsAbsolute, FilenameIsWinAbsolute and FilenameIsUnixAbsolute.
git-svn-id: trunk@41348 -
2013-05-22 10:24:41 +00:00
bart
c990f3d7c8
FileUtil: inline AppendPathDelim, TrimFilename, CleanAndExpandFilename and CleanAndExpandDirectory
...
to their LazFileUtils couterparts.
git-svn-id: trunk@41297 -
2013-05-19 14:08:07 +00:00
bart
d79f871ec1
FileUtil: add some comment to point out we are in the transition of moving stuff to LazFileUtils.
...
git-svn-id: trunk@41296 -
2013-05-19 13:42:46 +00:00