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
mattias
f83f463aa6
lazutils: fixed compialtion under Linux
...
git-svn-id: trunk@41362 -
2013-05-23 06:54:39 +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
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
39903ad024
LazFileUtils: use Utf8ToSys in the unix implementation of FileOpenUtf8.
...
git-svn-id: trunk@41278 -
2013-05-19 11:12:52 +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
mattias
4a483b4187
lazutils: fixed compilation under Linux
...
git-svn-id: trunk@41086 -
2013-05-09 10:39:11 +00:00
mattias
ece43d9fc5
lazutils: clean up
...
git-svn-id: trunk@41066 -
2013-05-08 01:40:31 +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