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
e1c3aed986
LazFileUtils: cleanup.
...
git-svn-id: trunk@41375 -
2013-05-23 17:29:09 +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
mattias
a6bb37ad88
lazutils: clean up
...
git-svn-id: trunk@41363 -
2013-05-23 07:01:36 +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
46d203865a
LazFileUtils: ComapareFileExt for CaseInsensitive comparing when Ext contains lowercase unicode charaters.
...
git-svn-id: trunk@41357 -
2013-05-22 15:45:19 +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
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
3b1ac2f83d
LazFileUtils: Add function FileSizeUtf8
...
git-svn-id: trunk@41294 -
2013-05-19 13:11:41 +00:00
bart
280b9f2060
LazFileUtils: fix FileSetDateUTF8 on Windows when FileName contains unicode
...
characters outside current codepage.
git-svn-id: trunk@41289 -
2013-05-19 12:52:48 +00:00
bart
486d00d68c
LazFileUtils: fix FileAgeUTF8 on Windows when FileName contains unicode
...
characters outside current codepage.
git-svn-id: trunk@41287 -
2013-05-19 12:37:47 +00:00
bart
43c5ac5e1a
LazFileUtils: Fix DirectoryExistsUTF8 on Windows when Directory contains
...
unicode characters outside current codepage.
git-svn-id: trunk@41285 -
2013-05-19 12:25:06 +00:00
bart
0986ec79fe
LazFileUtils: Fix FileExistsUTF8 on Windows when FileName contains uncode
...
characters outside current codepage.
git-svn-id: trunk@41283 -
2013-05-19 12:17:03 +00:00
bart
503626439e
LazFileUtils: fix Windows implementation of FileGetAttrUTF8 and FileSetAttrUTF8 when
...
filename contains unicode characters outside current codepage.
git-svn-id: trunk@41281 -
2013-05-19 12:03:33 +00:00
bart
1b61e2844c
LazFileUtils: Add FileCreateUtf8(Const FileName : String; ShareMode : Integer; Rights : Cardinal) : THandle;
...
- Refactor code in winlazfileutils for FileCreateUtf8 to remove duplicate code.
- Use Utf8ToSys in the unix implementation.
git-svn-id: trunk@41277 -
2013-05-19 11:11:23 +00:00
bart
bf3f2431f6
LazUtils: fix LazFileUtils.FileIsText when filename has unicode characters outside currrent codepage on Windows.
...
Needs refactoring of LazUtf8Classes (use LazFileUtils instead of FileUtil).
Next step in moving UTF89 file routines to LazFileUil.
git-svn-id: trunk@41209 -
2013-05-15 16:52:42 +00:00
bart
0ce3f9f9f0
LazFileUtils: rename ExpandDots() to ResolveDots()
...
git-svn-id: trunk@41084 -
2013-05-09 07:37:51 +00:00
mattias
fd461b8b5b
docs: CreateRelativePath does not support D:test for thread safety
...
git-svn-id: trunk@41065 -
2013-05-08 01:26:06 +00:00
mattias
363854a331
lazutils: restored old CreateRelativePath, added doc
...
git-svn-id: trunk@41064 -
2013-05-08 01:18:11 +00:00
bart
d9e1aa876f
Lazfileutils.pas: fix incorrect indentation from r41036 #0baf6d6df0
...
git-svn-id: trunk@41037 -
2013-05-05 11:28:29 +00:00
bart
0baf6d6df0
CreateRelativePath (FileUtil and LazFileUtils): use SysUtilsExtractRelativePath inernally.
...
Fixes issue #0022603 .
git-svn-id: trunk@41036 -
2013-05-05 11:20:44 +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
mattias
5bcaa75c06
lazutils: moved SplitCmdLineParms to LazFileUtils
...
git-svn-id: trunk@39741 -
2013-01-03 12:10:48 +00:00
mattias
20382c7ed0
codetools: skipped code is now converted to special comments
...
git-svn-id: trunk@38521 -
2012-09-05 10:47:44 +00:00
mattias
b240df36a1
lazutils: UTF8CompareStr: made 64bit safe, added fast PChar versions
...
git-svn-id: trunk@38103 -
2012-08-01 10:50:19 +00:00
martin
8f09d13055
Use Utf8CompareText instead of AnsiCompare
...
git-svn-id: trunk@37769 -
2012-06-24 20:41:05 +00:00
mattias
119fa0682e
lazutils: todo: use utf8
...
git-svn-id: trunk@36054 -
2012-03-16 00:49:05 +00:00
mattias
633df49583
lazutil: ExpandFilenameUTF8 with custom directory
...
git-svn-id: trunk@36053 -
2012-03-16 00:42:16 +00:00
mattias
8021eb0961
lazutils: IsUNCPath, ExtractUNCVolume: only windows
...
git-svn-id: trunk@35946 -
2012-03-13 22:27:42 +00:00
paul
4322f2fcf6
lazutils: add IsUNCPath, ExtractUNCVolume routines
...
git-svn-id: trunk@35913 -
2012-03-13 03:11:18 +00:00
mattias
8004b97fea
lazutils: fixed typo
...
git-svn-id: trunk@35656 -
2012-03-03 00:22:06 +00:00
mattias
7f5a352702
lazutils: added CreateAbsoluteSearchPath, CreateRelativeSearchPath, MinimizeSearchPath, FindPathInSearchPath
...
git-svn-id: trunk@35159 -
2012-02-05 14:19:40 +00:00
martin
8fd4128a31
Fix ChompLath for windows C:\
...
git-svn-id: trunk@34716 -
2012-01-12 17:35:57 +00:00
mattias
77c557782e
lazutils: ChompPathDelim: under windows: do not chomp UNC base path double slash
...
git-svn-id: trunk@34374 -
2011-12-23 19:19:59 +00:00
mattias
099bf2898b
lazutils+codetools: fixed FindDiskFilename
...
git-svn-id: trunk@33219 -
2011-11-02 13:51:26 +00:00
paul
7f7d57f048
components: fix compilation of LazUtils
...
git-svn-id: trunk@32686 -
2011-10-05 00:47:10 +00:00
paul
851ffe5bc9
components: add GetDarwinSystemFilename by Dmitry
...
git-svn-id: trunk@32685 -
2011-10-05 00:40:51 +00:00
mattias
edeaa59964
lazutils: started lazutf8, lazfileutil, lazfilecache
...
git-svn-id: trunk@32678 -
2011-10-04 22:42:44 +00:00