mattias
302870da38
lazutils: paswstring: EnsureAnsiLen grow faster
...
git-svn-id: trunk@47089 -
2014-12-04 13:50:48 +00:00
mattias
b7d22a3843
lazutils: paswstring: one string less in UpperWideString
...
git-svn-id: trunk@47088 -
2014-12-04 13:47:43 +00:00
mattias
6efffcae72
lazutils: paswstring: one string less in LowerWideString
...
git-svn-id: trunk@47087 -
2014-12-04 13:46:28 +00:00
mattias
1b03376550
lazutils: paswstring: one string less in Wide2AnsiMove and Ansi2WideMove
...
git-svn-id: trunk@47086 -
2014-12-04 13:44:15 +00:00
juha
8e7bbbd8f9
LazUtils: Overload FindAllFiles and FindAllDirectories with procedures having StringList as a parameter. Issue #27054 , patch from wp.
...
git-svn-id: trunk@47034 -
2014-11-30 10:58:02 +00:00
mattias
172eada300
lazutils: fixed replacesubstring append
...
git-svn-id: trunk@47018 -
2014-11-28 14:23:29 +00:00
mattias
21c8dad40d
lazutils: on force CP_UTF8: set argv and formatsettings
...
git-svn-id: trunk@46997 -
2014-11-26 22:12:50 +00:00
mattias
9a88b2ee68
lazutils: when EnableUTF8RTL: reread FormatSettings, see bug #27086
...
git-svn-id: trunk@46982 -
2014-11-24 13:43:54 +00:00
juha
a570fc82eb
LazUtils: Override SysToUTF8 and UTF8ToSys with FormatSettings param. Issue #26937 , patch from wp.
...
git-svn-id: trunk@46981 -
2014-11-24 12:17:15 +00:00
mattias
5885982aca
lazutils: added WinCPToUTF8 and UTF8ToWinCP
...
git-svn-id: trunk@46904 -
2014-11-20 15:26:28 +00:00
mattias
3da2b257ab
lazutils clean up
...
git-svn-id: trunk@46896 -
2014-11-20 13:00:08 +00:00
mattias
04975da637
lcl: moved fpcadds to lazutils
...
git-svn-id: trunk@46894 -
2014-11-20 12:49:36 +00:00
mattias
b78a550572
IDE,lazbuild: append -Cg on targets linux, freebsd, openbsd, netbsd, solaris, bug #17412
...
git-svn-id: trunk@46874 -
2014-11-18 11:03:29 +00:00
mattias
3ee0203df5
converter: unicode file names
...
git-svn-id: trunk@46826 -
2014-11-12 19:27:26 +00:00
mattias
80e2eed642
synuni: unicode file names
...
git-svn-id: trunk@46814 -
2014-11-12 19:00:30 +00:00
mattias
9928fb1647
lazutf8: docs
...
git-svn-id: trunk@46780 -
2014-11-07 16:12:32 +00:00
bart
a19b786147
LazFileUtils: less hints.
...
git-svn-id: trunk@46745 -
2014-11-03 15:54:06 +00:00
giuliano
dba1264e7d
Added Italian translations for components/*
...
git-svn-id: trunk@46698 -
2014-10-29 22:12:00 +00:00
mattias
9538b7bb59
lazutils: fixed empty result, issue #26835
...
git-svn-id: trunk@46480 -
2014-10-08 20:19:46 +00:00
bart
3ebbc96fd0
LazFileUtils: implement GetShellLinkTarget function.
...
git-svn-id: trunk@46434 -
2014-10-04 22:15:41 +00:00
bart
1d7f7a7b0a
Masks: fix TMask.Matches() when converting the case alters UTF8Length Issue #0026790 ). Based on patch by laz-andy.
...
git-svn-id: trunk@46339 -
2014-09-27 15:33:23 +00:00
mattias
c65ace9cc9
lazutils: wince: fixed compilation
...
git-svn-id: trunk@46269 -
2014-09-20 20:55:52 +00:00
mattias
cccbde05f6
lazutils: wince: fixed compilation
...
git-svn-id: trunk@46265 -
2014-09-20 12:35:29 +00:00
juha
08fb92aaad
LazUtils: Move TListFileSearcher and TListDirectoriesSearcher to public interface section. Issue #26632 .
...
git-svn-id: trunk@46179 -
2014-09-11 15:18:22 +00:00
juha
bc278b1845
LazLogger: Support setting *_debuglog environment variable. Issue #26537 , patch from Reinier Olislagers
...
git-svn-id: trunk@46161 -
2014-09-08 10:17:52 +00:00
jesus
29f3fc79ef
LazUtils, allow laz2_xmlread to parse internal DOCTYPE definition
...
git-svn-id: trunk@46084 -
2014-08-28 19:29:59 +00:00
juha
adb4858156
LazUtils: make CopyDirTree() work also with the "wrong" path delimiter ('/' on Windows). Was broken after r45991 #3e8d8b891e.
...
git-svn-id: trunk@46031 -
2014-08-11 11:53:48 +00:00
maxim
e93b5d2175
LazUtils: regenerated translations
...
git-svn-id: trunk@46015 -
2014-08-05 22:51:19 +00:00
mattias
5615c5a447
LCL: fileutil: TFileSearcher.Search: check duplicates
...
git-svn-id: trunk@46002 -
2014-08-01 11:52:01 +00:00
mattias
3e8d8b891e
lazutils: TFileSearcher.Search: parameter SearchPath now works as semicolon separated search path
...
git-svn-id: trunk@45991 -
2014-07-30 12:05:38 +00:00
mattias
dc0ea8db95
IDE: enabled group compile
...
git-svn-id: trunk@45987 -
2014-07-28 14:53:57 +00:00
maxim
6ece18cb3f
Components, LazUtils and LeakView: fixed typos in comments
...
git-svn-id: trunk@45908 -
2014-07-18 00:09:34 +00:00
mattias
30c58e48d6
IDE,lazutils: added GetPhysicalFilenameCached
...
git-svn-id: trunk@45247 -
2014-05-30 13:41:20 +00:00
mattias
9f680e7c26
lazutils: use GetPhysicalFilename instead of readalllinks
...
git-svn-id: trunk@45242 -
2014-05-30 12:40:24 +00:00
mattias
0d7fcf4e66
lazutils: added GetPhysicalFilename
...
git-svn-id: trunk@45241 -
2014-05-30 12:20:17 +00:00
mattias
f017a11ccc
lazutils: ReadAllLinks: do not expand symlink target, only shorten
...
git-svn-id: trunk@45239 -
2014-05-30 11:40:34 +00:00
mattias
9bb999850a
lazutils: TAvgLvlTree: added Equals and Assign
...
git-svn-id: trunk@45221 -
2014-05-29 11:56:15 +00:00
mattias
e530415577
IDE: msg window: hint why a package was compiled
...
git-svn-id: trunk@45142 -
2014-05-21 19:16:18 +00:00
mattias
5992cb80f4
lazutils: fixed UTF8FindNearestCharStart for 64bit long strings
...
git-svn-id: trunk@45053 -
2014-05-17 12:05:05 +00:00
maxim
b15d433902
Translations: Hungarian translation update by Péter Gábor, bug #26144
...
git-svn-id: trunk@45015 -
2014-05-11 21:56:45 +00:00
mattias
b45abb7b20
lazutils: TProcessUTF8: published properties
...
git-svn-id: trunk@44981 -
2014-05-09 12:25:57 +00:00
mattias
22443c165c
lazutils: FileIsInPath: use ResolveDots instead of TrimFilename
...
git-svn-id: trunk@44835 -
2014-04-28 14:30:33 +00:00
martin
269066d208
LazUtils: Fixed spelling / small optimization for FreeNotifiyngObj
...
git-svn-id: trunk@44814 -
2014-04-26 15:43:43 +00:00
mattias
6f7a594436
lazutils: fixed typo
...
git-svn-id: trunk@44750 -
2014-04-17 06:55:36 +00:00
mattias
fdc368ab6b
lazutils: TAvgLvlTree: when changing compare function, do not sort if there is only one node
...
git-svn-id: trunk@44659 -
2014-04-09 14:01:40 +00:00
mattias
d56c52805f
lazutils: fixed TrimFilename, bug #25965
...
git-svn-id: trunk@44591 -
2014-04-03 10:20:35 +00:00
mattias
9227536845
LazUtils: GetTickCount64 now uses under Linux the kernel function clock_gettime(CLOCK_MONOTONIC,), disable via -dGetTickCountTimeOfDay
...
git-svn-id: trunk@44581 -
2014-04-01 18:02:47 +00:00
mattias
3595a693a9
LazUtils: added GetUnixPhysicalFilename
...
git-svn-id: trunk@44578 -
2014-04-01 11:10:35 +00:00
mattias
877c4d50b9
LCL: moved ReadAllLinks to LazUtils
...
git-svn-id: trunk@44577 -
2014-04-01 10:24:50 +00:00
mattias
bc1ecef605
lazutils: TMethodList: added AllowDuplicates, default false
...
git-svn-id: trunk@44331 -
2014-03-03 09:46:31 +00:00
martin
ee0df892d8
LazUtils: helper for refcnt object
...
git-svn-id: trunk@44313 -
2014-03-02 02:22:18 +00:00
martin
4ea228a9e3
LazLogger: fixed logfile with relative path
...
git-svn-id: trunk@44296 -
2014-02-28 17:42:19 +00:00
martin
4c8bf0291a
LazLogger: fixed logfile with relative path
...
git-svn-id: trunk@44293 -
2014-02-28 17:06:01 +00:00
mattias
dabd5d7e4c
lazutils: fixed dbgs(TComponentState)
...
git-svn-id: trunk@44278 -
2014-02-27 12:43:34 +00:00
martin
1dcb742328
LazUtils: RefCounted Obj, assert
...
git-svn-id: trunk@44198 -
2014-02-22 01:06:25 +00:00
mattias
9d710db4fc
fixed make distclean
...
git-svn-id: trunk@44139 -
2014-02-18 17:37:14 +00:00
mattias
3283cf83f3
package makefiles: changed distclean to delete output directorties for all targets
...
git-svn-id: trunk@44128 -
2014-02-18 10:35:31 +00:00
mattias
d665320fba
lazutils: less hints
...
git-svn-id: trunk@43913 -
2014-02-06 09:32:52 +00:00
martin
d82c0c96c4
LazUtils: RefCountedObject, handle nested RleaseRef
...
git-svn-id: trunk@43861 -
2014-01-31 19:41:45 +00:00
martin
2979e368b8
LazUtils: more RefCountedObject debugging
...
git-svn-id: trunk@43831 -
2014-01-28 23:59:59 +00:00
martin
db5590d263
LazUtils: fix DebuglnEnter with list of 1 argument
...
git-svn-id: trunk@43778 -
2014-01-21 16:11:49 +00:00
bart
596e412566
LazUtils: WinCE use CSIDL_LOCAL to fix compilation error.
...
git-svn-id: trunk@43693 -
2014-01-11 00:57:27 +00:00
bart
1729ccb7bf
LazUtils: yet another attempt to fix compilation for WinCE implementation of GetAppConfigDirUtf8.
...
git-svn-id: trunk@43692 -
2014-01-11 00:36:02 +00:00
martin
5fcf1178ec
Fixed compile on wince. Broken by r43495 #cba214753b (localize special dir)
...
git-svn-id: trunk@43689 -
2014-01-10 18:21:39 +00:00
martin
4dac3a41c9
LazUtils: Extending TRefCountedObject
...
git-svn-id: trunk@43656 -
2014-01-06 14:34:14 +00:00
bart
3fb2dd4469
LazUtils: Masks.pas: implement handling of UTF8 codepoints for mask matching. Issue #0024373 .
...
git-svn-id: trunk@43637 -
2014-01-02 18:48:37 +00:00
bart
e2f0b20bc8
LazUtils: better fix for encoding of string returned by GetAppConfigFileUTF8
...
(Use WideString variant of GetSpecialDir which retruns UTF8: copy/paste error in r43495 #cba214753b)
git-svn-id: trunk@43611 -
2013-12-29 15:40:16 +00:00
jesus
6ae4e11538
lazutils, fixed encoding of string returned by GetAppConfigFileUTF8 (was ansi, should be utf8)
...
git-svn-id: trunk@43610 -
2013-12-29 04:28:14 +00:00
bart
cba214753b
LazFileUtils: Fix encoding of locale-specific characters in GetAppConfigDirUtf8 and GetAppConfigFileUtf8 on Windows
...
Issue #0010850 .
git-svn-id: trunk@43495 -
2013-11-28 18:37:44 +00:00
mattias
960e0f96d9
lazutils: added conversion KOI8U and KOI8RU
...
git-svn-id: trunk@43453 -
2013-11-17 21:12:10 +00:00
mattias
987732d77c
lazutils: TrimFilename: normalize pathdelims
...
git-svn-id: trunk@43404 -
2013-11-09 13:23:22 +00:00
mattias
b4a999be14
lazutils: TrimFilename: optimized
...
git-svn-id: trunk@43403 -
2013-11-09 13:16:33 +00:00
martin
4928979536
LazUtils: allow ReleaseRef on nil
...
git-svn-id: trunk@43395 -
2013-11-08 01:33:45 +00:00
mattias
35b07b5533
lazutils: RunCmdFromPath: cut handles when starting process
...
git-svn-id: trunk@43389 -
2013-11-07 12:51:08 +00:00
bart
2eb279e6e1
LazUtf8: implement Utf8 versions of LeftStr and RightStr.
...
git-svn-id: trunk@43348 -
2013-11-01 17:40:11 +00:00
mattias
d0f425ca24
lazutils: xml: xpath namespace resolver, issue #25208
...
git-svn-id: trunk@43300 -
2013-10-22 12:56:19 +00:00
mattias
a4a4e4c791
lazutils: small optimization
...
git-svn-id: trunk@42885 -
2013-09-19 18:36:23 +00:00
martin
f69430a084
LazLogger: added basic profiling
...
git-svn-id: trunk@42871 -
2013-09-19 13:58:38 +00:00
martin
71ce8192f2
LazLogger: added basic profiling
...
git-svn-id: trunk@42860 -
2013-09-18 14:43:41 +00:00
bart
7e9930404c
LazUtils: better implementation of Utf8StringOfChar. The previously uses conversion to Utf16
...
only worked if the codepoint was UCS2.
git-svn-id: trunk@42855 -
2013-09-18 10:26:09 +00:00
maxim
a8f100176c
Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #24996
...
git-svn-id: trunk@42736 -
2013-09-11 20:11:32 +00:00
mattias
37aeda8f7b
lazutils: added UTF8StringReplace, feature 22148
...
git-svn-id: trunk@42707 -
2013-09-09 23:40:04 +00:00
mattias
3c92d686f3
lazutils: FileNameIsTrimmed: check for slashes on Windows
...
git-svn-id: trunk@42704 -
2013-09-09 13:44:08 +00:00
bart
3afb18b37f
LazFileUtils: ResolveDots: respect AllowDirectorySeparators.
...
git-svn-id: trunk@42700 -
2013-09-09 11:50:06 +00:00
mattias
f66fa252fc
IDE: renamed SetPathDelims to GetForcedPathDelims
...
git-svn-id: trunk@42698 -
2013-09-09 10:28:10 +00:00
mattias
f5dda02fe9
IDE: renamed DoPathDelims to ForcePathDelims
...
git-svn-id: trunk@42697 -
2013-09-09 10:18:24 +00:00
mattias
ac4996ff62
replaced SetDirSeparators with SetPathDelims
...
git-svn-id: trunk@42685 -
2013-09-08 20:58:12 +00:00
martin
49cd2ecb33
LazUtils: fixed string[0] runtime error
...
git-svn-id: trunk@42675 -
2013-09-08 09:54:59 +00:00
mattias
773f710bde
IDE, codetools, lazutils: Changed DoDirSeparators calls with DoPathDelims calls
...
git-svn-id: trunk@42674 -
2013-09-08 07:40:06 +00:00
bart
82d7e00939
LazFileUtils: use AllowDirectorySeparators instead of hardcode '\' in FilenameIsWinAbsolute().
...
git-svn-id: trunk@42663 -
2013-09-07 11:26:20 +00:00
bart
2139b17c5c
LazFileUtils: ExpandFilenameUTF8: return unaltered Filename if Filename uses ExtendedLengthPath naming scheme
...
on Windows.
git-svn-id: trunk@42662 -
2013-09-07 11:20:24 +00:00
bart
f10b9abc94
LazUtils: Use ResolveDots in FindDiskFilename(CaseInSensitive) to sanitize Filename.
...
git-svn-id: trunk@42660 -
2013-09-07 10:13:14 +00:00
martin
8aa8775ac4
Auto-generated changes to PO files
...
git-svn-id: trunk@42652 -
2013-09-06 23:01:30 +00:00
juha
79ad84f848
LazUtils: Remove test version of overridden InsertItem from TDictionaryStringList. It is called from FPC > 2.7.1. Solves issue #24964 although not the way it suggested.
...
git-svn-id: trunk@42649 -
2013-09-06 22:05:41 +00:00
bart
eab977d2b3
LazUtils: AllowDirectorySeparators instead of PathDelim in FindDiskFilename.
...
git-svn-id: trunk@42648 -
2013-09-06 18:15:16 +00:00
paul
f3358d8050
lazutils: fix compilation after cpstrrtl merge
...
git-svn-id: trunk@42642 -
2013-09-06 14:56:35 +00:00
bart
78fe9ed6eb
LazUtils: when seraching for PathDelimiters use AllowDirectorySeparators instead of PathDelim.
...
Reason: compatibility with fpc RTL.
git-svn-id: trunk@42622 -
2013-09-05 17:55:50 +00:00
bart
25e6f7d70d
LazUtils: in ResolveDots() don't convert anything if AFilename starts with \\?\
...
Follow up of r42602 #bdaf2d9c6e.
git-svn-id: trunk@42603 -
2013-09-04 22:42:15 +00:00
bart
bdaf2d9c6e
LazUtils: in ResolveDots() don't convert \\ or / if AFilename starts with \\?\
...
(As per MS Specs anything after that must be takne literally?)
git-svn-id: trunk@42602 -
2013-09-04 21:57:26 +00:00
bart
f05ba71d75
LazUtils: in ResolveDots() convert '/'to '\' on Windows.
...
This allows for better removing of double path delimiters.
(WinApi accepts '//' and treats it as '\' , bot not so for '/\')
git-svn-id: trunk@42599 -
2013-09-04 19:16:08 +00:00
mattias
63ec3d92ee
lazutils: clean up
...
git-svn-id: trunk@42589 -
2013-09-04 09:19:37 +00:00
martin
2d4a9df1ad
LazUtils: Lazlogger prioritize last entry/param on command line
...
git-svn-id: trunk@42583 -
2013-09-04 09:14:20 +00:00
bart
276a50bbd4
LazUtf8: Utf8StringOfChar: fix compilation error on Darwin.
...
git-svn-id: trunk@42577 -
2013-09-03 15:18:19 +00:00
bart
eebd3d2f93
LazUtf8: Add routines for padding UTF8 strings:
...
- Utf8StringOfChar
- Utf8AddChar
- Utf8AddCharR
- Utf8PadLeft
- Utf8PadRight
- Utf8PadCenter
Issue #0024319
git-svn-id: trunk@42575 -
2013-09-03 12:10:41 +00:00
bart
1b9ad85931
LazFileUtils: fix FilenameIsWinAbsolute for WinCE.
...
git-svn-id: trunk@42566 -
2013-09-02 19:18:31 +00:00
mattias
98ea2c18a5
lazutils: fixed compilation darwin
...
git-svn-id: trunk@42372 -
2013-08-09 08:30:52 +00:00
mattias
8fb042dba7
lazutils: FindDefaultExecutablePath: added default param BaseDir
...
git-svn-id: trunk@42361 -
2013-08-05 19:33:31 +00:00
mattias
283ae2bad5
lazutils: merged code
...
git-svn-id: trunk@42360 -
2013-08-05 19:24:41 +00:00
mattias
d46e886263
lazutils: clean up
...
git-svn-id: trunk@42359 -
2013-08-05 19:19:30 +00:00
mattias
d814f77dcf
lazutils: comment
...
git-svn-id: trunk@42294 -
2013-08-03 19:15:36 +00:00
mattias
de4ccacf56
lazutils: TMask.InitMaskString: use CaseSensitive
...
git-svn-id: trunk@42274 -
2013-08-03 11:41:21 +00:00
bart
19f20c96f5
TMaskList: Don't split masks on space (unless specified as separator in the constructor).
...
Issue #0024771 .
git-svn-id: trunk@42268 -
2013-08-02 20:44:27 +00:00
mattias
09df703c97
lazutils: comments
...
git-svn-id: trunk@42251 -
2013-07-31 18:34:37 +00:00
mattias
60daa3a85d
lazlogger: comments, patch #24808
...
git-svn-id: trunk@42248 -
2013-07-31 13:55:23 +00:00
mattias
45db0258ac
lazutils: added MergeCmdLineParams
...
git-svn-id: trunk@42244 -
2013-07-30 15:37:48 +00:00
mattias
930a73f41a
IDE: further migrated external tools
...
git-svn-id: trunk@42241 -
2013-07-30 14:36:34 +00:00
mattias
da82a33fdf
IDE: fixed Makefile.compiled to contain inherited custom options
...
git-svn-id: trunk@42227 -
2013-07-29 10:48:35 +00:00
mattias
733b4108c6
lazutils: comment
...
git-svn-id: trunk@42211 -
2013-07-26 20:21:17 +00:00
mattias
d88afd8de1
lazutils: TPointerToPointerTree enumerators
...
git-svn-id: trunk@42200 -
2013-07-25 11:09:15 +00:00
mattias
b0d883f915
lazutils: xmlread: preserve whitespace between attributes
...
git-svn-id: trunk@42167 -
2013-07-21 08:21:39 +00:00
bart
05baacd6f0
LazFileUtils: No need for specific FindCloseUtf8 implementation: just use SysUtils.FindClose.
...
git-svn-id: trunk@42125 -
2013-07-17 21:50:02 +00:00
mattias
e3926122ff
lazutils: laz2_write: write encoding UTF-8
...
git-svn-id: trunk@42110 -
2013-07-16 12:33:08 +00:00
mattias
3bef6f6695
lazutils: nicer unit name
...
git-svn-id: trunk@42108 -
2013-07-16 09:42:56 +00:00
mattias
24db82d4ba
translations: German: updates from Swen Heinig
...
git-svn-id: trunk@42089 -
2013-07-14 21:51:15 +00:00
juha
ebf3655d31
Formatting
...
git-svn-id: trunk@42067 -
2013-07-12 14:57:30 +00:00
mattias
49c1e4f62c
lazutils: made codepage conversion 852,874,1257,1258 to UTF8 and back is lossless
...
git-svn-id: trunk@42029 -
2013-07-08 17:58:22 +00:00
mattias
0745efd94a
lazutils: made codepage conversion 1255 to UTF8 and back to 1255 lossless
...
git-svn-id: trunk@42022 -
2013-07-08 17:34:44 +00:00
mattias
2fa21ad006
lazutils: made codepage conversion 1254 to UTF8 and back to 1254 lossless
...
git-svn-id: trunk@42020 -
2013-07-08 17:24:24 +00:00
mattias
b3d1d85a4b
lazutils: made codepage conversion 1253 to UTF8 and back to 1253 lossless
...
git-svn-id: trunk@42018 -
2013-07-08 17:03:48 +00:00
mattias
300123e075
lazutils: made codepage conversion 1252 to UTF8 and back to 1252 lossless
...
git-svn-id: trunk@42016 -
2013-07-08 16:54:28 +00:00
mattias
5956369187
lazutils: made codepage conversion 1251 to UTF8 and back to 1251 lossless
...
git-svn-id: trunk@42013 -
2013-07-08 16:51:54 +00:00
mattias
509620e792
lazutils: made codepage conversion 1250 to UTF8 and back to 1250 lossless
...
git-svn-id: trunk@42011 -
2013-07-08 16:48:14 +00:00
mattias
699c0cbfe6
lazutils: comments
...
git-svn-id: trunk@42003 -
2013-07-06 05:22:37 +00:00
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
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