juha
fe7df06037
LazUtils: Optimize TXMLConfig.InternalFindNode, call virtual NodeName getter only once.
...
git-svn-id: trunk@41456 -
2013-05-30 09:52:37 +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
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
a74716e6aa
LazFileUtils: Fix CreateRelativePath function. Better fix for issue #0022603 .
...
git-svn-id: trunk@41449 -
2013-05-29 11:51:48 +00:00
juha
a8684998b7
Formatting and comments
...
git-svn-id: trunk@41442 -
2013-05-28 15:59:52 +00:00
mattias
3a9e8d9e0c
lazutils: clean up
...
git-svn-id: trunk@41439 -
2013-05-28 08:09:50 +00:00
juha
ecd140c985
Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
...
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
mattias
fe0b0eb344
lazutils: removed obsolete luresstrings
...
git-svn-id: trunk@41379 -
2013-05-24 07:28:13 +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
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
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
ba38848714
LazUtils: move more Utf8 file routines to LazFileUtils (and inline them in FileUtil):
...
DirPathExists, CompareFilenames, CompareFilenamesIgnoreCase.
git-svn-id: trunk@41354 -
2013-05-22 15:14:35 +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
maxim
a8a031a612
Translations: reverted Arabic translation to r37531 #c73fdaff8b by request of Mazen Neifer (current Arabic translation maintainer). Reason is poor quality/machine translation, which makes hard to use translated IDE.
...
git-svn-id: trunk@41340 -
2013-05-21 19:34:39 +00:00
bart
b759d82dab
TFileStreamUTF8.Create: fix error when mode = fmCreate or fmSomeShareMode.
...
Respect mode parameter when creating a file.
git-svn-id: trunk@41331 -
2013-05-20 16:47:52 +00:00
bart
a9b26cc418
FileUtil: inline ChompPathDelim to LazFileUtils.ChompPathDelim.
...
git-svn-id: trunk@41324 -
2013-05-20 13:24:19 +00:00
bart
c990f3d7c8
FileUtil: inline AppendPathDelim, TrimFilename, CleanAndExpandFilename and CleanAndExpandDirectory
...
to their LazFileUtils couterparts.
git-svn-id: trunk@41297 -
2013-05-19 14:08:07 +00:00
bart
d79f871ec1
FileUtil: add some comment to point out we are in the transition of moving stuff to LazFileUtils.
...
git-svn-id: trunk@41296 -
2013-05-19 13:42:46 +00:00
bart
ef3320295a
FileUtil: inline FileSize to LazFileUtils.FileSizeUtf8.
...
git-svn-id: trunk@41295 -
2013-05-19 13:15:30 +00:00
bart
3b1ac2f83d
LazFileUtils: Add function FileSizeUtf8
...
git-svn-id: trunk@41294 -
2013-05-19 13:11:41 +00:00
bart
bdec439cd2
FileUtil: inline FileSetDateUTF8 to use LazFileUtils.FileSetDateUTF8.
...
git-svn-id: trunk@41290 -
2013-05-19 12:56: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
d1e6e77a05
LazFileUtils: inline FileAgeUTF8 to LazFileUtils.FileAgeUTF8
...
git-svn-id: trunk@41288 -
2013-05-19 12:43:01 +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
946e76d280
FileUtil: inline DirectoryExistsUTF8 to LazFileutils.DirectoryExistsUTF8.
...
git-svn-id: trunk@41286 -
2013-05-19 12:28:41 +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
f813d88848
FileUtil: inline FileExistsUTF8 to use LazFileUtils.FileExistsUTF8.
...
git-svn-id: trunk@41284 -
2013-05-19 12:21:16 +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
0a3ee817e7
FileUtil: inline FileGetAttrUTF8 and FileSetAttrUTF8 to their LazFileUtils counterparts.
...
git-svn-id: trunk@41282 -
2013-05-19 12:11:27 +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
da816b1721
FileUtil: inline NeedRTLAnsi, SetNeedRTLAnsi, UTF8ToSys ans UTF8ToAnsi to use their LazuUtf8 counterparts.
...
git-svn-id: trunk@41280 -
2013-05-19 11:43:06 +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
cba0395125
FileUtil: inline FileOpenUTF8, FileCreateUTF8 and FileCreateUTF8 to their LazFileUtils counterparts.
...
Next step in moving UTF8 file routines to LazFileUtils.
git-svn-id: trunk@41211 -
2013-05-15 17:14:24 +00:00
bart
f77efa70a9
FileUtil: inline FileIsText to LazFileUtils.FileIsText.
...
Next step in moving UTF8 file routines to LazFileUtils.
git-svn-id: trunk@41210 -
2013-05-15 17:03:11 +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
5878ba9053
lazutils: less warnings
...
git-svn-id: trunk@41184 -
2013-05-14 09:30:45 +00:00
maxim
20a03cef69
Translations: updated Spanish translation by Lucas Martín, bug #24424
...
git-svn-id: trunk@41181 -
2013-05-13 21:59:25 +00:00
mattias
8e652015ad
lazutils; fixed compilation under unix
...
git-svn-id: trunk@41160 -
2013-05-12 18:20:15 +00:00
bart
d219baae5f
FileUtil: DeleteDirectory: also delete symlinks in a directory on *nix (don't follow them). Issue #0024415 .
...
git-svn-id: trunk@41159 -
2013-05-12 18:15:48 +00:00
juha
bdba8f2a01
One more "inherited Create;" to be sure.
...
git-svn-id: trunk@41097 -
2013-05-09 15:37:10 +00:00
juha
8ddfe52d9b
Add "inherited Create;" to constructors for classes derived from TFileSearcher.
...
git-svn-id: trunk@41089 -
2013-05-09 11:52:17 +00:00
mattias
4a483b4187
lazutils: fixed compilation under Linux
...
git-svn-id: trunk@41086 -
2013-05-09 10:39:11 +00:00
bart
0ce3f9f9f0
LazFileUtils: rename ExpandDots() to ResolveDots()
...
git-svn-id: trunk@41084 -
2013-05-09 07:37:51 +00:00
mattias
ece43d9fc5
lazutils: clean up
...
git-svn-id: trunk@41066 -
2013-05-08 01:40:31 +00:00