Commit Graph

558 Commits

Author SHA1 Message Date
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