Commit Graph

10 Commits

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