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
mattias
5d67ef5e1b
lazutils: fixed ResolveDots under Windows .\.
...
git-svn-id: trunk@56726 -
2017-12-14 16:19:14 +00:00
bart
0d6d2cc04a
LazFileUtils: rename a local variable to improve readability. No functional changes.
...
git-svn-id: trunk@56187 -
2017-10-25 10:36:19 +00:00
mattias
5e7387d21d
lazutils: fixed ResolveDots: ./ -> .
...
git-svn-id: trunk@56185 -
2017-10-25 10:21:23 +00:00
mattias
88c8a65391
lazutils: ResolveDots: fixed a/../b
...
git-svn-id: trunk@53275 -
2016-11-01 19:55:25 +00:00
mattias
ad2a1d0c2d
lazutils: less warnings
...
git-svn-id: trunk@53137 -
2016-10-17 13:33:55 +00:00
bart
750c0cd318
LazFileUtils: fix stupid mistake in DbgSFileAttr() function.
...
git-svn-id: trunk@48165 -
2015-03-07 17:25:44 +00:00
bart
b83671949f
LazFileUtils: implement DbgSFileAttr() function.
...
git-svn-id: trunk@48154 -
2015-03-06 22:02:59 +00:00
bart
51a48d7494
LazFileUtils: fix error in TryCreateRelativePath (it failed e.g with Dest=C:\ and Source=C:\foo). Issue #0027601 .
...
git-svn-id: trunk@48120 -
2015-03-03 19:51:20 +00:00
mattias
2979c97a9a
lazutils: fixed compilation on win64
...
git-svn-id: trunk@47879 -
2015-02-18 16:52:32 +00:00
bart
3afb18b37f
LazFileUtils: ResolveDots: respect AllowDirectorySeparators.
...
git-svn-id: trunk@42700 -
2013-09-09 11:50:06 +00:00
mattias
773f710bde
IDE, codetools, lazutils: Changed DoDirSeparators calls with DoPathDelims calls
...
git-svn-id: trunk@42674 -
2013-09-08 07:40:06 +00:00
bart
82d7e00939
LazFileUtils: use AllowDirectorySeparators instead of hardcode '\' in FilenameIsWinAbsolute().
...
git-svn-id: trunk@42663 -
2013-09-07 11:26:20 +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
bart
25e6f7d70d
LazUtils: in ResolveDots() don't convert anything if AFilename starts with \\?\
...
Follow up of r42602 #bdaf2d9c6e.
git-svn-id: trunk@42603 -
2013-09-04 22:42:15 +00:00
bart
bdaf2d9c6e
LazUtils: in ResolveDots() don't convert \\ or / if AFilename starts with \\?\
...
(As per MS Specs anything after that must be takne literally?)
git-svn-id: trunk@42602 -
2013-09-04 21:57:26 +00:00
bart
f05ba71d75
LazUtils: in ResolveDots() convert '/'to '\' on Windows.
...
This allows for better removing of double path delimiters.
(WinApi accepts '//' and treats it as '\' , bot not so for '/\')
git-svn-id: trunk@42599 -
2013-09-04 19:16:08 +00:00
bart
1b9ad85931
LazFileUtils: fix FilenameIsWinAbsolute for WinCE.
...
git-svn-id: trunk@42566 -
2013-09-02 19:18:31 +00:00
bart
05baacd6f0
LazFileUtils: No need for specific FindCloseUtf8 implementation: just use SysUtils.FindClose.
...
git-svn-id: trunk@42125 -
2013-07-17 21:50:02 +00:00
mattias
e5cd031b31
lazutils: clean up
...
git-svn-id: trunk@41745 -
2013-06-17 14:00:35 +00:00
bart
cbb2c5f5d9
LazFileUtils: Update comments for TryCreateRelativePath.
...
git-svn-id: trunk@41467 -
2013-05-30 16:33:53 +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
bart
0ce3f9f9f0
LazFileUtils: rename ExpandDots() to ResolveDots()
...
git-svn-id: trunk@41084 -
2013-05-09 07:37:51 +00:00
bart
a53520295e
LazUtils: Fix ExpandFileNameUTF8 for directories with Unicode characters outside
...
current codepage on Windows.
Also do not remove trailing and leading spaces, it is inconsistent with
SysUtils.ExpandFileName.
Start splitting implementation in general, unix and windows specific includefiles.
git-svn-id: trunk@40842 -
2013-04-18 18:23:02 +00:00