Commit Graph

476 Commits

Author SHA1 Message Date
mattias
7fe318a1a3 lazutils: inlined
git-svn-id: trunk@41953 -
2013-07-01 12:58:11 +00:00
mattias
69ae98e681 lazutils: TPointerToPointerTree.ClearWithFree
git-svn-id: trunk@41951 -
2013-07-01 11:14:38 +00:00
juha
bdc7156f0f Converter: backup also include files + minor refactoring.
git-svn-id: trunk@41946 -
2013-06-30 06:43:29 +00:00
mattias
04ad21f805 lazutils: notes about thread safety
git-svn-id: trunk@41945 -
2013-06-29 17:12:53 +00:00
mattias
4cbfb35970 lazutils: clean up
git-svn-id: trunk@41942 -
2013-06-29 13:37:54 +00:00
juha
eaef69c3e5 LazUtils: Create destination dirs in CopyDirTree(). Fixes a regression.
git-svn-id: trunk@41939 -
2013-06-29 13:14:51 +00:00
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
mattias
f6a38d98ef lazutils: reduced dependencies of LazFileUtils
git-svn-id: trunk@41851 -
2013-06-23 19:18:10 +00:00
paul
77686a4dbc components, lcl: replace FileIsWritable by DirectoryIsWritable when we check a directory
git-svn-id: trunk@41832 -
2013-06-23 15:31:33 +00:00
paul
556f193194 components: cleanup
git-svn-id: trunk@41809 -
2013-06-23 10:24:38 +00:00
mattias
e5cd031b31 lazutils: clean up
git-svn-id: trunk@41745 -
2013-06-17 14:00:35 +00:00
bart
51a7ea5e7a LazUtf8: Next attempt to fix compilation with 2.6.0 on Windows.
git-svn-id: trunk@41729 -
2013-06-16 13:04:53 +00:00
bart
2aa7ae79c9 LazUtf8: Fix compiling Windows implementation of ParamStrUtf8 for fpc 2.6.0.
git-svn-id: trunk@41724 -
2013-06-16 11:55:10 +00:00
bart
7ac6639fb4 LazUtils: Move GetAppConfigDirUTF8 and GetAppConfigFileUTF8 to LazFileUtils (and inline them in FileUtil).
Part of the ongoing restructuring of LazUtils.

git-svn-id: trunk@41589 -
2013-06-08 15:00:18 +00:00
bart
555ede86aa LazUtils: Move SysErrorMessageUTF8 to LazUtf8 (and inline it in FileUtil).
Part of the ongoing restructuring of LazUtils.

git-svn-id: trunk@41588 -
2013-06-08 14:54:15 +00:00
bart
bcea8662ff LazUtils: Move ConsoleToUTF8, UTF8ToConsole, ParamStrUTF8,
GetEnvironmentStringUTF8 and GetEnvironmentVariableUTF8 to LazUtf8 (and inline them in FileUtil).
Part of the ongoing restructuring of LazUtils.

git-svn-id: trunk@41587 -
2013-06-08 14:41:16 +00:00
bart
8df292bbb6 LazUtils: Move FileSearchUtf8 to LazFileUtils (and inline it in FileUtil).
Part of the ongoing restructuring of LazFileUtils/FileUtil.

git-svn-id: trunk@41568 -
2013-06-06 21:29:50 +00:00
bart
9cab951c18 LazUtils: Move FileIsReadOnly to LazFileUtils (and inline it in FileUtil).
Part of the ongoing restructuring of LazFileUtils/FileUtil.

git-svn-id: trunk@41566 -
2013-06-06 21:22:21 +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
mattias
641ea1824b IDE: rename build modes, update shared and session matrix options
git-svn-id: trunk@41508 -
2013-06-03 10:40:18 +00:00
mattias
4e6e36dc04 lazutils: sort uses clause
git-svn-id: trunk@41488 -
2013-06-02 08:32:06 +00:00
bart
27e955ca5c FileUtil: Implement WideString API based version of ParamStrUtf8 on Windows.
git-svn-id: trunk@41486 -
2013-06-01 18:01:02 +00:00
mattias
30f58114b0 lazutils: fixed compilation under darwin
git-svn-id: trunk@41479 -
2013-05-31 21:50:47 +00:00
bart
cbb2c5f5d9 LazFileUtils: Update comments for TryCreateRelativePath.
git-svn-id: trunk@41467 -
2013-05-30 16:33:53 +00:00
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