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
556f193194
components: cleanup
...
git-svn-id: trunk@41809 -
2013-06-23 10:24:38 +00:00
mattias
822ca4c2e1
LCL: changed INVALID_HANDLE_VALUE from 0 to LCLType.Handle(-1), -1 is the Windows value
...
git-svn-id: trunk@41517 -
2013-06-03 17:40:58 +00:00
bart
47f5c33813
LazFileUtils: Split some implementations into Windows and Unix specific include files.
...
git-svn-id: trunk@41451 -
2013-05-29 13:05:12 +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
ecc0103303
winlazfileutils.inc: refactoring and adjusting some layout.
...
git-svn-id: trunk@41349 -
2013-05-22 10:50:29 +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
bart
fb55facdaa
ExpandFileNameUtf8: expand current drive if FileName = '\' (Windows)
...
git-svn-id: trunk@41035 -
2013-05-05 11:04:09 +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